/* Daybreak — static site stylesheet.
   One file, no build step. Layout, type scale and all motion live here. */

@font-face {
  font-display: swap;
  font-family: "Outfit";
  font-style: normal;
  font-weight: 400;
  src: url("assets/fonts/outfit-v15-latin-regular.woff2") format("woff2");
}

:root {
  --navy: #232F5D;
  --purple: #9A00FF;
  --pink: #FF2FB0;
  --orange: #FF8A00;
  --yellow: #EEFF00;
  --cyan: #04B5EC;
  --paper: #FFFFFF;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

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

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: "Outfit", system-ui, sans-serif;
  font-weight: 400;
  color: var(--navy);
  background: var(--paper);
}

img, svg { display: block; max-width: 100%; }

a { color: inherit; text-decoration: none; }
a:hover { color: var(--orange); }

:focus-visible { outline: 2px solid var(--purple); outline-offset: 3px; }

h1, h2, h3, p { margin: 0; }

/* ---------- type scale ---------- */

.t-hero { font-weight: 400; font-size: clamp(40px, 4.4vw, 72px); line-height: 0.98; letter-spacing: -0.035em; text-wrap: pretty; }
.t-stmt { font-size: 40px; line-height: 0.98; letter-spacing: -0.035em; text-wrap: pretty; }
.t-sub { font-size: 32px; line-height: 1.22; letter-spacing: -0.02em; text-wrap: pretty; }
.t-lead { font-size: 24px; line-height: 1.4; }
.t-body { font-size: 16px; line-height: 1.5; }
.t-eyebrow { font-size: 12px; text-transform: uppercase; letter-spacing: 0.14em; }

/* ---------- shared blocks ---------- */

.sec { padding: 88px 56px 96px; }
.sec--tall { min-height: calc(100vh - 76px); display: flex; flex-direction: column; justify-content: center; }
.stack { display: flex; flex-direction: column; }
.gap-18 { gap: 18px; }
.gap-24 { gap: 24px; }
.gap-36 { gap: 36px; }
.gap-40 { gap: 40px; }

.bg-navy { background: var(--navy); color: var(--paper); }
.bg-paper { background: var(--paper); color: var(--navy); }
.bg-cyan { background: var(--cyan); color: var(--navy); }
.bg-yellow { background: var(--yellow); color: var(--navy); }
.bg-orange { background: var(--orange); color: var(--navy); }
.bg-purple { background: var(--purple); color: var(--paper); }

.ink-yellow { color: var(--yellow); }
.ink-cyan { color: var(--cyan); }
.ink-navy { color: var(--navy); }
.ink-paper { color: var(--paper); }
.ink-quiet-dark { color: rgba(35, 47, 93, 0.82); }
.ink-quiet-light { color: rgba(255, 255, 255, 0.84); }

.pill {
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 48px; padding: 0 34px; border-radius: 999px;
  font-size: 16px; border: 1px solid transparent;
  transition: background 440ms var(--ease), color 440ms var(--ease);
}
.pill--yellow { background: var(--yellow); color: var(--navy); }
.pill--yellow:hover { background: var(--orange); color: var(--navy); }
.pill--navy { background: var(--navy); color: var(--paper); }
.pill--navy:hover { background: var(--paper); color: var(--navy); }
.pill--outline-navy { border-color: var(--navy); color: var(--navy); }
.pill--outline-navy:hover { background: var(--navy); color: var(--orange); }

.underlink { align-self: flex-start; padding-bottom: 4px; border-bottom: 1px solid currentColor; font-size: 16px; }

/* ---------- header ---------- */

.hdr {
  position: sticky; top: 0; z-index: 60;
  display: flex; align-items: center; justify-content: space-between; gap: 48px;
  padding: 22px 56px; background: var(--cyan);
}
.hdr__mark { flex-shrink: 0; }
.hdr__mark img { height: 28px; width: auto; }
.hdr__nav { display: flex; align-items: center; gap: 36px; }
.hdr__nav a { white-space: nowrap; font-size: 16px; letter-spacing: 0.02em; color: rgba(255, 255, 255, 0.78); border-bottom: 1px solid transparent; padding-bottom: 3px; }
.hdr__nav a:hover { color: var(--paper); }
.hdr__nav a[aria-current="page"] { color: var(--paper); border-bottom-color: var(--paper); }
.hdr__cta { flex-shrink: 0; display: inline-flex; align-items: center; gap: 8px; padding: 13px 24px; border-radius: 999px; font-size: 16px; background: var(--yellow); color: var(--navy); }
.hdr__cta:hover { background: var(--paper); color: var(--navy); }

.nav-toggle { position: absolute; opacity: 0; pointer-events: none; }
.burger {
  display: none; align-items: center; justify-content: center;
  min-width: 44px; min-height: 44px; cursor: pointer;
  font-size: 16px; text-transform: uppercase; letter-spacing: 0.14em; color: var(--paper);
}
.burger .burger__close { display: none; }
.nav-panel {
  display: none; position: absolute; left: 0; right: 0; top: 100%; z-index: 80;
  background: var(--cyan); padding: 8px 20px 24px;
  flex-direction: column; gap: 4px; border-top: 1px solid rgba(255, 255, 255, 0.35);
}
.nav-panel a { display: flex; align-items: center; min-height: 48px; font-size: 16px; color: rgba(255, 255, 255, 0.86); }
.nav-panel a[aria-current="page"] { color: var(--paper); }
.nav-toggle:checked ~ .nav-panel { display: flex; }
.nav-toggle:checked ~ .burger .burger__open { display: none; }
.nav-toggle:checked ~ .burger .burger__close { display: inline; }

/* ---------- hero ---------- */

.hero {
  position: relative; overflow: hidden;
  min-height: calc(100vh - 76px);
  display: flex; align-items: center;
}
.hero__img {
  position: absolute; top: 0; bottom: 0; width: 58%; height: 100%;
  object-fit: cover;
}
.hero--img-left .hero__img {
  left: 0;
  -webkit-mask-image: linear-gradient(to right, #000 72%, rgba(0, 0, 0, 0) 100%);
  mask-image: linear-gradient(to right, #000 72%, rgba(0, 0, 0, 0) 100%);
}
.hero--img-right .hero__img {
  right: 0;
  -webkit-mask-image: linear-gradient(to left, #000 72%, rgba(0, 0, 0, 0) 100%);
  mask-image: linear-gradient(to left, #000 72%, rgba(0, 0, 0, 0) 100%);
}
.hero__copy { position: relative; z-index: 1; width: 38%; display: flex; flex-direction: column; gap: 22px; }
.hero--img-left .hero__copy { margin-left: auto; padding: 96px 56px 104px 0; }
.hero--img-right .hero__copy { margin-right: auto; padding: 96px 0 104px 56px; }

/* ---------- photographic statement bands ---------- */

.band { position: relative; height: 78vh; min-height: 600px; max-height: 840px; overflow: hidden; background: var(--navy); }
.band__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.band__img--bw { filter: grayscale(1) contrast(1.15); }
.band__scrim { position: absolute; inset: 0; background: linear-gradient(to top, rgba(14, 10, 24, 0.82) 0%, rgba(14, 10, 24, 0.62) 60%, rgba(14, 10, 24, 0.48) 100%); }
.band__copy { position: absolute; left: 56px; right: 96px; top: 96px; bottom: 88px; display: flex; align-items: center; }

/* ---------- home ---------- */

.masthead { background: var(--yellow); padding: 72px 56px 64px; display: flex; flex-direction: column; justify-content: center; gap: 48px; min-height: calc(100vh - 76px); }
.masthead__mark { width: 100%; max-width: 1328px; height: auto; }
.masthead__rule { padding-top: 40px; border-top: 1px solid var(--navy); color: var(--navy); }

.triptych { display: grid; grid-template-columns: 1fr 1.15fr 1.3fr; }
.triptych > div { display: flex; flex-direction: column; gap: 24px; padding: 72px 40px 80px; }
.triptych > div:first-child { padding-left: 56px; }
.triptych > div:last-child { padding-right: 56px; }

.values { padding-left: 140px; }
.values__label { display: block; margin-left: -84px; margin-bottom: 40px; }
.value { position: relative; display: grid; grid-template-columns: 1fr 1.15fr; gap: 48px; align-items: start; padding: 40px 0; border-top: 1px solid rgba(255, 255, 255, 0.32); }
.value__n { position: absolute; left: -140px; top: 30px; font-size: 40px; line-height: 1; letter-spacing: -0.05em; color: var(--pink); }

/* ---------- how we're built ---------- */

.layers { padding-left: 148px; }
.layers__lead { margin: 24px 0 72px -92px; max-width: 34ch; }
.layer { position: relative; padding: 44px 0; border-top: 1px solid rgba(35, 47, 93, 0.24); }
.layer__n { position: absolute; left: -148px; top: 34px; width: 150px; font-size: 40px; line-height: 1; letter-spacing: -0.05em; color: var(--orange); }
.layer__grid { display: grid; grid-template-columns: 0.7fr 1.3fr; gap: 56px; align-items: baseline; }

/* ---------- how we work together ---------- */

.split { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 56px; align-items: start; }
.chips { display: flex; flex-wrap: wrap; gap: 14px 28px; padding-top: 34px; border-top: 1px solid rgba(35, 47, 93, 0.32); }
.chip { display: inline-flex; align-items: baseline; gap: 9px; font-size: 24px; letter-spacing: -0.01em; }
.chip span { font-size: 16px; }
.pair { display: grid; grid-template-columns: repeat(2, 1fr); gap: 64px; }
.pair__col { display: flex; flex-direction: column; gap: 18px; padding-top: 30px; border-top: 1px solid rgba(35, 47, 93, 0.32); }
.pair--light .pair__col { border-top-color: rgba(255, 255, 255, 0.32); }
.ruled-top { padding-top: 30px; border-top: 1px solid rgba(35, 47, 93, 0.32); }
.ruled-top--light { border-top-color: rgba(255, 255, 255, 0.32); }

/* the "already have an agency" pair, as two always-visible cards (was a JS toggle) */
.variant { display: flex; flex-direction: column; gap: 14px; padding: 28px 30px; border: 1px solid rgba(255, 255, 255, 0.32); border-radius: 0; }

/* ---------- the people ---------- */

.founders { display: grid; grid-template-columns: repeat(2, 1fr); gap: 64px; }
.founder { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 28px; }
.founder p { text-wrap: pretty; }
.lens {
  width: 300px; height: 300px; max-width: 100%; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.4);
  display: flex; align-items: center; justify-content: center; text-align: center;
  color: rgba(255, 255, 255, 0.6);
}
img.lens { object-fit: cover; object-position: center 22%; padding: 0; }

.gallery { display: flex; flex-direction: column; gap: 20px; width: 100%; }
.gallery__row { display: flex; gap: 20px; width: 100%; }
.tile { position: relative; display: block; min-width: 0; overflow: hidden; color: inherit; }
.tile:hover { color: inherit; }
.tile__media { position: relative; overflow: hidden; background: rgba(35, 47, 93, 0.35); container-type: inline-size; }
.tile__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tile__wash { position: absolute; inset: 0; background: linear-gradient(to top, rgba(35, 47, 93, 0.78), rgba(35, 47, 93, 0.1) 55%, rgba(35, 47, 93, 0)); }
.tile__name { position: absolute; left: 20px; right: 20px; bottom: 18px; font-size: 24px; line-height: 1.1; letter-spacing: -0.02em; color: var(--paper); }
.tile__panel {
  position: absolute; inset: 0; z-index: 2;
  background: rgba(35, 47, 93, 0.94); padding: 16px;
  display: flex; flex-direction: column; justify-content: center; gap: 8px;
  overflow: hidden; container-type: inline-size;
  transform: translateY(101%);
  transition: transform 920ms var(--ease);
}
.tile:hover .tile__panel, .tile:focus-visible .tile__panel { transform: translateY(0); }
.tile__panel p { font-size: clamp(12px, 5.4cqi, 15px); line-height: 1.34; color: rgba(255, 255, 255, 0.9); text-wrap: pretty; }

/* CSS-only lightbox: each tile links to #work-n */
.lightbox { display: none; }
.lightbox:target {
  position: fixed; inset: 0; z-index: 200;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 24px; padding: 56px; background: rgba(15, 20, 40, 0.95);
  animation: fade 440ms var(--ease) both;
}
.lightbox__img { width: min(1100px, 82vw); max-height: 60vh; object-fit: contain; }
.lightbox__cap { max-width: 60ch; text-align: center; display: flex; flex-direction: column; gap: 10px; color: var(--paper); }
.lightbox__close { position: absolute; top: 28px; right: 32px; padding: 12px 22px; background: var(--yellow); color: var(--navy); font-size: 16px; text-transform: uppercase; letter-spacing: 0.06em; }
.lightbox__nav { display: flex; gap: 12px; }
.lightbox__nav a { padding: 12px 26px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, 0.4); color: var(--paper); font-size: 16px; }
.lightbox__nav a:hover { background: var(--paper); color: var(--navy); }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }

/* ---------- let's talk ---------- */

.contact { position: relative; overflow: hidden; background: #fe6c1e; min-height: calc(100vh - 76px); display: flex; flex-direction: column; justify-content: center; gap: 40px; padding: 132px 56px 148px; }
.contact__img { position: absolute; top: 0; bottom: 0; right: 0; width: 58%; height: 100%; object-fit: cover; object-position: 50% 0%; }
.contact h1, .contact form { position: relative; }
.contact__title { max-width: 11ch; width: 38%; line-height: 0.96; letter-spacing: -0.04em; }
.contact form { width: 38%; max-width: 460px; display: flex; flex-direction: column; gap: 22px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field input, .field textarea {
  width: 100%; background: transparent; border: 0; border-bottom: 1px solid rgba(35, 47, 93, 0.45);
  padding: 9px 0; font-family: inherit; font-size: 16px; color: var(--navy); outline: none;
}
.field textarea { resize: vertical; line-height: 1.35; }
.field input:focus, .field textarea:focus { border-bottom-color: var(--navy); }
.send {
  align-self: flex-start; margin-top: 18px;
  display: inline-flex; align-items: center; gap: 10px; min-height: 48px;
  background: var(--navy); color: var(--yellow); border: 0; border-radius: 999px;
  padding: 0 34px; font-family: inherit; font-size: 16px; letter-spacing: 0.02em; cursor: pointer;
  transition: background 440ms var(--ease), color 440ms var(--ease);
}
.send:hover { background: var(--cyan); color: var(--navy); }

/* ---------- legal pages ---------- */

.legal { padding: 88px 56px 112px; max-width: 980px; display: flex; flex-direction: column; gap: 56px; }
.legal section { display: flex; flex-direction: column; gap: 18px; }
.legal p, .legal li { max-width: 72ch; font-size: 16px; line-height: 1.6; color: rgba(35, 47, 93, 0.86); }
.legal ul { margin: 0; padding-left: 22px; display: flex; flex-direction: column; gap: 10px; }
.legal a { border-bottom: 1px solid rgba(35, 47, 93, 0.4); }

/* ---------- footer ---------- */

.ftr { background: var(--navy); color: var(--paper); padding: 64px 48px 40px; }
.ftr__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 64px; flex-wrap: wrap; }
.ftr__mark { width: 196px; height: auto; }
.ftr__cols { display: flex; gap: 56px; flex-wrap: wrap; }
.ftr__col { display: flex; flex-direction: column; gap: 12px; }
.ftr__col .t-eyebrow { color: rgba(255, 255, 255, 0.32); }
.ftr__col a, .ftr__col span:not(.t-eyebrow) { font-size: 16px; color: rgba(255, 255, 255, 0.78); }
.ftr__col a:hover { color: var(--yellow); }
.ftr__bottom { margin-top: 56px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, 0.32); display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.ftr__bottom span { font-size: 16px; color: rgba(255, 255, 255, 0.4); }
.ftr__bottom nav { display: flex; gap: 24px; flex-wrap: wrap; }
.ftr__bottom nav a { font-size: 16px; color: rgba(255, 255, 255, 0.78); }
.ftr__bottom nav a:hover { color: var(--yellow); }

/* ---------- motion ----------
   Reveals are time-based and triggered by site.js when a section is 78% down
   the viewport. The hidden states below only apply once that script has run, so
   a browser with JavaScript off shows the page normally. */

html[data-reveal-js] .reveal-clip { overflow: hidden; }
html[data-reveal-js] .reveal:not(.is-in) { opacity: 0; transform: translateY(-32px); }
html[data-reveal-js] .reveal-clip > .reveal:not(.is-in) { transform: translateY(-101%); }
html[data-reveal-js] .reveal.is-in {
  animation: reveal-rise 1450ms var(--ease) both;
  animation-delay: var(--reveal-delay, 0ms);
}
html[data-reveal-js] .reveal-clip > .reveal.is-in { animation-name: reveal-slide; }

@keyframes reveal-rise {
  from { opacity: 0; transform: translateY(-32px); }
  22% { opacity: 1; }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes reveal-slide {
  from { transform: translateY(-101%); }
  to { transform: translateY(0); }
}

/* ---------- mobile ---------- */

@media (max-width: 860px) {
  .hdr { padding: 14px 20px; gap: 14px; }
  .hdr__nav, .hdr__cta { display: none; }
  .burger { display: inline-flex; }

  .sec { padding: 56px 24px 64px; }
  .masthead { padding: 48px 24px 56px; gap: 32px; }
  .legal { padding: 56px 24px 72px; }
  .ftr { padding: 56px 24px 32px; }
  .ftr__cols { gap: 32px; }

  .t-hero { font-weight: 400; font-size: clamp(26px, 6.8vw, 34px); }
  .t-stmt { font-size: 27px; }
  .t-sub { font-size: 22px; }
  .t-lead { font-size: 18px; }

  .triptych { grid-template-columns: minmax(0, 1fr); }
  .triptych > div { padding: 48px 24px 56px; }

  .split, .pair, .founders, .layer__grid, .value { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .value { padding: 28px 0; }
  .values { padding-left: 24px; }
  .values__label { margin-left: 0; }
  .value__n { position: static; margin-bottom: 4px; font-size: 27px; }

  .layers { padding-left: 24px; }
  .layers__lead { margin: 0 0 40px; }
  .layer__n { position: static; width: auto; margin-bottom: 8px; font-size: 27px; }

  /* heroes: photo full-bleed, copy in a column on the flat side of the picture */
  .hero { min-height: calc(100svh - 64px); }
  .hero__img { width: 100%; left: 0; right: auto; -webkit-mask-image: none; mask-image: none; }
  .hero__copy, .hero--img-left .hero__copy, .hero--img-right .hero__copy {
    position: absolute; right: 0; left: auto; width: 50%;
    margin: 0; padding: 0 20px 0 0; z-index: 2;
  }
  .hero--copy-low .hero__copy { top: 54%; }
  .hero--copy-high .hero__copy { top: 15%; }

  .band { height: auto; min-height: 76svh; max-height: none; }
  .band__scrim { background: linear-gradient(to top, rgba(10, 14, 32, 0.92) 0%, rgba(10, 14, 32, 0.78) 100%); }
  .band__copy { left: 24px; right: 24px; top: 0; bottom: 0; max-width: none; padding: 72px 0; }

  /* gallery: one tile per row, copy printed under the picture (no hover on touch) */
  .gallery, .gallery__row { flex-direction: column; gap: 28px; }
  .tile { flex: none !important; overflow: visible; }
  .tile__panel {
    position: static; transform: none; background: transparent;
    padding: 14px 0 0; gap: 6px;
  }
  .tile__panel p { font-size: 15px; line-height: 1.45; }
  .lightbox:target { padding: 24px; gap: 18px; }
  .lightbox__img { width: 100%; max-height: 46svh; }
  .lightbox__close { top: 16px; right: 16px; }

  .contact { padding: 0 0 72px; min-height: 0; display: block; }
  .contact__img { position: relative; width: 100%; height: 46svh; object-position: 46% 10%; }
  .contact__title { margin: 32px 24px 0; max-width: none; width: auto; }
  .contact form { width: auto; max-width: none; margin: 28px 24px 0; }
}

/* per-page hero crops — desktop framing, then the mobile framing that keeps the face clear */
.hero__img--home { object-position: 32% center; }
.hero__img--built { object-position: 46% center; }
.hero__img--together { object-position: 52% center; }
.hero__img--people { object-position: 0% 22%; }
@media (max-width: 860px) {
  .hero__img--home { object-position: 46% center; }
  .hero__img--built { object-position: 71% center; }
  .hero__img--together { object-position: 74% center; }
  .hero__img--people { object-position: 29% center; }
}
.hero--people { background: linear-gradient(to bottom, #fa510d 0%, #f89301 52%, #f0ae00 100%); }
.hero--built { background: #003266; }
.hero--together { background: #fa2b00; }
.hero--together .hero__img { -webkit-mask-image: none; mask-image: none; }
.hero--home { background: var(--pink); height: 860px; }
@media (max-width: 860px) { .hero--home { height: auto; } }

/* the five nav labels are long — collapse to the menu button before they wrap */
@media (max-width: 1080px) {
  .hdr { padding: 14px 20px; gap: 14px; }
  .hdr__nav, .hdr__cta { display: none; }
  .burger { display: inline-flex; }
}


/* ---------- iPhone / small-screen hero fix (18 Sep 2026) ----------
   The mobile heroes used to place .hero__copy absolutely (top: 15%/54%, width: 50%)
   over a full-bleed photograph. Absolute copy contributes no height, so on a narrow
   iOS viewport — where the headline wraps to far more lines than it does in a desktop
   preview, and Safari's toolbar keeps changing the viewport height the percentages are
   measured against — the text ran straight down over the picture, and the Home hero
   (height: auto) collapsed to the photo's height with the copy spilling out below it.
   Here the two stack in normal flow instead, so an overlap is not possible at any
   width or type size. The photo's bottom edge is masked so it still dissolves into
   the section's ground colour, and the copy is pulled up into that dissolve. */
@media (max-width: 860px) {
  .hero, .hero--home { display: block; height: auto; min-height: 0; }
  .hero .hero__img {
    position: static; width: 100%; height: auto; aspect-ratio: 4 / 3;
    -webkit-mask-image: linear-gradient(to bottom, #000 72%, rgba(0, 0, 0, 0) 100%);
    mask-image: linear-gradient(to bottom, #000 72%, rgba(0, 0, 0, 0) 100%);
  }
  .hero .hero__copy {
    position: static; width: 100%; max-width: none;
    margin: -40px 0 0; padding: 0 20px 44px;
  }
  .hero .hero__copy > * { max-width: none; }
}

/* The six layers read as a wrapping row on desktop; at phone widths only some
   pairs fit, so they ragged into uneven lines. One per line below 860px. */
@media (max-width: 860px) {
  .chips { flex-direction: column; gap: 14px; }
  .chip { font-size: 22px; }
}
