/* Tipsy Monkey Productions
   Navy and gold, Playfair Display over Inter. No build step. */

:root {
  --ink: #07101d;
  --navy: #0a192f;
  --navy-2: #0b1a31;
  --gold: #c5a059;
  --gold-2: #dcc088;
  --gold-dim: rgba(197, 160, 89, 0.18);
  --text: #e8eef6;
  --body: #c3cfdf;
  --muted: #9aabc2;
  --faint: #7a8ca6;
  --line: rgba(255, 255, 255, 0.08);

  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --pencil: "Fredericka the Great", "Playfair Display", Georgia, serif;
  --chalk: #f3ede2;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --gutter: clamp(16px, 5vw, 48px);
  --max: 1200px;
  --header-h: 96px;
  --header-h-scrolled: 72px;
  --radius: 14px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-padding-top: var(--header-h-scrolled);
  -webkit-text-size-adjust: 100%;
  overflow-x: clip;
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1em; text-wrap: pretty; }
figure { margin: 0; }
[hidden] { display: none !important; }
button { font: inherit; }

h1, h2, h3 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.01em;
  text-wrap: balance;
}

h1 em, h2 em { font-style: italic; color: var(--gold); }

::selection { background: var(--gold); color: var(--ink); }

[tabindex="-1"]:focus { outline: none; }

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 4px;
}

.container {
  width: 100%;
  max-width: calc(var(--max) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.skip {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 200;
  padding: 10px 16px;
  border-radius: 6px;
  background: var(--gold);
  color: var(--ink);
  font-weight: 600;
}
.skip:focus { top: 12px; }

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 28px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-family: var(--sans);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  transition: background 0.25s, color 0.25s, border-color 0.25s, box-shadow 0.25s, transform 0.25s var(--ease);
}
.btn svg { width: 18px; height: 18px; flex: none; }

.btn--gold { background: var(--gold); color: #0a1526; }
.btn--gold:hover {
  background: var(--gold-2);
  transform: translateY(-2px);
  box-shadow: 0 12px 30px -12px rgba(197, 160, 89, 0.65);
}

.btn--ghost {
  border-color: rgba(197, 160, 89, 0.6);
  background: rgba(7, 16, 29, 0.25);
  color: var(--gold-2);
}
.btn--ghost:hover {
  border-color: var(--gold);
  background: var(--gold);
  color: #0a1526;
  transform: translateY(-2px);
}

.btn--sm { padding: 11px 18px; font-size: 0.86rem; }

/* Header */

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--header-h);
  border-bottom: 1px solid transparent;
  transition: height 0.35s var(--ease), background 0.35s var(--ease), border-color 0.35s var(--ease);
}
.site-header.is-scrolled,
.menu-open .site-header {
  background: rgba(7, 16, 29, 0.9);
  -webkit-backdrop-filter: blur(12px) saturate(140%);
  backdrop-filter: blur(12px) saturate(140%);
  border-bottom-color: var(--gold-dim);
}

.header__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

/* Gary's pencil logo, recoloured cream on a transparent background (assets/logo.png). */
.brand { display: inline-flex; align-items: center; flex: none; }
.brand__logo {
  width: auto;
  height: 80px;
  transition: height 0.35s var(--ease);
}
.site-footer .brand__logo { height: 104px; }

/* On wide screens the header slims down once the page scrolls. */
@media (min-width: 901px) {
  .site-header.is-scrolled { height: var(--header-h-scrolled); }
  .site-header.is-scrolled .brand__logo { height: 56px; }
}

.nav__list {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.6vw, 34px);
  margin: 0;
  padding: 0;
  list-style: none;
}
.nav__list a:not(.btn) {
  position: relative;
  padding: 6px 0;
  font-size: 0.93rem;
  color: #cdd7e5;
  transition: color 0.25s;
}
.nav__list a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
}
.nav__list a:not(.btn):hover,
.nav__list a.is-active { color: var(--text); }
.nav__list a:not(.btn):hover::after,
.nav__list a.is-active::after { transform: scaleX(1); }

.menu-btn {
  display: none;
  width: 46px;
  height: 46px;
  flex: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: 1px solid rgba(197, 160, 89, 0.4);
  border-radius: 8px;
  background: rgba(7, 16, 29, 0.4);
  cursor: pointer;
}
.menu-btn span {
  display: block;
  width: 20px;
  height: 1.5px;
  background: var(--text);
  transition: transform 0.3s var(--ease);
}
.menu-open .menu-btn span:first-child { transform: translateY(3.75px) rotate(45deg); }
.menu-open .menu-btn span:last-child { transform: translateY(-3.75px) rotate(-45deg); }

/* Shared section pieces */

/* Less room above each section's label than below its content, so the labels sit high. */
.section {
  position: relative;
  padding-top: clamp(40px, 5vw, 64px);
  padding-bottom: clamp(80px, 11vw, 136px);
}
/* Sections alternate between the page ink and navy-2 so neighbours never share a shade. */
.section--alt { background: var(--navy-2); }

.section-head { max-width: 760px; margin-bottom: clamp(40px, 6vw, 64px); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 22px;
  font-size: 0.86rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--gold);
}
.eyebrow::before {
  content: "";
  width: 34px;
  height: 1px;
  background: currentColor;
}

h2 { font-size: clamp(2.15rem, 4.4vw, 3.4rem); }

.lead {
  max-width: 62ch;
  margin: 22px 0 0;
  font-size: 1.08rem;
  color: var(--muted);
}

/* Hero */

.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: -3;
  transform-origin: 50% 30%;
  will-change: transform;
}
.hero__content { will-change: transform, opacity; }

/* Parallax on the scroll timeline, so the browser moves the photo in step with
   the page. main.js does the same by hand where this is not supported. */
@supports (animation-timeline: view()) {
  .hero {
    view-timeline-name: --hero;
    view-timeline-axis: block;
    view-timeline-inset: 0px;
  }
  .hero__media {
    animation: hero-drift linear both;
    animation-timeline: --hero;
    animation-range: exit 0% exit 100%;
  }
  .hero__content {
    animation: hero-lift linear both;
    animation-timeline: --hero;
    animation-range: exit 0% exit 100%;
  }
}
@keyframes hero-drift {
  from { transform: none; }
  to { transform: translate3d(0, 40%, 0) scale(1.12); }
}
@keyframes hero-lift {
  0% { transform: none; opacity: 1; }
  91% { opacity: 0; }
  100% { transform: translate3d(0, -12svh, 0); opacity: 0; }
}
.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  height: 100%;
  object-position: 50% 45%;
  transform-origin: 62% 45%;
  animation: kenburns 26s ease-in-out infinite alternate;
}
@keyframes kenburns {
  from { transform: scale(1.02); }
  to { transform: scale(1.12); }
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(7, 16, 29, 0.95) 0%, rgba(7, 16, 29, 0.86) 36%, rgba(7, 16, 29, 0.55) 70%, rgba(7, 16, 29, 0.42) 100%),
    linear-gradient(180deg, rgba(7, 16, 29, 0.6) 0%, rgba(7, 16, 29, 0) 24%, rgba(7, 16, 29, 0) 68%, var(--ink) 100%);
}

.grain {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  opacity: 0.09;
  pointer-events: none;
}
.grain::before {
  content: "";
  position: absolute;
  inset: -120px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/><feColorMatrix type='saturate' values='0'/></filter><rect width='240' height='240' filter='url(%23n)'/></svg>");
  animation: grain 1.1s steps(5) infinite;
}
@keyframes grain {
  0% { transform: translate(0, 0); }
  20% { transform: translate(-36px, 22px); }
  40% { transform: translate(24px, -42px); }
  60% { transform: translate(-44px, -12px); }
  80% { transform: translate(32px, 36px); }
  100% { transform: translate(0, 0); }
}

.viewfinder {
  position: absolute;
  inset: calc(var(--header-h) + 20px) 28px 28px;
  z-index: -1;
  pointer-events: none;
  color: rgba(232, 238, 246, 0.72);
  font: 500 0.72rem/1 var(--sans);
  letter-spacing: 0.14em;
  font-variant-numeric: tabular-nums;
}
.vf-c {
  position: absolute;
  width: 26px;
  height: 26px;
  border: 0 solid rgba(232, 238, 246, 0.5);
}
.vf-tl { top: 0; left: 0; border-top-width: 1.5px; border-left-width: 1.5px; }
.vf-tr { top: 0; right: 0; border-top-width: 1.5px; border-right-width: 1.5px; }
.vf-bl { bottom: 0; left: 0; border-bottom-width: 1.5px; border-left-width: 1.5px; }
.vf-br { bottom: 0; right: 0; border-bottom-width: 1.5px; border-right-width: 1.5px; }

.vf-rec,
.vf-tc { position: absolute; display: flex; align-items: center; gap: 9px; }
.vf-rec { top: 9px; left: 42px; }
.vf-tc { top: 9px; right: 42px; }

.vf-rec i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #e5484d;
  box-shadow: 0 0 10px #e5484d;
  animation: blink 1.2s steps(1) infinite;
}
@keyframes blink { 50% { opacity: 0.15; } }

.hero__content {
  max-width: 900px;
  padding-top: calc(var(--header-h) + 56px);
  padding-bottom: 120px;
}

.hero h1 {
  margin-bottom: 28px;
  font-size: clamp(2.9rem, 7.4vw, 6rem);
  line-height: 1.02;
}
.hero h1 em { display: block; }

.hero__lead {
  max-width: 600px;
  text-wrap: balance;
  margin-bottom: 38px;
  font-size: clamp(1.05rem, 1.6vw, 1.22rem);
  color: #d2dbe7;
}

.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }

.hero__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  margin: 46px 0 0;
  padding: 0;
  list-style: none;
  font-size: 0.9rem;
  color: #bccadb;
}
.hero__facts li { display: flex; align-items: center; gap: 10px; }
.hero__facts li::before {
  content: "";
  width: 6px;
  height: 6px;
  background: var(--gold);
  transform: rotate(45deg);
}

/* About */

.about {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}
.about__text h2 { margin-bottom: 30px; }
.about__text p:not(.eyebrow) { color: var(--body); }

/* Flex rather than a fixed grid so "Worldwide" gets the width it needs and drops
   to its own line on phones. */
.stats {
  display: flex;
  flex-wrap: wrap;
  gap: 22px 40px;
  margin: 40px 0 0;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}
.stat { flex: 1 1 140px; }
.stat__num {
  font-family: var(--serif);
  font-variant-numeric: lining-nums;
  font-size: clamp(2.2rem, 3.6vw, 2.9rem);
  line-height: 1;
  color: var(--gold);
}
.stat__label {
  margin: 10px 0 0;
  font-size: 0.86rem;
  line-height: 1.45;
  color: var(--muted);
}

.about__media { position: relative; }
.about__media::before {
  content: "";
  position: absolute;
  inset: 24px -24px -24px 24px;
  border: 1px solid rgba(197, 160, 89, 0.45);
  border-radius: var(--radius);
}
.about__media img {
  position: relative;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.85);
}
.about__caption {
  position: absolute;
  left: -22px;
  bottom: 40px;
  max-width: 340px;
  padding: 16px 20px;
  border: 1px solid var(--gold-dim);
  border-radius: 10px;
  background: rgba(7, 16, 29, 0.9);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.about__caption strong {
  display: block;
  margin-bottom: 4px;
  font-family: var(--serif);
  font-size: 1.12rem;
  font-weight: 500;
  line-height: 1.3;
}
.about__caption span { display: block; font-size: 0.82rem; line-height: 1.45; color: var(--muted); }

/* Founders */

.founder {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: start;
}
.founder + .founder { margin-top: clamp(80px, 10vw, 128px); }
.founder--flip { grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); }
.founder--flip .portrait { order: 2; }

.portrait { position: sticky; top: calc(var(--header-h-scrolled) + 28px); }
.portrait__frame {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border: 1px solid var(--gold-dim);
  border-radius: var(--radius);
  background:
    radial-gradient(120% 80% at 30% 18%, rgba(197, 160, 89, 0.2), transparent 60%),
    linear-gradient(160deg, #13294a, #0a1628);
  box-shadow: 0 30px 80px -34px rgba(0, 0, 0, 0.85);
}
.portrait__frame::before {
  content: attr(data-initials);
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-family: var(--serif);
  font-size: clamp(3.4rem, 7vw, 5.6rem);
  letter-spacing: 0.04em;
  color: rgba(197, 160, 89, 0.5);
}
/* Black and white keeps the two founders' photos consistent with each other and with the palette. */
.portrait__frame img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.06);
}
.portrait:not(.no-photo) .portrait__frame::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(120% 90% at 50% 38%, transparent 55%, rgba(7, 16, 29, 0.42) 100%),
    linear-gradient(180deg, transparent 72%, rgba(7, 16, 29, 0.32) 100%);
}
.portrait__note {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 20px;
  display: none;
  text-align: center;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  color: var(--faint);
}
.portrait.no-photo img { display: none; }
.portrait.no-photo .portrait__note { display: block; }

.founder h3 { font-size: clamp(2.1rem, 3.8vw, 3rem); }
.founder__role {
  margin: 12px 0 0;
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--gold);
}
.founder__tagline {
  margin: 28px 0;
  padding-left: 20px;
  border-left: 2px solid var(--gold);
  font-family: var(--serif);
  font-size: clamp(1.25rem, 2vw, 1.55rem);
  font-style: italic;
  line-height: 1.35;
  color: var(--text);
}
.founder__bio p { color: var(--body); }
.founder__bio .pillars {
  font-family: var(--serif);
  font-size: 1.14rem;
  font-style: italic;
  line-height: 1.55;
  color: var(--gold-2);
}

/* The preview ends in "..." until the full bio is open, then the real period comes back. */
.bio-dot { display: none; }
.founder__bio:has(.bio-more[open]) .bio-dot { display: inline; }
.founder__bio:has(.bio-more[open]) .bio-ellipsis { display: none; }

.bio-more summary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 0;
  list-style: none;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--gold-2);
  cursor: pointer;
}
.bio-more summary::-webkit-details-marker { display: none; }
.bio-more summary:hover { color: var(--text); }
.bio-more summary svg { transition: transform 0.3s var(--ease); }
.bio-more[open] summary svg { transform: rotate(180deg); }
.bio-more[open] .when-closed,
.bio-more:not([open]) .when-open { display: none; }
.bio-more__body { padding-top: 14px; }

.founder__links { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }

.quotes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(40px, 6vw, 80px);
  margin-top: clamp(72px, 9vw, 120px);
}
.quote {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}
.quote blockquote {
  margin: 0;
  font-size: clamp(1.4rem, 2.4vw, 2rem);
  line-height: 1.3;
  text-wrap: balance;
}
.quote blockquote::before {
  font-family: var(--serif);
  content: "\201C";
  display: block;
  margin-bottom: 20px;
  font-size: 5rem;
  line-height: 0.6;
  color: var(--gold);
}
.quote figcaption {
  margin-top: 24px;
  font-size: 0.92rem;
  letter-spacing: 0.06em;
  color: var(--gold);
}

/* Upcoming projects */

.posters {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(22px, 3.4vw, 40px);
  max-width: 900px;
}
.poster { margin: 0; }
.poster img {
  width: 100%;
  height: auto;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.poster:hover img {
  transform: translateY(-6px);
  box-shadow: 0 26px 60px -30px rgba(0, 0, 0, 0.9);
}
.poster figcaption { padding-top: 20px; }
.poster h3 { margin: 14px 0 0; font-size: clamp(1.3rem, 2vw, 1.7rem); }
.poster__meta { margin: 10px 0 0; font-size: 0.94rem; line-height: 1.55; color: var(--muted); }

.chip {
  align-self: flex-start;
  padding: 7px 12px;
  border-radius: 999px;
  background: var(--gold);
  color: #0a1526;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  line-height: 1;
}
/* What we shoot */

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 12px;
  margin: 0 0 clamp(30px, 4vw, 46px);
  padding: 0;
  list-style: none;
}
.tags li {
  padding: 9px 17px;
  border: 1px solid var(--gold-dim);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  font-size: 0.9rem;
  color: var(--body);
}

.work {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(14px, 1.8vw, 22px);
}
.work__shot { margin: 0; }
.work__shot img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

/* Services: a list of drop-down rows. Each row is a button (number, icon,
   title, arrow), and the description slides open underneath by animating the
   grid row from 0fr to 1fr. */

.services {
  --svc-pad: 20px;
  --svc-num: 2.6rem;
  --svc-icon: 36px;
  --svc-gap: 22px;
  max-width: 980px;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.service {
  position: relative;
  border-bottom: 1px solid var(--line);
  transition: background 0.35s var(--ease);
}
.service::before {
  content: "";
  position: absolute;
  top: -1px;
  bottom: -1px;
  left: 0;
  width: 2px;
  background: var(--gold);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.45s var(--ease);
}
.service:hover,
.service.is-open { background: linear-gradient(90deg, rgba(197, 160, 89, 0.07), rgba(197, 160, 89, 0) 70%); }
.service:hover::before,
.service.is-open::before { transform: scaleY(1); }

.service__head { margin: 0; font-size: clamp(1.25rem, 2.1vw, 1.6rem); line-height: 1.25; }
.service__toggle {
  display: grid;
  grid-template-columns: var(--svc-num) var(--svc-icon) minmax(0, 1fr) 24px;
  align-items: center;
  gap: var(--svc-gap);
  width: 100%;
  padding: 24px var(--svc-pad);
  border: 0;
  background: none;
  color: inherit;
  text-align: left;
  cursor: pointer;
}
.service__toggle:focus-visible { outline-offset: -4px; }
.service__num {
  font-family: var(--serif);
  font-size: 1rem;
  font-style: italic;
  color: var(--faint);
}
.service__icon {
  width: var(--svc-icon);
  height: var(--svc-icon);
  fill: none;
  stroke: var(--gold);
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.service__chevron {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: var(--gold);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.35s var(--ease);
}
.service.is-open .service__chevron { transform: rotate(180deg); }

.service__body {
  display: grid;
  grid-template-rows: 1fr;
  transition: grid-template-rows 0.45s var(--ease);
}
.service__body > div { min-height: 0; overflow: hidden; }
.service__body p {
  max-width: 62ch;
  margin: 0;
  /* Lines the text up under the title. */
  padding: 0 var(--svc-pad) 26px calc(var(--svc-pad) + var(--svc-num) + var(--svc-icon) + var(--svc-gap) * 2);
  font-size: 1rem;
  color: var(--muted);
  transition: opacity 0.35s var(--ease) 0.08s, visibility 0s;
}
/* Closed only once JS is running, so the text still shows without it. */
.js .service:not(.is-open) .service__body { grid-template-rows: 0fr; }
.js .service:not(.is-open) .service__body p {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s var(--ease), visibility 0s linear 0.45s;
}

@media (max-width: 600px) {
  .services { --svc-pad: 4px; --svc-icon: 30px; --svc-gap: 14px; }
  .service__toggle { grid-template-columns: var(--svc-icon) minmax(0, 1fr) 22px; padding-block: 20px; }
  .service__num { display: none; }
  .service__body p { padding-left: calc(var(--svc-pad) + var(--svc-icon) + var(--svc-gap)); }
}

/* Where we work: three panels and a strip of his location photos. */

.regions {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(14px, 1.8vw, 22px);
  margin-bottom: clamp(20px, 2.6vw, 30px);
}
.region {
  position: relative;
  overflow: hidden;
  padding: 30px 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.012));
}
.region::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), transparent);
  transform: scaleX(0.3);
  transform-origin: left;
  transition: transform 0.5s var(--ease);
}
.region:hover::before { transform: scaleX(1); }
.region h3 { margin-bottom: 12px; font-size: clamp(1.3rem, 2vw, 1.6rem); }
.region p { margin: 0; font-size: 0.95rem; line-height: 1.6; color: var(--muted); }

/* Contact */

.contact {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(40px, 6vw, 88px);
  align-items: start;
}

#contact-title em { display: block; }

.contact__email {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 18px;
  margin: 36px 0 32px;
}
.contact__email a {
  padding-bottom: 4px;
  border-bottom: 1px solid var(--gold);
  font-size: clamp(1.45rem, 2.6vw, 2rem);
  line-height: 1.2;
  overflow-wrap: anywhere;
  transition: color 0.25s;
}
.contact__email a:hover { color: var(--gold-2); }

.copy-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 12px;
  border: 1px solid rgba(197, 160, 89, 0.4);
  border-radius: 6px;
  background: transparent;
  color: var(--gold-2);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.copy-btn:hover { background: rgba(197, 160, 89, 0.12); }
.copy-btn svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linejoin: round;
}

.contact__list {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--body);
}
.contact__list li { display: flex; align-items: flex-start; gap: 14px; }
.contact__list svg {
  width: 22px;
  height: 22px;
  flex: none;
  margin-top: 2px;
  fill: none;
  stroke: var(--gold);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.form {
  padding: clamp(24px, 3.6vw, 44px);
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015));
  box-shadow: 0 30px 80px -40px rgba(0, 0, 0, 0.8);
}
.form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 0.82rem; font-weight: 500; letter-spacing: 0.02em; color: var(--muted); }

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background: rgba(7, 16, 29, 0.6);
  color: var(--text);
  font: inherit;
  font-size: 0.96rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field textarea { min-height: 150px; resize: vertical; }
.field select {
  -webkit-appearance: none;
  appearance: none;
  padding-right: 42px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24'><path d='M6 9l6 6 6-6' fill='none' stroke='%23c5a059' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  background-repeat: no-repeat;
  background-position: right 16px center;
}
.field select option { background: var(--navy); color: var(--text); }
.field input::placeholder,
.field textarea::placeholder { color: #62758f; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(197, 160, 89, 0.18);
}
.field.is-invalid input,
.field.is-invalid textarea { border-color: #e5484d; }

.form__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 26px;
}
.form__hint { margin: 0; font-size: 0.82rem; color: var(--faint); }
.form__status { margin: 16px 0 0; font-size: 0.9rem; color: var(--gold-2); }
.form__status:empty { display: none; }

/* Footer */

.site-footer {
  padding: clamp(56px, 8vw, 88px) 0 32px;
  border-top: 1px solid var(--gold-dim);
  background: #050b14;
}
.footer__top { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 40px; }
.footer__blurb { max-width: 40ch; margin: 22px 0 0; font-size: 0.95rem; color: var(--muted); }
.footer__title {
  margin: 4px 0 16px;
  font-family: var(--sans);
  font-size: 0.84rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--gold);
}
.footer__col ul { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.footer__col a { color: var(--body); transition: color 0.2s; }
.footer__col a:hover { color: var(--gold-2); }
.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 4px 24px;
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 0.84rem;
  color: var(--faint);
}
.footer__bottom p { margin: 0; }
.footer__credit { color: var(--faint); }

/* Scroll reveal. Only hides content once JS is known to be running. */

.js .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
  transition-delay: var(--d, 0ms);
}
.js .reveal.is-in { opacity: 1; transform: none; }

/* Responsive */

@media (max-width: 900px) {
  :root { --header-h: 72px; --header-h-scrolled: 72px; }
  .site-header .brand__logo { height: 54px; }
  .menu-btn { display: inline-flex; }

  .nav__list {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px var(--gutter) 28px;
    border-bottom: 1px solid var(--gold-dim);
    background: var(--ink);
    box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.7);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0.3s;
  }
  .menu-open .nav__list { opacity: 1; visibility: visible; transform: none; }
  .nav__list a:not(.btn) {
    display: block;
    padding: 15px 0;
    border-bottom: 1px solid var(--line);
    font-size: 1.05rem;
  }
  .nav__list a:not(.btn)::after { display: none; }
  .nav__cta { margin-top: 20px; }
  .nav__cta .btn { width: 100%; padding-block: 15px; }

  .about,
  .contact { grid-template-columns: 1fr; }
  .about__media { max-width: 560px; }

  .founder,
  .founder--flip { grid-template-columns: 1fr; }
  .founder--flip .portrait { order: 0; }
  .portrait { position: relative; top: 0; max-width: 400px; }

  .posters { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .quotes { grid-template-columns: 1fr; }
  .work,
  .regions { grid-template-columns: 1fr; }

  .footer__top { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
  .viewfinder { display: none; }
  .hero__media img { object-position: 58% 50%; }
  .hero::before {
    background: linear-gradient(180deg, rgba(7, 16, 29, 0.78) 0%, rgba(7, 16, 29, 0.6) 38%, rgba(7, 16, 29, 0.84) 72%, var(--ink) 100%);
  }
}

@media (max-width: 600px) {
  .hero__content { padding-top: calc(var(--header-h) + 40px); padding-bottom: 90px; }
  .hero__actions .btn { flex: 1 1 auto; }

  .stats { gap: 22px 28px; }

  .about__media::before { inset: 14px -8px -14px 8px; }
  .about__caption { left: 12px; right: 12px; bottom: 12px; max-width: none; }

  .posters { grid-template-columns: 1fr; }

  .form__grid { grid-template-columns: 1fr; }
  .form__foot .btn { width: 100%; }

  .footer__top { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  /* Griffin wants the hero parallax and the REC blink on even with reduced motion. */
  *:not(.hero__media, .hero__content, .vf-rec i, .service, .service__body, .service__body p, .service__chevron),
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
  .js .reveal { opacity: 1; transform: none; }
}

/* Every title is drawn in pencil to match Gary's logo. It sits last so it wins
   over the Playfair and Inter settings above. */
.hero h1,
main h2,
main h3,
.quote blockquote,
.contact__email a,
.about__caption strong,
.footer__title,
.eyebrow {
  font-family: var(--pencil);
  font-weight: 400;
  font-style: normal;
  letter-spacing: 0;
}
.hero h1,
main h2,
main h3,
.quote blockquote,
.contact__email a,
.about__caption strong { color: var(--chalk); }
.hero h1 em,
main h2 em { font-style: normal; color: var(--gold); }
.eyebrow { font-size: 1.04rem; }
.footer__title { font-size: 1.1rem; }
.about__caption strong { font-size: 1.2rem; }
