:root {
  --ink: #171717;
  --paper: #f5f1e8;
  --paper-deep: #e5dac8;
  --sage: #6d7565;
  --steel: #405567;
  --tomato: #ad4535;
  --charcoal: #22201d;
  --muted: #6f6a61;
  --line: rgba(23, 23, 23, 0.16);
  --light-line: rgba(245, 241, 232, 0.18);
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

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

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
  padding: 0 clamp(18px, 4vw, 54px);
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  border-bottom: 1px solid rgba(23, 23, 23, 0.08);
  backdrop-filter: blur(18px);
}

.brand,
.nav-links {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  gap: clamp(18px, 3vw, 34px);
  color: var(--muted);
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--ink);
}

.editor-link {
  color: var(--tomato);
}

.hero,
.section-band,
.featured,
.selected-work,
.footer {
  padding-left: clamp(18px, 4vw, 54px);
  padding-right: clamp(18px, 4vw, 54px);
}

.hero {
  min-height: calc(100vh - 68px);
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(310px, 0.7fr);
  gap: clamp(34px, 7vw, 92px);
  align-items: end;
  max-width: calc(var(--max) + 108px);
  margin: 0 auto;
  padding-top: 70px;
  padding-bottom: 54px;
}

.kicker {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 920px;
  margin-bottom: 28px;
  font-size: clamp(4.5rem, 8.8vw, 8.9rem);
  font-weight: 680;
  letter-spacing: 0;
  line-height: 0.86;
}

.hero-lede {
  max-width: 650px;
  margin-bottom: 34px;
  color: var(--muted);
  font-size: clamp(1.06rem, 1.4vw, 1.25rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border: 1px solid var(--ink);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

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

.button-light {
  background: transparent;
}

.hero-visual {
  min-height: 560px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  padding: 22px;
  background:
    linear-gradient(140deg, rgba(34, 32, 29, 0.22), transparent 42%),
    radial-gradient(circle at 70% 22%, rgba(173, 69, 53, 0.34), transparent 28%),
    linear-gradient(160deg, var(--steel), #26313a 52%, var(--charcoal));
  color: var(--paper);
}

.plate-mark {
  min-height: 390px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  border: 1px solid rgba(245, 241, 232, 0.28);
  padding: 22px;
  background:
    linear-gradient(90deg, transparent 48%, rgba(245, 241, 232, 0.14) 49%, transparent 50%),
    linear-gradient(0deg, transparent 48%, rgba(245, 241, 232, 0.12) 49%, transparent 50%);
  background-size: 44px 44px;
}

.plate-mark span,
.service-strip span,
.feature-grid span,
.steps span {
  color: color-mix(in srgb, currentColor 58%, transparent);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.plate-mark strong {
  display: block;
  max-width: 310px;
  margin-top: 12px;
  font-size: clamp(1.7rem, 3.2vw, 3.2rem);
  line-height: 0.98;
}

.service-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(245, 241, 232, 0.2);
}

.service-strip span {
  display: flex;
  min-height: 76px;
  align-items: center;
  justify-content: center;
  padding: 12px;
  background: rgba(23, 23, 23, 0.22);
  color: var(--paper);
  text-align: center;
}

.section-band,
.selected-work {
  max-width: calc(var(--max) + 108px);
  margin: 0 auto;
  padding-top: clamp(82px, 11vw, 138px);
  padding-bottom: clamp(82px, 11vw, 138px);
  border-top: 1px solid var(--line);
}

.profile h2,
.section-heading h2,
.work-style h2,
.education h2,
.footer h2 {
  margin-bottom: 0;
  font-size: clamp(2.35rem, 5vw, 5.7rem);
  font-weight: 650;
  letter-spacing: 0;
  line-height: 0.98;
}

.profile h2 {
  max-width: 1030px;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(160px, 0.35fr) minmax(0, 1fr);
  gap: clamp(24px, 6vw, 80px);
  margin-bottom: 74px;
}

.timeline {
  position: relative;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 16px;
  bottom: 16px;
  left: 180px;
  width: 1px;
  background: var(--line);
}

.timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: 145px minmax(0, 1fr);
  gap: 70px;
  padding: 38px 0;
  border-top: 1px solid var(--line);
}

.timeline-item::before {
  content: "";
  position: absolute;
  top: 48px;
  left: 176px;
  width: 9px;
  height: 9px;
  background: var(--ink);
  border-radius: 50%;
}

.timeline-item.current::before {
  width: 15px;
  height: 15px;
  left: 173px;
  background: var(--tomato);
}

.timeline-item time {
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.timeline-item h3 {
  margin-bottom: 8px;
  font-size: clamp(1.7rem, 3vw, 3.25rem);
  font-weight: 650;
  line-height: 1;
}

.timeline-item p {
  max-width: 760px;
  color: var(--muted);
}

.timeline-item .role {
  margin-bottom: 14px;
  color: var(--ink);
  font-weight: 750;
}

.featured {
  background: var(--charcoal);
  color: var(--paper);
  padding-top: clamp(82px, 11vw, 136px);
  padding-bottom: clamp(82px, 11vw, 136px);
}

.featured-copy,
.feature-grid {
  max-width: var(--max);
  margin: 0 auto;
}

.featured-copy {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.52fr);
  gap: clamp(30px, 6vw, 78px);
  align-items: end;
  margin-bottom: 76px;
}

.featured h2 {
  font-size: clamp(3rem, 6.8vw, 7rem);
  font-weight: 650;
  letter-spacing: 0;
  line-height: 0.9;
}

.featured p {
  color: rgba(245, 241, 232, 0.72);
}

.feature-grid,
.capability-list,
.work-grid,
.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
}

.feature-grid {
  background: var(--light-line);
}

.feature-grid article,
.capability-list article,
.steps article {
  min-height: 260px;
  padding: 28px;
  background: var(--paper);
}

.feature-grid article {
  background: #2b2925;
}

.feature-grid h3,
.capability-list h3,
.steps h3,
.work-tile h3 {
  margin: 28px 0 14px;
  font-size: 1.5rem;
  line-height: 1.08;
}

.feature-grid p {
  color: rgba(245, 241, 232, 0.66);
}

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

.capability-list p,
.steps p,
.work-tile p,
.education p {
  color: var(--muted);
}

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

.work-tile {
  background: var(--paper);
  padding-bottom: 28px;
}

.tile-image {
  min-height: 300px;
  background-color: var(--paper-deep);
  border-bottom: 1px solid var(--line);
}

.tile-breakfast {
  background:
    radial-gradient(circle at 34% 42%, rgba(245, 241, 232, 0.92) 0 14%, transparent 15%),
    radial-gradient(circle at 62% 46%, rgba(245, 241, 232, 0.72) 0 9%, transparent 10%),
    linear-gradient(135deg, var(--tomato), #6d2f2a 46%, var(--charcoal));
}

.tile-prep {
  background:
    linear-gradient(90deg, rgba(23, 23, 23, 0.22) 1px, transparent 1px),
    linear-gradient(0deg, rgba(23, 23, 23, 0.18) 1px, transparent 1px),
    linear-gradient(135deg, var(--sage), #c1b497);
  background-size: 44px 44px, 44px 44px, auto;
}

.tile-training {
  background:
    linear-gradient(90deg, rgba(245, 241, 232, 0.78) 0 56%, transparent 56%),
    repeating-linear-gradient(0deg, rgba(23, 23, 23, 0.3) 0 2px, transparent 2px 23px),
    linear-gradient(135deg, var(--steel), #18212a);
}

.work-tile h3,
.work-tile p {
  padding: 0 26px;
}

.work-style h2 {
  max-width: 880px;
  margin-bottom: 68px;
}

.education h2 {
  max-width: 780px;
  margin-bottom: 20px;
}

.footer {
  background: var(--ink);
  color: var(--paper);
  padding-top: clamp(82px, 12vw, 150px);
  padding-bottom: 46px;
}

.footer > * {
  max-width: var(--max);
  margin-left: auto;
  margin-right: auto;
}

.footer h2 {
  max-width: 990px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 34px;
  margin-top: 78px;
  padding-top: 28px;
  border-top: 1px solid var(--light-line);
  color: rgba(245, 241, 232, 0.72);
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--paper);
}

.reveal {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 920px) {
  .nav-links {
    display: none;
  }

  .hero,
  .featured-copy,
  .section-heading {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 74px;
  }

  .hero-visual {
    min-height: 420px;
  }

  .timeline::before,
  .timeline-item::before {
    display: none;
  }

  .timeline-item {
    grid-template-columns: 1fr;
    gap: 12px;
  }

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

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

@media (max-width: 560px) {
  .site-header {
    min-height: 58px;
  }

  h1 {
    font-size: clamp(3.7rem, 18vw, 5.2rem);
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .service-strip {
    grid-template-columns: 1fr;
  }

  .feature-grid,
  .capability-list,
  .steps {
    grid-template-columns: 1fr;
  }

  .feature-grid article,
  .capability-list article,
  .steps article {
    min-height: 220px;
  }
}

.editor-page {
  background: var(--paper);
}

.editor-shell {
  width: min(calc(100% - 36px), 1040px);
  margin: 0 auto;
  padding: clamp(34px, 7vw, 82px) 0;
}

.editor-header {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  align-items: flex-start;
  margin-bottom: 42px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--line);
}

.editor-header h1 {
  max-width: 760px;
  margin-bottom: 16px;
  font-size: clamp(3rem, 7vw, 6.6rem);
}

.editor-header p:not(.kicker),
.editor-status {
  max-width: 650px;
  color: var(--muted);
}

.editor-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.editor-field {
  display: grid;
  gap: 8px;
  padding: 18px;
  border: 1px solid var(--line);
  background: color-mix(in srgb, var(--paper) 74%, white);
}

.editor-field span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.editor-field input,
.editor-field textarea {
  width: 100%;
  border: 1px solid rgba(23, 23, 23, 0.18);
  background: #fffaf0;
  color: var(--ink);
  font: inherit;
  padding: 12px;
}

.editor-field textarea {
  resize: vertical;
}

.editor-actions {
  position: sticky;
  bottom: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
  padding: 18px 0;
  background: color-mix(in srgb, var(--paper) 92%, transparent);
  backdrop-filter: blur(14px);
}

.editor-status {
  min-height: 24px;
}

@media (max-width: 760px) {
  .editor-header,
  .editor-form {
    grid-template-columns: 1fr;
  }

  .editor-header {
    display: grid;
  }
}
