/* ---------------------------------------------------
   AdBox — base
--------------------------------------------------- */

:root {
  --ink: #0e0f13;
  --ink-soft: #1a1c22;
  --paper: #faf8f4;
  --paper-dim: #f1ede5;
  --line: rgba(14, 15, 19, 0.1);
  --line-dark: rgba(250, 248, 244, 0.14);
  --muted: #6b6a66;
  --muted-dark: #a8a6a0;
  --accent: #c9762f;
  --accent-soft: #e8a15a;

  --font-sans: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-serif: "Source Serif 4", Georgia, "Times New Roman", serif;

  --max: 1120px;
  --gutter: clamp(20px, 5vw, 64px);
}

* { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

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

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--ink);
  color: var(--paper);
  padding: 12px 18px;
  z-index: 200;
}
.skip-link:focus {
  left: 12px;
  top: 12px;
}

/* ---------------------------------------------------
   Header
--------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 248, 244, 0.86);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line);
}

.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
}

.logo-mark { border-radius: 7px; }

.logo-word {
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -0.01em;
}

.site-nav {
  display: flex;
  gap: clamp(18px, 3vw, 32px);
}

.site-nav a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.92rem;
  opacity: 0.72;
  transition: opacity 0.15s ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  opacity: 1;
}

/* ---------------------------------------------------
   Hero
--------------------------------------------------- */

.hero {
  background: var(--ink);
  color: var(--paper);
  overflow: hidden;
  position: relative;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(680px 420px at 82% -10%, rgba(201, 118, 47, 0.22), transparent 60%),
    radial-gradient(520px 360px at 100% 100%, rgba(201, 118, 47, 0.10), transparent 65%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: clamp(32px, 6vw, 64px);
  padding-top: clamp(72px, 12vw, 132px);
  padding-bottom: clamp(72px, 12vw, 132px);
}

.eyebrow {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-soft);
  margin: 0 0 18px;
}

.hero h1 {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(3.2rem, 8vw, 5.6rem);
  line-height: 0.98;
  letter-spacing: -0.01em;
  margin: 0 0 22px;
}

.hero-lede {
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  line-height: 1.55;
  color: rgba(250, 248, 244, 0.82);
  max-width: 46ch;
  margin: 0 0 28px;
}

.hero-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 0.94rem;
  color: rgba(250, 248, 244, 0.68);
}

.hero-meta .dot { color: var(--accent-soft); }

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.box-frame {
  width: min(280px, 100%);
  aspect-ratio: 1;
  border: 1px solid var(--line-dark);
  border-radius: 28px;
  padding: 18px;
  display: flex;
  background: linear-gradient(160deg, rgba(255,255,255,0.03), transparent 60%);
}

.box-frame-inner {
  flex: 1;
  border: 1px solid var(--line-dark);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.02);
}

.box-frame-inner img { width: 40%; height: auto; }

/* ---------------------------------------------------
   Sections
--------------------------------------------------- */

.section {
  padding: clamp(64px, 10vw, 108px) 0;
}

.section-alt {
  background: var(--paper-dim);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-title {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  letter-spacing: -0.01em;
  margin: 0 0 36px;
}

/* About */

.about-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(24px, 5vw, 64px);
  align-items: start;
}

.about-body p {
  font-size: 1.08rem;
  line-height: 1.75;
  color: #33322f;
  max-width: 62ch;
  margin: 0 0 20px;
}

.about-body p:last-child { margin-bottom: 0; }

/* Focus grid */

.focus-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
}

.focus-card {
  background: var(--paper);
  padding: 32px 26px;
}

.focus-index {
  display: block;
  font-family: var(--font-serif);
  font-size: 0.95rem;
  color: var(--accent);
  margin-bottom: 22px;
}

.focus-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0 0 10px;
  letter-spacing: -0.01em;
}

.focus-card p {
  font-size: 0.94rem;
  line-height: 1.55;
  color: var(--muted);
  margin: 0;
}

/* Timeline */

.timeline-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(24px, 5vw, 64px);
  align-items: start;
}

.timeline-facts {
  display: grid;
  gap: 22px;
  margin: 0;
  padding: 28px;
  background: var(--ink);
  color: var(--paper);
  border-radius: 16px;
}

.timeline-facts div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid var(--line-dark);
  padding-bottom: 14px;
}

.timeline-facts div:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.timeline-facts dt {
  font-size: 0.86rem;
  color: var(--muted-dark);
  font-weight: 600;
}

.timeline-facts dd {
  margin: 0;
  font-weight: 700;
  text-align: right;
}

/* ---------------------------------------------------
   Footer
--------------------------------------------------- */

.site-footer {
  border-top: 1px solid var(--line);
  padding: 32px 0;
}

.footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
}

.footer-note {
  margin: 0;
  font-size: 0.86rem;
  color: var(--muted);
}

/* ---------------------------------------------------
   Responsive
--------------------------------------------------- */

@media (max-width: 860px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .hero-visual { order: -1; }
  .box-frame { width: min(180px, 60vw); margin: 0 auto; }

  .about-grid,
  .timeline-grid {
    grid-template-columns: 1fr;
  }

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

  .timeline-facts dd { text-align: right; }
}

@media (max-width: 560px) {
  .site-nav { gap: 16px; }
  .site-nav a { font-size: 0.86rem; }

  .focus-grid { grid-template-columns: 1fr; }

  .timeline-facts div {
    flex-direction: column;
    gap: 4px;
  }
  .timeline-facts dd { text-align: left; }

  .footer-row {
    flex-direction: column;
    align-items: flex-start;
  }
}
