:root {
  --ink: #171613;
  --ink-soft: #24231f;
  --wine: #8f1e26;
  --wine-deep: #5f1019;
  --gold: #caa562;
  --gold-light: #ead9ac;
  --cream: #f1ede4;
  --cream-deep: #e4ddcf;
  --olive: #465842;
  --olive-deep: #344432;
  --line: rgba(23, 22, 19, 0.16);
  --serif: "Noto Serif SC", "Source Han Serif SC", "STSong", "SimSun", serif;
  --sans: "Aptos", "Microsoft YaHei", "PingFang SC", sans-serif;
  --max: 1240px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  letter-spacing: 0;
}

body.modal-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

button {
  border: 0;
  cursor: pointer;
}

.page-width {
  width: min(var(--max), calc(100% - 96px));
  margin-inline: auto;
}

.section {
  padding: 136px 0;
}

.section-dark {
  color: #fbf7ef;
  background: var(--ink);
}

.section-cream {
  background: var(--cream);
}

.section-olive {
  color: #f4f0e7;
  background: var(--olive);
}

.site-header {
  position: absolute;
  z-index: 10;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 36px;
  padding: 24px 48px;
  color: #f9f3e9;
  transition: background 240ms ease, color 240ms ease, box-shadow 240ms ease;
}

.site-header.is-scrolled {
  position: fixed;
  color: var(--ink);
  background: rgba(241, 237, 228, 0.94);
  box-shadow: 0 12px 28px rgba(23, 22, 19, 0.08);
  backdrop-filter: blur(16px);
}

.brand-lockup,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.brand-seal {
  display: grid;
  place-items: center;
  width: 39px;
  height: 39px;
  color: var(--gold-light);
  border: 1px solid currentColor;
  border-radius: 50%;
  font-family: var(--serif);
  font-size: 21px;
  line-height: 1;
}

.site-header.is-scrolled .brand-seal {
  color: var(--wine);
}

.brand-copy,
.footer-brand div {
  display: grid;
  gap: 0;
}

.brand-copy strong,
.footer-brand strong {
  font-family: var(--serif);
  font-size: 18px;
  letter-spacing: 0.04em;
}

.brand-copy small,
.footer-brand small {
  font-size: 9px;
  letter-spacing: 0.18em;
  opacity: 0.72;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.5vw, 34px);
  margin-left: auto;
}

.main-nav a {
  position: relative;
  color: currentColor;
  font-size: 13px;
  white-space: nowrap;
  opacity: 0.84;
}

.main-nav a::after {
  position: absolute;
  right: 0;
  bottom: -9px;
  left: 0;
  height: 1px;
  background: var(--gold);
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 220ms ease;
}

.main-nav a:hover::after,
.main-nav a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border: 1px solid currentColor;
  font-size: 12px;
  white-space: nowrap;
}

.header-cta span,
.button span,
.outline-button span,
.text-link span,
.license-link span,
.footer-backtop span {
  font-size: 16px;
  line-height: 1;
  transition: transform 180ms ease;
}

.header-cta:hover span,
.button:hover span,
.outline-button:hover span,
.text-link:hover span,
.license-link:hover span,
.footer-backtop:hover span {
  transform: translate(3px, -2px);
}

.menu-toggle {
  display: none;
  width: 40px;
  height: 40px;
  padding: 10px;
  color: currentColor;
  background: transparent;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 1px;
  margin: 5px 0;
  background: currentColor;
  transition: transform 180ms ease;
}

.hero {
  position: relative;
  min-height: min(860px, 100vh);
  overflow: hidden;
  background: #1b1815;
}

.hero-backdrop {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(23, 22, 19, 0.95) 0%, rgba(23, 22, 19, 0.77) 45%, rgba(23, 22, 19, 0.26) 100%),
    url("assets/red-river.jpeg") center / cover no-repeat;
  opacity: 0.8;
}

.hero-backdrop::after {
  position: absolute;
  inset: 0;
  background: rgba(91, 24, 22, 0.2);
  content: "";
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  align-items: center;
  min-height: inherit;
  padding-top: 90px;
}

.hero-copy {
  max-width: 600px;
  padding: 70px 0 56px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 24px;
  color: var(--wine);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.eyebrow span {
  display: inline-block;
  width: 28px;
  height: 1px;
  background: currentColor;
}

.eyebrow.light {
  color: var(--gold-light);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 600;
  letter-spacing: 0.01em;
}

h1 {
  max-width: 500px;
  margin-bottom: 14px;
  font-size: clamp(62px, 8vw, 112px);
  line-height: 1.05;
}

h2 {
  margin-bottom: 28px;
  font-size: clamp(42px, 5vw, 70px);
  line-height: 1.2;
}

h2 em {
  color: var(--wine);
  font-style: normal;
}

.section-dark h2 em,
.cooperation-section h2 em {
  color: var(--gold-light);
}

.hero-subtitle {
  margin-bottom: 22px;
  color: var(--gold-light);
  font-family: var(--serif);
  font-size: clamp(22px, 2.5vw, 31px);
  line-height: 1.55;
}

.hero-intro {
  max-width: 450px;
  color: rgba(250, 246, 237, 0.72);
  font-size: 15px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-top: 38px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  min-height: 48px;
  padding: 12px 18px;
  font-size: 13px;
  font-weight: 600;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-gold {
  color: var(--ink);
  background: var(--gold-light);
}

.button-gold:hover {
  background: #f2e5c0;
}

.button-dark {
  color: #f4f0e7;
  background: var(--ink);
}

.button-dark:hover {
  background: var(--wine);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 600;
}

.light-link {
  color: #f7f1e7;
}

.text-link::after {
  display: block;
  width: 30px;
  height: 1px;
  background: currentColor;
  content: "";
  transform: translateX(-42px);
  opacity: 0;
  transition: transform 180ms ease, opacity 180ms ease;
}

.text-link:hover::after {
  transform: translateX(0);
  opacity: 1;
}

.hero-note {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 78px;
  color: rgba(234, 217, 172, 0.64);
  font-size: 10px;
  letter-spacing: 0.2em;
}

.hero-note span {
  color: rgba(250, 246, 237, 0.48);
  font-family: var(--serif);
  letter-spacing: 0.34em;
}

.hero-media {
  position: relative;
  align-self: stretch;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 70px 0 38px 34px;
}

.hero-media::before {
  position: absolute;
  top: 14%;
  right: 4%;
  width: 76%;
  height: 62%;
  border: 1px solid rgba(234, 217, 172, 0.28);
  content: "";
}

.hero-media-frame {
  position: relative;
  z-index: 1;
  width: min(100%, 610px);
  padding: 24px 22px 0;
}

.hero-media-frame::after {
  position: absolute;
  right: 6%;
  bottom: -2%;
  left: 6%;
  height: 13%;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 50%;
  filter: blur(20px);
  content: "";
}

.hero-media img {
  position: relative;
  z-index: 1;
  width: 100%;
  max-height: 650px;
  object-fit: contain;
  filter: drop-shadow(0 28px 26px rgba(0, 0, 0, 0.34));
  mix-blend-mode: screen;
}

.hero-media-caption {
  position: absolute;
  right: 1%;
  bottom: 16%;
  z-index: 2;
  display: grid;
  gap: 7px;
  color: var(--gold-light);
  font-size: 10px;
  letter-spacing: 0.18em;
  writing-mode: vertical-rl;
}

.hero-media-caption span:first-child {
  color: rgba(255, 246, 219, 0.52);
}

.hero-scroll {
  position: absolute;
  bottom: 25px;
  left: 50%;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255, 247, 228, 0.54);
  font-size: 10px;
  letter-spacing: 0.16em;
  transform: translateX(-50%);
}

.hero-scroll span {
  display: inline-block;
  width: 31px;
  height: 1px;
  background: currentColor;
}

.fact-strip {
  color: #f7f1e5;
  background: var(--wine-deep);
}

.fact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.fact {
  display: grid;
  gap: 4px;
  padding: 26px 24px 24px 0;
  border-right: 1px solid rgba(255, 247, 228, 0.18);
}

.fact:not(:first-child) {
  padding-left: 28px;
}

.fact:last-child {
  border-right: 0;
}

.fact strong {
  color: var(--gold-light);
  font-family: var(--serif);
  font-size: 31px;
  line-height: 1;
}

.fact-unit {
  margin-left: 2px;
  font-size: 15px;
}

.fact span {
  color: rgba(255, 247, 228, 0.66);
  font-size: 11px;
}

.brand-section {
  background: var(--cream);
}

.brand-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(64px, 10vw, 150px);
  align-items: center;
}

.brand-visual {
  position: relative;
  max-width: 560px;
}

.image-frame {
  overflow: hidden;
}

.image-frame-tall {
  aspect-ratio: 0.86;
  background: var(--wine);
}

.image-frame-tall img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.8) contrast(1.05);
}

.visual-stamp {
  position: absolute;
  right: -32px;
  bottom: -25px;
  display: grid;
  gap: 0;
  width: 148px;
  height: 148px;
  padding: 23px 20px;
  color: #f7f1e5;
  background: var(--wine);
  text-align: center;
  transform: rotate(-5deg);
}

.visual-stamp span {
  font-size: 11px;
  letter-spacing: 0.2em;
}

.visual-stamp strong {
  font-family: var(--serif);
  font-size: 28px;
}

.visual-stamp small {
  font-size: 8px;
  letter-spacing: 0.11em;
  opacity: 0.7;
}

.section-copy {
  max-width: 580px;
}

.section-copy .lead,
.strength-copy .lead {
  color: var(--wine);
  font-family: var(--serif);
  font-size: 23px;
}

.section-copy p:not(.eyebrow):not(.lead),
.strength-copy p:not(.eyebrow):not(.lead),
.academy-copy p:not(.eyebrow) {
  color: rgba(23, 22, 19, 0.68);
}

.section-copy .text-link,
.strength-copy .text-link {
  margin-top: 28px;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 48px;
  margin-bottom: 62px;
}

.section-heading h2 {
  margin-bottom: 0;
}

.section-heading-note {
  max-width: 330px;
  margin-bottom: 10px;
  color: rgba(23, 22, 19, 0.58);
  font-size: 13px;
  text-align: right;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.product-card {
  display: flex;
  flex-direction: column;
  min-height: 610px;
  background: #e8e1d4;
}

.product-card-standard {
  background: #dce1d5;
}

.product-card-flagship {
  background: #eee4cd;
}

.product-card-limited {
  background: #d7d1c9;
}

.product-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 19px 20px;
  border-bottom: 1px solid rgba(23, 22, 19, 0.12);
  color: rgba(23, 22, 19, 0.64);
  font-size: 10px;
  letter-spacing: 0.1em;
}

.product-price {
  letter-spacing: 0.04em;
}

.product-image {
  display: grid;
  place-items: center;
  min-height: 290px;
  padding: 28px 28px 12px;
}

.product-image img {
  width: 100%;
  height: 290px;
  object-fit: contain;
  mix-blend-mode: multiply;
  transition: transform 300ms ease;
}

.product-card:hover .product-image img {
  transform: scale(1.04) translateY(-4px);
}

.product-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  padding: 0 28px 29px;
}

.product-card-body h3 {
  margin-bottom: 4px;
  font-size: 28px;
}

.product-tags {
  margin-bottom: 12px;
  color: var(--wine);
  font-size: 12px;
}

.product-tags i {
  margin: 0 5px;
  font-style: normal;
  color: rgba(23, 22, 19, 0.35);
}

.product-card-body > p:not(.product-tags) {
  min-height: 78px;
  margin-bottom: 20px;
  color: rgba(23, 22, 19, 0.68);
  font-size: 13px;
  line-height: 1.8;
}

.outline-button {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-top: auto;
  padding: 0 0 8px;
  color: var(--ink);
  border-bottom: 1px solid var(--ink);
  background: transparent;
  font-size: 12px;
}

.products-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 36px;
}

.products-foot p {
  margin: 0;
  color: rgba(23, 22, 19, 0.5);
  font-size: 11px;
}

.heritage-banner {
  position: relative;
  min-height: 620px;
  overflow: hidden;
  color: #fff9ed;
  background: var(--wine-deep);
}

.heritage-image {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(78, 12, 17, 0.9), rgba(78, 12, 17, 0.38) 55%, rgba(78, 12, 17, 0.2)),
    url("assets/brand-banner.png") center / cover no-repeat;
  opacity: 0.92;
}

.heritage-content {
  position: relative;
  z-index: 1;
  display: flex;
  min-height: 620px;
  flex-direction: column;
  justify-content: center;
}

.heritage-content h2 {
  margin-bottom: 18px;
  color: var(--gold-light);
  font-size: clamp(62px, 8vw, 126px);
}

.heritage-content p {
  color: rgba(255, 249, 237, 0.82);
  font-family: var(--serif);
  font-size: clamp(22px, 2.8vw, 34px);
  line-height: 1.5;
}

.heritage-rule {
  display: block;
  width: 120px;
  height: 1px;
  margin: 42px 0 16px;
  background: var(--gold-light);
}

.heritage-content small {
  color: rgba(255, 249, 237, 0.66);
  font-size: 9px;
  letter-spacing: 0.28em;
}

.craft-section {
  background: #f7f3ea;
}

.craft-layout {
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  gap: clamp(48px, 8vw, 112px);
  align-items: center;
}

.craft-copy {
  max-width: 520px;
}

.craft-feature {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 22px;
  padding: 28px 0;
  border-top: 1px solid var(--line);
}

.craft-feature:last-of-type {
  border-bottom: 1px solid var(--line);
}

.craft-number {
  color: var(--wine);
  font-family: var(--serif);
  font-size: 28px;
  line-height: 1.1;
}

.craft-number-herb {
  color: var(--olive);
  font-size: 35px;
}

.craft-feature h3 {
  margin-bottom: 8px;
  font-size: 23px;
}

.craft-feature p {
  margin-bottom: 0;
  color: rgba(23, 22, 19, 0.64);
  font-size: 13px;
}

.craft-copy .text-link {
  margin-top: 28px;
}

.craft-visual {
  position: relative;
}

.process-image {
  overflow: hidden;
  background: #ebe3d3;
}

.process-image img {
  width: 100%;
  aspect-ratio: 1.05;
  object-fit: cover;
  object-position: center;
  mix-blend-mode: multiply;
}

.process-side-note {
  position: absolute;
  right: -27px;
  bottom: 38px;
  display: grid;
  gap: 12px;
  width: 180px;
  padding: 22px 20px;
  color: #f8f2e8;
  background: var(--olive);
}

.process-side-note span {
  color: var(--gold-light);
  font-size: 8px;
  letter-spacing: 0.14em;
}

.process-side-note strong {
  font-family: var(--serif);
  font-size: 22px;
  line-height: 1.5;
}

.section-heading-light .section-heading-note,
.section-heading-light .eyebrow {
  color: rgba(244, 240, 231, 0.64);
}

.section-heading-light h2 {
  color: #f4f0e7;
}

.material-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.material-card {
  position: relative;
  min-height: 470px;
  padding: 20px;
  border: 1px solid rgba(244, 240, 231, 0.18);
}

.material-image {
  height: 236px;
  margin: -20px -20px 22px;
  overflow: hidden;
}

.material-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.72);
  transition: transform 300ms ease, filter 300ms ease;
}

.material-card:hover .material-image img {
  filter: saturate(0.95);
  transform: scale(1.05);
}

.material-card > span {
  color: var(--gold-light);
  font-size: 10px;
  letter-spacing: 0.15em;
}

.material-card h3 {
  margin: 8px 0 8px;
  font-size: 26px;
}

.material-card p {
  margin-bottom: 0;
  color: rgba(244, 240, 231, 0.7);
  font-size: 13px;
}

.strength-section {
  background: var(--cream);
}

.strength-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(56px, 9vw, 138px);
  align-items: center;
}

.strength-copy {
  max-width: 510px;
}

.strength-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin: 34px 0 30px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.strength-metrics div {
  display: grid;
  gap: 5px;
}

.strength-metrics strong {
  color: var(--wine);
  font-family: var(--serif);
  font-size: 24px;
  line-height: 1.1;
}

.strength-metrics span {
  color: rgba(23, 22, 19, 0.56);
  font-size: 10px;
}

.strength-gallery {
  display: grid;
  grid-template-columns: 1.65fr 0.8fr;
  gap: 14px;
  align-items: end;
}

.gallery-main,
.gallery-stack img {
  overflow: hidden;
}

.gallery-main {
  aspect-ratio: 0.9;
}

.gallery-main img,
.gallery-stack img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-main img {
  filter: saturate(0.72) contrast(1.05);
}

.gallery-stack {
  display: grid;
  gap: 14px;
}

.gallery-stack img {
  aspect-ratio: 1;
  filter: saturate(0.68);
}

.strength-gallery > p {
  grid-column: 1 / -1;
  margin: 12px 0 0;
  color: rgba(23, 22, 19, 0.55);
  font-size: 10px;
  letter-spacing: 0.12em;
}

.academy-section {
  padding: 82px 0;
  background: #e1dfd4;
}

.academy-layout {
  display: grid;
  grid-template-columns: 0.28fr 0.72fr;
  gap: 60px;
  align-items: center;
}

.academy-mark {
  display: grid;
  place-items: center;
  min-height: 220px;
  padding: 26px;
  background: rgba(255, 255, 255, 0.38);
}

.academy-mark img {
  width: min(190px, 100%);
  mix-blend-mode: multiply;
}

.academy-copy {
  max-width: 700px;
}

.academy-copy h2 {
  margin-bottom: 16px;
  font-size: clamp(36px, 4vw, 56px);
}

.academy-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 30px;
  margin: 26px 0 16px;
  color: var(--wine);
  font-family: var(--serif);
  font-size: 17px;
}

.academy-points span {
  position: relative;
}

.academy-points span:not(:last-child)::after {
  position: absolute;
  top: 50%;
  right: -17px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--gold);
  content: "";
}

.academy-copy small {
  color: rgba(23, 22, 19, 0.48);
  font-size: 10px;
}

.cooperation-section {
  position: relative;
  overflow: hidden;
  background: var(--ink);
}

.cooperation-backdrop {
  position: absolute;
  inset: 0 0 0 47%;
  background:
    linear-gradient(90deg, var(--ink) 0%, rgba(23, 22, 19, 0.76) 35%, rgba(23, 22, 19, 0.35) 100%),
    url("assets/tasting-room.png") center / cover no-repeat;
  opacity: 0.8;
}

.cooperation-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 0.72fr;
  gap: clamp(60px, 12vw, 180px);
  align-items: center;
}

.cooperation-copy {
  max-width: 640px;
}

.cooperation-copy > p:not(.eyebrow) {
  max-width: 540px;
  color: rgba(250, 246, 237, 0.7);
}

.partner-benefits {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 40px;
  margin: 40px 0 42px;
  max-width: 480px;
}

.partner-benefits div {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 247, 228, 0.18);
}

.partner-benefits strong {
  color: var(--gold);
  font-family: var(--serif);
  font-size: 21px;
}

.partner-benefits span {
  color: rgba(250, 246, 237, 0.76);
  font-size: 12px;
}

.cooperation-card {
  padding: 38px 34px;
  color: var(--ink);
  background: rgba(242, 235, 221, 0.94);
}

.card-kicker {
  margin-bottom: 34px;
  color: var(--wine);
  font-size: 9px;
  letter-spacing: 0.2em;
}

.cooperation-card h3 {
  margin-bottom: 28px;
  font-size: 30px;
  line-height: 1.4;
}

.cooperation-card ul {
  display: grid;
  gap: 11px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: rgba(23, 22, 19, 0.66);
  font-size: 13px;
}

.cooperation-card li {
  padding-left: 22px;
  position: relative;
}

.cooperation-card li::before {
  position: absolute;
  top: 0.72em;
  left: 0;
  width: 8px;
  height: 1px;
  background: var(--wine);
  content: "";
}

.card-foot {
  margin-top: 42px;
  padding-top: 16px;
  border-top: 1px solid rgba(23, 22, 19, 0.15);
  color: rgba(23, 22, 19, 0.48);
  font-size: 10px;
}

.contact-section {
  background: #f7f3ea;
}

.contact-layout {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: clamp(58px, 10vw, 140px);
  align-items: start;
}

.contact-copy {
  max-width: 500px;
}

.contact-copy h2 {
  margin-bottom: 20px;
  font-size: clamp(38px, 4.5vw, 64px);
}

.contact-copy > p:not(.eyebrow) {
  color: rgba(23, 22, 19, 0.63);
}

.contact-lines {
  display: grid;
  gap: 0;
  margin-top: 34px;
}

.contact-lines > div {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 14px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
}

.contact-lines span {
  color: rgba(23, 22, 19, 0.46);
  font-size: 11px;
}

.contact-lines a,
.contact-lines p {
  margin: 0;
  color: var(--ink);
  font-size: 13px;
}

.contact-lines a:hover {
  color: var(--wine);
}

.license-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 24px;
  padding: 0;
  color: var(--wine);
  background: transparent;
  border-bottom: 1px solid var(--wine);
  font-size: 12px;
}

.contact-form {
  padding: 42px;
  background: #e7dfd0;
}

.form-header {
  display: grid;
  gap: 5px;
  margin-bottom: 29px;
}

.form-header span {
  color: var(--wine);
  font-size: 9px;
  letter-spacing: 0.18em;
}

.form-header strong {
  font-family: var(--serif);
  font-size: 28px;
}

.contact-form label {
  display: grid;
  gap: 6px;
  margin-bottom: 18px;
  color: rgba(23, 22, 19, 0.6);
  font-size: 11px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 10px 0;
  color: var(--ink);
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(23, 22, 19, 0.23);
  border-radius: 0;
  outline: 0;
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--wine);
  box-shadow: 0 1px 0 var(--wine);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(23, 22, 19, 0.35);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.button-submit {
  width: 100%;
  margin-top: 8px;
}

.form-status {
  min-height: 22px;
  margin: 13px 0 0;
  color: var(--wine);
  font-size: 12px;
}

.site-footer {
  color: rgba(250, 246, 237, 0.7);
  background: var(--ink);
}

.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 48px 0 40px;
}

.footer-brand .brand-seal {
  color: var(--gold-light);
}

.footer-brand strong {
  color: #fbf7ef;
}

.footer-phrase {
  color: var(--gold-light);
  font-family: var(--serif);
  font-size: 21px;
  line-height: 1.45;
  text-align: center;
}

.footer-backtop {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  color: #f7f1e5;
  font-size: 12px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 17px 0;
  border-top: 1px solid rgba(250, 246, 237, 0.16);
  color: rgba(250, 246, 237, 0.42);
  font-size: 10px;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 30;
  display: grid;
  place-items: center;
  padding: 24px;
  visibility: hidden;
  opacity: 0;
  transition: opacity 180ms ease, visibility 180ms ease;
}

.modal.is-open {
  visibility: visible;
  opacity: 1;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(23, 22, 19, 0.78);
}

.modal-dialog,
.license-dialog {
  position: relative;
  z-index: 1;
  max-height: calc(100vh - 48px);
  overflow: auto;
  background: var(--cream);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.26);
}

.modal-dialog {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  width: min(880px, 100%);
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 17px;
  z-index: 2;
  width: 32px;
  height: 32px;
  color: var(--ink);
  background: transparent;
  font-size: 25px;
  line-height: 1;
}

.modal-product-image {
  display: grid;
  place-items: center;
  min-height: 440px;
  padding: 35px;
  background: #e6ded0;
}

.modal-product-image img {
  width: 100%;
  height: 100%;
  max-height: 490px;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.modal-product-copy {
  padding: 58px 48px 48px;
}

.modal-product-copy h2 {
  margin-bottom: 18px;
  font-size: 44px;
}

.modal-product-copy > p:not(.eyebrow):not(.modal-note) {
  color: var(--wine);
  font-family: var(--serif);
  font-size: 23px;
}

.modal-meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 34px 0;
  padding: 18px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.modal-meta div {
  display: grid;
  gap: 4px;
}

.modal-meta strong {
  color: var(--ink);
  font-family: var(--serif);
  font-size: 20px;
}

.modal-meta span {
  color: rgba(23, 22, 19, 0.5);
  font-size: 10px;
}

.modal-note {
  margin-bottom: 24px;
  color: rgba(23, 22, 19, 0.52);
  font-size: 10px;
}

.license-dialog {
  width: min(580px, 100%);
  padding: 28px;
}

.license-dialog img {
  width: 100%;
  max-height: calc(100vh - 130px);
  object-fit: contain;
}

.license-dialog p {
  margin: 16px 0 0;
  color: rgba(23, 22, 19, 0.62);
  font-size: 12px;
}

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 700ms ease, transform 700ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay {
  transition-delay: 100ms;
}

.reveal-delay-2 {
  transition-delay: 180ms;
}

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 4px;
}

@media (max-width: 1020px) {
  .site-header {
    gap: 22px;
    padding: 20px 28px;
  }

  .main-nav {
    gap: 17px;
  }

  .main-nav a {
    font-size: 12px;
  }

  .page-width {
    width: min(var(--max), calc(100% - 56px));
  }

  .hero-grid,
  .strength-layout,
  .contact-layout {
    gap: 56px;
  }

  .brand-grid {
    gap: 68px;
  }

  .product-card {
    min-height: 640px;
  }

  .cooperation-layout {
    gap: 60px;
  }
}

@media (max-width: 820px) {
  .site-header {
    position: fixed;
    color: #f9f3e9;
    background: transparent;
  }

  .site-header.is-open {
    background: var(--ink);
  }

  .header-cta {
    margin-left: auto;
  }

  .menu-toggle {
    display: block;
    order: 3;
  }

  .main-nav {
    position: absolute;
    top: 79px;
    right: 0;
    left: 0;
    display: grid;
    gap: 0;
    padding: 12px 28px 24px;
    background: var(--ink);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 180ms ease, transform 180ms ease;
  }

  .site-header.is-open .main-nav {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .main-nav a {
    padding: 13px 0;
    border-bottom: 1px solid rgba(255, 247, 228, 0.13);
    font-size: 14px;
  }

  .main-nav a::after {
    display: none;
  }

  .hero-grid,
  .brand-grid,
  .craft-layout,
  .strength-layout,
  .academy-layout,
  .cooperation-layout,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-grid {
    padding-top: 120px;
  }

  .hero-copy {
    max-width: 580px;
    padding-bottom: 10px;
  }

  .hero-media {
    min-height: 450px;
    padding: 10px 0 45px;
  }

  .hero-media::before {
    top: 9%;
    right: 4%;
    width: 80%;
  }

  .hero-media-frame {
    width: min(86vw, 560px);
  }

  .hero-media-caption {
    right: 2%;
    bottom: 19%;
  }

  .hero-scroll {
    display: none;
  }

  .brand-grid,
  .craft-layout,
  .strength-layout,
  .contact-layout {
    gap: 62px;
  }

  .brand-visual {
    width: min(100%, 520px);
  }

  .product-grid,
  .material-grid {
    grid-template-columns: 1fr;
  }

  .product-card {
    min-height: 0;
  }

  .product-image {
    min-height: 280px;
  }

  .product-card-body > p:not(.product-tags) {
    min-height: 0;
  }

  .section-heading {
    align-items: start;
    flex-direction: column;
    gap: 18px;
  }

  .section-heading-note {
    max-width: 520px;
    margin-bottom: 0;
    text-align: left;
  }

  .cooperation-backdrop {
    inset: 48% 0 0;
    background:
      linear-gradient(180deg, var(--ink) 0%, rgba(23, 22, 19, 0.45) 42%, rgba(23, 22, 19, 0.25)),
      url("assets/tasting-room.png") center / cover no-repeat;
  }

  .cooperation-card {
    width: min(100%, 520px);
  }

  .academy-layout {
    gap: 30px;
  }

  .academy-mark {
    min-height: 160px;
  }

  .modal-dialog {
    grid-template-columns: 1fr;
  }

  .modal-product-image {
    min-height: 280px;
    max-height: 340px;
  }

  .modal-product-copy {
    padding: 35px 28px 32px;
  }
}

@media (max-width: 560px) {
  .page-width {
    width: min(var(--max), calc(100% - 36px));
  }

  .site-header {
    gap: 10px;
    padding: 16px 18px;
  }

  .brand-copy strong {
    font-size: 16px;
  }

  .brand-copy small {
    font-size: 8px;
  }

  .header-cta {
    padding: 7px 9px;
    font-size: 10px;
  }

  .menu-toggle {
    width: 34px;
    padding-inline: 7px;
  }

  .main-nav {
    top: 69px;
    padding-inline: 18px;
  }

  .section {
    padding: 84px 0;
  }

  h1 {
    font-size: 60px;
  }

  h2 {
    font-size: 42px;
  }

  .hero-grid {
    padding-top: 105px;
  }

  .hero-copy {
    padding-top: 54px;
  }

  .hero-subtitle {
    font-size: 22px;
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
    margin-top: 28px;
  }

  .hero-note {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
    margin-top: 46px;
  }

  .hero-media {
    min-height: 370px;
    padding-bottom: 30px;
  }

  .hero-media-frame {
    padding-inline: 7px;
  }

  .hero-media-caption {
    right: -4px;
    bottom: 19%;
  }

  .fact-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .fact {
    padding: 20px 12px 20px 0;
    border-bottom: 1px solid rgba(255, 247, 228, 0.18);
  }

  .fact:nth-child(2) {
    border-right: 0;
  }

  .fact:nth-child(3),
  .fact:nth-child(4) {
    border-bottom: 0;
  }

  .fact:nth-child(3) {
    padding-left: 0;
  }

  .fact:nth-child(4) {
    padding-left: 12px;
  }

  .fact strong {
    font-size: 25px;
  }

  .brand-grid,
  .craft-layout,
  .strength-layout,
  .contact-layout {
    gap: 47px;
  }

  .visual-stamp {
    right: -6px;
    width: 124px;
    height: 124px;
    padding: 18px 12px;
  }

  .visual-stamp strong {
    font-size: 24px;
  }

  .product-grid,
  .material-grid {
    gap: 16px;
  }

  .product-image {
    min-height: 250px;
    padding-inline: 16px;
  }

  .product-image img {
    height: 250px;
  }

  .product-card-body {
    padding-inline: 20px;
  }

  .products-foot {
    align-items: flex-start;
    flex-direction: column;
  }

  .heritage-banner,
  .heritage-content {
    min-height: 520px;
  }

  .heritage-content h2 {
    font-size: 68px;
  }

  .craft-feature {
    grid-template-columns: 82px 1fr;
    gap: 15px;
  }

  .craft-number {
    font-size: 23px;
  }

  .craft-number-herb {
    font-size: 29px;
  }

  .process-side-note {
    right: -5px;
    bottom: 18px;
    width: 147px;
    padding: 16px;
  }

  .process-side-note strong {
    font-size: 18px;
  }

  .material-card {
    min-height: 0;
    padding-bottom: 24px;
  }

  .material-image {
    height: 220px;
  }

  .strength-metrics {
    gap: 8px;
  }

  .strength-metrics strong {
    font-size: 19px;
  }

  .strength-metrics span {
    font-size: 9px;
    line-height: 1.4;
  }

  .strength-gallery {
    grid-template-columns: 1fr;
  }

  .gallery-main {
    aspect-ratio: 1.1;
  }

  .gallery-stack {
    grid-template-columns: 1fr 1fr;
  }

  .gallery-stack img {
    aspect-ratio: 1.1;
  }

  .partner-benefits {
    gap: 15px;
    margin: 30px 0;
  }

  .partner-benefits span {
    font-size: 11px;
  }

  .cooperation-card {
    padding: 28px 24px;
  }

  .cooperation-card h3 {
    font-size: 26px;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .contact-form {
    padding: 28px 20px;
  }

  .footer-top,
  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-top {
    gap: 28px;
  }

  .footer-phrase {
    text-align: left;
  }

  .footer-bottom {
    gap: 8px;
  }

  .modal {
    padding: 12px;
  }

  .modal-product-copy h2 {
    font-size: 36px;
  }

  .modal-meta {
    gap: 6px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
