@font-face {
  font-family: Baskervville;
  src: url("assets/baskervville.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: Baskervville;
  src: url("assets/baskervville-italic.woff2") format("woff2");
  font-style: italic;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Instrument Sans";
  src: url("assets/instrument-sans.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
}

:root {
  color-scheme: light;
  --cream: #fbf7ee;
  --paper: #f3ebde;
  --ink: #2c241a;
  --muted: #665b4c;
  --gold: #76551d;
  --light-gold: #e9c986;
  --line: #d9cdb9;
  --dark-line: #75634a;
  --dark-muted: #e2d5c2;
  --white: #fffaf3;
  --serif: Baskervville, Georgia, serif;
  --sans: "Instrument Sans", system-ui, sans-serif;
  --side: clamp(1.15rem, 4vw, 3.75rem);
  --section: clamp(4rem, 8vw, 7.5rem);
  --edge: 0.25rem;
  --fast: 180ms;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 1.25rem;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font: 400 1rem/1.55 var(--sans);
  -webkit-font-smoothing: antialiased;
}

img { display: block; width: 100%; height: auto; }
figure, h1, h2, h3, p, dl, dd { margin: 0; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 5px;
}

.wrap {
  width: min(calc(100% - var(--side) * 2), 74rem);
  margin-inline: auto;
}

.section-pad { padding-block: var(--section); }

.sr-only,
.skip-link:not(:focus) {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.skip-link:focus {
  position: fixed;
  z-index: 5;
  inset: 0.75rem auto auto 0.75rem;
  background: var(--ink);
  color: var(--white);
  padding: 0.6rem 1rem;
}

.site-header { border-bottom: 1px solid var(--line); }

.header-layout,
.footer-layout {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
  min-height: 5rem;
}

.header-layout > :last-child { justify-self: end; }

.wordmark {
  width: fit-content;
  font: 400 clamp(1.38rem, 2.2vw, 1.75rem)/1 var(--serif);
  letter-spacing: -0.055em;
  white-space: nowrap;
}

.wordmark i { color: var(--gold); }

.main-nav, .footer-layout nav {
  display: flex;
  gap: clamp(0.7rem, 3vw, 2.35rem);
  align-items: center;
  font-size: 0.92rem;
}

.main-nav a, .footer-layout nav a, .text-link, .contact-address {
  text-underline-offset: 0.28em;
  text-decoration-thickness: 1px;
}

.main-nav a:hover, .footer-layout nav a:hover, .text-link:hover, .contact-address:hover {
  text-decoration-line: underline;
}

.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 0.8rem;
  width: fit-content;
  min-height: 3.15rem;
  padding: 0.65rem 1.25rem;
  border: 1px solid transparent;
  border-radius: var(--edge);
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
  transition: color var(--fast), background-color var(--fast), border-color var(--fast);
}

.button span, .text-link span { font-size: 1.05em; }
.button-small { min-height: 2.7rem; padding-inline: 0.9rem; }
.button-solid { background: var(--ink); color: var(--white); }
.button-solid:hover { background: var(--gold); }
.button-solid:active { background: var(--ink); }
.button-outline { border-color: var(--gold); color: var(--ink); background: transparent; }
.button-outline:hover { background: var(--ink); color: var(--white); border-color: var(--ink); }
.button-outline:active { background: var(--gold); color: var(--white); border-color: var(--gold); }

.hero {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  align-items: center;
  gap: clamp(2.25rem, 6.7vw, 6rem);
  padding-block: clamp(3.75rem, 7vw, 6.5rem) clamp(4.5rem, 8vw, 7rem);
}

.hero-copy, .hero-portrait { animation: arrive 430ms var(--ease) both; }
.hero-portrait { animation-delay: 60ms; }

@keyframes arrive {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

.eyebrow {
  color: var(--gold);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  line-height: 1.45;
  text-transform: uppercase;
}

.hero-label { display: flex; gap: 0.65rem; align-items: center; }
.hero-label::before { content: ""; width: 1.4rem; height: 1px; background: currentColor; }

h1, h2, .platform-heading h3, .offers h3 { font-family: var(--serif); font-weight: 400; }

h1 {
  font-size: clamp(5.1rem, 9.7vw, 9.1rem);
  line-height: 0.88;
  letter-spacing: -0.084em;
  margin-block: 1.8rem 2.15rem;
}

h1 em { display: block; padding-inline-start: 0.17em; }
h1 em, h2 em { color: var(--gold); font-weight: 400; }

.hero-themes {
  font-size: clamp(1rem, 1.4vw, 1.22rem);
  font-weight: 600;
  letter-spacing: -0.025em;
}

.hero-themes span { padding-inline: 0.34em; color: var(--gold); }

.hero-description {
  color: var(--muted);
  margin-block: 0.65rem 1.65rem;
  max-width: 32ch;
  font-size: clamp(1rem, 1.5vw, 1.105rem);
}

.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 0.8rem 1.35rem; }
.text-link { color: var(--gold); font-weight: 600; padding-block: 0.6rem; }

.hero-portrait {
  position: relative;
  isolation: isolate;
  margin-inline-end: 0.75rem;
}

.hero-portrait::after {
  position: absolute;
  z-index: -1;
  inset: 0.7rem -0.75rem -0.75rem 0.75rem;
  border: 1px solid var(--gold);
  content: "";
  pointer-events: none;
}

.hero-portrait img {
  aspect-ratio: 0.87;
  object-fit: cover;
  object-position: 50% 43%;
  background: var(--paper);
}

.work-section {
  background: var(--paper);
  border-block: 1px solid var(--line);
}

.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 1.25rem;
}

h2 {
  font-size: clamp(2.5rem, 5.55vw, 5.2rem);
  line-height: 1;
  letter-spacing: -0.06em;
  margin-top: 0.6rem;
}

.section-note {
  max-width: 28ch;
  color: var(--muted);
  padding-bottom: 0.25rem;
}

.work-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 1.7rem;
}

.work-filters button {
  min-height: 2.75rem;
  padding-inline: 1rem;
  border-radius: 99px;
  border: 1px solid var(--gold);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  font-size: 0.88rem;
  font-weight: 600;
  transition: color var(--fast), background-color var(--fast), border-color var(--fast);
}

.work-filters button:hover:not([aria-pressed="true"]) { background: var(--cream); }
.work-filters button[aria-pressed="true"], .work-filters button:active {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--white);
}

.reel-grid, .photo-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 2rem clamp(0.85rem, 2.2vw, 1.7rem);
  margin-top: 1.7rem;
}

.reel-card a { display: block; }

.reel-cover, .gallery-link {
  overflow: hidden;
  background: var(--line);
}

.reel-cover {
  position: relative;
  aspect-ratio: 0.72;
}

.reel-cover img, .gallery-link img {
  height: 100%;
  object-fit: cover;
  transition: transform calc(var(--fast) * 1.75) var(--ease);
}

@media (hover: hover) {
  .reel-card a:hover img, .gallery-link:hover img { transform: scale(1.045); }
}

.play-mark {
  position: absolute;
  right: 0.72rem;
  bottom: 0.72rem;
  display: grid;
  width: 2.65rem;
  aspect-ratio: 1;
  place-items: center;
  border-radius: 50%;
  background: var(--cream);
  color: var(--ink);
  transition: background-color var(--fast), color var(--fast);
}

.play-mark::after {
  content: "";
  margin-left: 0.15rem;
  border-block: 0.34rem solid transparent;
  border-left: 0.52rem solid currentColor;
}

.reel-card a:hover .play-mark { background: var(--ink); color: var(--white); }

.reel-card h3 {
  margin-top: 0.65rem;
  font: 400 clamp(1.15rem, 2vw, 1.65rem)/1.15 var(--serif);
  letter-spacing: -0.033em;
}

.reel-card p, .photo-grid figcaption {
  margin-top: 0.25rem;
  color: var(--muted);
  font-size: 0.88rem;
}

.more-row { display: flex; justify-content: center; margin-top: 2.25rem; }

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

.results .eyebrow, .results em, .primary-metric dd { color: var(--light-gold); }
.results :focus-visible { outline-color: var(--light-gold); }

.results-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(2.25rem, 5vw, 4.75rem);
  margin-top: clamp(2.1rem, 5vw, 4rem);
}

.platform {
  min-width: 0;
  border-top: 1px solid var(--dark-line);
  padding-top: 0.9rem;
}

.platform-heading, .supporting-metrics {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.4rem 1.25rem;
}

.platform-heading h3 { font-size: clamp(1.5rem, 2.5vw, 2.15rem); }
.platform-heading a { color: var(--dark-muted); font-size: 0.93rem; }
.platform-heading a:hover { text-decoration: underline; text-underline-offset: 0.25em; }

.primary-metric {
  display: flex;
  flex-direction: column-reverse;
  margin-block: 1.45rem;
}

.primary-metric dd {
  font: 400 clamp(3.4rem, 6.7vw, 5.7rem)/1.04 var(--serif);
  letter-spacing: -0.07em;
}

.primary-metric dt, .supporting-metrics dt { color: var(--dark-muted); font-size: 0.9rem; }

.supporting-metrics {
  justify-content: start;
  gap: 0.8rem clamp(1rem, 4vw, 3rem);
  border-top: 1px solid var(--dark-line);
  padding-top: 1rem;
}

.supporting-metrics > div { display: flex; flex-direction: column-reverse; }
.supporting-metrics dd { font-size: clamp(1.2rem, 2vw, 1.5rem); font-weight: 600; }
.metric-period { margin-top: 1.15rem; font-size: 0.83rem; color: var(--dark-muted); }

.about-layout {
  display: grid;
  grid-template-columns: 0.82fr 1fr;
  align-items: center;
  gap: clamp(2rem, 8vw, 7rem);
}

.about-portrait img {
  aspect-ratio: 0.94;
  object-fit: cover;
  object-position: center 56%;
  background: var(--paper);
}

.about-copy > p:not(.eyebrow) {
  max-width: 51ch;
  margin-top: 1rem;
  color: var(--muted);
}

.about-copy h2 { margin-bottom: 1.25rem; }

.format-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
}

.format-list li {
  padding: 0.34rem 0.7rem;
  border: 1px solid var(--line);
  border-radius: 99px;
  color: var(--ink);
  font-size: 0.82rem;
}

.gallery-section {
  border-top: 1px solid var(--line);
  padding-top: clamp(3.25rem, 6vw, 5.5rem);
}

.photo-grid { margin-top: clamp(1.5rem, 4vw, 2.5rem); }
.gallery-link { display: block; aspect-ratio: 0.8; cursor: zoom-in; }
.photo-grid figcaption { margin-top: 0.6rem; }

.contact-section {
  background: var(--paper);
  border-block: 1px solid var(--line);
}

.contact-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: start;
  gap: clamp(2rem, 8vw, 7rem);
}

.contact-copy > p:not(.eyebrow) {
  max-width: 39ch;
  margin: 1.2rem 0 1.5rem;
  color: var(--muted);
}

.contact-address {
  display: block;
  width: fit-content;
  margin-top: 0.68rem;
  color: var(--gold);
  overflow-wrap: anywhere;
}

.offers {
  border-top: 1px solid var(--gold);
  padding-top: 0.65rem;
}

.offers h3 { font-size: clamp(1.5rem, 2.65vw, 2rem); letter-spacing: -0.04em; }

.offers dl > div {
  border-bottom: 1px solid var(--line);
  padding-block: 0.65rem;
}

.offers dt { font-weight: 600; }
.offers dd, .offers p { color: var(--muted); font-size: 0.91rem; }
.offers p { margin-top: 0.72rem; }

.footer-layout { min-height: 5.75rem; }
.footer-layout nav { justify-self: end; }
.footer-layout p { color: var(--muted); font-size: 0.84rem; text-align: center; }

.lightbox {
  width: min(calc(100% - 2rem), 44rem);
  max-height: calc(100% - 2rem);
  padding: 0.85rem;
  border: 1px solid var(--line);
  border-radius: var(--edge);
  background: var(--cream);
  color: var(--ink);
}

.lightbox::backdrop { background: rgb(35 28 22 / 86%); }
.lightbox[open] { animation: arrive 180ms var(--ease) both; }
body:has(.lightbox[open]) { overflow: hidden; }
.lightbox-top { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-bottom: 0.65rem; }
.lightbox h2 { font-size: clamp(1.4rem, 4vw, 2rem); margin: 0; }
.lightbox-image { max-height: min(65vh, 43rem); object-fit: contain; background: var(--paper); }
.lightbox-controls { display: flex; justify-content: center; align-items: center; gap: 0.9rem; margin-top: 0.65rem; }

.icon-button {
  display: inline-grid;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  place-items: center;
  border: 1px solid var(--gold);
  border-radius: 50%;
  background: var(--cream);
  color: var(--ink);
  cursor: pointer;
  font-size: 1.22rem;
  transition: background-color var(--fast), color var(--fast);
}

.icon-button:hover, .icon-button:active { background: var(--ink); color: var(--white); }

@media (max-width: 820px) {
  .hero { gap: 2rem; }
  .hero-actions { column-gap: 0.75rem; }
  h1 { font-size: clamp(4.3rem, 10.4vw, 6.5rem); }
  .about-layout { gap: 2.1rem; }
  .reel-grid, .photo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 610px) {
  .header-layout { grid-template-columns: 1fr auto; min-height: 4rem; gap: 0; }
  .header-layout > .button { grid-row: 1; grid-column: 2; margin-block: 0.65rem; }
  .main-nav { grid-column: 1 / -1; gap: 1.6rem; border-top: 1px solid var(--line); }
  .main-nav a { display: inline-flex; align-items: center; min-height: 2.75rem; }
  .hero { grid-template-columns: minmax(0, 1fr); gap: 1.65rem; padding-block: 2.7rem 3.6rem; }
  h1 { font-size: clamp(4.1rem, 13.1vw, 6rem); margin-block: 1.05rem 1.25rem; }
  h1 em { display: inline; padding-inline-start: 0; }
  .hero-description { margin-bottom: 1.2rem; }
  .hero-portrait img { aspect-ratio: 0.94; }
  .section-heading { display: block; }
  .section-note { margin-top: 0.8rem; max-width: none; }
  .work-filters { margin-top: 1.1rem; }
  .work-filters button { padding-inline: 0.75rem; }
  .results-grid, .about-layout, .contact-layout { grid-template-columns: minmax(0, 1fr); }
  .about-portrait { order: 2; }
  .about-copy { order: 1; }
  .reel-card p, .photo-grid figcaption { font-size: 0.79rem; line-height: 1.4; }
  .play-mark { width: 2.25rem; inset: auto 0.5rem 0.5rem auto; }
  .footer-layout { grid-template-columns: 1fr 1fr; gap: 0.6rem 0.8rem; padding-block: 1rem; }
  .footer-layout nav { grid-row: 1; grid-column: 2; gap: 0.65rem; font-size: 0.87rem; }
  .footer-layout p { grid-column: 1 / -1; text-align: left; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reel-card a:hover img, .gallery-link:hover img { transform: none; }
}
