:root {
  color-scheme: light;
  --ink: #171717;
  --ink-2: #2a2a27;
  --ivory: #f7f6f1;
  --paper: #fffefa;
  --warm: #ebe8e1;
  --sand: #ded5c7;
  --sage: #dfe6dd;
  --sage-deep: #bfcbbd;
  --accent: #ff6b40;
  --accent-dark: #c9411f;
  --accent-soft: #ffe2d8;
  --muted: #68665f;
  --line: rgba(23, 23, 23, .14);
  --line-strong: rgba(23, 23, 23, .34);
  --dark-line: rgba(255, 255, 255, .16);
  --display: "Iowan Old Style", "Baskerville", "Songti SC", "Noto Serif SC", "Times New Roman", serif;
  --body: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --mono: ui-monospace, "SFMono-Regular", Menlo, Monaco, Consolas, monospace;
  --wrap: 1260px;
  --gutter: clamp(20px, 5vw, 56px);
  --section-y: clamp(80px, 10vw, 150px);
  --radius: 12px;
  --radius-sm: 8px;
  --header-height: 78px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 20px);
  background: var(--ivory);
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background:
    linear-gradient(rgba(23, 23, 23, .025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(23, 23, 23, .022) 1px, transparent 1px),
    var(--ivory);
  background-size: 48px 48px, 48px 48px, auto;
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.62;
  overflow-wrap: break-word;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body::before {
  position: fixed;
  z-index: -1;
  inset: 0;
  content: "";
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(247, 246, 241, .94), rgba(247, 246, 241, .78) 28%, rgba(247, 246, 241, .96));
}

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

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

button {
  color: inherit;
}

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

p,
h1,
h2,
h3,
figure,
dl,
dd {
  margin: 0;
}

h1,
h2,
h3 {
  line-height: 1.04;
  text-wrap: balance;
}

h1,
h2 {
  font-family: var(--display);
  font-weight: 500;
}

h3 {
  font-family: var(--body);
  font-weight: 680;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

.mono,
.section-kicker,
.eyebrow,
.item-index,
.fact-label,
.stage-top,
.core-kicker,
.core-foot,
.tags span,
.tl-time {
  font-family: var(--mono);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0;
}

.wrap {
  width: min(100%, calc(var(--wrap) + var(--gutter) * 2));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 10px;
  left: 14px;
  padding: 10px 14px;
  color: #fff;
  background: var(--ink);
  border-radius: var(--radius-sm);
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 4px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 20px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 680;
  line-height: 1.25;
  text-align: center;
  text-wrap: balance;
  transition: background-color 200ms ease, border-color 200ms ease, color 200ms ease, transform 200ms ease;
}

.button-primary {
  color: #15110f;
  background: var(--accent);
  box-shadow: 0 12px 32px rgba(255, 107, 64, .24);
}

.button-primary:hover {
  color: #fff;
  background: var(--accent-dark);
  transform: translateY(-2px);
}

.button-secondary {
  color: var(--ink);
  background: rgba(255, 254, 250, .72);
  border-color: var(--line-strong);
  backdrop-filter: blur(12px);
}

.button-secondary:hover {
  background: var(--paper);
  border-color: var(--ink);
  transform: translateY(-2px);
}

.text-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  border-bottom: 1px solid var(--line-strong);
  font-size: 14px;
  font-weight: 650;
}

.text-link:hover {
  color: var(--accent-dark);
  border-color: var(--accent-dark);
}

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  border-bottom: 1px solid var(--line);
  background: rgba(247, 246, 241, .88);
  backdrop-filter: blur(18px);
}

.header-shell {
  width: min(100%, calc(var(--wrap) + var(--gutter) * 2));
  min-height: var(--header-height);
  margin-inline: auto;
  padding: 10px var(--gutter);
  display: flex;
  align-items: center;
  gap: 24px;
}

.brand {
  min-width: 190px;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  gap: 11px;
}

.brand img {
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  border-radius: 10px;
}

.brand-copy {
  display: grid;
  line-height: 1;
}

.brand-copy strong {
  font-size: 16px;
  font-weight: 800;
  letter-spacing: .12em;
}

.brand-copy span {
  margin-top: 5px;
  color: var(--muted);
  font-size: 11px;
  white-space: nowrap;
}

.desktop-nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: clamp(14px, 1.8vw, 28px);
  font-size: 14px;
  font-weight: 650;
}

.desktop-nav a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  border-bottom: 1px solid transparent;
}

.desktop-nav a:hover {
  border-color: var(--accent);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.lang-switch {
  display: flex;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 254, 250, .74);
}

.lang-switch a,
.lang-switch button {
  min-width: 42px;
  min-height: 32px;
  padding: 0 9px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  color: var(--muted);
  background: transparent;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.lang-switch a[aria-current="page"],
.lang-switch button[aria-pressed="true"] {
  color: #fff;
  background: var(--ink);
}

.header-cta {
  min-height: 42px;
  padding: 10px 16px;
  font-size: 13px;
}

.menu-toggle {
  min-height: 44px;
  padding: 8px 12px;
  display: none;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--paper);
}

.menu-mark,
.menu-mark::before,
.menu-mark::after {
  width: 16px;
  height: 1px;
  display: block;
  content: "";
  background: currentColor;
}

.menu-mark {
  position: relative;
}

.menu-mark::before,
.menu-mark::after {
  position: absolute;
  left: 0;
}

.menu-mark::before {
  top: -5px;
}

.menu-mark::after {
  top: 5px;
}

.mobile-nav {
  display: none;
}

.mobile-lang-switch {
  display: none;
}

.section {
  position: relative;
  padding-block: var(--section-y);
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1.28fr) minmax(280px, .72fr);
  gap: clamp(28px, 7vw, 96px);
  align-items: end;
}

.section-kicker,
.eyebrow {
  color: var(--accent-dark);
  font-size: 11px;
  font-weight: 760;
  text-transform: uppercase;
}

.section-head h2,
.project-copy h2,
.company-intro h2,
.contact-copy h2 {
  margin-top: 14px;
  color: var(--ink);
  font-size: clamp(38px, 5vw, 76px);
  letter-spacing: -.015em;
}

.section-intro {
  color: var(--muted);
  font-size: clamp(15px, 1.2vw, 18px);
}

.scene-caption {
  max-width: 820px;
  margin-top: 28px;
  color: var(--muted);
  font-size: 15px;
}

.site-footer {
  color: rgba(255, 255, 255, .82);
  background: #1f1f1d;
}

.footer-grid {
  min-height: 180px;
  padding-block: 44px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 32px;
  align-items: center;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-brand img {
  width: 44px;
  height: 44px;
  border-radius: 10px;
}

.footer-brand div {
  display: grid;
}

.footer-brand strong {
  color: #fff;
  font-size: 15px;
  letter-spacing: .12em;
}

.footer-brand span {
  font-size: 12px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 18px;
  font-size: 13px;
}

.footer-links a:hover {
  color: #fff;
}

.footer-legal {
  justify-self: end;
  color: rgba(255, 255, 255, .56);
  font-size: 12px;
  text-align: right;
}

.footer-legal a:hover {
  color: #fff;
}
