/* ==========================================================
   Up. Interiors — Window Covering Interior Design
   Black, quiet, editorial. Poppins matches the logo;
   Newsreader adds the editorial display voice.
   ========================================================== */

:root {
  color-scheme: dark;
  --bg: #0a0a0a;
  --bg-raised: #111112;
  --bg-panel: #161617;
  --line: #262628;
  --line-soft: #1c1c1e;
  --text: #ececee;
  --text-muted: #a2a2a8;
  --text-faint: #6c6c72;
  --silver: #cfcfd3;
  --accent: #c8a97e;        /* champagne gold */
  --accent-bright: #dcc196;
  --accent-dim: rgba(200,169,126,.35);

  --font-sans: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-serif: "Newsreader", "Iowan Old Style", Georgia, "Times New Roman", serif;

  --radius: 18px;
  --radius-sm: 12px;
  --radius-pill: 999px;

  --max: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 76px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

[hidden] { display: none !important; }
img { max-width: 100%; height: auto; display: block; }
:focus-visible { outline: 1px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--accent); color: #0a0a0a; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1em; }

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

/* ---------- Typography ---------- */

.eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 18px;
}

h1, h2, h3 { margin: 0; font-weight: 400; line-height: 1.12; }

.display {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(36px, 5.6vw, 66px);
  font-weight: 350;
  letter-spacing: -.025em;
  font-optical-sizing: auto;
  text-wrap: balance;
}

.display em, .h2 em { font-style: italic; color: var(--accent); }

.h2 {
  font-family: var(--font-serif);
  font-size: clamp(30px, 4vw, 48px);
  font-weight: 350;
  letter-spacing: -.02em;
  font-optical-sizing: auto;
  text-wrap: balance;
  margin-bottom: 20px;
}

.h3 {
  font-family: var(--font-sans);
  font-size: 19px;
  font-weight: 500;
  letter-spacing: .01em;
  margin-bottom: 10px;
}

.lead {
  font-size: clamp(16px, 1.5vw, 18px);
  color: var(--text-muted);
  max-width: 640px;
}

.rule {
  width: 48px;
  height: 1px;
  background: var(--accent);
  margin: 26px 0;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 30px;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  border: 1px solid var(--accent);
  border-radius: var(--radius-pill);
  transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
  cursor: pointer;
}

.btn-solid { background: var(--accent); color: #0a0a0a; border-color: var(--accent); }
.btn-solid:hover { background: transparent; color: var(--accent-bright); border-color: var(--accent-bright); }

.btn-ghost { background: transparent; color: var(--text); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent-bright); }

.btn .arrow { transition: transform .3s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  background: rgba(10, 10, 10, .82);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--line-soft);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand img { height: 34px; width: auto; }
.brand-name {
  font-family: var(--font-sans);
  font-weight: 700;
  font-style: italic;
  font-size: 21px;
  letter-spacing: -.01em;
  color: var(--text);
}

.nav { display: flex; align-items: center; gap: 34px; }

.nav-link {
  position: relative;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 8px 0;
  transition: color .25s var(--ease);
  background: none;
  border: 0;
  font-family: inherit;
  cursor: pointer;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 2px;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s var(--ease);
}

.nav-link:hover, .nav-link.active { color: var(--text); }
.nav-link:hover::after, .nav-link.active::after { transform: scaleX(1); }

/* Services dropdown */
.has-dropdown { position: relative; }
.has-dropdown .caret { display: inline-block; margin-left: 6px; font-size: 9px; transform: translateY(-1px); }

.dropdown {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  min-width: 220px;
  background: var(--bg-raised);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 6px);
  transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s;
}

.dropdown::before { /* hover bridge */
  content: ""; position: absolute; left: 0; right: 0; top: -16px; height: 16px;
}

.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown,
.has-dropdown.open .dropdown {
  opacity: 1; visibility: visible; transform: translate(-50%, 0);
}

.dropdown a {
  display: block;
  padding: 10px 16px;
  border-radius: 8px;
  font-size: 14px;
  color: var(--text-muted);
  transition: color .2s, background .2s;
}
.dropdown a:hover { color: var(--accent-bright); background: var(--bg-panel); }

.header-cta { padding: 11px 20px; font-size: 12px; }

.menu-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  width: 44px; height: 44px;
  border-radius: var(--radius-sm);
  color: var(--text);
  cursor: pointer;
  align-items: center;
  justify-content: center;
}
.menu-toggle span, .menu-toggle span::before, .menu-toggle span::after {
  display: block; width: 18px; height: 1px; background: currentColor; position: relative;
  transition: transform .3s var(--ease), background .3s;
}
.menu-toggle span::before, .menu-toggle span::after { content: ""; position: absolute; left: 0; }
.menu-toggle span::before { top: -6px; }
.menu-toggle span::after { top: 6px; }
.nav-open .menu-toggle span { background: transparent; }
.nav-open .menu-toggle span::before { transform: translateY(6px) rotate(45deg); }
.nav-open .menu-toggle span::after { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  min-height: calc(100vh - var(--header-h));
  min-height: calc(100svh - var(--header-h));
  display: flex;
  align-items: center;
  text-align: center;
  padding: 80px 0 100px;
  overflow: hidden;
}

/* Faded pleated-curtain photo behind the hero */
.hero-bg {
  position: absolute;
  top: -3%;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  aspect-ratio: 605 / 590;
  min-height: 104%;
  max-width: none;
  background: url("../assets/hero-pleats-hd.jpg") center / cover no-repeat;
  filter: grayscale(.3) brightness(.95) contrast(1.05);
  opacity: .16;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 18%, #000 82%, transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0%, #000 18%, #000 82%, transparent 100%);
}
@media (max-width: 760px) {
  .hero-bg { width: auto; height: 104%; -webkit-mask-image: none; mask-image: none; }
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 55% at 50% 42%, rgba(10,10,10,.55), transparent 75%),
    linear-gradient(180deg, rgba(10,10,10,.35) 0%, rgba(10,10,10,0) 30%, rgba(10,10,10,.6) 75%, var(--bg) 100%);
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  left: 50%; top: 38%;
  width: 900px; height: 600px;
  transform: translate(-50%, -50%);
  background: radial-gradient(closest-side, rgba(200,169,126,.07), transparent);
  pointer-events: none;
}

.hero .container { position: relative; z-index: 1; }

.hero-logo {
  width: min(340px, 64vw);
  margin: 0 auto 36px;
}

.hero-kicker {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 18px;
}

.hero .display { max-width: 860px; margin: 0 auto; }
.hero .lead { margin: 24px auto 40px; max-width: 700px; text-wrap: balance; }

.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

.scroll-cue {
  position: absolute;
  bottom: 28px; left: 50%;
  transform: translateX(-50%);
  width: 1px; height: 54px;
  background: linear-gradient(var(--accent), transparent);
  opacity: .7;
  z-index: 1;
}

/* ---------- Sections ---------- */

.section { padding: clamp(80px, 11vw, 140px) 0; border-top: 1px solid var(--line-soft); }
.section-alt { background: var(--bg-raised); }

.section-head { max-width: 720px; margin-bottom: 64px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .lead { margin: 0 auto; }

/* Intro split */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 7vw, 100px);
  align-items: start;
}
.split .lead { max-width: none; }

.facts { border-top: 1px solid var(--line); }
.fact {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 8px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}
.fact-num { font-family: var(--font-serif); font-style: italic; font-size: 22px; color: var(--accent); line-height: 1.2; }
.fact p { color: var(--text-muted); margin: 0; font-size: 15px; }
.fact strong { display: block; color: var(--text); font-weight: 500; margin-bottom: 4px; font-size: 16px; }

/* Product cards */
.cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.card {
  position: relative;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 44px 36px 40px;
  display: flex;
  flex-direction: column;
  min-height: 420px;
  transition: background .4s var(--ease);
  overflow: hidden;
}
.section-alt .card { background: var(--bg-raised); }
.card:hover { background: var(--bg-panel); border-color: var(--accent-dim); }

.card-visual {
  height: 150px;
  margin-bottom: 34px;
  display: flex;
  align-items: flex-end;
}
.card-visual svg { height: 100%; width: auto; color: var(--accent); opacity: .8; transition: opacity .4s var(--ease), transform .6s var(--ease); }
.card:hover .card-visual svg { opacity: 1; transform: translateY(-4px); }

.card .h3 { font-family: var(--font-serif); font-size: 30px; font-weight: 400; margin-bottom: 12px; }
.card p { color: var(--text-muted); font-size: 15px; flex: 1; }

.card-link {
  margin-top: 18px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--accent);
  display: inline-flex;
  gap: 10px;
  align-items: center;
}
.card-link .arrow { transition: transform .3s var(--ease); }
.card:hover .card-link .arrow { transform: translateX(5px); }

/* Features grid */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 56px 48px;
}
.feature-icon {
  width: 44px; height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 22px;
  color: var(--accent);
}
.feature-icon svg { width: 20px; height: 20px; }
.feature p { color: var(--text-muted); font-size: 15px; margin: 0; }

/* Process */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  counter-reset: step;
  border-top: 1px solid var(--line);
}
.step {
  padding: 34px 28px 0 0;
  position: relative;
}
.step::before {
  counter-increment: step;
  content: "0" counter(step);
  display: block;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 44px;
  color: var(--accent-dim);
  line-height: 1;
  margin-bottom: 22px;
}
.step::after {
  content: "";
  position: absolute; top: -4px; left: 0;
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--accent);
}
.step p { color: var(--text-muted); font-size: 15px; margin: 0; }

/* CTA band */
.cta-band {
  padding: clamp(70px, 9vw, 110px) 0;
  text-align: center;
  border-top: 1px solid var(--line-soft);
  background:
    radial-gradient(ellipse 60% 120% at 50% 0%, rgba(255,255,255,.05), transparent 70%),
    var(--bg);
}
.cta-band .h2 { max-width: 760px; margin: 0 auto 20px; }
.cta-band .lead { margin: 0 auto 36px; }

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 7vw, 100px);
  align-items: start;
}

.contact-list { border-top: 1px solid var(--line); }
.contact-item {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
}
.contact-item .feature-icon { margin: 0; flex-shrink: 0; }
.contact-label {
  display: block;
  font-size: 11px;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 4px;
}
.contact-value { font-size: 18px; color: var(--text); word-break: break-word; }
a.contact-value:hover { color: var(--accent-bright); }

/* ---------- Placeholder pages ---------- */

.page-hero {
  padding: clamp(90px, 12vw, 150px) 0 clamp(70px, 9vw, 110px);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: ""; position: absolute; left: 50%; top: 0;
  width: 800px; height: 400px; transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(255,255,255,.05), transparent);
  pointer-events: none;
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero .rule { margin: 26px auto; }
.page-hero .lead { margin: 0 auto; }

.coming-soon {
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  padding: clamp(50px, 8vw, 90px) 24px;
  text-align: center;
  color: var(--text-faint);
}
.coming-soon .h3 { color: var(--text-muted); font-weight: 400; }
.coming-soon p { margin: 0 0 28px; font-size: 15px; }

/* ---------- Footer ---------- */

.site-footer {
  border-top: 1px solid var(--line);
  padding: 80px 0 34px;
  background: #070707;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 48px;
  margin-bottom: 64px;
}

.footer-brand img { width: 220px; margin-bottom: 20px; }
.footer-brand p { color: var(--text-faint); font-size: 14px; max-width: 300px; }

.footer-title {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin: 0 0 20px;
}

.footer-links { list-style: none; margin: 0; padding: 0; }
.footer-links li { margin-bottom: 11px; }
.footer-links a { color: var(--text-faint); font-size: 14px; transition: color .2s; }
.footer-note { color: var(--text-faint); font-size: 14px; }
.footer-links a:hover { color: var(--accent-bright); }

.footer-bottom {
  padding-top: 28px;
  border-top: 1px solid var(--line-soft);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
  color: var(--text-faint);
}

/* ---------- Reveal on scroll ---------- */

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  * { transition-duration: .01ms !important; }
}

/* ---------- Responsive ---------- */

@media (max-width: 1020px) {
  .nav { gap: 24px; }
  .cards { grid-template-columns: 1fr; }
  .card { min-height: 0; }
  .features { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 50px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 880px) {
  .menu-toggle { display: inline-flex; }
  .header-cta { display: none; }

  .nav {
    position: absolute;
    top: 100%; left: 0; right: 0;
    height: calc(100vh - var(--header-h));
    height: calc(100dvh - var(--header-h));
    background: var(--bg);
    border-top: 1px solid var(--line-soft);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 20px var(--gutter) 40px;
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s;
  }
  .nav-open .nav { opacity: 1; visibility: visible; transform: none; }
  .nav-open, html:has(.nav-open) { overflow: hidden; }
  .nav-open .site-header { background: var(--bg); }

  .nav > a, .nav > .has-dropdown { border-bottom: 1px solid var(--line-soft); }
  .nav-link { display: block; width: 100%; text-align: left; padding: 18px 0; font-size: 14px; }
  .nav-link::after { display: none; }

  .dropdown {
    position: static;
    border-radius: 0;
    transform: none;
    opacity: 1;
    visibility: visible;
    border: 0;
    background: none;
    padding: 0 0 12px 14px;
    display: none;
  }
  .has-dropdown:hover .dropdown, .has-dropdown:focus-within .dropdown { transform: none; }
  .has-dropdown.open .dropdown { display: block; transform: none; }
  .dropdown::before { display: none; }

  .nav .mobile-cta { display: flex; justify-content: center; margin-top: 28px; }

  .split, .contact-grid { grid-template-columns: 1fr; }
}

@media (min-width: 881px) { .mobile-cta { display: none; } }

@media (max-width: 600px) {
  .brand img { height: 28px; }
  .brand-name { font-size: 18px; }
  .features, .steps { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .card { padding: 36px 26px; }
}

/* ---------- Curtain / product styles ---------- */

.style-nav { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.style-chip {
  padding: 9px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  font-size: 13px;
  letter-spacing: .06em;
  color: var(--text-muted);
  transition: border-color .25s var(--ease), color .25s var(--ease);
}
.style-chip:hover { border-color: var(--accent); color: var(--accent-bright); }

.style-list { display: grid; gap: clamp(70px, 9vw, 120px); }

.style-block { scroll-margin-top: calc(var(--header-h) + 24px); }
.style-head { margin-bottom: 28px; }
.style-head .eyebrow { margin-bottom: 10px; }
.style-head .h2 { margin: 0; }

.style-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-bottom: 40px;
}
.style-figure { margin: 0; min-width: 0; }
.style-figure img {
  width: 100%;
  aspect-ratio: 1280 / 1169;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--bg-panel);
}
.style-figure figcaption {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 14px;
  font-family: var(--font-serif);
  font-size: 22px;
  color: var(--text);
}
.style-figure figcaption::before {
  content: "";
  width: 24px; height: 1px;
  background: var(--accent);
}

.style-info {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: clamp(32px, 6vw, 80px);
  align-items: start;
}
.style-text { min-width: 0; }
.style-text p { color: var(--text-muted); font-size: 16px; }

.style-details {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 8px 24px;
  background: var(--bg-raised);
}
.style-details div {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line-soft);
}
.style-details div:last-child { border-bottom: 0; }
.style-details dt {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--accent);
  padding-top: 3px;
}
.style-details dd { margin: 0; font-size: 15px; color: var(--text); }

@media (max-width: 880px) {
  .style-info { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .style-gallery { grid-template-columns: 1fr; }
  .style-details div { grid-template-columns: 1fr; gap: 4px; }
}

/* ---------- Quote request form ---------- */

.quote-section { padding-top: 0; border-top: 0; }
.quote-wrap { max-width: 860px; }

.quote-form { display: grid; gap: 22px; }

.q-step {
  margin: 0;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-raised);
  padding: clamp(24px, 4vw, 40px);
}
.q-step legend {
  float: left;
  width: 100%;
  padding: 0;
  margin: 0 0 24px;
  display: flex;
  align-items: baseline;
  gap: 14px;
  font-family: var(--font-serif);
  font-size: clamp(24px, 3vw, 30px);
  font-weight: 400;
  color: var(--text);
}
.q-step legend + * { clear: both; }
.q-num {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .2em;
  color: var(--accent);
}

.q-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px 22px;
}
.span-2 { grid-column: 1 / -1; }

.field { display: grid; gap: 8px; min-width: 0; }
.field label, .field .label {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .04em;
  color: var(--text-muted);
}
.field b, .check b { color: var(--accent); font-weight: 500; }

.field input, .field select, .field textarea {
  width: 100%;
  font: inherit;
  font-size: 15px;
  font-weight: 300;
  color: var(--text);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 13px 15px;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
  -webkit-appearance: none;
  appearance: none;
}
.field textarea { resize: vertical; min-height: 96px; line-height: 1.6; }
.field select {
  padding-right: 42px;
  background-image: linear-gradient(45deg, transparent 50%, var(--accent) 50%), linear-gradient(135deg, var(--accent) 50%, transparent 50%);
  background-position: calc(100% - 20px) 55%, calc(100% - 15px) 55%;
  background-size: 5px 5px;
  background-repeat: no-repeat;
}
.field select:invalid { color: var(--text-faint); }
.field option { color: var(--text); background: var(--bg-raised); }
.field input::placeholder, .field textarea::placeholder { color: var(--text-faint); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(200,169,126,.15);
}

.checks { display: flex; flex-wrap: wrap; gap: 10px; }
.check {
  position: relative;
  display: inline-flex;
  align-items: center;
  cursor: pointer;
}
.check input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.checks .check span {
  display: inline-block;
  padding: 10px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  font-size: 14px;
  color: var(--text-muted);
  transition: all .2s var(--ease);
}
.checks .check:hover span { border-color: var(--accent-dim); color: var(--text); }
.checks .check input:checked + span { background: var(--accent); border-color: var(--accent); color: #0a0a0a; font-weight: 500; }
.checks .check input:focus-visible + span { outline: 1px solid var(--accent); outline-offset: 3px; }

.check-agree {
  gap: 14px;
  align-items: flex-start;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.5;
}
.check-agree::before {
  content: "";
  flex-shrink: 0;
  width: 18px; height: 18px;
  margin-top: 1px;
  border: 1px solid var(--accent);
  border-radius: 5px;
  transition: background .2s var(--ease);
}
.check-agree:has(input:checked)::before {
  background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230a0a0a' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.check-agree:has(input:focus-visible) { outline: 1px solid var(--accent); outline-offset: 3px; }

.q-note {
  margin: 0 0 22px;
  padding: 14px 18px;
  border-left: 2px solid var(--accent);
  background: rgba(200,169,126,.06);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 14px;
  color: var(--text-muted);
}
.q-hint { margin: 16px 0 0; font-size: 13px; color: var(--text-faint); }

.field.invalid input, .field.invalid select, .field.invalid textarea,
.field.invalid .checks .check span, .check-agree.invalid { border-color: #d27a6a; }
.field.invalid label, .field.invalid .label { color: #e09a8c; }

.q-submit { display: grid; justify-items: start; gap: 14px; padding-top: 8px; }
.q-submit .btn { font-size: 14px; padding: 17px 34px; }
.q-error { margin: 0; color: #e09a8c; font-size: 14px; }
.q-privacy { margin: 0; font-size: 13px; color: var(--text-faint); }

.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }

.q-thanks {
  text-align: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-raised);
  padding: clamp(50px, 8vw, 90px) 24px;
}
.q-thanks .lead { margin: 0 auto 30px; }

@media (max-width: 600px) {
  .q-grid { grid-template-columns: 1fr; }
  .q-submit .btn { width: 100%; justify-content: center; }
}

/* ---------- Google reviews ---------- */

.review-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.review-card {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding: 32px 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-raised);
  min-width: 0;
}
.review-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.review-stars { display: flex; gap: 3px; }
.star svg { width: 17px; height: 17px; fill: var(--line); }
.star.on svg { fill: var(--accent); }
.is-sample .star.on svg { fill: var(--accent-dim); }
.review-badge {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--text-faint);
  border: 1px dashed var(--line);
  border-radius: var(--radius-pill);
  padding: 4px 10px;
}
.review-text {
  margin: 0;
  flex: 1;
  font-family: var(--font-serif);
  font-size: 19px;
  line-height: 1.55;
  color: var(--text);
}
.is-sample .review-text { color: var(--text-muted); font-style: italic; }
.review-author { display: flex; align-items: center; gap: 14px; }
.review-avatar {
  width: 40px; height: 40px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--accent-dim);
  color: var(--accent);
  font-family: var(--font-serif);
  font-size: 18px;
}
.review-author strong { display: block; font-weight: 500; font-size: 15px; color: var(--text); }
.review-author small { display: block; font-size: 13px; color: var(--text-faint); }
.reviews-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px; margin-top: 48px; }

@media (max-width: 1020px) { .review-grid { grid-template-columns: 1fr; max-width: 640px; margin: 0 auto; } }

/* ---------- Cursor glow + hover light ---------- */

.cursor-glow {
  position: fixed;
  top: 0; left: 0;
  width: 480px; height: 480px;
  margin: -240px 0 0 -240px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(200,169,126,.055) 0%, rgba(200,169,126,.02) 35%, transparent 65%);
  pointer-events: none;
  z-index: 40;
  mix-blend-mode: screen;
  opacity: 0;
  transition: opacity .5s var(--ease);
  will-change: transform;
}
.cursor-glow.on { opacity: 1; }

/* Surfaces light up softly where the pointer is */
.card, .review-card, .q-step, .style-details, .contact-item, .feature, .fact, .step, .style-figure {
  position: relative;
}
.card::after, .review-card::after, .q-step::after, .style-details::after,
.feature::after, .fact::after, .step::after, .style-figure::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0;
  transition: opacity .35s var(--ease);
  background: radial-gradient(380px circle at var(--mx, 50%) var(--my, 50%), rgba(255,255,255,.035), transparent 60%);
}
.style-figure::after { border-radius: var(--radius); bottom: auto; aspect-ratio: 1280 / 1169; width: 100%; }
.feature::after, .fact::after { inset: -14px; border-radius: var(--radius-sm); }
.step::after { inset: 14px -10px -14px -14px; border-radius: var(--radius-sm); }
.lit::after { opacity: 1; }

.review-card, .q-step { transition: border-color .35s var(--ease), background .35s var(--ease); }
.review-card.lit, .q-step.lit { border-color: #333336; }
.btn-solid:hover { box-shadow: 0 0 18px rgba(200,169,126,.14); }

@media (hover: none), (pointer: coarse), (prefers-reduced-motion: reduce) {
  .cursor-glow { display: none; }
}

/* ---------- Fit & centring on every screen ---------- */

html, body { max-width: 100%; overflow-x: clip; }
.container { margin-inline: auto; }

@media (max-width: 880px) {
  .section-head { margin-left: auto; margin-right: auto; text-align: center; }
  .section-head .lead { margin-left: auto; margin-right: auto; }
  .split > div:first-child, .contact-grid > div:first-child { text-align: center; }
  .split .rule, .contact-grid .rule { margin-left: auto; margin-right: auto; }
  .style-nav { justify-content: center; }
  .style-head { text-align: center; }
  .card { align-items: center; text-align: center; }
  .card-visual { justify-content: center; }
  .feature { text-align: center; }
  .feature-icon { margin-left: auto; margin-right: auto; }
  .step { text-align: center; padding-right: 0; }
  .step::after { left: 50%; transform: translateX(-50%); }
  .footer-grid { text-align: center; }
  .footer-brand img { margin-left: auto; margin-right: auto; }
  .footer-brand p { margin-left: auto; margin-right: auto; }
  .footer-bottom { justify-content: center; text-align: center; }
  .q-submit { justify-items: center; text-align: center; }
}

@media (min-width: 1800px) {
  :root { --max: 1320px; }
  body { font-size: 17px; }
}

/* ---------- Text lifts slightly under the mouse ---------- */

@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  main :is(h1, h2, h3, p, blockquote, figcaption, dt, dd, legend, .eyebrow, .hero-kicker, .card-link, .contact-label, .contact-value, .fact strong),
  .nav-link, .brand-name, .footer-links a, .footer-note, .footer-title, .footer-brand p, .footer-bottom span {
    transition: transform .35s var(--ease), color .25s var(--ease);
  }
  .contact-value, .footer-links a, .footer-note, .footer-bottom span { display: inline-block; }
  .nav-link { display: inline-block; }

  main :is(h1, h2, h3, p, blockquote, figcaption, dt, dd, legend, .eyebrow, .hero-kicker, .card-link, .contact-label, .contact-value, .fact strong):hover,
  .nav-link:hover, .brand:hover .brand-name, .footer-links a:hover, .footer-note:hover, .footer-title:hover, .footer-brand p:hover, .footer-bottom span:hover {
    transform: translateY(-3px);
  }
}

/* ---------- Curtain style grid + detail pop-up ---------- */

.style-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px 22px;
}
.style-tile {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
  min-width: 0;
}
.tile-img {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  aspect-ratio: 4 / 5;
  background: var(--bg-panel);
}
.tile-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .8s var(--ease), filter .5s var(--ease);
}
.tile-img::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(10,10,10,.45));
  pointer-events: none;
}
.style-tile:hover .tile-img img, .style-tile:focus-visible .tile-img img { transform: scale(1.04); }
.style-tile:hover .tile-img { border-color: var(--accent-dim); }
.tile-name {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-serif);
  font-size: 24px;
  color: var(--text);
}
.tile-name::before { content: ""; width: 24px; height: 1px; background: var(--accent); }
.tile-more {
  margin-top: -6px;
  padding-left: 36px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--accent);
}
.tile-more span { display: inline-block; margin-left: 4px; transition: transform .3s var(--ease); }
.style-tile:hover .tile-more span { transform: rotate(90deg); }
.style-tile:focus-visible { outline: none; }
.style-tile:focus-visible .tile-img { outline: 1px solid var(--accent); outline-offset: 4px; }

.style-dialog {
  width: min(1080px, calc(100% - 32px));
  max-height: calc(100dvh - 48px);
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--bg-raised);
  color: var(--text);
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}
.style-dialog::backdrop { background: rgba(5,5,5,.78); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.style-dialog[open] { animation: dlg-in .35s var(--ease); }
@keyframes dlg-in { from { opacity: 0; transform: translateY(14px) scale(.985); } to { opacity: 1; transform: none; } }
html:has(.style-dialog[open]) { overflow: hidden; }

.dialog-close {
  position: sticky;
  top: 14px;
  float: right;
  margin: 14px 14px -56px 0;
  z-index: 3;
  width: 42px; height: 42px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: rgba(10,10,10,.75);
  color: var(--text);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  transition: border-color .2s, color .2s;
}
.dialog-close:hover { border-color: var(--accent); color: var(--accent-bright); }

.dialog-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  align-items: start;
}
.dialog-photos {
  display: grid;
  gap: 10px;
  padding: 10px;
  align-content: start;
  background: var(--bg);
  position: sticky;
  top: 0;
  max-height: calc(100dvh - 50px);
  overflow-y: auto;
}
.dialog-photos img { width: 100%; border-radius: 14px; }
.dialog-text {
  padding: clamp(28px, 4vw, 48px);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.dialog-text .h2 { margin-bottom: 18px; padding-right: 40px; }
.dialog-body p { color: var(--text-muted); }
.dialog-body .lining-intro { color: var(--text); font-weight: 400; margin-bottom: 12px; }
.lining-list { list-style: none; counter-reset: lining; margin: 0 0 20px; padding: 0; display: grid; gap: 10px; }
.lining-list li {
  counter-increment: lining;
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 2px 12px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--bg);
}
.lining-list li::before {
  content: counter(lining);
  grid-row: span 2;
  width: 30px; height: 30px;
  display: grid; place-items: center;
  border-radius: 50%;
  border: 1px solid var(--accent-dim);
  color: var(--accent);
  font-family: var(--font-serif);
  font-size: 16px;
}
.lining-list strong { font-weight: 500; color: var(--text); }
.lining-list span { font-size: 14.5px; color: var(--text-muted); line-height: 1.6; }
.dialog-text .style-details { margin: 8px 0 24px; }
.dialog-text .btn { align-self: flex-start; margin-top: 12px; }

@media (max-width: 1020px) { .style-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) {
  .dialog-layout { grid-template-columns: 1fr; }
  .dialog-photos { position: static; max-height: none; overflow: visible; }
  .dialog-photos.multi { grid-auto-flow: column; grid-auto-columns: 85%; overflow-x: auto; scroll-snap-type: x mandatory; }
  .dialog-photos.multi img { scroll-snap-align: start; }
  .dialog-text .btn { align-self: stretch; justify-content: center; }
}
@media (max-width: 520px) {
  .style-grid { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }
  .style-tile { text-align: center; align-items: center; }
  .tile-more { padding-left: 0; }
}

.tile-count {
  position: absolute;
  right: 14px; bottom: 14px;
  z-index: 1;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  background: rgba(10,10,10,.7);
  border: 1px solid rgba(255,255,255,.12);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--text);
  backdrop-filter: blur(4px);
}

/* ---------- Contact page ---------- */

.contact-page {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: 28px;
  align-items: start;
}
.contact-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-raised);
  padding: clamp(26px, 4vw, 40px);
  min-width: 0;
}
.contact-email {
  display: block;
  font-family: var(--font-serif);
  font-size: clamp(22px, 2.6vw, 30px);
  color: var(--text);
  overflow-wrap: anywhere;
  margin-bottom: 22px;
  transition: color .25s var(--ease);
}
.contact-email:hover { color: var(--accent-bright); }
.contact-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.contact-actions .btn { padding: 13px 22px; font-size: 12px; }
.copy-status { min-height: 1.5em; margin: 10px 0 18px; font-size: 13px; color: var(--accent); }
.contact-card .contact-list { border-top: 1px solid var(--line); }
.contact-card .contact-value { font-size: 15px; }
.contact-form-wrap { min-width: 0; }
.contact-form-wrap .q-step legend { margin-bottom: 22px; }
.contact-cta { margin-top: 28px; }

@media (max-width: 880px) {
  .contact-page { grid-template-columns: 1fr; }
  .contact-card { text-align: center; }
  .contact-actions { justify-content: center; }
  .contact-card .contact-item { text-align: left; }
  .contact-cta { display: flex; justify-content: center; }
}

/* ---------- About page ---------- */

.about-text p { color: var(--text-muted); }
.about-text .lead { color: var(--text); max-width: none; }

.promise-list {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  max-width: 900px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.promise-list li {
  display: grid;
  gap: 8px;
  padding: 28px 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg);
}
.promise-list strong {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 400;
  color: var(--text);
}
.promise-list strong::before { content: ""; width: 20px; height: 1px; background: var(--accent); flex-shrink: 0; }
.promise-list span { font-size: 15px; color: var(--text-muted); }

@media (max-width: 760px) {
  .promise-list { grid-template-columns: 1fr; }
  .promise-list li { text-align: center; }
  .promise-list strong { justify-content: center; }
  .about-text { text-align: center; }
}

/* ---------- Phone & tablet polish (iOS Safari + Android Chrome) ---------- */

html { -webkit-tap-highlight-color: transparent; text-size-adjust: 100%; }
button, a, input, select, textarea, label { touch-action: manipulation; }

@media (max-width: 880px) {
  /* 16px stops iPhones from zooming in when a form field is tapped */
  .field input, .field select, .field textarea { font-size: 16px; }
  .field input[type="date"] { min-height: 50px; display: block; line-height: 1.3; }
  .field input[type="date"]::-webkit-date-and-time-value { text-align: left; }

  /* bigger, easier tap targets in the menu */
  .nav-link { min-height: 52px; display: flex; align-items: center; justify-content: space-between; }
  .dropdown a { padding: 14px 16px; font-size: 15px; }
  .has-dropdown .caret { transition: transform .25s var(--ease); }
  .has-dropdown.open .caret { transform: rotate(180deg) translateY(1px); }
  .nav .mobile-cta .btn { width: 100%; justify-content: center; }
}

@media (max-width: 380px) {
  .brand-name { font-size: 16px; }
  .brand img { height: 26px; }
  .display { font-size: 32px; }
  .hero-kicker { font-size: 10px; letter-spacing: .18em; }
  .card, .review-card, .q-step, .contact-card { padding-left: 20px; padding-right: 20px; }
  .lining-list li { grid-template-columns: 30px 1fr; padding: 14px; }
}
