:root {
  --ink: #050505;
  --paper: #f5f5f2;
  --white: #ffffff;
  --soft: #e8e8e2;
  --muted: #6c6c66;
  --line: rgba(5, 5, 5, 0.16);
  --reverse-line: rgba(255, 255, 255, 0.2);
  --signal: #b62518;
  --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.45;
}

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

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

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--signal);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: 16px;
  z-index: 20;
  transform: translateY(-160%);
  background: var(--white);
  color: var(--ink);
  padding: 10px 12px;
  border: 1px solid var(--ink);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: fixed;
  z-index: 10;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 24px;
  color: var(--white);
  mix-blend-mode: difference;
}

.brand,
.site-nav {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand {
  font-size: 0.95rem;
  font-weight: 700;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-size: 0.72rem;
}

.site-nav a {
  padding: 8px 0;
  border-bottom: 1px solid transparent;
  font-size: 0.92rem;
  font-weight: 650;
}

.site-nav a[aria-current="page"],
.site-nav a:hover {
  border-bottom-color: currentColor;
}

.hero {
  position: relative;
  min-height: 88svh;
  display: grid;
  align-items: end;
  overflow: hidden;
  background: var(--ink);
  color: var(--white);
}

.hero-media,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-media {
  object-fit: cover;
  filter: grayscale(1) contrast(1.22) brightness(0.62);
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.86) 0%, rgba(0, 0, 0, 0.62) 42%, rgba(0, 0, 0, 0.18) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.28) 0%, rgba(0, 0, 0, 0.78) 100%);
}

.hero-inner {
  position: relative;
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: 118px 0 58px;
}

.eyebrow,
.section-kicker,
.feature-card p,
.project-card-copy p,
.story-chapter p {
  margin: 0;
  color: currentColor;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.eyebrow,
.section-kicker {
  color: var(--muted);
}

.hero .eyebrow {
  color: rgba(255, 255, 255, 0.72);
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  margin: 0;
  letter-spacing: 0;
}

h1,
h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  line-height: 0.98;
}

h1 {
  max-width: 920px;
  margin-top: 16px;
  font-size: 5rem;
}

.hero-line {
  max-width: 820px;
  margin: 22px 0 0;
  font-size: 1.72rem;
  line-height: 1.16;
}

.hero-copy {
  max-width: 720px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.08rem;
}

.action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid currentColor;
  border-radius: 4px;
  font-size: 0.92rem;
  font-weight: 800;
}

.button-light {
  background: var(--white);
  color: var(--ink);
}

.button-ghost {
  color: var(--white);
}

.dark-ghost {
  color: var(--ink);
}

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

.section {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: 86px 0;
}

.section-grid,
.kanon-feature,
.video-slot,
.roark-statement,
.contact-band,
.project-feature {
  display: grid;
  grid-template-columns: minmax(180px, 0.36fr) minmax(0, 1fr);
  gap: 48px;
  align-items: start;
}

.intro-band {
  border-bottom: 1px solid var(--line);
}

.large-copy p {
  max-width: 920px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.35rem;
  line-height: 1.12;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 30px;
}

.section-heading h2,
.kanon-copy h2,
.contact-band h2,
.roark-statement h2,
.video-slot h2,
.services h2 {
  margin-top: 10px;
  font-size: 3.25rem;
}

.section-heading p,
.kanon-copy p,
.contact-band p,
.roark-statement p,
.video-slot p,
.services p,
.project-feature-copy p {
  font-size: 1.04rem;
}

.feature-grid,
.proof-grid,
.project-grid,
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.feature-card,
.proof-card,
.project-card,
.service-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.74);
}

.feature-card {
  min-height: 246px;
  padding: 24px;
  transition: transform 160ms ease, border-color 160ms ease;
}

.feature-card:hover {
  transform: translateY(-3px);
  border-color: var(--ink);
}

.feature-card p,
.project-card-copy p,
.story-chapter p {
  color: var(--muted);
}

.feature-card h3 {
  margin-top: 30px;
  font-size: 1.9rem;
  line-height: 1.05;
}

.feature-card span,
.project-card-copy span,
.story-chapter span {
  display: block;
  margin-top: 14px;
  color: var(--muted);
}

.kanon-feature {
  align-items: center;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.kanon-copy p {
  max-width: 560px;
  color: var(--muted);
}

.text-link {
  display: inline-flex;
  margin-top: 22px;
  border-bottom: 1px solid currentColor;
  font-weight: 800;
}

.media-frame {
  margin: 0;
}

.media-frame img,
.feature-video {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  filter: grayscale(1) contrast(1.1);
  border-radius: 8px;
}

.media-frame figcaption {
  margin-top: 9px;
  color: var(--muted);
  font-size: 0.84rem;
}

.proof-card {
  overflow: hidden;
}

.proof-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  filter: grayscale(1) contrast(1.12);
}

.proof-card div {
  padding: 22px;
}

.proof-card h3,
.project-card h3,
.service-card h3 {
  font-size: 1.45rem;
  line-height: 1.1;
}

.proof-card p {
  margin: 12px 0 0;
  color: var(--muted);
}

.contact-band {
  width: 100%;
  max-width: none;
  padding: 78px max(20px, calc((100vw - var(--max)) / 2));
  background: var(--ink);
  color: var(--white);
}

.contact-band .section-kicker {
  color: rgba(255, 255, 255, 0.62);
}

.contact-band p {
  max-width: 560px;
  margin: 0;
  color: rgba(255, 255, 255, 0.74);
}

.page-hero {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: 156px 0 72px;
}

.page-hero h1 {
  color: var(--ink);
}

.page-hero p:last-child {
  max-width: 780px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 1.22rem;
}

.project-feature {
  width: 100%;
  max-width: none;
  padding: 72px max(20px, calc((100vw - var(--max)) / 2));
  align-items: center;
  background: var(--ink);
  color: var(--white);
}

.project-feature-copy h2 {
  margin-top: 10px;
  font-size: 4rem;
}

.project-feature-copy p {
  max-width: 620px;
  color: rgba(255, 255, 255, 0.76);
}

.project-feature-copy .section-kicker {
  color: rgba(255, 255, 255, 0.62);
}

.feature-video {
  min-height: 420px;
  filter: grayscale(1) contrast(1.24) brightness(0.78);
}

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

.project-card {
  overflow: hidden;
  background: var(--white);
  transition: transform 160ms ease, border-color 160ms ease;
}

.project-card:hover {
  transform: translateY(-3px);
  border-color: var(--ink);
}

.project-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  filter: grayscale(1) contrast(1.08);
}

.project-card-copy {
  padding: 22px;
}

.project-card-copy ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.project-card-copy li {
  padding: 6px 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 750;
}

.story-hero {
  padding-bottom: 52px;
}

.story-timeline {
  display: grid;
  gap: 0;
  padding-top: 24px;
}

.story-chapter {
  display: grid;
  grid-template-columns: minmax(160px, 0.28fr) minmax(0, 0.72fr);
  gap: 34px;
  padding: 36px 0;
  border-top: 1px solid var(--line);
}

.story-chapter h2 {
  font-size: 2.6rem;
}

.story-chapter span {
  grid-column: 2;
  max-width: 720px;
  margin-top: -18px;
  font-size: 1.08rem;
}

.roark-statement {
  width: 100%;
  max-width: none;
  padding: 82px max(20px, calc((100vw - var(--max)) / 2));
  background: var(--ink);
  color: var(--white);
}

.roark-statement .section-kicker {
  color: rgba(255, 255, 255, 0.62);
}

.roark-statement p {
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
}

.video-slot {
  align-items: center;
}

.tall-frame img {
  aspect-ratio: 4 / 5;
}

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

.service-card {
  padding: 24px;
}

.service-card p {
  margin: 12px 0 0;
  color: var(--muted);
}

.services .button {
  margin-top: 24px;
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 24px;
  align-items: end;
  padding: 42px max(20px, calc((100vw - var(--max)) / 2));
  border-top: 1px solid var(--line);
}

.site-footer p {
  max-width: 480px;
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.footer-brand {
  font-weight: 850;
}

.footer-links {
  display: flex;
  gap: 16px;
  font-weight: 750;
}

.fine-print {
  text-align: right;
}

@media (max-width: 900px) {
  .site-header {
    padding: 14px 18px;
  }

  .brand span:last-child {
    display: none;
  }

  h1 {
    font-size: 3.7rem;
  }

  .hero-line {
    font-size: 1.4rem;
  }

  .section-grid,
  .kanon-feature,
  .video-slot,
  .roark-statement,
  .contact-band,
  .project-feature,
  .story-chapter {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .large-copy p,
  .section-heading h2,
  .kanon-copy h2,
  .contact-band h2,
  .roark-statement h2,
  .video-slot h2,
  .services h2 {
    font-size: 2.25rem;
  }

  .feature-grid,
  .proof-grid,
  .project-grid,
  .service-grid {
    grid-template-columns: 1fr;
  }

  .story-chapter span {
    grid-column: auto;
    margin-top: 0;
  }

  .feature-video {
    min-height: auto;
  }

  .site-footer {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .fine-print {
    text-align: left;
  }
}

@media (max-width: 560px) {
  .site-nav {
    gap: 12px;
  }

  .site-nav a {
    font-size: 0.86rem;
  }

  .hero-inner {
    width: min(100% - 28px, var(--max));
    padding-bottom: 42px;
  }

  h1 {
    font-size: 3.05rem;
  }

  .page-hero h1 {
    font-size: 3.25rem;
  }

  .project-feature-copy h2 {
    font-size: 3rem;
  }

  .section,
  .page-hero {
    width: min(100% - 28px, var(--max));
  }

  .button {
    width: 100%;
  }
}
