:root {
  --ink: #141210;
  --ink-soft: #3d3833;
  --muted: #6a6258;
  --paper: #f3eee5;
  --paper-2: #ebe4d6;
  --sand: #e3d6c2;
  --line: #d4c7b4;
  --white: #fbf8f2;
  --teal: #1b554f;
  --teal-2: #2a736c;
  --clay: #b85a2a;
  --gold: #c4a574;
  --shadow: 0 28px 70px rgba(20, 18, 16, 0.1);
  --max: 1180px;
  --serif: "Fraunces", "Times New Roman", serif;
  --sans: "Outfit", "Helvetica Neue", sans-serif;
}

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

.skip {
  position: absolute; left: -999px; top: 8px;
  background: var(--ink); color: var(--white);
  padding: 10px 14px; z-index: 100;
}
.skip:focus { left: 12px; }

.wrap { width: min(var(--max), calc(100% - 44px)); margin: 0 auto; }
.eyebrow {
  font-size: 11.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--teal);
  font-weight: 600;
}
h1, h2, h3 { font-family: var(--serif); font-weight: 500; letter-spacing: -0.035em; line-height: 1.08; }
h1 { font-size: clamp(42px, 7.2vw, 84px); }
h2 { font-size: clamp(30px, 4.6vw, 52px); }
h3 { font-size: 24px; letter-spacing: -0.03em; }
.lede { font-size: clamp(18px, 2.1vw, 22px); color: var(--ink-soft); max-width: 40rem; }
.intro { margin-top: 22px; max-width: 38rem; color: var(--ink-soft); font-size: 19px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  border: 0; cursor: pointer; text-decoration: none;
  padding: 14px 22px; border-radius: 999px;
  font-weight: 560; font-size: 15px; font-family: inherit;
  transition: transform .22s ease, background .22s ease, color .22s ease, box-shadow .22s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--ink); color: var(--white); }
.btn-primary:hover { background: #000; box-shadow: var(--shadow); }
.btn-ghost { background: transparent; color: var(--ink); border: 1px solid var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--white); }
.btn-light { background: var(--white); color: var(--ink); }
.row-btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

header.site {
  position: sticky; top: 0; z-index: 40;
  backdrop-filter: blur(18px);
  background: rgba(243, 238, 229, 0.82);
  border-bottom: 1px solid rgba(211, 199, 180, 0.7);
}
.nav { display: flex; align-items: center; justify-content: space-between; min-height: 76px; }
.brand {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none; font-weight: 600; letter-spacing: -0.03em;
}
.brand img, .brand svg {
  width: 36px; height: 36px;
  border-radius: 8px;
  object-fit: cover;
  background: #000;
  box-shadow: inset 0 0 0 1px rgba(20,18,16,.18);
}
.nav-links { display: flex; gap: 26px; align-items: center; }
.nav-links a { text-decoration: none; font-size: 14.5px; color: var(--ink-soft); }
.nav-links a.active, .nav-links a:hover { color: var(--ink); }
.menu-btn { display: none; background: none; border: 0; font-size: 26px; cursor: pointer; line-height: 1; }

.hero { padding: 80px 0 56px; }
.hero-visual {
  position: relative;
  min-height: 72vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.hero-visual::before {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(20,18,16,.28) 0%, rgba(20,18,16,.55) 100%),
    url("../img/hero-desert.jpg") center/cover no-repeat;
}
.hero-visual .wrap { position: relative; z-index: 1; padding: 88px 0 56px; color: var(--white); }
.hero-visual .eyebrow { color: var(--gold); }
.hero-visual h1 { max-width: 14ch; }
.hero-visual .intro { color: #e8dfd2; }
.hero-visual .btn-ghost { color: var(--white); border-color: rgba(251,248,242,.55); }
.hero-visual .btn-ghost:hover { background: var(--white); color: var(--ink); }

.hero-grid {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 52px;
  align-items: end;
}
.stat-card {
  background: var(--ink);
  color: var(--white);
  border-radius: 28px;
  padding: 30px;
  box-shadow: var(--shadow);
}
.stat-card h3 { color: var(--gold); font-size: 18px; margin-bottom: 18px; }
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.stats b { display: block; font-family: var(--serif); font-size: 30px; font-weight: 500; }
.stats span { display: block; font-size: 13px; color: #d7cfc3; margin-top: 4px; }
.fine { font-size: 12.5px; color: #b8aea0; margin-top: 18px; line-height: 1.45; }

section { padding: 88px 0; }
.band { background: var(--paper-2); }
.band-ink { background: var(--ink); color: var(--white); }
.band-ink .eyebrow { color: var(--gold); }
.band-ink p, .band-ink li, .band-ink cite { color: #d8d0c4; }

.grid-3, .grid-2, .grid-4 { display: grid; gap: 18px; margin-top: 32px; }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: 1fr 1fr; }
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 26px;
}
.card h3 { margin: 8px 0 10px; }
.card p { color: var(--ink-soft); font-size: 15.5px; }
.num { font-family: var(--serif); color: var(--clay); font-size: 20px; }

.media-card { overflow: hidden; padding: 0; }
.media-card img { width: 100%; height: 220px; object-fit: cover; }
.media-card .pad { padding: 22px; }

.system {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
  margin-top: 28px;
}
.system article {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 16px;
  min-height: 156px;
}
.system b { display: block; margin-bottom: 8px; font-family: var(--serif); font-size: 18px; }
.system p { font-size: 13.5px; color: var(--ink-soft); }

.flow {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
  margin-top: 28px;
}
.flow li {
  list-style: none;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px 14px;
  font-size: 13.5px;
}
.flow strong { display: block; font-family: var(--serif); font-size: 16px; margin-bottom: 6px; }

table.data {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
  font-size: 14.5px;
}
table.data th, table.data td {
  text-align: left;
  padding: 13px 14px;
  border-bottom: 1px solid var(--line);
}
table.data th { background: var(--ink); color: var(--white); font-weight: 500; }
table.data tr:last-child td { border-bottom: 0; }
.table-scroll { overflow-x: auto; }

.split { display: grid; grid-template-columns: 0.88fr 1.12fr; gap: 48px; align-items: start; }
.quote {
  font-family: var(--serif);
  font-size: clamp(26px, 3.2vw, 38px);
  line-height: 1.22;
  color: inherit;
}
cite { display: block; margin-top: 16px; font-family: var(--sans); font-size: 14px; font-style: normal; color: var(--muted); }

.photo-panel {
  border-radius: 28px;
  overflow: hidden;
  min-height: 320px;
  background: #c9b89a center/cover no-repeat;
}
.photo-desk { background-image: url("../img/studio-desk.jpg"); }
.photo-emblem { background-image: url("../img/emblem.jpg"); background-size: cover; }
.photo-founder {
  background-image: url("../img/alex-koenig.jpg");
  background-position: center 18%;
  min-height: 420px;
}
.portrait {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center 18%;
  border-radius: 28px;
  border: 1px solid var(--line);
}
.case-kicker {
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--teal);
  font-weight: 600;
  margin-bottom: 8px;
}

form.contact { display: grid; gap: 14px; margin-top: 8px; }
label { font-size: 13px; font-weight: 600; }
input, select, textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--white);
  font: inherit;
  color: var(--ink);
}
textarea { min-height: 140px; resize: vertical; }
.note { font-size: 13.5px; color: var(--ink-soft); }
.note a { text-decoration: underline; text-underline-offset: 3px; }

.ticker {
  display: flex; gap: 28px; flex-wrap: wrap;
  font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--muted); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  padding: 16px 0;
}
.ticker span::before { content: "●"; color: var(--teal); margin-right: 10px; font-size: 8px; }

footer.site {
  border-top: 1px solid var(--line);
  padding: 44px 0 56px;
  font-size: 14px;
  color: var(--ink-soft);
}
.foot { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 28px; }
.foot a { text-decoration: none; }
.foot a:hover { color: var(--ink); }
.foot .brand { margin-bottom: 10px; color: var(--ink); }
.foot ul { list-style: none; display: grid; gap: 8px; }

.missing {
  margin-top: 48px;
  padding: 22px;
  border: 1px dashed var(--clay);
  border-radius: 16px;
  background: #f8eee6;
  font-size: 14.5px;
}
.missing h3 { font-size: 22px; margin-bottom: 8px; }
.missing li { margin-left: 18px; margin-top: 4px; }

.reveal { opacity: 0; transform: translateY(14px); animation: rise .7s ease forwards; }
@keyframes rise { to { opacity: 1; transform: none; } }

@media (max-width: 980px) {
  .hero-grid, .grid-4, .grid-3, .grid-2, .system, .split, .flow, .foot { grid-template-columns: 1fr; }
  .menu-btn { display: block; }
  .nav-links {
    display: none;
    position: absolute; left: 0; right: 0; top: 76px;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    padding: 16px 22px 28px;
    align-items: flex-start;
    gap: 16px;
  }
  .nav-links.open { display: flex; }
  .hero, .hero-visual .wrap { padding-top: 40px; }
  .hero-visual { min-height: auto; }
  section { padding: 64px 0; }
  .photo-panel { min-height: 220px; }
}
