:root {
  --ink: #272522;
  --paper: #fffaf2;
  --cream: #f4e7d2;
  --coral: #c85d48;
  --coral-dark: #9e3f30;
  --teal: #176c68;
  --sun: #e7a82e;
  --rose: #e5a1a0;
  --line: rgba(39, 37, 34, .14);
  --shadow: 0 16px 45px rgba(59, 39, 24, .10);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: "DM Sans", sans-serif; }
button, input, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
.shell { width: min(1160px, calc(100% - 40px)); margin-inline: auto; }
.hero { overflow: hidden; min-height: 720px; background: radial-gradient(circle at 78% 24%, rgba(231,168,46,.22), transparent 24%), linear-gradient(135deg, #fffaf2 25%, #f6e8d8 100%); border-bottom: 1px solid var(--line); }
.nav { height: 98px; display: flex; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: inherit; text-decoration: none; letter-spacing: .14em; }
.brand strong { display: block; font-family: "Fraunces", serif; font-size: 20px; }
.brand small { display: block; margin-top: 2px; color: var(--coral-dark); font-size: 9px; font-weight: 700; letter-spacing: .26em; text-transform: uppercase; }
.brand-mark { display: grid; place-items: center; width: 39px; height: 39px; border-radius: 50%; color: var(--paper); background: var(--coral); font-size: 19px; }
.nav-link { color: var(--ink); font-size: 14px; font-weight: 700; text-underline-offset: 6px; }
.hero-content { min-height: 600px; display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 72px; padding-block: 54px 100px; }
.eyebrow { margin: 0 0 14px; color: var(--coral-dark); font-size: 12px; font-weight: 800; letter-spacing: .18em; }
h1, h2 { margin: 0; font-family: "Fraunces", serif; line-height: .98; letter-spacing: -.04em; }
h1 { max-width: 720px; font-size: clamp(54px, 7vw, 88px); }
h1 em { color: var(--coral); font-weight: inherit; }
.lead { max-width: 620px; margin: 26px 0 32px; color: #5e5750; font-size: 18px; line-height: 1.7; }
.button { min-height: 52px; display: inline-flex; align-items: center; justify-content: center; gap: 16px; padding: 0 22px; border: 1px solid transparent; border-radius: 999px; cursor: pointer; text-decoration: none; font-weight: 700; transition: transform .18s ease, background .18s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: white; background: var(--teal); }
.button-primary:hover { background: #105a57; }
.button-secondary { color: var(--ink); background: white; border-color: var(--line); }
.microcopy { margin: 15px 0 0; color: #746c63; font-size: 12px; }
.hero-art { position: relative; min-height: 470px; }
.sun { position: absolute; top: 12px; right: 26px; width: 190px; height: 190px; border-radius: 50%; background: var(--sun); box-shadow: 0 0 0 18px rgba(231,168,46,.14); }
.sun span, .sun::before, .sun::after { content: ""; position: absolute; inset: -36px 85px; background: var(--sun); border-radius: 4px; }
.sun::before { transform: rotate(60deg); }
.sun::after { transform: rotate(120deg); }
.arch { position: absolute; display: grid; place-items: end center; padding-bottom: 40px; border-radius: 150px 150px 22px 22px; color: white; box-shadow: var(--shadow); font-family: "Fraunces", serif; text-align: center; line-height: 1.1; letter-spacing: .08em; }
.arch-one { width: 245px; height: 355px; left: 28px; bottom: 8px; background: var(--teal); transform: rotate(-4deg); }
.arch-two { width: 195px; height: 290px; right: 6px; bottom: 45px; background: var(--coral); transform: rotate(6deg); }
.arch::before { content: ""; position: absolute; top: 38px; width: 90px; height: 90px; border: 3px solid currentColor; border-radius: 50%; opacity: .48; }
.floral { position: absolute; z-index: 3; width: 190px; left: 170px; top: 88px; fill: none; stroke: var(--paper); stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 5px 4px rgba(0,0,0,.12)); }
.stamp { position: absolute; z-index: 4; right: 112px; bottom: 2px; display: grid; place-items: center; width: 104px; height: 104px; border: 2px solid var(--ink); border-radius: 50%; background: var(--paper); font-size: 12px; font-weight: 800; letter-spacing: .08em; text-align: center; text-transform: uppercase; transform: rotate(-8deg); }

.catalog { padding-block: 108px 120px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 42px; margin-bottom: 48px; }
.section-heading h2, .promise h2, dialog h2 { font-size: clamp(40px, 5vw, 64px); }
.section-heading > p { max-width: 440px; margin: 0; color: #6b635c; line-height: 1.65; }
.step-label { display: flex; align-items: center; gap: 10px; margin: 30px 0 18px; font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.step-label span { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; color: white; background: var(--coral); }
.filter-row { display: flex; gap: 9px; overflow-x: auto; padding: 2px 2px 14px; scrollbar-width: none; }
.filter-row::-webkit-scrollbar { display: none; }
.chip { flex: none; padding: 10px 15px; border: 1px solid var(--line); border-radius: 999px; color: #5d564f; background: transparent; cursor: pointer; font-weight: 600; }
.chip.active { color: white; border-color: var(--ink); background: var(--ink); }
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 16px; }
.product-card { position: relative; overflow: hidden; min-height: 340px; display: flex; flex-direction: column; padding: 0; border: 1px solid var(--line); border-radius: 24px; background: white; box-shadow: 0 8px 26px rgba(67,47,31,.06); text-align: left; cursor: pointer; transition: transform .2s ease, box-shadow .2s ease, border .2s ease; }
.product-card:hover, .product-card:focus-visible { transform: translateY(-5px); border-color: rgba(23,108,104,.5); box-shadow: var(--shadow); outline: none; }
.product-card.selected { border: 2px solid var(--teal); }
.product-visual { min-height: 175px; display: grid; place-items: center; background: var(--visual-bg, var(--cream)); }
.product-icon { display: grid; place-items: center; width: 108px; height: 108px; border: 2px solid rgba(39,37,34,.72); color: var(--ink); background: rgba(255,255,255,.44); font-family: "Fraunces", serif; font-size: 42px; transform: rotate(-3deg); }
.product-icon.round { border-radius: 50%; }
.product-icon.soft { border-radius: 25px; }
.photo-label { position: absolute; top: 14px; right: 14px; padding: 6px 9px; border-radius: 999px; color: #57504a; background: rgba(255,250,242,.9); font-size: 10px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.product-copy { flex: 1; display: flex; flex-direction: column; padding: 20px; }
.product-copy h3 { margin: 0; font-family: "Fraunces", serif; font-size: 23px; line-height: 1.12; }
.product-copy p { margin: 9px 0 18px; color: #6f665f; font-size: 13px; line-height: 1.5; }
.product-meta { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 12px; font-weight: 700; }
.price-open { color: var(--coral-dark); }
.arrow { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; color: white; background: var(--teal); }
.configurator { margin-top: 46px; padding: 36px; border: 1px solid var(--line); border-radius: 28px; background: #fffdf9; box-shadow: var(--shadow); scroll-margin-top: 22px; }
.config-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; border-bottom: 1px solid var(--line); padding-bottom: 26px; }
.config-head .step-label { margin-top: 0; }
.config-head h3 { margin: 0; font-family: "Fraunces", serif; font-size: 34px; }
.text-button { padding: 8px 0; border: 0; border-bottom: 1px solid currentColor; color: var(--teal); background: none; cursor: pointer; font-weight: 700; }
.choice-block { margin-top: 28px; }
.choice-title { margin: 0 0 13px; font-weight: 800; }
.choice-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.choice { position: relative; min-height: 104px; display: flex; padding: 17px; border: 1px solid var(--line); border-radius: 16px; cursor: pointer; }
.choice:has(input:checked) { border-color: var(--teal); background: rgba(23,108,104,.06); box-shadow: inset 0 0 0 1px var(--teal); }
.choice input { width: 18px; height: 18px; margin: 2px 11px 0 0; accent-color: var(--teal); }
.choice strong, .choice small { display: block; }
.choice strong { margin-bottom: 4px; }
.choice small { color: #756d65; line-height: 1.45; }
.info-note { margin: 28px 0 36px; padding: 16px 18px; border-left: 4px solid var(--sun); border-radius: 8px; background: #fff6dd; color: #615640; font-size: 14px; line-height: 1.55; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-grid label { display: grid; gap: 7px; font-size: 13px; font-weight: 700; }
.form-grid .wide { grid-column: 1 / -1; }
input, textarea { width: 100%; padding: 14px 15px; border: 1px solid var(--line); border-radius: 12px; color: var(--ink); background: white; outline: none; }
input:focus, textarea:focus { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(23,108,104,.1); }
textarea { resize: vertical; }
.consent { display: flex; align-items: start; gap: 10px; margin: 20px 0; color: #645c55; font-size: 13px; line-height: 1.5; }
.consent input { flex: none; width: 18px; height: 18px; margin-top: 1px; accent-color: var(--teal); }
.form-actions { display: flex; align-items: center; gap: 18px; }
.form-error { margin: 0; color: #a33127; font-size: 13px; font-weight: 700; }

.promise { padding: 105px 0; color: white; background: var(--teal); }
.promise .eyebrow { color: #f7d98a; }
.promise-inner { display: grid; grid-template-columns: .85fr 1.15fr; gap: 70px; }
.promise-list { display: grid; gap: 10px; }
.promise-list article { display: flex; gap: 18px; padding: 18px 0; border-bottom: 1px solid rgba(255,255,255,.2); }
.promise-list article > span { color: #f7d98a; font-family: "Fraunces", serif; font-size: 26px; }
.promise-list h3 { margin: 0 0 5px; font-size: 17px; }
.promise-list p { margin: 0; color: rgba(255,255,255,.75); }
.honesty { grid-column: 1 / -1; margin: 16px 0 0; padding: 17px 20px; border: 1px solid rgba(255,255,255,.18); border-radius: 14px; color: rgba(255,255,255,.82); background: rgba(255,255,255,.07); font-size: 13px; }
footer { padding: 30px 0; background: #173f3d; color: white; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand-footer small { color: #f7d98a; }
.footer-inner p { color: rgba(255,255,255,.65); font-size: 13px; }
.footer-inner a { color: white; font-size: 13px; }

dialog { width: min(680px, calc(100% - 28px)); max-height: calc(100vh - 28px); padding: 34px; border: 0; border-radius: 26px; color: var(--ink); background: var(--paper); box-shadow: 0 30px 90px rgba(0,0,0,.32); }
dialog::backdrop { background: rgba(23,27,26,.65); backdrop-filter: blur(4px); }
.dialog-close { position: absolute; top: 16px; right: 16px; width: 38px; height: 38px; border: 0; border-radius: 50%; background: var(--cream); cursor: pointer; font-size: 24px; }
.dialog-intro { color: #69615a; line-height: 1.55; }
pre { overflow: auto; max-height: 310px; margin: 20px 0; padding: 18px; border: 1px solid var(--line); border-radius: 14px; white-space: pre-wrap; color: #3d3935; background: white; font: 13px/1.6 "DM Sans", sans-serif; }
.dialog-actions { display: flex; gap: 10px; }
.dialog-actions .button-primary { flex: 1.5; }
.send-note { margin: 12px 0 0; color: #756d65; font-size: 11px; line-height: 1.45; }
.copy-status { min-height: 20px; margin-bottom: 0; color: var(--teal); font-size: 13px; font-weight: 700; }

@media (max-width: 940px) {
  .hero { min-height: auto; }
  .hero-content { grid-template-columns: 1fr; gap: 26px; padding-block: 50px 80px; }
  .hero-copy { text-align: center; }
  .lead { margin-inline: auto; }
  .hero-art { width: min(520px, 100%); margin-inline: auto; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .choice-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .shell { width: min(100% - 26px, 1160px); }
  .nav { height: 76px; }
  .brand strong { font-size: 16px; }
  .brand-mark { width: 34px; height: 34px; }
  .nav-link { display: none; }
  .hero-content { min-height: 0; padding-block: 52px 56px; }
  h1 { font-size: clamp(46px, 14vw, 64px); }
  .lead { font-size: 16px; }
  .hero-art { min-height: 310px; transform: scale(.86); margin-top: -15px; margin-bottom: -20px; }
  .sun { width: 130px; height: 130px; }
  .arch-one { width: 178px; height: 265px; left: 5px; }
  .arch-two { width: 145px; height: 218px; right: 2px; }
  .floral { width: 145px; left: 112px; top: 52px; }
  .stamp { width: 80px; height: 80px; right: 75px; font-size: 9px; }
  .catalog { padding-block: 72px 78px; }
  .section-heading { display: block; margin-bottom: 30px; }
  .section-heading > p { margin-top: 20px; }
  .product-grid { grid-template-columns: 1fr; gap: 14px; }
  .product-card { min-height: 0; display: grid; grid-template-columns: 120px 1fr; }
  .product-visual { min-height: 170px; }
  .product-icon { width: 76px; height: 76px; font-size: 32px; }
  .photo-label { top: 8px; right: auto; left: 8px; padding: 4px 6px; font-size: 8px; }
  .product-copy { padding: 17px 15px; }
  .product-copy h3 { font-size: 20px; }
  .product-copy p { font-size: 12px; }
  .product-meta { display: block; }
  .arrow { position: absolute; right: 12px; bottom: 12px; }
  .configurator { padding: 24px 17px; border-radius: 22px; }
  .config-head { align-items: start; }
  .config-head h3 { font-size: 28px; }
  .choice-grid, .form-grid { grid-template-columns: 1fr; }
  .form-grid .wide { grid-column: auto; }
  .choice { min-height: 0; }
  .form-actions, .dialog-actions { align-items: stretch; flex-direction: column; }
  .promise { padding: 75px 0; }
  .promise-inner { grid-template-columns: 1fr; gap: 42px; }
  .footer-inner { align-items: flex-start; flex-direction: column; }
  dialog { padding: 30px 19px 22px; }
}

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