@font-face { font-family: 'Be Vietnam Pro'; font-style: normal; font-weight: 300; font-display: swap; src: url(assets/fonts/be-300.woff2) format('woff2'); }
@font-face { font-family: 'Be Vietnam Pro'; font-style: normal; font-weight: 400; font-display: swap; src: url(assets/fonts/be-400.woff2) format('woff2'); }
@font-face { font-family: 'Be Vietnam Pro'; font-style: normal; font-weight: 500; font-display: swap; src: url(assets/fonts/be-500.woff2) format('woff2'); }
@font-face { font-family: 'Cormorant Garamond'; font-style: italic; font-weight: 400; font-display: swap; src: url(assets/fonts/cormorant-400i.woff2) format('woff2'); }
@font-face { font-family: 'Cormorant Garamond'; font-style: italic; font-weight: 500; font-display: swap; src: url(assets/fonts/cormorant-500i.woff2) format('woff2'); }
@font-face { font-family: 'Cormorant Garamond'; font-style: normal; font-weight: 400; font-display: swap; src: url(assets/fonts/cormorant-400.woff2) format('woff2'); }
@font-face { font-family: 'Cormorant Garamond'; font-style: normal; font-weight: 500; font-display: swap; src: url(assets/fonts/cormorant-500.woff2) format('woff2'); }
@font-face { font-family: 'Cormorant Garamond'; font-style: normal; font-weight: 600; font-display: swap; src: url(assets/fonts/cormorant-600.woff2) format('woff2'); }

:root {
  --paper: #f5efe4;
  --paper-2: #ebe2d2;
  --ink: #26241f;
  --ink-soft: #5d574c;
  --tea: #1e2620;
  --tea-2: #2b352d;
  --amber: #8a5a1a;
  --amber-light: #d9b071;
  --cinnabar: #a33a26;
  --sea: #1f5257;
  --sea-deep: #143b40;
  --line: rgba(38, 36, 31, .16);
  --serif: "Cormorant Garamond", "Noto Serif", Georgia, serif;
  --sans: "Be Vietnam Pro", "Segoe UI", system-ui, sans-serif;
  --gutter: clamp(20px, 5vw, 72px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 300 clamp(16px, 1.05vw, 17.5px)/1.75 var(--sans);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.12; margin: 0; text-wrap: balance; }
h2 { font-size: clamp(34px, 4.4vw, 60px); }
h3 { font-size: clamp(24px, 2.2vw, 30px); }
p { margin: 0 0 1.1em; }
ol, ul { list-style: none; margin: 0; padding: 0; }
blockquote { margin: 0; }

.skip { position: absolute; left: -999px; }
.skip:focus { left: 12px; top: 12px; z-index: 100; background: var(--paper); padding: 8px 14px; }
:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; }

.eyebrow {
  font-size: 12px;
  font-weight: 400;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 18px;
}
.seal {
  display: inline-grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 3px;
  background: var(--cinnabar);
  color: var(--paper);
  font: 400 15px/1 "Noto Serif TC", "Microsoft JhengHei", serif;
}

/* nav */
.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px var(--gutter);
  color: var(--paper);
  transition: background .3s, color .3s, box-shadow .3s, padding .3s;
}
.nav.solid {
  background: rgba(245, 239, 228, .94);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  color: var(--ink);
  box-shadow: 0 1px 0 var(--line);
  padding-block: 10px;
}
.brand { display: flex; align-items: center; gap: 10px; font: 500 24px/1 var(--serif); text-decoration: none; }
.nav nav { display: flex; align-items: center; gap: clamp(16px, 2.2vw, 32px); }
.nav nav a { font-size: 14px; font-weight: 400; text-decoration: none; }
.nav nav a:hover { color: var(--amber); }
.nav-cta { border: 1px solid currentColor; border-radius: 99px; padding: 6px 16px; }
.menu-btn {
  display: none;
  background: none;
  border: 1px solid currentColor;
  border-radius: 99px;
  color: inherit;
  font: 400 14px var(--sans);
  padding: 6px 16px;
}

/* hero */
.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  align-items: end;
  gap: clamp(24px, 5vw, 80px);
  min-height: 100svh;
  padding: 110px var(--gutter) 0;
  background:
    radial-gradient(90% 70% at 78% 40%, #3a4436 0%, transparent 70%),
    var(--tea);
  color: var(--paper);
  overflow: hidden;
}
.hero-text { align-self: center; padding-bottom: 60px; }
.hero .eyebrow { color: var(--amber-light); }
.hero h1 {
  font-size: clamp(60px, 10.4vw, 168px);
  font-weight: 400;
  line-height: .96;
  letter-spacing: -.01em;
}
.hero h1 em { color: var(--amber-light); }
.hero-line {
  font: italic 400 clamp(21px, 2.1vw, 30px)/1.3 var(--serif);
  margin: 28px 0 38px;
  max-width: 24em;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.btn {
  display: inline-block;
  background: var(--amber-light);
  color: var(--tea);
  border-radius: 99px;
  padding: 13px 28px;
  font-size: 15px;
  font-weight: 400;
  text-decoration: none;
  transition: background .2s;
}
.btn:hover { background: var(--paper); }
.btn-ghost { background: none; color: var(--paper); box-shadow: inset 0 0 0 1px rgba(245, 239, 228, .5); }
.btn-ghost:hover { background: rgba(245, 239, 228, .12); }
.hero-photo { margin: 0; justify-self: center; width: min(100%, 520px); }
.hero-photo img {
  width: 100%;
  height: min(82svh, 860px);
  object-fit: cover;
  object-position: 50% 18%;
  border-radius: 999px 999px 0 0;
}
.hero-side {
  position: absolute;
  right: 22px;
  bottom: 36px;
  margin: 0;
  writing-mode: vertical-rl;
  font-size: 12px;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: rgba(245, 239, 228, .55);
}

/* facts */
.facts { background: var(--paper-2); padding: 0 var(--gutter); }
.facts dl {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 0;
}
.facts div { padding: 30px 24px 30px 0; }
.facts div + div { border-left: 1px solid var(--line); padding-left: 24px; }
.facts dt { font: 500 clamp(21px, 1.9vw, 26px)/1.2 var(--serif); }
.facts dd { margin: 6px 0 0; font-size: 14px; color: var(--ink-soft); }

/* story */
.story {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(36px, 7vw, 110px);
  align-items: center;
  padding: clamp(80px, 11vw, 160px) var(--gutter);
  max-width: 1440px;
  margin: 0 auto;
}
.story-photo { margin: 0; }
.story-photo img { width: 100%; border-radius: 50% 50% 4px 4px / 34% 34% 4px 4px; }
.story-body h2 { margin-bottom: 28px; }
.story blockquote {
  font: italic 400 clamp(23px, 2.2vw, 31px)/1.38 var(--serif);
  border-left: 2px solid var(--cinnabar);
  padding-left: 22px;
  margin-bottom: 30px;
}
.sign { font-family: var(--serif); font-size: 1.3em; font-style: italic; color: var(--amber); margin: 0; line-height: 1.4; }

/* section head */
.section-head { max-width: 860px; margin-bottom: clamp(40px, 5vw, 72px); }

/* streams */
.streams { background: var(--paper-2); padding: clamp(80px, 10vw, 140px) max(var(--gutter), calc((100vw - 1776px) / 2)); }
.stream-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 3.4vw, 56px); }
.stream .arch { aspect-ratio: 4 / 5; overflow: hidden; border-radius: 999px 999px 0 0; margin-bottom: 26px; }
.stream .arch img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 25%; transition: transform .8s ease; }
.stream:hover .arch img { transform: scale(1.04); }
.stream h3 { margin-bottom: 10px; }
.stream p { color: var(--ink-soft); margin: 0; }
.maxim {
  font: italic 400 clamp(23px, 2.5vw, 34px)/1.35 var(--serif);
  text-align: center;
  margin: clamp(56px, 7vw, 96px) auto 0;
  max-width: 34em;
  color: var(--cinnabar);
}

/* awards */
.awards {
  display: grid;
  grid-template-columns: min(36.4vw, 700px) minmax(0, 1fr);
  background: var(--tea);
  color: var(--paper);
}
.awards-photo img { width: 100%; height: 100%; min-height: 560px; max-height: 900px; object-fit: cover; object-position: 50% 30%; }
.awards-body { padding: clamp(60px, 8vw, 120px) var(--gutter); align-self: center; }
.awards .eyebrow { color: var(--amber-light); }
.award-list { margin-top: 36px; }
.award-list li {
  display: grid;
  grid-template-columns: 74px 1fr;
  gap: 8px;
  padding: 16px 0;
  border-top: 1px solid rgba(245, 239, 228, .17);
}
.award-list span { color: var(--amber-light); font: 500 19px/1.5 var(--serif); }
.award-list strong { font: 500 clamp(20px, 1.8vw, 24px)/1.3 var(--serif); }

/* timeline */
.journey { padding: clamp(80px, 11vw, 160px) var(--gutter); max-width: 1320px; margin: 0 auto; }
.tl {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(28px, 6vw, 96px);
  align-items: center;
  padding: clamp(24px, 3vw, 44px) 0;
}
.tl:nth-child(even) .tl-img { order: 2; }
.tl-img img { width: 100%; aspect-ratio: 4 / 3.4; object-fit: cover; object-position: 50% 22%; border-radius: 3px; }
.tl time { display: block; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--amber); margin-bottom: 12px; }
.tl h3 { font-size: clamp(27px, 3vw, 40px); margin-bottom: 14px; }
.tl p { color: var(--ink-soft); margin: 0; max-width: 34em; }

/* mermaid */
.mermaid { position: relative; background: linear-gradient(180deg, var(--sea) 0%, var(--sea-deep) 100%); color: var(--paper); padding: 150px var(--gutter) clamp(80px, 9vw, 130px); }
.wave { position: absolute; inset: -1px 0 auto; width: 100%; height: 90px; fill: var(--paper); }
.mermaid-inner {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 4fr);
  gap: clamp(36px, 7vw, 110px);
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}
.mermaid .eyebrow { color: #9fd3cf; }
.mermaid h2 { margin-bottom: 26px; }
.mermaid-photo { margin: 0; }
.mermaid-photo img { width: 100%; border-radius: 50%; aspect-ratio: 1; object-fit: cover; object-position: 50% 40%; }

/* experiences */
.exp { padding: clamp(80px, 11vw, 160px) var(--gutter); max-width: 1320px; margin: 0 auto; }
.exp-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 clamp(32px, 5vw, 72px); }
.exp-row {
  display: grid;
  grid-template-columns: 132px 1fr;
  gap: 24px;
  align-items: center;
  padding: 26px 0;
  border-top: 1px solid var(--line);
}
.exp-row img { width: 132px; height: 164px; object-fit: cover; object-position: 50% 25%; border-radius: 999px 999px 0 0; }
.exp-row h3 { margin-bottom: 8px; }
.exp-row p { margin: 0; color: var(--ink-soft); font-size: .95em; }

/* gallery */
.gallery { background: var(--paper-2); padding: clamp(80px, 10vw, 140px) var(--gutter); }
.masonry { columns: 4 240px; column-gap: 14px; max-width: 1776px; margin: 0 auto; }
.masonry a { display: block; margin-bottom: 14px; break-inside: avoid; overflow: hidden; border-radius: 3px; cursor: zoom-in; }
.masonry img { width: 100%; transition: transform .7s ease; }
.masonry a:hover img { transform: scale(1.03); }

/* press */
.press { padding: clamp(80px, 10vw, 140px) var(--gutter); }
.press-inner { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(36px, 7vw, 100px); max-width: 1240px; margin: 0 auto; }
.press-quote { font: italic 400 clamp(23px, 2.2vw, 30px)/1.38 var(--serif); margin-top: 28px; color: var(--cinnabar); }
.press-list li { border-top: 1px solid var(--line); }
.press-list li:last-child { border-bottom: 1px solid var(--line); }
.press-list a { display: block; padding: 18px 0; font: 500 clamp(21px, 1.9vw, 25px)/1.28 var(--serif); text-decoration: none; transition: color .2s, padding .2s; }
.press-list a:hover { color: var(--cinnabar); padding-left: 8px; }
.press-list span { display: block; font: 400 12px/1.6 var(--sans); letter-spacing: .13em; text-transform: uppercase; color: var(--amber); margin-bottom: 3px; }

/* contact */
.contact { display: grid; grid-template-columns: min(50vw, 800px) minmax(0, 1fr); background: var(--tea); color: var(--paper); }
.contact-photo { margin: 0; }
.contact-photo img { width: 100%; height: 100%; max-height: 820px; min-height: 480px; object-fit: cover; object-position: 50% 40%; }
.contact-body { padding: clamp(60px, 8vw, 120px) var(--gutter); align-self: center; }
.contact .eyebrow { color: var(--amber-light); }
.contact h2 { margin-bottom: 18px; }
.contact-list { margin: 30px 0 0; }
.contact-list div { display: grid; grid-template-columns: 130px 1fr; gap: 12px; padding: 16px 0; border-top: 1px solid rgba(245, 239, 228, .17); }
.contact-list dt { color: var(--amber-light); font-size: 14px; font-weight: 400; }
.contact-list dd { margin: 0; }
.contact-list a { text-underline-offset: 3px; text-decoration-thickness: 1px; }
.contact-list a:hover { color: var(--amber-light); }

/* footer */
.foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding: 22px var(--gutter); background: #171d18; color: rgba(245, 239, 228, .66); font-size: 13px; }
.foot p { margin: 0; display: flex; align-items: center; gap: 10px; }
.foot .seal { width: 20px; height: 20px; font-size: 12px; }

/* lightbox */
dialog#lightbox {
  border: 0;
  padding: 0;
  background: none;
  max-width: 100vw;
  max-height: 100vh;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
}
dialog#lightbox[open] { display: grid; place-items: center; }
dialog#lightbox::backdrop { background: rgba(20, 24, 20, .93); }
dialog#lightbox img { max-width: min(92vw, 1000px); max-height: 92vh; width: auto; height: auto; }
dialog#lightbox button {
  position: fixed;
  background: rgba(245, 239, 228, .12);
  color: var(--paper);
  border: 0;
  border-radius: 50%;
  width: 46px;
  height: 46px;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
}
dialog#lightbox button:hover { background: rgba(245, 239, 228, .26); }
.lb-close { top: 16px; right: 16px; }
.lb-prev { left: 14px; top: 50%; translate: 0 -50%; }
.lb-next { right: 14px; top: 50%; translate: 0 -50%; }

/* reveal: only hidden when JS has run */
.js .reveal { opacity: 0; translate: 0 12px; transition: opacity .4s ease, translate .4s ease; }
.js .reveal.in { opacity: 1; translate: 0 0; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; translate: none; transition: none; }
  .stream .arch img, .masonry img { transition: none; }
}

@media (min-width: 961px) {
  .nav:not(.solid) nav a:hover { color: var(--amber-light); }
}

@media (max-width: 960px) {
  .menu-btn { display: block; }
  .nav nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    padding: 10px var(--gutter) 20px;
    background: var(--paper);
    color: var(--ink);
    box-shadow: 0 10px 20px rgba(0, 0, 0, .12);
  }
  .nav nav.open { display: flex; }
  .nav nav a { font-size: 16px; padding: 8px 0; }
  .nav-cta { border: 0; padding: 8px 0; }
  .hero { grid-template-columns: 1fr; padding-top: 96px; min-height: 0; }
  .hero-text { padding-bottom: 0; }
  .hero-photo { width: min(100%, 440px); }
  .hero-photo img { height: 112vw; max-height: 620px; }
  .hero-side { display: none; }
  .facts dl { grid-template-columns: repeat(2, 1fr); }
  .facts div:nth-child(3) { border-left: 0; padding-left: 0; }
  .facts div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .story, .awards, .mermaid-inner, .press-inner, .contact { grid-template-columns: 1fr; }
  .stream-grid { grid-template-columns: 1fr; max-width: 520px; }
  .awards-photo img { min-height: 0; max-height: 520px; aspect-ratio: 4 / 3.6; }
  .tl { grid-template-columns: 1fr; gap: 20px; }
  .tl:nth-child(even) .tl-img { order: 0; }
  .mermaid-photo { max-width: 340px; }
  .exp-list { grid-template-columns: 1fr; }
  .contact-photo img { min-height: 0; max-height: 460px; aspect-ratio: 4 / 3.6; }
  .contact-list div { grid-template-columns: 1fr; gap: 2px; }
}

@media (max-width: 480px) {
  .exp-row { grid-template-columns: 96px 1fr; gap: 16px; }
  .exp-row img { width: 96px; height: 124px; }
  .masonry { columns: 2; column-gap: 10px; }
  .masonry a { margin-bottom: 10px; }
  .award-list li { grid-template-columns: 56px 1fr; }
}
