:root {
  --ink: #142823;
  --sea: #1d5c55;
  --foam: #eef4f2;
  --mist: #f6f9f8;
  --sand: #b7aa8c;
  --sun: #c49a22;
  --paper: #fbfcfb;
  --line: rgba(20, 40, 35, 0.12);
  --display: "Noto Serif SC", "Songti SC", serif;
  --latin: "Fraunces", "Noto Serif SC", serif;
  --sans: "Source Sans 3", "Noto Sans SC", sans-serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
}
[v-cloak] { display: none; }
a { color: var(--sea); }
img { max-width: 100%; display: block; }
button, input { font: inherit; }

.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 28px;
  color: #f4f7f5;
  transition: background 0.4s ease, color 0.4s ease;
}
.nav--solid {
  background: rgba(246, 249, 248, 0.94);
  color: var(--ink);
  border-bottom: 1px solid var(--line);
}
.nav-brand {
  font-family: var(--display);
  font-weight: 900;
  font-size: 16px;
  letter-spacing: 0.04em;
  color: inherit;
  text-decoration: none;
  max-width: min(58vw, 28em);
  line-height: 1.3;
}
.nav-toggle {
  display: none;
  background: none;
  border: 0;
  color: inherit;
  cursor: pointer;
}
.nav-links { display: flex; gap: 28px; align-items: center; }
.nav-links a {
  color: inherit;
  text-decoration: none;
  font-size: 14px;
  letter-spacing: 0.08em;
  opacity: 0.82;
}
.nav-links a.on,
.nav-links a:hover { opacity: 1; }
.nav-system { border-bottom: 1px solid currentColor; padding-bottom: 2px; }

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: #f3f6f4;
}
.hero-media {
  position: absolute;
  inset: 0;
}
.hero-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.08);
  animation: drift 22s ease-in-out infinite alternate;
}
.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(12, 28, 24, 0.18) 0%, rgba(12, 28, 24, 0.12) 38%, rgba(12, 28, 24, 0.72) 100%),
    radial-gradient(120% 80% at 70% 20%, rgba(196, 154, 34, 0.18), transparent 55%);
}
@keyframes drift {
  from { transform: scale(1.08) translate3d(0, 0, 0); }
  to { transform: scale(1.16) translate3d(-1.4%, -1%, 0); }
}
.hero-copy {
  position: relative;
  z-index: 1;
  padding: 0 28px 72px;
  max-width: 920px;
}
.brand {
  margin: 0 0 10px;
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(28px, 4.6vw, 48px);
  line-height: 1.25;
  letter-spacing: 0.06em;
  animation: rise 1.1s ease both;
}
.hero h1 {
  margin: 0;
  max-width: 16em;
  font-family: var(--latin);
  font-weight: 560;
  font-size: clamp(22px, 3.4vw, 36px);
  line-height: 1.25;
  animation: rise 1.1s ease 0.12s both;
}
.lead {
  margin: 16px 0 0;
  font-size: 17px;
  opacity: 0.92;
  animation: rise 1.1s ease 0.22s both;
}
.cta {
  display: flex;
  gap: 12px;
  margin-top: 28px;
  animation: rise 1.1s ease 0.32s both;
}
@keyframes rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 20px;
  border: 1px solid transparent;
  background: none;
  cursor: pointer;
  text-decoration: none;
  letter-spacing: 0.06em;
}
.btn-light { background: #f4f7f5; color: var(--ink); }
.btn-ghost { border-color: rgba(244, 247, 245, 0.55); color: #f4f7f5; }
.btn-dark { background: var(--ink); color: #f4f7f5; }
.btn-line { border-color: var(--ink); color: var(--ink); }

.page { max-width: 920px; margin: 0 auto; padding: 96px 28px 80px; }
.page--flush { padding-top: 72px; }
.page-head { margin-bottom: 40px; }
.page-head h1,
.block h2 {
  margin: 0 0 12px;
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(32px, 5vw, 48px);
}
.page-head p { margin: 0; color: rgba(20, 40, 35, 0.72); max-width: 32em; }
.page-head--row {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: end;
}
.block { margin-bottom: 72px; }
.quiet { color: rgba(20, 40, 35, 0.55); }

.work { list-style: none; margin: 0; padding: 0; }
.work li {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 20px;
  padding: 28px 0;
  border-top: 1px solid var(--line);
}
.work li:last-child { border-bottom: 1px solid var(--line); }
.work-n {
  font-family: var(--latin);
  color: var(--sun);
  letter-spacing: 0.08em;
}
.work h3 {
  margin: 0 0 8px;
  font-family: var(--display);
  font-size: 22px;
}

.stories { list-style: none; margin: 0; padding: 0; }
.stories li { border-top: 1px solid var(--line); }
.stories li:last-child { border-bottom: 1px solid var(--line); }
.stories button {
  width: 100%;
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 20px;
  padding: 22px 0;
  border: 0;
  background: none;
  text-align: left;
  cursor: pointer;
  color: inherit;
}
.stories button:hover strong { color: var(--sea); }
.stories time {
  font-size: 13px;
  letter-spacing: 0.06em;
  color: rgba(20, 40, 35, 0.5);
}
.stories strong { display: block; font-family: var(--display); font-size: 20px; font-weight: 700; }
.stories em {
  display: block;
  margin-top: 6px;
  font-style: normal;
  color: rgba(20, 40, 35, 0.62);
  font-size: 15px;
}
.more { margin-top: 20px; }
.text-link {
  background: none;
  border: 0;
  padding: 0;
  color: var(--sea);
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.back { margin-bottom: 28px; }

.find input {
  width: min(260px, 100%);
  border: 0;
  border-bottom: 1px solid var(--ink);
  background: transparent;
  padding: 8px 0;
  outline: none;
}
.pager {
  display: flex;
  gap: 18px;
  align-items: center;
  margin-top: 36px;
}
.pager button {
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  color: var(--sea);
}
.pager button:disabled { opacity: 0.35; cursor: default; }

.story h1 {
  margin: 0 0 12px;
  font-family: var(--display);
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.25;
}
.story-meta { color: rgba(20, 40, 35, 0.5); font-size: 14px; }
.story-meta a { margin-left: 12px; }

.prose { font-size: 18px; }
.prose p { margin: 0 0 1em; }
.prose h2, .prose h3 { font-family: var(--display); }
.about-copy { max-width: 38em; }
.block-title {
  margin: 56px 0 8px;
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(24px, 3.6vw, 32px);
}

.facts {
  margin: 48px 0 0;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.facts > div {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 16px;
  padding: 10px 0;
}
.facts dt { color: rgba(20, 40, 35, 0.48); }
.facts dd { margin: 0; }

.cta-line { display: flex; gap: 12px; margin-top: 48px; }

.foot {
  padding: 28px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 13px;
  color: rgba(20, 40, 35, 0.55);
}
.foot a { color: inherit; margin-right: 14px; }

.toast {
  position: fixed;
  right: 20px;
  bottom: 20px;
  max-width: 320px;
  padding: 12px 16px;
  background: var(--ink);
  color: #f4f7f5;
  cursor: pointer;
  z-index: 40;
}

@media (max-width: 760px) {
  .nav-toggle { display: block; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding: 16px 28px 24px;
    background: var(--mist);
    color: var(--ink);
  }
  .nav-links.open { display: flex; }
  .hero-copy { padding-bottom: 48px; }
  .brand { letter-spacing: 0.04em; font-size: clamp(22px, 7vw, 32px); }
  .nav-brand { font-size: 15px; max-width: 70vw; }
  .work li,
  .stories button,
  .facts > div { grid-template-columns: 1fr; gap: 8px; }
  .page-head--row { flex-direction: column; align-items: stretch; }
  .cta, .cta-line { flex-direction: column; align-items: stretch; }
}
