/* =========================================================
   NeatLiner — site styles
   One stylesheet for every page. Change colours, fonts and
   spacing here in :root and the whole site follows.
   ========================================================= */

:root {
  /* Brand palette */
  --nl-indigo: #3f51b5;        /* primary: headings, buttons, links */
  --nl-indigo-dark: #2c3a8c;   /* hover state */
  --nl-navy: #1f2a6b;          /* body text, dark headings */
  --nl-sky: #5eb3f6;           /* logo blue, light accents */
  --nl-sky-pale: #c1eaf8;
  --nl-periwinkle: #b4b8db;    /* inactive slider dots */
  --nl-yellow: #f5bd02;        /* badges, "Where to buy" band, feature icons */
  --nl-pink: #dd8194;          /* small accent (reserved) */
  --nl-green: #78d660;         /* small accent (reserved) */
  --nl-white: #ffffff;

  /* Neutrals */
  --nl-grey-bg: #f4f4f6;       /* hero + "Our Commitment" background */
  --nl-card-bg: #f3f5fc;       /* category cards */
  --nl-line: #e4e4e8;          /* section divider */
  --nl-text-muted: #3d4878;
  --nl-text-soft: #4a5590;

  /* Type */
  --font-heading: "Montserrat", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;

  /* Layout */
  --container: 1240px;
  --gutter: 40px;
  --radius-card: 20px;
  --radius-photo: 24px;
  --radius-pill: 999px;
}

/* ---------- Base ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--nl-navy);
  background: var(--nl-white);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

h1, h2, h3 {
  font-family: var(--font-heading);
  margin: 0;
  line-height: 1.15;
}

p { margin: 0; }

a { color: var(--nl-indigo); }
a:hover { color: var(--nl-indigo-dark); }

:focus-visible {
  outline: 3px solid var(--nl-sky);
  outline-offset: 3px;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--nl-indigo); color: var(--nl-white);
  padding: 10px 18px; border-radius: var(--radius-pill);
  font-weight: 700; text-decoration: none;
}
.skip-link:focus { top: 16px; color: var(--nl-white); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 14px 28px;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s;
}
.btn--primary { background: var(--nl-indigo); color: var(--nl-white); border: 2px solid var(--nl-indigo); }
.btn--primary:hover { background: var(--nl-indigo-dark); border-color: var(--nl-indigo-dark); color: var(--nl-white); }
.btn--outline { background: var(--nl-white); color: var(--nl-indigo); border: 2px solid var(--nl-indigo); }
.btn--outline:hover { background: var(--nl-indigo); color: var(--nl-white); }
.btn--white { background: var(--nl-white); color: var(--nl-indigo); border: 2px solid var(--nl-white); }
.btn--white:hover { background: var(--nl-navy); border-color: var(--nl-navy); color: var(--nl-white); }
.btn--upper { text-transform: uppercase; font-size: 15px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--nl-white);
  border-bottom: 1px solid #e3e6f5;
}
.site-header__inner {
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 var(--gutter);
  height: 96px;
  display: flex;
  align-items: center;
  gap: 40px;
}
.site-header__logo img { height: 68px; width: auto; }

.main-nav { flex: 1 1 auto; }
.main-nav ul {
  list-style: none;
  margin: 0; padding: 0;
  display: flex;
  gap: 32px;
}
.main-nav a {
  font-weight: 700;
  font-size: 15px;
  letter-spacing: .3px;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--nl-indigo);
}
.main-nav a:hover,
.main-nav a[aria-current="page"] { color: var(--nl-navy); text-decoration: underline; text-underline-offset: 6px; }

.icon-btn {
  width: 44px; height: 44px;
  border: 0; background: transparent;
  display: inline-flex; align-items: center; justify-content: center;
  cursor: pointer; color: var(--nl-indigo);
  border-radius: 50%;
}
.icon-btn:hover { background: var(--nl-grey-bg); }
.nav-toggle { display: none; }

/* ---------- Hero slider ---------- */
.hero { position: relative; }
.hero__slides { position: relative; }
.hero__slide {
  display: none;
  flex-wrap: wrap;
  min-height: 420px;
  background: var(--nl-grey-bg);
}
.hero__slide.is-active { display: flex; animation: hero-fade .6s ease; }
@keyframes hero-fade { from { opacity: 0; } to { opacity: 1; } }

.hero__text {
  flex: 1 1 520px;
  min-width: 0;
  padding: 44px 56px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
}
.badge {
  align-self: flex-start;
  background: var(--nl-yellow);
  color: var(--nl-navy);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 14px;
  letter-spacing: .5px;
  text-transform: uppercase;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
}
.hero__title {
  font-weight: 900;
  font-size: 42px;
  line-height: 1.08;
  letter-spacing: -1px;
  text-transform: uppercase;
  color: var(--nl-indigo);
}
.hero__lead { font-size: 17px; line-height: 1.55; max-width: 520px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 16px; }

.hero__media {
  flex: 1 1 520px;
  min-width: 0;
  min-height: 380px;
  position: relative;
  overflow: hidden;
}
.hero__media img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}

.hero__dots {
  display: flex;
  justify-content: center;
  gap: 14px;
  padding: 28px 0;
}
.hero__dot {
  width: 20px; height: 20px;
  padding: 0;
  border-radius: 50%;
  border: 0;
  background: var(--nl-periwinkle);
  cursor: pointer;
  /* larger invisible hit area for touch */
  position: relative;
}
.hero__dot::after { content: ""; position: absolute; inset: -12px; }
.hero__dot[aria-current="true"] { background: var(--nl-white); border: 3px solid var(--nl-indigo); }

/* ---------- Section headings ---------- */
.section-title {
  font-weight: 900;
  font-size: 38px;
  text-transform: uppercase;
  color: var(--nl-indigo);
}
.section-title--sm { font-size: 28px; }
.section-text { font-size: 17px; line-height: 1.65; max-width: 860px; }

/* ---------- Intro + category cards ---------- */
.intro { padding: 56px 0 96px; }
.intro .section-text { margin-top: 20px; }
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 48px;
  margin-top: 56px;
}
.card {
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-card);
  overflow: hidden;
  background: var(--nl-card-bg);
  text-decoration: none;
  transition: transform .2s, box-shadow .2s;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 12px 28px rgba(31, 42, 107, .12); }
.card__img { height: 420px; width: 100%; object-fit: cover; }
.card__body {
  padding: 28px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.card__title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 18px;
  text-transform: uppercase;
  color: var(--nl-indigo);
}
.card__arrow {
  flex: none;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--nl-yellow);
  display: flex; align-items: center; justify-content: center;
  color: var(--nl-navy);
}

/* ---------- Features ---------- */
.features {
  padding: 96px 0;
  border-top: 1px solid var(--nl-line);
  background: var(--nl-white);
}
.features__row { display: flex; flex-wrap: wrap; }
.features__row + .features__row { margin-top: 40px; }
.features__row--reverse { flex-wrap: wrap-reverse; }

.features__grid {
  flex: 1 1 520px;
  min-width: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 48px 40px;
  padding: 48px 48px 48px 0;
}
.features__row--reverse .features__grid { padding: 48px 0 48px 48px; }

.feature { display: flex; flex-direction: column; gap: 14px; }
.feature__icon { width: 40px; height: 40px; color: var(--nl-yellow); }
.feature__title { font-weight: 800; font-size: 28px; color: var(--nl-navy); }
.feature__text { font-size: 15px; line-height: 1.65; color: var(--nl-text-muted); }

.features__photo {
  flex: 1 1 460px;
  min-width: 0;
  min-height: 480px;
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-photo);
}
.features__photo img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}

/* ---------- Where to buy ---------- */
.buy { background: var(--nl-yellow); padding: 64px 0; }
.buy__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.buy__title {
  font-weight: 900;
  font-size: 34px;
  text-transform: uppercase;
  color: var(--nl-navy);
}
.buy__text { margin-top: 10px; font-size: 17px; }
.buy__actions { display: flex; flex-wrap: wrap; gap: 16px; }
.buy__actions .btn { font-size: 17px; padding: 18px 32px; }

/* ---------- Commitment ---------- */
.commitment { display: flex; flex-wrap: wrap; background: var(--nl-grey-bg); }
.commitment__media {
  flex: 1 1 520px;
  min-width: 0;
  min-height: 460px;
  position: relative;
  overflow: hidden;
}
.commitment__media img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 45% 50%;
}
.commitment__text {
  flex: 1 1 520px;
  min-width: 0;
  padding: 64px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 20px;
}
.commitment__text .section-text { max-width: 560px; }

/* ---------- Footer ---------- */
.site-footer { padding: 80px 0 40px; }
.community { text-align: center; }
.community__title {
  font-weight: 900;
  font-size: 30px;
  line-height: 1.25;
  text-transform: uppercase;
  color: var(--nl-indigo);
}
.community__text { margin-top: 12px; }

.footer-cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  margin-top: 64px;
}
.footer-col h3 {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 700;
  color: var(--nl-navy);
  margin-bottom: 14px;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.footer-col a { text-decoration: none; font-size: 15px; }
.footer-col a:hover { text-decoration: underline; }

.social { display: flex; gap: 12px; }
.social a {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--nl-indigo);
  color: var(--nl-white);
  display: flex; align-items: center; justify-content: center;
}
.social a:hover { background: var(--nl-indigo-dark); color: var(--nl-white); }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid #e3e6f5;
  font-size: 14px;
  color: var(--nl-text-soft);
}
.footer-bottom a { text-decoration: none; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1024px) {
  :root { --gutter: 28px; }
  .main-nav ul { gap: 20px; }
  .main-nav a { font-size: 14px; }
  .hero__title { font-size: 36px; }
  .section-title { font-size: 32px; }
  .features__grid,
  .features__row--reverse .features__grid { padding: 40px 0; }
}

@media (max-width: 860px) {
  .site-header__inner { height: 76px; gap: 16px; }
  .site-header__logo img { height: 52px; }
  .site-header__logo { margin-right: auto; }
  .nav-toggle { display: inline-flex; order: 3; }

  /* mobile menu: hidden until the toggle opens it */
  .main-nav {
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--nl-white);
    border-bottom: 1px solid #e3e6f5;
    box-shadow: 0 12px 24px rgba(31, 42, 107, .08);
    display: none;
  }
  .main-nav.is-open { display: block; }
  .main-nav ul { flex-direction: column; gap: 0; padding: 8px var(--gutter) 16px; }
  .main-nav a { display: block; padding: 14px 0; font-size: 16px; }

  .hero__text { padding: 36px var(--gutter) 32px; order: 2; }
  .hero__media { min-height: 300px; order: 1; flex-basis: 100%; }
  .hero__title { font-size: 30px; }

  .intro { padding: 40px 0 64px; }
  .cards { gap: 28px; margin-top: 40px; grid-template-columns: 1fr; }
  .card__img { height: 300px; }

  .features { padding: 64px 0; }
  .features__photo { min-height: 340px; flex-basis: 100%; }

  .commitment__media { min-height: 300px; flex-basis: 100%; }
  .commitment__text { padding: 48px var(--gutter); }

  .buy__title { font-size: 28px; }
}

@media (max-width: 520px) {
  :root { --gutter: 20px; }
  .hero__title { font-size: 26px; }
  .section-title { font-size: 26px; }
  .section-title--sm { font-size: 22px; }
  .feature__title { font-size: 24px; }
  .buy__actions, .buy__actions .btn { width: 100%; }
  .community__title { font-size: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero__slide.is-active { animation: none; }
  .card, .card:hover { transition: none; transform: none; }
}

/* =========================================================
   Inner pages (About Us, …)
   ========================================================= */

/* ---------- Page hero: full-width photo + title ---------- */
.page-hero {
  position: relative;
  height: 560px;
  overflow: hidden;
  background: var(--nl-grey-bg);
}
.page-hero__img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
/* light white fade on the left so the title stays readable */
.page-hero::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(255,255,255,.7) 0%, rgba(255,255,255,.45) 22%, rgba(255,255,255,0) 40%);
  pointer-events: none;
}
.page-hero__inner {
  position: relative;
  z-index: 1;
  height: 100%;
  padding: 0 56px 88px;
  display: flex;
  align-items: flex-end;
}
.page-hero__title {
  font-weight: 900;
  font-size: 48px;
  line-height: 1.05;
  letter-spacing: -1px;
  text-transform: uppercase;
  color: var(--nl-navy);
  max-width: 520px;
}

/* ---------- Page title band ---------- */
.page-band { background: var(--nl-indigo); }
.page-band__title {
  padding: 8px 0;
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 24px;
  line-height: 1.3;
  letter-spacing: .5px;
  text-transform: uppercase;
  color: var(--nl-white);
}

/* ---------- About: story ---------- */
.story { padding: 88px 0 72px; }
.story__inner { display: flex; flex-wrap: wrap; gap: 64px; align-items: flex-start; }
.story__text { flex: 999 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.story__title {
  font-weight: 900;
  font-size: 34px;
  text-transform: uppercase;
  color: var(--nl-indigo);
}
.story__text p { font-size: 17px; line-height: 1.7; }

.checklist-card {
  flex: 1 1 340px;
  min-width: 0;
  background: var(--nl-grey-bg);
  border-radius: var(--radius-card);
  padding: 36px;
}
.checklist-card__label {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 15px;
  letter-spacing: .5px;
  text-transform: uppercase;
  color: var(--nl-indigo);
  margin-bottom: 18px;
}
.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.checklist li { display: flex; align-items: center; gap: 12px; font-weight: 600; font-size: 17px; }
.checklist svg { flex: none; width: 24px; height: 24px; color: var(--nl-yellow); }

/* ---------- About: rooms ---------- */
.rooms { padding: 0 0 96px; }
.rooms__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  margin-top: 32px;
}
.room {
  border: 1px solid var(--nl-line);
  border-radius: var(--radius-card);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.room svg { width: 40px; height: 40px; color: var(--nl-yellow); }
.room h3 { font-weight: 800; font-size: 22px; color: var(--nl-navy); }

/* ---------- Help strip ---------- */
.help { background: var(--nl-grey-bg); padding: 72px 0; }
.help__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.help__text { flex: 1 1 520px; min-width: 0; }
.help__text p { margin-top: 12px; font-size: 17px; }
.help__text p + p { margin-top: 8px; }
.help__text a { font-weight: 600; }

@media (max-width: 860px) {
  .page-hero { height: 420px; }
  /* on phones the box fills the lower middle, so the title moves to the top */
  .page-hero__inner { padding: 28px var(--gutter) 0; align-items: flex-start; }
  .page-hero__title { font-size: 34px; }
  .page-hero::after { background: linear-gradient(180deg, rgba(255,255,255,.7) 0%, rgba(255,255,255,.4) 22%, rgba(255,255,255,0) 40%); }
  .page-band__title { font-size: 20px; }
  .story { padding: 56px 0 48px; }
  .story__inner { gap: 40px; }
  .story__title { font-size: 28px; }
  .rooms { padding-bottom: 64px; }
  .help { padding: 56px 0; }
}
@media (max-width: 520px) {
  .page-hero { height: 360px; }
  .page-hero__title { font-size: 30px; }
  .checklist-card { padding: 28px; }
}

/* ---------- Our Products: category cards ---------- */
.product-cats { padding: 80px 0 112px; }
.product-cats__grid {
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 40px;
}
.product-cat { display: flex; flex-direction: column; gap: 28px; text-decoration: none; }
.product-cat__media {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: var(--radius-card);
  background: var(--nl-grey-bg);
}
.product-cat__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.product-cat:hover .product-cat__media img { transform: scale(1.03); }
.product-cat__title {
  font-weight: 900;
  font-size: 28px;
  line-height: 1.15;
  text-transform: uppercase;
  color: var(--nl-navy);
}
.product-cat:hover .product-cat__title { color: var(--nl-indigo); }
.product-cat__text { display: flex; flex-direction: column; gap: 10px; }
.product-cat__sub { font-size: 18px; line-height: 1.5; color: var(--nl-navy); }

@media (max-width: 860px) {
  .product-cats { padding: 48px 0 72px; }
  .product-cats__grid { gap: 48px; grid-template-columns: 1fr; }
  .product-cat { gap: 20px; }
  .product-cat__title { font-size: 24px; }
  .product-cat__sub { font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .product-cat__media img, .product-cat:hover .product-cat__media img { transition: none; transform: none; }
}

/* ---------- Contact page ---------- */
.contact-hero {
  position: relative;
  height: 640px;
  overflow: hidden;
  background: var(--nl-grey-bg);
}
.contact-hero img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 50% 55%;
}

.contact-intro { padding: 72px 0 0; }
.contact-intro__team {
  margin-top: 14px;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 18px;
  text-transform: uppercase;
}
.contact-intro__hours { margin-top: 8px; font-size: 16px; }

.contact-form-wrap { padding: 48px 0 96px; }
.contact-form {
  max-width: 820px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px 16px;
}
.field { display: flex; flex-direction: column; gap: 8px; }
.field--full { grid-column: 1 / -1; }
.field label { font-weight: 700; font-size: 14px; color: var(--nl-navy); }
.field input,
.field select,
.field textarea {
  width: 100%;
  border: 2px solid transparent;
  background: var(--nl-grey-bg);
  color: var(--nl-navy);
  font: inherit;
  font-size: 15px;
}
.field input,
.field select { height: 48px; border-radius: var(--radius-pill); padding: 0 22px; }
.field select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 48px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%231f2a6b' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 20px center;
  cursor: pointer;
}
.field textarea { min-height: 160px; border-radius: 24px; padding: 16px 22px; resize: vertical; }
.field input:focus,
.field select:focus,
.field textarea:focus { outline: none; border-color: var(--nl-sky); background-color: var(--nl-white); }

/* anti-spam field: hidden from people, visible to bots */
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.contact-form__actions { grid-column: 1 / -1; }
.contact-form__status { grid-column: 1 / -1; font-weight: 600; }
.contact-form__status[data-state="success"] { color: #2e7d32; }
.contact-form__status[data-state="error"] { color: #c62828; }

.contact-cards { background: var(--nl-grey-bg); padding: 72px 0; }
.contact-cards__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
}
.info-card {
  background: var(--nl-white);
  border-radius: var(--radius-card);
  padding: 40px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}
.info-card h2 { font-weight: 900; font-size: 26px; text-transform: uppercase; color: var(--nl-indigo); }
.info-card__lead { font-family: var(--font-heading); font-weight: 700; font-size: 17px; }
.info-card p { font-size: 16px; line-height: 1.6; }
.info-card a:not(.btn) { font-weight: 600; }
.info-card .btn { margin-top: 6px; }

@media (max-width: 860px) {
  .contact-hero { height: 360px; }
  .contact-intro { padding-top: 48px; }
  .contact-form { grid-template-columns: 1fr; }
  .contact-form-wrap { padding: 32px 0 64px; }
  .contact-cards { padding: 56px 0; }
  .info-card { padding: 28px; }
}

/* ---------- Category pages (Kitchen / Bathroom garbage bags) ---------- */
.breadcrumb {
  padding-top: 24px;
  padding-bottom: 24px;
  font-size: 14px;
  letter-spacing: .3px;
  text-transform: uppercase;
}
.breadcrumb ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.breadcrumb li + li::before { content: "›"; margin-right: 8px; color: var(--nl-text-soft); }
.breadcrumb a { font-weight: 600; text-decoration: none; }
.breadcrumb [aria-current="page"] { color: var(--nl-text-soft); }

.cat-hero {
  position: relative;
  height: 340px;
  overflow: hidden;
  background: var(--nl-grey-bg);
}
.cat-hero img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}

.cat-title { padding: 40px 0 0; }
.cat-title h1 {
  font-weight: 900;
  font-size: 48px;
  line-height: 1.05;
  text-transform: uppercase;
  color: var(--nl-navy);
}
.cat-title p { margin-top: 12px; font-size: 18px; font-weight: 600; }

.cat-products { padding: 56px 0 104px; }

.size-filter { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.size-filter button {
  min-height: 40px;
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  border: 1.5px solid var(--nl-indigo);
  background: var(--nl-white);
  color: var(--nl-indigo);
  font: inherit;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
}
.size-filter button:hover { background: var(--nl-grey-bg); }
.size-filter button[aria-pressed="true"] { background: var(--nl-indigo); color: var(--nl-white); }

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
  margin-top: 40px;
}
.product-card {
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-card);
  overflow: hidden;
  background: var(--nl-grey-bg);
  text-decoration: none;
  color: var(--nl-navy);
  transition: transform .2s, box-shadow .2s;
}
.product-card[hidden] { display: none; }
.product-card:hover { transform: translateY(-4px); box-shadow: 0 12px 28px rgba(31, 42, 107, .12); color: var(--nl-navy); }
.product-card__media { aspect-ratio: 4 / 3; overflow: hidden; background: #e9f6fd; }
.product-card__media img { width: 100%; height: 100%; object-fit: cover; }
/* shown until real product photos are added */
.product-card__placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  text-align: center; padding: 24px;
  color: var(--nl-text-soft); font-size: 14px;
  border-bottom: 1px dashed var(--nl-sky);
}
.product-card__body { padding: 28px 32px 32px; display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.product-card__tag {
  border: 1.5px solid var(--nl-indigo);
  color: var(--nl-indigo);
  font-size: 12px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
}
.product-card__title { font-family: var(--font-heading); font-weight: 800; font-size: 20px; line-height: 1.3; }
.product-card__desc { font-size: 15px; line-height: 1.6; }
.product-card__spec { font-size: 13px; color: var(--nl-text-soft); }

@media (max-width: 860px) {
  .cat-hero { height: 240px; }
  .cat-title { padding-top: 28px; }
  .cat-title h1 { font-size: 34px; }
  .cat-title p { font-size: 16px; }
  .cat-products { padding: 40px 0 64px; }
  .product-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .product-card, .product-card:hover { transition: none; transform: none; }
}

/* ---------- Product detail page ---------- */
.pdp { padding: 32px 0 96px; }
.pdp__inner { display: flex; flex-wrap: wrap; gap: 64px; align-items: flex-start; }

.gallery { flex: 1 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.gallery__stage {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-photo);
  overflow: hidden;
  background: var(--nl-grey-bg);
}
.gallery__stage img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity .4s ease;
}
.gallery__stage img.is-active { opacity: 1; }
.gallery__controls { display: flex; align-items: center; justify-content: space-between; gap: 16px; }

.dots { display: flex; gap: 12px; }
.dots button {
  width: 16px; height: 16px;
  padding: 0;
  border-radius: 50%;
  border: 0;
  background: var(--nl-periwinkle);
  cursor: pointer;
  position: relative;
}
.dots button::after { content: ""; position: absolute; inset: -12px; }
.dots button[aria-current="true"] { background: var(--nl-white); border: 3px solid var(--nl-indigo); }
.dots--center { justify-content: center; padding-top: 24px; }

.arrows { display: flex; gap: 12px; }
.round-btn {
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 2px solid var(--nl-indigo);
  background: var(--nl-white);
  color: var(--nl-indigo);
  display: inline-flex; align-items: center; justify-content: center;
  cursor: pointer;
  padding: 0;
}
.round-btn:hover { background: var(--nl-indigo); color: var(--nl-white); }

.pdp__details { flex: 1 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.pdp__cat { align-self: flex-start; font-size: 15px; font-weight: 600; }
.pdp__title {
  font-weight: 900;
  font-size: 46px;
  line-height: 1.05;
  text-transform: uppercase;
  color: var(--nl-navy);
}
.pdp__desc { font-size: 16px; line-height: 1.7; }
.pdp__block { display: flex; flex-direction: column; gap: 12px; }
.pdp__h2 { font-weight: 900; font-size: 24px; text-transform: uppercase; color: var(--nl-indigo); }

.dot-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; font-size: 16px; line-height: 1.5; }
.dot-list li { display: flex; gap: 10px; align-items: baseline; }
.dot-list li::before {
  content: "";
  flex: none;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--nl-yellow);
  transform: translateY(-2px);
}

.variant-label { font-weight: 700; font-size: 15px; }
.variants { display: flex; flex-wrap: wrap; gap: 10px; }
.variants a,
.variants span {
  border: 1.5px solid var(--nl-indigo);
  color: var(--nl-indigo);
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
}
.variants a:hover { background: var(--nl-grey-bg); }
.variants [aria-current="page"] { background: var(--nl-indigo); color: var(--nl-white); }

.buy-table { border: 1px solid var(--nl-line); border-radius: var(--radius-card); overflow: hidden; }
.buy-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 24px;
}
.buy-row + .buy-row { border-top: 1px solid var(--nl-line); }
.buy-row__name { font-family: var(--font-heading); font-weight: 800; font-size: 20px; }
.buy-row .btn { min-height: 44px; padding: 10px 22px; font-size: 14px; gap: 8px; }


.highlights { padding: 0 0 96px; }
.highlights__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 32px;
  margin-top: 40px;
}
.highlight { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 14px; padding: 8px 16px; }
.highlight__icon {
  width: 120px; height: 120px;
  border-radius: 50%;
  background: #fff6d6;
  display: flex; align-items: center; justify-content: center;
  color: var(--nl-yellow);
}
.highlight__icon svg { width: 56px; height: 56px; }
.highlight h3 { font-weight: 800; font-size: 20px; color: var(--nl-navy); }
.highlight p { font-size: 15px; line-height: 1.6; max-width: 320px; }

.info-slider { padding: 0 0 104px; }
.info-slide {
  display: none;
  flex-wrap: wrap;
  background: var(--nl-grey-bg);
  border-radius: var(--radius-photo);
  overflow: hidden;
  min-height: 520px;
}
.info-slide.is-active { display: flex; animation: hero-fade .5s ease; }
.info-slide__text {
  flex: 1 1 460px;
  min-width: 0;
  padding: 56px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
}
.info-slide__text h2 { font-weight: 900; font-size: 28px; line-height: 1.2; color: var(--nl-indigo); }
.info-slide__text p, .info-slide__text li { font-size: 16px; line-height: 1.7; }
.info-slide__text ol { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 14px; }
.info-slide__media { flex: 1 1 460px; min-width: 0; min-height: 420px; position: relative; overflow: hidden; }
.info-slide__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

@media (max-width: 860px) {
  .pdp { padding: 16px 0 64px; }
  .pdp__inner { gap: 40px; }
  .pdp__title { font-size: 32px; }
  .buy-row { padding: 16px 18px; }
  .buy-row__name { font-size: 17px; }
  .highlights { padding-bottom: 64px; }
  .info-slider { padding-bottom: 72px; }
  .info-slide { min-height: 0; }
  .info-slide__text { padding: 32px 24px; order: 2; }
  .info-slide__media { min-height: 260px; flex-basis: 100%; order: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .gallery__stage img { transition: none; }
  .info-slide.is-active { animation: none; }
}
.pdp__cats { font-size: 15px; font-weight: 600; display: flex; flex-wrap: wrap; gap: 8px; color: var(--nl-text-soft); }

/* ---------- Legal pages (Privacy, Cookies, Terms) ---------- */
.legal-hero {
  position: relative;
  height: 360px;
  overflow: hidden;
  background: var(--nl-grey-bg);
}
.legal-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.page-band h1.page-band__title { margin: 0; }

.legal { padding: 72px 0 104px; }
.legal__inner { display: flex; flex-wrap: wrap; gap: 64px; align-items: flex-start; }
.legal-toc {
  flex: 1 1 260px;
  max-width: 320px;
  min-width: 0;
  background: var(--nl-grey-bg);
  border-radius: var(--radius-card);
  padding: 28px;
}
.legal-toc__label {
  margin-bottom: 14px;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 14px;
  letter-spacing: .5px;
  text-transform: uppercase;
}
.legal-toc ol { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.legal-toc a { text-decoration: none; font-size: 14px; line-height: 1.4; }
.legal-toc a:hover { text-decoration: underline; }

.legal-body { flex: 999 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 32px; }
.legal-body a { overflow-wrap: anywhere; } /* long URLs in the legal text must wrap on phones */
.legal-meta { font-size: 14px; font-weight: 700; color: var(--nl-text-soft); text-transform: uppercase; letter-spacing: .3px; }
.legal-intro { margin-top: 12px; font-size: 18px; line-height: 1.7; }
.legal-section {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: 32px;
  border-top: 1px solid var(--nl-line);
  scroll-margin-top: 110px;
}
.legal-section h2 { font-weight: 900; font-size: 24px; line-height: 1.25; color: var(--nl-indigo); }
.legal-section h3 { font-family: var(--font-heading); font-weight: 800; font-size: 18px; margin-top: 8px; }
.legal-section p,
.legal-section li { font-size: 16px; line-height: 1.7; }
.legal-section ul,
.legal-section ol { margin: 0; padding-left: 22px; display: flex; flex-direction: column; gap: 6px; }
.legal-section a { font-weight: 600; }
.legal-placeholder { color: var(--nl-text-soft); font-style: italic; }

@media (max-width: 860px) {
  .legal-hero { height: 220px; }
  .legal { padding: 40px 0 64px; }
  .legal__inner { gap: 32px; }
  .legal-toc { max-width: none; flex-basis: 100%; }
  .legal-section h2 { font-size: 21px; }
}

/* ---------- Tips & Articles band (home, products, category pages) ---------- */
.tips { background: var(--nl-indigo); padding: 88px 0 96px; }
.tips__title { font-weight: 900; font-size: 28px; text-transform: uppercase; color: var(--nl-white); }
.tips__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
  margin-top: 48px;
}
.tip-card { background: var(--nl-white); border-radius: var(--radius-card); overflow: hidden; display: flex; flex-direction: column; }
.tip-card__img { height: 200px; overflow: hidden; background: var(--nl-grey-bg); }
.tip-card__img img { width: 100%; height: 100%; object-fit: cover; }
.tip-card__body { padding: 28px 32px 32px; display: flex; flex-direction: column; gap: 24px; flex: 1; }
.tip-card__title { font-family: var(--font-heading); font-weight: 800; font-size: 21px; line-height: 1.3; color: var(--nl-navy); }
.tip-card .btn { margin-top: auto; align-self: flex-start; min-height: 44px; padding: 10px 20px; font-size: 14px; gap: 8px; }
.tips__more { display: flex; justify-content: center; margin-top: 56px; }
.btn--ghost-white { background: transparent; color: var(--nl-white); border: 2px solid var(--nl-white); }
.btn--ghost-white:hover { background: var(--nl-white); color: var(--nl-indigo); }

/* ---------- Article page ---------- */
.article-hero { max-width: 1360px; margin: 0 auto; padding: 0 var(--gutter); }
.article-hero__img { height: 560px; overflow: hidden; border-radius: 0 0 24px 24px; background: var(--nl-grey-bg); }
.article-hero__img img { width: 100%; height: 100%; object-fit: cover; }
.article { padding: 28px 0 104px; }
.article__inner { max-width: 860px; margin: 0 auto; padding: 0 var(--gutter); display: flex; flex-direction: column; gap: 22px; }
.article__back { align-self: flex-start; text-decoration: none; font-size: 14px; font-weight: 600; text-transform: uppercase; letter-spacing: .3px; }
.article__meta { margin-top: 24px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px; font-size: 15px; color: var(--nl-text-soft); }
.article__cat { font-family: var(--font-heading); font-weight: 800; letter-spacing: .5px; color: var(--nl-indigo); text-transform: uppercase; }
.article__sep { width: 5px; height: 5px; border-radius: 50%; background: var(--nl-yellow); }
.article__title { font-weight: 900; font-size: 50px; line-height: 1.08; color: var(--nl-navy); }
.article__inner > h2 { margin-top: 24px; font-weight: 900; font-size: 30px; line-height: 1.2; color: var(--nl-navy); }
.article__inner > h3 { margin-top: 8px; font-family: var(--font-heading); font-weight: 800; font-size: 21px; color: var(--nl-indigo); }
.article__inner > p { font-size: 18px; line-height: 1.75; }
.article__inner > .dot-list { font-size: 18px; line-height: 1.65; gap: 12px; }
.article__figure { margin: 12px 0; border-radius: var(--radius-card); overflow: hidden; aspect-ratio: 16 / 8; background: var(--nl-grey-bg); }
.article__figure img { width: 100%; height: 100%; object-fit: cover; }
.stats-panel { background: var(--nl-indigo); border-radius: var(--radius-photo); padding: 40px 44px; margin: 16px 0; display: flex; flex-direction: column; gap: 28px; color: var(--nl-white); }
.stats-panel__title { font-family: var(--font-heading); font-weight: 900; font-size: 26px; text-transform: uppercase; }
.stats-panel__sub { margin-top: 6px; color: var(--nl-sky-pale); }
.stats-panel__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 28px; margin: 0; }
.stats-panel__grid div { display: flex; flex-direction: column-reverse; gap: 6px; }
.stats-panel__grid dt { font-weight: 600; font-size: 16px; }
.stats-panel__grid dd { margin: 0; font-family: var(--font-heading); font-weight: 900; font-size: 44px; line-height: 1; color: var(--nl-yellow); }
.stats-panel__source { font-size: 13px; font-style: italic; color: var(--nl-sky-pale); }
.article__note { margin-top: 8px; font-size: 14px !important; line-height: 1.6; color: var(--nl-text-soft); font-style: italic; }
.article-cta { background: var(--nl-grey-bg); border-radius: var(--radius-photo); padding: 36px 40px; margin-top: 16px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.article-cta__text { flex: 1 1 360px; min-width: 0; }
.article-cta__title { font-family: var(--font-heading); font-weight: 900; font-size: 22px; text-transform: uppercase; }
.article-cta__text p + p { margin-top: 8px; }
.article-refs { margin-top: 24px; padding-top: 28px; border-top: 1px solid var(--nl-line); display: flex; flex-direction: column; gap: 14px; }
.article-refs h2 { font-weight: 900; font-size: 20px; text-transform: uppercase; color: var(--nl-indigo); }
.article-refs ol { margin: 0; padding-left: 22px; display: flex; flex-direction: column; gap: 10px; font-size: 15px; line-height: 1.55; }
.article-refs a { font-weight: 600; }

@media (max-width: 860px) {
  .tips { padding: 56px 0 64px; }
  .tips__grid { grid-template-columns: 1fr; gap: 24px; margin-top: 32px; }
  .article-hero { padding: 0; }
  .article-hero__img { height: 280px; border-radius: 0; }
  .article__title { font-size: 32px; }
  .article__inner > h2 { font-size: 24px; }
  .article__inner > p, .article__inner > .dot-list { font-size: 17px; }
  .stats-panel { padding: 28px 24px; }
  .stats-panel__grid dd { font-size: 36px; }
  .article-cta { padding: 28px 24px; }
}

/* ---------- Articles listing page ---------- */
.articles-intro { padding: 64px 0 0; }
.articles-intro p { font-size: 18px; line-height: 1.7; max-width: 760px; }
.articles-intro .size-filter { margin-top: 28px; }
.featured-article { padding: 40px 0 0; }
.featured-article__card { display: flex; flex-wrap: wrap; background: var(--nl-grey-bg); border-radius: var(--radius-photo); overflow: hidden; }
.featured-article__card[hidden] { display: none; }
.featured-article__media { flex: 1 1 520px; min-width: 0; min-height: 380px; position: relative; overflow: hidden; }
.featured-article__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.featured-article__body { flex: 1 1 460px; min-width: 0; padding: 48px; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 18px; }
.featured-article__body h2 { font-weight: 900; font-size: 32px; line-height: 1.15; color: var(--nl-navy); }
.featured-article__body p { font-size: 17px; line-height: 1.65; }
.label-latest { background: var(--nl-yellow); color: var(--nl-navy); font-family: var(--font-heading); font-weight: 800; font-size: 12px; letter-spacing: .5px; padding: 6px 12px; border-radius: var(--radius-pill); text-transform: uppercase; }
.post-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; font-size: 14px; color: var(--nl-text-soft); }
.post-meta__cat { font-family: var(--font-heading); font-weight: 800; letter-spacing: .4px; color: var(--nl-indigo); text-transform: uppercase; }
.post-meta__sep { width: 5px; height: 5px; border-radius: 50%; background: var(--nl-yellow); }
.articles-grid { padding: 40px 0 104px; }
.articles-grid__inner { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 32px; }
.post-card { background: var(--nl-white); border: 1px solid var(--nl-line); border-radius: var(--radius-card); overflow: hidden; display: flex; flex-direction: column; }
.post-card[hidden] { display: none; }
.post-card__img { height: 220px; overflow: hidden; background: var(--nl-grey-bg); }
.post-card__img img { width: 100%; height: 100%; object-fit: cover; }
.post-card__body { padding: 28px 32px 32px; display: flex; flex-direction: column; align-items: flex-start; gap: 16px; flex: 1; }
.post-card__body h3 { font-family: var(--font-heading); font-weight: 800; font-size: 21px; line-height: 1.3; }
.post-card__body p { font-size: 15px; line-height: 1.6; }
.post-card .btn, .featured-article__body .btn { margin-top: auto; min-height: 44px; padding: 10px 20px; font-size: 14px; gap: 8px; }
.coming-soon { background: var(--nl-grey-bg); border: 1px dashed var(--nl-periwinkle); border-radius: var(--radius-card); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 12px; padding: 40px 32px; min-height: 420px; }
.coming-soon svg { width: 44px; height: 44px; color: var(--nl-indigo); }
.coming-soon h3 { font-family: var(--font-heading); font-weight: 800; font-size: 20px; }
.coming-soon p { font-size: 15px; line-height: 1.6; max-width: 280px; }
@media (max-width: 860px) {
  .articles-intro { padding-top: 40px; }
  .featured-article__media { min-height: 260px; flex-basis: 100%; }
  .featured-article__body { padding: 28px 24px; }
  .featured-article__body h2 { font-size: 26px; }
  .articles-grid { padding-bottom: 64px; }
  .articles-grid__inner { grid-template-columns: 1fr; }
}

/* ---------- Article 2 additions ---------- */
.img-placeholder { background: linear-gradient(160deg, var(--nl-sky-pale) 0%, var(--nl-sky) 100%); display: flex; align-items: center; justify-content: center; }
.img-placeholder svg { width: 32%; max-width: 220px; height: auto; }
.article sup.cite { font-size: .72em; line-height: 0; margin-left: 2px; }
.article sup.cite a { color: var(--nl-indigo); text-decoration: none; font-weight: 600; }
.article sup.cite a:hover { text-decoration: underline; }
.article-refs li { scroll-margin-top: 110px; }
.article-refs li:target { background: var(--nl-sky-pale); border-radius: 6px; }
.habits-box { background: var(--nl-sky-pale); border-left: 6px solid var(--nl-yellow); border-radius: var(--radius-card); padding: 32px 36px; margin: 40px 0; }
.habits-box__title { font-family: var(--font-heading); font-weight: 900; font-size: 22px; color: var(--nl-navy); text-transform: uppercase; margin: 0 0 16px; }
.habits-box .dot-list { margin: 0; }
@media (max-width: 860px) { .habits-box { padding: 24px 22px; } }
.stats-panel--long .stats-panel__grid { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.stats-panel--long .stats-panel__grid dd { font-size: 32px; }
.stats-panel--long .stats-panel__grid dt { font-size: 15px; }
@media (max-width: 860px) { .stats-panel--long .stats-panel__grid dd { font-size: 28px; } }
