:root {
  --ink: #10222d;
  --ink-2: #1b3340;
  --paper: #f7f5ef;
  --white: #ffffff;
  --mist: #e7ece9;
  --line: rgba(16, 34, 45, .16);
  --aqua: #7dd4c8;
  --aqua-strong: #1b887e;
  --copper: #dd8a4a;
  --sand: #e8d8bd;
  --danger: #a33b34;
  --success: #16735f;
  --container: min(1180px, calc(100% - 40px));
  --radius: 18px;
  --shadow: 0 24px 70px rgba(16, 34, 45, .12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: Inter, "Segoe UI", Arial, sans-serif; line-height: 1.65; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
.container { width: var(--container); margin-inline: auto; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; z-index: 1000; top: 12px; left: 12px; padding: 10px 14px; background: var(--white); color: var(--ink); transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }

h1, h2, h3 { margin: 0 0 .6em; font-family: Georgia, "Times New Roman", serif; font-weight: 500; line-height: 1.05; letter-spacing: -.025em; }
h1 { font-size: clamp(3.1rem, 6.7vw, 6.5rem); }
h2 { font-size: clamp(2.3rem, 4.3vw, 4.5rem); }
h3 { font-size: 1.45rem; }
p { margin: 0 0 1.2em; }
.eyebrow { margin: 0 0 18px; color: var(--aqua-strong); font-size: .76rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.eyebrow--light { color: var(--aqua); }

.site-header { position: sticky; top: 0; z-index: 100; background: rgba(247,245,239,.92); border-bottom: 1px solid transparent; backdrop-filter: blur(15px); transition: .25s ease; }
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 8px 30px rgba(16,34,45,.06); }
.header-inner { min-height: 82px; display: grid; grid-template-columns: auto 1fr auto; gap: 30px; align-items: center; }
.brand { display: inline-flex; gap: 11px; align-items: center; }
.brand-mark { position: relative; display: inline-block; width: 38px; height: 38px; border: 2px solid currentColor; border-radius: 50%; }
.brand-mark span:first-child { position: absolute; width: 22px; height: 2px; background: currentColor; transform: rotate(-35deg); top: 17px; left: 6px; }
.brand-mark span:last-child { position: absolute; width: 9px; height: 9px; border: 2px solid currentColor; border-radius: 50%; right: 3px; top: 4px; background: var(--paper); }
.brand-copy { display: grid; line-height: 1.05; }
.brand-copy strong { font-size: 1.08rem; letter-spacing: .13em; }
.brand-copy small { margin-top: 5px; font-size: .67rem; letter-spacing: .08em; text-transform: uppercase; opacity: .68; }
.primary-nav { justify-self: center; }
.menu { display: flex; align-items: center; gap: 25px; list-style: none; padding: 0; margin: 0; }
.menu a { position: relative; font-size: .86rem; font-weight: 700; }
.menu a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -7px; height: 2px; background: var(--aqua-strong); transition: right .2s ease; }
.menu a:hover::after, .menu a:focus-visible::after, .current-menu-item > a::after { right: 0; }
.menu-toggle { display: none; }

.button { display: inline-flex; min-height: 50px; padding: 13px 22px; align-items: center; justify-content: center; border: 1px solid transparent; border-radius: 999px; font-size: .85rem; font-weight: 800; letter-spacing: .025em; transition: transform .2s ease, background .2s ease, color .2s ease; cursor: pointer; }
.button:hover, .button:focus-visible { transform: translateY(-2px); }
.button--small { min-height: 42px; padding: 10px 18px; }
.button--primary { background: var(--aqua); color: var(--ink); }
.button--outline { color: var(--ink); border: 1px solid var(--line); background: transparent; }
.button--outline:hover { border-color: var(--ink); }
.button--dark { background: var(--ink); color: var(--white); }
.button--ghost { border-color: rgba(255,255,255,.35); color: var(--white); }
.button-row { display: flex; flex-wrap: wrap; gap: 12px; }
.text-link { font-weight: 800; color: var(--aqua-strong); }
.text-link--light { color: var(--aqua); }

.hero { position: relative; min-height: calc(100svh - 82px); overflow: hidden; color: var(--white); background: var(--ink); }
.hero-grid { position: absolute; inset: 0; opacity: .12; background-image: linear-gradient(rgba(255,255,255,.35) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.35) 1px, transparent 1px); background-size: 80px 80px; mask-image: linear-gradient(to right, transparent, #000 40%); }
.hero::before { content: ""; position: absolute; width: 700px; height: 700px; right: -240px; top: -300px; border-radius: 50%; background: radial-gradient(circle, rgba(125,212,200,.28), transparent 68%); }
.hero-inner { position: relative; min-height: calc(100svh - 82px); display: grid; grid-template-columns: 1.06fr .94fr; align-items: center; gap: clamp(45px, 8vw, 110px); padding-block: 75px; }
.hero h1 { max-width: 790px; }
.hero-lead { max-width: 700px; color: rgba(255,255,255,.74); font-size: 1.07rem; }
.hero-notes { display: flex; flex-wrap: wrap; gap: 18px; margin: 34px 0 0; padding: 0; list-style: none; color: rgba(255,255,255,.63); font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; }
.hero-notes li::before { content: "•"; color: var(--aqua); margin-right: 8px; }
.system-board { position: relative; min-height: 555px; padding: 22px; border: 1px solid rgba(255,255,255,.2); border-radius: 26px; background: rgba(255,255,255,.06); box-shadow: 0 40px 120px rgba(0,0,0,.25); backdrop-filter: blur(10px); }
.system-board__top { display: flex; justify-content: space-between; color: rgba(255,255,255,.56); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; }
.system-board__drawing { position: relative; height: 405px; margin-top: 25px; border-radius: 16px; background: linear-gradient(135deg, rgba(125,212,200,.14), rgba(255,255,255,.02)); overflow: hidden; }
.rain-head { position: absolute; width: 190px; height: 18px; border: 3px solid var(--sand); border-radius: 50%; left: 50%; top: 68px; transform: translateX(-50%); }
.rain-head::after { content: ""; position: absolute; width: 2px; height: 66px; background: var(--sand); left: 50%; bottom: 14px; }
.shower-rail { position: absolute; width: 5px; height: 220px; background: var(--sand); left: 50%; top: 130px; border-radius: 10px; }
.hand-shower { position: absolute; width: 34px; height: 90px; border: 3px solid var(--aqua); border-radius: 22px 22px 10px 10px; left: calc(50% + 50px); top: 184px; transform: rotate(10deg); }
.mixer { position: absolute; width: 128px; height: 64px; border: 3px solid var(--copper); left: 50%; bottom: 48px; transform: translateX(-50%); }
.mixer::before, .mixer::after { content: ""; position: absolute; width: 13px; height: 13px; border: 2px solid var(--copper); border-radius: 50%; top: 22px; }
.mixer::before { left: 25px; } .mixer::after { right: 25px; }
.system-board__chips { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 20px; }
.system-board__chips span { padding: 7px 11px; border: 1px solid rgba(255,255,255,.18); border-radius: 999px; font-size: .68rem; color: rgba(255,255,255,.7); }

.section { padding-block: clamp(85px, 10vw, 145px); }
.section--collections { background: var(--paper); }
.section-heading { display: grid; grid-template-columns: 1.1fr .9fr; align-items: end; gap: 70px; margin-bottom: 50px; }
.section-heading > p { max-width: 550px; color: rgba(16,34,45,.66); }
.section-heading--stacked { display: block; margin: 0; }
.section-heading--stacked > p:last-child { max-width: 680px; color: rgba(16,34,45,.66); }
.collection-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.collection-card { position: relative; min-height: 310px; padding: 26px; display: flex; flex-direction: column; justify-content: flex-end; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--white); transition: transform .25s ease, box-shadow .25s ease; }
.collection-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.collection-card__index { position: absolute; top: 22px; left: 24px; font-size: .72rem; opacity: .5; }
.collection-card__shape { position: absolute; width: 190px; height: 190px; right: -18px; top: 25px; border: 2px solid currentColor; border-radius: 48% 52% 55% 45%; opacity: .15; transform: rotate(25deg); }
.collection-card--2 { background: #dfeeea; }
.collection-card--3 { background: #eedfca; }
.collection-card strong { position: relative; max-width: 260px; margin-bottom: 18px; font-family: Georgia, serif; font-size: 1.75rem; line-height: 1.15; }
.collection-card > span:last-child { position: relative; display: flex; justify-content: space-between; padding-top: 18px; border-top: 1px solid var(--line); font-size: .78rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }

.section--dark { color: var(--white); background: var(--ink); }
.decision-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(60px, 9vw, 140px); align-items: start; }
.decision-intro { position: sticky; top: 130px; }
.decision-intro > p:not(.eyebrow) { color: rgba(255,255,255,.65); max-width: 560px; }
.decision-list article { display: grid; grid-template-columns: 65px 1fr; gap: 22px; padding: 36px 0; border-top: 1px solid rgba(255,255,255,.18); }
.decision-list article:last-child { border-bottom: 1px solid rgba(255,255,255,.18); }
.decision-list article > span { color: var(--aqua); font-size: .75rem; }
.decision-list p { color: rgba(255,255,255,.6); }

.process-layout { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(60px, 9vw, 140px); }
.process-list { margin: 0; padding: 0; list-style: none; counter-reset: process; }
.process-list li { display: grid; grid-template-columns: 70px 1fr; gap: 22px; padding: 28px 0; border-top: 1px solid var(--line); }
.process-list li:last-child { border-bottom: 1px solid var(--line); }
.process-list > li > span { color: var(--aqua-strong); font-weight: 800; }
.process-list p { color: rgba(16,34,45,.64); }
.section--accent { background: var(--aqua); }
.cta-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 80px; align-items: center; }
.cta-grid > div:last-child { max-width: 560px; }

.site-footer { padding: 80px 0 24px; color: rgba(255,255,255,.72); background: #0b1820; }
.brand--footer { color: var(--white); }
.brand--footer .brand-mark span:last-child { background: #0b1820; }
.footer-grid { display: grid; grid-template-columns: 1.3fr .7fr 1fr; gap: 70px; }
.footer-grid h2 { color: var(--white); font-family: inherit; font-size: .8rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.footer-intro { max-width: 420px; margin-top: 24px; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin: 9px 0; }
.footer-bottom { margin-top: 65px; padding-top: 22px; display: flex; justify-content: space-between; gap: 30px; border-top: 1px solid rgba(255,255,255,.12); font-size: .74rem; }

.page-hero { padding: 95px 0 70px; background: var(--mist); }
.page-hero .container { display: grid; grid-template-columns: 1.1fr .9fr; gap: 60px; align-items: end; }
.page-hero p:last-child { max-width: 620px; color: rgba(16,34,45,.65); }
.content-section { padding-block: 80px; }
.two-column { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(48px, 9vw, 130px); align-items: start; }
.entry-content { max-width: 820px; }
.entry-content > * + * { margin-top: 1.15em; }
.entry-content ul, .entry-content ol { padding-left: 1.3em; }
.check-list { margin: 28px 0 0; padding: 0; list-style: none; }
.check-list li { padding: 14px 0; border-top: 1px solid var(--line); }
.check-list li::before { content: "✓"; margin-right: 10px; color: var(--aqua-strong); font-weight: 900; }
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.feature-grid article, .article-card { padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.feature-grid article > span { display: inline-block; margin-bottom: 45px; color: var(--aqua-strong); font-size: .76rem; font-weight: 800; }
.feature-grid article p, .article-card p { color: rgba(16,34,45,.64); }
.article-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.article-card h2 { margin: 12px 0 18px; font-size: 1.65rem; }
.article-card .text-link { display: inline-block; margin-top: 18px; }
.nav-links { display: flex; gap: 8px; justify-content: center; margin-top: 45px; }
.nav-links .page-numbers { min-width: 42px; padding: 9px 12px; text-align: center; border: 1px solid var(--line); border-radius: 8px; }
.nav-links .current { color: var(--white); background: var(--ink); }
.prose { max-width: 820px; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { margin-top: 1.4em; }

.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.product-card { padding: 14px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.product-card__media { aspect-ratio: 1 / 1; display: grid; place-items: center; overflow: hidden; border-radius: 12px; background: #eef0eb; }
.product-card__media img { width: 100%; height: 100%; object-fit: contain; }
.product-card__placeholder { width: 42%; height: 62%; border: 2px solid rgba(16,34,45,.2); border-radius: 50px 50px 12px 12px; }
.product-card__body { padding: 18px 6px 8px; }
.product-card__meta { color: var(--aqua-strong); font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.product-card h2, .product-card h3 { margin-top: 10px; font-size: 1.4rem; }
.empty-state { padding: 50px; text-align: center; border: 1px dashed var(--line); border-radius: var(--radius); background: rgba(255,255,255,.5); }

.product-detail { padding-block: 80px; }
.product-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: start; }
.product-gallery { position: sticky; top: 110px; }
.product-gallery__main { aspect-ratio: 1/1; display: grid; place-items: center; border-radius: var(--radius); background: var(--white); overflow: hidden; }
.product-gallery__main img { width: 100%; height: 100%; object-fit: contain; }
.product-summary .eyebrow { margin-bottom: 12px; }
.spec-table { width: 100%; border-collapse: collapse; margin: 30px 0; }
.spec-table th, .spec-table td { padding: 13px 0; border-top: 1px solid var(--line); text-align: left; vertical-align: top; }
.spec-table th { width: 38%; font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; }

.inquiry-panel { padding: clamp(30px, 5vw, 60px); border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow); }
.inquiry-form label { display: block; margin-bottom: 6px; font-size: .78rem; font-weight: 800; }
.inquiry-form input, .inquiry-form textarea { width: 100%; padding: 13px 14px; border: 1px solid var(--line); border-radius: 8px; background: #fbfbf8; color: var(--ink); }
.inquiry-form input:focus, .inquiry-form textarea:focus { outline: 3px solid rgba(125,212,200,.35); border-color: var(--aqua-strong); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
.form-honeypot { position: absolute; left: -9999px; }
.form-notice { margin-bottom: 20px; padding: 12px 14px; border-radius: 8px; }
.form-notice--success { color: var(--success); background: #e7f5f0; }
.form-notice--error { color: var(--danger); background: #f8e7e5; }

@media (max-width: 980px) {
  .header-inner { grid-template-columns: auto auto 1fr; }
  .menu-toggle { display: inline-flex; width: 42px; height: 42px; padding: 10px; flex-direction: column; justify-content: center; gap: 5px; border: 0; background: transparent; }
  .menu-toggle > span:not(.screen-reader-text) { width: 22px; height: 2px; background: var(--ink); }
  .primary-nav { position: absolute; inset: 82px 20px auto; display: none; padding: 22px; border-radius: 14px; background: var(--white); box-shadow: var(--shadow); }
  .primary-nav.is-open { display: block; }
  .primary-nav .menu { display: grid; gap: 15px; }
  .header-cta { justify-self: end; }
  .hero-inner, .section-heading, .decision-grid, .process-layout, .cta-grid, .page-hero .container, .product-layout, .two-column { grid-template-columns: 1fr; }
  .hero { min-height: auto; }
  .hero-inner { min-height: auto; padding-block: 80px; }
  .hero-visual { max-width: 650px; width: 100%; margin-inline: auto; }
  .collection-grid, .product-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-grid, .article-grid { grid-template-columns: repeat(2, 1fr); }
  .decision-intro, .product-gallery { position: static; }
  .footer-grid { grid-template-columns: 1.2fr .8fr; }
}

@media (max-width: 640px) {
  :root { --container: min(100% - 28px, 1180px); }
  h1 { font-size: clamp(2.75rem, 15vw, 4.4rem); }
  h2 { font-size: clamp(2.1rem, 11vw, 3.3rem); }
  .header-inner { min-height: 72px; grid-template-columns: auto auto; }
  .primary-nav { top: 72px; }
  .header-cta { display: none; }
  .menu-toggle { justify-self: end; }
  .hero-inner { padding-block: 58px; }
  .system-board { min-height: 430px; }
  .system-board__drawing { height: 290px; }
  .collection-grid, .product-grid, .form-grid, .footer-grid, .feature-grid, .article-grid { grid-template-columns: 1fr; }
  .section-heading { gap: 20px; }
  .collection-card { min-height: 260px; }
  .footer-bottom { display: block; }
  .button-row .button { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}

