:root {
  --paper: #f7f4ee;
  --paper-deep: #eee8de;
  --white: #fffefa;
  --ink: #342a23;
  --muted: #817568;
  --line: #e7ded2;
  --accent: #5a4434;
  --accent-dark: #403127;
  --serif: Georgia, "Times New Roman", serif;
  --sans: Arial, Helvetica, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); -webkit-font-smoothing: antialiased; }
button, input, select { font: inherit; }
a { color: inherit; }
.site-header { height: 82px; padding: 0 7.2%; display: flex; align-items: center; justify-content: space-between; background: rgba(250,248,243,.96); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; }
.brand { font: 25px var(--serif); letter-spacing: 3px; text-decoration: none; white-space: nowrap; }
.brand span { font-size: .72em; letter-spacing: 4px; }
.main-nav { display: flex; align-items: center; gap: 34px; }
.main-nav a { text-decoration: none; font-size: 12px; letter-spacing: .5px; color: #5d5147; transition: color .2s; }
.main-nav a:hover, .text-link:hover { color: #9b795b; }
.main-nav .nav-cta { padding: 12px 17px; border: 1px solid #b9a997; }
.nav-cta span { margin-left: 12px; }
.menu-toggle { display: none; }
.hero { min-height: 610px; padding: 65px 10.5% 72px; display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: 7%; }
.hero-copy { padding: 20px 0 10px; }
.eyebrow { margin: 0 0 22px; color: #8b7865; font-size: 9px; font-weight: 700; letter-spacing: 2.1px; }
.hero .eyebrow span { display: inline-block; width: 24px; height: 1px; background: #9c8063; vertical-align: middle; margin-right: 9px; }
.hero h1 { margin: 0; font: 400 clamp(58px, 6.4vw, 88px)/.98 var(--serif); letter-spacing: -3px; }
h1 em, h2 em { color: #967c62; font-weight: 400; }
.hero-description { max-width: 390px; margin: 28px 0 30px; color: var(--muted); font-size: 14px; line-height: 1.9; }
.location-note { margin: -16px 0 25px; color: #9a8875; font-size: 9px; letter-spacing: 1.7px; }
.hero-actions { display: flex; align-items: center; gap: 26px; flex-wrap: wrap; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 24px; min-height: 49px; padding: 0 22px; border: 1px solid transparent; text-decoration: none; font-size: 11px; letter-spacing: .5px; cursor: pointer; transition: background .2s, transform .2s; }
.button:hover { transform: translateY(-2px); }
.button-dark { color: white; background: var(--accent); }
.button-dark:hover { background: var(--accent-dark); }
.button-light { color: var(--ink); background: #eee6da; }
.text-link { font-size: 11px; text-decoration: none; border-bottom: 1px solid #b8a590; padding-bottom: 6px; transition: color .2s; }
.text-link span { margin-left: 10px; }
.hero-footnote { margin-top: 75px; font-size: 8px; letter-spacing: 1.7px; color: #978776; display: flex; align-items: center; gap: 12px; }
.small-rule { display: inline-block; width: 29px; height: 1px; background: #ad9982; }
.hero-art { min-height: 470px; position: relative; overflow: hidden; background: #e9e2d7; display: flex; align-items: center; justify-content: center; }
.art-topline, .art-caption { position: absolute; left: 23px; right: 23px; display: flex; justify-content: space-between; color: #7b6957; font-size: 8px; letter-spacing: 1.6px; z-index: 2; }
.art-topline { top: 22px; }
.art-caption { bottom: 20px; }
.hero-garment { position: relative; z-index: 1; width: min(75%, 380px); height: 390px; filter: drop-shadow(17px 20px 12px #64534220); }
.art-orbit { position: absolute; border: 1px solid #cfc2b1; border-radius: 50%; }
.orbit-one { width: 350px; height: 350px; }
.orbit-two { width: 440px; height: 440px; }
.art-stamp { position: absolute; right: 25px; top: 82px; width: 48px; height: 48px; border: 1px solid #a8957f; border-radius: 50%; display: grid; place-content: center; text-align: center; color: #816c56; font: 15px var(--serif); line-height: .8; transform: rotate(12deg); }
.art-stamp small { font-size: 10px; }
.intro-strip { min-height: 74px; padding: 18px 8%; display: flex; align-items: center; justify-content: center; gap: clamp(20px, 5vw, 75px); background: #eae3d8; color: #766655; }
.intro-strip p { margin: 0; font-size: 8px; letter-spacing: 1.8px; text-align: center; }
.intro-strip span { color: #a58b6e; font-size: 13px; }
.section-wrap { max-width: 1180px; margin: auto; padding-left: 28px; padding-right: 28px; }
.collection-section { padding-top: 105px; padding-bottom: 105px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 35px; }
.section-heading .eyebrow { margin-bottom: 14px; }
.section-heading h2, .process-heading h2, .closing-band h2 { margin: 0; font: 400 clamp(38px, 4.5vw, 57px)/1.05 var(--serif); letter-spacing: -1.4px; }
.collection-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 17px; }
.collection-card { position: relative; display: flex; flex-direction: column; min-width: 0; min-height: 340px; padding: 0; border: 0; background: #e9e2d7; color: var(--ink); text-align: left; cursor: pointer; overflow: hidden; }
.collection-card:hover .collection-illustration { transform: translateY(-5px) scale(1.035); }
.card-coord { background: #e5e3d8; }.card-dress { background: #eadfd9; }.card-shirt { background: #e6e1d8; }
.collection-number { position: absolute; top: 17px; left: 18px; color: #8a7968; font: 12px var(--serif); z-index: 2; }
.collection-illustration { flex: 1; position: relative; display: block; min-height: 240px; transition: transform .35s; }
.collection-illustration i { position: absolute; display: block; left: 50%; top: 36px; transform: translateX(-50%); width: 105px; height: 190px; background: #a88f75; clip-path: polygon(25% 0, 42% 0, 50% 8%, 58% 0, 75% 0, 100% 24%, 84% 34%, 77% 25%, 83% 100%, 17% 100%, 23% 25%, 16% 34%, 0 24%); box-shadow: 0 10px 15px #5d493020; }
.illustration-kurti i { background: #a48c70; height: 205px; width: 100px; }
.illustration-coord i:first-child { width: 82px; height: 105px; top: 40px; left: 43%; background: #899078; clip-path: polygon(22% 0,78% 0,100% 23%,85% 38%,75% 30%,78% 100%,22% 100%,25% 30%,15% 38%,0 23%); }
.illustration-coord i:last-child { width: 91px; height: 80px; top: 125px; left: 57%; background: #899078; clip-path: polygon(8% 0,92% 0,100% 100%,58% 100%,50% 42%,42% 100%,0 100%); }
.illustration-dress i { width: 120px; height: 215px; background: #a77e73; clip-path: polygon(27% 0,43% 0,50% 8%,57% 0,73% 0,100% 23%,83% 32%,76% 24%,96% 100%,4% 100%,24% 24%,17% 32%,0 23%); }
.illustration-shirt i { width: 120px; height: 160px; background: #68717a; clip-path: polygon(22% 0,42% 0,50% 9%,58% 0,78% 0,100% 23%,83% 38%,75% 28%,78% 100%,22% 100%,25% 28%,17% 38%,0 23%); }
.collection-card-bottom { min-height: 76px; padding: 14px 17px; display: flex; align-items: center; justify-content: space-between; background: rgba(255,254,250,.72); position: relative; z-index: 2; }
.collection-card-bottom strong { display: block; font: 19px var(--serif); font-weight: 400; }
.collection-card-bottom small { display: block; margin-top: 5px; color: #897b6d; font-size: 9px; }
.collection-card-bottom b { font-weight: 400; font-size: 18px; }
.collection-note { margin: 19px 0 0; text-align: right; color: #958675; font: italic 13px var(--serif); }
.process-section { background: var(--accent-dark); color: #f7f1e8; }
.process-inner { display: grid; grid-template-columns: .9fr 1.1fr; gap: 12%; padding-top: 95px; padding-bottom: 95px; }
.process-heading .eyebrow { color: #bca58b; }
.process-heading h2 em { color: #c5ad91; }
.process-heading > p:not(.eyebrow) { max-width: 350px; color: #c9bdb0; font-size: 13px; line-height: 1.9; margin: 24px 0 28px; }
.process-steps { border-top: 1px solid #746457; }
.process-step { display: grid; grid-template-columns: 45px 1fr; gap: 20px; padding: 23px 0; border-bottom: 1px solid #746457; }
.process-step > span { color: #c5ad91; font: 15px var(--serif); }
.process-step h3 { margin: 0 0 7px; font: 20px var(--serif); font-weight: 400; }
.process-step p { margin: 0; color: #c9bdb0; font-size: 11px; line-height: 1.7; }
.designer-section { padding-top: 105px; padding-bottom: 110px; }
.designer-heading { margin-bottom: 36px; }
.designer-intro { max-width: 330px; margin: 0 0 4px; color: var(--muted); font-size: 12px; line-height: 1.8; }
.builder { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; align-items: stretch; }
.panel { padding: 28px; background: var(--white); border: 1px solid var(--line); }
.panel-heading { display: flex; gap: 14px; align-items: flex-start; padding-bottom: 22px; margin-bottom: 2px; border-bottom: 1px solid #eee8df; }
.panel-index { color: #a58d72; font: 14px var(--serif); padding-top: 2px; }
.panel-heading h3 { margin: 0; font: 23px var(--serif); font-weight: 400; }
.panel-heading p { margin: 6px 0 0; color: #978a7c; font-size: 10px; }
label, .colour-field legend { display: block; margin: 19px 0 8px; font-size: 10px; font-weight: 700; letter-spacing: .35px; }
.label-unit { color: #9a8d7f; font-weight: 400; }
select, input { width: 100%; min-height: 44px; padding: 0 12px; border: 1px solid #e2d8cb; border-radius: 0; background: #fffefa; color: var(--ink); font-size: 12px; outline: none; }
select:focus, input:focus { border-color: #9d8265; box-shadow: 0 0 0 2px #9d82651c; }
.colour-field { margin: 0; padding: 0; border: 0; }
.colour-field legend { margin-top: 19px; }
.swatches { display: flex; flex-wrap: wrap; gap: 12px; }
.swatch { width: 31px; height: 31px; padding: 0; border: 3px solid white; border-radius: 50%; background: var(--swatch); outline: 1px solid #d5cabc; cursor: pointer; }
.swatch.active { outline: 2px solid var(--accent); outline-offset: 2px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.form-grid label { margin-top: 17px; }
.measurements-block { margin-top: 27px; padding-top: 20px; border-top: 1px solid #eee8df; }
.subsection-heading { display: flex; justify-content: space-between; align-items: center; }
.subsection-heading h4 { margin: 0; font: 20px var(--serif); font-weight: 400; }
.subsection-heading span { color: #a08e7b; font-size: 8px; letter-spacing: 1.5px; }
.helper-text { margin: 8px 0 0; color: #96897b; font-size: 10px; line-height: 1.6; }
.preview-panel { display: flex; flex-direction: column; }
.preview { min-height: 390px; position: relative; display: flex; align-items: center; justify-content: center; padding: 35px 15px 20px; background: #f0ece5; overflow: hidden; }
.preview-label { position: absolute; top: 16px; left: 17px; right: 17px; display: flex; justify-content: space-between; color: #998a79; font-size: 7px; letter-spacing: 1.5px; }
.preview svg { width: min(100%, 330px); height: 350px; overflow: visible; }
.garment { fill: var(--fabric, #c9a77b); stroke: #78614b; stroke-width: 1.8; stroke-linejoin: round; }
.seam { fill: none; stroke: #8d755d; stroke-width: 1.5; stroke-linecap: round; }
.detail { fill: none; stroke: #8d755d; stroke-width: 1.3; }
.preview-caption { position: absolute; bottom: 13px; right: 17px; color: #9b8d7d; font: italic 11px var(--serif); }
.note { color: #8e8174; font-size: 10px; line-height: 1.7; }
.preview-panel > .note { margin: 13px 0 23px; }
.estimate { padding-top: 18px; border-top: 1px solid #eee8df; }
.estimate .eyebrow { margin: 0 0 8px; font-size: 8px; }
.estimate h3 { margin: 0; font: 31px var(--serif); font-weight: 400; }
.estimate .note { margin: 9px 0 0; }
.review-button { width: 100%; margin-top: 20px; }
.share-note { margin: 10px 0 0; color: #8e8174; font-size: 10px; line-height: 1.65; }
.delivery-note { display: flex; gap: 9px; margin: 14px 0 0; color: #8e8174; font-size: 10px; line-height: 1.7; }
.delivery-note span { color: #a68a6b; }
.closing-band { padding: 83px 20px 88px; background: #eae3d8; text-align: center; }
.closing-band .eyebrow { margin-bottom: 17px; }
.closing-band h2 { margin-bottom: 24px; }
.site-footer { min-height: 105px; padding: 25px 7%; display: flex; align-items: center; justify-content: space-between; gap: 20px; background: #30271f; color: #eae1d5; }
.brand-footer { font-size: 19px; }
.footer-link { color: #eae1d5; font-size: 10px; text-decoration: underline; text-underline-offset: 4px; }
.site-footer p, .site-footer > span { margin: 0; color: #bcae9e; font-size: 9px; letter-spacing: .5px; }
@media (max-width: 900px) {
  .hero { padding-left: 7%; padding-right: 7%; gap: 4%; }
  .collection-grid { grid-template-columns: repeat(2, 1fr); }
  .process-inner { gap: 7%; }
  .builder { gap: 15px; }
  .panel { padding: 22px; }
}
@media (max-width: 680px) {
  .site-header { height: 70px; padding: 0 6%; }
  .brand { font-size: 21px; letter-spacing: 2px; }
  .menu-toggle { display: flex; width: 40px; height: 40px; border: 1px solid var(--line); background: transparent; flex-direction: column; justify-content: center; align-items: center; gap: 6px; cursor: pointer; }
  .menu-toggle span { width: 16px; height: 1px; background: var(--ink); }
  .main-nav { display: none; position: absolute; top: 69px; left: 0; right: 0; padding: 20px 6% 24px; background: #faf8f3; border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; gap: 20px; }
  .main-nav.is-open { display: flex; }
  .main-nav .nav-cta { text-align: center; }
  .hero { padding: 54px 6% 55px; grid-template-columns: 1fr; gap: 38px; }
  .hero h1 { font-size: clamp(57px, 15vw, 78px); }
  .hero-description { font-size: 13px; margin: 22px 0 25px; }
  .hero-footnote { margin-top: 42px; }
  .hero-art { min-height: 390px; }
  .hero-garment { height: 330px; }
  .orbit-one { width: 280px; height: 280px; }.orbit-two { width: 350px; height: 350px; }
  .intro-strip { gap: 12px; padding: 17px 5%; flex-wrap: wrap; }
  .intro-strip p { font-size: 7px; }
  .intro-strip span { font-size: 10px; }
  .section-wrap { padding-left: 6%; padding-right: 6%; }
  .collection-section, .designer-section { padding-top: 70px; padding-bottom: 72px; }
  .section-heading { align-items: flex-start; flex-direction: column; gap: 17px; }
  .section-heading h2, .process-heading h2, .closing-band h2 { font-size: 43px; }
  .collection-grid { gap: 11px; }
  .collection-card { min-height: 270px; }
  .collection-illustration { min-height: 190px; }
  .collection-illustration i { top: 26px; transform: translateX(-50%) scale(.82); transform-origin: top center; }
  .collection-card-bottom { padding: 11px; min-height: 70px; }
  .collection-card-bottom strong { font-size: 16px; }
  .collection-card-bottom small { font-size: 8px; }
  .collection-note { text-align: left; line-height: 1.6; }
  .process-inner { grid-template-columns: 1fr; gap: 42px; padding-top: 70px; padding-bottom: 72px; }
  .process-heading > p:not(.eyebrow) { font-size: 12px; }
  .designer-intro { font-size: 11px; }
  .builder { grid-template-columns: 1fr; }
  .panel { padding: 20px; }
  .preview { min-height: 350px; }
  .preview svg { height: 320px; }
  .closing-band { padding: 68px 15px 72px; }
  .site-footer { flex-direction: column; text-align: center; padding: 30px 6%; }
}
@media (max-width: 380px) {
  .collection-card { min-height: 245px; }
  .collection-card-bottom strong { font-size: 14px; }
  .form-grid { grid-template-columns: 1fr; }
}


/* Phase 2: fabric references, additional design controls and customer photo preview */
textarea { width: 100%; min-height: 86px; padding: 12px; resize: vertical; border: 1px solid #e2d8cb; border-radius: 0; background: #fffefa; color: var(--ink); font: 12px var(--sans); line-height: 1.6; }
textarea:focus { outline: none; border-color: #9d8265; box-shadow: 0 0 0 2px #9d82651c; }
input[type="file"] { min-height: auto; padding: 10px; font-size: 11px; background: #faf8f3; }
.helper-text { margin: 8px 0 0; color: #96897b; font-size: 10px; line-height: 1.6; }
.fabric-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(82px, 1fr)); gap: 9px; margin-top: 12px; }
.gallery-empty { grid-column: 1 / -1; margin: 0; padding: 13px; border: 1px dashed #d9cdbf; color: #9a8d7f; font-size: 10px; }
.fabric-thumb { min-width: 0; padding: 5px; border: 1px solid #e2d8cb; background: #fffefa; text-align: left; cursor: pointer; }
.fabric-thumb.selected { border: 2px solid var(--accent); padding: 4px; }
.fabric-thumb img { display: block; width: 100%; height: 74px; object-fit: cover; }
.fabric-thumb span { display: block; overflow: hidden; margin-top: 5px; color: #746658; font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
.photo-upload-block { margin: 18px 0 4px; padding: 16px; border: 1px solid #eee8df; background: #faf8f3; }
.photo-upload-block label { margin-top: 0; }
.customer-photo-preview { display: grid; place-items: center; min-height: 110px; margin-top: 10px; padding: 8px; border: 1px dashed #d9cdbf; color: #9a8d7f; font-size: 10px; text-align: center; }
.customer-photo-preview img { display: block; max-width: 100%; max-height: 260px; object-fit: contain; }
.preview { background-position: center; background-repeat: no-repeat; transition: background-image .2s ease; }
@media (max-width: 680px) { .fabric-gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
