:root {
  --ink: #0c0b09;
  --ink-2: #141210;
  --panel: #1b1814;
  --cream: #f3ead8;
  --cream-2: #e4d5b5;
  --gold: #c4a35a;
  --gold-2: #e8d5a3;
  --muted: #9a8d74;
  --line: #3a3428;
  --forest: #1c3d2e;
  --forest-2: #102418;
  --danger: #b54a3c;
  --sans: "Be Vietnam Pro", ui-sans-serif, system-ui, sans-serif;
  --display: "Cormorant Garamond", "Times New Roman", serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  background: var(--ink);
  color: var(--cream);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--display); font-weight: 500; line-height: 1.15; text-wrap: balance; margin: 0; }
h1 { font-size: clamp(3rem, 7vw, 4.6rem); }
h1.h-page { font-size: clamp(2.4rem, 5vw, 3.7rem); }
h2 { font-size: clamp(2rem, 4vw, 2.8rem); }
h3 { font-size: 1.7rem; }
p { text-wrap: pretty; }
button, .btn { font-family: inherit; }

.wrap { width: min(72rem, calc(100% - 2rem)); margin-inline: auto; }
.kicker {
  margin: 0;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
}
.kicker.gold, .gold { color: var(--gold-2); }
.muted { color: var(--muted); }
.narrow { max-width: 40rem; }
.center { text-align: center; }
.center-copy { max-width: 40rem; margin-inline: auto; }
.light { color: var(--cream-2); }
.icon { vertical-align: -3px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 2.75rem;
  padding: 0 1.2rem;
  border-radius: 0.55rem;
  border: 1px solid transparent;
  background: var(--gold);
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 500;
  cursor: pointer;
}
.btn:hover { background: var(--gold-2); }
.btn-outline { background: transparent; color: var(--cream); border-color: var(--line); }
.btn-outline:hover { border-color: var(--gold); color: var(--gold-2); background: transparent; }
.btn-sm { min-height: 2.4rem; font-size: 0.85rem; }
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  min-height: 2.75rem;
  color: var(--gold-2);
}
.text-link:hover { color: var(--gold); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid rgb(58 52 40 / 0.7);
  background: rgb(12 11 9 / 0.9);
  backdrop-filter: blur(12px);
}
.bar { display: flex; align-items: center; justify-content: space-between; height: 4.5rem; }
.brand { display: flex; align-items: center; gap: 0.75rem; }
.brand img { width: 2.85rem; height: 2.85rem; border-radius: 0.45rem; object-fit: contain; background: #000; }
.brand strong {
  display: block;
  font-family: var(--display);
  letter-spacing: 0.22em;
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--gold-2);
  line-height: 1;
}
.brand small { display: block; margin-top: 0.28rem; color: var(--muted); letter-spacing: 0.16em; text-transform: uppercase; font-size: 0.65rem; }
.nav { display: none; align-items: center; gap: 1.4rem; }
.nav a { color: var(--muted); font-size: 0.95rem; }
.nav a.on, .nav a:hover { color: var(--gold-2); }
.nav-cta { display: none; }
.desk-cta { display: none; }
.nav-toggle { position: absolute; opacity: 0; pointer-events: none; }
.burger { width: 2.75rem; height: 2.75rem; display: grid; place-items: center; cursor: pointer; }
.burger span, .burger span:before, .burger span:after {
  display: block; width: 1.15rem; height: 1.5px; background: var(--cream); position: relative; content: "";
}
.burger span:before { position: absolute; top: -6px; }
.burger span:after { position: absolute; top: 6px; }
.nav-toggle:checked ~ .nav {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  position: absolute;
  left: 0; right: 0; top: 4.5rem;
  background: var(--ink-2);
  border-bottom: 1px solid var(--line);
  padding: 0.6rem 1rem 1rem;
  gap: 0;
}
.nav-toggle:checked ~ .nav a { min-height: 2.75rem; display: flex; align-items: center; color: var(--cream); }
.nav-toggle:checked ~ .nav .nav-cta { display: inline-flex; margin-top: 0.4rem; }

@media (min-width: 860px) {
  .nav { display: flex; }
  .nav-cta { display: none; }
  .desk-cta { display: inline-flex; }
  .burger { display: none; }
  .brand small { display: block; }
}

.hero { position: relative; min-height: 88vh; display: flex; align-items: flex-end; overflow: hidden; }
.hero.tall { min-height: 100vh; }
.hero > img, .band > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-shade {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgb(12 11 9 / 0.5), rgb(12 11 9 / 0.72) 55%, var(--ink));
}
.hero-copy { position: relative; padding: 7rem 0 4rem; }
.lede { margin: 0.6rem 0 0; font-family: var(--display); font-style: italic; font-size: clamp(1.6rem, 3vw, 2rem); color: var(--gold-2); }
.sub { max-width: 36rem; color: var(--cream-2); }
.row { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.5rem; }
.grain:after {
  content: "";
  position: absolute; inset: 0; pointer-events: none; opacity: 0.05;
  background-image: radial-gradient(rgb(243 234 216 / 0.6) 0.6px, transparent 0.6px);
  background-size: 3px 3px;
}

.ticker { border-block: 1px solid var(--line); background: var(--ink-2); }
.ticker-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.8rem 1.5rem; padding: 0.9rem 0; }
.ticker-row p { margin: 0; font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }

.split, .page, .process, .center, .story, .contact { padding: 4.5rem 0; }
.split { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; } }
.mosaic { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; }
.logo-tile, .mosaic img { width: 100%; height: 100%; object-fit: cover; border-radius: 0.8rem; }
img.logo-tile, .mosaic img.logo-tile {
  width: 100%;
  height: auto;
  max-height: none;
  aspect-ratio: 1320 / 1164;
  object-fit: contain;
  object-position: center;
  background: #000;
  align-self: center;
  grid-column: 1 / -1;
}
.mosaic-side { display: grid; gap: 0.75rem; }
.mosaic-side img { height: 10.5rem; }
@media (min-width: 640px) {
  .mosaic img.logo-tile { grid-column: auto; aspect-ratio: 1320 / 1164; min-height: 0; height: auto; object-fit: contain; }
}

.panel { background: var(--panel); padding: 4.5rem 0; }
.section-head, .band-grid, .letter, .contrast-grid, .detail-grid, .story, .contact, .offices, .map-grid, .about-products {
  display: grid; gap: 1.5rem;
}
.section-head { align-items: end; justify-content: space-between; margin-bottom: 2rem; }
@media (min-width: 800px) {
  .section-head { display: flex; }
  .letter, .contrast-grid, .detail-grid, .story, .contact, .offices, .map-grid, .about-products { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
  .contrast-grid { grid-template-columns: 5fr 7fr; }
}
.grid-2, .grid-3, .grid-4 { display: grid; gap: 1.1rem; }
@media (min-width: 760px) {
  .grid-2, .about-products .mini-list { grid-template-columns: 1fr 1fr; }
  .grid-3, .values { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 980px) { .grid-4 { grid-template-columns: repeat(4, 1fr); } }

.card {
  display: flex; flex-direction: column; min-height: 100%;
  background: var(--panel); border-radius: 0.9rem; overflow: hidden;
  box-shadow: 0 0 0 1px rgb(196 163 90 / 0.18);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.card:hover { transform: translateY(-2px); box-shadow: 0 0 0 1px rgb(196 163 90 / 0.45); }
.card-media { position: relative; height: 28rem; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.card-media.wine { background: var(--forest-2); }
.card-media.water { background: var(--ink); }
.card-media img { width: 100%; height: 100%; transition: transform 0.3s ease; }
.card:hover .card-media img { transform: scale(1.03); }
.cover { object-fit: contain; object-position: center; }
.contain { object-fit: contain; padding: 1.4rem; }
.age {
  position: absolute; top: 0.8rem; left: 0.8rem;
  background: rgb(12 11 9 / 0.8); color: var(--gold-2);
  font-size: 0.65rem; letter-spacing: 0.14em; padding: 0.25rem 0.45rem; border-radius: 0.2rem;
}
.card-body { display: flex; flex-direction: column; gap: 0.4rem; padding: 1.2rem 1.25rem 1.3rem; flex: 1; }
.card-body h3 { font-size: 1.7rem; }
.card-body .muted { margin: 0; font-size: 0.95rem; }
.card-foot { margin-top: auto; padding-top: 1rem; display: flex; justify-content: space-between; color: var(--gold-2); font-size: 0.92rem; }

.pillar {
  background: var(--ink-2); border-radius: 0.9rem; padding: 1.25rem;
  box-shadow: 0 0 0 1px rgb(196 163 90 / 0.18);
}
.pillar .icon { color: var(--gold); }
.pillar h3 { margin-top: 0.8rem; }
.pillar p { color: var(--muted); margin-bottom: 0; }
.gold-title { color: var(--gold-2); font-size: 1.8rem; }

.band { position: relative; overflow: hidden; }
.band-shade { position: absolute; inset: 0; background: rgb(12 11 9 / 0.75); }
.band-shade.deep { background: rgb(12 11 9 / 0.82); }
.band .wrap { position: relative; padding: 5rem 0; }
.stat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.8rem; }
.stat-grid div, .spec-grid div {
  border: 1px solid rgb(58 52 40 / 0.85); background: rgb(12 11 9 / 0.5);
  border-radius: 0.6rem; padding: 0.9rem;
}
.stat-grid dt, .spec-grid dt { font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.stat-grid dd { margin: 0.35rem 0 0; font-family: var(--display); font-size: 1.6rem; color: var(--gold-2); }
.spec-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.7rem; margin: 1.2rem 0 1.4rem; }
.spec-grid dd { margin: 0.25rem 0 0; color: var(--cream); }

.stats { background: var(--ink-2); border-block: 1px solid var(--line); }
.stats-grid { display: grid; grid-template-columns: 1fr 1fr; }
.stats-grid div { padding: 1.1rem 0.2rem; }
.stats-grid p { margin: 0; font-size: 0.68rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.stats-grid strong { display: block; margin-top: 0.35rem; font-family: var(--display); font-weight: 500; font-size: 1.45rem; }
@media (min-width: 700px) { .stats-grid { grid-template-columns: repeat(4, 1fr); } }

.logo-frame { border-radius: 0.9rem; overflow: hidden; box-shadow: 0 0 0 1px rgb(196 163 90 / 0.35); }
.logo-frame img { width: 100%; height: auto; aspect-ratio: 1320 / 1164; object-fit: contain; object-position: center; background: #000; }
.drop-cap::first-letter {
  float: left; font-family: var(--display); font-size: 3.2rem; line-height: 0.85;
  padding-right: 0.4rem; color: var(--gold-2);
}
blockquote {
  margin: 1.5rem 0; padding-left: 1.1rem; border-left: 2px solid var(--gold);
  font-family: var(--display); font-style: italic; font-size: 1.7rem; color: var(--gold-2);
}
.sign { font-family: var(--display); font-size: 1.4rem; margin-bottom: 0.2rem; }

.shot { position: relative; display: block; height: 16rem; border-radius: 0.9rem; overflow: hidden; }
.shot img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.shot:hover img { transform: scale(1.05); }
.shot span {
  position: absolute; inset: auto 0 0 0; padding: 1.1rem;
  background: linear-gradient(to top, rgb(12 11 9 / 0.92), transparent);
}
.shot small, .feature-shot small { display: block; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-2); font-size: 0.68rem; }
.shot strong, .feature-shot strong { display: block; margin-top: 0.3rem; font-family: var(--display); font-size: 1.6rem; font-weight: 500; }

.office-photo { overflow: hidden; border-radius: 0.9rem; background: var(--ink-2); box-shadow: 0 0 0 1px rgb(196 163 90 / 0.18); }
.office-photo img { height: 10rem; width: 100%; object-fit: cover; }
.office-photo div { padding: 1.25rem; }
.feature-shot { position: relative; display: block; min-height: 22rem; border-radius: 0.9rem; overflow: hidden; background: var(--ink-2); }
.feature-shot img { width: 100%; height: auto; max-height: 36rem; min-height: 0; object-fit: contain; object-position: center; background: #102418; }
.feature-shot span { position: absolute; inset: auto 0 0 0; padding: 1.3rem; background: linear-gradient(to top, var(--ink), transparent); }
.feature-shot em { color: var(--cream-2); font-style: normal; font-size: 0.95rem; }
.mini-list { display: grid; gap: 1rem; }
.mini-list a {
  display: flex; gap: 1rem; align-items: center; padding: 0.8rem;
  background: var(--panel); border-radius: 0.9rem; box-shadow: 0 0 0 1px rgb(196 163 90 / 0.18);
}
.mini-list img { width: 5.5rem; height: 8rem; object-fit: contain; }
.mini-list img.pack { background: #f6f3ee; border-radius: 0.5rem; object-fit: contain; }
.mini-list small { letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); font-size: 0.68rem; }
.mini-list strong { display: block; font-family: var(--display); font-size: 1.6rem; font-weight: 500; }
.mini-list em { color: var(--muted); font-style: normal; font-size: 0.92rem; }

.steps-nav {
  position: sticky; top: 4.5rem; z-index: 30;
  background: rgb(12 11 9 / 0.92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line);
}
.steps-nav ol { display: flex; gap: 0.2rem; overflow: auto; list-style: none; margin: 0; padding: 0.35rem 0; }
.steps-nav a { display: flex; align-items: center; gap: 0.4rem; min-height: 2.6rem; padding: 0 0.7rem; color: var(--muted); white-space: nowrap; font-size: 0.92rem; }
.steps-nav a span { font-family: var(--display); color: var(--gold); }
.steps-nav a:hover { color: var(--gold-2); }
.contrast { background: var(--ink-2); border-block: 1px solid var(--line); padding: 3.5rem 0; }
.shift { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; border-bottom: 1px solid var(--line); padding: 0.9rem 0; }
.shift p { margin: 0; }
.shift.head p { font-size: 0.68rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.shift.head p:last-child, .shift p:last-child { color: var(--cream); }
.shift.head p:last-child { color: var(--gold); }
.process-row { display: grid; gap: 1.4rem; align-items: center; margin-top: 3.5rem; scroll-margin-top: 7rem; }
@media (min-width: 900px) {
  .process-row { grid-template-columns: 1fr 1fr; gap: 3rem; }
  .process-row.flip img { order: 2; }
}
.process-row img, .process-feature { border-radius: 0.9rem; }
.process-row img { width: 100%; height: 22rem; object-fit: cover; }
.process-feature { position: relative; min-height: 24rem; overflow: hidden; margin-top: 3.5rem; scroll-margin-top: 7rem; }
.process-feature img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.process-feature div {
  position: relative; max-width: 32rem; min-height: 24rem;
  display: flex; flex-direction: column; justify-content: flex-end; padding: 1.6rem;
  background: linear-gradient(to right, rgb(12 11 9 / 0.86), rgb(12 11 9 / 0.35));
}
.quote-line { border-left: 2px solid var(--gold); padding-left: 0.9rem; color: var(--gold-2); }
.result { color: var(--gold-2); }
.map-grid iframe { width: 100%; min-height: 20rem; border: 0; background: var(--ink); border-radius: 0 0.9rem 0.9rem 0; }
.map-copy { background: var(--ink-2); border-radius: 0.9rem 0 0 0.9rem; padding: 1.6rem; box-shadow: 0 0 0 1px rgb(196 163 90 / 0.18); }
@media (max-width: 799px) {
  .map-copy, .map-grid iframe { border-radius: 0.9rem; }
}

.page h1, .contact h1, .detail h1 { font-size: clamp(2.3rem, 5vw, 3.2rem); }
.filters { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 1.5rem 0 2rem; }
.filters a { min-height: 2.75rem; display: inline-flex; align-items: center; padding: 0 1rem; border-radius: 999px; border: 1px solid var(--line); color: var(--muted); }
.filters a.on { background: var(--gold); color: var(--ink); border-color: var(--gold); }
.detail { background: var(--ink-2); border-bottom: 1px solid var(--line); padding: 3rem 0; }
.detail-photo { border-radius: 0.9rem; overflow: hidden; min-height: 24rem; display: flex; align-items: center; justify-content: center; }
.detail-photo.scene { background: var(--ink); }
.detail-photo.forest { background: var(--forest-2); }
.detail-photo.ink { background: var(--ink); }
.detail-photo img { width: 100%; max-height: 32rem; }
.detail-photo img.cover { height: auto; max-height: 36rem; width: 100%; object-fit: contain; object-position: center; }
.ja { font-family: var(--display); color: var(--gold-2); font-size: 1.4rem; }
.tagline { font-size: 1.15rem; color: var(--cream-2); }
.warn { border: 1px solid rgb(181 74 60 / 0.45); background: rgb(181 74 60 / 0.12); border-radius: 0.45rem; padding: 0.7rem 0.8rem; color: var(--cream-2); }
.story-photos { display: grid; gap: 0.8rem; align-content: start; }
.story-photos img { width: 100%; border-radius: 0.9rem; object-fit: contain; object-position: center; max-height: 32rem; background: #141210; }
.story-photos img.studio { object-fit: contain; background: #f6f3ee; max-height: 28rem; padding: 1rem; }

.form-card, .admin-login {
  background: var(--panel); border-radius: 0.9rem; padding: 1.4rem;
  box-shadow: 0 0 0 1px rgb(196 163 90 / 0.18);
}
form { display: grid; gap: 0.85rem; }
label { display: grid; gap: 0.35rem; font-size: 0.92rem; color: var(--cream-2); }
input, select, textarea {
  width: 100%; min-height: 2.75rem; border-radius: 0.5rem;
  border: 1px solid var(--line); background: var(--ink-2); color: var(--cream);
  padding: 0.55rem 0.75rem; font: inherit;
}
textarea { min-height: 8rem; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: 2px solid rgb(196 163 90 / 0.35); border-color: var(--gold); }
.form-card .btn, .admin-login .btn { width: 100%; }
.error { color: #e7b2aa; margin: 0; }
.sent { min-height: 18rem; display: flex; flex-direction: column; justify-content: center; }
.sent .icon { width: 2rem; height: 2rem; color: var(--gold); }
.contact-list { display: grid; gap: 1.2rem; margin-top: 2rem; }
.contact-list dt { font-size: 0.68rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); }
.contact-list dd { margin: 0.3rem 0 0; }
.admin-login { max-width: 28rem; }
.table-wrap { overflow: auto; margin-top: 1rem; }
table { width: 100%; border-collapse: collapse; font-size: 0.92rem; }
th, td { border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; padding: 0.7rem; }
th { color: var(--gold); font-weight: 500; font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; }

.site-footer { border-top: 1px solid var(--line); background: var(--ink-2); }
.foot-grid { display: grid; gap: 2rem; padding: 3rem 0; }
@media (min-width: 800px) { .foot-grid { grid-template-columns: 2fr 1fr 1.3fr; } }
.foot-brand p { color: var(--muted); max-width: 32rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0.6rem 0 0; display: grid; gap: 0.45rem; }
.site-footer a:hover { color: var(--gold-2); }
.muted-list { color: var(--muted); }
.muted-list span { color: rgb(243 234 216 / 0.85); }
.legal { border-top: 1px solid var(--line); }
.legal-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.4rem; padding: 1rem 0; color: var(--muted); font-size: 0.78rem; }
.legal p { margin: 0; }
::selection { background: var(--gold); color: var(--ink); }
.post-list { display: grid; gap: 1rem; margin-top: 1.5rem; }
.post-card {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 1rem;
  align-items: center;
  background: var(--panel);
  border-radius: 0.9rem;
  overflow: hidden;
  box-shadow: 0 0 0 1px rgb(196 163 90 / 0.18);
}
.post-card img, .post-fallback { width: 100%; height: 9rem; object-fit: cover; background: var(--ink); }
.post-card span { padding: 0.9rem 1rem 0.9rem 0; }
.post-card small { letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); font-size: 0.68rem; }
.post-card strong { display: block; margin-top: 0.3rem; font-family: var(--display); font-size: 1.7rem; font-weight: 500; }
.post-card em { display: block; margin-top: 0.35rem; color: var(--muted); font-style: normal; }
.article { max-width: 46rem; }
.article-hero { width: 100%; max-height: 28rem; object-fit: cover; border-radius: 0.9rem; margin: 1.2rem 0; }
.article .body p { color: var(--cream-2); }
@media (max-width: 700px) {
  .post-card { grid-template-columns: 1fr; }
  .post-card span { padding: 0 1rem 1rem; }
}
