:root {
  color-scheme: light;
  --paper: #f5f3ec;
  --ink: #1b1e21;
  --night: #191c20;
  --white: #f8f6ee;
  --accent: #d96b35;
  --muted: #5d625b;
  --rule: #d4d4c9;
  --night-rule: #383d3e;
  --gutter: clamp(1.25rem, 5vw, 5.5rem);
  font-family: Inter, system-ui, sans-serif;
  font-size: 100%;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: var(--paper); }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, textarea { font: inherit; }
button { cursor: pointer; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { text-wrap: balance; }
h2 { font-size: clamp(2rem, 3.6vw, 3.6rem); font-weight: 500; line-height: .99; letter-spacing: -.07em; }
h3 { font-weight: 500; letter-spacing: -.045em; }
section[id] { scroll-margin-top: 1rem; }
a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible, textarea:focus-visible { outline: 2px solid #924525; outline-offset: 4px; }
.dark :focus-visible, .site-header :focus-visible, .site-footer :focus-visible, .video-dialog :focus-visible { outline-color: var(--accent); }

.wrap { width: min(100% - 2 * var(--gutter), 85rem); margin-inline: auto; }
.dark, .site-header, .site-footer { color: var(--white); background: var(--night); }
.section { padding-block: clamp(3.7rem, 7.2vw, 7.5rem); }
.skip-link { position: fixed; z-index: 2; top: .75rem; left: .75rem; padding: .7rem 1rem; background: var(--accent); color: var(--ink); transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }

.header-inner, .footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.25rem; }
.header-inner { min-height: 5.3rem; border-bottom: 1px solid var(--night-rule); }
.wordmark { font-size: 1.13rem; font-weight: 700; letter-spacing: -.045em; text-decoration: none; white-space: nowrap; }
.site-header nav { display: flex; align-items: center; gap: clamp(1.3rem, 3.1vw, 3rem); }
.site-header nav a { padding-block: .65rem; font-size: .9rem; color: #d1d3ce; text-decoration: none; }
.site-header nav a[aria-current], .site-header nav a:hover { color: var(--accent); }
.site-header nav a[aria-current] { text-decoration: underline; text-underline-offset: .42em; }

.hero-grid { display: grid; grid-template-columns: minmax(0, .78fr) minmax(0, 1.3fr); gap: clamp(2rem, 4vw, 4.4rem); align-items: center; padding-block: clamp(3.25rem, 6.6vw, 7.3rem) clamp(3rem, 5.3vw, 5.6rem); }
.hero h1, .page-intro h1 { font-size: clamp(3.3rem, 6.2vw, 6.8rem); line-height: .96; font-weight: 500; letter-spacing: -.085em; }
.hero h1 span { display: block; color: var(--accent); }
.hero-copy p, .page-intro p { color: #c8ccc5; font-size: clamp(1rem, 1.4vw, 1.22rem); line-height: 1.65; max-width: 28ch; margin-block: 1.65rem 2rem; }
.button { display: inline-flex; align-items: center; justify-content: space-between; gap: 1.25rem; min-height: 3rem; width: fit-content; padding: .75rem 1rem; border: 1px solid transparent; border-radius: 2px; text-decoration: none; font-size: .88rem; font-weight: 700; line-height: 1.35; }
.arrow {
  position: relative;
  display: inline-block;
  flex: 0 0 auto;
  width: .72rem;
  height: .72rem;
}
.arrow::before {
  content: '';
  position: absolute;
  right: 0;
  top: 0;
  width: .58rem;
  height: .58rem;
  border-top: 1.4px solid currentColor;
  border-right: 1.4px solid currentColor;
}
.arrow::after {
  content: '';
  position: absolute;
  width: .86rem;
  height: 1.4px;
  background: currentColor;
  top: 0;
  right: 0;
  transform-origin: right center;
  transform: rotate(-45deg);
}
.button-accent { background: var(--accent); color: var(--ink); }
.button-accent:hover { background: #e48151; }
.button-dark { color: var(--white); background: var(--night); }
.button-dark:hover { background: #343b3a; }

.media-link { position: relative; display: grid; place-items: center; overflow: hidden; aspect-ratio: 16 / 9; background: #121517; color: #fff; isolation: isolate; }
.media-link img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; transition: transform .28s ease; }
.media-link:hover img { transform: scale(1.035); }
.reel .media-link { border: 1px solid #62685f; }
.play { display: grid; place-items: center; z-index: 1; width: 3rem; height: 3rem; border-radius: 50%; background: var(--white); color: var(--ink); box-shadow: 0 2px 14px #0004; }
.play::before { content: ''; width: 0; height: 0; margin-left: .18rem; border-block: .36rem solid transparent; border-left: .58rem solid currentColor; }
.reel .play { width: clamp(3.3rem, 6vw, 5rem); height: clamp(3.3rem, 6vw, 5rem); background: var(--accent); }
.reel .play::before { border-block-width: .52rem; border-left-width: .86rem; }

.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 1rem 2rem; flex-wrap: wrap; margin-bottom: 2.1rem; }
.text-link { display: inline-flex; gap: .55rem; align-items: center; font-size: .91rem; font-weight: 700; text-decoration-thickness: 1px; text-underline-offset: .3em; }
.text-link:hover { color: #924525; }
.project-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.8rem clamp(1rem, 2vw, 2rem); }
.video-card figcaption { padding: .9rem 0 0; }
.video-card h3 { font-size: clamp(1.2rem, 2.35vw, 1.75rem); line-height: 1.12; }
.video-card p { font-size: .87rem; line-height: 1.45; color: var(--muted); margin-top: .32rem; }
.video-card .play { width: 2.65rem; height: 2.65rem; }
.home-references-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 3fr); gap: clamp(1.5rem, 4vw, 4rem); align-items: start; }
.scope-photo { width: 100%; height: auto; }
.station-certification { display: flex; flex-wrap: wrap; align-items: center; gap: .55rem 1rem; margin-bottom: 1.35rem; }
.station-certification p { font-weight: 700; line-height: 1.5; }
.station-certification img { width: 8rem; height: auto; }

.station-section { position: relative; isolation: isolate; overflow: hidden; }
.station-section::before { content: ''; position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg, #191c20 0%, #191c20f2 34%, #191c206b 100%); }
.station-grid { display: grid; grid-template-columns: minmax(0, 34rem) 1fr; }
.station-visual { position: absolute; z-index: -2; inset: 0; margin-left: 20%; }
.station-photo { width: 100%; height: 100%; object-fit: cover; object-position: center 57%; }
.station-list { list-style: none; padding: 0; margin: 1.5rem 0 0; }
.station-list li { padding: .55rem 0; border-top: 1px solid #f8f6ee42; font-size: .9rem; line-height: 1.4; }
.contact-strip { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1.5rem; padding-block: clamp(3rem, 6vw, 5.5rem); }
.footer-inner { min-height: 5.4rem; border-top: 1px solid var(--night-rule); }
.footer-inner > a:last-child { color: #c8ccc5; font-size: .86rem; text-underline-offset: .25em; overflow-wrap: anywhere; }

.page-intro { padding-block: clamp(3rem, 6.5vw, 7rem); }
.page-intro h1 span { color: var(--accent); }
.page-intro p { max-width: none; margin-bottom: 0; }
.intro-email { display: inline-block; margin-top: 1.1rem; color: var(--accent); font-size: clamp(.96rem, 2.2vw, 1.45rem); overflow-wrap: anywhere; text-underline-offset: .25em; }
.credits-section { border-top: 1px solid var(--rule); }
.credits-grid, .contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.8fr); gap: 2rem clamp(2rem, 5vw, 6rem); align-items: start; }
.credits details { border-top: 1px solid var(--rule); }
.credits details:last-child { border-bottom: 1px solid var(--rule); }
.credits summary { cursor: pointer; font-size: clamp(1.06rem, 1.85vw, 1.35rem); font-weight: 700; line-height: 1.25; padding-block: 1.1rem; }
.credit-list { margin: 0 0 1.45rem; padding: 0 0 0 1.2rem; font-size: .95rem; line-height: 1.6; }
.credit-list li { margin-bottom: .55rem; }
.credit-list li p { display: inline; }
.credit-list a { text-underline-offset: .2em; }
.home-credit-list { columns: 2; column-gap: clamp(2rem, 6vw, 6rem); margin-bottom: 0; }
.home-credit-list li { break-inside: avoid; }
.contact-grid p { color: var(--muted); margin-top: .9rem; line-height: 1.6; }
.field { display: grid; gap: .5rem; margin-bottom: 1.1rem; }
.field label { font-weight: 700; font-size: .88rem; }
.field input, .field textarea { display: block; width: 100%; padding: .78rem .85rem; color: var(--ink); background: #fcfbf7; border: 1px solid #9b9e91; border-radius: 2px; }
.field textarea { resize: vertical; min-height: 8rem; }

.video-dialog { width: min(61rem, 94vw); max-width: none; max-height: 94dvh; padding: 1rem; border: 1px solid var(--night-rule); color: var(--white); background: var(--night); }
.video-dialog::backdrop { background: #0b0c0de0; }
.dialog-heading { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-bottom: .75rem; }
.dialog-heading h2 { font-size: clamp(1.15rem, 2.8vw, 1.6rem); line-height: 1.12; }
.dialog-close { flex: 0 0 auto; width: 2.6rem; height: 2.6rem; border: 1px solid #92968b; color: var(--white); background: transparent; font-size: 1.55rem; }
.dialog-screen { aspect-ratio: 16 / 9; background: #0b0c0d; max-height: 71dvh; }
.dialog-screen iframe { display: block; width: 100%; height: 100%; border: 0; }
.dialog-fallback { display: inline-block; margin-top: .8rem; color: var(--accent); font-size: .84rem; text-underline-offset: .25em; }

@media (max-width: 780px) {
  .hero-grid, .station-grid, .credits-grid, .contact-grid { grid-template-columns: minmax(0, 1fr); }
  .hero h1, .page-intro h1 { font-size: clamp(3.15rem, 10vw, 5.2rem); }
  .hero h1 span { display: inline; }
  .hero-copy p { margin: 1.15rem 0 1.3rem; }
  .project-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-credit-list { columns: 1; }
  .home-references-layout { grid-template-columns: minmax(0, .55fr) minmax(0, 1fr); }
  .station-visual { margin-left: 0; }
  .station-section::before { background: linear-gradient(90deg, #191c20f5, #191c20b3); }
}

@media (max-width: 460px) {
  .header-inner { min-height: auto; flex-direction: column; align-items: flex-start; gap: .14rem; padding-top: 1rem; padding-bottom: .35rem; }
  .site-header nav { width: 100%; gap: 1.55rem; }
  .hero-grid { padding-top: 2.75rem; gap: 1.8rem; }
  .hero h1 span { display: block; }
  .project-grid { grid-template-columns: minmax(0, 1fr); gap: 1.8rem; }
  .section-heading { margin-bottom: 1.45rem; }
  .home-references-layout { grid-template-columns: minmax(0, 1fr); }
  .scope-photo { grid-row: 2; width: min(100%, 12rem); justify-self: center; }
  .footer-inner { align-items: flex-start; flex-direction: column; justify-content: center; gap: .4rem; padding-block: 1rem; }
}

@media (prefers-reduced-motion: reduce) {
  .media-link img { transition: none; }
}
