@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,600;0,700;1,600&family=DM+Sans:wght@400;500;600;700&family=JetBrains+Mono:wght@400;600;700&display=swap');
:root {
  --bg-linen: #FAF7F2;
  --bg-satin: #EFE8DC;
  --bg-card: #FFFFFF;
  --espresso: #231F20;
  --muted-taupe: #635B54;
  --terracotta: #A84A32;
  --olive-twill: #5B684F;
  --stitch-border: #D8CFC2;
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'DM Sans', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-family: var(--font-sans); background: var(--bg-linen); color: var(--espresso); line-height: 1.62; }
body { overflow-x: hidden; }
h1, h2, h3, .hero-title, .section-title { font-family: var(--font-display); text-wrap: balance; line-height: 1.08; }
p, li { text-wrap: pretty; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
:focus-visible { outline: 2px solid var(--terracotta); outline-offset: 3px; }

/* UNIQUE HEADER: COUTURE SEAMSTRESS MEASURING-TAPE & WOVEN CARE-LABEL MASTHEAD */
.tailor-tape-atelier-header {
  background: var(--bg-linen); border-bottom: 2px solid var(--espresso);
  position: sticky; top: 0; z-index: 1000;
}
.seamstress-ruler-bar {
  background: #F3DF99; color: var(--espresso); border-bottom: 1.5px solid var(--espresso);
  padding: 5px 24px; display: flex; justify-content: space-between; align-items: center;
  font-family: var(--font-mono); font-size: 0.68rem; font-weight: 700;
  background-image: repeating-linear-gradient(90deg, transparent, transparent 19px, rgba(35,31,32,0.22) 19px, rgba(35,31,32,0.22) 20px);
}
.woven-header-main {
  max-width: 1400px; margin: 0 auto; padding: 12px 24px;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.woven-neck-label {
  display: flex; align-items: center; gap: 12px; padding: 7px 16px;
  background: #FFF; border: 1.5px dashed var(--espresso); border-radius: 4px;
  box-shadow: 0 3px 10px rgba(35,31,32,0.06);
}
.couture-nav { display: flex; align-items: center; gap: 6px; }
.couture-link, .couture-drop-btn {
  min-height: 44px; padding: 8px 14px; border-radius: 999px;
  background: transparent; border: 1px solid transparent;
  font-family: var(--font-sans); font-size: 0.84rem; font-weight: 600; color: var(--espresso);
  cursor: pointer; display: inline-flex; align-items: center; gap: 5px;
}
.couture-link:hover, .couture-drop-btn:hover {
  background: var(--bg-satin); border-color: var(--espresso);
}
.couture-drop { position: relative; }
.couture-drop-menu {
  position: absolute; top: 100%; left: 0; min-width: 280px; background: #FFF;
  border: 1.5px solid var(--espresso); border-radius: 12px; padding: 8px;
  display: none; flex-direction: column; gap: 4px; box-shadow: 0 16px 36px rgba(35,31,32,0.14);
}
.couture-drop:hover .couture-drop-menu, .couture-drop:focus-within .couture-drop-menu { display: flex; }
.couture-drop-menu a {
  padding: 9px 12px; font-size: 0.82rem; font-weight: 500; border-radius: 6px;
}
.couture-drop-menu a:hover { background: var(--terracotta); color: #FFF; }

.atelier-cta {
  background: var(--terracotta); color: #FFF; font-family: var(--font-mono); font-weight: 700;
  font-size: 0.75rem; min-height: 44px; padding: 10px 18px; border-radius: 999px;
  border: 1.5px solid var(--espresso); display: inline-flex; align-items: center; gap: 6px;
}
#mobileMenuToggle {
  display: none; min-height: 44px; padding: 8px 14px; background: var(--espresso); color: #FFF;
  font-family: var(--font-mono); font-weight: 700; border: none; border-radius: 6px; cursor: pointer;
}
#mobileDrawer {
  display: none; position: fixed; inset: 0; background: var(--bg-linen); color: var(--espresso); z-index: 1050;
  padding: 28px; flex-direction: column; gap: 10px; overflow-y: auto;
}
#mobileDrawer.open { display: flex; }
#mobileDrawer a { padding: 12px; border-bottom: 1px solid var(--stitch-border); font-weight: 600; }

/* UNIQUE FIRST SCREEN: 4-FABRIC COUTURE DRAPE, GSM & CAPSULE WORKBENCH */
.lookbook-drape-workbench {
  max-width: 1380px; margin: 24px auto 44px; padding: 0 24px;
}
.atelier-frame {
  background: #FFF; border: 2px solid var(--espresso); border-radius: 20px;
  overflow: hidden; box-shadow: 0 20px 50px rgba(35,31,32,0.08);
}
.fabric-swatch-tabs {
  display: grid; grid-template-columns: repeat(4, 1fr); background: var(--bg-satin);
  border-bottom: 2px solid var(--espresso);
}
.swatch-tab-btn {
  min-height: 68px; padding: 12px 16px; border: none; border-right: 1.5px solid var(--espresso);
  background: transparent; text-align: left; cursor: pointer; transition: all 0.2s;
}
.swatch-tab-btn:last-child { border-right: none; }
.swatch-tab-btn.active { background: var(--espresso); color: #FFF; }
.swatch-tab-btn small {
  display: block; font-family: var(--font-mono); font-size: 0.66rem; color: var(--terracotta); font-weight: 700;
}
.swatch-tab-btn.active small { color: #F3DF99; }
.swatch-tab-btn strong {
  font-family: var(--font-display); font-size: 1.18rem;
}

.drape-stage-grid {
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 32px; padding: 34px; align-items: center;
}
.kicker-stitch {
  display: inline-block; font-family: var(--font-mono); font-size: 0.71rem; font-weight: 700;
  color: var(--terracotta); background: rgba(168,74,50,0.1); border: 1px dashed var(--terracotta);
  padding: 5px 12px; border-radius: 4px; margin-bottom: 12px;
}
.hero-title { font-size: clamp(2.1rem, 3.3vw, 3.1rem); margin-bottom: 14px; }
.ficha-tecnica-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin: 20px 0;
}
.ficha-box {
  background: var(--bg-linen); border: 1.5px dashed var(--espresso); border-radius: 10px; padding: 12px 14px;
}
.ficha-box span {
  display: block; font-family: var(--font-mono); font-size: 0.65rem; color: var(--muted-taupe); margin-bottom: 3px;
}
.ficha-box strong { font-size: 0.9rem; color: var(--espresso); }

.showroom-visual-frame {
  position: relative; border-radius: 14px; overflow: hidden; border: 2px solid var(--espresso);
}
.showroom-visual-frame img { width: 100%; height: 420px; object-fit: cover; }
.care-label-tag {
  position: absolute; bottom: 16px; right: 16px; background: #FFF; color: var(--espresso);
  border: 1.5px dashed var(--espresso); padding: 10px 16px; border-radius: 6px;
  font-family: var(--font-mono); font-weight: 700; font-size: 0.85rem;
  box-shadow: 0 8px 24px rgba(0,0,0,0.18);
}

.section-block, .section-alt { max-width: 1340px; margin: 0 auto; padding: 58px 24px; }
.section-alt {
  content-visibility: auto; contain-intrinsic-size: auto 520px;
  background: #FFF; border: 1.5px solid var(--espresso); border-radius: 20px; margin-bottom: 38px;
}
.section-title { font-size: clamp(1.9rem, 2.7vw, 2.6rem); margin-bottom: 14px; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 22px; margin-top: 24px; }
.card-atelier {
  background: var(--bg-linen); border: 1.5px solid var(--espresso); border-radius: 14px;
  overflow: hidden; display: flex; flex-direction: column;
}
.card-atelier img { width: 100%; height: 225px; object-fit: cover; border-bottom: 1.5px solid var(--espresso); }
.card-body { padding: 20px; flex: 1; display: flex; flex-direction: column; gap: 10px; }

.btn-primary, .btn-outline, .header-cta {
  display: inline-flex; align-items: center; justify-content: center; min-height: 46px;
  padding: 10px 22px; border-radius: 999px; font-family: var(--font-mono); font-size: 0.77rem; font-weight: 700; cursor: pointer;
}
.btn-primary { background: var(--terracotta); color: #FFF; border: 1.5px solid var(--espresso); }
.btn-outline { background: #FFF; color: var(--espresso); border: 1.5px solid var(--espresso); }

.calc-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 24px; margin-top: 22px; }
.calc-box { background: var(--bg-linen); border: 1.5px dashed var(--espresso); border-radius: 14px; padding: 24px; }
.control-group { margin-bottom: 14px; }
.control-group label { display: block; font-family: var(--font-mono); font-size: 0.74rem; font-weight: 700; margin-bottom: 6px; }
.form-input, select {
  width: 100%; min-height: 46px; padding: 10px 12px; border-radius: 8px;
  border: 1.5px solid var(--espresso); background: #FFF; font-family: var(--font-sans); color: var(--espresso);
}
.form-input:user-valid { border-color: #10B981; }
.form-input:user-invalid { border-color: #EF4444; }
.price-big { font-family: var(--font-display); font-size: 2.5rem; font-weight: 700; color: var(--terracotta); margin: 8px 0; }
.spec-table { width: 100%; border-collapse: collapse; margin-top: 20px; font-size: 0.86rem; }
.spec-table th, .spec-table td { padding: 12px; border: 1.5px solid var(--espresso); text-align: left; }
.spec-table th { background: var(--espresso); color: #FFF; font-family: var(--font-mono); font-size: 0.74rem; }

.accordion-item { border: 1.5px solid var(--espresso); border-radius: 10px; margin-bottom: 10px; background: #FFF; }
.accordion-header {
  width: 100%; min-height: 48px; padding: 14px 18px; background: none; border: none;
  color: var(--espresso); font-weight: 700; text-align: left; display: flex; justify-content: space-between; align-items: center; cursor: pointer;
}
.accordion-body { padding: 0 18px 16px; display: none; color: var(--muted-taupe); font-size: 0.9rem; }
.accordion-item.open .accordion-body { display: block; }

.site-footer {
  content-visibility: auto; contain-intrinsic-size: auto 420px;
  background: var(--espresso); color: #E7E0D6; padding: 54px 24px; margin-top: 44px;
}
.footer-inner { max-width: 1340px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 26px; }
.cookie-banner {
  position: fixed; bottom: 18px; right: 20px; max-width: 430px; background: #FFF; color: var(--espresso);
  border: 2px solid var(--espresso); border-radius: 12px; padding: 16px; z-index: 995; font-size: 0.8rem;
  box-shadow: 0 16px 36px rgba(0,0,0,0.2);
}
@media (max-width: 1040px) {
  .couture-nav, .seamstress-ruler-bar { display: none; }
  #mobileMenuToggle { display: inline-flex; align-items: center; }
  .fabric-swatch-tabs { grid-template-columns: repeat(2, 1fr); }
  .drape-stage-grid, .calc-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* RADICAL REDESIGN 3: VOGUE EDITORIAL WORDMARK & 3-COLUMN ARCH RUNWAY TRIPTYCH */
.editorial-magazine-masthead {
  background: #FAF6F0; border-bottom: 1px solid #1C1917; position: sticky; top: 0; z-index: 1000;
}
.magazine-giant-title-row {
  max-width: 1400px; margin: 0 auto; padding: 12px 24px 6px;
  display: flex; justify-content: space-between; align-items: baseline; border-bottom: 1px solid #D6CFC7;
}
.magazine-wordmark {
  font-family: var(--font-display); font-size: clamp(1.8rem, 3.4vw, 3.1rem); letter-spacing: 0.18em;
  font-weight: 600; color: #1C1917; text-transform: uppercase;
}
.magazine-catwalk-strip {
  max-width: 1400px; margin: 0 auto; padding: 8px 24px;
  display: flex; justify-content: space-between; align-items: center; gap: 14px;
  font-family: var(--font-mono); font-size: 0.72rem;
}
.runway-triptych-stage {
  max-width: 1380px; margin: 28px auto 52px; padding: 0 24px;
}
.triptych-columns {
  display: grid; grid-template-columns: 0.72fr 1.15fr 1.13fr; gap: 28px; align-items: stretch;
}
.triptych-left-swatches {
  border-top: 2px solid #1C1917; border-bottom: 2px solid #1C1917; padding: 22px 0;
  display: flex; flex-direction: column; justify-content: space-between; gap: 12px;
}
.swatch-selector-row {
  display: flex; align-items: center; gap: 12px; padding: 10px 12px; background: transparent;
  border: 1px solid #D6CFC7; cursor: pointer; text-align: left; transition: all 0.2s;
}
.swatch-selector-row.active {
  background: #1C1917; color: #FAF6F0; border-color: #1C1917;
}
.swatch-circle-dot {
  width: 28px; height: 28px; border-radius: 50%; border: 1.5px solid #1C1917; flex-shrink: 0;
}
.triptych-center-arch {
  position: relative; border-radius: 240px 240px 12px 12px; overflow: hidden;
  border: 1.5px solid #1C1917; min-height: 510px; background: #E7DFD5;
}
.triptych-center-arch img { width: 100%; height: 100%; object-fit: cover; }
.woven-care-label-float {
  position: absolute; bottom: 18px; left: 18px; right: 18px;
  background: rgba(250,246,240,0.95); border: 1px dashed #1C1917; padding: 12px 16px;
  font-family: var(--font-mono); font-size: 0.72rem;
}
.triptych-right-manifesto {
  display: flex; flex-direction: column; justify-content: center; padding: 10px 0;
}
.couture-spec-ledger {
  border-top: 1px solid #1C1917; margin: 18px 0;
}
.couture-ledger-row {
  display: flex; justify-content: space-between; gap: 14px; padding: 10px 0;
  border-bottom: 1px solid #D6CFC7; font-size: 0.84rem;
}
.couture-ledger-row span { font-family: var(--font-mono); font-size: 0.68rem; color: #6B5E53; }
@media (max-width: 1040px) {
  .triptych-columns { grid-template-columns: 1fr; }
  .magazine-catwalk-strip nav { display: none; }
}

/* COOKIE_DIFF_APPLIED */
.cookie-banner { left: 50% !important; right: auto !important; transform: translateX(-50%); bottom: 14px !important; max-width: 860px !important; width: 92%; border-radius: 999px !important; padding: 10px 24px !important; display: flex; align-items: center; justify-content: space-between; gap: 16px; background: #1C1917 !important; color: #FAF6F0 !important; } .cookie-banner p { margin: 0 !important; font-size: 0.76rem; } .cookie-banner button { width: auto !important; flex-shrink: 0; }
