@font-face {
  font-family: Fraunces;
  src: url("assets/fonts/fraunces.woff2") format("woff2");
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: Fraunces;
  src: url("assets/fonts/fraunces-italic.woff2") format("woff2");
  font-weight: 500;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: Manrope;
  src: url("assets/fonts/manrope.woff2") format("woff2");
  font-weight: 400 800;
  font-display: swap;
}

:root {
  --paper: #f8f9fd;
  --ink: #182640;
  --soft-ink: #40516d;
  --blue: #264d91;
  --blue-dark: #1c3b74;
  --line: #d1dced;
  --control-line: #657b9b;
  --mist: #ebf1fb;
  --surface: #fff;
  --action: #264d91;
  --action-hover: #1c3b74;
  --action-ink: #fff;
  --hero-placeholder: #b4c7df;
  --studio-placeholder: #dfad83;
  --video-start: #dce7f7;
  --video-end: #afc5e4;
  --player-screen: #111c30;
  --backdrop: #182640cf;
  --shadow: #18264026;
  --serif: Fraunces, Georgia, serif;
  color-scheme: light;
  font-family: Manrope, system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
}

:root[data-color-scheme="dark"] {
  --paper: #0e1a2e;
  --ink: #f1f5ff;
  --soft-ink: #bfcee6;
  --blue: #a9c7ff;
  --blue-dark: #c3d8ff;
  --line: #344b6d;
  --control-line: #8298b7;
  --mist: #152640;
  --surface: #172942;
  --action: #a9c7ff;
  --action-hover: #c6daff;
  --action-ink: #10223d;
  --hero-placeholder: #243b5a;
  --studio-placeholder: #233a56;
  --video-start: #192d4a;
  --video-end: #2a4569;
  --backdrop: #050b17db;
  --shadow: #03091480;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
html { scroll-behavior: smooth; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 5px; }
section[id], article[id] { scroll-margin-top: 24px; }

.wrap { width: min(100% - 88px, 1216px); margin-inline: auto; }
.skip-link {
  position: fixed;
  top: .75rem;
  left: .75rem;
  z-index: 1;
  padding: .75rem 1rem;
  background: var(--paper);
  transform: translateY(-150%);
}
.skip-link:focus { transform: none; }

.site-header, .footer-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 80px;
}
.site-header {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  border-bottom: 1px solid var(--line);
}
.site-header nav { grid-column: 2; justify-self: end; }
.theme-choice {
  position: relative;
  display: grid;
  grid-column: 3;
  place-items: center;
  width: 44px;
  height: 44px;
  color: var(--blue-dark);
}
.theme-icon {
  width: 36px;
  height: 36px;
  padding: 7px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--surface);
  pointer-events: none;
}
.theme-choice:hover .theme-icon { border-color: var(--control-line); background: var(--mist); }
.theme-choice:focus-within .theme-icon { outline: 2px solid var(--blue); outline-offset: 2px; }
.theme-moon, :root[data-color-scheme="dark"] .theme-sun { display: none; }
:root[data-color-scheme="dark"] .theme-moon { display: block; }
.theme-choice select {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font: 500 clamp(1.1rem, 2vw, 1.4rem)/1.15 var(--serif);
  text-decoration: none;
}
.brand img { flex: none; }
nav { display: flex; align-items: center; gap: clamp(16px, 3.5vw, 44px); }
nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: .88rem;
  font-weight: 750;
  text-decoration: none;
}
nav a:hover, .text-link:hover { text-decoration: underline; text-underline-offset: 5px; }


.hero {
  display: grid;
  grid-template-columns: minmax(0, .94fr) minmax(0, 1.14fr);
  gap: clamp(35px, 5.6vw, 80px);
  align-items: center;
  padding-block: clamp(36px, 5.5vw, 82px) clamp(56px, 7vw, 100px);
}
.eyebrow {
  margin: 0;
  color: var(--blue-dark);
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .16em;
  line-height: 1.5;
  text-transform: uppercase;
}
h1, h2, h3 { margin: 0; font: 500 1em/1.05 var(--serif); }
h1 {
  margin-top: .22em;
  font-size: clamp(3.25rem, 6.2vw, 5.85rem);
  letter-spacing: -.04em;
  line-height: .99;
  overflow-wrap: anywhere;
}
h2 { font-size: clamp(2.6rem, 4.4vw, 4.65rem); letter-spacing: -.035em; }
h3 { font-size: clamp(1.7rem, 3vw, 2.45rem); letter-spacing: -.04em; }
em { color: var(--blue); font-weight: 500; }
p { color: var(--soft-ink); line-height: 1.75; }
.intro {
  max-width: 27rem;
  margin: 24px 0 28px;
  font-size: clamp(1rem, 1.65vw, 1.17rem);
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 19px;
  min-height: 48px;
  padding: .8rem 1.3rem;
  border-radius: 99px;
  color: var(--action-ink);
  background: var(--action);
  font-size: .84rem;
  font-weight: 800;
  text-decoration: none;
}
.button:hover { background: var(--action-hover); }

figure { margin: 0; }
.hero-photo img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 22px;
  background: var(--hero-placeholder);
}
figcaption {
  padding-top: 11px;
  color: var(--soft-ink);
  font-size: .65rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.studio { background: var(--mist); border-block: 1px solid var(--line); }
.studio-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .92fr);
  gap: clamp(32px, 9vw, 125px);
  align-items: center;
  padding-block: clamp(47px, 7vw, 94px);
}
.studio-copy h2 { margin: 12px 0 20px; }
.studio-copy p:not(.eyebrow) { max-width: 35rem; margin: 0 0 14px; }
.paper-photo img {
  width: 100%;
  aspect-ratio: 1.53;
  object-fit: cover;
  border-radius: 16px;
  background: var(--studio-placeholder);
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 6px;
  color: var(--blue-dark);
  font-size: .84rem;
  font-weight: 800;
  text-decoration: none;
}

nav a[aria-current="page"] { color: var(--blue); text-decoration: underline; text-underline-offset: 5px; }
.featured-work, .collection-page { padding-block: clamp(52px, 7vw, 90px); }
.section-lead { display: flex; align-items: end; justify-content: space-between; flex-wrap: wrap; gap: 16px; margin-bottom: 26px; }
.section-lead h2, .coming-up h2 { margin-top: 9px; }
.work-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 2.2vw, 28px); }
.work-card { min-width: 0; }
.work-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 14px; background: var(--mist); }
.work-caption { display: grid; gap: 7px; padding: 14px 0 0; letter-spacing: normal; text-transform: none; overflow-wrap: anywhere; }
.work-caption :is(h2, h3) { font-size: clamp(1.35rem, 3vw, 2rem); color: var(--ink); }
.work-caption p:not(.eyebrow) { margin: 0; font-size: .86rem; font-weight: 500; }
.work-video {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 14px;
  background: linear-gradient(145deg, var(--video-start), var(--video-end));
}
.work-video img { position: absolute; inset: 0; height: 100%; }
.work-video-play { position: relative; display: grid; place-items: center; width: 50px; height: 50px; border-radius: 50%; background: var(--action-hover); color: var(--action-ink); }
.work-video:hover .work-video-play { background: var(--action); }
.gallery-more { display: grid; justify-items: center; gap: 6px; margin-top: 32px; }
.gallery-more .button { border: 0; cursor: pointer; font-family: inherit; }
.gallery-more p { margin: 0; font-size: .83rem; }
.gallery-player { width: min(calc(100% - 28px), 760px); max-height: calc(100% - 28px); padding: clamp(12px, 3vw, 24px); border: 1px solid var(--line); border-radius: 18px; color: var(--ink); background: var(--paper); }
.gallery-player::backdrop { background: var(--backdrop); }
.gallery-player-header { display: flex; justify-content: space-between; align-items: center; gap: 14px; margin-bottom: 12px; }
.gallery-player-header h2 { font-size: clamp(1.45rem, 4vw, 2.35rem); overflow-wrap: anywhere; }
.gallery-player-close { flex: none; width: 44px; height: 44px; border: 1px solid var(--control-line); border-radius: 50%; color: var(--ink); background: var(--mist); font: 500 1.55rem/1 Manrope, sans-serif; cursor: pointer; }
.gallery-player-screen :is(iframe, video) { display: block; width: 100%; aspect-ratio: 16 / 9; min-height: 200px; border: 0; border-radius: 8px; background: var(--player-screen); }
.gallery-player-status { margin: 0; }
.gallery-player-status:not(:empty) { margin-top: .75rem; }
.gallery-player-link { min-height: 44px; }
.collection-intro { max-width: 720px; margin-bottom: clamp(30px, 5vw, 55px); }
.collection-end { margin: 34px 0 0; }
.note-list { max-width: 730px; }
.studio-note { padding: 27px 0; border-block-start: 1px solid var(--line); }
.studio-note h2 { margin: 10px 0; font-size: clamp(1.8rem, 4vw, 2.8rem); overflow-wrap: anywhere; }
.studio-note p:last-child { margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; }
.studio-note time { color: var(--blue-dark); font-size: .79rem; font-weight: 800; }
.coming-up { padding-bottom: clamp(52px, 7vw, 90px); }
.coming-up h2 { margin-bottom: 22px; }
.coming-row { display: grid; grid-template-columns: minmax(145px, .65fr) minmax(0, 1.7fr) auto; gap: 12px 22px; align-items: center; border-block-start: 1px solid var(--line); padding: 17px 0; }
.coming-row:last-child { border-block-end: 1px solid var(--line); }
.coming-row h3 { font-size: clamp(1.25rem, 3vw, 1.75rem); }
.coming-row p { margin: 0; }
.coming-row .text-link { margin: 0; }
.status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: auto;
  padding: .46rem .7rem;
  border: 1px solid var(--line);
  background: var(--mist);
  border-radius: 99px;
  color: var(--blue-dark);
  font-size: .66rem;
  font-weight: 800;
  letter-spacing: .035em;
}
.status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }

.site-footer { border-top: 1px solid var(--line); }
.social-link { display: grid; place-items: center; min-width: 44px; min-height: 44px; border: 1px solid var(--control-line); border-radius: 50%; color: var(--blue-dark); }
.social-link:hover { color: var(--blue); background: var(--mist); border-color: var(--blue); }
.footer-content { min-height: 108px; }
.footer-content p { font-size: .83rem; margin: 0; }
.analytics-settings { border: 0; background: transparent; padding: 0; font-family: inherit; }
.analytics-settings, .analytics-actions button { cursor: pointer; }
.analytics-choices {
  position: fixed;
  z-index: 2;
  inset: auto 1rem 1rem auto;
  width: min(calc(100% - 2rem), 26rem);
  max-height: calc(100% - 2rem);
  overflow: auto;
  padding: 1.15rem;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
  box-shadow: 0 8px 28px var(--shadow);
}
.analytics-choices h2 { font-size: 1.45rem; }
.analytics-choices p { margin: .65rem 0 .85rem; font-size: .86rem; }
.analytics-actions { display: flex; flex-wrap: wrap; gap: .55rem; }
.analytics-actions .button {
  min-height: 44px;
  border: 1px solid var(--blue);
  padding: .6rem .9rem;
  background: var(--surface);
  color: var(--blue-dark);
  font-family: inherit;
}
.analytics-actions .button:hover { background: var(--mist); }
.missing { padding-block: 70px; }
.missing p { max-width: 30rem; }

@media (max-width: 850px) {
  .wrap { width: calc(100% - 48px); }
  .hero { gap: 30px; }
  h1 { font-size: clamp(2.75rem, 7.2vw, 4.65rem); }
}

@media (max-width: 760px) {
  .site-header { grid-template-columns: minmax(0, 1fr) auto; min-height: 0; padding-block: 12px 6px; gap: 4px 12px; }
  .site-header nav { grid-row: 2; grid-column: 1 / -1; justify-self: start; flex-wrap: wrap; }
  .theme-choice { grid-row: 1; grid-column: 2; }
}

@media (max-width: 640px) {
  .wrap { width: calc(100% - 36px); }
  .brand img { width: 31px; height: 31px; }
  nav { gap: 15px; }
  nav a { font-size: .82rem; }
  .hero, .studio-grid { grid-template-columns: 1fr; }
  .hero { gap: 19px; padding-top: 26px; padding-bottom: 40px; }
  .hero .intro { margin: 17px 0 18px; }
  .work-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .coming-row { grid-template-columns: minmax(0, 1fr) auto; }
  .coming-row p { grid-column: 1 / -1; grid-row: 2; }
  .coming-row > div { grid-column: 2; grid-row: 1; }
  h1 { font-size: clamp(3.15rem, 10.5vw, 4.9rem); }
  .hero-photo img { border-radius: 16px; }
  .footer-content { padding-block: 24px; flex-wrap: wrap; gap: 12px 20px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
