:root {
  --ink: #1d1f1b;
  --navy: #13233b;
  --gold: #d5a33d;
  --porcelain: #f3f1ec;
  --silver: #c8c8c4;
  --white: #fff;
  --muted: #686a65;
  --line: rgba(29, 31, 27, .16);
  --max: 1240px;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Inter", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--porcelain);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
body.store-site { background: #f7f6f2; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }

.announcement {
  padding: .6rem 1rem;
  color: var(--white);
  background: var(--navy);
  text-align: center;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 82px;
  padding: 0 clamp(1.25rem, 4vw, 4rem);
  border-bottom: 1px solid var(--line);
  background: rgba(243, 241, 236, .94);
  backdrop-filter: blur(16px);
}
.wordmark { display: inline-grid; gap: 0; line-height: 1; }
.wordmark strong {
  font-family: var(--serif);
  font-size: clamp(1.3rem, 2vw, 1.75rem);
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.wordmark small { margin-top: .35rem; color: var(--muted); font-size: .55rem; letter-spacing: .35em; text-transform: uppercase; }
.site-header nav { display: flex; align-items: center; gap: clamp(.8rem, 2vw, 1.8rem); }
.site-header nav a { position: relative; font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.site-header nav a::after { position: absolute; right: 0; bottom: -.45rem; left: 0; height: 1px; background: var(--gold); content: ""; transform: scaleX(0); transition: transform .2s; }
.site-header nav a:hover::after, .site-header nav a[aria-current="page"]::after { transform: scaleX(1); }
.store-link { padding: .75rem 1rem; color: var(--white); background: var(--ink); }
.menu-toggle { display: none; border: 0; background: transparent; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }

.hero { min-height: calc(100vh - 108px); display: grid; grid-template-columns: 1.05fr .95fr; }
.hero-copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(4rem, 9vw, 9rem) clamp(1.5rem, 7vw, 7rem); }
.eyebrow { margin: 0 0 1.35rem; color: var(--gold); font-size: .7rem; font-weight: 800; letter-spacing: .22em; text-transform: uppercase; }
h1, h2, h3 { margin: 0; font-family: var(--serif); font-weight: 500; line-height: .98; }
h1 { max-width: 12ch; font-size: clamp(4rem, 8vw, 8.8rem); letter-spacing: -.055em; }
h2 { font-size: clamp(2.7rem, 5.5vw, 5.2rem); letter-spacing: -.04em; }
h3 { font-size: clamp(1.75rem, 3vw, 2.65rem); letter-spacing: -.025em; }
.hero-copy > p:not(.eyebrow) { max-width: 37rem; margin: 2rem 0 0; color: var(--muted); font-size: 1.08rem; }
.actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2.3rem; }
.button, .button-outline, .text-link {
  display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 1.35rem;
  border: 1px solid var(--ink); font-size: .72rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; transition: .2s ease;
}
.button { color: var(--white); background: var(--ink); }
.button:hover { border-color: var(--gold); background: var(--gold); }
.button-outline { background: transparent; }
.button-outline:hover { color: var(--white); background: var(--navy); }
.text-link { min-height: auto; padding: 0 0 .35rem; border-width: 0 0 1px; }
.hero-media { position: relative; min-height: 620px; overflow: hidden; background: var(--navy); }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-media::after { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 60%, rgba(19,35,59,.48)); content: ""; }
.hero-note { position: absolute; z-index: 2; right: 2rem; bottom: 2rem; max-width: 18rem; padding: 1.4rem; color: var(--white); border: 1px solid rgba(255,255,255,.5); background: rgba(19,35,59,.68); backdrop-filter: blur(12px); }
.hero-note span { display: block; margin-bottom: .5rem; color: var(--gold); font-size: .62rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }

.manifesto { padding: clamp(6rem, 11vw, 11rem) 1.5rem; text-align: center; }
.manifesto blockquote { max-width: 1000px; margin: 0 auto; font-family: var(--serif); font-size: clamp(3rem, 7vw, 7.5rem); line-height: .98; letter-spacing: -.045em; }
.manifesto p { max-width: 43rem; margin: 2rem auto 0; color: var(--muted); }
.rule { display: block; width: 54px; height: 2px; margin: 2.2rem auto; background: var(--gold); }

.section { max-width: var(--max); margin: 0 auto; padding: clamp(5rem, 9vw, 9rem) clamp(1.25rem, 4vw, 3rem); }
.section-head { display: grid; grid-template-columns: .7fr 1.3fr; gap: 3rem; align-items: end; margin-bottom: 3.5rem; }
.section-head p:last-child { max-width: 34rem; margin: 0; color: var(--muted); justify-self: end; }
.dark-section { color: var(--white); background: var(--navy); }
.dark-section .section-head p:last-child, .dark-section .card p { color: rgba(255,255,255,.7); }
.dark-section .eyebrow { color: var(--gold); }
.dark-section .card { border-color: rgba(255,255,255,.2); }

.collection-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 1.2rem; }
.collection-card { position: relative; min-height: 500px; overflow: hidden; background: var(--silver); }
.collection-card:nth-child(1) { grid-column: span 7; }
.collection-card:nth-child(2) { grid-column: span 5; }
.collection-card:nth-child(3), .collection-card:nth-child(4), .collection-card:nth-child(5) { grid-column: span 4; min-height: 390px; }
.collection-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.collection-card:hover img { transform: scale(1.025); }
.collection-card::after { position: absolute; inset: 35% 0 0; background: linear-gradient(transparent, rgba(0,0,0,.78)); content: ""; }
.collection-copy { position: absolute; z-index: 2; right: 0; bottom: 0; left: 0; padding: 1.8rem; color: var(--white); }
.collection-copy span { color: var(--gold); font-size: .64rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.collection-copy h3 { margin: .45rem 0 .65rem; }

.principles { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.principle { min-height: 310px; padding: clamp(2rem, 4vw, 3.5rem); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.principle b { color: var(--gold); font-size: .72rem; letter-spacing: .16em; }
.principle h3 { margin: 3rem 0 1rem; }
.principle p { color: var(--muted); }
.wide-cta { display: grid; grid-template-columns: 1.2fr .8fr; gap: 3rem; align-items: end; max-width: var(--max); margin: 0 auto; padding: clamp(5rem, 8vw, 8rem) clamp(1.25rem, 4vw, 3rem); }
.wide-cta p { max-width: 35rem; color: rgba(255,255,255,.72); }
.wide-cta .actions { justify-content: flex-end; }
.wide-cta .button { color: var(--ink); border-color: var(--gold); background: var(--gold); }
.wide-cta .button-outline { color: var(--white); border-color: rgba(255,255,255,.55); }

.page-hero { max-width: var(--max); margin: 0 auto; padding: clamp(6rem, 11vw, 11rem) clamp(1.25rem, 4vw, 3rem) clamp(4rem, 8vw, 7rem); }
.page-hero h1 { max-width: 11ch; }
.page-hero > p:not(.eyebrow) { max-width: 45rem; margin: 2rem 0 0; color: var(--muted); font-size: 1.1rem; }
.feature-split { display: grid; grid-template-columns: 1fr 1fr; min-height: 680px; }
.feature-split.reverse .feature-image { order: 2; }
.feature-image img { width: 100%; height: 100%; object-fit: cover; }
.feature-copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(4rem, 8vw, 8rem); background: var(--white); }
.feature-copy p { max-width: 35rem; color: var(--muted); }
.feature-copy ul { margin: 1.5rem 0 0; padding: 0; list-style: none; }
.feature-copy li { padding: .8rem 0; border-bottom: 1px solid var(--line); }
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.card { padding: 2rem; border: 1px solid var(--line); }
.card h3 { margin: 3rem 0 1rem; }
.card p { color: var(--muted); }
.card .number { color: var(--gold); font-size: .7rem; font-weight: 800; letter-spacing: .18em; }

.quote-form { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; max-width: 840px; margin-top: 2.5rem; }
.quote-form label { display: grid; gap: .45rem; font-size: .7rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.quote-form .full { grid-column: 1 / -1; }
input, select, textarea { width: 100%; padding: .95rem 1rem; color: var(--ink); border: 1px solid var(--line); border-radius: 0; background: var(--white); }
textarea { resize: vertical; }
.form-status { grid-column: 1 / -1; margin: 0; color: var(--muted); font-size: .85rem; }

.faq-list { max-width: 900px; margin: 2rem auto 0; border-top: 1px solid var(--line); }
.faq-list details { padding: 1.5rem 0; border-bottom: 1px solid var(--line); }
.faq-list summary { cursor: pointer; font-family: var(--serif); font-size: 1.7rem; }
.faq-list p { max-width: 700px; color: var(--muted); }

.store-hero { display: grid; grid-template-columns: 1.3fr .7fr; gap: 3rem; max-width: var(--max); margin: 0 auto; padding: clamp(5rem, 9vw, 9rem) clamp(1.25rem, 4vw, 3rem); }
.store-hero h1 { font-size: clamp(3.8rem, 7vw, 7.5rem); }
.store-hero > div > p:last-child { max-width: 42rem; color: var(--muted); }
.store-assurance { align-self: end; padding: 2rem; color: var(--white); background: var(--navy); }
.store-assurance strong { display: block; margin: .7rem 0; font-family: var(--serif); font-size: 2rem; line-height: 1.05; }
.store-assurance span { color: var(--gold); font-size: .65rem; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
.shop-shell { max-width: 1440px; margin: 0 auto; padding: 0 clamp(1rem, 3vw, 2.5rem) 8rem; }
.shop-topbar { display: flex; align-items: end; justify-content: space-between; gap: 2rem; padding: 2rem 0; border-top: 1px solid var(--line); }
.shop-topbar h2 { font-size: 3rem; }
.category-tabs { display: flex; flex-wrap: wrap; gap: .5rem; }
.category-tabs button { padding: .65rem .85rem; border: 1px solid var(--line); background: transparent; font-size: .65rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.category-tabs button.is-active { color: var(--white); background: var(--ink); }
.shop-layout { display: grid; grid-template-columns: 1.15fr .85fr; gap: 2rem; align-items: start; }
.shop-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.shop-card { padding: 0; overflow: hidden; color: var(--ink); border: 1px solid var(--line); background: var(--white); text-align: left; }
.shop-card img { width: 100%; aspect-ratio: 1 / .78; object-fit: cover; background: var(--porcelain); }
.shop-card span, .shop-card strong, .shop-card em { display: block; margin-right: 1.1rem; margin-left: 1.1rem; }
.shop-card span { margin-top: 1rem; color: var(--gold); font-size: .6rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.shop-card strong { margin-top: .35rem; font-family: var(--serif); font-size: 1.5rem; line-height: 1.05; }
.shop-card em { margin-top: .8rem; margin-bottom: 1.1rem; font-style: normal; }
.shop-card.is-active { outline: 2px solid var(--gold); outline-offset: -2px; }
.order-studio { position: sticky; top: 102px; padding: 1.5rem; border: 1px solid var(--line); background: var(--white); }
.selected-product { display: grid; grid-template-columns: 125px 1fr; gap: 1.3rem; padding-bottom: 1.5rem; border-bottom: 1px solid var(--line); }
.selected-product img { width: 125px; height: 125px; object-fit: cover; background: var(--porcelain); }
.selected-product span { color: var(--gold); font-size: .6rem; font-weight: 800; text-transform: uppercase; }
.selected-product h2 { margin: .3rem 0; font-size: 2rem; }
.selected-product p { margin: .5rem 0; color: var(--muted); font-size: .82rem; }
.custom-order-form { display: grid; gap: .9rem; margin-top: 1.5rem; }
.custom-order-form label, .custom-order-form legend { font-size: .65rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.control-pair { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; }
.custom-order-form fieldset { margin: 0; padding: 1rem; border: 1px solid var(--line); }
.toggle-list { display: grid; gap: .7rem; margin-top: .5rem; }
.toggle-list label { display: flex; align-items: center; gap: .65rem; font-weight: 500; letter-spacing: 0; text-transform: none; }
.toggle-list input { width: auto; }
.live-preview { display: grid; gap: .35rem; margin-top: 1rem; padding: 2rem; color: var(--white); background: var(--navy); text-align: center; }
.live-preview span, .live-preview small { color: rgba(255,255,255,.65); }
.live-preview strong { font-family: var(--serif); font-size: 2.2rem; }
.checkout-card { margin-top: 1rem; padding: 1.25rem; border: 1px solid var(--line); }
.cart-heading, .checkout-card > div { display: flex; justify-content: space-between; gap: 1rem; padding: .4rem 0; font-size: .82rem; }
.cart-lines { display: block !important; margin: .5rem 0; padding: .6rem 0 !important; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.cart-lines div { display: flex; justify-content: space-between; gap: 1rem; padding: .25rem 0; }
.checkout-grand-total { margin-top: .6rem; padding-top: .9rem !important; border-top: 1px solid var(--ink); font-size: 1.1rem !important; }
.placeholder-button { width: 100%; margin-top: 1rem; padding: 1rem; color: var(--muted); border: 1px solid var(--line); background: var(--porcelain); font-size: .7rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; cursor: not-allowed; }
.placeholder-status { margin-bottom: 0; color: var(--muted); font-size: .78rem; }

.site-footer { padding: 4rem clamp(1.25rem, 4vw, 4rem) 2rem; color: var(--white); background: var(--ink); }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, .6fr); gap: 3rem; max-width: var(--max); margin: 0 auto 4rem; }
.footer-grid h3 { max-width: 11ch; font-size: 2.6rem; }
.footer-grid h4 { margin: 0 0 1rem; color: var(--gold); font-size: .65rem; letter-spacing: .15em; text-transform: uppercase; }
.footer-grid a, .footer-grid p { display: block; margin: .45rem 0; color: rgba(255,255,255,.7); font-size: .85rem; }
.footer-bottom { display: flex; justify-content: space-between; gap: 1rem; max-width: var(--max); margin: auto; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.16); color: rgba(255,255,255,.45); font-size: .7rem; }

.chat-widget { position: fixed; z-index: 70; right: 1.25rem; bottom: 1.25rem; }
.chat-toggle { min-width: 130px; padding: .9rem 1.1rem; color: var(--white); border: 0; background: var(--navy); font-size: .7rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.chat-panel { position: absolute; right: 0; bottom: 3.5rem; width: min(370px, calc(100vw - 2.5rem)); overflow: hidden; border: 1px solid var(--line); background: var(--white); box-shadow: 0 24px 80px rgba(0,0,0,.18); }
.chat-panel.is-collapsed { display: none; }
.chat-header { display: flex; justify-content: space-between; padding: 1rem; color: var(--white); background: var(--navy); }
.chat-header span { display: block; color: var(--gold); font-size: .65rem; }
.chat-close { color: var(--white); border: 0; background: transparent; }
.chat-messages { display: grid; gap: .65rem; max-height: 250px; padding: 1rem; overflow: auto; }
.message { max-width: 90%; padding: .7rem .8rem; background: var(--porcelain); font-size: .8rem; }
.message.user { justify-self: end; color: var(--white); background: var(--navy); }
.quick-prompts { display: flex; flex-wrap: wrap; gap: .35rem; padding: 0 1rem 1rem; }
.quick-prompts button { padding: .4rem .55rem; border: 1px solid var(--line); background: transparent; font-size: .68rem; }
.chat-form { display: flex; border-top: 1px solid var(--line); }
.chat-form input { border: 0; }
.chat-form button { padding: 0 1rem; color: var(--white); border: 0; background: var(--ink); }

@media (max-width: 980px) {
  .menu-toggle { display: block; }
  .site-header nav { position: absolute; top: 82px; right: 0; left: 0; display: none; flex-direction: column; align-items: stretch; padding: 1.5rem; border-bottom: 1px solid var(--line); background: var(--porcelain); }
  .site-header nav.is-open { display: flex; }
  .site-header nav a { padding: .65rem 0; }
  .store-link { padding: .75rem !important; text-align: center; }
  .hero, .feature-split, .store-hero, .shop-layout, .wide-cta { grid-template-columns: 1fr; }
  .hero-media { min-height: 540px; }
  .feature-split.reverse .feature-image { order: initial; }
  .section-head { grid-template-columns: 1fr; }
  .section-head p:last-child { justify-self: start; }
  .collection-card:nth-child(n) { grid-column: span 6; }
  .principles, .card-grid { grid-template-columns: 1fr 1fr; }
  .order-studio { position: static; }
  .wide-cta .actions { justify-content: flex-start; }
}

@media (max-width: 640px) {
  .site-header { min-height: 72px; }
  .site-header nav { top: 72px; }
  .wordmark small { display: none; }
  .hero-copy { padding-top: 5rem; padding-bottom: 5rem; }
  h1 { font-size: clamp(3.7rem, 18vw, 5.4rem); }
  .hero-media { min-height: 440px; }
  .hero-note { right: 1rem; bottom: 1rem; left: 1rem; }
  .collection-card:nth-child(n) { grid-column: 1 / -1; min-height: 420px; }
  .principles, .card-grid, .shop-grid, .quote-form, .control-pair, .footer-grid { grid-template-columns: 1fr; }
  .quote-form .full { grid-column: auto; }
  .footer-bottom, .shop-topbar { align-items: flex-start; flex-direction: column; }
  .selected-product { grid-template-columns: 90px 1fr; }
  .selected-product img { width: 90px; height: 90px; }
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; } }
