:root {
  --ink: #0d2430;
  --ink-deep: #081820;
  --ink-soft: #23414d;
  --paper: #f3f3ed;
  --paper-warm: #e8ebe6;
  --white: #fbfcf9;
  --line: rgba(13, 36, 48, 0.16);
  --line-light: rgba(242, 246, 240, 0.22);
  --copper: #c4774d;
  --copper-light: #deaa77;
  --serif: Georgia, "Times New Roman", serif;
  --sans: "Manrope", Arial, sans-serif;
  --mono: "DM Mono", "Courier New", monospace;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

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

a { color: inherit; }

.shell { width: min(1160px, calc(100% - 64px)); margin: 0 auto; }

.skip-link {
  position: absolute;
  left: 16px;
  top: -100px;
  z-index: 20;
  padding: 10px 14px;
  background: var(--copper);
  color: var(--white);
  text-decoration: none;
}

.skip-link:focus { top: 16px; }

.site-header {
  position: absolute;
  top: 0;
  z-index: 5;
  width: 100%;
  color: var(--paper);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 88px;
  border-bottom: 1px solid rgba(243, 243, 237, 0.18);
}

.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }

.brand-mark {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border: 1px solid var(--copper-light);
  border-radius: 50%;
  color: var(--copper-light);
  font: 500 12px/1 var(--mono);
  letter-spacing: -0.12em;
  padding-right: 2px;
}

.brand-name { font-size: 15px; font-weight: 700; letter-spacing: 0.01em; }

nav { display: flex; gap: 28px; }

nav a {
  color: rgba(243, 243, 237, 0.76);
  font-size: 13px;
  text-decoration: none;
  transition: color 180ms ease;
}

nav a:hover, nav a:focus-visible { color: var(--paper); }

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

.hero::before {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, transparent 0 45%, rgba(196, 119, 77, 0.09) 45.1% 45.4%, transparent 45.5%),
    repeating-linear-gradient(90deg, transparent 0 104px, rgba(243, 243, 237, 0.035) 104px 105px),
    radial-gradient(circle at 80% 14%, rgba(196, 119, 77, 0.22), transparent 34%);
  content: "";
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
  align-items: center;
  gap: 10%;
  min-height: 760px;
  padding-top: 88px;
}

.eyebrow, .section-kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 24px;
  color: var(--copper-light);
  font: 500 11px/1.3 var(--mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eyebrow-line { display: inline-block; width: 30px; height: 1px; background: currentColor; }

h1, h2, h3, p { margin-top: 0; }

h1, h2, h3 { font-weight: 700; letter-spacing: -0.045em; }

h1 {
  max-width: 730px;
  margin-bottom: 28px;
  color: var(--paper);
  font-size: clamp(3.7rem, 7.3vw, 6.8rem);
  line-height: 0.98;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(2.8rem, 5.8vw, 5.5rem);
  line-height: 1.02;
}

h2 em, h2 span { color: var(--copper); font-family: var(--serif); font-weight: 400; letter-spacing: -0.065em; }

.hero-lede {
  max-width: 560px;
  margin-bottom: 34px;
  color: rgba(243, 243, 237, 0.75);
  font-size: 18px;
  line-height: 1.65;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: var(--paper);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.text-link span { color: var(--copper-light); font-size: 22px; transition: transform 180ms ease; }
.text-link:hover span, .text-link:focus-visible span { transform: translate(3px, 3px); }
.contact-link { margin-left: 24px; }

.hero-panel {
  max-width: 410px;
  padding: 26px 26px 22px;
  border: 1px solid rgba(243, 243, 237, 0.23);
  background: rgba(8, 24, 32, 0.28);
  backdrop-filter: blur(5px);
}

.panel-topline, .panel-note {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: rgba(243, 243, 237, 0.54);
  font: 11px/1.3 var(--mono);
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.panel-index { color: var(--copper-light); }
.panel-years { margin: 46px 0 38px; }

.year-row {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 18px;
  padding: 15px 0;
  border-bottom: 1px solid var(--line-light);
}

.year-row:first-child { border-top: 1px solid var(--line-light); }
.year { color: var(--copper-light); font: 500 19px/1.2 var(--mono); }
.year-copy { color: rgba(243, 243, 237, 0.73); font-size: 14px; line-height: 1.5; }
.year-row.active .year-copy { color: var(--paper); }

.panel-note { justify-content: flex-start; gap: 9px; color: rgba(243, 243, 237, 0.68); text-transform: none; }
.dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--copper); }

.hero-stamp {
  position: absolute;
  right: 4%;
  bottom: 4%;
  z-index: 1;
  display: flex;
  width: 138px;
  height: 138px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(222, 170, 119, 0.4);
  border-radius: 50%;
  color: var(--copper-light);
  transform: rotate(-12deg);
}

.hero-stamp::before { position: absolute; inset: 9px; border: 1px dashed rgba(222, 170, 119, 0.38); border-radius: 50%; content: ""; }
.hero-stamp span { font: 500 28px/1 var(--mono); letter-spacing: -0.13em; padding-right: 5px; }
.hero-stamp small { margin-top: 10px; font: 10px/1 var(--mono); letter-spacing: 0.12em; text-transform: uppercase; }

.section { padding: 144px 0; }
.section-kicker { color: var(--copper); }
.section-kicker.light { color: var(--copper-light); }

.intro { background: var(--paper); }
.intro-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10%; align-items: start; }
.intro h2 { margin-top: -8px; }
.intro-copy { max-width: 520px; padding-top: 8px; }
.intro-copy p { margin-bottom: 24px; color: var(--ink-soft); }
.intro-copy .large-copy { color: var(--ink); font-size: 22px; line-height: 1.6; }

.timeline-section, .expertise { background: var(--ink); color: var(--paper); }
.timeline-heading, .expertise-heading { display: grid; grid-template-columns: 1.1fr 0.65fr; gap: 12%; align-items: end; margin-bottom: 82px; }
.timeline-heading p, .expertise-heading p { max-width: 370px; margin-bottom: 7px; color: rgba(243, 243, 237, 0.64); }
.timeline-heading h2, .expertise-heading h2 { color: var(--paper); }
.timeline-heading h2 span, .expertise-heading h2 span { color: var(--copper-light); }

.timeline { position: relative; max-width: 930px; }
.timeline::before { position: absolute; top: 8px; bottom: 8px; left: 118px; width: 1px; background: var(--line-light); content: ""; }
.timeline-item { position: relative; display: grid; grid-template-columns: 82px 72px 1fr; gap: 0; min-height: 145px; }
.timeline-year { color: var(--copper-light); font: 500 14px/1.2 var(--mono); letter-spacing: 0.02em; }
.timeline-marker { position: relative; z-index: 1; width: 15px; height: 15px; margin: 0 auto; border: 1px solid var(--copper-light); border-radius: 50%; background: var(--ink); }
.timeline-item.featured .timeline-marker { width: 23px; height: 23px; margin-top: -4px; border: 5px solid var(--ink); outline: 1px solid var(--copper); background: var(--copper); }
.timeline-content { padding: 0 0 48px 18px; }
.timeline-content h3 { margin-bottom: 9px; color: var(--paper); font-size: 21px; letter-spacing: -0.02em; }
.timeline-content p { max-width: 530px; margin-bottom: 0; color: rgba(243, 243, 237, 0.64); font-size: 15px; }

.family { background: var(--paper-warm); }
.family-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 13%; align-items: center; }
.family-note { padding: 40px 0 40px 44px; border-left: 1px solid var(--copper); }
.quote-mark { display: block; height: 46px; color: var(--copper); font: 80px/0.8 var(--serif); }
.quote { max-width: 390px; margin-bottom: 26px; color: var(--ink); font: 400 clamp(1.9rem, 3.1vw, 3rem)/1.12 var(--serif); letter-spacing: -0.045em; }
.quote-signature { margin: 0; color: var(--copper); font: 11px/1.3 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; }
.family-copy { max-width: 520px; }
.family-copy h2 { margin-bottom: 30px; }
.family-copy p { color: var(--ink-soft); }

.expertise { position: relative; overflow: hidden; }
.expertise::after { position: absolute; right: -160px; bottom: -220px; width: 560px; height: 560px; border: 1px solid rgba(222, 170, 119, 0.2); border-radius: 50%; box-shadow: 0 0 0 42px rgba(222, 170, 119, 0.03), 0 0 0 85px rgba(222, 170, 119, 0.03); content: ""; pointer-events: none; }
.expertise-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.expertise-card { min-height: 270px; padding: 28px; border: 1px solid var(--line-light); background: rgba(243, 243, 237, 0.04); }
.expertise-card.accent-card { border-color: rgba(196, 119, 77, 0.7); background: var(--copper); color: var(--ink); }
.card-number { margin-bottom: 70px; color: var(--copper-light); font: 500 12px/1 var(--mono); }
.accent-card .card-number { color: rgba(13, 36, 48, 0.68); }
.expertise-card h3 { margin-bottom: 14px; font-size: 27px; letter-spacing: -0.035em; }
.expertise-card p { max-width: 390px; margin-bottom: 0; color: rgba(243, 243, 237, 0.68); }
.accent-card p { color: rgba(13, 36, 48, 0.77); }

.closing { padding-top: 170px; padding-bottom: 140px; }
.closing h2 { margin-bottom: 62px; font-size: clamp(3.7rem, 9vw, 8rem); }
.closing-bottom { display: flex; justify-content: space-between; gap: 40px; align-items: end; border-top: 1px solid var(--line); padding-top: 22px; }
.closing-bottom p { max-width: 420px; margin: 0; color: var(--ink-soft); font-size: 15px; }
.round-link { display: grid; width: 58px; height: 58px; flex: 0 0 auto; place-items: center; border: 1px solid var(--copper); border-radius: 50%; color: var(--copper); font-size: 24px; text-decoration: none; transition: background 180ms ease, color 180ms ease; }
.round-link:hover, .round-link:focus-visible { background: var(--copper); color: var(--paper); }

.site-footer { padding: 22px 0; background: var(--ink-deep); color: rgba(243, 243, 237, 0.54); font: 11px/1.4 var(--mono); }
.footer-inner { display: flex; justify-content: space-between; gap: 20px; }
.site-footer a { color: var(--copper-light); text-decoration: none; }
.site-footer a:hover, .site-footer a:focus-visible { color: var(--paper); text-decoration: underline; }
.footer-legal { display: inline-flex; gap: 18px; }

.legal-page { min-height: 100vh; background: var(--paper); }
.legal-header { background: var(--ink); color: var(--paper); }
.legal-header .header-inner { min-height: 88px; }
.legal-back { color: var(--copper-light); font: 500 11px/1.3 var(--mono); letter-spacing: 0.08em; text-decoration: none; text-transform: uppercase; }
.legal-back:hover, .legal-back:focus-visible { color: var(--paper); }
.legal-main { padding: 100px 0 130px; }
.legal-main h1 { max-width: none; margin: 0 0 66px; color: var(--ink); font-size: clamp(3.3rem, 8vw, 7rem); }
.legal-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(240px, 0.65fr); gap: 12%; align-items: start; }
.legal-copy { max-width: 680px; }
.legal-copy h2 { margin: 0 0 18px; font-size: 28px; letter-spacing: -0.03em; }
.legal-copy h3 { margin: 42px 0 10px; color: var(--copper); font-size: 19px; letter-spacing: -0.02em; }
.legal-copy p, .legal-copy li { color: var(--ink-soft); font-size: 15px; }
.legal-copy p { margin-bottom: 18px; }
.legal-copy ul { margin: 0 0 24px; padding-left: 20px; }
.legal-copy a { color: var(--copper); }
.legal-card { padding: 26px; border: 1px solid var(--line); background: var(--paper-warm); }
.legal-card p { margin: 0; color: var(--ink); font-size: 15px; }
.legal-card p + p { margin-top: 18px; }
.legal-card strong { display: block; margin-bottom: 8px; color: var(--copper); font: 500 11px/1.3 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; }
.legal-footer { margin-top: 0; }

:focus-visible { outline: 2px solid var(--copper-light); outline-offset: 4px; }

@media (max-width: 820px) {
  .shell { width: min(100% - 40px, 620px); }
  .header-inner { min-height: 72px; }
  nav { display: none; }
  .hero, .hero-grid { min-height: auto; }
  .hero-grid { display: block; padding-top: 170px; padding-bottom: 112px; }
  h1 { font-size: clamp(3.3rem, 14vw, 5.8rem); }
  .hero-panel { margin-top: 76px; }
  .contact-link { margin-left: 0; margin-top: 14px; }
  .hero-stamp { right: 18px; bottom: 26px; width: 100px; height: 100px; }
  .hero-stamp span { font-size: 21px; }
  .hero-stamp small { font-size: 8px; }
  .section { padding: 96px 0; }
  .intro-grid, .family-grid, .timeline-heading, .expertise-heading { grid-template-columns: 1fr; gap: 38px; }
  .intro h2 { margin-bottom: 0; }
  .timeline-heading, .expertise-heading { margin-bottom: 56px; }
  .timeline::before { left: 68px; }
  .timeline-item { grid-template-columns: 45px 47px 1fr; }
  .timeline-content { padding-left: 4px; }
  .family-note { padding-left: 25px; }
  .expertise-grid { grid-template-columns: 1fr; }
  .expertise-card { min-height: 230px; }
  .card-number { margin-bottom: 54px; }
  .closing { padding-top: 110px; padding-bottom: 96px; }
  .closing h2 { margin-bottom: 48px; }
  .legal-main { padding: 76px 0 96px; }
  .legal-main h1 { margin-bottom: 46px; }
  .legal-grid { grid-template-columns: 1fr; gap: 48px; }
}

@media (max-width: 480px) {
  .shell { width: calc(100% - 32px); }
  .hero-lede { font-size: 16px; }
  .hero-panel { padding: 20px 18px 18px; }
  .year-row { grid-template-columns: 70px 1fr; gap: 12px; }
  .year { font-size: 16px; }
  .year-copy { font-size: 13px; }
  .timeline-item { grid-template-columns: 45px 34px 1fr; }
  .timeline::before { left: 62px; }
  .timeline-content h3 { font-size: 19px; }
  .footer-inner { display: block; }
  .footer-inner span { display: block; }
  .footer-inner span + span { margin-top: 8px; }
  .footer-legal { display: flex; gap: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; }
}
