/* North Country — a quiet room upstairs. Black ground, lamp-light accent, large readable type. */
:root {
  --ink: #0d0c0a;          /* page black */
  --ink-2: #171512;        /* raised surface */
  --line: #2c2823;         /* hairlines */
  --paper: #efe7da;        /* main text, warm off-white */
  --muted: #b3a998;        /* secondary text, still AA on black */
  --lamp: #d4ad72;         /* accent: the pendant-lamp glow */
  --f-display: "Cormorant Garamond", "Noto Serif SC", Georgia, "Songti SC", serif;
  --f-body: "Karla", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  --max: 1180px;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--f-body);
  font-size: 18px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
::selection { background: var(--lamp); color: var(--ink); }
:focus-visible { outline: 2px solid var(--lamp); outline-offset: 3px; }

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding-left: max(20px, env(safe-area-inset-left, 0px));
  padding-right: max(20px, env(safe-area-inset-right, 0px));
}

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(13, 12, 10, .92);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding-block: 18px;
}
.brand {
  font-family: var(--f-display); font-size: 1.45rem; letter-spacing: .22em;
  text-transform: uppercase; text-decoration: none; white-space: nowrap;
}
.nav { display: flex; align-items: center; gap: 30px; }
.nav a {
  text-decoration: none; font-size: .95rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--muted); padding: 6px 0; border-bottom: 1px solid transparent;
  transition: color .2s, border-color .2s;
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--paper); border-color: var(--lamp); }
.lang {
  display: flex; border: 1px solid var(--line); border-radius: 999px; overflow: hidden;
}
.lang button {
  background: none; border: 0; color: var(--muted); font: inherit; font-size: .85rem;
  padding: 6px 14px; cursor: pointer; min-height: 36px;
}
.lang button[aria-pressed="true"] { background: var(--paper); color: var(--ink); }
.menu-btn {
  display: none; background: none; border: 1px solid var(--line); color: var(--paper);
  font: inherit; font-size: .85rem; letter-spacing: .12em; text-transform: uppercase;
  padding: 8px 14px; border-radius: 999px; cursor: pointer;
}

@media (max-width: 820px) {
  .menu-btn { display: inline-block; }
  .nav {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--ink); border-bottom: 1px solid var(--line);
    padding: 8px max(20px, env(safe-area-inset-left, 0px)) 24px;
    display: none;
  }
  .nav.open { display: flex; }
  .nav a { padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
  .nav .lang { margin-top: 20px; align-self: flex-start; }
}

/* ---------- Type ---------- */
h1, h2, h3 { font-family: var(--f-display); font-weight: 500; line-height: 1.12; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(2.6rem, 7vw, 5.2rem); letter-spacing: -.01em; }
h2 { font-size: clamp(2rem, 4.5vw, 3.2rem); }
h3 { font-size: 1.6rem; }
p { margin: 0; }
.eyebrow {
  font-size: .82rem; letter-spacing: .24em; text-transform: uppercase; color: var(--lamp);
}
.lead { font-size: 1.2rem; color: var(--paper); max-width: 34em; }
.body-copy { color: var(--muted); max-width: 36em; display: grid; gap: 1.1em; }
:lang(zh) body, html[lang="zh-Hans"] body { letter-spacing: .02em; }
html[lang="zh-Hans"] .eyebrow, html[lang="zh-Hans"] .nav a { letter-spacing: .3em; }

/* ---------- Sections ---------- */
section { padding-block: clamp(64px, 10vw, 120px); }
.rule { border: 0; border-top: 1px solid var(--line); margin: 0; }

/* Hero */
.hero { padding-block: clamp(48px, 8vw, 96px) 0; }
.hero-grid {
  display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: end;
}
.hero-text { display: grid; gap: 28px; padding-bottom: clamp(0px, 4vw, 48px); min-width: 0; }
.hero-img { aspect-ratio: 4 / 5; overflow: hidden; max-width: 100%; }
.hero-img img { width: 100%; height: 100%; object-fit: cover; }
.meta-row { display: flex; flex-wrap: wrap; gap: 10px 28px; color: var(--muted); font-size: .98rem; }
.meta-row strong { color: var(--paper); font-weight: 500; }

/* Quote */
.quote { text-align: center; }
.quote blockquote {
  margin: 0 auto; max-width: 18em;
  font-family: var(--f-display); font-style: italic; font-weight: 400;
  font-size: clamp(2.1rem, 5.5vw, 4rem); line-height: 1.15; text-wrap: balance;
}
.quote cite { display: block; margin-top: 24px; font-style: normal; color: var(--muted); font-size: .9rem; letter-spacing: .2em; text-transform: uppercase; }

/* Two column story */
.split { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.split > * { min-width: 0; }

/* Drinks strip */
.strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 48px; }
.strip img { aspect-ratio: 3 / 4; object-fit: cover; width: 100%; filter: saturate(.92); transition: filter .4s; }
.strip img:hover { filter: saturate(1.05); }

/* Facts */
.facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.facts div { padding: 28px 24px 28px 0; display: grid; gap: 6px; }
.facts div + div { padding-left: 24px; border-left: 1px solid var(--line); }
.facts dt { font-size: .8rem; letter-spacing: .2em; text-transform: uppercase; color: var(--lamp); }
.facts dd { margin: 0; font-family: var(--f-display); font-size: 1.6rem; line-height: 1.25; }

/* Page head */
.page-head { padding-block: clamp(56px, 9vw, 110px) clamp(32px, 5vw, 56px); display: grid; gap: 20px; }

/* Team */
.team { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(28px, 5vw, 64px); padding-top: 0; }
.person { display: grid; gap: 20px; align-content: start; }
.person figure { margin: 0; aspect-ratio: 4 / 5; overflow: hidden; background: var(--ink-2); max-width: 100%; }
.person figure img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }
.person .role { color: var(--lamp); font-size: .82rem; letter-spacing: .22em; text-transform: uppercase; }
.person p { color: var(--muted); }

/* Gallery */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
.filters button {
  background: none; color: var(--muted); border: 1px solid var(--line); border-radius: 999px;
  font: inherit; font-size: .9rem; padding: 8px 18px; cursor: pointer; min-height: 40px;
}
.filters button[aria-pressed="true"] { color: var(--ink); background: var(--paper); border-color: var(--paper); }
.grid { columns: 3 280px; column-gap: 12px; padding-top: 0; }
.grid button {
  display: block; width: 100%; padding: 0; border: 0; background: var(--ink-2);
  margin: 0 0 12px; cursor: zoom-in; break-inside: avoid;
}
.grid img { width: 100%; height: auto; transition: opacity .3s; }
.grid button:hover img { opacity: .85; }

.lightbox {
  position: fixed; inset: 0; z-index: 50; background: rgba(8, 7, 6, .96);
  display: grid; place-items: center;
  padding: max(20px, env(safe-area-inset-top, 0px)) max(16px, env(safe-area-inset-right, 0px)) max(20px, env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px));
}
.lightbox img { max-height: 86vh; width: auto; max-width: 100%; }
.lightbox .lb-btn {
  position: absolute; background: none; border: 1px solid var(--line); color: var(--paper);
  width: 48px; height: 48px; border-radius: 50%; font-size: 1.3rem; cursor: pointer;
}
.lb-close { top: max(16px, env(safe-area-inset-top, 0px)); right: max(16px, env(safe-area-inset-right, 0px)); }
.lb-prev { left: max(16px, env(safe-area-inset-left, 0px)); top: 50%; translate: 0 -50%; }
.lb-next { right: max(16px, env(safe-area-inset-right, 0px)); top: 50%; translate: 0 -50%; }

/* Crew */
.crew { display: grid; gap: 28px; padding-top: 0; }
.crew-head { display: grid; gap: 16px; padding-top: clamp(48px, 8vw, 96px); border-top: 1px solid var(--line); }
.crew figure { margin: 0; display: grid; gap: 18px; }
@media (min-width: 821px) { .crew figure { width: 80%; margin-inline: auto; } }
.crew img { width: 100%; height: auto; }
.crew figcaption { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-inline: 4%; font-size: .95rem; letter-spacing: .12em; text-transform: uppercase; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: clamp(32px, 6vw, 80px); padding-top: 0; }
.contact-grid > * { min-width: 0; }
.info { display: grid; gap: 36px; align-content: start; }
.info h3 { font-family: var(--f-body); font-size: .8rem; letter-spacing: .22em; text-transform: uppercase; color: var(--lamp); font-weight: 500; margin-bottom: 10px; }
.info a { text-decoration-color: var(--lamp); text-underline-offset: 4px; }
.info p, .info address { font-style: normal; font-size: 1.12rem; }
.info .note { color: var(--muted); font-size: 1rem; margin-top: 8px; }
.map { position: relative; aspect-ratio: 4 / 3; max-width: 100%; background: var(--ink-2); border: 1px solid var(--line); }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(.85) invert(.9) contrast(.9) hue-rotate(180deg); }
.btn {
  display: inline-flex; align-items: center; gap: 10px; text-decoration: none;
  border: 1px solid var(--paper); color: var(--paper); padding: 14px 24px; border-radius: 999px;
  font-size: .92rem; letter-spacing: .14em; text-transform: uppercase; transition: background .2s, color .2s;
}
.btn:hover { background: var(--paper); color: var(--ink); }

/* Footer */
.site-footer { border-top: 1px solid var(--line); color: var(--muted); font-size: .92rem; }
.site-footer .wrap { padding-block: 36px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px; }

/* ---------- Responsive ---------- */
@media (max-width: 820px) {
  body { font-size: 17px; }
  .hero-grid, .split, .contact-grid { grid-template-columns: 1fr; }
  .hero-img { aspect-ratio: 4 / 3; }
  .strip { grid-template-columns: repeat(2, 1fr); }
  .facts { grid-template-columns: 1fr; }
  .facts div, .facts div + div { padding: 20px 0; border-left: 0; }
  .facts div + div { border-top: 1px solid var(--line); }
}
@media (max-width: 600px) {
  .team { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: no-preference) {
  .fade { animation: rise .9s ease-out both; }
  .fade.d2 { animation-delay: .15s; }
  @keyframes rise { from { opacity: .001; transform: translateY(14px); } }
}
