:root {
  --ink: #12203B;
  --navy-deep: #0A1424;
  --navy-800: #16264A;
  --slate: #4A6690;
  --slate-light: #7C93B5;
  --mist: #CDD8E8;
  --mist-soft: #E3EAF3;
  --paper: #F5F5F1;
  --white: #FFFFFF;
  --line: #E4E2DA;
  --line-dark: rgba(255,255,255,0.14);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  margin: 0;
  text-wrap: balance;
  color: var(--ink);
}
p { margin: 0; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 32px; }
@media (max-width: 720px) { .wrap { padding: 0 20px; } }

.eyebrow {
  font-size: 11.5px;
  letter-spacing: 2.2px;
  text-transform: uppercase;
  font-weight: 600;
}

/* ---------------- Scroll reveal (progressive enhancement) ---------------- */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s cubic-bezier(.2,.7,.3,1), transform .7s cubic-bezier(.2,.7,.3,1); }
  .js .reveal.in { opacity: 1; transform: translateY(0); }
  .reveal-group > *:nth-child(1) { transition-delay: 0ms; }
  .reveal-group > *:nth-child(2) { transition-delay: 70ms; }
  .reveal-group > *:nth-child(3) { transition-delay: 140ms; }
  .reveal-group > *:nth-child(4) { transition-delay: 210ms; }
  .reveal-group > *:nth-child(5) { transition-delay: 280ms; }
  .reveal-group > *:nth-child(6) { transition-delay: 350ms; }
  .reveal-group > *:nth-child(7) { transition-delay: 420ms; }
  .reveal-group > *:nth-child(8) { transition-delay: 490ms; }
  .reveal-group > *:nth-child(9) { transition-delay: 560ms; }
}
@keyframes slow-spin { to { transform: rotate(360deg); } }
@keyframes slow-spin-rev { to { transform: rotate(-360deg); } }
@keyframes drift {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}
@media (prefers-reduced-motion: no-preference) {
  .ring-outer { animation: slow-spin 130s linear infinite; transform-origin: 180px 190px; }
  .ring-mid { animation: slow-spin-rev 95s linear infinite; transform-origin: 180px 190px; }
  .ring-dot { animation: drift 6s ease-in-out infinite; }
  .orbit-a { animation: slow-spin 40s linear infinite; transform-origin: 120px 120px; }
  .orbit-b { animation: slow-spin-rev 60s linear infinite; transform-origin: 120px 120px; }
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  font-size: 13px;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  font-weight: 600;
  border-radius: 2px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: opacity 0.15s ease, background 0.15s ease, border-color 0.15s ease, transform .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--white); color: var(--navy-deep); }
.btn-primary:hover { background: var(--mist-soft); }
.btn-ghost { border-color: var(--line-dark); color: var(--white); }
.btn-ghost:hover { border-color: var(--white); }
.btn-dark { background: var(--navy-deep); color: var(--white); }
.btn-dark:hover { background: var(--navy-800); }
.btn-outline { border-color: var(--ink); color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: var(--white); }

/* ---------------- Header ---------------- */
header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(245,245,241,0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav-row {
  display: flex; align-items: center; justify-content: space-between;
  height: 76px;
}
.logo {
  font-family: Georgia, serif;
  font-size: 22px;
  letter-spacing: 3px;
  color: var(--ink);
  flex-shrink: 0;
}
.logo em { font-style: normal; color: var(--slate); }
.logo-img { height: 26px; display: block; }
.logo-footer .logo-img { filter: brightness(0) invert(1); opacity: 0.95; }
nav.primary { display: flex; gap: 26px; margin-left: 40px; flex: 1; }
nav.primary > .navitem { position: relative; padding: 28px 0; flex-shrink: 0; }
nav.primary > .navitem > a {
  font-size: 12.5px; letter-spacing: 1.1px; text-transform: uppercase; font-weight: 600;
  color: var(--ink);
  display: flex; align-items: center; gap: 5px;
  white-space: nowrap;
}
nav.primary > .navitem > a .car { font-size: 9px; color: var(--slate-light); transition: transform .15s; }
nav.primary > .navitem:hover > a .car { transform: rotate(180deg); }
.dropdown {
  position: absolute; top: 100%; left: 50%; transform: translateX(-50%);
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 18px 40px rgba(10,20,36,0.10);
  min-width: 210px;
  padding: 10px 0;
  opacity: 0; visibility: hidden; translate: 0 6px;
  transition: opacity .15s ease, translate .15s ease;
}
nav.primary > .navitem:hover .dropdown { opacity: 1; visibility: visible; translate: 0 0; }
.dropdown a {
  display: block; padding: 9px 20px; font-size: 13px; color: var(--ink); white-space: nowrap;
  transition: background .12s ease;
}
.dropdown a:hover { background: var(--paper); color: var(--slate); }

.nav-icons { display: flex; align-items: center; gap: 20px; flex-shrink: 0; }
.nav-icons svg { width: 18px; height: 18px; stroke: var(--ink); }
.nav-icons .member {
  font-size: 12px; letter-spacing: 0.8px; text-transform: uppercase; font-weight: 600;
  border: 1px solid var(--ink); padding: 8px 16px; border-radius: 2px;
  transition: background .15s ease, color .15s ease;
}
.nav-icons .member:hover { background: var(--ink); color: var(--white); }

.burger { display: none; width: 22px; height: 16px; position: relative; cursor: pointer; }
.burger span { position: absolute; left: 0; width: 100%; height: 1.5px; background: var(--ink); }
.burger span:nth-child(1) { top: 0; } .burger span:nth-child(2) { top: 7px; } .burger span:nth-child(3) { top: 14px; }
#navtoggle { display: none; }

@media (max-width: 900px) {
  nav.primary { display: none; }
  .nav-icons .member { display: none; }
  .burger { display: block; }
  #navtoggle:checked ~ .mobile-menu { max-height: 640px; }
  .mobile-menu {
    max-height: 0; overflow: hidden; transition: max-height .25s ease;
    background: var(--white); border-top: 1px solid var(--line);
  }
  .mobile-menu a { display: block; padding: 14px 20px; font-size: 13px; letter-spacing: 0.6px; text-transform: uppercase; border-bottom: 1px solid var(--line); }
}
@media (min-width: 901px) { .mobile-menu { display: none; } }

/* ---------------- Hero ---------------- */
.hero {
  position: relative;
  background: radial-gradient(120% 140% at 78% 20%, #16264A 0%, #0A1424 62%);
  color: var(--white);
  overflow: hidden;
}
/* full-bleed product photo; flat navy edges fade into the hero gradient */
.hero-home::before {
  content: ""; position: absolute; top: 0; height: 100%; aspect-ratio: 2 / 1;
  left: 78%; transform: translateX(-46%); /* product sits ~46% across the photo; put it ~78% across the hero */
  background: url(images/home-hero.webp) center / cover no-repeat;
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 30%);
  mask-image: linear-gradient(to right, transparent 0, #000 30%);
}
.hero .wrap { position: relative; padding: 88px 32px 80px; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; align-items: center; }
.hero-home .wrap { grid-template-columns: 1fr; }
@media (max-width: 900px) { .hero .wrap { grid-template-columns: 1fr; padding: 52px 20px 56px; } .hero-home .wrap { padding-bottom: 320px; } .hero-home::before { top: auto; bottom: 0; height: 300px; left: 50%; -webkit-mask-image: none; mask-image: none; } }
.hero .eyebrow { color: var(--slate-light); margin-bottom: 16px; }
.hero h1, .hero h2 { font-size: clamp(32px, 4.4vw, 52px); line-height: 1.14; color: var(--white); max-width: 600px; }
.hero p.lede { margin-top: 18px; max-width: 420px; color: #C6D0E2; font-size: 15.5px; line-height: 1.6; }
.hero .cta-row { display: flex; gap: 14px; margin-top: 30px; flex-wrap: wrap; }
.hero-art { justify-self: end; opacity: 0.95; }
@media (max-width: 900px) { .hero-art { display: none; } }

.hero-slides {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.hero-slides::-webkit-scrollbar { display: none; }
.hero-slide { flex: 0 0 100%; min-width: 0; scroll-snap-align: start; }
.hero-dots {
  position: absolute; bottom: 22px; left: 50%; translate: -50% 0;
  display: flex; gap: 8px; z-index: 2;
}
.hero-dots a {
  width: 7px; height: 7px; border-radius: 50%;
  background: rgba(255,255,255,0.3);
  transition: background .15s ease;
}
.hero-dots a:hover { background: rgba(255,255,255,0.65); }
.hero-dots a.active { background: rgba(255,255,255,0.9); }

/* ---------------- Credential strip ---------------- */
.credentials { background: var(--white); border-bottom: 1px solid var(--line); }
.credentials .wrap { display: grid; grid-template-columns: repeat(4, 1fr); }
.credentials .cell { padding: 26px 26px; border-left: 1px solid var(--line); }
.credentials .cell:first-child { border-left: none; }
.credentials .num { font-family: Georgia, serif; font-size: 25px; color: var(--ink); }
.credentials .cap { margin-top: 5px; font-size: 11.5px; color: var(--slate); letter-spacing: 0.3px; }
@media (max-width: 820px) {
  .credentials .wrap { grid-template-columns: repeat(2, 1fr); }
  .credentials .cell:nth-child(3) { border-left: none; }
}

/* ---------------- Section shell ---------------- */
section { padding: 76px 0; }
.section-head { max-width: 560px; margin-bottom: 40px; }
#why .section-head { max-width: none; }
.section-head .eyebrow { color: var(--slate); margin-bottom: 12px; }
.section-head h2 { font-size: clamp(25px, 2.8vw, 33px); }
.section-head p { margin-top: 12px; color: #52607A; font-size: 14.5px; }

/* ---------------- Process ---------------- */
.process { background: var(--white); }
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--line); }
.process-grid .step { padding: 32px 34px 0 15px; border-right: 1px solid var(--line); }
.process-grid .step:last-child { border-right: none; padding-right: 0; }
.process-grid .step .step-num { font-size: 11px; letter-spacing: 2px; color: var(--slate-light); font-weight: 600; }
.process-grid .step .step-icon { width: 34px; height: 34px; margin-top: 14px; color: var(--slate); stroke: var(--slate); }
.process-grid .step h3 { font-size: 18px; margin-top: 16px; }
.process-grid .step p { margin-top: 8px; color: #5A6579; font-size: 13.5px; }
@media (max-width: 900px) { .process-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 780px) {
  .process-grid { grid-template-columns: 1fr; }
  .process-grid .step { border-right: none; border-bottom: 1px solid var(--line); padding: 28px 0 28px 15px; }
}

/* ---------------- Look band (visual interstitial) ---------------- */
.look-band { background: var(--navy-deep); position: relative; overflow: hidden; padding: 58px 0; }
.look-band .bg { position: absolute; inset: 0; opacity: 0.5; }
.look-band .wrap { position: relative; z-index: 1; }
.look-band p.tag {
  color: var(--white); font-family: Georgia, serif; font-style: italic;
  font-size: clamp(19px, 2.4vw, 26px); max-width: 620px; line-height: 1.45;
}
.look-band .cap { margin-top: 14px; color: var(--slate-light); font-size: 12px; letter-spacing: 0.6px; text-transform: uppercase; }

/* ---------------- Product grid ---------------- */
.capsules { background: var(--paper); }
.capsule-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.capsule-card {
  background: var(--white); position: relative; overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease;
}
.capsule-card:hover { transform: translateY(-4px); box-shadow: 0 16px 34px rgba(10,20,36,0.09); z-index: 2; }
.capsule-card .media { aspect-ratio: 1; background: var(--paper); overflow: hidden; }
.capsule-card .media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.capsule-card:hover .media img { transform: scale(1.06); }
.capsule-card .badge {
  position: absolute; top: 14px; left: 14px;
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--navy-deep); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-family: Georgia, serif; font-size: 13px;
  box-shadow: 0 4px 10px rgba(10,20,36,0.25);
}
.capsule-card .body { padding: 20px 22px 22px; }
.capsule-card h4 { font-size: 16.5px; }
.capsule-card .concern { font-size: 10.5px; letter-spacing: 1px; text-transform: uppercase; color: var(--slate); font-weight: 600; }
.capsule-card p.desc { font-size: 13px; color: #5A6579; margin-top: 4px; }
.capsule-card .learn {
  font-size: 12px; letter-spacing: 0.4px; color: var(--ink); border-top: 1px solid var(--line);
  padding-top: 10px; margin-top: 12px; display: flex; justify-content: space-between; align-items: center;
}
.capsule-card .learn span:last-child { transition: transform .2s ease; }
.capsule-card:hover .learn span:last-child { transform: translateX(3px); }
@media (max-width: 900px) { .capsule-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .capsule-grid { grid-template-columns: 1fr; } }


/* ---------------- Featured set ---------------- */
.feature-set { background: var(--white); }
.feature-set .wrap { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 56px; align-items: center; }
@media (max-width: 860px) { .feature-set .wrap { grid-template-columns: 1fr; gap: 30px; } }
.feature-set .feature-media { background: var(--paper); overflow: hidden; }
.feature-set .feature-media img { width: 100%; display: block; }
.feature-set .feature-copy .eyebrow { color: var(--slate); margin-bottom: 12px; }
.feature-set .feature-copy h2 { font-size: clamp(24px, 2.8vw, 32px); }
.feature-set .feature-copy p { margin-top: 14px; color: #52607A; font-size: 14.5px; max-width: 420px; }
.feature-set .feature-copy .btn { margin-top: 24px; }

/* ---------------- Science banner ---------------- */
.science { background: var(--navy-deep); color: var(--white); position: relative; overflow: hidden; }
.science .orbit-bg { position: absolute; right: -40px; top: 50%; transform: translateY(-50%); opacity: 0.5; }
@media (max-width: 700px) { .science .orbit-bg { display: none; } }
.science .wrap { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
@media (max-width: 860px) { .science .wrap { grid-template-columns: 1fr; gap: 32px; } }
.science .eyebrow { color: var(--slate-light); }
.science h2 { color: var(--white); font-size: clamp(23px, 2.8vw, 30px); margin-top: 12px; }
.science p.body { margin-top: 12px; color: #C6D0E2; font-size: 14.5px; max-width: 400px; }
.science .stats { display: grid; grid-template-columns: repeat(3,1fr); gap: 1px; background: var(--line-dark); border: 1px solid var(--line-dark); }
.science .stat { padding: 22px 16px; }
.science .stat .figure { font-family: Georgia, serif; font-size: 26px; color: var(--white); }
.science .stat .label { margin-top: 6px; font-size: 11px; color: var(--slate-light); letter-spacing: 0.3px; }

/* ---------------- Membership ---------------- */
.membership { background: var(--white); }
.tier-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 860px) { .tier-grid { grid-template-columns: 1fr; } }
.tier-card { border: 1px solid var(--line); padding: 28px 26px; position: relative; transition: transform .25s ease, box-shadow .25s ease; }
.tier-card:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(10,20,36,0.07); }
.tier-card.featured { border-color: var(--ink); }
.tier-card .flag { position: absolute; top: -12px; left: 26px; background: var(--ink); color: var(--white); font-size: 10.5px; letter-spacing: 1px; text-transform: uppercase; padding: 4px 10px; }
.tier-card .tier-name { font-family: Georgia, serif; font-size: 20px; }
.tier-card .tier-req { margin-top: 4px; font-size: 12px; color: var(--slate); }
.tier-card .tier-mult { margin-top: 18px; font-family: Georgia, serif; font-size: 32px; color: var(--ink); }
.tier-card .tier-mult small { font-family: -apple-system, sans-serif; font-size: 11.5px; color: #7A869A; display: block; margin-top: 4px; }
.tier-card ul { list-style: none; margin: 18px 0 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.tier-card li { font-size: 12.5px; color: #445; padding-left: 16px; position: relative; }
.tier-card li::before { content: "\2014"; position: absolute; left: 0; color: var(--slate-light); }
.membership-foot { margin-top: 36px; display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding-top: 26px; border-top: 1px solid var(--line); }
.membership-foot p { font-size: 13px; color: #52607A; max-width: 480px; }

/* ---------------- Heritage / partners ---------------- */
.heritage { background: var(--paper); }
.heritage .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; }
@media (max-width: 860px) { .heritage .wrap { grid-template-columns: 1fr; gap: 36px; } }
.heritage blockquote { font-family: Georgia, serif; font-size: 20px; line-height: 1.45; color: var(--ink); margin: 0; position: relative; padding-left: 26px; }
.heritage blockquote .mark { position: absolute; left: -4px; top: -8px; font-size: 46px; color: var(--mist); font-family: Georgia, serif; }
.heritage cite { display: block; margin-top: 14px; font-style: normal; font-size: 12px; color: var(--slate); letter-spacing: 0.3px; }
.partner-marks { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); align-self: start; }
.partner-marks .mark-card { background: var(--white); padding: 24px 20px; transition: background .2s ease; }
.partner-marks .mark-card:hover { background: var(--mist-soft); }
.partner-marks .mark-card .name { font-family: Georgia, serif; font-size: 17px; }
.partner-marks .mark-card .place { margin-top: 5px; font-size: 11px; color: var(--slate); letter-spacing: 0.4px; text-transform: uppercase; }


/* ---------------- Trust additions ---------------- */
.hero .trust-line { margin-top: 22px; font-size: 12px; letter-spacing: 0.4px; color: var(--slate-light); }
.proof { background: #F5F5F1; }
.safety { background: var(--paper); }
.safety-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.safety-grid > div { background: var(--white); padding: 26px 22px; }
.safety-grid b { font-family: Georgia, serif; font-weight: 400; font-size: 17px; }
.safety-grid p { margin-top: 8px; font-size: 13px; color: #5A6579; }
.locator { background: var(--navy-deep); color: var(--white); }
.locator .wrap { display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.locator .eyebrow { color: var(--slate-light); }
.locator h2 { color: var(--white); font-size: clamp(22px, 2.6vw, 30px); margin-top: 10px; }
.locator p { margin-top: 10px; color: #C6D0E2; font-size: 14px; max-width: 460px; }
.foot-contact { margin-top: 14px; font-size: 12.5px; line-height: 1.7; opacity: .75; }
@media (max-width: 900px) { .safety-grid { grid-template-columns: repeat(2, 1fr); } }


/* ---------------- Customceutical landing ---------------- */
.hero .tagline { margin-top: 18px; font-family: Georgia, serif; font-style: italic; font-size: 20px; color: var(--white); }
.approach { background: var(--white); }
.formula { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; gap: 14px; align-items: stretch; }
.f-box { border: 1px solid var(--line); padding: 26px 22px; background: var(--paper); display: flex; flex-direction: column; gap: 6px; }
.f-box small { font-size: 10.5px; letter-spacing: 2px; text-transform: uppercase; color: var(--slate); }
.f-box b { font-family: Georgia, serif; font-weight: 400; font-size: 20px; }
.f-box span { font-size: 13px; color: #5A6579; }
.f-result { background: var(--navy-deep); border-color: var(--navy-deep); }
.f-result small, .f-result span { color: var(--slate-light); } .f-result b { color: var(--white); }
.f-op { align-self: center; font-family: Georgia, serif; font-size: 28px; color: var(--slate-light); }
.approach .fine { margin-top: 20px; font-size: 13px; color: var(--slate); }
.why { background: var(--paper); }
.safety-grid.c3 { grid-template-columns: repeat(3, 1fr); }
/* Why stack: sticky stacking cards (CSS-only take on rayo's services-stack) */
.why-stack__item { position: sticky; top: 96px; min-height: 440px; margin-bottom: 20px; padding: 40px 48px 44px; display: flex; flex-direction: column; justify-content: space-between; gap: 28px; border-radius: 28px; overflow: hidden; background: var(--navy-deep); color: var(--white); }
.why-stack__item.is-slate { background: var(--slate); }
.why-stack__item.is-mist { background: var(--mist-soft); color: var(--ink); }
.why-stack__item h3 { color: inherit; font-size: clamp(30px, 4.4vw, 56px); line-height: 1.08; max-width: 56%; }
.why-stack__info { position: relative; z-index: 1; max-width: 470px; }
.why-stack__info p { font-size: 14.5px; opacity: .88; }
.why-stack__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.why-stack__tags span { border: 1px solid currentColor; border-radius: 999px; padding: 4px 12px; font-size: 11px; letter-spacing: 1px; text-transform: uppercase; font-weight: 600; opacity: .75; }
.why-stack__go { position: absolute; top: 24px; right: 24px; z-index: 1; width: 52px; height: 52px; display: grid; place-items: center; border-radius: 50%; background: var(--white); color: var(--navy-deep); font-size: 20px; transition: transform .2s ease; }
.why-stack__img { position: absolute; top: 0; right: 0; bottom: 0; width: 38%; height: 100%; object-fit: cover; background: #fff; }
.why-stack__item:nth-child(2) .why-stack__img { object-position: 40% center; }
.why-stack__item:nth-child(3) .why-stack__img { object-position: 35% center; }
.why-stack__go:hover { transform: translate(2px, -2px); }
.why-stack__item.is-mist .why-stack__go { background: var(--navy-deep); color: var(--white); }
@media (max-width: 720px) { .why-stack__item { top: 84px; min-height: 420px; padding: 28px 24px 32px; border-radius: 22px; } .why-stack__item h3 { max-width: none; padding-right: 60px; } .why-stack__img { position: static; order: -1; width: calc(100% + 48px); height: 190px; margin: -28px -24px 0; } }
.safety-grid .n { display: block; font-size: 11px; letter-spacing: 2px; color: var(--slate-light); font-weight: 600; margin-bottom: 8px; }
.families { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); margin-top: 34px; }
.fam { background: var(--white); padding: 24px 20px; }
.fam h4 { font-size: 17px; } .fam p { margin-top: 10px; font-size: 12.5px; color: #5A6579; line-height: 1.7; }
.locator .wrap { display: block; }
.regions { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; margin-top: 34px; }
.regions h5 { font-size: 11.5px; letter-spacing: 1.4px; text-transform: uppercase; color: var(--slate-light); margin: 0 0 12px; font-weight: 600; }
.regions ul { list-style: none; margin: 0; padding: 0; } .regions li { font-size: 13.5px; color: #C6D0E2; padding: 7px 0; border-bottom: 1px solid var(--line-dark); }
@media (max-width: 900px) { .formula { grid-template-columns: 1fr; } .f-op { text-align: center; } .safety-grid.c3, .regions { grid-template-columns: 1fr; } .families { grid-template-columns: repeat(2, 1fr); } }

/* ---------------- Partner CTA ---------------- */
.partner-cta { background: var(--mist-soft); }
.partner-cta .wrap { display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; padding-top: 56px; padding-bottom: 56px; }
.partner-cta h2 { font-size: clamp(21px, 2.4vw, 28px); max-width: 480px; }
.partner-cta p { margin-top: 10px; color: #45526B; font-size: 14px; max-width: 440px; }

/* ---------------- Footer ---------------- */
footer { background: var(--navy-deep); color: #AEB9CE; }
footer .wrap { padding-top: 64px; }
.foot-top { display: grid; grid-template-columns: 1.4fr repeat(2, 1fr); gap: 30px; padding-bottom: 44px; border-bottom: 1px solid var(--line-dark); }
@media (max-width: 900px) { .foot-top { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .foot-top { grid-template-columns: 1fr; } }
.foot-brand .logo { color: var(--white); }
.foot-brand p { margin-top: 14px; font-size: 13px; color: #8B97AE; max-width: 260px; }
.foot-col h5 { font-size: 11.5px; letter-spacing: 1.2px; text-transform: uppercase; color: #7C8AA3; margin-bottom: 14px; font-weight: 600; font-family: -apple-system, sans-serif; }
.foot-col a { display: block; font-size: 13.5px; margin-bottom: 9px; color: #C4CCDC; transition: color .15s ease; }
.foot-col a:hover { color: var(--white); }
.foot-bottom { display: flex; justify-content: space-between; align-items: center; padding: 22px 0; font-size: 12px; color: #6E7C97; flex-wrap: wrap; gap: 10px; }

/* ---------------- About (after adon-template "thinking area") ---------------- */
.thinking { background: var(--white); }
.thinking__wrapper { display: grid; grid-template-columns: 1fr minmax(0, 580px); gap: 60px; position: relative; margin-bottom: 40px; }
.thinking__content .eyebrow { color: var(--slate); margin-bottom: 14px; }
.thinking__content .sub-title { font-size: clamp(32px, 3.6vw, 46px); line-height: 1.06; letter-spacing: -1.5px; margin-bottom: 28px; }
.thinking__content p { color: #52607A; font-size: 14.5px; max-width: 390px; margin-bottom: 14px; }
.thinking__content .about-logo { width: 160px; margin-top: 36px; }
.thinking__media { margin-top: 120px; }
.thinking__media img { width: 100%; height: auto; border-radius: 12px; }
@media (max-width: 1100px) {
  .thinking__wrapper { grid-template-columns: 1fr; gap: 40px; margin-bottom: 0; }
  .thinking__media { margin-top: 0; max-width: 720px; }
}

/* ---------------- Testimonials (after rayo testimonials-slider: intro left, card slider right) ---------------- */
.t-layout { display: grid; grid-template-columns: 5fr 7fr; gap: 48px; align-items: start; max-width: none; margin: 0; padding: 0 0 0 max(32px, calc((100vw - 1180px) / 2 + 32px)); }
.t-intro .eyebrow { color: var(--slate); margin-bottom: 12px; }
.t-intro h2 { font-size: clamp(25px, 2.8vw, 33px); }
.t-intro p { margin-top: 12px; color: #52607A; font-size: 14.5px; max-width: 380px; }
.t-intro .fine { font-size: 11.5px; color: var(--slate); }
.t-nav { display: flex; gap: 10px; margin-top: 28px; }
.t-nav button { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--ink); background: none; color: var(--ink); font-size: 18px; cursor: pointer; transition: background .15s, color .15s; }
.t-nav button:hover { background: var(--ink); color: var(--white); }
.t-slider { display: flex; gap: 20px; min-width: 0; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.t-slider::-webkit-scrollbar { display: none; }
.t-card { flex: 0 0 min(62%, 360px); scroll-snap-align: start; display: flex; flex-direction: column; padding: 14px; background: var(--white); border-radius: 22px; }
.t-card:nth-child(even) { background: #E3EAF3; }
.t-card img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 12px; }
.t-card__body { flex: 1; display: flex; flex-direction: column; justify-content: space-between; gap: 20px; padding: 20px 10px 8px; }
.t-card__body p { font-family: Georgia, serif; font-size: 17px; line-height: 1.5; margin: 0; color: var(--ink); }
.t-card__author b { display: block; font-size: 13.5px; }
.t-card__author small { color: var(--slate); font-size: 12px; }
@media (max-width: 900px) { .t-layout { grid-template-columns: 1fr; gap: 32px; padding-left: 20px; } .t-intro { padding-right: 20px; } .t-card { flex-basis: min(78%, 360px); } }

/* ---------------- Join / Partners cards (after rayo mxd-stats-cards bento) ---------------- */
.m-cards { background: var(--white); padding: 76px 20px 76px; overflow: hidden; }
.m-cards__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.m-card { position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; gap: 40px; min-height: 420px; padding: 40px; border-radius: 28px; }
.m-card::after { content: ""; position: absolute; right: -110px; top: -110px; width: 300px; height: 300px; border-radius: 50%; pointer-events: none; }
.m-card > * { position: relative; z-index: 1; }
.m-card .eyebrow { margin-bottom: 18px; }
.m-card h2 { color: inherit; font-size: clamp(34px, 4.4vw, 54px); line-height: 1.06; letter-spacing: -1px; }
.m-card p { margin-top: 18px; max-width: 360px; font-size: 14.5px; }
.m-card .btn { align-self: flex-start; }
.m-card--dark { background: var(--navy-deep); color: var(--white); }
.m-card--dark .eyebrow { color: var(--slate-light); }
.m-card--dark p { color: #C6D0E2; }
.m-card--dark::after { box-shadow: 0 0 0 40px rgba(255,255,255,.04), 0 0 0 80px rgba(255,255,255,.03); }
.m-card--light { background: var(--mist-soft); color: var(--ink); }
.m-card--light .eyebrow { color: var(--slate); }
.m-card--light p { color: #45526B; }
.m-card--light::after { box-shadow: 0 0 0 40px rgba(18,32,59,.04), 0 0 0 80px rgba(18,32,59,.03); }
@media (max-width: 900px) { .m-cards__grid { grid-template-columns: 1fr; } .m-card { min-height: 360px; padding: 28px 24px; border-radius: 22px; } }

/* ---------------- Customceutical page ---------------- */

.diff { background: var(--paper); }
.diff__list { border-top: 2px solid var(--ink); }
.diff-item { border-bottom: 2px solid var(--ink); scroll-margin-top: 100px; }
.diff-item summary { display: flex; align-items: center; gap: 24px; padding: 30px 0; cursor: pointer; list-style: none; }
.diff-item summary::-webkit-details-marker { display: none; }
.diff-n { flex: 0 0 auto; min-width: 40px; font-family: Georgia, serif; font-size: 15px; letter-spacing: 3px; color: var(--slate-light); }
.diff-item h3 { flex: 1; font-size: clamp(22px, 2.6vw, 34px); line-height: 1.15; }
.diff-plus { position: relative; flex: 0 0 auto; width: 26px; height: 26px; transition: transform .3s ease; }
.diff-plus::before, .diff-plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 100%; height: 2px; background: var(--ink); transform: translate(-50%, -50%); }
.diff-plus::after { transform: translate(-50%, -50%) rotate(90deg); }
.diff-item[open] .diff-plus { transform: rotate(45deg); }
.diff-body { display: grid; gap: 28px; padding: 0 0 44px 64px; }
.diff-body .diff-sub { margin-top: 0; }
.diff-body .diff-fig { margin: 0; }
@media (hover: hover) and (min-width: 1200px) and (prefers-reduced-motion: no-preference) {
  .diff__list .diff-item { transition: opacity .3s; }
  .diff__list:hover .diff-item:not(:hover):not([open]) { opacity: .35; }
}
@media (min-width: 1100px) { .diff-body:has(.diff-fig) { grid-template-columns: minmax(0, 620px) 340px; justify-content: space-between; } }
@media (max-width: 720px) { .diff-item summary { gap: 14px; padding: 22px 0; } .diff-n { min-width: 28px; } .diff-body { padding-left: 0; } }
.diff-sub { margin-top: 14px; font-size: 16px; font-weight: 600; color: var(--ink); max-width: 620px; }
.diff-item p { margin-top: 14px; max-width: 620px; font-size: 15px; color: #52607A; }
.diff-item p.diff-close { font-family: Georgia, serif; font-style: italic; font-size: 19px; line-height: 1.45; color: var(--ink); }
.diff-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; max-width: 620px; }
.diff-tags span { border: 1px solid var(--ink); border-radius: 999px; padding: 5px 13px; font-size: 11px; letter-spacing: 1px; text-transform: uppercase; font-weight: 600; }
.diff-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin-top: 20px; max-width: 620px; background: var(--line); border: 1px solid var(--line); }
.diff-stats div { background: var(--white); padding: 18px 20px; }
.diff-stats b { display: block; font-family: Georgia, serif; font-weight: 400; font-size: 34px; }
.diff-stats small { color: var(--slate); font-size: 12px; }
.diff-fig { margin: 28px 0 0; max-width: 620px; overflow: hidden; border-radius: 16px; }
.diff-fig img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }

.cta-band { background: var(--slate); color: var(--white); padding: 56px 0; }
.cta-band .wrap { display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.cta-band h2 { color: var(--white); font-size: clamp(24px, 3vw, 34px); }
.cta-band p { margin-top: 8px; color: #E3EAF3; font-size: 14.5px; }


/* ---------------- Customceutical hero (after rayo mxd-hero-01) ---------------- */
.rx-hero { background: radial-gradient(120% 140% at 78% 20%, #16264A 0%, #0A1424 62%); color: var(--white); padding: 0; overflow: hidden; }
.rx-hero__wrap { max-width: 1920px; margin: 0 auto; padding: 0 20px; position: relative; }
.rx-hero__top { position: relative; display: flex; justify-content: center; padding: 72px 0 56px; }
.rx-hero__title { text-align: center; position: relative; z-index: 1; }
.rx-hero__title .eyebrow { color: var(--slate-light); margin-bottom: 20px; }
.rx-hero h1 { color: var(--white); font-size: clamp(36px, 6.2vw, 100px); line-height: 1.12; letter-spacing: -0.02em; }
.rx-row { display: block; }
.rx-pill { display: inline-block; font-style: italic; background: var(--white); color: var(--navy-deep); border-radius: 999px; padding: 0 .35em .06em; }
.rx-float { display: none; position: absolute; height: auto; border-radius: 18px; object-fit: cover; }
.rx-float--a { width: 180px; left: 4%; top: 6%; }
.rx-float--b { width: 150px; right: 5%; top: 4%; }
.rx-hero__bottom { position: relative; display: flex; flex-direction: column; gap: 28px; padding: 36px 0 48px; border-top: 2px dotted rgba(255,255,255,.28); }
.rx-badge { position: relative; flex: 0 0 auto; width: 120px; height: 120px; display: grid; place-items: center; }
.rx-badge__ring { position: absolute; inset: 0; width: 100%; height: 100%; }
.rx-badge__ring text { fill: var(--white); font: 600 8.6px/1 -apple-system, "Helvetica Neue", Arial, sans-serif; }
.rx-badge img { width: 58px; height: auto; filter: brightness(0) invert(1); transition: transform .25s ease; }
.rx-badge:hover img { transform: scale(.92); }
.rx-descr { max-width: 386px; }
.rx-descr p { font-size: 14.5px; color: #C6D0E2; }
.rx-descr p:first-child { color: var(--white); font-weight: 600; margin-bottom: 8px; }
.rx-links { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.rx-links a { font-family: Georgia, serif; font-size: 19px; color: var(--white); }
.rx-links a::after { content: " \2197"; font-size: .8em; }
.rx-links a:hover { text-decoration: underline; text-underline-offset: 4px; }
.rx-tile { position: relative; margin: 0; width: 100%; max-width: 360px; aspect-ratio: 3 / 2; border-radius: 16px; overflow: hidden; }
.rx-tile img { width: 100%; height: 100%; object-fit: cover; }
.rx-tile figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 22px 16px 12px; color: var(--white); font-size: 12px; letter-spacing: 1.4px; text-transform: uppercase; font-weight: 600; background: linear-gradient(to top, rgba(10,20,36,.7), transparent); }
@media (prefers-reduced-motion: no-preference) {
  .rx-float--a { animation: rx-pulse 1.2s ease-in-out infinite alternate; }
  .rx-float--b { animation: rx-move 1.2s ease-in-out infinite alternate; }
  .rx-badge__ring { animation: slow-spin 16s linear infinite; }
}
@keyframes rx-pulse { from { transform: scale(.94); } to { transform: scale(1.02); } }
@keyframes rx-move { from { transform: translateY(-8px); } to { transform: translateY(8px); } }
@media (min-width: 1100px) {
  .rx-hero__wrap { padding: 0 48px; }
  .rx-hero__top { padding: 110px 0 120px; }
  .rx-float { display: block; }
  .rx-row { white-space: nowrap; }
  .rx-hero__bottom { flex-direction: row; align-items: center; gap: 48px; padding: 40px 0 56px; }
  .rx-descr { flex: 1; }
  .rx-links { flex: 0 0 auto; min-width: 250px; }
  .rx-tile { flex: 0 0 246px; width: 246px; }
}

/* ---------------- Shop and product pages ---------------- */
.shop-head { background: var(--paper); padding: 64px 0 40px; }
.shop-head .eyebrow { color: var(--slate); margin-bottom: 14px; }
.shop-head h1 { font-size: clamp(34px, 5vw, 64px); line-height: 1.06; letter-spacing: -0.02em; }
.shop { background: var(--paper); padding: 0 0 96px; }
.shop-filter { position: sticky; top: 77px; z-index: 10; background: rgba(245,245,241,.94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); padding: 14px 0; }
.shop-filter .wrap { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; }
.shop-filter button { flex: 0 0 auto; padding: 9px 18px; border: 1px solid var(--ink); border-radius: 999px; background: none; color: var(--ink); font: 600 12px/1 -apple-system, "Helvetica Neue", Arial, sans-serif; letter-spacing: 1px; text-transform: uppercase; cursor: pointer; transition: background .15s, color .15s; }
.shop-filter button small { opacity: .55; margin-left: 4px; font-size: 11px; }
.shop-filter button:hover { background: var(--mist-soft); }
.shop-filter button[aria-pressed="true"] { background: var(--ink); color: var(--white); }
.shop-count { margin: 28px 0 20px; font-size: 13px; color: var(--slate); }
.shop-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.p-card { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; transition: transform .2s ease, box-shadow .2s ease; }
.p-card[hidden] { display: none; }
.p-card:hover { transform: translateY(-3px); box-shadow: 0 14px 32px rgba(10,20,36,.08); }
.p-card__img { aspect-ratio: 1; background: var(--white); overflow: hidden; }
.p-card__img img { width: 100%; height: 100%; object-fit: contain; transform: scale(1.3); transition: transform .3s ease; }
.p-card:hover .p-card__img img { transform: scale(1.38); }
.p-card__body { display: flex; flex-direction: column; gap: 4px; padding: 16px 18px 20px; border-top: 1px solid var(--line); }
.p-card__cat { font-size: 10.5px; letter-spacing: 1.6px; text-transform: uppercase; font-weight: 600; color: var(--slate-light); }
.p-card h3 { font-size: 18px; line-height: 1.2; }
.p-card p { font-size: 13px; color: #52607A; }
.p-card__price { margin-top: 6px; font-size: 12px; font-weight: 600; color: var(--ink); }

.crumbs { padding: 28px 0 8px; font-size: 12.5px; color: var(--slate); }
.crumbs a:hover { color: var(--ink); text-decoration: underline; }
.crumbs span { color: var(--ink); }
.pd-root { background: var(--paper); }
.pd-loading { padding: 80px 0; color: var(--slate); }
.pd { padding: 16px 0 72px; }
.pd__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.pd-main { background: var(--white); border: 1px solid var(--line); border-radius: 22px; overflow: hidden; aspect-ratio: 1; }
.pd-main img { width: 100%; height: 100%; object-fit: contain; }
.pd-thumbs { display: flex; gap: 10px; margin-top: 12px; }
.pd-thumbs button { width: 84px; height: 84px; padding: 0; background: var(--white); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; cursor: pointer; }
.pd-thumbs button:hover { border-color: var(--ink); }
.pd-thumbs img { width: 100%; height: 100%; object-fit: contain; }
.pd-info .eyebrow { color: var(--slate); margin-bottom: 14px; }
.pd-info h1 { font-size: clamp(30px, 3.6vw, 48px); line-height: 1.08; letter-spacing: -0.01em; }
.pd-sizes { display: flex; align-items: center; gap: 14px; margin-top: 28px; }
.pd-sizes > span { font-size: 11px; letter-spacing: 1.6px; text-transform: uppercase; font-weight: 600; color: var(--slate); }
.pd-sizes div { display: flex; flex-wrap: wrap; gap: 8px; }
.pd-sizes button { padding: 8px 16px; border: 1px solid var(--ink); border-radius: 999px; background: none; color: var(--ink); font: 600 13px/1 -apple-system, "Helvetica Neue", Arial, sans-serif; cursor: pointer; }
.pd-sizes button[aria-pressed="true"] { background: var(--ink); color: var(--white); }
.pd-price { margin-top: 28px; font-family: Georgia, serif; font-size: 24px; }
.pd-note { margin-top: 6px; font-size: 13.5px; color: #52607A; }
.pd-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.pd-desc { margin-top: 20px; max-width: 520px; font-size: 15px; line-height: 1.65; color: #52607A; }
.pd-spec { margin-top: 36px; padding-top: 28px; border-top: 1px solid var(--line); }
.pd-ticks { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 24px; }
.pd-ticks li { position: relative; padding-left: 22px; font-size: 14px; font-weight: 600; line-height: 1.35; }
.pd-ticks li::before { content: "\2713"; position: absolute; left: 0; color: var(--slate); }
.pd-table { margin: 28px 0 0; border-top: 1px solid var(--line); }
.pd-row { display: grid; grid-template-columns: 150px 1fr; gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.pd-row dt { font-size: 11px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; color: var(--slate); padding-top: 2px; }
.pd-row dd { margin: 0; font-size: 14px; line-height: 1.55; color: var(--ink); }
.pd-details { background: var(--white); padding: 72px 0; }
.pd-details:empty { display: none; }
.pd-details h2, .pd-related h2 { font-size: clamp(24px, 2.6vw, 34px); margin-bottom: 32px; }
.pd-details__imgs { max-width: 800px; margin: 0 auto; }
.pd-details__imgs img { width: 100%; height: auto; }
.pd-related { padding: 72px 0 96px; }
@media (max-width: 1100px) { .shop-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 800px) { .shop-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; } .pd__grid { grid-template-columns: 1fr; gap: 32px; } .shop-filter { top: 77px; } }
@media (max-width: 560px) { .pd-ticks { grid-template-columns: 1fr; } .pd-row { grid-template-columns: 1fr; gap: 4px; } }
@media (max-width: 480px) { .p-card__body { padding: 12px 12px 16px; } .p-card h3 { font-size: 16px; } }

/* ---------------- Contact, membership, partners, legal ---------------- */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ct-head { background: var(--paper); padding: 64px 0 40px; }
.ct-head .eyebrow { color: var(--slate); margin-bottom: 14px; }
.ct-head h1 { font-size: clamp(34px, 5vw, 64px); line-height: 1.06; letter-spacing: -0.02em; }
.ct-lede { margin-top: 20px; max-width: 520px; font-size: 16px; color: #52607A; }
.ct, .ms { background: var(--paper); padding: 0 0 96px; }
.ct__grid { display: grid; grid-template-columns: 5fr 7fr; gap: 56px; align-items: start; }
.ct-info h2 { font-size: 26px; }
.ct-info > p { margin-top: 12px; color: #52607A; font-size: 14.5px; max-width: 380px; }
.ct-info dl { margin: 28px 0; border-top: 1px solid var(--line); }
.ct-info dl div { display: grid; grid-template-columns: 130px 1fr; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.ct-info dt { font-size: 11px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; color: var(--slate); padding-top: 2px; }
.ct-info dd { margin: 0; }
.ct-info dd a { text-decoration: underline; text-underline-offset: 3px; }
.ct-form { background: var(--white); border: 1px solid var(--line); border-radius: 22px; padding: 32px; }
.ct-form h2 { font-size: 30px; }
.f-type, .f-radio { border: 0; margin: 0 0 20px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.f-type legend, .f-radio legend { width: 100%; margin-bottom: 10px; padding: 0; font-size: 11px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; color: var(--slate); }
.f-type label, .f-radio label { cursor: pointer; }
.f-type input, .f-radio input { position: absolute; opacity: 0; pointer-events: none; }
.f-type span, .f-radio span { display: inline-block; padding: 9px 16px; border: 1px solid var(--ink); border-radius: 999px; font-size: 13px; font-weight: 600; transition: background .15s, color .15s; }
.f-type input:checked + span, .f-radio input:checked + span { background: var(--ink); color: var(--white); }
.f-type input:focus-visible + span, .f-radio input:focus-visible + span { outline: 2px solid var(--slate); outline-offset: 2px; }
.f-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.f-grid[hidden] { display: none; }
.f-wide { grid-column: 1 / -1; }
.f-field { display: flex; flex-direction: column; gap: 6px; font-size: 12px; font-weight: 600; letter-spacing: .3px; color: var(--ink); }
.f-field input, .f-field select, .f-field textarea { width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--paper); font: 400 15px/1.4 -apple-system, "Helvetica Neue", Arial, sans-serif; color: var(--ink); }
.f-field input:focus, .f-field select:focus, .f-field textarea:focus { outline: 2px solid var(--slate); outline-offset: 1px; border-color: var(--slate); }
.f-field textarea { resize: vertical; }
.f-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.f-check { display: flex; gap: 10px; align-items: flex-start; margin: 4px 0 22px; font-size: 12.5px; line-height: 1.5; color: #52607A; cursor: pointer; }
.f-check input { margin-top: 3px; flex: 0 0 auto; }
.f-check a { text-decoration: underline; }
.f-actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.f-error { font-size: 13px; color: #9C0C48; }
.f-done { padding: 24px 0; }
.f-done p { margin: 12px 0 24px; color: #52607A; max-width: 420px; }
.f-done .f-demo { padding: 10px 14px; background: var(--mist-soft); border-radius: 10px; font-size: 12.5px; color: var(--ink); }
.ms__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }

.pt-search { display: block; max-width: 460px; margin-top: 28px; }
.pt-search input { width: 100%; padding: 14px 18px; border: 1px solid var(--ink); border-radius: 999px; background: var(--white); font: 400 15px/1 -apple-system, "Helvetica Neue", Arial, sans-serif; }
.pt-search input:focus { outline: 2px solid var(--slate); outline-offset: 2px; }
.pt { background: var(--paper); padding: 0 0 96px; }
.pt-filter { position: sticky; top: 77px; z-index: 10; background: rgba(245,245,241,.94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); padding: 14px 0; }
.pt-filter .wrap { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; }
.pt-filter button { flex: 0 0 auto; padding: 9px 18px; border: 1px solid var(--ink); border-radius: 999px; background: none; color: var(--ink); font: 600 12px/1 -apple-system, "Helvetica Neue", Arial, sans-serif; letter-spacing: 1px; text-transform: uppercase; cursor: pointer; }
.pt-filter button small { opacity: .55; margin-left: 4px; font-size: 11px; }
.pt-filter button[aria-pressed="true"] { background: var(--ink); color: var(--white); }
.pt-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.pt-card { display: flex; flex-direction: column; gap: 4px; padding: 26px; background: var(--white); border: 1px solid var(--line); border-radius: 18px; }
.pt-card[hidden] { display: none; }
.pt-card__region { font-size: 10.5px; letter-spacing: 1.6px; text-transform: uppercase; font-weight: 600; color: var(--slate-light); }
.pt-card h3 { margin-top: 6px; font-size: 21px; line-height: 1.2; }
.pt-card p { font-size: 13.5px; color: #52607A; }
.pt-card__cta { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: auto; padding-top: 22px; }
.pt-card__cta > a:not(.btn) { font-size: 12.5px; color: var(--slate); text-decoration: underline; text-underline-offset: 3px; }
.pt-empty { margin-top: 24px; color: #52607A; }
.pt-empty a { text-decoration: underline; }

.legal { background: var(--white); padding: 64px 0 96px; }
.legal__body { max-width: 760px; }
.legal h2 { margin: 36px 0 10px; font-size: 22px; }
.legal p, .legal li { font-size: 15px; color: #52607A; line-height: 1.7; }
.legal ul { padding-left: 20px; margin: 8px 0; }

@media (max-width: 1000px) { .pt-grid { grid-template-columns: repeat(2, 1fr); } .ct__grid, .ms__grid { grid-template-columns: 1fr; gap: 36px; } }
@media (max-width: 560px) { .pt-grid { grid-template-columns: 1fr; } .f-grid { grid-template-columns: 1fr; } .ct-form { padding: 22px; } .ct-info dl div { grid-template-columns: 1fr; gap: 4px; } }

/* 7 nav items: tighten the header below 1200px and drop the duplicate Find a Professional button */
@media (max-width: 1199px) {
  nav.primary { gap: 18px; margin-left: 24px; }
  nav.primary > .navitem > a { font-size: 11.5px; letter-spacing: .8px; }
  .nav-icons .member { display: none; }
}

.btn[hidden] { display: none; }

.pt-card__phone a { font-size: 13.5px; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.pt-card__links { display: flex; gap: 14px; flex-wrap: wrap; }
.pt-card__links a { font-size: 12.5px; color: var(--slate); text-decoration: underline; text-underline-offset: 3px; }

.pt-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 28px 0 20px; }
.pt-bar .shop-count { margin: 0; }
.pt-view { display: inline-flex; border: 1px solid var(--ink); border-radius: 999px; overflow: hidden; }
.pt-view button { padding: 8px 18px; border: 0; background: none; color: var(--ink); font: 600 12px/1 -apple-system, "Helvetica Neue", Arial, sans-serif; letter-spacing: 1px; text-transform: uppercase; cursor: pointer; }
.pt-view button[aria-pressed="true"] { background: var(--ink); color: var(--white); }
.pt-grid[hidden], .pt-map[hidden], .pt-maphint[hidden] { display: none; }
.pt-map { height: 560px; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; background: var(--mist-soft); }
.pt-maphint { margin-top: 12px; font-size: 12.5px; color: var(--slate); }
.pt-pin span { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--navy-deep); color: var(--white); font: 600 13px/1 -apple-system, "Helvetica Neue", Arial, sans-serif; border: 3px solid var(--white); box-shadow: 0 2px 8px rgba(10,20,36,.35); }
.pt-pop { padding: 4px 0; font-family: -apple-system, "Helvetica Neue", Arial, sans-serif; }
.pt-pop + .pt-pop { margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--line); }
.pt-pop b { display: block; font-family: Georgia, serif; font-weight: 400; font-size: 16px; }
.pt-pop span { display: block; margin-top: 2px; font-size: 12.5px; color: #52607A; }
.pt-pop div { display: flex; gap: 12px; margin-top: 8px; }
.pt-pop a { font-size: 12px; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; color: var(--ink); }
@media (max-width: 560px) { .pt-map { height: 420px; } }

.btn-soon { opacity: .6; cursor: default; pointer-events: none; }

/* ---------------- Contact page extras ---------------- */
.ct-hero { background: radial-gradient(120% 140% at 78% 20%, #16264A 0%, #0A1424 62%); color: var(--white); padding: 72px 0 64px; }
.ct-hero .eyebrow { color: var(--slate-light); margin-bottom: 14px; }
.ct-hero h1 { color: var(--white); font-size: clamp(36px, 5.4vw, 76px); line-height: 1.06; letter-spacing: -0.02em; }
.ct-hero .ct-lede { color: #C6D0E2; }
.ct { padding-top: 56px; scroll-margin-top: 90px; }
.ct-photo { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; object-position: center 40%; border-radius: 18px; margin-top: 28px; }
.ct-mapwrap { background: var(--mist-soft); padding: 0; }
.ct-map { width: 100%; height: 480px; background: var(--mist-soft); }
.ct-faq { background: var(--white); padding: 80px 0 96px; }
.ct-faq .diff-body { padding-left: 0; }
.ct-faq .diff-item summary { padding: 24px 0; }
.ct-faq .diff-item h3 { font-size: clamp(18px, 2vw, 24px); }
.ct-faq .diff-text a { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 900px) { .ct-map { height: 340px; } }

/* ---------------- About Us page (layout after azurio-template: tall hero, numbered sections, works grid, manifest, expertise list, journey list) ---------------- */
.ab-idx, .az-mono, .az-no, .az-tags, .az-mark, .az-links, .az-scroll, .ab-stat span, .az-job__meta, .az-more, .az-badge { font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; text-transform: uppercase; letter-spacing: .08em; }
.az-line { border: 0; border-top: 1px solid var(--ink); margin: 0; }
.az-hero { background: var(--paper); padding: 56px 0 0; }
.az-hero__title { font-size: clamp(36px, 6.2vw, 100px); line-height: 1.12; letter-spacing: -0.03em; padding-bottom: 40px; }
.az-badge { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 28px; padding: 9px 16px; border: 1px solid var(--ink); border-radius: 999px; font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--ink); }
.az-parallax { height: min(70vh, 56vw); background-size: 100% auto; background-position: center; background-repeat: no-repeat; background-color: #DCE3F0; background-attachment: fixed; }
@media (hover: none), (max-width: 900px) { .az-parallax { height: auto; aspect-ratio: 4253 / 2269; background-size: cover; background-attachment: scroll; } }
.az-hero__data { padding: 32px 0 64px; }
.az-mark { display: flex; align-items: center; gap: 10px; font-size: 12px; color: var(--slate); }
.az-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--slate); animation: slow-pulse 2.4s ease-in-out infinite; }
@keyframes slow-pulse { 50% { opacity: .35; } }
.az-hero__descr { max-width: 720px; font-family: Georgia, serif; font-size: clamp(19px, 1.8vw, 26px); line-height: 1.35; color: var(--ink); }
.az-hero__bottom { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 0; font-size: 12px; }
.az-links { display: flex; gap: 28px; list-style: none; margin: 0; padding: 0; }
.az-links a, .az-scroll { color: var(--ink); }
.az-links a:hover, .az-scroll:hover { text-decoration: underline; text-underline-offset: 4px; }

.az-sec { padding: 96px 0; background: var(--white); }
.az-sec:nth-of-type(even) { background: var(--paper); }
.az-title { display: flex; align-items: baseline; gap: 24px; margin-bottom: 48px; }
.az-no { font-size: clamp(14px, 1.4vw, 20px); color: var(--slate-light); }
.az-title h2 { font-size: clamp(34px, 5vw, 72px); line-height: 1.04; letter-spacing: -0.02em; }

.az-works { display: grid; grid-template-columns: 1fr 1fr; gap: 56px 32px; }
.az-work { display: block; }
.az-work:nth-child(even) { margin-top: 80px; }
.az-work__img { aspect-ratio: 4 / 3; border-radius: 18px; overflow: hidden; background: var(--white); border: 1px solid var(--line); }
.az-work__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.az-work:hover .az-work__img img { transform: scale(1.05); }
.az-work__meta { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; margin-top: 18px; }
.az-work__meta h3 { font-size: clamp(22px, 2.4vw, 32px); }
.az-tags { list-style: none; margin: 0; padding: 0; font-size: 11px; color: var(--slate); line-height: 1.7; }
.az-tags--right { text-align: right; }

.az-manifest__text { max-width: 1040px; font-family: Georgia, serif; font-size: clamp(24px, 3.2vw, 46px); line-height: 1.22; letter-spacing: -0.01em; }
.az-manifest__text--s { font-size: clamp(20px, 2.4vw, 32px); }
.hi { color: var(--ink); }
.lo { color: #8A97AD; }
.az-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; margin-top: 72px; }
.ab-stat { border-top: 1px solid var(--ink); padding-top: 22px; }
.ab-stat b { display: block; font-family: Georgia, serif; font-weight: 400; font-size: clamp(48px, 6vw, 88px); line-height: 1; letter-spacing: -0.02em; }
.ab-stat span { display: block; margin-top: 14px; font-size: 11px; color: var(--slate); }

.az-exp { padding: 44px 0 52px; border-top: 1px solid var(--ink); }
.az-exp__head { display: flex; align-items: baseline; gap: 24px; margin-bottom: 36px; }
.ab-idx { font-size: 12px; color: var(--slate-light); }
.az-exp__head h3 { font-size: clamp(30px, 4.4vw, 62px); line-height: 1.04; letter-spacing: -0.02em; }
.az-exp__body { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.az-exp__img { margin: 0; aspect-ratio: 1; max-width: 460px; border-radius: 18px; overflow: hidden; background: var(--white); border: 1px solid var(--line); }
.az-exp__img img { width: 100%; height: 100%; object-fit: cover; }
.az-exp__lead { font-family: Georgia, serif; font-size: clamp(20px, 2vw, 28px); line-height: 1.3; max-width: 520px; }
.az-exp .az-tags { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 24px; margin-top: 40px; max-width: 420px; }
.az-more { display: inline-block; margin-top: 32px; font-size: 12px; color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
.az-more i { font-style: normal; }

.az-jobs { margin-top: 64px; display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.az-job { display: flex; flex-direction: column; min-height: 260px; padding: 28px; background: var(--white); border: 1px solid var(--line); border-radius: 18px; transition: transform .25s ease, border-color .25s ease; }
a.az-job:hover { transform: translateY(-4px); border-color: var(--ink); }
.az-job__head { display: flex; gap: 18px; align-items: baseline; font-size: 12px; color: var(--slate-light); margin-bottom: 14px; }
.az-job h3 { flex: 1; font-size: clamp(24px, 3vw, 40px); line-height: 1.1; margin-bottom: 24px; }
.az-job__meta { display: flex; justify-content: space-between; gap: 16px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 11px; color: var(--slate); }
.az-job__meta b { font-weight: 500; color: var(--ink); }

.ab-close .ab-statement { max-width: 980px; font-family: Georgia, serif; font-size: clamp(22px, 2.6vw, 38px); line-height: 1.22; letter-spacing: -0.01em; color: var(--ink); }
.ab-journey { max-width: 820px; margin-top: 36px; font-size: clamp(18px, 1.7vw, 24px); line-height: 1.45; color: #52607A; }
.ab-statement .w { opacity: .22; transition: opacity .25s linear; }
.ab-statement .w.on { opacity: 1; }

.ab-close { background: var(--white); color: var(--ink); padding: 96px 0; }

.ab-gallery { background: var(--white); padding: 40px 0 56px; overflow: hidden; }
.ab-marquee { overflow: hidden; }
.ab-marquee__track { display: flex; gap: 16px; width: max-content; margin: 0; padding: 0; list-style: none; animation: ab-marquee 60s linear infinite; }
.ab-marquee:hover .ab-marquee__track { animation-play-state: paused; }
.ab-marquee__track li { flex: 0 0 auto; height: 320px; }
.ab-marquee__track img { height: 100%; width: auto; border-radius: 16px; display: block; }
@keyframes ab-marquee { to { transform: translateX(calc(-50% - 8px)); } }
@media (prefers-reduced-motion: reduce) { .ab-marquee { overflow-x: auto; } .ab-marquee__track { animation: none; } .ab-statement .w { opacity: 1; } .az-dot { animation: none; } }

@media (max-width: 1000px) {
    .az-exp__body { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 900px) {
  .az-sec { padding: 64px 0; }
  .az-works { grid-template-columns: 1fr; gap: 40px; }
  .az-work:nth-child(even) { margin-top: 0; }
  .az-stats { grid-template-columns: repeat(2, 1fr); row-gap: 36px; margin-top: 48px; }
  .az-job { min-height: 200px; }
  .az-jobs { grid-template-columns: 1fr; }
  .ab-marquee__track li { height: 220px; }
  .ab-close { padding: 64px 0; }
  .az-hero__bottom { flex-direction: column; align-items: flex-start; }
}
