/* Dan Read — site styles. Palette taken from the Aruba hero: slate sea, haze sky, low sun. */
:root {
  --sea: #1a2225;        /* page background: the dark water */
  --deep: #222c30;       /* raised surfaces */
  --haze: #ece2cc;       /* main text: the evening sky */
  --spray: #9aa9ab;      /* secondary text */
  --sun: #dcaa5e;        /* accent: low sun on the horizon */
  --line: rgba(236, 226, 204, .16);
  --display: "Big Shoulders Display", "Arial Narrow", sans-serif;
  --body: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --gutter: clamp(16px, 5vw, 64px);
  --measure: 62ch;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--sea);
  color: var(--haze);
  font: 400 1.0625rem/1.65 var(--body);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-color: var(--sun); text-underline-offset: .2em; }
a:hover { color: var(--sun); }
:focus-visible { outline: 2px solid var(--sun); outline-offset: 3px; }

.skip { position: absolute; left: -9999px; top: 8px; background: var(--sun); color: var(--sea); padding: 8px 12px; z-index: 20; }
.skip:focus { left: 8px; }

/* ---------- Header ---------- */
.site-header {
  position: absolute; inset: 0 0 auto 0; z-index: 10;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 18px var(--gutter);
}
.site-header.solid { position: static; border-bottom: 1px solid var(--line); }
.wordmark { font: 700 1.5rem/1 var(--display); letter-spacing: .02em; text-decoration: none; color: var(--haze); }
.site-nav ul { display: flex; gap: clamp(14px, 3vw, 32px); list-style: none; margin: 0; padding: 0; }
.site-nav a { text-decoration: none; font-size: .95rem; padding: 6px 0; }
.site-nav a[aria-current="page"] { color: var(--sun); }
@media (max-width: 560px) {
  .site-nav .opt { display: none; } /* keep the phone nav to the essentials */
}

/* ---------- Hero: a letterboxed frame ---------- */
.hero {
  position: relative;
  background: #000;
  padding-block: clamp(56px, 7vw, 84px) clamp(24px, 4vw, 48px); /* the letterbox bars */
}
.hero picture img {
  width: 100%;
  aspect-ratio: 2.39 / 1;
  object-fit: cover;
  object-position: 62% 40%;
}
.hero-text {
  position: absolute; left: var(--gutter); top: calc(clamp(56px, 7vw, 84px) + 4.5vw);
  max-width: 44%;
}
.hero h1 { margin: 0; font-weight: 400; }
.hero .name {
  display: block;
  font: 800 clamp(3.5rem, 9vw, 8.5rem)/.85 var(--display);
  white-space: nowrap;
  letter-spacing: -.01em;
  color: var(--sea);
  mix-blend-mode: multiply;
}
.hero .role {
  display: block; margin-top: .6em;
  font: 500 clamp(1rem, 1.8vw, 1.4rem)/1.3 var(--body);
  color: #2b2620;
}
.hero .reel-link {
  position: absolute; right: var(--gutter); bottom: clamp(4px, 1.4vw, 14px);
  font: 600 .9rem/1 var(--body); color: var(--spray); text-decoration: none;
}
.hero .reel-link:hover { color: var(--sun); }

@media (max-width: 700px) {
  /* On phones the name moves out of the frame and sits beneath it */
  .hero { padding: 60px 0 0; }
  .hero picture img { aspect-ratio: 4 / 3; object-position: 68% 30%; }
  .hero-text { position: static; max-width: none; padding: 28px var(--gutter) 0; background: var(--sea); }
  .hero .name { font-size: clamp(3.4rem, 20vw, 6rem); color: var(--haze); mix-blend-mode: normal; white-space: normal; }
  .hero .role { color: var(--haze); }
  .hero .reel-link { position: static; display: block; padding: 14px var(--gutter) 0; background: var(--sea); color: var(--sun); }
}

/* ---------- Sections ---------- */
main > section { padding: clamp(56px, 9vw, 120px) var(--gutter); }
main > section + section { border-top: 1px solid var(--line); }
h2 {
  margin: 0 0 .7em;
  font: 700 clamp(2.2rem, 5vw, 3.6rem)/1 var(--display);
  letter-spacing: .005em;
}
h3 { margin: 0 0 .35em; font: 600 1.15rem/1.3 var(--body); }
p { margin: 0 0 1em; max-width: var(--measure); }
.lede { font-size: clamp(1.15rem, 1.8vw, 1.35rem); line-height: 1.55; }
.muted { color: var(--spray); }

/* Intro: copy beside two on-set photos */
.intro { display: grid; gap: clamp(32px, 5vw, 72px); grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: start; }
.on-set { display: flex; gap: 12px; margin: 0; }
.on-set img { height: auto; width: 100%; }
.on-set img { flex: 1 1 0; min-width: 0; aspect-ratio: 1; object-fit: cover; }
.on-set figcaption { grid-column: 1 / -1; }
.photo-note { margin-top: 10px; font-size: .85rem; color: var(--spray); }
.clients { color: var(--sun); }
@media (max-width: 860px) { .intro { grid-template-columns: 1fr; } }

/* Showreel */
.showreel { background: var(--deep); }
.reel-frame { position: relative; aspect-ratio: 16 / 9; max-width: 1280px; background: #000; }
.reel-frame iframe, .reel-frame video, .reel-play, .reel-play img { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.reel-play { padding: 0; cursor: pointer; background: none; color: var(--haze); }
.reel-play img { object-fit: cover; }
.reel-play .icon {
  position: absolute; left: 50%; top: 50%; translate: -50% -50%;
  width: clamp(64px, 9vw, 104px); aspect-ratio: 1; border-radius: 50%;
  background: rgba(26, 34, 37, .72); border: 2px solid var(--haze);
  display: grid; place-items: center;
  transition: background .2s, border-color .2s;
}
.reel-play .icon svg { width: 34%; margin-left: 8%; fill: currentColor; }
.reel-play:hover .icon, .reel-play:focus-visible .icon { background: var(--sun); border-color: var(--sun); color: var(--sea); }
.reel-head { text-align: center; margin: 0 auto 8px; }
.reel-head p { margin-inline: auto; }
.showreel .reel-frame { margin-inline: auto; }

/* Services */
.services ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 28px 56px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); max-width: 820px; }
.services li { border-left: 2px solid var(--sun); padding-left: 18px; }
.services li p { margin: 0; color: var(--spray); }

/* Recent work: one player per film */
.films { list-style: none; margin: 0; padding: 0; display: grid; gap: 40px 28px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); max-width: 1280px; }
.films li { min-width: 0; }
.films .reel-frame { max-width: 100%; margin-bottom: 14px; }
.films .reel-play .icon { width: clamp(52px, 6vw, 72px); }
.films .title { margin: 0 0 2px; font: 700 clamp(1.4rem, 2.4vw, 1.8rem)/1.15 var(--display); }
.films .title a { text-decoration: none; }
.films .kind { margin: 0; color: var(--spray); font-size: .95rem; }
/* Kit teaser + areas */
.split { display: grid; gap: clamp(32px, 5vw, 72px); grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); max-width: 1100px; }
.button {
  display: inline-block; margin-top: 8px; padding: 12px 20px;
  border: 1px solid var(--haze); text-decoration: none; font-weight: 600;
}
.button:hover { background: var(--haze); color: var(--sea); }

/* FAQ */
.faq details { max-width: 760px; border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; padding: 16px 0; font-weight: 600; list-style-position: inside; }
.faq details p { color: var(--spray); }

/* Contact */
.contact { background: var(--sun); color: var(--sea); }
.contact h2 { color: var(--sea); }
.contact a { color: var(--sea); text-decoration-color: var(--sea); }
.contact a:hover { color: #000; }
.contact-lines { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: .3em; font: 700 clamp(1.5rem, 4.2vw, 3rem)/1.2 var(--display); }
.contact-lines a { overflow-wrap: anywhere; }
.contact :focus-visible { outline-color: var(--sea); }

/* Equipment page */
.kit-intro { padding: clamp(48px, 8vw, 96px) var(--gutter) 0; }
.kit-intro h1 { margin: 0 0 .4em; font: 800 clamp(3rem, 9vw, 7rem)/.9 var(--display); }
.kit { display: grid; gap: 40px 56px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); max-width: 1100px; }
.kit h2 { font-size: clamp(1.8rem, 3.4vw, 2.4rem); color: var(--sun); margin-bottom: .4em; }
.kit ul { margin: 0; padding: 0; list-style: none; }
.kit li { padding: 8px 0; border-bottom: 1px solid var(--line); }

/* Footer */
.site-footer { padding: 32px var(--gutter); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px; font-size: .9rem; color: var(--spray); }
.site-footer ul { display: flex; flex-wrap: wrap; gap: 20px; list-style: none; margin: 0; padding: 0; }
