:root {
  --sand: #e6d5b8;
  --ink: #4a3933;
  --orange: #e45826;
  --rust: #ab3912;
  --gold: #f0a500;
  --paper: #fff;
  --soft: #faf7f2;
  --line: #d8cec3;
  --serif: Georgia, 'Times New Roman', serif;
}
* { box-sizing: border-box; }
body { margin: 0; font: 16px/1.55 'Trebuchet MS', Arial, sans-serif; color: var(--ink); }
button, input, select, textarea { font: inherit; color: inherit; }
button, summary, select { cursor: pointer; }
button { background: transparent; border: 0; }
a { color: inherit; }
img { display: block; width: 100%; object-fit: cover; }
h1, h2, h3, dt, .brand, .occasions a, summary { font-family: var(--serif); font-weight: 500; }
h1, h2, h3, p, dl, dd { margin: 0; }
h1 { font-size: clamp(3.2rem,5.35vw,5.1rem); line-height: 1.055; letter-spacing: -.045em; }
h2 { font-size: clamp(2.3rem,3.85vw,3.6rem); line-height: 1.1; letter-spacing: -.035em; }
h3 { font-size: 1.65rem; line-height: 1.2; }
.wrap { width: min(81.25%,1170px); margin-inline: auto; }
header, .hero, .band { background: var(--sand); }
.nav, .bag, .brand, .button, .occasions, .call, .product-title, .filters, .sizes, .controls, .dialog-heading, .total { display: flex; align-items: center; }
.nav { min-height: clamp(86px,10vw,145px); gap: 2%; justify-content: space-between; position: relative; z-index: 2; }
.brand { text-decoration: none; font-size: clamp(1.35rem,2.1vw,2rem); gap: .35em; white-space: nowrap; }
.mark { color: var(--orange); font: 1.6em/1 Georgia,serif; }
nav a, .bag, .foot-grid a { text-decoration: none; }
nav a:hover, footer a:hover, .occasions a:hover { text-decoration: underline; text-underline-offset: 5px; }
.nav nav { display: flex; gap: clamp(12px,2vw,32px); }
.nav nav a, .head-phone { font-size: .9rem; }
.head-phone a { text-decoration: none; }
.bag { border: 1.5px solid var(--rust); border-radius: 0 19px; padding: .55em 1em; gap: .45em; }
.bag svg { width: 18px; stroke: currentColor; fill: none; stroke-width: 1.7; }
.burger { display: none; }
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; align-items: center; padding: min(2vw,28px) 0 min(6vw,86px); }
.hero-copy p { max-width: 460px; margin: 1.7em 8% 1.8em 0; }
.button, .add { display: inline-flex; align-items: center; justify-content: center; gap: 1em; border-radius: 0 24px; color: white; background: var(--rust); padding: 1.05em 1.7em; text-decoration: none; font-weight: bold; }
.button:hover, .add:hover { background: var(--ink); }
.button span { font-size: 1.2em; }
.occasions { gap: clamp(12px,2.8vw,42px); margin-top: clamp(26px,4.5vw,64px); }
.occasions a { text-decoration: none; font-size: clamp(.95rem,1.55vw,1.45rem); }
.occasions b { display: grid; place-items: center; width: 2.2em; height: 2.2em; margin-bottom: .5em; background: var(--gold); color: var(--ink); }
.hero-art { aspect-ratio: 585 / 721; position: relative; }
.gold { position: absolute; inset: 66% 0 0; background: var(--gold); border-bottom-right-radius: 25% 62%; }
.hero-art img { position: absolute; left: 14.5%; width: 68.5%; height: 80%; object-position: 70% center; border-radius: 0 38% 0 38% / 0 26% 0 26%; }
.hero-note { position: absolute; left: 6%; bottom: 7%; width: 56%; padding: 6.5% 5% 5%; background: white; border-radius: 0 42px 0 0; }
.hero-note b, .mosaic i { display: grid; place-items: center; background: var(--orange); color: white; border-radius: 45% 0; }
.hero-note b { position: absolute; font: bold 2.3rem/1 var(--serif); top: -.6em; right: 22%; width: 1.15em; height: 1.15em; padding-top: .16em; }
.hero-note span, .hero-note em { display: block; }
.hero-note span { font: 1.3rem var(--serif); margin-bottom: .3em; }
.hero-note em { font-size: .9rem; }
.spread { display: grid; grid-template-columns: 55% 40%; align-items: center; justify-content: space-between; padding-block: clamp(68px,12vw,170px); }
.mosaic, .service-art { position: relative; }
.mosaic { aspect-ratio: 644/803; }
.mosaic::before { content: ''; position: absolute; inset: 76% 0 0; background: var(--gold); border-bottom-left-radius: 34% 100%; }
.mosaic img { position: absolute; }
.mosaic img:nth-child(1) { width: 46%; height: 46%; top: 0; left: 0; border-top-left-radius: 50% 40%; }
.mosaic img:nth-child(2) { width: 34%; height: 35%; top: 11%; left: 50%; border-bottom-left-radius: 65% 50%; }
.mosaic img:nth-child(3) { width: 34%; height: 34%; top: 49%; left: 11%; border-top-right-radius: 65% 50%; }
.mosaic img:nth-child(4) { width: 43%; height: 45%; top: 49%; left: 48%; border-bottom-right-radius: 55% 45%; }
.mosaic i { position: absolute; top: 6%; right: 11%; width: 12%; aspect-ratio: 1; font: 2rem var(--serif); }
.measures dt { margin-top: 1.4em; font-size: 1.45rem; }
.measures dt::before { content: '✓'; color: var(--rust); margin-right: .65em; }
.measures dd { margin: .5em 0 0 2.15em; }
.collection { background: var(--soft); padding: clamp(56px,6vw,90px) 0; }
.collection h2 + p { margin: 1em 0; }
.filters { flex-wrap: wrap; gap: .5em; margin: 1.6em 0 2em; }
.filters button { padding: .55em 1.05em; border: 1px solid var(--line); border-radius: 0 14px; }
.filters [aria-pressed=true] { background: var(--ink); border-color: var(--ink); color: white; }
.products { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 3.2rem 1.4rem; }
.product { display: flex; flex-direction: column; }
.product-photo { overflow: hidden; border-radius: 0 22% 0 0; }
.product-photo img { height: auto; transition: transform .35s ease; }
.product-photo:hover img { transform: scale(1.035); }
.product-meta { margin: 1.1em 0 .5em; font-size: .82rem; color: var(--rust); }
.product-title, .total, .dialog-heading, .call { justify-content: space-between; gap: 12px; }
.product-title strong { font-size: 1.1rem; }
.product p { margin-top: .7em; font-size: .93rem; }
.product .spec { font-size: .83rem; margin-bottom: 1.15em; }
.product-form { margin-top: auto; }
.sizes { gap: 5px; }
.sizes label { flex: 1; min-width: 0; font-size: .76rem; }
select, #order input:not([type=radio]), textarea { width: 100%; display: block; background: white; border: 1px solid #998c82; border-radius: 3px; padding: .65em .35em; }
.add { margin-top: .8em; width: 100%; padding: .75em; }
.service { grid-template-columns: 49% 44%; }
.service-art { aspect-ratio: .85; background: linear-gradient(to right,transparent 55%,var(--ink) 55%); border-radius: 0 24% 0 0; overflow: hidden; }
.service-art img { position: absolute; bottom: 0; width: 83%; height: 88%; border-radius: 0 0 0 42%; }
details { border-bottom: 1px solid var(--line); padding: 1em 0; }
details:first-of-type { margin-top: 1.5em; }
summary { list-style: none; font-size: 1.35rem; }
summary::-webkit-details-marker { display: none; }
summary::after { content: '+'; float: right; }
details[open] summary { color: var(--rust); }
details[open] summary::after { content: '−'; }
details p { margin-top: .9em; overflow-wrap: anywhere; }
details .button { margin-top: .8em; }
.band { background: linear-gradient(white 25%,var(--sand) 25%); }
.numbers { display: grid; grid-template-columns: repeat(4,1fr); text-align: center; border-radius: 90px 0; background: var(--ink); color: white; padding: 5% 4%; }
.numbers strong { display: block; font: clamp(2rem,4vw,3.8rem) var(--serif); color: var(--gold); }
.call { padding: 8% 0; }
.foot-grid { display: grid; grid-template-columns: 1fr 1.1fr 1fr; gap: 5%; padding-block: 8%; }
.foot-grid h3, .foot-grid p { margin-bottom: .8em; }
.foot-grid p { margin-top: 1em; }
.foot-grid { overflow-wrap: anywhere; }
.colophon { background: var(--ink); color: white; font-size: .84rem; padding: 1.5em 0; }
.colophon .wrap { display: flex; justify-content: space-between; gap: 1em; }
.policy { padding-block: 5rem; }
.policy-grid { display: grid; grid-template-columns: 1fr 2.5fr; gap: 6%; margin-top: 3em; }
.policy-grid nav a { display: block; padding: .3em 0; }
.policy h2 { font-size: 2rem; margin-bottom: .5em; }
.policy section { margin-bottom: 2em; }
dialog { color: var(--ink); border: 0; max-width: 100%; width: 520px; height: 100dvh; max-height: 100dvh; margin: 0 0 0 auto; padding: clamp(20px,4vw,42px); }
dialog[open] { animation: enter .25s ease-out; }
@keyframes enter { from { transform: translateX(35px); opacity: 0; } }
dialog::backdrop { background: #30252088; }
.locked { overflow: hidden; }
.dialog-heading { margin-bottom: 1.5em; }
.dialog-heading h2 { font-size: 2.3rem; }
.close { font-size: 2rem; width: 44px; }
.line, .total, #summary p, #receipt p { padding: 1em 0; border-bottom: 1px solid var(--line); }
.controls { margin-top: .6em; gap: .6em; }
.controls button, .back { border: 1px solid var(--line); padding: .3em .6em; }
.controls button:last-child { margin-left: auto; }
.total { border: none; margin: .5em 0; font-size: 1.3rem; }
button:disabled { opacity: .55; cursor: default; }
.back { margin-bottom: 1.2em; }
#order > label, fieldset { display: block; margin-bottom: 1em; }
#order small { display: block; color: #952800; }
fieldset { border: 1px solid var(--line); }
fieldset label { display: block; padding: .35em; }
#order .button { margin-top: 1em; }
#toast { position: fixed; bottom: 18px; right: 18px; background: var(--ink); color: white; padding: .8em 1.2em; opacity: 0; transform: translateY(10px); transition: opacity .2s,transform .2s; pointer-events: none; }
#toast.shown { opacity: 1; transform: none; }
:focus-visible { outline: 3px solid #1556a3; outline-offset: 3px; }
.skip { position: absolute; transform: translateY(-150%); background: white; z-index: 3; }
.skip:focus { transform: none; }
[hidden] { display: none; }
@media(max-width:1100px) {
  .wrap { width: 88%; }
  .products { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .nav nav { gap: 12px; }
}
@media(max-width:850px) {
  .products { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .head-phone { font-size: .8rem; }
  .hero-note em { font-size: .76rem; }
  .foot-grid { grid-template-columns: 1fr 1fr; row-gap: 2em; }
}
@media(max-width:650px) {
  .wrap { width: 86%; }
  .nav { min-height: 78px; }
  .burger { display: block; order: 3; font-size: 1.35rem; padding: .3em; }
  .bag { margin-left: auto; font-size: .85rem; padding: .4em .65em; }
  .nav nav { display: none; position: absolute; top: 100%; left: 0; right: 0; padding: 1em; background: white; box-shadow: 0 8px 16px #4a393317; }
  .nav nav.open { display: grid; }
  .nav nav.open a { padding: .4em; }
  .nav .open .head-phone { display: block; padding: .4em 0; }
  .hero-grid, .spread, .policy-grid, .foot-grid { grid-template-columns: 1fr; }
  .hero-grid { padding-top: 22px; gap: 2.1rem; padding-bottom: 42px; }
  .hero-copy p { margin: 1em 0 1.3em; }
  .occasions { gap: 2em; }
  .hero-art { aspect-ratio: 1; }
  .hero-note em { font-size: .85rem; }
  .hero-note { width: 60%; }
  .spread { gap: 2.4rem; padding-block: 3.8rem; }
  .mosaic, .service-art { max-width: 430px; width: 100%; }
  .numbers { grid-template-columns: 1fr 1fr; gap: 1.2em; border-radius: 45px 0; padding: 8%; }
  .call { flex-wrap: wrap; }
  .colophon .wrap { flex-direction: column; }
  .foot-grid { gap: 1.6em; }
  .policy { padding-block: 2.5em; }
  .policy-grid { gap: 2em; }
}
@media(max-width:480px) { .products { grid-template-columns: 1fr; } }
@media(prefers-reduced-motion:reduce) { *, *::before, *::after { animation: none; transition: none; } }
.brand .mark { width: 1.6em; height: 1.6em; flex: none; }
.brand .mark { font-size: inherit; }
@media(max-width:650px) {
  .nav { width: 92%; gap: 7px; }
  .nav .brand { font-size: clamp(1.1rem,5vw,1.35rem); }
  .nav .burger { flex: none; }
}
