*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  color-scheme: light;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background: #f3eee6;
  color: #1a2330;
  font-family: "Avenir Next", "Segoe UI", "PingFang SC", "Hiragino Sans", "Noto Sans SC", "Microsoft YaHei", "Malgun Gothic", "Yu Gothic", sans-serif;
  font-size: 16px;
  line-height: 1.5;
}

img,
video,
svg {
  display: block;
  max-width: 100%;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

a {
  color: inherit;
}

h1,
h2,
h3,
p {
  overflow-wrap: break-word;
}

:focus-visible {
  outline: 2px solid #8d6b3a;
  outline-offset: 3px;
}

[hidden] {
  display: none !important;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.noscript {
  width: min(100% - 32px, 640px);
  margin: 48px auto;
  font-size: 18px;
}

.skip {
  position: absolute;
  left: 12px;
  top: -48px;
  z-index: 80;
  background: #faf7f2;
  color: #1a2330;
  padding: 10px 14px;
  min-height: 44px;
}

.skip:focus {
  top: calc(8px + env(safe-area-inset-top));
}

.top {
  position: sticky;
  top: 0;
  z-index: 30;
}

.site-header {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 64px;
  padding: env(safe-area-inset-top) 16px 0;
  color: #f6f1e8;
}

.top.is-solid .site-header,
.menu-open .site-header {
  background: rgba(243, 238, 230, 0.94);
  color: #1a2330;
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}

.logo {
  margin-right: auto;
  font-family: "Iowan Old Style", "Palatino Linotype", Palatino, "Songti SC", "SimSun", "Yu Mincho", Georgia, serif;
  font-size: 20px;
  letter-spacing: 0.18em;
  text-decoration: none;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.desk-nav,
.desk-lang {
  display: none;
}

.desk-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 12px;
  text-decoration: none;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.icon-btn,
.menu-btn,
.text-btn {
  min-width: 44px;
  min-height: 44px;
  border: 0;
  background: transparent;
  color: inherit;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 12px;
}

.text-btn {
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 12px;
}

.count {
  min-width: 22px;
  height: 22px;
  border-radius: 99px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid currentColor;
  font-size: 12px;
  padding: 0 6px;
}

.lang-select {
  min-height: 44px;
  font-size: 16px;
  background: transparent;
  color: inherit;
  border: 1px solid rgba(246, 241, 232, 0.4);
  padding: 0 10px;
}

.top.is-solid .lang-select,
.menu-dialog .lang-select {
  border-color: rgba(26, 35, 48, 0.25);
  background: #faf7f2;
  color: #1a2330;
}

.offer {
  background: rgba(250, 247, 242, 0.96);
  color: #1a2330;
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}

.offer-track {
  height: 2px;
  background: rgba(26, 35, 48, 0.12);
}

.offer-fill {
  display: block;
  height: 100%;
  width: 100%;
  background: #8d6b3a;
  transform: scaleX(0);
  transform-origin: left center;
}

.offer-copy {
  margin: 0;
  padding: 10px 16px 12px;
  text-align: center;
  font-size: 14px;
  line-height: 1.45;
}

.offer.is-open .offer-copy {
  color: #5c4318;
}

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: flex-end;
  color: #f6f1e8;
  background: #10141c;
  margin-top: calc(var(--top-h, 120px) * -1);
}

.hero-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(8, 10, 14, 0.28) 0%, rgba(8, 10, 14, 0) 22%),
    linear-gradient(90deg, rgba(8, 10, 16, 0.78) 0%, rgba(8, 10, 16, 0.42) 42%, rgba(8, 10, 16, 0.08) 68%);
}

.hero-frame {
  position: absolute;
  z-index: 2;
  pointer-events: none;
  border: 1px solid rgba(232, 214, 180, 0.45);
  top: calc(var(--top-h, 120px) + 10px);
  right: 12px;
  bottom: 12px;
  left: 12px;
}

.hero-copy {
  position: relative;
  z-index: 3;
  width: min(100% - 32px, 1120px);
  margin: 0 auto;
  padding: calc(var(--top-h, 120px) + 28px) 0 36px;
}

.hero-copy-inner {
  max-width: 520px;
}

.kicker {
  margin: 0;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #e6d3b0;
}

.hero h1 {
  margin: 10px 0 14px;
  font-family: "Iowan Old Style", "Palatino Linotype", Palatino, "Songti SC", "SimSun", "Yu Mincho", Georgia, serif;
  font-weight: 500;
  font-size: clamp(48px, 7vw, 96px);
  line-height: 0.9;
  letter-spacing: -0.03em;
}

.hero h1 em {
  display: block;
  font-style: italic;
  font-weight: 500;
}

.lede {
  margin: 0;
  max-width: 38ch;
  font-size: 17px;
  line-height: 1.55;
  color: rgba(246, 241, 232, 0.9);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  min-width: 44px;
  padding: 12px 18px;
  border: 1px solid transparent;
  text-decoration: none;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 12px;
  line-height: 1.2;
  text-align: center;
  background: #f3eee6;
  color: #1a2330;
}

.btn-dark {
  background: #1b2430;
  color: #f6f1e8;
}

.btn-line {
  background: transparent;
  color: inherit;
  border-color: currentColor;
}

.btn-line-dark {
  background: transparent;
  color: #1a2330;
  border-color: rgba(26, 35, 48, 0.35);
}

.meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 28px;
  margin: 26px 0 0;
  padding-top: 16px;
  border-top: 1px solid rgba(232, 214, 180, 0.38);
}

.meta div {
  min-width: 0;
}

.meta dt {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #e6d3b0;
}

.meta dd {
  margin: 4px 0 0;
  font-family: "Iowan Old Style", "Palatino Linotype", Palatino, "Songti SC", "SimSun", Georgia, serif;
  font-size: 22px;
}

.hero-inset {
  display: none;
}

.stats {
  background: #4a2030;
  color: #f3e6c8;
}

.stats ul {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 18px;
  width: min(100% - 32px, 1120px);
  margin: 0 auto;
  padding: 18px 0;
  list-style: none;
}

.stats li {
  margin: 0;
  font-size: 14px;
  letter-spacing: 0.04em;
}

.house {
  display: grid;
  gap: 36px;
  width: min(100% - 32px, 1120px);
  margin: 0 auto;
  padding: 72px 0 24px;
  align-items: center;
}

.house h2 {
  margin: 10px 0 14px;
  font-family: "Iowan Old Style", "Palatino Linotype", Palatino, "Songti SC", "SimSun", "Yu Mincho", Georgia, serif;
  font-weight: 500;
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.house-copy > p {
  margin: 0;
  max-width: 46ch;
  line-height: 1.6;
}

.house-steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin: 22px 0 0;
  padding: 16px 0 0;
  border-top: 1px solid rgba(26, 35, 48, 0.14);
  list-style: none;
}

.house-steps span {
  display: block;
  margin-bottom: 4px;
  font-size: 12px;
  letter-spacing: 0.14em;
  color: #8d6b3a;
}

.house-action {
  margin-top: 22px;
}

.house .fine {
  margin-top: 14px;
  max-width: 52ch;
  font-size: 13px;
  line-height: 1.5;
  color: #5c5348;
}

.house-figure {
  position: relative;
  margin: 0;
  background: #fff;
  min-height: 280px;
  padding: 28px 16px 18px;
}

.house-bottles {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 8px;
}

.house-bottles img {
  width: 30%;
  height: auto;
  margin: 0;
  object-fit: contain;
}

.house-tag {
  position: absolute;
  top: 16px;
  right: 16px;
  max-width: 220px;
  margin: 0;
  padding: 10px 12px;
  background: #f7f1e6;
  border: 1px solid rgba(26, 35, 48, 0.1);
  font-size: 13px;
  line-height: 1.35;
}

.house-tag b,
.house-tag span {
  display: block;
}

.house-tag span {
  margin-top: 4px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 11px;
  color: #5c4318;
}

.section {
  width: min(100% - 32px, 1120px);
  margin: 0 auto;
  padding: 72px 0;
}

.section-head {
  display: grid;
  gap: 10px;
  margin-bottom: 28px;
  max-width: 640px;
}

.section-head h2,
.story-copy h2,
.mail-copy h2 {
  margin: 0;
  font-family: "Iowan Old Style", "Palatino Linotype", Palatino, "Songti SC", "SimSun", "Yu Mincho", Georgia, serif;
  font-weight: 500;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1;
  letter-spacing: -0.03em;
}

.section-head .kicker,
.block-kicker {
  color: #5c4318;
}

.quiet {
  margin: 0;
  color: #4e463e;
  max-width: 58ch;
}

.wine-grid,
.gift-grid,
.box-grid {
  display: grid;
  gap: 18px;
  min-width: 0;
}

.layout-child {
  min-width: 0;
}

.wine-card,
.gift-card,
.box-card {
  min-width: 0;
  background: #faf7f2;
  border: 1px solid rgba(26, 35, 48, 0.08);
}

.media {
  overflow: hidden;
  background: #ddd4c6;
}

.media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.wine-card .media,
.gift-card .media {
  aspect-ratio: 3 / 4;
  background: #fff;
}

.box-card .media {
  aspect-ratio: 16 / 10;
}

.card-body,
.box-body {
  padding: 16px 16px 18px;
}

.card-body h3,
.box-body h3,
.gift-card h3 {
  margin: 4px 0 8px;
  font-family: "Iowan Old Style", "Palatino Linotype", Palatino, "Songti SC", "SimSun", Georgia, serif;
  font-size: 28px;
  font-weight: 500;
  line-height: 1.1;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
}

.filter {
  min-height: 44px;
  padding: 10px 14px;
  border: 1px solid rgba(26, 35, 48, 0.2);
  background: transparent;
  color: #1a2330;
  font-size: 14px;
}

.filter[aria-pressed="true"] {
  background: #1b2430;
  color: #f6f1e8;
  border-color: #1b2430;
}

.buy-row,
.stepper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 14px;
}

.price {
  margin: 0;
  font-family: "Iowan Old Style", Palatino, "Palatino Linotype", Georgia, serif;
  font-size: 22px;
}

.stepper {
  justify-content: flex-end;
  margin-top: 0;
}

.stepper button {
  width: 44px;
  height: 44px;
  border: 1px solid rgba(26, 35, 48, 0.25);
  background: transparent;
  color: #1a2330;
  font-size: 20px;
}

.qty {
  min-width: 24px;
  text-align: center;
}

.fine {
  margin: 8px 0 0;
  color: #6b6258;
  font-size: 14px;
}

.gift-card.is-locked .gift-state {
  color: #6b6258;
}

.gift-card.is-open {
  outline: 1px solid rgba(141, 107, 58, 0.45);
}

.gift-state {
  margin: 0;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 12px;
  color: #5c4318;
}

.price-note {
  margin: 18px 0 0;
  color: #6b6258;
  font-size: 13px;
}

.split {
  display: grid;
  gap: 22px;
}

.form {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.field {
  display: grid;
  gap: 6px;
}

.field span {
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

input,
textarea,
select {
  width: 100%;
  min-height: 44px;
  font-size: 16px;
  padding: 10px 12px;
  border: 1px solid rgba(26, 35, 48, 0.22);
  border-radius: 0;
  background: #faf7f2;
  color: #1a2330;
}

textarea {
  min-height: 120px;
  resize: vertical;
}

.err {
  margin: 0;
  min-height: 0;
  color: #7a2e2e;
  font-size: 14px;
}

.err:empty {
  display: none;
}

.notice {
  margin: 0;
  padding: 12px;
  background: #efe6d4;
  color: #1a2330;
}

.notice:empty {
  display: none;
}

.story {
  display: grid;
  gap: 22px;
  align-items: center;
}

.story .media {
  aspect-ratio: 16 / 10;
}

.story-copy p {
  font-size: 18px;
  max-width: 46ch;
}

.mail {
  background: #1b2430;
  color: #f6f1e8;
}

.mail .section {
  padding: 64px 0;
}

.mail .kicker {
  color: #e6d3b0;
}

.mail input {
  background: transparent;
  color: #f6f1e8;
  border-color: rgba(246, 241, 232, 0.35);
}

.mail-row {
  display: grid;
  gap: 10px;
}

.site-footer {
  width: min(100% - 32px, 1120px);
  margin: 0 auto;
  padding: 28px 0 calc(28px + env(safe-area-inset-bottom));
  color: #4e463e;
  font-size: 14px;
}

.site-footer p {
  margin: 0 0 8px;
}

.sheet,
.menu-dialog {
  border: 0;
  padding: 0;
  color: #1a2330;
  background: #faf7f2;
  width: min(100% - 24px, 560px);
  max-height: min(88dvh, 760px);
}

.menu-dialog {
  width: min(100% - 24px, 420px);
}

.sheet::backdrop,
.menu-dialog::backdrop {
  background: rgba(16, 14, 12, 0.5);
}

.sheet-body,
.menu-body {
  padding: 18px 18px max(18px, env(safe-area-inset-bottom));
  max-height: min(88dvh, 760px);
  overflow: auto;
}

.sheet-head,
.menu-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.sheet-head h2,
.menu-head h2 {
  margin: 0;
  font-family: "Iowan Old Style", Palatino, "Palatino Linotype", "Songti SC", Georgia, serif;
  font-size: 32px;
  font-weight: 500;
}

.line {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px 12px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(26, 35, 48, 0.1);
}

.line.is-muted {
  color: #6b6258;
}

.line p {
  margin: 0;
}

.line .stepper {
  grid-column: 1 / -1;
  justify-content: flex-start;
}

.totals {
  margin-top: 12px;
  display: grid;
  gap: 6px;
}

.totals div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.menu-links {
  display: grid;
  margin-top: 12px;
}

.menu-links a,
.menu-links button {
  min-height: 44px;
  display: flex;
  align-items: center;
  text-decoration: none;
  border: 0;
  border-bottom: 1px solid rgba(26, 35, 48, 0.1);
  background: transparent;
  color: #1a2330;
  padding: 0;
  font-size: 18px;
  text-align: left;
}

.menu-lang {
  margin-top: 16px;
}

@media (max-width: 767px) {
  .hero-shade {
    background:
      linear-gradient(180deg, rgba(8, 10, 14, 0.35) 0%, rgba(8, 10, 14, 0.05) 28%, rgba(8, 10, 14, 0.2) 48%, rgba(8, 10, 14, 0.9) 100%);
  }

  .hero h1 {
    font-size: clamp(44px, 12vw, 64px);
  }

  .hero-frame {
    top: calc(var(--top-h, 108px) + 8px);
    right: 10px;
    bottom: 10px;
    left: 10px;
  }
}

@media (min-width: 768px) {
  .gift-grid,
  .box-grid {
    grid-template-columns: 1fr 1fr;
  }

  .gift-grid {
    grid-template-columns: 1fr 1fr 1fr;
  }

  .wine-grid {
    grid-template-columns: 1fr 1fr;
  }

  .story {
    grid-template-columns: 1.1fr 0.9fr;
  }

  .mail-row {
    grid-template-columns: 1fr auto;
    align-items: start;
  }

  .stats ul {
    grid-template-columns: repeat(4, 1fr);
  }

  .house {
    grid-template-columns: 1.05fr 0.95fr;
  }

  .house-steps {
    grid-template-columns: repeat(3, 1fr);
  }

  .hero-inset {
    display: grid;
    grid-template-columns: 86px 1fr;
    gap: 12px;
    align-items: end;
    margin-top: 22px;
    max-width: 320px;
  }

  .hero-inset img {
    width: 86px;
    height: 112px;
    object-fit: cover;
    object-position: center 34%;
    border: 1px solid rgba(232, 214, 180, 0.5);
  }

  .hero-inset figcaption {
    font-size: 13px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #e6d3b0;
  }
}

@media (min-width: 1024px) {
  .desk-nav,
  .desk-lang {
    display: flex;
    align-items: center;
  }

  .menu-btn {
    display: none;
  }

  .wine-grid {
    grid-template-columns: 1fr 1fr 1fr;
  }

  .hero {
    align-items: center;
  }

  .hero-copy {
    padding-bottom: 64px;
  }
}

@media (min-width: 1440px) {
  .section,
  .hero-copy,
  .site-footer {
    width: min(100% - 48px, 1200px);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
