/* ==========================================================================
   Drape & Dwell — Design System
   Ivory / ink / bottle-green. Fraunces (display) + Inter (body).
   Signature motif: the pleat — vertical fold lines used as dividers,
   reveals and the mark itself.
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,300;9..144,400;9..144,500;9..144,600&family=Inter:wght@400;500;600&display=swap');

:root{
  --ivory:      #F5F1E9;
  --ivory-2:    #EEE8DB;
  --ink:        #1B1913;
  --ink-soft:   #4A473F;
  --stone:      #8C8574;
  --line:       #DFD7C4;
  --white:      #FFFFFF;
  --green:      #2E3B2A;
  --green-dark: #202B1D;
  --green-soft: #E4E9DE;

  --display: 'Fraunces', Georgia, serif;
  --body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --max: 1200px;
  --pad: clamp(24px, 6vw, 96px);

  --ease: cubic-bezier(.16,.84,.44,1);
}

*, *::before, *::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
  *, *::before, *::after{ animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}

body{
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img{ max-width: 100%; display: block; }
a{ color: inherit; text-decoration: none; }
button{ font-family: inherit; }

::selection{ background: var(--green); color: var(--ivory); }

:focus-visible{
  outline: 2px solid var(--green);
  outline-offset: 3px;
}

.wrap{
  max-width: var(--max);
  margin: 0 auto;
  padding-left: var(--pad);
  padding-right: var(--pad);
}

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

h1, h2, h3, h4{
  font-family: var(--display);
  font-weight: 500;
  letter-spacing: -0.01em;
  margin: 0;
  color: var(--ink);
}

.eyebrow{
  font-family: var(--body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--stone);
  display: flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before{
  content: '';
  width: 18px;
  height: 1px;
  background: var(--stone);
  display: inline-block;
}

.display-1{ font-size: clamp(44px, 7vw, 92px); line-height: 1.03; font-weight: 400; }
.display-2{ font-size: clamp(34px, 4.6vw, 60px); line-height: 1.08; }
.display-3{ font-size: clamp(26px, 3vw, 38px); line-height: 1.15; }

p.lede{
  font-size: clamp(18px, 1.6vw, 22px);
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 46ch;
}

p{ color: var(--ink-soft); margin: 0; }

.serif-italic{ font-style: italic; font-optical-sizing: auto; }

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

.btn{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 28px;
  border-radius: 100px;
  font-size: 15px;
  font-weight: 500;
  white-space: nowrap;
  transition: transform .45s var(--ease), background .3s ease, color .3s ease, box-shadow .3s ease;
  border: 1px solid transparent;
}
.btn-primary{
  background: var(--green);
  color: var(--ivory);
}
.btn-primary:hover{ background: var(--green-dark); transform: translateY(-2px); box-shadow: 0 10px 24px rgba(46,59,42,.25); }

.btn-ghost{
  background: transparent;
  border-color: var(--line);
  color: var(--ink);
}
.btn-ghost:hover{ border-color: var(--ink); transform: translateY(-2px); }

.btn-row{ display: flex; gap: 16px; flex-wrap: wrap; align-items: center; }

.link-arrow{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
  position: relative;
  padding-bottom: 8px;
  transition: gap .3s var(--ease);
}
.link-arrow::after{
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 6px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='6' viewBox='0 0 12 6'%3E%3Cpath d='M0 3 Q3 0 6 3 T12 3' stroke='%232E3B2A' stroke-width='1.3' fill='none'/%3E%3C/svg%3E");
  background-repeat: repeat-x;
  background-position: left center;
  opacity: 0;
  transform: translateY(-3px);
  transition: opacity .25s ease, transform .25s ease;
}
.link-arrow:hover{ gap: 13px; }
.link-arrow:hover::after{ opacity: 1; transform: translateY(0); }
.link-arrow svg{ width: 14px; height: 14px; }
.product-card .body .link-arrow{ margin-top: auto; align-self: flex-start; }

/* ---------- Nav ---------- */

.nav{
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(245,241,233,0.72);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-bottom: 1px solid rgba(27,25,19,0.07);
  transition: background .4s ease, box-shadow .4s ease;
}
.nav.scrolled{ box-shadow: 0 8px 24px rgba(27,25,19,0.06); }
.nav .wrap{
  max-width: none;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: 68px;
  gap: 24px;
  padding-left: clamp(16px, 1.5vw, 28px);
  padding-right: clamp(16px, 1.5vw, 28px);
}
.nav-mark{
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--display);
  font-size: 20px;
  letter-spacing: -0.01em;
  color: var(--ink);
  justify-self: start;
  margin-left: 55px;
  font-optical-sizing: none;
  font-variation-settings: 'opsz' 20;
}
.nav-mark svg{ width: 23px; height: 23px; }

.nav-links{
  display: flex;
  align-items: center;
  gap: 17px;
  list-style: none;
  margin: 0; padding: 0;
  font-size: 13.8px;
  font-weight: 500;
  justify-self: center;
}
.nav-links a{
  color: var(--ink-soft);
  position: relative;
  padding: 4px 0 9px;
  transition: color .25s ease;
}
.nav-links a:hover{ color: var(--ink); }
.nav-links a.active{ color: var(--ink); }
.nav-links a::after{
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 6px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='6' viewBox='0 0 12 6'%3E%3Cpath d='M0 3 Q3 0 6 3 T12 3' stroke='%232E3B2A' stroke-width='1.3' fill='none'/%3E%3C/svg%3E");
  background-repeat: repeat-x;
  background-position: left center;
  opacity: 0;
  transform: translateY(-3px);
  transition: opacity .25s ease, transform .25s ease;
}
.nav-links a:hover::after, .nav-links a.active::after{
  opacity: 1;
  transform: translateY(0);
}
.nav-cta{ display: flex; align-items: center; gap: 19px; justify-self: end; }
.nav-cta .btn{ padding: 9.5px 19px; font-size: 12.8px; }

.nav-toggle{
  display: none;
  background: none; border: none; cursor: pointer;
  width: 32px; height: 22px; position: relative;
}
.nav-toggle span{
  position: absolute; left: 0; right: 0; height: 1.5px; background: var(--ink);
  transition: transform .3s ease, opacity .3s ease, top .3s ease;
}
.nav-toggle span:nth-child(1){ top: 0; }
.nav-toggle span:nth-child(2){ top: 10px; }
.nav-toggle span:nth-child(3){ top: 20px; }

.mobile-panel{
  position: fixed;
  inset: 68px 0 0 0;
  background: var(--ivory);
  z-index: 99;
  display: none;
  flex-direction: column;
  padding: 28px var(--pad);
  gap: 4px;
  transform: translateY(-8px);
  opacity: 0;
  pointer-events: none;
  transition: transform .35s var(--ease), opacity .35s ease;
}
.mobile-panel.open{ display: flex; transform: translateY(0); opacity: 1; pointer-events: auto; }
.mobile-panel a{
  font-family: var(--display);
  font-size: 26px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
}
.mobile-panel .btn{ margin-top: 20px; align-self: flex-start; }

body.nav-open{ overflow: hidden; }

@media (max-width: 880px){
  .nav .wrap{ grid-template-columns: 1fr auto auto; }
  .nav-links{ display: none; }
  .nav-cta .btn-ghost{ display: none; }
  .nav-toggle{ display: block; }
}

/* ---------- Section scaffolding ---------- */

section{ position: relative; }
.section-pad{ padding: clamp(72px, 11vw, 160px) 0; }
.section-pad-sm{ padding: clamp(48px, 7vw, 96px) 0; }

.section-head{
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
  margin-bottom: clamp(40px, 6vw, 80px);
  flex-wrap: wrap;
}
.section-head .headline{ max-width: 640px; }
.section-head .headline .eyebrow{ margin-bottom: 18px; }

.bg-white{ background: var(--white); }
.bg-ivory-2{ background: var(--ivory-2); }
.bg-green{ background: var(--green); color: var(--ivory); }
.bg-green h1, .bg-green h2, .bg-green h3{ color: var(--ivory); }
.bg-green p{ color: rgba(245,241,233,0.72); }
.bg-green .eyebrow{ color: rgba(245,241,233,0.55); }
.bg-green .eyebrow::before{ background: rgba(245,241,233,0.4); }

/* ---------- Pleat divider — the signature motif ---------- */

.pleat-divider{
  width: 100%;
  height: 64px;
  display: block;
  color: var(--line);
}
.bg-white + .bg-ivory-2 .pleat-divider,
.bg-green .pleat-divider{ color: rgba(245,241,233,0.18); }

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

.hero{
  padding-top: clamp(150px, 22vw, 230px);
  padding-bottom: clamp(110px, 14vw, 200px);
  text-align: center;
  overflow: hidden;
  position: relative;
  background:
    linear-gradient(rgba(245,241,233,0.58), rgba(245,241,233,0.46) 55%, rgba(245,241,233,0.58)),
    url('../assets/photos/hero-bg.jpg') center 68% / cover no-repeat;
}
.hero .eyebrow{ justify-content: center; margin: 0 auto 26px; }
.hero h1{ max-width: 20ch; margin: 0 auto; }
.hero p.lede{ margin: 26px auto 0; text-align: center; }
.hero .btn-row{ justify-content: center; margin-top: 40px; }

.hero-fold{
  margin-top: clamp(56px, 8vw, 96px);
  width: 100%;
}

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

.reveal{
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
}
.reveal.in{ opacity: 1; transform: translateY(0); }
.reveal-fold{
  opacity: 0;
  transform: scaleY(0.86) translateY(24px);
  transform-origin: top;
  transition: opacity 1.1s var(--ease), transform 1.1s var(--ease);
}
.reveal-fold.in{ opacity: 1; transform: scaleY(1) translateY(0); }

.stagger > *{ transition-delay: calc(var(--i, 0) * 90ms); }

/* ---------- Product grid (Curtains / Roman Blinds cards) ---------- */

.product-grid{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  align-items: stretch;
  gap: 28px;
}
.product-grid.stagger > *{ transition-delay: 0ms !important; }
.product-grid.cols-3{ grid-template-columns: repeat(3, 1fr); }
@media (max-width: 780px){ .product-grid{ grid-template-columns: 1fr; } }

.product-card{
  background: var(--white);
  border-radius: 22px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.product-card:hover{ transform: translateY(-6px); box-shadow: 0 26px 50px rgba(27,25,19,0.1); }
.product-card .art{
  height: clamp(360px, 42vw, 520px);
  background: var(--ivory-2);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.product-card .art svg{ width: 78%; height: 78%; }
.product-card .body{ padding: 32px 30px 34px; display: flex; flex-direction: column; gap: 14px; flex: 1; }
.product-card h3{ font-size: 26px; }
.product-card p{ font-size: 15.5px; flex: 1; }

/* ---------- Steps ---------- */

.steps{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.steps.cols-4{ grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1000px){ .steps.cols-4{ grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 880px){ .steps{ grid-template-columns: 1fr; gap: 48px; } }

.step{ position: relative; padding-top: 28px; border-top: 1px solid var(--line); }
.step .num{
  font-family: var(--display);
  font-size: 15px;
  color: var(--stone);
  letter-spacing: 0.06em;
  display: block;
  margin-bottom: 18px;
}
.step h3{ font-size: 23px; margin-bottom: 12px; }
.step p{ font-size: 15.5px; }

/* Style-name cards (roman blind styles, curtain headings) — name is the
   dominant label, matching .heading-card treatment on the curtains page */
.styles-grid .num{
  font-family: var(--display);
  font-size: 21px;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: 0;
  margin-bottom: 14px;
  text-align: center;
}
.styles-grid h3{ font-family: var(--body); font-size: 14px; font-weight: 500; color: var(--ink-soft); margin-bottom: 8px; }
.styles-grid .step{ border-top: none; padding-top: 0; }
.styles-grid .step p{ max-width: 85%; }

.accessories-steps{ gap: 75px; }
.accessories-steps .step{ border-top: none; padding-top: 0; }
.accessories-steps .step-diagram{ aspect-ratio: 1.3; }
.accessories-steps .step-diagram img{ width: 100%; height: 100%; object-fit: contain; }

.step-diagram{
  margin-bottom: 22px;
}
.step-diagram img,
.step-diagram svg{
  width: 100%;
  height: auto;
  display: block;
}

/* ---------- Feature split (image/content two-col) ---------- */

.split{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 6vw, 90px);
  align-items: center;
}
.split.reverse .split-art{ order: 2; }
@media (max-width: 900px){
  .split{ grid-template-columns: 1fr; }
  .split.reverse .split-art{ order: 0; }
}
.split-art{
  aspect-ratio: 1/1;
  background: var(--ivory-2);
  border-radius: 26px;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.split-art svg{ width: 72%; height: 72%; }
.split-copy .eyebrow{ margin-bottom: 20px; }
.split-copy h2{ margin-bottom: 22px; }
.split-copy p{ font-size: 16.5px; margin-bottom: 18px; }
.split-copy ul{ list-style: none; margin: 26px 0 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.split-copy li{
  display: flex; align-items: flex-start; gap: 12px;
  font-size: 15.5px; color: var(--ink-soft);
}
.split-copy li svg{ width: 18px; height: 18px; flex-shrink: 0; margin-top: 3px; color: var(--green); }

/* ---------- Fabric / swatch strip ---------- */

.swatch-strip{
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
}
@media (max-width: 780px){ .swatch-strip{ grid-template-columns: repeat(3, 1fr); } }
.swatch{
  aspect-ratio: 1;
  border-radius: 14px;
  position: relative;
  overflow: hidden;
}
.swatch span{
  position: absolute; left: 12px; bottom: 10px;
  font-size: 11.5px; font-weight: 500; letter-spacing: .02em;
  color: rgba(255,255,255,.92);
}

/* ---------- Quote / stat band ---------- */

.stat-band{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  border-top: 1px solid rgba(245,241,233,0.18);
  padding-top: 48px;
  margin-top: 48px;
}
@media (max-width: 780px){ .stat-band{ grid-template-columns: 1fr; gap: 32px; } }
.stat .n{ font-family: var(--display); font-size: clamp(34px, 4vw, 46px); }
.stat .l{ font-size: 14px; color: rgba(245,241,233,0.6); margin-top: 8px; }

/* ---------- FAQ / accordion ---------- */

.accordion{ border-top: 1px solid var(--line); }
.accordion-item{ border-bottom: 1px solid var(--line); }
.accordion-item button{
  width: 100%;
  background: none; border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between;
  padding: 26px 0;
  text-align: left;
  font-family: var(--display);
  font-size: clamp(18px, 1.8vw, 21px);
  color: var(--ink);
}
.accordion-item .icon{
  width: 22px; height: 22px; flex-shrink: 0; position: relative; margin-left: 24px;
}
.accordion-item .icon::before, .accordion-item .icon::after{
  content: ''; position: absolute; background: var(--ink);
  top: 50%; left: 50%; transform: translate(-50%,-50%);
}
.accordion-item .icon::before{ width: 14px; height: 1.4px; }
.accordion-item .icon::after{ width: 1.4px; height: 14px; transition: transform .35s var(--ease); }
.accordion-item.open .icon::after{ transform: translate(-50%,-50%) rotate(90deg) scale(0); }
.accordion-panel{
  max-height: 0; overflow: hidden;
  transition: max-height .5s var(--ease);
}
.accordion-panel p{ padding-bottom: 26px; max-width: 62ch; font-size: 15.5px; }

/* ---------- Form ---------- */

.form-grid{ display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
@media (max-width: 700px){ .form-grid{ grid-template-columns: 1fr; } }
.field{ display: flex; flex-direction: column; gap: 8px; }
.field.full{ grid-column: 1 / -1; }
.field label{ font-size: 13.5px; font-weight: 500; color: var(--ink-soft); }
.field input, .field select, .field textarea{
  font-family: var(--body);
  font-size: 15.5px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--white);
  color: var(--ink);
  transition: border-color .25s ease;
}
.field input:focus, .field select:focus, .field textarea:focus{ border-color: var(--green); outline: none; }
.field textarea{ resize: vertical; min-height: 120px; }
.form-note{ font-size: 13px; color: var(--stone); margin-top: 18px; }

/* ---------- Contact info list ---------- */

.info-list{ display: flex; flex-direction: column; gap: 26px; }
.info-list .row{ display: flex; gap: 16px; align-items: flex-start; }
.info-list svg{ width: 20px; height: 20px; color: var(--green); margin-top: 3px; flex-shrink: 0; }
.info-list h4{ font-size: 15px; font-family: var(--body); font-weight: 600; margin-bottom: 4px; }
.info-list p{ font-size: 15px; }

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

.site-footer{ background: var(--ink); color: rgba(245,241,233,0.7); }
.footer-top{
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding: 72px 0 56px;
  border-bottom: 1px solid rgba(245,241,233,0.12);
}
@media (max-width: 780px){ .footer-top{ grid-template-columns: 1fr 1fr; } }
.footer-mark{ font-family: var(--display); font-size: 22px; color: var(--ivory); display: flex; align-items: center; gap: 10px; font-optical-sizing: none; font-variation-settings: 'opsz' 20; }

/* Fraunces' ampersand shifts shape across its optical-size axis, so at
   heading sizes it renders differently from the logo. .amp pins any
   ampersand in the display font to the same glyph the logo uses. */
.amp{ font-optical-sizing: none; font-variation-settings: 'opsz' 20; }
.footer-mark svg{ width: 22px; height: 22px; }
.footer-top p{ color: rgba(245,241,233,0.55); font-size: 14.5px; margin-top: 16px; max-width: 32ch; }
.footer-col h5{ font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: rgba(245,241,233,0.45); margin-bottom: 18px; }
.footer-col ul{ list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.footer-col a{ font-size: 14.5px; color: rgba(245,241,233,0.75); transition: color .25s ease; }
.footer-col a:hover{ color: var(--ivory); }
.footer-bottom{
  display: flex; justify-content: space-between; align-items: center;
  padding: 26px 0; font-size: 13px; color: rgba(245,241,233,0.4);
  flex-wrap: wrap; gap: 12px;
}

/* ---------- Page hero (inner pages, smaller than home) ---------- */

.page-hero{
  padding-top: clamp(140px, 18vw, 200px);
  padding-bottom: clamp(50px, 7vw, 80px);
}
.page-hero .eyebrow{ margin-bottom: 22px; }
.page-hero .lede{ margin-top: 20px; }

/* ---------- Photo gallery ---------- */

.gallery{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.gallery.gallery-2{ grid-template-columns: repeat(2, 1fr); }
.gallery a, .gallery .frame{
  display: block;
  border-radius: 18px;
  overflow: hidden;
  aspect-ratio: 4/5;
  background: var(--ivory-2);
}
.gallery img{
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .6s var(--ease);
}
.gallery a:hover img{ transform: scale(1.045); }
.gallery .tall{ grid-row: span 2; aspect-ratio: auto; }
@media (max-width: 900px){
  .gallery{ grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px){
  .gallery, .gallery.gallery-2{ grid-template-columns: 1fr 1fr; }
}

/* ---------- Fabric band (trade partner logos) ---------- */

.fabric-band{
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: nowrap;
}
.fabric-band-copy{ flex: 0 1 340px; max-width: 340px; margin-left: -60px; }
.fabric-band-copy p{ margin-top: 14px; color: var(--ink-soft); }
.fabric-logos{
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex: 1 1 auto;
  flex-wrap: nowrap;
  gap: 0;
  min-width: 0;
}
.fabric-logo{
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px 18px;
  border-left: 1px solid var(--line);
  flex: 0 1 auto;
  min-width: 0;
}
.fabric-logo:first-child{ border-left: none; padding-left: 0; }
.fabric-logo img{ display: block; height: clamp(50px, 5.5vw, 69px); width: auto; max-width: 100%; }
@media (max-width: 900px){
  .fabric-band{ flex-wrap: wrap; gap: 24px 32px; }
  .fabric-logos{ flex-wrap: wrap; justify-content: flex-start; }
}
@media (max-width: 720px){
  .fabric-logo{ padding: 4px 16px; }
  .fabric-logo img{ height: 40px; }
  .fabric-band-copy{ margin-left: 0; }
}

/* ---------- Compare panels (bespoke vs made-to-measure) ---------- */

.compare{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
@media (max-width: 860px){ .compare{ grid-template-columns: 1fr; } }
.compare-card{
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 40px 34px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.compare-card.featured{ background: var(--green); border-color: var(--green); }
.compare-card.featured h3, .compare-card.featured .price-tag{ color: var(--ivory); }
.compare-card.featured p, .compare-card.featured li{ color: rgba(245,241,233,0.78); }
.compare-card.featured li svg{ color: var(--ivory); }
.compare-card .price-tag{
  font-family: var(--body); font-size: 13px; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--stone);
}
.compare-card h3{ font-size: 28px; }
.compare-card ul{ list-style: none; margin: 6px 0 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.compare-card li{ display: flex; gap: 10px; align-items: flex-start; font-size: 15px; color: var(--ink-soft); }
.compare-card li svg{ width: 17px; height: 17px; flex-shrink: 0; margin-top: 3px; color: var(--green); }
.compare-card .btn{ align-self: flex-start; margin-top: 10px; }


.center{ text-align: center; }
.mx-auto{ margin-left: auto; margin-right: auto; }
.mt-8{ margin-top: 8px; }
.mt-16{ margin-top: 16px; }
.mt-24{ margin-top: 24px; }
.mt-40{ margin-top: 40px; }

/* ---------- Curtain hero (copy left, photo bleeds right & fades left) ---------- */

.curtain-hero{
  position: relative;
  display: grid;
  grid-template-columns: 44% 56%;
  align-items: stretch;
  min-height: clamp(600px, 52vw, 720px);
  background: #F2EADB;
  overflow: hidden;
}
.curtain-hero-copy{
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100%;
  max-width: 660px;
  padding: clamp(72px, 8vw, 100px) clamp(24px, 4vw, 48px) clamp(40px, 6vw, 56px) clamp(64px, 7.5vw, 100px);
  position: relative;
  z-index: 2;
  box-sizing: border-box;
}
.curtain-hero-copy h1{
  font-size: clamp(42px, 4.8vw, 62px);
  line-height: 1.1;
}
.curtain-hero-copy .lede{
  margin-top: 16px;
  max-width: 38ch;
  font-size: clamp(15px, 1vw, 16px);
  line-height: 1.48;
}
.curtain-hero-copy .btn-row{ margin-top: 24px; gap: 10px; flex-wrap: nowrap; }
.curtain-hero-art{ position: relative; }
.curtain-hero-art img{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 78% 15%;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, rgba(0,0,0,.55) 10%, #000 22%);
  mask-image: linear-gradient(to right, transparent 0%, rgba(0,0,0,.55) 10%, #000 22%);
}
.curtain-hero-wave{
  position: absolute;
  left: 0; right: 0;
  top: calc(-1 * clamp(60px, 8vw, 100px));
  width: 100%;
  height: clamp(60px, 8vw, 100px);
  z-index: 1;
  color: var(--ivory);
  pointer-events: none;
}
.heading-styles-section{ position: relative; background: var(--ivory); padding-top: clamp(20px, 3vw, 40px); padding-bottom: clamp(48px, 6vw, 88px); }
.heading-styles-section.roman-styles-section{ background: var(--white); }
.roman-styles-section .curtain-hero-wave{ color: var(--white); }
.accessories-section .curtain-hero-wave{ color: var(--white); }
.accessories-section{ position: relative; padding-top: clamp(20px, 3vw, 40px); }
.heading-styles-section .wrap{
  max-width: 1280px;
  margin: 0 auto;
  padding-left: clamp(16px, 3vw, 32px);
  padding-right: clamp(16px, 3vw, 32px);
}
.heading-styles-section .section-head .headline{ max-width: 780px; }
.heading-styles-section .section-head h2{ font-size: clamp(22px, 2.15vw, 33px); line-height: 1.08; }
.heading-styles-section .section-head .lede{ font-size: clamp(15px, 1.15vw, 17px); line-height: 1.42; margin-top: 8px; }
.heading-styles-section .headline .eyebrow{ margin-bottom: 8px; }
.heading-styles-section .section-head{ margin-bottom: clamp(14px, 1.8vw, 24px); }
@media (max-width: 900px){
  .curtain-hero{ grid-template-columns: 1fr; min-height: auto; }
  .curtain-hero-copy{ padding: clamp(110px, 20vw, 150px) 20px 48px; max-width: none; }
  .curtain-hero-copy h1{ max-width: none; }
  .curtain-hero-copy .btn-row{ flex-wrap: wrap; }
  .curtain-hero-art{ height: clamp(260px, 55vw, 380px); order: -1; }
  .curtain-hero-art img{ -webkit-mask-image: none; mask-image: none; }
}

/* ---------- Heading style carousel ---------- */



.heading-carousel{
  display: flex;
  align-items: center;
  gap: 14px;
}
.carousel-arrow{
  flex: none;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--ivory);
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background .25s ease, border-color .25s ease, color .25s ease, opacity .25s ease;
}
.carousel-arrow svg{ width: 18px; height: 18px; }
.carousel-arrow:hover{ background: var(--ink); border-color: var(--ink); color: var(--ivory); }
.carousel-arrow:disabled{ opacity: .35; cursor: default; }
.carousel-arrow:disabled:hover{ background: var(--ivory); border-color: var(--line); color: var(--ink); }

.heading-track{
  display: flex;
  gap: 24px;
  flex: 1;
  min-width: 0;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 4px 2px 10px;
  scrollbar-width: none;
}
.heading-track::-webkit-scrollbar{ display: none; }
.heading-card{
  flex: 0 0 240px;
  width: 240px;
  box-sizing: border-box;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
}
.heading-card-img{
  width: 100%;
  margin-bottom: 14px;
}
.heading-card-img img{ display: block; width: 100%; height: auto; }
.heading-card .num{
  font-family: var(--display);
  font-size: 21px;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: 0;
  display: block;
  margin-bottom: 4px;
}
.heading-card h3{ font-family: var(--body); font-size: 14px; font-weight: 500; color: var(--ink-soft); margin-bottom: 8px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.heading-card h3 .amp{ font-family: var(--body); font-style: normal; }
.heading-card p{ font-size: 14px; line-height: 1.42; color: var(--ink-soft); overflow-wrap: break-word; }
@media (max-width: 640px){
  .carousel-arrow{ width: 40px; height: 40px; }
  .heading-card{ flex: 0 0 190px; width: 190px; }
}

/* ---------- Detail section (full-bleed image + copy) ---------- */

.photo-band{ width: 100%; overflow: hidden; line-height: 0; }
.photo-band img{ width: 100%; height: auto; display: block; }

.detail-split-section{ overflow: hidden; }
.detail-split{
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  min-height: clamp(420px, 42vw, 560px);
}
.detail-split-art{ position: relative; }
.detail-split-art img{ position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.detail-split-art.top-align img{ object-position: center top; }
.detail-split-copy{
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(40px, 6vw, 80px) clamp(24px, 6vw, 96px);
}
.detail-split-copy p:not(.eyebrow){ margin-top: 20px; max-width: 46ch; }
@media (max-width: 900px){
  .detail-split{ grid-template-columns: 1fr; }
  .detail-split-art{ height: clamp(260px, 70vw, 400px); }
}

/* ---------- Crafted by hand ---------- */

.craft-section{ padding: clamp(48px, 6vw, 88px) 0; }
.craft-head{ text-align: center; max-width: 720px; margin: 0 auto clamp(32px, 4.5vw, 48px); }
.craft-head h2{ margin-top: 8px; font-size: clamp(24px, 2.6vw, 38px); line-height: 1.15; white-space: normal; }
.craft-grid{
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: clamp(16px, 2.5vw, 28px);
}
.craft-item h3{ font-family: var(--body); font-size: 16px; font-weight: 600; color: var(--ivory); margin-bottom: 8px; }
.craft-item p{ font-size: 14px; line-height: 1.45; }
.craft-img{
  aspect-ratio: 1/1;
  border-radius: 14px;
  margin-bottom: 18px;
  background: rgba(245,241,233,0.06);
  border: 1px dashed rgba(245,241,233,0.22);
}
@media (max-width: 900px){
  .craft-grid{ grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px){
  .craft-grid{ grid-template-columns: 1fr 1fr; gap: 20px; }
}
