/* ─────────────────────────────────────────────────────────────
   Dylan van Druten Photography — award design system (subpages)
   ───────────────────────────────────────────────────────────── */

:root {
  --ink: #1C1C1C;
  --stone: #6A6A6A;
  --ash: #A0A0A0;
  --chalk: #F5F5F5;
  --paper: #FFFFFF;
  --divider: #C8C8C8;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-expo: cubic-bezier(0.87, 0, 0.13, 1);
  --gutter: clamp(20px, 4vw, 64px);
  /* Hand-drawn underline squiggles, shared by buttons, nav, and text links.
     Used as masks painted with currentColor; element height sets thickness. */
  --scribble-a: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 10' preserveAspectRatio='none'%3E%3Cpath d='M3 6.5C32 3.5 58 8 92 5.5S152 3.5 197 6.5' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E");
  --scribble-b: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 10' preserveAspectRatio='none'%3E%3Cpath d='M3 5.5C38 8 68 3.5 104 6S162 8 197 4.5' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E");
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: proxima-nova, 'Montserrat', sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--paper);
  color: var(--ink);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  width: 100%;
  -webkit-touch-callout: none;
  -webkit-user-drag: none;
}

/* ───────────────────────── Cursor ───────────────────────── */

.cursor {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1100;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--paper);
  mix-blend-mode: difference;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translate(-50%, -50%);
  transition: width 0.35s var(--ease-out), height 0.35s var(--ease-out);
  will-change: left, top;
}

.cursor span {
  font-size: 0;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--ink);
  transition: font-size 0.25s var(--ease-out);
}

.cursor.is-view {
  width: 84px;
  height: 84px;
}

.cursor.is-view span {
  font-size: 11px;
}

@media (hover: none) {
  .cursor { display: none; }
}

/* ───────────────────────── Nav ───────────────────────── */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: clamp(18px, 2.5vw, 28px) var(--gutter);
  mix-blend-mode: difference;
  color: #fff;
  animation: navIn 0.8s var(--ease-out) both;
}

@keyframes navIn {
  from { opacity: 0; transform: translateY(-12px); }
  to { opacity: 1; transform: none; }
}

.nav-brand {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
}

.nav-clock {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  opacity: 0.75;
  display: none;
}

@media (min-width: 760px) {
  .nav-clock { display: block; }
}

.nav-links {
  display: flex;
  gap: clamp(18px, 3vw, 40px);
}

.nav-links a {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  position: relative;
  padding-bottom: 3px;
}

.nav-links a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 5px;
  background: currentColor;
  -webkit-mask: var(--scribble-a) center / 100% 100% no-repeat;
  mask: var(--scribble-a) center / 100% 100% no-repeat;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.45s var(--ease-out);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* Burger + mobile menu */

.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px 0;
  color: inherit;
}

.nav-burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: currentColor;
}

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 95;
  background: var(--ink);
  color: var(--paper);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.4s var(--ease-out), visibility 0s 0.4s;
}

.mobile-menu.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition: opacity 0.4s var(--ease-out);
}

.mobile-menu a {
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 1rem;
}

.mobile-menu a.sub {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.6);
}

.mobile-menu-close {
  position: absolute;
  top: 26px;
  right: 26px;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--paper);
  padding: 8px;
}

@media (max-width: 700px) {
  .nav-brand { font-size: 0.7rem; letter-spacing: 0.22em; }
  .nav-links { display: none; }
  .nav-burger { display: flex; }
}

/* Work dropdown (desktop) — no box; same difference blend as the nav
   so the text stays legible over any background */

.nav-drop {
  position: fixed;
  z-index: 60;
  padding-top: 16px;
  mix-blend-mode: difference;
  color: #fff;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: opacity 0.4s var(--ease-out), transform 0.4s var(--ease-out), visibility 0s 0.4s;
}

.nav-drop.open {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition: opacity 0.4s var(--ease-out), transform 0.4s var(--ease-out);
}

.nav-drop-inner {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 200px;
  padding: 8px 0 4px;
}

.nav-drop a {
  position: relative;
  width: fit-content;
  padding-bottom: 3px;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.nav-drop a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 100%;
  height: 4px;
  background: currentColor;
  -webkit-mask: var(--scribble-a) center / 100% 100% no-repeat;
  mask: var(--scribble-a) center / 100% 100% no-repeat;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.45s var(--ease-out);
}

.nav-drop a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

@media (max-width: 700px), (hover: none) {
  .nav-drop { display: none; }
}

/* ───────────────────────── Reveal on scroll ───────────────────────── */

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1s var(--ease-out), transform 1s var(--ease-out);
}

.reveal.in {
  opacity: 1;
  transform: none;
}

.reveal-img {
  overflow: hidden;
}

.reveal-img .frame {
  clip-path: inset(0 0 100% 0);
  transition: clip-path 1.3s var(--ease-expo);
}

.reveal-img.in .frame {
  clip-path: inset(0 0 0% 0);
}

/* ───────────────────────── Page hero ───────────────────────── */

.page-hero {
  padding: clamp(120px, 18vw, 220px) var(--gutter) clamp(40px, 6vw, 72px);
}

.intro-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--ash);
  margin-bottom: clamp(20px, 3vw, 36px);
}

.page-title {
  font-weight: 700;
  text-transform: uppercase;
  font-size: clamp(2.6rem, 9vw, 8rem);
  line-height: 0.98;
  letter-spacing: 0.02em;
}

.page-desc {
  margin-top: clamp(20px, 3vw, 36px);
  max-width: 34em;
  font-size: clamp(0.95rem, 1.3vw, 1.05rem);
  line-height: 1.75;
  color: var(--stone);
}

/* Category switcher */

.cat-nav {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(16px, 2.5vw, 36px);
  margin-top: clamp(28px, 4vw, 52px);
  padding-top: clamp(16px, 2vw, 24px);
  border-top: 1px solid var(--divider);
}

.cat-nav a {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ash);
  position: relative;
  padding-bottom: 3px;
  transition: color 0.3s var(--ease-out);
}

.cat-nav a:hover {
  color: var(--ink);
}

.cat-nav a.active {
  color: var(--ink);
}

.cat-nav a.active::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 5px;
  background: var(--ink);
  -webkit-mask: var(--scribble-a) center / 100% 100% no-repeat;
  mask: var(--scribble-a) center / 100% 100% no-repeat;
}

/* ───────────────────────── Gallery (masonry built by js/gallery.js) ───────────────────────── */

.gallery {
  display: flex;
  gap: clamp(10px, 1.6vw, 24px);
  padding: clamp(8px, 1.5vw, 16px) var(--gutter) clamp(60px, 9vw, 130px);
}

.gallery-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: clamp(10px, 1.6vw, 24px);
}

/* ───────────────────────── Lightbox ───────────────────────── */

#lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(20, 20, 20, 0);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease;
}

#lightbox.open {
  display: flex;
  background: rgba(20, 20, 20, 0.94);
}

#lightbox img {
  max-width: 90vw;
  max-height: 90svh;
  width: auto;
  object-fit: contain;
  display: block;
  opacity: 0;
  transition: opacity 0.25s ease;
}

#lightbox img.visible {
  opacity: 1;
}

.lb-btn {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  padding: 20px;
  color: #FFFFFF;
  opacity: 0.7;
  transition: opacity 0.15s;
}

.lb-btn:hover { opacity: 1; }

#lb-prev { left: 20px; }
#lb-next { right: 20px; }

#lb-close {
  position: fixed;
  top: 24px;
  right: 32px;
  background: none;
  border: none;
  cursor: pointer;
  color: #FFFFFF;
  opacity: 0.7;
  transition: opacity 0.15s;
  padding: 8px;
}

#lb-close:hover { opacity: 1; }

#lb-bottom {
  position: fixed;
  bottom: max(20px, env(safe-area-inset-bottom, 20px));
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0;
}

#lb-counter {
  color: #FFFFFF;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  opacity: 0.6;
  white-space: nowrap;
}

@media (max-width: 767px) {
  .lb-btn { position: static; top: auto; transform: none; padding: 10px 20px; }
  #lb-bottom { gap: 16px; }
  #lightbox img { max-height: 62svh; }
}

/* ───────────────────────── Investment / pricing ───────────────────────── */

.invest {
  background: var(--chalk);
  padding: clamp(80px, 11vw, 160px) var(--gutter);
}

.invest-head {
  text-align: center;
  margin-bottom: clamp(48px, 6vw, 80px);
}

.invest-head h2 {
  font-size: clamp(1.2rem, 2.4vw, 1.9rem);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  max-width: 24em;
  margin: 0 auto;
}

.invest-proof {
  margin-top: 18px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--stone);
}

.invest-proof .stars {
  color: var(--ink);
  letter-spacing: 0.14em;
  margin-right: 9px;
}

.invest-grid {
  display: flex;
  max-width: 920px;
  margin: 0 auto;
  border-top: 1px solid var(--divider);
  border-bottom: 1px solid var(--divider);
}

.invest-card {
  flex: 1;
  padding: clamp(36px, 5vw, 56px) clamp(28px, 4vw, 56px);
}

.invest-card + .invest-card {
  border-left: 1px solid var(--divider);
}

.pkg-label {
  color: var(--ash);
  font-weight: 700;
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  margin: 0 0 14px;
}

.pkg-price {
  color: var(--ink);
  font-weight: 300;
  font-size: clamp(2.4rem, 4.5vw, 3.4rem);
  line-height: 1;
  margin: 0 0 28px;
}

.pkg-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.pkg-list li {
  color: var(--stone);
  font-size: 0.9rem;
  line-height: 2em;
  padding-left: 18px;
  position: relative;
}

.pkg-list li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--divider);
}

.invest-corporate {
  max-width: 620px;
  margin: clamp(40px, 6vw, 64px) auto 0;
  text-align: center;
}

.invest-corporate p:not(.pkg-label) {
  color: var(--ash);
  line-height: 1.7;
  margin: 10px 0 0;
}

.invest-note {
  text-align: center;
  margin-top: clamp(40px, 6vw, 64px);
  padding: 0 var(--gutter);
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
  font-size: 0.9rem;
  line-height: 2;
  color: var(--stone);
}

.invest-note a {
  text-decoration: underline;
  text-underline-offset: 4px;
  transition: font-size 0.15s ease;
}
.invest-note a:hover {
  font-weight: 700;
  font-size: 1.07em;
}

@media (max-width: 700px) {
  .invest-grid { flex-direction: column; }
  .invest-card + .invest-card { border-left: none; border-top: 1px solid var(--divider); }
}

/* ───────────────────────── Buttons ───────────────────────── */

/* Hand-drawn underline CTAs: quiet uppercase text over an irregular,
   hand-sketched line. The line is an SVG mask painted with currentColor,
   so the same rule works on light and dark sections. Hovering crossfades
   to a second squiggle so the line looks freshly redrawn. */
.btn,
.submit-btn {
  display: inline-block;
  position: relative;
  padding: 14px 2px 18px;
  border: none;
  background: transparent;
  color: var(--ink);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  /* opacity/transform legs keep the .reveal fade-in timing; scale is the
     hover grow (standalone property so it stacks on reveal's transform) */
  transition: opacity 1s var(--ease-out), transform 1s var(--ease-out), scale 0.35s var(--ease-out);
}

.btn:hover,
.submit-btn:hover {
  scale: 1.08;
}

.submit-btn:disabled:hover {
  scale: 1;
}

.btn {
  margin-top: clamp(28px, 3.5vw, 44px);
}

.btn::before,
.btn::after,
.submit-btn::before,
.submit-btn::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 6px;
  height: 8px;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 10' preserveAspectRatio='none'%3E%3Cpath d='M3 6.5C32 3.5 58 8 92 5.5S152 3.5 197 6.5' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 10' preserveAspectRatio='none'%3E%3Cpath d='M3 6.5C32 3.5 58 8 92 5.5S152 3.5 197 6.5' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
  transition: opacity 0.35s var(--ease-out);
}

.btn::after,
.submit-btn::after {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 10' preserveAspectRatio='none'%3E%3Cpath d='M3 5.5C38 8 68 3.5 104 6S162 8 197 4.5' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 10' preserveAspectRatio='none'%3E%3Cpath d='M3 5.5C38 8 68 3.5 104 6S162 8 197 4.5' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E");
  opacity: 0;
}

.btn:hover::before,
.submit-btn:hover::before {
  opacity: 0;
}

.btn:hover::after,
.submit-btn:hover::after {
  opacity: 1;
}

.btn:focus-visible,
.submit-btn:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 4px;
}

.btn.light {
  color: var(--paper);
}


/* ───────────────────────── CTA + footer (ink) ───────────────────────── */

.contact-cta {
  background: var(--ink);
  color: var(--paper);
  padding: clamp(90px, 13vw, 180px) var(--gutter) clamp(36px, 5vw, 56px);
  text-align: center;
}

.contact-cta .intro-label {
  color: rgba(255, 255, 255, 0.5);
}

.contact-cta h2 {
  font-size: clamp(2rem, 6.5vw, 6rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  line-height: 1.04;
}

.contact-cta h2 .muted {
  color: rgba(255, 255, 255, 0.4);
}

.contact-cta.slim {
  padding-top: clamp(36px, 5vw, 56px);
}

.footer {
  margin-top: clamp(80px, 12vw, 170px);
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  padding-top: clamp(24px, 3vw, 36px);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 16px 32px;
  align-items: center;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
}

.contact-cta.slim .footer {
  margin-top: 0;
}

.footer .dim {
  color: rgba(255, 255, 255, 0.45);
  font-weight: 400;
}

.footer-left {
  display: flex;
  align-items: center;
  gap: 20px;
  justify-self: start;
  text-align: left;
}

.footer-copy {
  justify-self: end;
  text-align: right;
}

.footer-social {
  display: flex;
  align-items: center;
  gap: 16px;
}

.footer-social a {
  display: inline-flex;
  padding-bottom: 0;
  opacity: 0.55;
  transition: opacity 0.3s var(--ease-out);
}

.footer-social a::after {
  content: none;
}

.footer-social a:hover {
  opacity: 1;
}

.footer-social svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
  display: block;
}

@media (max-width: 700px) {
  .footer {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .footer-left {
    flex-direction: column;
    gap: 14px;
    justify-self: center;
    text-align: center;
  }

  .footer-copy {
    justify-self: center;
    text-align: center;
  }
}

.footer a {
  position: relative;
  padding-bottom: 3px;
}

.footer a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 100%;
  height: 4px;
  background: currentColor;
  -webkit-mask: var(--scribble-a) center / 100% 100% no-repeat;
  mask: var(--scribble-a) center / 100% 100% no-repeat;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.45s var(--ease-out);
}

.footer a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* ───────────────────────── About page ───────────────────────── */

.about-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(32px, 4vw, 64px);
  padding: 0 var(--gutter) clamp(90px, 13vw, 180px);
  align-items: start;
}

.about-grid .about-media {
  grid-column: 1 / 6;
}

.about-grid .about-media .frame {
  overflow: hidden;
}

.about-grid .about-copy {
  grid-column: 7 / 12;
}

.about-copy p.body {
  margin-top: clamp(18px, 2.4vw, 28px);
  font-size: clamp(0.95rem, 1.3vw, 1.05rem);
  line-height: 1.75;
  color: var(--stone);
  max-width: 32em;
}

.services {
  margin-top: clamp(36px, 5vw, 56px);
  padding-top: clamp(24px, 3vw, 36px);
  border-top: 1px solid var(--divider);
}

.services-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.services-list li {
  border: 1px solid var(--ink);
  padding: 9px 18px;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

@media (max-width: 820px) {
  .about-grid { display: block; }
  .about-grid .about-media { max-width: 460px; margin-bottom: 36px; }
}

/* ───────────────────────── Films page ───────────────────────── */

.films-wrap {
  padding: 0 var(--gutter) clamp(80px, 12vw, 160px);
}

.film-item {
  max-width: 1100px;
  margin: 0 auto clamp(48px, 7vw, 90px);
}

.film-embed {
  padding: 56.25% 0 0 0;
  position: relative;
  background: var(--ink);
}

.film-embed iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.film-caption {
  display: flex;
  justify-content: space-between;
  margin-top: 16px;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.film-caption .year {
  color: var(--ash);
  font-weight: 400;
}

/* ───────────────────────── Contact page ───────────────────────── */

.contact-layout {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(32px, 4vw, 64px);
  padding: 0 var(--gutter) clamp(80px, 12vw, 160px);
  align-items: start;
}

.contact-left {
  grid-column: 1 / 7;
}

.contact-right {
  grid-column: 8 / 13;
  position: sticky;
  top: 110px;
}

.contact-right .frame {
  overflow: hidden;
}

.contact-email {
  margin-top: clamp(20px, 3vw, 32px);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.contact-email a {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.contact-form-wrap {
  margin-top: clamp(40px, 6vw, 64px);
  max-width: 560px;
}

.field {
  margin-bottom: 44px;
  position: relative;
  padding-top: 20px;
}

.field label {
  position: absolute;
  top: 28px;
  left: 0;
  color: var(--ash);
  font-weight: 700;
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  transition: top 0.2s ease, font-size 0.2s ease, color 0.2s ease;
  pointer-events: none;
}

.field input:not([type=hidden]):focus ~ label,
.field input:not([type=hidden]):not(:placeholder-shown) ~ label,
.field textarea:focus ~ label,
.field textarea:not(:placeholder-shown) ~ label,
.field.has-value label,
.field.dropdown-open label {
  top: 2px;
  font-size: 0.6rem;
  color: var(--ink);
}

.field input,
.field textarea {
  display: block;
  width: 100%;
  border: none;
  border-bottom: 1px solid var(--divider);
  outline: none;
  padding: 6px 0 10px;
  font-size: 1rem;
  color: var(--ink);
  background: transparent;
  line-height: 1.5;
  border-radius: 0;
}

.field textarea {
  resize: none;
  height: 90px;
}

.field input:focus,
.field textarea:focus {
  border-bottom-color: var(--ink);
}

/* .submit-btn shares the hand-drawn underline style defined in the
   Buttons section above. */
.submit-btn:disabled {
  opacity: 0.5;
  cursor: default;
}

/* Custom select (session type) */

.select-wrap { position: relative; }

.custom-select {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  border-bottom: 1px solid var(--divider);
  padding: 6px 0 10px;
  cursor: pointer;
  font-size: 1rem;
  line-height: 1.5;
  color: var(--ink);
  user-select: none;
  min-height: 38px;
}

.custom-select:focus { outline: none; }

.custom-select.open,
.custom-select:focus {
  border-bottom-color: var(--ink);
}

.select-arrow {
  flex-shrink: 0;
  transition: transform 0.2s ease;
  opacity: 0.5;
}

.custom-select.open .select-arrow {
  transform: rotate(180deg);
}

.select-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 1px);
  left: 0;
  right: 0;
  background: var(--paper);
  border: 1px solid #E0E0E0;
  border-top: 2px solid var(--ink);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
  z-index: 40;
}

.select-dropdown.open { display: block; }

.select-option {
  padding: 12px 16px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink);
  cursor: pointer;
  border-bottom: 1px solid #F0F0F0;
  transition: background 0.12s;
}

.select-option:last-child { border-bottom: none; }

.select-option:hover { background: var(--chalk); }

#thank-you p.lead {
  color: var(--ink);
  font-weight: 700;
  font-size: 0.875rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin: 0 0 12px;
}

#thank-you p.sub {
  color: var(--stone);
  font-size: 0.9rem;
  line-height: 1.8em;
  margin: 0;
}

@media (max-width: 820px) {
  .contact-layout { display: block; }
  .contact-right { display: none; }
}

/* ───────────────────────── Motion preferences ───────────────────────── */

@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }

  html {
    scroll-behavior: auto;
  }
}

/* ───────────────────────── Blog index ───────────────────────── */

.post-list {
  padding: 0 var(--gutter) clamp(80px, 12vw, 160px);
}

.post-row {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(20px, 3vw, 48px);
  align-items: center;
  padding: clamp(36px, 5vw, 64px) 0;
  border-top: 1px solid var(--divider);
}

.post-row:last-child {
  border-bottom: 1px solid var(--divider);
}

.post-row-media {
  grid-column: 1 / 6;
}

.post-row-media .frame {
  overflow: hidden;
  aspect-ratio: 3 / 2;
}

.post-row-media img {
  height: 100%;
  object-fit: cover;
  transition: scale 0.9s var(--ease-out);
  scale: 1;
}

.post-row:hover .post-row-media img {
  scale: 1.045;
}

.post-row-text {
  grid-column: 7 / 13;
}

.post-row-kicker {
  display: flex;
  gap: 18px;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--ash);
  margin-bottom: clamp(14px, 2vw, 22px);
}

.post-row h2 {
  font-size: clamp(1.4rem, 2.8vw, 2.4rem);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  line-height: 1.15;
  max-width: 16em;
}

.post-row .excerpt {
  margin-top: clamp(12px, 1.8vw, 20px);
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--stone);
  max-width: 30em;
}

.post-row .read-more {
  display: inline-block;
  margin-top: clamp(16px, 2.2vw, 26px);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 3px;
}

@media (max-width: 760px) {
  .post-row { display: block; }
  .post-row-media { margin-bottom: 20px; }
}

/* ───────────────────────── Blog post ───────────────────────── */

.post-hero {
  padding: clamp(120px, 16vw, 200px) var(--gutter) clamp(32px, 4vw, 52px);
  max-width: 1000px;
  margin: 0 auto;
}

.post-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ash);
  margin-bottom: clamp(24px, 3.5vw, 40px);
}

.post-breadcrumb a {
  color: var(--ink);
  position: relative;
  padding-bottom: 2px;
}

.post-breadcrumb a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.45s var(--ease-out);
}

.post-breadcrumb a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.post-hero h1 {
  font-size: clamp(1.9rem, 4.6vw, 4rem);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1.1;
}

.post-featured {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.post-featured .frame {
  overflow: hidden;
}

.post-body {
  max-width: 720px;
  margin: 0 auto;
  padding: clamp(40px, 6vw, 72px) var(--gutter) clamp(60px, 9vw, 110px);
}

.post-body p {
  font-size: clamp(1rem, 1.35vw, 1.1rem);
  line-height: 1.85;
  color: var(--stone);
  margin-bottom: 1.6em;
}

.post-body p a {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.post-body h2 {
  font-size: clamp(0.95rem, 1.5vw, 1.15rem);
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--ink);
  margin: clamp(40px, 5vw, 60px) 0 clamp(18px, 2.5vw, 26px);
}

.post-body img {
  margin: clamp(28px, 4vw, 44px) 0;
}

.post-cta-box {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 var(--gutter) clamp(70px, 10vw, 120px);
}

.post-cta-box .inner {
  border-top: 1px solid var(--divider);
  padding-top: clamp(28px, 4vw, 44px);
  display: flex;
  flex-wrap: wrap;
  gap: 16px 40px;
  align-items: baseline;
}

.post-cta-box .label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--ash);
}

.post-cta-box a {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 3px;
}

/* ───────────────────────── FAQ page ───────────────────────── */

.faq {
  max-width: 820px;
  margin: 0 auto;
  padding: clamp(20px, 5vw, 60px) var(--gutter) clamp(60px, 9vw, 120px);
}

.faq-group {
  margin-bottom: clamp(40px, 6vw, 72px);
}

.faq-group:last-child {
  margin-bottom: 0;
}

.faq-group-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--ash);
  margin-bottom: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--ink);
}

.faq-item {
  border-bottom: 1px solid var(--divider);
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: clamp(18px, 2.4vw, 26px) 0;
  color: var(--ink);
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-q {
  font-family: proxima-nova, 'Montserrat', sans-serif;
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  font-weight: 500;
  line-height: 1.35;
}

.faq-icon {
  position: relative;
  flex: 0 0 16px;
  width: 16px;
  height: 16px;
  transition: transform 0.4s var(--ease-out);
}

.faq-icon::before,
.faq-icon::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  background: var(--ink);
  transform: translate(-50%, -50%);
}

.faq-icon::before {
  width: 16px;
  height: 1.5px;
}

.faq-icon::after {
  width: 1.5px;
  height: 16px;
  transition: transform 0.4s var(--ease-out);
}

.faq-item[open] .faq-icon {
  transform: rotate(180deg);
}

.faq-item[open] .faq-icon::after {
  transform: translate(-50%, -50%) scaleY(0);
}

.faq-a {
  overflow: hidden;
}

.faq-a-inner {
  padding-bottom: clamp(20px, 2.6vw, 28px);
  max-width: 64ch;
}

.faq-a-inner p {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--stone);
}

.faq-a-inner a {
  color: var(--ink);
  position: relative;
  display: inline-block;
  padding-bottom: 4px;
}

.faq-a-inner a::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 5px;
  background: currentColor;
  -webkit-mask: var(--scribble-a) center / 100% 100% no-repeat;
  mask: var(--scribble-a) center / 100% 100% no-repeat;
}

.faq-a-inner a:hover::after {
  -webkit-mask-image: var(--scribble-b);
  mask-image: var(--scribble-b);
}

.faq-item[open] .faq-a-inner {
  animation: faqReveal 0.45s var(--ease-out);
}

@keyframes faqReveal {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: none; }
}

/* Footer FAQ link */
.footer-faq {
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
}

/* ───────────────────────── Client reviews (service pages) ───────────────────────── */

.page-reviews {
  background: #fff;
  padding: clamp(32px, 4vw, 52px) 0 clamp(64px, 8vw, 104px);
}

.page-reviews .reviews-head {
  text-align: center;
  margin-bottom: clamp(32px, 4.5vw, 56px);
  padding: 0 var(--gutter);
}

.page-reviews h2 {
  font-size: clamp(1.2rem, 2.4vw, 1.9rem);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  max-width: 24em;
  margin: 0 auto;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: clamp(28px, 3.5vw, 48px) clamp(28px, 3.5vw, 48px);
  padding: 0 var(--gutter);
  max-width: 1240px;
  margin: 0 auto;
}

.review-stars {
  font-size: 0.8rem;
  letter-spacing: 0.32em;
  margin-bottom: clamp(12px, 1.6vw, 18px);
}

.review-quote {
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--stone);
}

.review-name {
  margin-top: clamp(14px, 1.8vw, 20px);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.review-role {
  display: block;
  margin-top: 6px;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--stone);
}

.page-reviews .reviews-more {
  text-align: center;
  margin-top: clamp(32px, 4.5vw, 52px);
}

/* ───────────────────────── What happens next (contact) ───────────────────────── */

.next-steps {
  margin-top: clamp(40px, 5vw, 56px);
}

.next-steps .intro-label { margin-bottom: 18px; }

.next-steps ol {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: step;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.next-steps li {
  counter-increment: step;
  display: flex;
  gap: 16px;
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--stone);
}

.next-steps li::before {
  content: "0" counter(step);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  padding-top: 5px;
  color: #1C1C1C;
  flex-shrink: 0;
}

/* ───────────────────────── Film band (ambient session clip) ───────────────────────── */

.film-band {
  padding: clamp(70px, 9vw, 140px) var(--gutter);
}

.film-band .frame {
  overflow: hidden;
  aspect-ratio: 16 / 9;
}

@media (min-width: 701px) {
  .film-band .frame { aspect-ratio: 21 / 9; }
}

.film-band video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.film-band figcaption {
  display: flex;
  justify-content: space-between;
  margin-top: 14px;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.film-band figcaption .film-loc {
  color: var(--ash);
  font-weight: 400;
}

/* ───────────────────────── Contact photo grid (B&W, color on hover) ───────────────────────── */

.contact-stage {
  position: relative;
}

/* Absolute frame beside the form: from just under the nav to the bottom
   of the "what happens next" block */
.contact-scatter {
  position: absolute;
  top: clamp(84px, 7vw, 110px);
  bottom: clamp(80px, 12vw, 160px);
  left: 54%;
  right: var(--gutter);
  pointer-events: none;
}

.contact-scatter .cell {
  position: absolute;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  box-shadow: 0 24px 60px rgba(28, 28, 28, 0.14);
  pointer-events: auto;
  scale: 1;
  will-change: scale;
  transition: scale 0.55s var(--ease-out);
}

/* Hovered print rises above its neighbours and grows as a whole */
.contact-scatter .cell:hover {
  z-index: 10;
  scale: 1.05;
}

/* Pseudo-random sizes, tilts, and positions — prints laid out, not a grid.
   Composition top to bottom: pair, row of three, anchor pair, bottom pair. */
.contact-scatter .cell:nth-child(1) { top: 0; left: 4%; width: 42%; rotate: -2deg; }
.contact-scatter .cell:nth-child(2) { top: 6%; left: 54%; width: 32%; rotate: 1.6deg; }
.contact-scatter .cell:nth-child(4) { top: 24%; left: 0; width: 34%; rotate: 2deg; }
.contact-scatter .cell:nth-child(5) { top: 31%; left: 38%; width: 26%; rotate: -1.6deg; }
.contact-scatter .cell:nth-child(6) { top: 22%; left: 66%; width: 32%; rotate: 1.2deg; }
.contact-scatter .cell:nth-child(7) { top: 46%; left: 6%; width: 46%; rotate: -2.2deg; }
.contact-scatter .cell:nth-child(8) { top: 50%; left: 58%; width: 34%; rotate: 1.8deg; }
.contact-scatter .cell:nth-child(3) { bottom: 6%; left: 2%; width: 34%; rotate: 1.4deg; }
.contact-scatter .cell:nth-child(9) { bottom: 0; left: 46%; width: 40%; rotate: -1.4deg; }

.contact-scatter img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.06);
  transition: filter 0.7s ease;
}

.contact-scatter .cell:hover img {
  filter: none;
}

@media (max-width: 820px) {
  .contact-scatter { display: none; }
}

/* ───────────────────────── Stories (session posts) ───────────────────────── */

.stories-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(24px, 3vw, 48px);
  padding: 0 var(--gutter) clamp(100px, 14vw, 200px);
}

.story-card {
  display: block;
}

/* Middle column sits lower, echoing the contact page wall */
.story-card:nth-child(3n+2) {
  translate: 0 clamp(40px, 6vw, 96px);
}

.story-card .frame {
  overflow: hidden;
  aspect-ratio: 4 / 5;
  box-shadow: inset 0 0 0 1px rgba(28, 28, 28, 0.28);
}

.story-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  scale: 1;
  transition: scale 0.9s var(--ease-out);
}

.story-card:hover img {
  scale: 1.05;
}

.story-card figcaption {
  display: flex;
  justify-content: space-between;
  margin-top: 14px;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.story-card figcaption .story-meta {
  color: var(--ash);
  font-weight: 400;
}

@media (max-width: 900px) {
  .stories-list { grid-template-columns: repeat(2, 1fr); }
  .story-card:nth-child(3n+2) { translate: none; }
  .story-card:nth-child(2n) { translate: 0 clamp(40px, 6vw, 96px); }
}

@media (max-width: 700px) {
  .stories-list { grid-template-columns: 1fr; }
  .story-card:nth-child(2n) { translate: none; }
}

/* Story article */

.story-cover .frame {
  overflow: hidden;
  aspect-ratio: 16 / 7;
}

@media (max-width: 700px) {
  .story-cover .frame { aspect-ratio: 4 / 5; }
}

.story-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.story-body {
  padding: clamp(36px, 5vw, 64px) var(--gutter) 0;
}

.story-body p {
  max-width: 36em;
  margin-top: clamp(16px, 2vw, 24px);
  font-size: clamp(0.95rem, 1.3vw, 1.05rem);
  line-height: 1.75;
  color: var(--stone);
}

.story-gallery {
  display: flex;
  flex-direction: column;
  gap: clamp(24px, 3vw, 48px);
  padding: clamp(60px, 8vw, 120px) var(--gutter) 0;
}

.story-gallery .frame {
  overflow: hidden;
}

/* When a story has no client quote, the gallery sits directly on the bottom
   banner. Restore the breathing room the quote section would have provided. */
.story-gallery:has(+ .contact-cta) {
  padding-bottom: clamp(70px, 9vw, 140px);
}

.story-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sg-full .frame {
  aspect-ratio: 3 / 2;
}

.sg-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 3vw, 48px);
}

.sg-pair .frame {
  aspect-ratio: 4 / 5;
}

.story-quote {
  padding: clamp(70px, 9vw, 140px) var(--gutter);
  text-align: center;
}

/* Same type treatment as .review-quote / .review-name on the review sections */
.story-quote blockquote {
  max-width: 34em;
  margin: 0 auto;
  font-size: clamp(1.4rem, 2.4vw, 1.9rem);
  line-height: 1.6;
  font-weight: 400;
  color: var(--stone);
}

.story-quote .story-quote-name {
  margin-top: clamp(14px, 1.8vw, 20px);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

/* On phones, match the smaller review type used on the home page
   (.review-quote: 0.95rem / 1.8) so story quotes don't overpower. */
@media (max-width: 700px) {
  .story-quote blockquote {
    font-size: 0.95rem;
    line-height: 1.8;
  }
}

/* Story title block: tighter kicker gap so cover + names fit a laptop viewport */
.story-head .intro-label {
  margin-bottom: clamp(12px, 1.6vw, 20px);
}

/* Stories cross-links on work pages */
.stories-cta {
  margin-top: clamp(18px, 2.5vw, 28px);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.stories-cta a {
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* ───────────────────── Hand-drawn link underlines ─────────────────────
   Every clickable text link gets the same hand-sketched line as the CTAs,
   thinner to suit small text. Placed last so it overrides the plain
   text-decoration / border-bottom underlines defined above. Hovering swaps
   to a second squiggle so the line looks redrawn. */
.invest-note a,
.contact-email a,
.stories-cta a,
.post-row .read-more,
.post-cta-box a,
.post-body p a {
  position: relative;
  display: inline-block;
  text-decoration: none;
  border-bottom: none;
  padding-bottom: 5px;
}

.invest-note a::after,
.contact-email a::after,
.stories-cta a::after,
.post-row .read-more::after,
.post-cta-box a::after,
.post-body p a::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 5px;
  background: currentColor;
  -webkit-mask: var(--scribble-a) center / 100% 100% no-repeat;
  mask: var(--scribble-a) center / 100% 100% no-repeat;
}

.invest-note a:hover::after,
.contact-email a:hover::after,
.stories-cta a:hover::after,
.post-row .read-more:hover::after,
.post-cta-box a:hover::after,
.post-body p a:hover::after {
  -webkit-mask-image: var(--scribble-b);
  mask-image: var(--scribble-b);
}
