:root {
  --ink: #17140f;
  --ink-soft: #3d3830;
  --muted: #6b645a;
  --paper: #f7f2ea;
  --paper-2: #efe7d8;
  --white: #fffcf7;
  --line: #ddd4c4;
  --accent: #c24d1d;
  --accent-ink: #8a2f0d;
  --forest: #1e4a3a;
  --forest-soft: #2c6a53;
  --shadow: 0 18px 50px rgba(23, 20, 15, 0.08);
  --radius: 18px;
  --max: 1120px;
  --sans: "Source Sans 3", "Segoe UI", sans-serif;
  --display: "Fraunces", Georgia, serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 18px;
  line-height: 1.55;
}

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

a {
  color: inherit;
}

.skip {
  position: absolute;
  left: -999px;
}

.skip:focus {
  left: 12px;
  top: 12px;
  z-index: 50;
  background: var(--ink);
  color: var(--white);
  padding: 8px 12px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(247, 242, 234, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.header-inner,
.footer-inner,
.wrap {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

.header-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  line-height: 1.05;
}

.brand img {
  height: 42px;
  width: auto;
}

.brand-kicker {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 700;
}

.brand-name {
  font-family: var(--display);
  font-size: 18px;
  font-weight: 600;
}

.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 999px;
  padding: 8px 14px;
  font: inherit;
  font-size: 15px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 22px;
}

.nav a {
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink-soft);
}

.nav a[aria-current="page"],
.nav a:hover {
  color: var(--ink);
}

.nav .cta {
  background: var(--ink);
  color: var(--white) !important;
  padding: 10px 16px;
  border-radius: 999px;
}

.hero {
  padding: 72px 0 56px;
  background:
    radial-gradient(circle at 90% 10%, rgba(194, 77, 29, 0.16), transparent 28%),
    linear-gradient(180deg, #efe7d8 0%, var(--paper) 100%);
}

.kicker {
  display: inline-block;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--accent-ink);
  margin-bottom: 14px;
}

h1,
h2,
h3 {
  font-family: var(--display);
  line-height: 1.12;
  margin: 0 0 16px;
  font-weight: 600;
}

h1 {
  font-size: clamp(40px, 7vw, 76px);
  max-width: 14ch;
}

h2 {
  font-size: clamp(28px, 4vw, 42px);
}

h3 {
  font-size: 22px;
}

.lede {
  font-size: 21px;
  max-width: 62ch;
  color: var(--ink-soft);
}

.hero-actions,
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border-radius: 999px;
  padding: 12px 18px;
  font-weight: 700;
  font-size: 16px;
  border: 1px solid transparent;
}

.button.primary {
  background: var(--accent);
  color: var(--white);
}

.button.secondary {
  background: transparent;
  border-color: var(--ink);
  color: var(--ink);
}

.section {
  padding: 72px 0;
}

.section.alt {
  background: var(--white);
}

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

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

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

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

.grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.stat {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
}

.stat b {
  display: block;
  font-family: var(--display);
  font-size: 36px;
  margin-bottom: 6px;
}

.card,
.person,
.startup,
.album,
.week,
.form-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
}

.dark .card,
.dark .week {
  background: #231f19;
  border-color: #3a342b;
  color: var(--paper);
  box-shadow: none;
}

.week-num,
.avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--paper-2);
  color: var(--accent-ink);
  font-weight: 800;
  margin-bottom: 14px;
}

.avatar.lg {
  width: 72px;
  height: 72px;
  font-size: 22px;
  font-family: var(--display);
}

.muted {
  color: var(--muted);
}

.dark .muted {
  color: #cbbda8;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 24px 0 28px;
}

.filter {
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 999px;
  padding: 8px 14px;
  font: inherit;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
}

.filter[aria-pressed="true"] {
  background: var(--ink);
  color: var(--white);
  border-color: var(--ink);
}

.startup h3,
.person h3,
.album h3 {
  margin-bottom: 8px;
}

.person .role,
.startup p,
.album p {
  margin: 0;
  color: var(--ink-soft);
}

.person-links,
.socials {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 14px;
}

.person-links a,
.socials a {
  font-size: 14px;
  font-weight: 700;
  color: var(--accent-ink);
}

.page-hero {
  padding: 48px 0 24px;
}

.page-hero p {
  max-width: 68ch;
}

form {
  display: grid;
  gap: 14px;
}

label {
  display: grid;
  gap: 6px;
  font-size: 15px;
  font-weight: 700;
}

input,
select,
textarea {
  font: inherit;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--white);
}

textarea {
  min-height: 120px;
}

.checklist {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.checklist li {
  background: var(--white);
  border-left: 4px solid var(--accent);
  padding: 14px 16px;
  border-radius: 0 12px 12px 0;
}

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

.timeline div {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 18px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
}

.timeline strong {
  font-size: 15px;
}

.site-footer {
  background: var(--ink);
  color: #f3eadc;
  padding: 48px 0 28px;
}

.site-footer a {
  color: #f3eadc;
  text-decoration: none;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 28px;
}

.tiny {
  margin-top: 28px;
  color: #b9ad9a;
  font-size: 14px;
}

.photo-frame {
  aspect-ratio: 4 / 3;
  border-radius: 14px;
  overflow: hidden;
  background:
    linear-gradient(135deg, #d9c7aa, #8a5a3a 48%, #1e4a3a);
  margin-bottom: 14px;
}

.photo-frame.portrait,
.person .photo-frame {
  aspect-ratio: 1;
}

.photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-media {
  margin-top: 36px;
  border-radius: 22px;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: #17140f;
}

.hero-media iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.partners {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 16px;
  align-items: center;
}

.partners a {
  display: grid;
  place-items: center;
  min-height: 92px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px;
}

.partners img {
  max-height: 56px;
  width: auto;
  object-fit: contain;
}

.brand img {
  height: 36px;
  width: auto;
}

.hidden {
  display: none !important;
}

@media (max-width: 860px) {
  .nav-toggle {
    display: inline-flex;
  }

  .nav {
    display: none;
    position: absolute;
    inset: 76px 16px auto;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 16px;
    flex-direction: column;
    align-items: flex-start;
  }

  .nav.open {
    display: flex;
  }

  .grid-2,
  .grid-3,
  .grid-4,
  .footer-grid,
  .timeline div {
    grid-template-columns: 1fr;
  }

  .header-inner,
  .footer-inner,
  .wrap {
    width: min(var(--max), calc(100% - 28px));
  }
}
