/* ==========================================================================
   massagechair.it.com — site stylesheet
   Brand: Blue Green (#0D98BA) + Turquoise Surf (#00C5CD)
   Mobile-first. No external fonts or libraries.
   ========================================================================== */

:root {
  /* Brand */
  --blue-green: #0D98BA;          /* primary brand fill, large type, icons */
  --blue-green-ink: #0A7A96;      /* AA-contrast variant for buttons/links on white */
  --blue-green-deep: #08677F;     /* hover / pressed */
  --surf: #00C5CD;                /* Turquoise Surf: secondary accent */
  --surf-soft: #7FE2E6;

  /* Neutrals */
  --white: #FFFFFF;
  --mist: #EEF9FA;                /* very light turquoise */
  --mist-2: #DDF2F4;
  --stone: #F4F6F7;               /* soft neutral gray */
  --line: #D8E5E8;
  --ink: #14262B;                 /* charcoal */
  --ink-2: #4A5D62;
  --night: #0B2E36;               /* deep cool tone for footer */
  --night-2: #0F3A44;

  /* Type */
  --font-sans: ui-sans-serif, "Segoe UI Variable Text", "Segoe UI", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  --font-display: "Avenir Next", "Segoe UI Variable Display", "SF Pro Display", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;

  /* Shape & depth */
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 26px;
  --r-xl: 36px;
  --shadow-sm: 0 1px 2px rgba(11, 46, 54, .06), 0 2px 8px rgba(11, 46, 54, .05);
  --shadow-md: 0 10px 30px -12px rgba(11, 46, 54, .22);
  --shadow-lg: 0 30px 60px -28px rgba(11, 46, 54, .35);

  --wrap: 1200px;
  --gutter: 20px;
  --header-h: 68px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, video, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--blue-green-ink); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--blue-green-deep); }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.12; letter-spacing: -.02em; margin: 0 0 .5em; color: var(--ink); font-weight: 650; }
h1 { font-size: clamp(2.25rem, 1.4rem + 3.6vw, 4.1rem); letter-spacing: -.035em; font-weight: 700; }
h2 { font-size: clamp(1.75rem, 1.3rem + 1.8vw, 2.6rem); letter-spacing: -.028em; }
h3 { font-size: 1.2rem; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }

:focus-visible { outline: 3px solid var(--surf); outline-offset: 3px; border-radius: 6px; }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--night); color: var(--white); padding: 10px 16px; border-radius: var(--r-sm);
  text-decoration: none; font-weight: 600; transition: top .2s var(--ease);
}
.skip-link:focus { top: 12px; color: var(--white); }

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

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
@media (min-width: 768px) { :root { --gutter: 32px; } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 48px; padding: .75em 1.4em; border-radius: 999px;
  font-weight: 600; font-size: .98rem; letter-spacing: .005em; text-decoration: none;
  border: 1.5px solid transparent; cursor: pointer;
  transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease);
}
.btn svg { width: 18px; height: 18px; flex: none; transition: transform .2s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn-primary { background: var(--blue-green-ink); color: var(--white); box-shadow: 0 8px 20px -10px rgba(10, 122, 150, .7); }
.btn-primary:hover { background: var(--blue-green-deep); color: var(--white); transform: translateY(-1px); }
.btn-surf { background: var(--surf); color: var(--night); }
.btn-surf:hover { background: var(--surf-soft); color: var(--night); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--blue-green); color: var(--blue-green-deep); background: var(--mist); }
.btn-ghost-light { background: transparent; color: var(--white); border-color: rgba(255,255,255,.4); }
.btn-ghost-light:hover { color: var(--white); border-color: var(--surf); background: rgba(0,197,205,.12); }
.btn-sm { min-height: 40px; padding: .5em 1.05em; font-size: .9rem; }

/* ---------- Utility strip ---------- */
.utility {
  background: var(--night); color: #CFE9EC; font-size: .82rem;
}
.utility .wrap { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 36px; }
.utility a { color: var(--surf-soft); text-decoration: none; }
.utility a:hover { color: var(--white); text-decoration: underline; }
.utility-addr { display: none; }
.utility-tag { display: none !important; }
@media (min-width: 760px) { .utility-tag { display: inline-flex !important; } }
@media (max-width: 759px) { .utility .wrap { justify-content: center; } }
@media (min-width: 640px) { .utility-addr { display: inline; } }
.utility-tag { display: inline-flex; align-items: center; gap: 8px; }
.utility-tag::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--surf); box-shadow: 0 0 0 3px rgba(0,197,205,.2); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .88);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid rgba(216, 229, 232, .8);
}
.site-header::after {
  /* thin Blue Green → Turquoise Surf rule */
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px;
  background: linear-gradient(90deg, var(--blue-green) 0%, var(--surf) 55%, transparent 100%);
  opacity: .9;
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: var(--header-h); }

.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); flex: none; }
.brand:hover { color: var(--ink); }
.brand-mark { width: 38px; height: 38px; flex: none; }
.brand-word { font-family: var(--font-display); font-weight: 700; font-size: 1.12rem; letter-spacing: -.03em; line-height: 1; }
.brand-word span { color: var(--blue-green-ink); font-weight: 600; }

.nav-toggle {
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 44px; padding: 0 14px 0 16px; border-radius: 999px;
  background: var(--mist); border: 1px solid var(--mist-2); color: var(--ink);
  font-weight: 600; font-size: .9rem; cursor: pointer;
}
.nav-toggle-bars { position: relative; width: 18px; height: 12px; }
.nav-toggle-bars span { position: absolute; left: 0; right: 0; height: 2px; border-radius: 2px; background: var(--blue-green-ink); transition: transform .25s var(--ease), opacity .2s var(--ease), top .25s var(--ease); }
.nav-toggle-bars span:nth-child(1) { top: 0; }
.nav-toggle-bars span:nth-child(2) { top: 5px; }
.nav-toggle-bars span:nth-child(3) { top: 10px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars span:nth-child(1) { top: 5px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars span:nth-child(3) { top: 5px; transform: rotate(-45deg); }

/* Mobile nav panel */
.site-nav {
  position: absolute; left: 0; right: 0; top: 100%;
  background: var(--white);
  border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  padding: 8px var(--gutter) 24px;
  display: none;
  max-height: calc(100vh - var(--header-h));
  overflow-y: auto;
}
.site-nav.is-open { display: block; animation: navIn .22s var(--ease); }
@keyframes navIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.nav-list { list-style: none; }
.nav-list li + li { border-top: 1px solid var(--stone); }
.nav-link {
  display: flex; align-items: center; justify-content: space-between;
  padding: 15px 4px; font-weight: 600; font-size: 1.05rem; color: var(--ink); text-decoration: none;
}
.nav-link::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: transparent; border: 1.5px solid var(--line); transition: all .2s var(--ease); }
.nav-link:hover { color: var(--blue-green-deep); }
.nav-link[aria-current="page"] { color: var(--blue-green-ink); }
.nav-link[aria-current="page"]::after { background: var(--surf); border-color: var(--surf); box-shadow: 0 0 0 4px rgba(0,197,205,.18); }
.nav-cta { margin-top: 16px; width: 100%; }
.header-cta { display: none; }

@media (min-width: 1140px) {
  .nav-toggle { display: none; }
  .site-nav {
    position: static; display: block; padding: 0; background: none; border: 0; box-shadow: none; max-height: none; overflow: visible;
  }
  .nav-list { display: flex; align-items: center; gap: 2px; padding: 5px; background: var(--stone); border-radius: 999px; border: 1px solid #EAF0F1; }
  .nav-list li + li { border-top: 0; }
  .nav-link {
    position: relative; padding: 8px 14px; font-size: .9rem; font-weight: 550; border-radius: 999px; color: var(--ink-2); white-space: nowrap;
    transition: background-color .2s var(--ease), color .2s var(--ease);
  }
  .nav-link::after { display: none; }
  .nav-link:hover { background: var(--white); color: var(--ink); }
  .nav-link[aria-current="page"] { background: var(--white); color: var(--blue-green-ink); box-shadow: var(--shadow-sm); }
  .nav-link[aria-current="page"]::before {
    content: ""; position: absolute; left: 50%; bottom: 3px; width: 16px; height: 3px; margin-left: -8px; border-radius: 3px;
    background: linear-gradient(90deg, var(--blue-green), var(--surf));
  }
  .nav-cta { display: none; }
  .header-cta { display: inline-flex; }
}

/* ---------- Section scaffolding ---------- */
.section { padding-block: 72px; }
@media (min-width: 900px) { .section { padding-block: 104px; } }
.section-tint { background: var(--mist); }
.section-stone { background: var(--stone); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--blue-green-ink);
  margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; border-radius: 2px; background: var(--surf); }
.section-head { max-width: 680px; margin-bottom: 40px; }
.section-head p { color: var(--ink-2); font-size: 1.06rem; }
.section-head-row { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 20px 40px; margin-bottom: 40px; }
.section-head-row .section-head { margin-bottom: 0; }
.lede { font-size: 1.12rem; color: var(--ink-2); max-width: 58ch; }

/* ---------- Hero ---------- */
.hero { position: relative; padding-block: 40px 64px; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 100%;
  background:
    radial-gradient(900px 480px at 88% 10%, rgba(0,197,205,.12), transparent 60%),
    linear-gradient(180deg, var(--mist) 0%, var(--white) 78%);
  z-index: -1;
}
.hero-grid { display: grid; gap: 44px; align-items: center; }
@media (min-width: 960px) {
  .hero { padding-block: 64px 72px; }
  .hero-grid { grid-template-columns: 1.02fr .98fr; gap: 56px; }
}
.hero h1 { margin-bottom: .4em; }
.hero h1 em { font-style: normal; color: var(--blue-green); position: relative; white-space: nowrap; }
.hero h1 em::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: .02em; height: .13em; border-radius: 1em;
  background: var(--surf); opacity: .35; z-index: -1;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-notes { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 34px; padding-top: 24px; border-top: 1px solid var(--line); list-style: none; font-size: .92rem; color: var(--ink-2); }
.hero-notes li { display: inline-flex; align-items: center; gap: 8px; }
.hero-notes svg { width: 18px; height: 18px; color: var(--blue-green); }

.hero-visual { position: relative; }
.hero-stage {
  position: relative; aspect-ratio: 1 / 1.02; border-radius: var(--r-xl);
  background:
    radial-gradient(circle at 50% 58%, var(--white) 0 30%, transparent 30.2%),
    radial-gradient(circle at 50% 58%, var(--mist) 0 44%, transparent 44.2%),
    radial-gradient(circle at 50% 58%, #E6F6F8 0 58%, transparent 58.2%),
    var(--mist-2);
  overflow: hidden;
  box-shadow: inset 0 0 0 1px rgba(13,152,186,.12);
}
.hero-stage img {
  position: absolute; left: 50%; bottom: 7%; width: 74%; transform: translateX(-50%);
  filter: saturate(1.02) contrast(1.02);
}
.hero-stage::after {
  content: ""; position: absolute; left: 18%; right: 18%; bottom: 6.5%; height: 18px; border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(11,46,54,.22), transparent 70%);
  z-index: 0;
}
.hero-tag {
  position: absolute; display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px 8px 10px; border-radius: 999px; background: var(--white); box-shadow: var(--shadow-md);
  font-size: .82rem; font-weight: 600; color: var(--ink); z-index: 2;
}
.hero-tag i { width: 10px; height: 10px; border-radius: 50%; background: var(--surf); box-shadow: 0 0 0 4px rgba(0,197,205,.2); }
.hero-tag.t1 { top: 8%; left: 6%; }
.hero-tag.t2 { top: 38%; right: 5%; }
.hero-inset {
  position: absolute; left: -4px; bottom: -22px; width: 44%; max-width: 230px;
  border-radius: var(--r-md); overflow: hidden; border: 5px solid var(--white); box-shadow: var(--shadow-lg); z-index: 3;
}
.hero-inset img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
@media (min-width: 960px) { .hero-inset { left: -34px; bottom: 36px; } }

/* ---------- Product cards ---------- */
.grid-products { display: grid; gap: 22px; grid-template-columns: 1fr; }
@media (min-width: 620px) { .grid-products { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .grid-products { grid-template-columns: repeat(3, 1fr); gap: 28px; } }

.product-card {
  position: relative; display: flex; flex-direction: column;
  background: var(--white); border-radius: var(--r-lg); border: 1px solid var(--line);
  overflow: hidden; transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: rgba(13,152,186,.35); }
.product-media { position: relative; aspect-ratio: 4 / 3.4; background: var(--mist); overflow: hidden; }
.product-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.product-media.is-cutout { background: linear-gradient(160deg, var(--mist) 0%, var(--mist-2) 100%); }
.product-media.is-cutout img { object-fit: contain; padding: 18px 12% 10px; }
.product-card:hover .product-media img { transform: scale(1.035); }
.product-cat {
  position: absolute; top: 14px; left: 14px; display: flex; gap: 6px; flex-wrap: wrap;
}
.pill {
  display: inline-flex; align-items: center; padding: 5px 11px; border-radius: 999px;
  font-size: .74rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
  background: rgba(255,255,255,.92); color: var(--blue-green-deep); border: 1px solid rgba(13,152,186,.2);
}
.product-body { display: flex; flex-direction: column; flex: 1; padding: 22px 22px 24px; }
.product-body h3 { font-size: 1.22rem; margin-bottom: .4em; }
.product-body p { color: var(--ink-2); font-size: .96rem; }
.seen { list-style: none; display: grid; gap: 7px; margin: 4px 0 18px; font-size: .9rem; color: var(--ink); }
.seen-label { font-size: .74rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); margin-bottom: 8px; }
.seen li { display: flex; gap: 10px; align-items: flex-start; }
.seen li::before { content: ""; flex: none; width: 7px; height: 7px; margin-top: .6em; border-radius: 2px; background: var(--surf); transform: rotate(45deg); }
.spec-status { display: flex; align-items: center; gap: 8px; font-size: .82rem; color: var(--ink-2); padding: 10px 12px; border-radius: var(--r-sm); background: var(--stone); margin-bottom: 18px; }
.spec-status svg { width: 16px; height: 16px; color: var(--blue-green); flex: none; }
.product-actions { margin-top: auto; display: flex; gap: 10px; flex-wrap: wrap; }
.product-actions .btn { flex: 1 1 auto; }

/* ---------- Category tiles ---------- */
.grid-styles { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 560px) { .grid-styles { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .grid-styles { grid-template-columns: repeat(4, 1fr); } }
.style-tile {
  position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 300px;
  border-radius: var(--r-lg); overflow: hidden; text-decoration: none; color: var(--white); isolation: isolate;
  background: var(--night);
}
.style-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .6s var(--ease); }
.style-tile.is-cutout { background: linear-gradient(170deg, var(--mist) 0%, var(--mist-2) 100%); color: var(--ink); }
.style-tile.is-cutout img { object-fit: contain; padding: 18px 16% 120px; }
.style-tile::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 40%, rgba(11,46,54,.86) 100%); }
.style-tile.is-cutout::after { background: linear-gradient(180deg, transparent 55%, rgba(255,255,255,.9) 100%); }
.style-tile:hover img { transform: scale(1.04); }
.style-tile-body { padding: 22px; }
.style-tile h3 { color: inherit; margin-bottom: .2em; }
.style-tile p { margin: 0; font-size: .92rem; opacity: .9; }
.style-tile .count { display: inline-block; margin-top: 12px; font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--surf-soft); }
.style-tile.is-cutout .count { color: var(--blue-green-ink); }

/* ---------- Feature glossary ---------- */
.feature-note {
  display: flex; gap: 14px; align-items: flex-start; padding: 18px 20px; border-radius: var(--r-md);
  background: var(--white); border: 1px solid var(--mist-2); margin-bottom: 32px; max-width: 820px; font-size: .95rem; color: var(--ink-2);
}
.feature-note svg { width: 22px; height: 22px; color: var(--blue-green); flex: none; margin-top: 2px; }
.feature-note p { margin: 0; }
.grid-features { display: grid; gap: 1px; grid-template-columns: 1fr; background: var(--mist-2); border: 1px solid var(--mist-2); border-radius: var(--r-lg); overflow: hidden; }
@media (min-width: 600px) { .grid-features { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .grid-features { grid-template-columns: repeat(4, 1fr); } }
.feature { background: var(--white); padding: 28px 24px; transition: background-color .25s var(--ease); }
.feature:hover { background: #FBFEFE; }
.feature-icon { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--mist); color: var(--blue-green-ink); margin-bottom: 18px; }
.feature-icon svg { width: 24px; height: 24px; }
.feature h3 { font-size: 1.05rem; margin-bottom: .45em; }
.feature p { font-size: .92rem; color: var(--ink-2); margin: 0; }
.feature .ask { display: block; margin-top: 12px; font-size: .8rem; font-weight: 600; color: var(--blue-green-ink); }

/* ---------- Steps ---------- */
.split { display: grid; gap: 40px; align-items: start; }
@media (min-width: 960px) { .split { grid-template-columns: .9fr 1.1fr; gap: 72px; } .split-sticky { position: sticky; top: calc(var(--header-h) + 32px); } }
.steps { list-style: none; counter-reset: step; display: grid; gap: 14px; }
.step {
  counter-increment: step; position: relative; display: grid; grid-template-columns: 52px 1fr; gap: 18px;
  padding: 22px 22px 22px 18px; border-radius: var(--r-md); background: var(--white); border: 1px solid var(--line);
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.step:hover { border-color: rgba(13,152,186,.4); box-shadow: var(--shadow-md); }
.step::before {
  content: counter(step, decimal-leading-zero); display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px;
  background: var(--blue-green); color: var(--white); font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; letter-spacing: -.01em;
}
.step:nth-child(even)::before { background: var(--surf); color: var(--night); }
.step h3 { margin-bottom: .3em; font-size: 1.1rem; }
.step p { margin: 0; color: var(--ink-2); font-size: .96rem; }
.split-media { margin-top: 28px; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-md); }
.split-media img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }

/* ---------- Gallery & media placeholders ---------- */
.media-group + .media-group { margin-top: 56px; }
.media-group-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 24px; margin-bottom: 20px; }
.media-group-head h3 { margin: 0; font-size: 1.3rem; }
.media-group-head p { margin: 0; color: var(--ink-2); font-size: .94rem; }
.grid-gallery { display: grid; gap: 14px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 900px) { .grid-gallery { grid-template-columns: repeat(4, 1fr); gap: 18px; } }
.shot { margin: 0; position: relative; border-radius: var(--r-md); overflow: hidden; background: var(--mist); }
.shot img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 1 / 1; transition: transform .6s var(--ease); }
.shot:hover img { transform: scale(1.03); }
.shot.is-cutout img { object-fit: contain; padding: 8%; }
.shot.wide { grid-column: span 2; }
.shot.wide img { aspect-ratio: 2 / 1; }
@media (max-width: 899px) { .shot.wide img { aspect-ratio: 3 / 2; } }
.shot figcaption {
  position: absolute; left: 10px; bottom: 10px; right: 10px; width: fit-content; max-width: calc(100% - 20px);
  padding: 5px 11px; border-radius: 999px; background: rgba(255,255,255,.92); font-size: .78rem; font-weight: 600; color: var(--ink);
}

.ph {
  margin: 0; position: relative; display: grid; place-items: center; text-align: center;
  aspect-ratio: 1 / 1; padding: 18px; border-radius: var(--r-md);
  background:
    repeating-linear-gradient(135deg, rgba(13,152,186,.045) 0 12px, transparent 12px 24px),
    var(--mist);
  border: 1.5px dashed rgba(13,152,186,.45); color: var(--ink-2);
}
.ph.wide { grid-column: span 2; aspect-ratio: 2 / 1; }
@media (max-width: 899px) { .ph.wide { aspect-ratio: 3 / 2; } }
.ph-inner { display: grid; justify-items: center; gap: 8px; max-width: 220px; }
.ph svg { width: 30px; height: 30px; color: var(--blue-green); }
.ph strong { font-size: .92rem; color: var(--ink); font-weight: 650; line-height: 1.3; }
.ph span { font-size: .8rem; line-height: 1.4; }

.grid-videos { display: grid; gap: 18px; grid-template-columns: 1fr; }
@media (min-width: 720px) { .grid-videos { grid-template-columns: repeat(3, 1fr); } }
.video-slot { margin: 0; }
.video-slot .ph { aspect-ratio: 16 / 10; }
.video-slot video { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--r-md); background: var(--night); }
.video-slot figcaption { padding: 12px 4px 0; }
.video-slot figcaption strong { display: block; font-size: 1rem; }
.video-slot figcaption span { font-size: .9rem; color: var(--ink-2); }
.play-ring { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--white); box-shadow: var(--shadow-md); }
.play-ring svg { width: 22px; height: 22px; margin-left: 3px; color: var(--blue-green-ink); }

/* ---------- CTA band ---------- */
.cta-band { padding-block: 72px 88px; }
@media (min-width: 900px) { .cta-band { padding-block: 96px 104px; } }
.cta-card {
  position: relative; overflow: hidden; border-radius: var(--r-xl); padding: 44px 26px;
  background: var(--blue-green-ink); color: var(--white); isolation: isolate;
}
.cta-card::before {
  content: ""; position: absolute; right: -120px; top: -140px; width: 420px; height: 420px; border-radius: 50%;
  border: 60px solid rgba(0,197,205,.45); z-index: -1;
}
.cta-card::after {
  content: ""; position: absolute; right: 60px; bottom: -160px; width: 260px; height: 260px; border-radius: 50%;
  background: rgba(0,197,205,.35); z-index: -1;
}
.cta-card h2 { color: var(--white); max-width: 18ch; }
.cta-card p { color: #DDF4F6; max-width: 52ch; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
@media (min-width: 900px) { .cta-card { padding: 64px 64px; } }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { position: relative; padding-block: 48px 40px; background: linear-gradient(180deg, var(--mist) 0%, var(--white) 100%); overflow: hidden; }
.page-hero::after {
  content: ""; position: absolute; right: -80px; top: -80px; width: 320px; height: 320px; border-radius: 50%;
  border: 44px solid rgba(0,197,205,.14); pointer-events: none;
}
@media (min-width: 900px) { .page-hero { padding-block: 72px 56px; } }
.page-hero h1 { font-size: clamp(2.1rem, 1.4rem + 2.6vw, 3.4rem); max-width: 20ch; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; font-size: .86rem; color: var(--ink-2); margin-bottom: 18px; }
.crumbs li + li::before { content: "/"; margin-right: 8px; color: var(--surf); }
.crumbs a { color: var(--ink-2); text-decoration: none; }
.crumbs a:hover { color: var(--blue-green-deep); text-decoration: underline; }
.page-meta { display: inline-flex; gap: 8px; align-items: center; margin-top: 8px; padding: 6px 12px; border-radius: 999px; background: var(--white); border: 1px solid var(--mist-2); font-size: .84rem; color: var(--ink-2); }

/* ---------- Chairs page: filters ---------- */
.toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 28px; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filter {
  min-height: 42px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--white);
  font-weight: 600; font-size: .9rem; color: var(--ink-2); cursor: pointer; transition: all .2s var(--ease);
}
.filter:hover { border-color: var(--blue-green); color: var(--ink); }
.filter[aria-pressed="true"] { background: var(--night); border-color: var(--night); color: var(--white); }
.filter[aria-pressed="true"] span { color: var(--surf); }
.filter span { margin-left: 6px; font-weight: 700; color: var(--blue-green-ink); }
.result-count { font-size: .9rem; color: var(--ink-2); margin: 0; }
.product-card[hidden] { display: none; }

.guide-grid { display: grid; gap: 18px; grid-template-columns: 1fr; }
@media (min-width: 760px) { .guide-grid { grid-template-columns: repeat(3, 1fr); } }
.guide-card { padding: 26px; border-radius: var(--r-lg); background: var(--white); border: 1px solid var(--mist-2); }
.guide-card h3 { font-size: 1.1rem; }
.guide-card p { color: var(--ink-2); font-size: .95rem; margin: 0; }
.guide-card .k { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; background: var(--mist); color: var(--blue-green-ink); margin-bottom: 14px; }
.guide-card .k svg { width: 20px; height: 20px; }

/* ---------- Details dialog ---------- */
.chair-dialog {
  width: min(920px, calc(100% - 24px)); max-height: calc(100vh - 24px); padding: 0; border: 0; border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg); color: var(--ink);
}
.chair-dialog::backdrop { background: rgba(11,46,54,.55); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
.chair-dialog[open] { animation: dlgIn .25s var(--ease); }
@keyframes dlgIn { from { opacity: 0; transform: translateY(10px) scale(.99); } to { opacity: 1; transform: none; } }
.dialog-grid { display: grid; }
@media (min-width: 760px) { .dialog-grid { grid-template-columns: 1fr 1fr; } }
.dialog-media { background: var(--mist); min-height: 260px; display: grid; place-items: center; }
.dialog-media img { width: 100%; height: 100%; object-fit: cover; max-height: 520px; }
.dialog-media.is-cutout img { object-fit: contain; padding: 24px; }
.dialog-body { padding: 28px 26px 30px; position: relative; }
.dialog-body h2 { font-size: 1.7rem; margin-top: 10px; }
.dialog-body p { color: var(--ink-2); }
.dialog-close {
  position: absolute; top: 14px; right: 14px; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line);
  background: var(--white); display: grid; place-items: center; cursor: pointer; z-index: 2;
}
.dialog-close:hover { border-color: var(--blue-green); background: var(--mist); }
.dialog-close svg { width: 18px; height: 18px; }
.dialog-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; gap: 28px; }
@media (min-width: 960px) { .contact-grid { grid-template-columns: .8fr 1.2fr; gap: 48px; align-items: start; } }
.info-card { border-radius: var(--r-lg); padding: 28px; background: var(--night); color: #D5EDEF; position: relative; overflow: hidden; isolation: isolate; }
.info-card::after { content: ""; position: absolute; right: -70px; bottom: -70px; width: 220px; height: 220px; border-radius: 50%; border: 36px solid rgba(0,197,205,.22); z-index: -1; }
.info-card h2 { color: var(--white); font-size: 1.5rem; }
.info-list { list-style: none; display: grid; gap: 20px; margin: 22px 0 24px; }
.info-list li { display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: start; }
.info-list .ic { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: rgba(0,197,205,.14); color: var(--surf); }
.info-list .ic svg { width: 20px; height: 20px; }
.info-list small { display: block; font-size: .74rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--surf-soft); margin-bottom: 2px; }
.info-list a, .info-list address { color: var(--white); font-style: normal; font-size: 1.02rem; word-break: break-word; }
.info-list a:hover { color: var(--surf-soft); }
.info-card p { font-size: .92rem; margin: 0; }

.form-card { border-radius: var(--r-lg); padding: 28px 22px; background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow-md); }
@media (min-width: 640px) { .form-card { padding: 36px; } }
.form-grid { display: grid; gap: 18px; }
@media (min-width: 640px) { .form-grid { grid-template-columns: 1fr 1fr; } .field-full { grid-column: 1 / -1; } }
.field label { display: block; font-weight: 600; font-size: .92rem; margin-bottom: 7px; }
.field .opt { font-weight: 500; color: var(--ink-2); font-size: .84rem; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 14px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--white);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.field textarea { min-height: 150px; resize: vertical; }
.field select { appearance: none; -webkit-appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--blue-green-ink) 50%), linear-gradient(135deg, var(--blue-green-ink) 50%, transparent 50%); background-repeat: no-repeat; background-position: calc(100% - 22px) 50%, calc(100% - 16px) 50%; background-size: 6px 6px, 6px 6px; padding-right: 42px; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: #BCD3D8; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue-green); box-shadow: 0 0 0 4px rgba(0,197,205,.2); }
.field [aria-invalid="true"] { border-color: #B42318; }
.field-error { display: block; min-height: 1.2em; margin-top: 6px; font-size: .84rem; color: #B42318; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: 8px; }
.form-foot p { margin: 0; font-size: .86rem; color: var(--ink-2); flex: 1 1 260px; }
.form-status { margin-top: 18px; padding: 14px 16px; border-radius: 12px; background: var(--mist); border: 1px solid var(--mist-2); font-size: .94rem; }
.form-status:empty { display: none; }

/* ---------- Legal pages ---------- */
.legal { display: grid; gap: 36px; padding-block: 48px 88px; }
@media (min-width: 1000px) { .legal { grid-template-columns: 260px 1fr; gap: 64px; padding-block: 64px 104px; } }
.toc { align-self: start; }
@media (min-width: 1000px) { .toc { position: sticky; top: calc(var(--header-h) + 28px); } }
.toc-box { border-radius: var(--r-md); border: 1px solid var(--line); background: var(--stone); padding: 20px; }
.toc-title { font-size: .76rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); margin-bottom: 10px; }
.toc ol { list-style: none; display: grid; gap: 2px; counter-reset: toc; }
.toc li { counter-increment: toc; }
.toc a { display: flex; gap: 10px; padding: 7px 8px; border-radius: 8px; font-size: .9rem; color: var(--ink); text-decoration: none; line-height: 1.35; }
.toc li a::before { content: counter(toc, decimal-leading-zero); color: var(--blue-green-ink); font-weight: 700; font-size: .78rem; padding-top: 2px; }
.toc a:hover { background: var(--white); color: var(--blue-green-deep); }
.toc-links { margin-top: 14px; font-size: .86rem; color: var(--ink-2); }
.toc-links a { display: block; padding: 4px 0; }

.prose { max-width: 760px; }
.prose h2 { font-size: clamp(1.35rem, 1.1rem + .8vw, 1.7rem); margin-top: 2.2em; padding-top: .2em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 1.1rem; margin-top: 1.6em; }
.prose p, .prose li { color: #2C3F44; }
.prose ul, .prose ol { padding-left: 1.3em; margin-bottom: 1em; }
.prose li { margin-bottom: .45em; }
.prose li::marker { color: var(--blue-green); }
.prose strong { color: var(--ink); }
.summary-box {
  border-radius: var(--r-md); padding: 22px 24px; background: var(--mist); border-left: 4px solid var(--surf); margin-bottom: 8px;
}
.summary-box h2 { margin-top: 0 !important; font-size: 1.15rem !important; }
.summary-box ul { margin-bottom: 0; }
.article-num { display: block; font-size: .76rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--blue-green-ink); margin-bottom: 6px; font-family: var(--font-sans); }
.table-wrap { overflow-x: auto; margin: 1em 0 1.4em; border-radius: var(--r-md); border: 1px solid var(--line); }
table { width: 100%; border-collapse: collapse; font-size: .93rem; min-width: 520px; }
th, td { text-align: left; padding: 13px 16px; vertical-align: top; border-bottom: 1px solid var(--line); }
th { background: var(--mist); font-weight: 650; color: var(--ink); }
tr:last-child td { border-bottom: 0; }
.status-chip { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: .78rem; font-weight: 700; background: var(--stone); color: var(--ink-2); white-space: nowrap; }
.status-chip.on { background: rgba(0,197,205,.16); color: var(--blue-green-deep); }
.contact-inline { margin-top: 12px; padding: 20px 22px; border-radius: var(--r-md); border: 1px solid var(--line); }
.contact-inline address { font-style: normal; }

/* ---------- 404 ---------- */
.notfound { padding-block: 72px 104px; text-align: center; }
.notfound-code { font-family: var(--font-display); font-weight: 800; font-size: clamp(5rem, 3rem + 10vw, 9rem); line-height: 1; letter-spacing: -.05em; color: var(--blue-green); }
.notfound-code span { color: var(--surf); }
.notfound p { color: var(--ink-2); max-width: 46ch; margin-inline: auto; }
.notfound .hero-actions { justify-content: center; }

/* ---------- Footer ---------- */
.site-footer { position: relative; background: var(--night); color: #B9D6DA; overflow: hidden; isolation: isolate; }
.site-footer::before {
  /* Blue Green → Turquoise Surf top edge */
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--blue-green), var(--surf));
}
.site-footer::after {
  content: ""; position: absolute; left: -160px; bottom: -220px; width: 520px; height: 520px; border-radius: 50%;
  border: 80px solid rgba(13,152,186,.12); z-index: -1;
}
.footer-top { display: grid; gap: 40px; padding-block: 64px 40px; }
@media (min-width: 900px) { .footer-top { grid-template-columns: 1.3fr 1fr 1fr; gap: 56px; padding-block: 80px 48px; } }
.footer-brand .brand { color: var(--white); }
.footer-brand .brand-word span { color: var(--surf); }
.footer-brand p { margin-top: 18px; max-width: 42ch; font-size: .95rem; }
.footer-h { font-size: .76rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--surf); margin-bottom: 16px; font-family: var(--font-sans); }
.footer-links { list-style: none; display: grid; gap: 4px; }
.footer-links a { display: inline-block; padding: 5px 0; color: #DCEEF0; text-decoration: none; font-size: .95rem; }
.footer-links a:hover { color: var(--surf); text-decoration: underline; }
.footer-contact { font-style: normal; display: grid; gap: 14px; font-size: .95rem; }
.footer-contact a { color: var(--white); word-break: break-word; }
.footer-contact a:hover { color: var(--surf); }
.footer-contact small { display: block; font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: #8FB6BC; margin-bottom: 2px; }
.footer-explore { margin-top: 22px; }
.footer-wordmark {
  font-family: var(--font-display); font-weight: 800; letter-spacing: -.05em; line-height: .85;
  font-size: clamp(3rem, 1rem + 9vw, 8.5rem); color: transparent; -webkit-text-stroke: 1px rgba(0,197,205,.35);
  user-select: none; white-space: nowrap; overflow: hidden; padding-bottom: 8px;
}
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; padding-block: 22px 28px; border-top: 1px solid rgba(255,255,255,.1); font-size: .86rem; color: #8FB6BC; }
.footer-bottom nav ul { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 18px; }
.footer-bottom a { color: #B9D6DA; text-decoration: none; }
.footer-bottom a:hover { color: var(--surf); text-decoration: underline; }

/* ---------- Reveal (subtle) ---------- */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
.page-meta svg { width: 16px; height: 16px; color: var(--blue-green); flex: none; }
.toc-links a::before { content: none; }
