@import url("https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,500;0,600;0,700;1,500&family=DM+Sans:ital,opsz,wght@0,9..40,400;0,9..40,500;0,9..40,600;1,9..40,400&family=Noto+Sans+SC:wght@300;400;500;700&family=Noto+Serif+SC:wght@500;600;700&display=swap");

:root {
  --ink: #050b09;
  --ink-2: #0a1410;
  --forest: #10211b;
  --pine: #1b3a2e;
  --jade: #3f8f70;
  --jade-bright: #7dccaa;
  --gold: #c9a86c;
  --gold-2: #e8d5a3;
  --gold-dim: rgba(201, 168, 108, 0.18);
  --cream: #f6f1e8;
  --paper: #fbf7f0;
  --text: #f4efe6;
  --text-dim: #9aa89f;
  --text-dark: #1b241f;
  --text-dark-dim: #5d6b64;
  --line: rgba(232, 213, 163, 0.16);
  --line-dark: rgba(27, 36, 31, 0.1);
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
  --radius: 22px;
  --header-h: 84px;
  --max: 1200px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

html,
body {
  background: var(--ink);
  color: var(--text);
  font-family: "Noto Sans SC", "DM Sans", sans-serif;
  font-weight: 400;
  line-height: 1.75;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
}

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

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

button,
input,
textarea,
select {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  border: 0;
  background: none;
}

ul {
  list-style: none;
}

.container {
  width: min(calc(100% - 48px), var(--max));
  margin: 0 auto;
}

.container-wide {
  width: min(calc(100% - 48px), 1360px);
  margin: 0 auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* grain */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 80;
  opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* preloader */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: #050b09;
  display: grid;
  place-items: center;
  transition: opacity 0.7s var(--ease), visibility 0.7s;
}

.preloader.hide {
  opacity: 0;
  visibility: hidden;
}

.preloader-inner {
  text-align: center;
}

.preloader-mark {
  width: 64px;
  height: 64px;
  margin: 0 auto 22px;
}

.preloader-word {
  font-family: "Cormorant Garamond", "Noto Serif SC", serif;
  letter-spacing: 0.42em;
  font-size: 13px;
  color: var(--gold-2);
  text-indent: 0.42em;
}

.preloader-bar {
  width: 160px;
  height: 1px;
  margin: 22px auto 0;
  background: rgba(201, 168, 108, 0.15);
  overflow: hidden;
}

.preloader-bar span {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, transparent, var(--gold), var(--gold-2));
  animation: load 1.15s var(--ease) forwards;
}

@keyframes load {
  to {
    width: 100%;
  }
}

/* header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  display: flex;
  align-items: center;
  backdrop-filter: blur(18px);
  background: rgba(5, 11, 9, 0.72);
  border-bottom: 1px solid transparent;
  transition: background 0.35s, border-color 0.35s, box-shadow 0.35s;
}

.site-header.scrolled {
  background: rgba(5, 11, 9, 0.92);
  border-bottom-color: var(--line);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.25);
}

.header-inner {
  width: min(calc(100% - 48px), 1360px);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 32px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.logo-mark {
  width: 42px;
  height: 42px;
}

.logo-text strong {
  display: block;
  font-family: "Cormorant Garamond", serif;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: 0.18em;
  line-height: 1;
  color: var(--gold-2);
}

.logo-text small {
  display: block;
  margin-top: 5px;
  font-size: 11px;
  color: var(--text-dim);
  letter-spacing: 0.12em;
}

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}

.nav a {
  position: relative;
  padding: 8px 14px;
  font-size: 14px;
  color: var(--text-dim);
  transition: color 0.25s;
}

.nav a:hover,
.nav a.active {
  color: var(--text);
}

.nav a.active::after,
.nav a:hover::after {
  transform: scaleX(1);
}

.nav a::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 2px;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border: 1px solid var(--gold-dim);
  color: var(--gold-2);
  font-size: 13px;
  letter-spacing: 0.08em;
  transition: background 0.3s, border-color 0.3s;
}

.header-cta:hover {
  background: var(--gold-dim);
  border-color: var(--gold);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  position: relative;
  border: 1px solid var(--gold-dim);
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  position: absolute;
  left: 11px;
  width: 20px;
  height: 1.8px;
  background: var(--gold-2);
  transition: 0.3s;
}

.nav-toggle span {
  top: 50%;
}

.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
}

.nav-toggle span::before {
  top: -6px;
}

.nav-toggle span::after {
  top: 6px;
}

.nav-toggle.open span {
  background: transparent;
}

.nav-toggle.open span::before {
  top: 0;
  transform: rotate(45deg);
}

.nav-toggle.open span::after {
  top: 0;
  transform: rotate(-45deg);
}

/* buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 26px;
  border: 1px solid transparent;
  font-size: 14px;
  letter-spacing: 0.12em;
  transition: 0.35s var(--ease);
}

.btn-gold {
  background: linear-gradient(135deg, #b8924a, #e8d5a3 45%, #c9a86c);
  color: #1a1408;
  font-weight: 500;
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(201, 168, 108, 0.28);
}

.btn-ghost {
  border-color: var(--line);
  color: var(--gold-2);
}

.btn-ghost:hover {
  border-color: var(--gold);
  background: var(--gold-dim);
}

.btn-dark {
  background: var(--ink);
  color: var(--cream);
}

.btn-dark:hover {
  background: #101916;
}

/* hero */
.hero {
  position: relative;
  min-height: min(calc(100vh - var(--header-h)), 860px);
  display: grid;
  place-items: center;
  overflow: hidden;
  isolation: isolate;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(1000px 500px at 75% 20%, rgba(63, 143, 112, 0.16), transparent 60%),
    radial-gradient(800px 500px at 15% 80%, rgba(201, 168, 108, 0.08), transparent 55%),
    linear-gradient(180deg, #07140f 0%, #050b09 100%);
}

.hero-svg {
  position: absolute;
  inset: auto 0 0;
  height: 52%;
  opacity: 0.55;
}

.hero-mist {
  position: absolute;
  inset: auto 0 0;
  height: 280px;
  background: linear-gradient(180deg, transparent, rgba(5, 11, 9, 0.2) 30%, #050b09);
}

.hero-content {
  position: relative;
  padding: 80px 0 120px;
  text-align: left;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--gold);
  font-size: 12px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  margin-bottom: 22px;
}

.eyebrow::before,
.kicker::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--gold);
}

.hero h1 {
  max-width: 920px;
  font-family: "Noto Serif SC", "Cormorant Garamond", serif;
  font-size: clamp(40px, 6.4vw, 80px);
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: 0.04em;
}

.hero h1 em {
  font-style: italic;
  font-family: "Cormorant Garamond", serif;
  color: var(--gold-2);
  font-weight: 500;
}

.hero-lead {
  max-width: 640px;
  margin: 28px 0 40px;
  color: var(--text-dim);
  font-size: 16px;
  font-weight: 300;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-meta {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin-top: 88px;
  background: var(--line);
  border: 1px solid var(--line);
}

.hero-meta article {
  background: rgba(10, 20, 16, 0.86);
  padding: 26px 24px;
}

.hero-meta span {
  display: block;
  font-family: "Cormorant Garamond", serif;
  font-size: 32px;
  color: var(--gold-2);
  line-height: 1.1;
}

.hero-meta p {
  margin-top: 8px;
  font-size: 13px;
  color: var(--text-dim);
}

/* sections */
.section {
  padding: 108px 0;
  position: relative;
}

.section-light {
  background: var(--paper);
  color: var(--text-dark);
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 32px;
  margin-bottom: 56px;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  letter-spacing: 0.28em;
  color: var(--gold);
  text-transform: uppercase;
}

.section-light .kicker {
  color: #9a7a3c;
}

.section-head h2,
.page-hero h1,
.article-title {
  font-family: "Noto Serif SC", serif;
  font-size: clamp(28px, 3.4vw, 44px);
  font-weight: 600;
  letter-spacing: 0.06em;
  line-height: 1.25;
}

.section-head p {
  max-width: 420px;
  color: var(--text-dim);
  font-size: 14px;
}

.section-light .section-head p {
  color: var(--text-dark-dim);
}

.section-light .meta-list div {
  border-bottom-color: var(--line-dark);
}

.section-light .meta-list span {
  color: var(--text-dark-dim);
}

/* about split */
.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 72px;
  align-items: center;
}

.panel {
  position: relative;
  min-height: 520px;
  border-radius: var(--radius);
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(5, 11, 9, 0.15), rgba(5, 11, 9, 0.72)),
    radial-gradient(circle at 30% 20%, rgba(201, 168, 108, 0.2), transparent 40%),
    #10211b;
  border: 1px solid var(--line);
}

.panel-art {
  position: absolute;
  inset: 0;
}

.panel-caption {
  position: absolute;
  left: 28px;
  right: 28px;
  bottom: 28px;
  padding: 18px 20px;
  background: rgba(5, 11, 9, 0.62);
  backdrop-filter: blur(12px);
  border: 1px solid var(--line);
}

.panel-caption strong {
  display: block;
  font-family: "Noto Serif SC", serif;
  font-size: 18px;
}

.panel-caption span {
  color: var(--text-dim);
  font-size: 13px;
}

.prose p + p {
  margin-top: 18px;
}

.prose p {
  color: var(--text-dim);
  font-size: 15px;
}

.section-light .prose p {
  color: var(--text-dark-dim);
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 28px 0 36px;
}

.tag {
  padding: 7px 12px;
  border: 1px solid currentColor;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--gold);
  opacity: 0.9;
}

.section-light .tag {
  color: #8a6a32;
  border-color: rgba(138, 106, 50, 0.3);
}

/* services */
.bento {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 18px;
}

.card {
  position: relative;
  padding: 32px 28px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.015));
  border: 1px solid var(--line);
  overflow: hidden;
  transition: transform 0.4s var(--ease), border-color 0.4s, background 0.4s;
}

.card:hover {
  transform: translateY(-6px);
  border-color: rgba(201, 168, 108, 0.45);
  background: linear-gradient(180deg, rgba(201, 168, 108, 0.08), rgba(255, 255, 255, 0.02));
}

.card.feature {
  grid-row: span 2;
  min-height: 460px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background:
    linear-gradient(180deg, rgba(5, 11, 9, 0.1) 10%, rgba(5, 11, 9, 0.82)),
    radial-gradient(500px 300px at 80% 0%, rgba(63, 143, 112, 0.28), transparent);
}

.card-index {
  font-family: "Cormorant Garamond", serif;
  color: var(--gold);
  font-size: 22px;
  letter-spacing: 0.12em;
}

.card h3 {
  margin: 14px 0 10px;
  font-family: "Noto Serif SC", serif;
  font-size: 24px;
  font-weight: 600;
}

.card p {
  color: var(--text-dim);
  font-size: 14px;
}

.card .more {
  margin-top: 22px;
  color: var(--gold-2);
  font-size: 13px;
  letter-spacing: 0.12em;
}

.icon-line {
  width: 42px;
  height: 42px;
  margin-bottom: 8px;
  color: var(--gold);
}

/* process */
.process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  counter-reset: step;
}

.process li {
  position: relative;
  padding: 8px 28px 8px 0;
  counter-increment: step;
}

.process li::before {
  content: counter(step, decimal-leading-zero);
  display: block;
  font-family: "Cormorant Garamond", serif;
  font-size: 28px;
  color: var(--gold);
  margin-bottom: 12px;
}

.process h3 {
  font-family: "Noto Serif SC", serif;
  font-size: 20px;
  margin-bottom: 8px;
}

.process p {
  color: var(--text-dark-dim);
  font-size: 14px;
}

.process li + li::after {
  content: "";
  position: absolute;
  left: -18px;
  top: 22px;
  width: 36px;
  height: 1px;
  background: rgba(154, 122, 60, 0.35);
}

/* news */
.news-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 22px;
}

.news-feature,
.news-item {
  display: block;
  border: 1px solid var(--line-dark);
  background: #fff;
  transition: transform 0.35s var(--ease), box-shadow 0.35s;
}

.news-feature:hover,
.news-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(27, 36, 31, 0.08);
}

.news-visual {
  height: 280px;
  background:
    linear-gradient(180deg, rgba(16, 33, 27, 0.05), rgba(16, 33, 27, 0.55)),
    radial-gradient(circle at 70% 30%, #3f8f70, #10211b 70%);
}

.news-feature .body,
.news-item {
  padding: 28px;
}

.news-item + .news-item {
  margin-top: 16px;
}

.date {
  font-size: 12px;
  letter-spacing: 0.16em;
  color: #9a7a3c;
}

.news-feature h3,
.news-item h3 {
  font-family: "Noto Serif SC", serif;
  font-size: 22px;
  margin: 10px 0 8px;
}

.news-item h3 {
  font-size: 18px;
}

.news-feature p,
.news-item p {
  color: var(--text-dark-dim);
  font-size: 14px;
}

/* compliance ribbon */
.ribbon {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  background: #07140f;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.ribbon-copy,
.ribbon-aside {
  padding: 64px;
}

.ribbon-aside {
  background: linear-gradient(180deg, rgba(201, 168, 108, 0.08), transparent);
  border-left: 1px solid var(--line);
}

.ribbon h2 {
  font-family: "Noto Serif SC", serif;
  font-size: 32px;
  margin: 12px 0 18px;
}

.ribbon p {
  color: var(--text-dim);
}

.meta-list {
  display: grid;
  gap: 16px;
}

.meta-list div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}

.meta-list span {
  color: var(--text-dim);
}

.meta-list b {
  color: var(--gold-2);
  font-weight: 500;
}

/* page hero */
.page-hero {
  padding: 84px 0 56px;
  background:
    radial-gradient(700px 280px at 90% 0%, rgba(63, 143, 112, 0.16), transparent),
    linear-gradient(180deg, #0b1813, #050b09);
  border-bottom: 1px solid var(--line);
}

.page-hero p {
  max-width: 640px;
  margin-top: 16px;
  color: var(--text-dim);
}

.crumbs {
  margin-bottom: 18px;
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--text-dim);
}

.crumbs a:hover {
  color: var(--gold-2);
}

/* tables */
.table-wrap {
  overflow: auto;
  border: 1px solid var(--line);
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

th,
td {
  padding: 16px 18px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

th {
  width: 220px;
  color: var(--gold-2);
  font-weight: 500;
  background: rgba(201, 168, 108, 0.05);
}

.warn {
  padding: 22px 24px;
  border-left: 2px solid var(--gold);
  background: rgba(201, 168, 108, 0.06);
  color: var(--text-dim);
  font-size: 14px;
}

.section-light .warn {
  background: rgba(154, 122, 60, 0.08);
  color: var(--text-dark-dim);
}

.grid-3,
.grid-2 {
  display: grid;
  gap: 18px;
}

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

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

.soft-card {
  padding: 28px;
  background: #fff;
  border: 1px solid var(--line-dark);
}

.soft-card h3 {
  font-family: "Noto Serif SC", serif;
  font-size: 20px;
  margin: 10px 0 8px;
}

.soft-card p {
  color: var(--text-dark-dim);
  font-size: 14px;
}

.timeline {
  display: grid;
  gap: 0;
}

.timeline li {
  display: grid;
  grid-template-columns: 140px 24px 1fr;
  gap: 18px;
}

.timeline .dot {
  width: 11px;
  height: 11px;
  margin-top: 8px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 6px rgba(201, 168, 108, 0.12);
  position: relative;
}

.timeline li:not(:last-child) .dot::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 18px;
  width: 1px;
  height: calc(100% + 28px);
  background: rgba(154, 122, 60, 0.25);
}

.timeline .year {
  font-family: "Cormorant Garamond", serif;
  font-size: 22px;
  color: #9a7a3c;
}

.timeline h3 {
  font-family: "Noto Serif SC", serif;
  font-size: 18px;
}

.timeline p {
  color: var(--text-dark-dim);
  font-size: 14px;
  margin: 6px 0 28px;
}

/* contact */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 28px;
}

.contact-card,
.form {
  padding: 36px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
}

.contact-card h3,
.form h3 {
  font-family: "Noto Serif SC", serif;
  font-size: 24px;
  margin-bottom: 18px;
}

.contact-card ul {
  list-style: none;
}

.contact-card li {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}

.contact-card span {
  display: block;
  color: var(--text-dim);
  font-size: 12px;
  letter-spacing: 0.12em;
  margin-bottom: 4px;
}

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

label {
  display: block;
  margin-bottom: 14px;
  font-size: 13px;
  color: var(--text-dim);
}

input,
textarea,
select {
  width: 100%;
  margin-top: 8px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
  outline: none;
  transition: border-color 0.25s;
}

input:focus,
textarea:focus,
select:focus {
  border-color: var(--gold);
}

textarea {
  min-height: 140px;
  resize: vertical;
}

.form-note {
  margin-top: 12px;
  font-size: 12px;
  color: var(--text-dim);
}

.toast {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 70;
  padding: 14px 18px;
  background: #10211b;
  border: 1px solid var(--gold);
  color: var(--gold-2);
  transform: translateY(20px);
  opacity: 0;
  pointer-events: none;
  transition: 0.35s var(--ease);
}

.toast.show {
  opacity: 1;
  transform: none;
}

/* footer */
.site-footer {
  background: #030706;
  border-top: 1px solid var(--line);
  padding: 64px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
}

.footer-brand p {
  margin-top: 16px;
  color: var(--text-dim);
  font-size: 13px;
  max-width: 320px;
}

.site-footer h4 {
  font-size: 13px;
  letter-spacing: 0.18em;
  color: var(--gold-2);
  margin-bottom: 16px;
}

.site-footer a,
.site-footer li {
  color: var(--text-dim);
  font-size: 13px;
  margin-bottom: 10px;
}

.site-footer a:hover {
  color: var(--gold-2);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  color: var(--text-dim);
  font-size: 12px;
}

.beian {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 22px;
}

.beian a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.beian img,
.beian svg {
  width: 16px;
  height: 16px;
}

/* reveal */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  animation: rise 0.9s var(--ease) forwards;
}

.d1 { animation-delay: 0.08s; }
.d2 { animation-delay: 0.16s; }
.d3 { animation-delay: 0.24s; }
.d4 { animation-delay: 0.32s; }
.d5 { animation-delay: 0.4s; }

@keyframes rise {
  to {
    opacity: 1;
    transform: none;
  }
}

.float {
  animation: float 8s ease-in-out infinite;
}

@keyframes float {
  50% {
    transform: translateY(-10px);
  }
}

/* article */
.article {
  max-width: 760px;
  margin: 0 auto;
}

.article h1 {
  font-family: "Noto Serif SC", serif;
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.35;
  margin: 8px 0 20px;
}

.article .meta {
  color: var(--text-dim);
  font-size: 13px;
  margin-bottom: 36px;
}

.article p {
  color: var(--text-dim);
  margin-bottom: 18px;
}

.article h2 {
  font-family: "Noto Serif SC", serif;
  font-size: 22px;
  margin: 32px 0 12px;
}

/* marquee */
.marquee-wrap {
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 16px 0;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.marquee {
  display: flex;
  gap: 40px;
  width: max-content;
  animation: marquee 28s linear infinite;
  color: var(--gold);
  letter-spacing: 0.28em;
  font-size: 12px;
  text-transform: uppercase;
}

@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

/* mobile nav */
@media (max-width: 980px) {
  .nav-toggle {
    display: block;
    margin-left: auto;
  }

  .header-cta {
    display: none;
  }

  .nav {
    position: fixed;
    inset: var(--header-h) 0 auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 18px 24px 28px;
    background: rgba(5, 11, 9, 0.96);
    border-bottom: 1px solid var(--line);
    margin: 0;
  }

  .nav.open {
    display: flex;
  }

  .hero-meta,
  .bento,
  .process,
  .news-grid,
  .split,
  .ribbon,
  .grid-3,
  .grid-2,
  .contact-grid,
  .footer-grid,
  .form-row {
    grid-template-columns: 1fr;
  }

  .card.feature {
    min-height: 320px;
    grid-row: auto;
  }

  .ribbon-copy,
  .ribbon-aside {
    padding: 36px 24px;
  }

  .ribbon-aside {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .section-head {
    flex-direction: column;
    align-items: start;
  }

  .timeline li {
    grid-template-columns: 24px 1fr;
  }

  .timeline .year {
    grid-column: 2;
  }

  .process li + li::after {
    display: none;
  }
}

@media (max-width: 640px) {
  .container,
  .container-wide,
  .header-inner {
    width: min(calc(100% - 32px), var(--max));
  }

  .section {
    padding: 72px 0;
  }

  .hero-content {
    padding: 48px 0 80px;
  }
}
