:root {
  color-scheme: light;
  --paper: #f5efe3;
  --linen: #ebe2cf;
  --ink: #2b2d21;
  --muted: #5b5a4c;
  --olive: #272b1e;
  --gold: #a08857;
  --soft-gold: #dfca9e;
  --line: #b0a48770;
  --serif: 'Garamond', 'Times New Roman', Georgia, serif;
  --sans: 'Segoe UI', Arial, sans-serif;
  --gutter: clamp(22px, 5.5vw, 84px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.65 var(--sans); }
body:has(dialog[open]) { overflow: hidden; }
h1, h2, h3, p, figure, dl, dd { margin: 0; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; }
h2 { font-size: clamp(3rem, 6vw, 5.35rem); line-height: .98; letter-spacing: -.045em; }
h3 { font-size: clamp(1.8rem, 3vw, 2.65rem); line-height: 1; letter-spacing: -.035em; }
a { color: inherit; text-decoration: none; }
img { display: block; width: 100%; }
button, input, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
svg { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; flex: none; }
[hidden], .symbols { display: none !important; }
:focus-visible { outline: 2px solid #a47635; outline-offset: 5px; }
[id] { scroll-margin-top: 22px; }
.wrap { width: min(calc(100% - 2 * var(--gutter)), 1190px); margin-inline: auto; }
.section { padding-block: clamp(68px, 9.5vw, 145px); }
.skip-link { position: absolute; z-index: 10; top: 10px; left: 10px; padding: 10px 16px; background: var(--paper); transform: translateY(-150%); }
.skip-link:focus { transform: none; }

.topbar {
  position: absolute;
  inset: 0 0 auto;
  z-index: 2;
  min-height: 83px;
  padding: 15px clamp(22px, 3.2vw, 54px);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  border-bottom: 1px solid #f5efe322;
  color: var(--paper);
}
.brand { display: inline-flex; align-items: center; gap: 9px; justify-self: start; width: max-content; font: 25px/.9 var(--serif); }
.brand svg { width: 28px; height: 34px; color: var(--soft-gold); }
.brand-note { display: block; margin-top: 6px; font: 8px/1.1 var(--sans); letter-spacing: .12em; text-transform: uppercase; }
#main-nav { display: flex; align-items: center; gap: clamp(15px, 3vw, 43px); }
#main-nav a { position: relative; padding-block: 7px; font-size: 13px; font-weight: 500; letter-spacing: .07em; white-space: nowrap; }
#main-nav a::after { content: ''; position: absolute; inset: auto 0 2px; height: 1px; background: var(--soft-gold); transform: scaleX(0); transform-origin: left; transition: transform .2s ease; }
#main-nav a:hover::after, #main-nav a:focus-visible::after { transform: scaleX(1); }
.top-order { justify-self: end; display: inline-flex; align-items: center; gap: 11px; padding: 10px 18px; border: 1px solid #f5efe368; border-radius: 30px; font-size: 10px; text-transform: uppercase; letter-spacing: .16em; }
.top-order:hover { background: #f5efe321; }
.top-order svg { font-size: 16px; }
.menu-toggle { display: none; }

.hero {
  position: relative;
  display: grid;
  align-items: center;
  min-height: clamp(675px, 57vw, 920px);
  padding-block: 126px 98px;
  color: var(--paper);
  background: linear-gradient(90deg, #14170de8 0%, #171b0fbb 29%, #15190e59 57%, #13160b12 100%), linear-gradient(0deg, #17180f64, transparent 38%, transparent 83%, #18190c48), url('assets/hero.jpg') center 53% / cover no-repeat, var(--olive);
}
.hero-content { max-width: 1090px; }
.eyebrow { font: 600 10px/1.5 var(--sans); letter-spacing: .24em; text-transform: uppercase; }
.rule { display: flex; align-items: center; gap: 12px; }
.rule::before { content: ''; width: 26px; height: 1px; flex: none; background: var(--gold); }
.hero .eyebrow, .order .eyebrow { color: var(--soft-gold); }
.hero h1 { margin: .18em 0 .22em -.036em; font-size: clamp(5rem, 8.25vw, 9rem); line-height: .93; letter-spacing: -.042em; }
.hero-subtitle { font-size: 11px; line-height: 1.95; letter-spacing: .24em; text-transform: uppercase; }
.hero-rule { display: block; width: 58px; height: 1px; margin-block: 23px; background: #e2cca177; }
.hero-lede { font: italic clamp(1.65rem, 2.5vw, 2.35rem)/1.08 var(--serif); }
.hero-description { max-width: 340px; margin-top: 15px; font-size: 14px; color: #eee3cc; }
.hero-actions, .order-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 18px 24px; margin-top: 30px; }
.button, .text-link { display: inline-flex; align-items: center; justify-content: center; gap: 11px; width: fit-content; font: 600 10px/1.35 var(--sans); letter-spacing: .14em; text-transform: uppercase; }
.button { min-height: 48px; padding: 13px 21px; border: 1px solid transparent; border-radius: 3px; transition: background-color .18s ease, color .18s ease; }
.button svg, .text-link svg { width: 17px; height: 17px; }
.button-light { background: #f0e7d6; color: #292b20; }
.button-light:hover { background: #dfcca8; }
.button-dark { background: var(--olive); color: var(--paper); }
.button-dark:hover { background: #464a33; }
.text-link { border: 0; border-bottom: 1px solid #a08857a8; padding: 5px 0; background: none; text-align: left; }
.text-link:hover { border-color: currentColor; }
.hero-footer { position: absolute; inset: auto clamp(22px, 3.2vw, 54px) 22px; display: flex; justify-content: space-between; gap: 12px; align-items: center; color: #e0ceaa; text-transform: uppercase; font: 500 9px/1.5 var(--sans); letter-spacing: .2em; }
.down { margin-left: 5px; font-size: 16px; }

.section-head { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(230px, .7fr); align-items: end; gap: 22px 50px; margin-bottom: clamp(30px, 4vw, 56px); }
.section-head h2, .studio h2, .order h2 { margin-top: 13px; }
.section-head > p { max-width: 385px; color: var(--muted); }
.bouquet-grid, .craft-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2.6vw, 38px); }
.bouquet { display: flex; flex-direction: column; min-width: 0; }
.bouquet-image { position: relative; overflow: hidden; background: #cec3ab; aspect-ratio: 4 / 4.45; }
.bouquet-image img, .craft img, .studio img { height: 100%; object-fit: cover; }
.bouquet-image span { position: absolute; top: 13px; left: 13px; padding: 4px 8px; background: var(--paper); color: var(--ink); font-size: 10px; letter-spacing: .14em; }
.bouquet-title { display: flex; align-items: baseline; flex-wrap: wrap; justify-content: space-between; gap: 6px 12px; margin-block: 19px 9px; }
.bouquet-title p { color: #504731; font-size: 13px; font-weight: 600; white-space: nowrap; }
.bouquet > p { flex: 1; color: var(--muted); font-size: 14px; }
.bouquet .text-link { margin-top: 12px; }
.catalog-note { display: flex; align-items: center; gap: 11px; margin-top: 35px; padding-top: 15px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }
.catalog-note svg { width: 19px; height: 22px; color: #73623d; }

.crafts { background: var(--linen); }
.craft { background: #f6efe1; border: 1px solid #9d8d6b38; }
.craft img { height: auto; aspect-ratio: 4 / 3.6; }
.craft-link { display: block; height: 100%; }
.craft-link > div { padding: clamp(16px, 2.2vw, 30px); }
.craft-link:hover .text-link, .craft-link:focus-visible .text-link { border-color: currentColor; }
.craft p { margin: 10px 0 13px; color: var(--muted); font-size: 14px; }

.studio-grid { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(30px, 7vw, 105px); }
.studio figure { position: relative; background: #9e9076; }
.studio img { aspect-ratio: 5 / 5.4; }
.studio figcaption { position: absolute; left: 0; bottom: 0; padding: 10px 15px; color: var(--paper); background: #22241be8; text-transform: uppercase; font-size: 9px; letter-spacing: .15em; }
.studio h2 { font-size: clamp(2.8rem, 5.15vw, 4.8rem); }
.studio-copy > p:not(.eyebrow) { margin-top: 17px; color: var(--muted); }
.studio-copy .studio-intro { font: italic clamp(1.45rem, 2.5vw, 2rem)/1.15 var(--serif); }
.studio .text-link { margin-top: 20px; }

.order { padding-block: clamp(60px, 8vw, 118px) 42px; color: var(--paper); background: var(--olive); }
.order-main { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(230px, .75fr); align-items: center; gap: clamp(32px, 6vw, 90px); }
.order-main > div > p:not(.eyebrow) { max-width: 465px; margin-top: 20px; color: #e3d9c2; }
.order address { font-style: normal; }
.order address dl { border-top: 1px solid #dfca9e58; }
.order address dl div { padding-block: 15px; border-bottom: 1px solid #dfca9e58; }
.order address dt { font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: var(--soft-gold); }
.order address dd { font-family: var(--serif); font-size: 26px; line-height: 1.1; margin-top: 5px; }
.order address a:hover { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 15px 24px; margin: 50px 0 0; padding: 17px 0 0; list-style: none; border-top: 1px solid #dfca9e58; }
.steps li { display: flex; gap: 10px; align-items: baseline; font-size: 13px; color: #e3d9c2; }
.steps span { color: var(--soft-gold); font-size: 10px; letter-spacing: .12em; }
.footer { padding-block: 24px; color: var(--paper); background: #1d2016; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 18px 30px; }
.footer p { color: #d7cbb1; font-size: 12px; }

dialog { width: min(calc(100% - 32px), 570px); max-height: calc(100dvh - 32px); padding: 0; overflow: auto; background: var(--paper); color: var(--ink); border: 1px solid #c8b891; border-radius: 5px; }
dialog::backdrop { background: #14170dbd; }
.dialog-inner { position: relative; padding: clamp(22px, 5vw, 42px); }
.close-dialog { position: absolute; top: 12px; right: 12px; width: 38px; height: 38px; display: grid; place-items: center; padding: 0; border: 1px solid var(--line); border-radius: 50%; background: transparent; font-size: 26px; line-height: 1; }
.close-dialog:hover { background: var(--linen); }
.dialog-inner h2 { margin-block: 9px 16px; font-size: clamp(2.6rem, 6vw, 4rem); }
.dialog-inner form, .dialog-inner [data-inquiry-result] { display: grid; gap: 13px; }
.dialog-inner form > p, .dialog-inner [data-inquiry-result] > p { color: var(--muted); font-size: 14px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; }
.dialog-inner label { display: block; font-size: 13px; font-weight: 600; }
.dialog-inner input, .dialog-inner textarea { display: block; width: 100%; min-width: 0; margin-top: 4px; padding: 9px 10px; border: 1px solid #9c8d6c; border-radius: 3px; background: #fcf8ee; font-size: 16px; font-weight: 400; }
.dialog-inner textarea { resize: vertical; }
.result-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 15px; }
.copy-status:empty { margin-top: -13px; }

@media (max-width: 900px) {
  .topbar { gap: 15px; }
  #main-nav { gap: 17px; }
  #main-nav a { font-size: 12px; letter-spacing: .02em; }
  .brand { font-size: 21px; }
  .brand-note { font-size: 7px; }
  .brand svg { width: 22px; height: 30px; }
}

@media (max-width: 720px) {
  .topbar { grid-template-columns: 1fr auto auto; min-height: 64px; padding-block: 11px; }
  .menu-toggle { display: inline-flex; align-items: center; gap: 8px; padding: 8px 0; color: inherit; border: 0; background: none; font-size: 12px; }
  .menu-toggle span { width: 13px; height: 8px; border-block: 1px solid currentColor; }
  #main-nav { display: none; position: absolute; inset: 100% 0 auto; padding: 10px var(--gutter) 16px; background: #24271b; box-shadow: 0 12px 25px #13170d50; }
  #main-nav[data-open] { display: grid; gap: 0; }
  #main-nav a { padding: 10px 0; font-size: 15px; }
  #main-nav a + a { border-top: 1px solid #dfca9e36; }
  .top-order { padding: 8px 10px; gap: 5px; letter-spacing: .1em; }
  .top-order svg { font-size: 13px; }
  .hero { min-height: min(800px, max(615px, 91svh)); padding-block: 115px 76px; background-position: 61% 51%; background-image: linear-gradient(90deg, #14170de8 0%, #171b0fc4 38%, #15190e72 70%, #13160b37 100%), linear-gradient(0deg, #17180f8a, transparent 50%), url('assets/hero.jpg'); }
  .hero h1 { font-size: clamp(3.65rem, 12.7vw, 6.2rem); }
  .hero-description { max-width: 290px; }
  .section-head, .studio-grid, .order-main { grid-template-columns: 1fr; }
  .section-head { gap: 13px; }
  .section-head > p { max-width: 530px; }
  .bouquet-grid, .craft-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 14px; }
  .studio figure { max-width: 525px; }
  .studio-copy { grid-row: 1; }
  .order-main { gap: 29px; }
  .steps { margin-top: 32px; }
}

@media (max-width: 480px) {
  .topbar { gap: 8px; padding-inline: 14px; }
  .hero h1 { margin-top: .25em; }
  .hero-subtitle { font-size: 10px; }
  .hero-actions, .order-actions { gap: 13px 16px; }
  .hero-footer { letter-spacing: .13em; font-size: 8px; }
  .bouquet-grid, .craft-grid, .steps { grid-template-columns: 1fr; }
  .bouquet-image { aspect-ratio: 4 / 4.2; }
  .craft img { aspect-ratio: 5 / 4; }
  .footer-inner { flex-wrap: wrap; }
  .footer p { order: 1; width: 100%; }
  .form-row { grid-template-columns: 1fr; }
}

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