/* --------------------------------------------------------------------------
   1. Local fonts and design tokens
   Change the tokens here to adjust the visual identity across every page.
   -------------------------------------------------------------------------- */
@font-face {
  font-family: 'Instrument Serif';
  src: url('/fonts/instrument-serif-latin-400-normal.woff2') format('woff2');
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'Instrument Serif';
  src: url('/fonts/instrument-serif-latin-400-italic.woff2') format('woff2');
  font-style: italic;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'DM Sans';
  src: url('/fonts/dm-sans-latin-wght-normal.woff2') format('woff2');
  font-style: normal;
  font-weight: 100 1000;
  font-display: swap;
}
:root {
  --paper: #f2f0e9;
  --ink: #172730;
  --accent: #b3442a;
  --work-paper: #eae5db;
  --footer-muted: #b8c1be;
  --muted: #626867;
  --line: #cacbc2;
  --dark-line: #3a494f;
  --serif: 'IBM Plex Sans', Arial, sans-serif;
  --sans: 'IBM Plex Sans', Arial, sans-serif;
  --gutter: clamp(22px, 4.6vw, 88px);
  --header-height: 96px;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 140px;
}
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font: 16px/1.55 var(--sans);
  -webkit-font-smoothing: antialiased;
}
button,
input,
textarea,
select {
  font: inherit;
}
a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
}
/* Vector arrows inherit link color and size on every platform. */
.icon-arrow {
  display: inline-block;
  vertical-align: -0.12em;
  flex-shrink: 0;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: wait;
  opacity: 0.55;
}
img {
  display: block;
  width: 100%;
  height: auto;
}
figure {
  margin: 0;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
::selection {
  background: var(--accent);
  color: var(--paper);
}
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 6px;
}
[hidden] {
  display: none !important;
}
body:not(.enhanced) [data-js-only] {
  display: none !important;
}
.visually-hidden,
.skip-link:not(:focus),
.honeypot {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.skip-link:focus {
  position: fixed;
  z-index: 100;
  padding: 16px;
  top: 0;
  left: 0;
  background: var(--ink);
  color: white;
}
.eyebrow,
.section-marker,
.reel-counter,
.work-number,
.copyright {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.11em;
  line-height: 1.5;
  text-transform: uppercase;
}
.signal-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  margin-right: 10px;
  flex-shrink: 0;
}
.eyebrow {
  display: flex;
  align-items: center;
}
.section-pad {
  padding: 90px var(--gutter);
}
.section-marker {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 44px;
}
.section-marker a {
  text-decoration: none;
}
.section-title {
  font: 400 clamp(44px, 5.6vw, 86px)/0.98 var(--serif);
  letter-spacing: -0.025em;
  white-space: pre-line;
  max-width: 900px;
  margin: 0 0 48px;
}
.display-title {
  font: 400 clamp(56px, 6.5vw, 100px)/1 var(--serif);
  letter-spacing: -0.035em;
  margin: 0;
}
.display-title > span {
  display: block;
}
.display-title .italic {
  font-style: italic;
  color: var(--accent);
}
.multiline {
  white-space: pre-line;
}
.text-link {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 35px;
  font-size: 13px;
  text-decoration: none;
  padding: 10px 0;
  border-bottom: 1px solid currentColor;
}
.text-link span {
  font-size: 21px;
  transition: transform 0.2s;
}
.text-link:hover span {
  transform: translate(3px, -3px);
}
.button {
  display: inline-flex;
  justify-content: space-between;
  align-items: center;
  gap: 45px;
  padding: 17px 23px;
  border: 1px solid var(--ink);
  border-radius: 0;
  background: var(--ink);
  color: var(--paper);
  font-size: 13px;
  text-decoration: none;
  transition:
    background 0.2s,
    color 0.2s;
}
.button span {
  font-size: 22px;
  line-height: 1;
}
.button:hover {
  background: var(--accent);
  border-color: var(--accent);
}
.prose {
  font-size: clamp(17px, 1.45vw, 22px);
  line-height: 1.6;
}
.prose p {
  margin-bottom: 25px;
}
/* Sandbox2 color pass: warm paper and rust accents echo the live site.
   Layout, font trials, and carousel geometry remain owned by their sections. */
.hero-signal {
  width: 112px;
  margin-bottom: 22px;
  color: var(--accent);
}
.hero-signal .waveform {
  display: block;
  width: 100%;
  height: 18px;
}
/* 2. Shared navigation ----------------------------------------------------- */
.site-header {
  position: relative;
  z-index: 20;
  min-height: var(--header-height);
  border-bottom: 1px solid var(--line);
  margin: 0 var(--gutter);
  padding: 18px 0;
  display: flex;
  align-items: center;
  gap: 32px;
  background: var(--paper);
}
.site-header::before {
  content: '';
  position: absolute;
  inset: 0 calc(-1 * var(--gutter));
  background: var(--paper);
  z-index: -1;
}
.brand {
  display: block;
  width: 112px;
  flex: 0 0 auto;
}
.brand img {
  width: 112px;
  max-height: 62px;
  object-fit: contain;
  filter: invert(1);
}
.header-note {
  font-size: 10px;
  line-height: 1.5;
  color: var(--muted);
  margin: 0;
}
.site-header nav {
  display: flex;
  gap: clamp(20px, 3vw, 48px);
  align-items: center;
  margin-left: auto;
}
.site-header nav a {
  position: relative;
  font-size: 12px;
  text-decoration: none;
}
.site-header nav a[aria-current]::after {
  content: '';
  position: absolute;
  height: 4px;
  width: 4px;
  border-radius: 50%;
  background: var(--accent);
  bottom: -10px;
  left: 50%;
}
.site-header nav a:hover {
  color: var(--accent);
}
.site-header nav .nav-contact {
  padding: 0;
  border: 0;
  display: flex;
  gap: 30px;
  align-items: center;
}
.nav-contact span {
  font-size: 20px;
}
.menu-toggle {
  display: none;
}
/* 3. The opening photo reel. No canvas or third-party animation runtime. ---- */
.hero {
  display: grid;
  grid-template-columns: 47% 53%;
  padding: 48px var(--gutter) 64px;
  overflow: clip;
}
.hero-copy {
  padding-top: 15px;
  padding-right: 24px;
  align-self: center;
  min-width: 0;
  z-index: 2;
}
.hero-copy > .eyebrow {
  margin-bottom: 33px;
}
.hero-description {
  display: flex;
  justify-content: flex-start;
  gap: 38px;
  align-items: end;
  margin-top: 38px;
  padding-right: 25px;
}
.hero-description p {
  font-size: 12px;
  margin: 0;
  max-width: 225px;
  line-height: 1.5;
}
.hero-description p span {
  color: var(--muted);
  display: block;
  margin-top: 5px;
  font-size: 10px;
}
.hero-description .text-link {
  flex-shrink: 0;
}
.reel-browser {
  /* Keep the entire disc and caption visible on ordinary laptop screens. */
  width: 100%;
  justify-self: center;
  align-self: start;
  min-width: 0;
  position: relative;
}
.reel-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-left: 0;
}
.reel-topline .eyebrow {
  margin: 0;
}
.reel-stage {
  overflow: visible;
  isolation: isolate;
  cursor: grab;
  user-select: none;
  /* Own one-finger drags here; keep two-finger browser zoom available. */
  touch-action: pinch-zoom;
  position: relative;
  height: clamp(320px, calc(100svh - 250px), 540px);
  display: grid;
  place-items: center;
  perspective: 1100px;
}
/* Stationary brand backdrop: decorative and transparent to pointer gestures.
   Reuses the editable brand logo; only the records and their shadows animate. */
.reel-watermark {
  position: absolute;
  z-index: -1;
  width: 135%;
  max-width: 900px;
  height: auto;
  left: 48%;
  top: 22%;
  transform: translate(-50%, -50%);
  filter: brightness(0);
  opacity: 0.065;
  pointer-events: none;
  user-select: none;
}
@media (max-width: 760px) {
  .reel-watermark {
    width: 130%;
    left: 46%;
    top: 30%;
    opacity: 0.045;
  }
}
.reel-record,
.reel-shadow {
  width: min(78%, max(280px, calc(100svh - 260px)), 540px);
}
.reel-record {
  pointer-events: none;
  backface-visibility: hidden;
  grid-area: 1 / 1;
  cursor: grab;
  user-select: none;
  overflow: hidden;
  aspect-ratio: 1;
  border-radius: 50%;
  position: relative;
  transform: rotate(-12deg) rotateY(-13deg);
  /* Keep the photo, groove ring and hub on one face. The parent owns the tilt. */
  isolation: isolate;
  background: #303938;
  box-shadow:
    inset 0 0 0 1px #a5a8a080,
    1px 2px 0 #202825;
}
.reel-neighbor {
  pointer-events: none;
}
.reel-stage.is-dragging,
.reel-stage.is-dragging .reel-record {
  cursor: grabbing;
}
.reel-grooves {
  position: absolute;
  inset: 1%;
  border-radius: 50%;
  background: repeating-radial-gradient(
    circle at center,
    transparent 0,
    transparent 3px,
    #c0c4b61a 3.5px,
    #c0c4b61a 4px
  );
}
.reel-slide {
  display: block;
  position: absolute;
  inset: 7.5%;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 0 0 1px #111b1b80;
}
.reel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 28% center;
  transition: filter 0.3s;
}
.reel-spindle {
  display: grid;
  place-items: center;
  position: absolute;
  z-index: 2;
  inset: 42%;
  border-radius: 50%;
  border: 1px solid #26312e;
  background: var(--paper);
  /* One fine label edge, rather than several fixed-width circles. */
  box-shadow: 0 0 0 2px #b4bbae;
  pointer-events: none;
}
.reel-spindle span {
  border: 1px solid var(--ink);
  border-radius: 50%;
  width: 32%;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  font: italic clamp(9px, 1.1vw, 15px)/1 var(--serif);
}
.reel-lettering {
  z-index: 3;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  fill: var(--paper);
  pointer-events: none;
  font: 9px var(--sans);
  letter-spacing: 2.2px;
}
/* Each record owns a floor shadow; JS projects both from the same carousel position. */
.reel-shadow {
  grid-area: 1 / 1;
  pointer-events: none;
  height: 16px;
  border-radius: 50%;
  background: #17273033;
  filter: blur(12px);
  z-index: 0;
  align-self: end;
  transform: scaleX(0.8) rotate(-8deg);
}
.reel-stage[data-ready] .reel-shadow {
  align-self: center;
}
.reel-caption {
  padding: 15px 0 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
}
.reel-caption p {
  margin-bottom: 4px;
}
.reel-caption [data-reel-title] {
  font: 14px/1.5 var(--sans);
}
/* Invisible edge targets keep the artwork clear. Keyboard focus stays visible. */
.reel-hit {
  cursor: inherit;
  position: absolute;
  z-index: 120;
  top: 0;
  bottom: 0;
  width: 28%;
  border: 0;
  padding: 0;
  background: transparent;
}
.reel-hit-previous {
  left: 0;
}
.reel-hit-next {
  right: 0;
}
.reel-hit:focus-visible {
  outline-offset: -6px;
}
.reel-open {
  font-size: 11px;
  white-space: nowrap;
  text-underline-offset: 5px;
}
.hero-bottom {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 25px;
  padding: 30px 0 28px;
  margin-top: 34px;
  border-top: 1px solid var(--line);
}
.hero-bottom a {
  text-decoration: none;
  gap: 20px;
}
.waveform {
  height: 40px;
  width: min(34%, 330px);
  color: var(--accent);
}
body[data-motion='on'] .reel-lettering {
  animation: reel-label-turn 65s linear infinite;
}
@keyframes reel-label-turn {
  to {
    transform: rotate(360deg);
  }
}
/* 4. Homepage editorial sections ----------------------------------------- */
.introduction {
  padding-top: 64px;
}
.introduction-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9%;
}
.introduction .section-title {
  max-width: 550px;
}
.introduction .prose {
  padding-top: 8px;
}
/* Personal homepage: project titles and a short introduction; the reel is the feature. */
.name-title {
  max-width: 520px;
  margin: 0 0 24px;
  font: 400 clamp(76px, 8.5vw, 138px)/0.92 var(--serif);
  letter-spacing: -0.045em;
}
.hero-role {
  color: var(--accent);
  max-width: 370px;
  font-size: clamp(19px, 2vw, 28px);
  line-height: 1.35;
  margin-bottom: 22px;
}
.hero-location {
  max-width: 360px;
  font-size: 14px;
  line-height: 1.8;
  margin-bottom: 4px;
}
.hero-availability {
  font-size: 13px;
  color: var(--muted);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 28px;
  margin-top: 30px;
  font-size: 13px;
}
.hero-actions .text-link {
  padding: 10px 0;
  color: var(--accent);
  gap: 18px;
  font-weight: 600;
}
.hero-actions > a:last-child {
  color: var(--muted);
  text-decoration: none;
}
.hero-actions > a:last-child:hover {
  text-decoration: underline;
}
.reel-label::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 8px;
  border-radius: 50%;
  background: var(--accent);
  vertical-align: 0.1em;
}
.reel-label {
  font-size: 12px;
  color: var(--muted);
}
.reel-counter {
  color: var(--muted);
  font-size: 11px;
}
.selected-work {
  padding-top: 48px;
  background: var(--work-paper);
}
.work-heading .section-title::before {
  content: '';
  display: block;
  width: 36px;
  height: 3px;
  margin-bottom: 18px;
  background: var(--accent);
}
.work-heading > a,
.personal-links a {
  color: var(--accent);
}
.project-row:is(:hover, :focus-visible) .project-title {
  color: var(--accent);
}
.work-heading {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 24px;
  margin-bottom: 32px;
}
.work-heading .section-title {
  margin: 0;
  font-size: clamp(34px, 4vw, 52px);
}
.work-heading > a {
  font-size: 13px;
  flex-shrink: 0;
}
.project-list {
  border-top: 1px solid var(--line);
}
.project-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: baseline;
  gap: 28px;
  padding: 21px 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
}
.project-title {
  font-size: clamp(18px, 2vw, 27px);
  line-height: 1.35;
  overflow-wrap: anywhere;
}
.project-category {
  font-size: 12px;
  color: var(--muted);
}
.project-row:hover .project-title {
  text-decoration: underline;
  text-underline-offset: 6px;
}
.personal-introduction {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(0, 1fr);
  gap: 10%;
  align-items: center;
  max-width: 1120px;
  margin-inline: auto;
}
.personal-portrait {
  display: block;
  box-shadow: 8px 8px 0 var(--accent);
}
.personal-portrait img {
  aspect-ratio: 1;
  object-fit: cover;
}
.personal-introduction .section-title {
  font-size: clamp(36px, 4vw, 56px);
  margin-bottom: 28px;
}
.personal-introduction .prose {
  font-size: 18px;
}
.personal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 28px;
  font-size: 13px;
  margin-top: 32px;
}
.gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 55px;
  row-gap: 65px;
  align-items: start;
}
.gallery figure:nth-child(even) {
  padding-top: 110px;
}
.gallery-image {
  display: block;
  position: relative;
  overflow: hidden;
}
.gallery-image img {
  aspect-ratio: 1.4;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.gallery figure:last-child:nth-child(even) img {
  aspect-ratio: 4 / 5;
}
.gallery-image:hover img {
  transform: scale(1.035);
}
.photo-open {
  position: absolute;
  right: 15px;
  bottom: 15px;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  background: var(--paper);
  border-radius: 50%;
  color: var(--ink);
  font-size: 24px;
}
.gallery figcaption {
  display: flex;
  gap: 25px;
  padding-top: 20px;
}
.gallery figcaption .eyebrow {
  padding-top: 8px;
  align-self: start;
  color: var(--muted);
}
.gallery h3 {
  font: 30px/1.1 var(--serif);
  margin: 0 0 10px;
}
.gallery figcaption p {
  font-size: 12px;
  color: var(--muted);
  margin: 0;
}
/* 5. About page ----------------------------------------------------------- */
.page-intro {
  padding: 70px var(--gutter) 65px;
}
.page-intro > .eyebrow {
  margin-bottom: 35px;
}
.page-intro .display-title {
  max-width: 1100px;
}
.intro-subtitle {
  max-width: 580px;
  font-size: 17px;
  margin: 24px 0 0;
}
.about-intro .display-title {
  font-size: clamp(56px, 6.5vw, 100px);
}
.about-intro .display-title .italic {
  margin-top: 12px;
  font-size: 0.7em;
}
.about-layout {
  padding-top: 25px;
  display: grid;
  grid-template-columns: 0.85fr 1fr;
  gap: 10%;
  align-items: start;
}
.portrait-figure {
  position: sticky;
  top: 145px;
}
.portrait-figure img {
  aspect-ratio: 4 / 5;
  object-fit: cover;
}
.portrait-figure figcaption {
  padding-top: 20px;
}
.about-copy .button {
  margin-top: 20px;
}
.location-image {
  margin: 10px var(--gutter) 100px;
}
.location-image img {
  max-height: 700px;
  object-fit: cover;
}
.location-image figcaption {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 20px;
  font-size: 12px;
}
/* 6. Credits index and video embeds -------------------------------------- */
.credits-browser {
  padding-top: 0;
}
.credit-tools {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  padding-block: 24px;
  border-block: 1px solid var(--line);
}
.credit-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.credit-filters button {
  padding: 9px 14px;
  border: 1px solid var(--line);
  background: none;
  color: var(--ink);
  border-radius: 30px;
  font-size: 11px;
}
.credit-filters button[aria-pressed='true'] {
  color: var(--paper);
  background: var(--ink);
  border-color: var(--ink);
}
.credit-search {
  display: flex;
  align-items: center;
  min-width: 170px;
}
.credit-search input {
  border: 0;
  border-bottom: 1px solid var(--line);
  padding: 9px 0;
  width: 180px;
  background: none;
  color: var(--ink);
  border-radius: 0;
  font-size: 12px;
}
.credit-results {
  color: var(--muted);
  padding: 16px 0;
  margin: 0;
}
.credit-section {
  display: grid;
  grid-template-columns: 32% 1fr;
  gap: 35px;
  padding: 55px 0;
  border-bottom: 1px solid var(--line);
  scroll-margin-top: 140px;
}
.credit-heading .eyebrow {
  display: block;
  margin-bottom: 16px;
  color: var(--accent);
}
.credit-heading h2 {
  font: 44px/0.98 var(--serif);
  max-width: 260px;
}
.credit-list {
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
}
.credit-list li {
  font: 26px/1.3 var(--serif);
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.credit-watch-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 44px;
  text-decoration: none;
}
.credit-watch-link:hover > span:first-child {
  text-decoration: underline;
  text-underline-offset: 0.18em;
}
.credit-watch-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  color: var(--accent);
  font: 500 13px/1.4 var(--sans);
}
.credit-watch-label svg {
  width: 16px;
  height: 16px;
}
.credit-list li:first-child {
  padding-top: 0;
}
.video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  border: 0;
  background: #d9dad2;
}
.video-block figcaption {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-top: 14px;
  color: var(--muted);
}
.video-block figcaption a {
  text-decoration: none;
}
.credit-empty {
  padding: 60px 0;
  font: 35px var(--serif);
}
/* 7. Contact ------------------------------------------------------------- */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10%;
  padding-top: 75px;
  min-height: 76vh;
}
.contact-copy .eyebrow {
  margin-bottom: 34px;
}
.contact-copy .display-title {
  font-size: clamp(56px, 6.5vw, 100px);
}
.contact-introduction {
  margin: 35px 0;
  max-width: 350px;
  white-space: pre-line;
  font-size: 16px;
}
.contact-location {
  padding-top: 20px;
  margin-top: 35px;
  border-top: 1px solid var(--line);
}
.contact-location .eyebrow {
  margin-bottom: 15px;
}
.contact-location p {
  font-size: 12px;
  margin-bottom: 8px;
}
.contact-copy .waveform {
  width: 70%;
  margin-top: 20px;
}
.contact-form {
  padding-top: 8px;
}
.form-heading {
  margin-bottom: 34px;
}
.contact-form label {
  display: block;
  margin-bottom: 30px;
  font-size: 11px;
}
.contact-form input,
.contact-form textarea {
  display: block;
  width: 100%;
  border: 0;
  border-bottom: 1px solid #9ba39d;
  border-radius: 0;
  padding: 12px 0;
  margin-top: 6px;
  background: none;
  color: var(--ink);
  font-size: 14px;
}
.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #707670;
  opacity: 1;
}
.contact-form textarea {
  resize: vertical;
}
.form-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px;
}
.optional {
  color: var(--muted);
}
.contact-form .button {
  width: 100%;
}
#form-status {
  font-size: 14px;
  margin-top: 22px;
  white-space: pre-line;
}
#form-status[data-error] {
  color: #9e2a25;
}
/* 8. Footer and photo viewer --------------------------------------------- */
.site-footer {
  /* Scoped tokens keep muted labels, rules, and keyboard focus legible on ink. */
  --muted: var(--footer-muted);
  --line: var(--dark-line);
  padding: 52px var(--gutter) 28px;
  background: var(--ink);
  color: var(--paper);
  border-top: 3px solid var(--accent);
}
.site-footer :focus-visible {
  outline-color: var(--paper);
}
.footer-invitation > p {
  color: var(--muted);
}
.footer-title .icon-arrow {
  width: 32px;
  height: 32px;
  color: #e58c6c;
}
.site-footer .socials img {
  filter: brightness(0) invert(1);
}
.footer-title:hover {
  text-decoration: underline;
  text-underline-offset: 8px;
}
.footer-invitation {
  padding-bottom: 40px;
}
.footer-invitation .eyebrow {
  color: var(--muted);
  margin-bottom: 30px;
}
.footer-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  text-decoration: none;
  font: 400 clamp(36px, 4vw, 56px)/1.1 var(--serif);
  letter-spacing: -0.025em;
  white-space: pre-line;
}
.footer-arrow {
  font: 400 clamp(60px, 10vw, 150px)/1 var(--sans);
  transition: transform 0.3s;
}
.footer-title:hover .footer-arrow {
  transform: translate(10px, -10px);
}
.footer-bottom {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  align-items: center;
  gap: 30px;
  border-top: 1px solid var(--line);
  padding-top: 30px;
}
.footer-brand {
  text-decoration: none;
  font-size: 16px;
}
.footer-brand span {
  display: block;
  font-size: 10px;
  color: var(--muted);
  margin-top: 5px;
}
.socials {
  display: flex;
  gap: 16px;
  justify-content: center;
  align-items: center;
  list-style: none;
  padding: 0;
  margin: 0;
}
.socials a {
  display: block;
  padding: 8px 0;
}
.socials img {
  width: 28px;
  height: 24px;
  filter: none;
}
.footer-utilities {
  display: flex;
  gap: 22px;
  align-items: center;
  font-size: 10px;
}
.footer-utilities a {
  text-decoration: none;
}
.motion-toggle {
  padding: 6px 0;
  color: inherit;
  background: transparent;
  border: 0;
  border-bottom: 1px solid currentColor;
  font-size: 10px;
}
.copyright {
  grid-column: 1 / -1;
  color: var(--muted);
  font-size: 10px;
  margin: 15px 0 0;
}
.lightbox {
  position: fixed;
  width: 100vw;
  max-width: 100vw;
  height: 100dvh;
  max-height: 100dvh;
  border: 0;
  padding: 70px 85px 45px;
  margin: 0;
  background: var(--ink);
  color: var(--paper);
}
.lightbox::backdrop {
  background: var(--ink);
}
.lightbox[open] {
  display: grid;
  place-items: center;
}
.lightbox img {
  max-height: calc(100dvh - 150px);
  max-width: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}
.lightbox button {
  position: absolute;
  background: transparent;
  color: inherit;
  border: 0;
}
.lightbox-close {
  right: 24px;
  top: 20px;
  font-size: 12px;
  display: flex;
  align-items: center;
  gap: 15px;
}
.lightbox-close span {
  font-size: 32px;
}
.lightbox-previous,
.lightbox-next {
  top: 47%;
  padding: 10px;
  font-size: 28px;
}
.lightbox-previous {
  left: 15px;
}
.lightbox-next {
  right: 15px;
}
.lightbox-caption {
  font-size: 12px;
  margin: 15px 0 0;
  text-align: center;
}
body:has(.lightbox[open]) {
  overflow: hidden;
}
/* 9. Responsive layouts, including a useful no-JavaScript navigation. ----- */
@media (min-width: 1700px) {
  .hero {
    max-width: 1900px;
    margin-inline: auto;
  }
}
@media (max-width: 1100px) {
  .header-note {
    display: none;
  }
  .hero-description {
    align-items: start;
    flex-direction: column;
    gap: 18px;
  }
  .reel-stage {
    margin-top: 25px;
  }
  .hero-bottom > .waveform {
    max-width: 180px;
  }
  .credit-tools {
    flex-direction: column;
    gap: 20px;
  }
  .credit-search input {
    width: 100%;
  }
  .gallery {
    column-gap: 28px;
  }
}
@media (max-width: 760px) {
  :root {
    --header-height: 90px;
  }
  html {
    scroll-padding-top: 110px;
  }
  .site-header {
    min-height: 90px;
    padding-block: 10px;
  }
  .brand,
  .brand img {
    width: 112px;
  }
  .brand img {
    max-height: 64px;
  }
  .menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    width: 48px;
    height: 44px;
    padding: 8px;
    margin-left: auto;
    border: 0;
    color: var(--ink);
    background: none;
  }
  .menu-toggle > span:not(.menu-label) {
    width: 30px;
    height: 1px;
    background: currentColor;
    transition: transform 0.2s;
  }
  .menu-label {
    font-size: 8px;
    line-height: 1;
    text-transform: uppercase;
    letter-spacing: 0.1em;
  }
  .site-header nav {
    position: absolute;
    top: 100%;
    left: calc(-1 * var(--gutter));
    right: calc(-1 * var(--gutter));
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    padding: 24px var(--gutter);
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
  }
  .enhanced .site-header nav:not(.open) {
    display: none;
  }
  body:not(.enhanced) .site-header {
    flex-wrap: wrap;
  }
  body:not(.enhanced) .site-header nav {
    position: static;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    width: 100%;
    padding: 0;
    border: 0;
  }
  body:not(.enhanced) .menu-toggle {
    display: none;
  }
  .site-header nav a {
    font-size: 18px;
  }
  .site-header nav a[aria-current]::after {
    left: auto;
    right: 0;
    top: 12px;
  }
  .site-header nav .nav-contact {
    justify-content: space-between;
  }
  .hero {
    display: flex;
    flex-direction: column;
    padding-top: 30px;
  }
  .hero-copy {
    padding: 0;
  }
  .hero-copy > .eyebrow {
    margin-bottom: 25px;
  }
  .hero .display-title {
    font-size: clamp(82px, 17.2vw, 128px);
  }
  .hero-description {
    flex-direction: row;
    justify-content: space-between;
    align-items: end;
    padding: 0;
    gap: 15px;
    margin-top: 28px;
  }
  .hero-description p {
    max-width: 170px;
  }
  .hero-description .text-link {
    gap: 12px;
    font-size: 11px;
  }
  .reel-browser {
    width: 100%;
    align-self: center;
    margin-top: 20px;
  }
  .reel-topline {
    padding-left: 0;
  }
  .reel-stage {
    height: 300px;
    margin-top: 0;
  }
  .reel-record,
  .reel-shadow {
    width: min(84%, 315px);
  }
  .reel-caption {
    padding: 8px 0 0;
  }
  .reel-caption .eyebrow {
    font-size: 8px;
    letter-spacing: 0.1em;
  }
  .reel-caption [data-reel-title] {
    font-size: 13px;
  }
  .hero-bottom {
    padding: 25px 0;
    margin-top: 35px;
    gap: 20px;
    flex-wrap: wrap;
  }
  .hero-bottom .waveform {
    display: none;
  }
  .hero-bottom .eyebrow {
    font-size: 8px;
  }
  .section-pad {
    padding-block: 60px;
  }
  .section-title {
    font-size: clamp(48px, 10vw, 72px);
    margin-bottom: 35px;
  }
  .section-marker {
    font-size: 8px;
    margin-bottom: 32px;
  }
  .introduction-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .prose {
    font-size: 17px;
  }
  .work-row {
    grid-template-columns: 25px 1fr 28px;
    gap: 15px;
    padding-block: 24px;
  }
  .work-name {
    font-size: 33px;
  }
  .work-name small {
    font-size: 10px;
  }
  .work-arrow {
    font-size: 27px;
  }
  .gallery {
    gap: 36px;
    grid-template-columns: 1fr;
  }
  .gallery figure:nth-child(even) {
    padding-top: 0;
  }
  .gallery figure:last-child:nth-child(even) img {
    aspect-ratio: 4 / 5;
  }
  .page-intro {
    padding-block: 45px;
  }
  .page-intro .display-title {
    font-size: clamp(65px, 12.6vw, 95px);
  }
  .intro-subtitle {
    margin-left: 0;
    font-size: 14px;
  }
  .about-layout {
    grid-template-columns: 1fr;
    gap: 40px;
    padding-top: 0;
  }
  .portrait-figure {
    position: static;
  }
  .portrait-figure img {
    aspect-ratio: 1;
  }
  .location-image {
    margin-bottom: 60px;
  }
  .location-image figcaption {
    flex-direction: column;
    gap: 10px;
  }
  .credit-section {
    grid-template-columns: 1fr;
    gap: 15px;
    padding-block: 35px;
  }
  .credit-heading {
    display: flex;
    align-items: baseline;
    gap: 20px;
  }
  .credit-heading h2 {
    font-size: 38px;
    max-width: none;
    margin-bottom: 15px;
  }
  .credit-list li {
    font-size: 25px;
  }
  .video-block figcaption {
    font-size: 8px;
  }
  .credits-browser {
    padding-top: 0;
  }
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 45px;
    padding-top: 45px;
  }
  .contact-copy .display-title {
    font-size: 62px;
  }
  .contact-copy .waveform {
    height: 30px;
  }
  .contact-location {
    margin-top: 25px;
  }
  .form-pair {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .contact-form input,
  .contact-form textarea {
    font-size: 16px;
  }
  .site-footer {
    padding-top: 50px;
  }
  .footer-title {
    font-size: 40px;
  }
  .footer-arrow {
    font-size: 55px;
  }
  .footer-invitation {
    padding-bottom: 45px;
  }
  .footer-bottom {
    grid-template-columns: 1fr;
    gap: 23px;
  }
  .socials {
    justify-content: flex-start;
  }
  .copyright {
    margin-top: 0;
  }
  .lightbox {
    padding: 65px 45px 30px;
  }
  .lightbox-previous {
    left: 1px;
  }
  .lightbox-next {
    right: 1px;
  }
}
@media (max-width: 760px) {
  .personal-hero {
    padding-top: 25px;
    padding-bottom: 36px;
  }
  .personal-hero .hero-copy {
    padding-right: 0;
    align-self: stretch;
  }
  .name-title {
    font-size: clamp(72px, 17vw, 110px);
    max-width: 420px;
    margin-bottom: 20px;
  }
  .hero-role {
    font-size: 21px;
    max-width: 310px;
    margin-bottom: 16px;
  }
  .hero-location {
    font-size: 13px;
    max-width: 300px;
  }
  .hero-actions {
    margin-top: 18px;
  }
  .personal-hero .reel-browser {
    margin-top: 42px;
  }
  .selected-work {
    padding-top: 28px;
  }
  .project-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 5px;
    padding: 18px 0;
  }
  .project-title {
    font-size: 20px;
  }
  .project-category {
    font-size: 11px;
  }
  .work-heading {
    margin-bottom: 24px;
  }
  .personal-introduction {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .personal-portrait {
    max-width: 330px;
  }
  .personal-introduction .prose {
    font-size: 17px;
  }
  .footer-invitation > p {
    font-size: 13px;
    color: var(--muted);
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
body[data-motion='off'] *,
body[data-motion='off'] *::before,
body[data-motion='off'] *::after {
  animation: none !important;
  transition: none !important;
}
html:has(body[data-motion='off']) {
  scroll-behavior: auto;
}

/* Services stay useful and readable; technical search metadata lives in the head. */
.sound-service {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  padding: 42px 0;
  border-top: 1px solid var(--line);
  scroll-margin-top: 30px;
}
.sound-service .section-title {
  font-size: clamp(32px, 4vw, 54px);
}
.service-area {
  padding-top: 0;
}
.service-area-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  list-style: none;
  padding: 0;
  margin: 28px 0;
}
@media (max-width: 760px) {
  .sound-service {
    grid-template-columns: 1fr;
    gap: 14px;
  }
}

/* Approved sandbox2 typography, now bundled for dev and production alike. */
@font-face {
  font-family: 'IBM Plex Sans';
  src: url('/fonts/ibm-plex-sans-latin-400-normal.woff2') format('woff2');
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'IBM Plex Sans';
  src: url('/fonts/ibm-plex-sans-latin-600-normal.woff2') format('woff2');
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}
:root :is(.name-title, .display-title, .section-title, .credit-heading h2, .footer-title) {
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.08;
}
:root body .name-title {
  font-size: clamp(64px, 6.7vw, 104px);
  max-width: 460px;
  line-height: 1;
  margin-bottom: 28px;
}
:root body .display-title {
  font-size: clamp(48px, 5.4vw, 80px);
}
:root :is(.section-title, .credit-heading h2) {
  font-size: clamp(28px, 3vw, 42px);
}
:root body .footer-title {
  font-size: clamp(30px, 3.6vw, 48px);
}
.credit-heading h2 {
  overflow-wrap: anywhere;
}
.work-name {
  min-width: 0;
  overflow-wrap: anywhere;
}
@media (max-width: 760px) {
  :root body .name-title {
    font-size: clamp(60px, 14vw, 84px);
    max-width: 340px;
  }
}
