/* ==========================================================================
   flamingo.works — design system
   Brand: Poppins italic display, per-project color chips, studio yellow.
   ========================================================================== */

:root {
  --font-display: 'Poppins', sans-serif;
  --font-body: 'Poppins', sans-serif;
  --font-mono: 'DM Mono', 'SFMono-Regular', Menlo, monospace;
  --font-worksans: 'Work Sans', sans-serif;

  --paper: #ffffff;
  --ink: #171717;
  --ink-soft: #6f6f6f;
  --line: #e7e7e4;
  --wash: #f6f6f4;
  --dark: #262626;
  --yellow: #edbc1c;
  --chip: #a8dc28;

  --container: 1240px;
  --gutter: clamp(20px, 4vw, 56px);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.75;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; }
::selection { background: var(--yellow); color: var(--ink); }

/* --------------------------------------------------------------- utilities */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}
.eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.display {
  font-family: var(--font-display);
  font-weight: 800;
  font-style: italic;
  text-transform: uppercase;
  letter-spacing: -.01em;
  line-height: 1.02;
}

/* ------------------------------------------------------------------ header */
.site-header { position: static; }

/* CSS flamingo mark — white blocks + difference blend, applied directly on the
   fixed element (a positioned wrapper would isolate the blend and break it):
   renders black on light backgrounds, white on dark. */
.fw-logo {
  position: fixed;
  top: 20px;
  left: clamp(16px, 2.5vw, 40px);
  z-index: 901;
  display: block;
  width: 70px; height: 100px;
  transition: width .3s, height .3s;
  mix-blend-mode: difference;
  isolation: isolate;
}
body.scrolled .fw-logo { width: 50px; height: 72px; }
.fw-logo .b { position: absolute; background: #fff; }
/* geometry + corner rounding exactly as arranged in the Figma master */
.fw-logo .b1 { left: 50%;    top: 0;      width: 50%;    height: 20.4%; border-radius: 0 5px 3.75px 0; }
.fw-logo .b2 { left: 0;      top: 20.4%;  width: 50%;    height: 20.4%; border-radius: 5px 0 0 5px; }
.fw-logo .b3 { left: 50%;    top: 40.9%;  width: 50%;    height: 20.4%; border-radius: 0 5px 5px 0; }
.fw-logo .b4 { left: 20.9%;  top: 61.3%;  width: 29.1%;  height: 38.7%; border-radius: 0 0 5px 5px; }
/* one tight, confident pulse toward the seam and back */
@keyframes fw-a1 { 0% {transform:none} 30% {transform:translate(26px,-10px); opacity:.4} 31% {opacity:.4} 100% {transform:none; opacity:1} }
@keyframes fw-a2 { 0% {transform:none} 30% {transform:translate(-26px,-6px); opacity:.4} 31% {opacity:.4} 100% {transform:none; opacity:1} }
@keyframes fw-a3 { 0% {transform:none} 30% {transform:translate(22px,10px); opacity:.4} 31% {opacity:.4} 100% {transform:none; opacity:1} }
@keyframes fw-a4 { 0% {transform:none} 30% {transform:translate(-8px,24px); opacity:.4} 31% {opacity:.4} 100% {transform:none; opacity:1} }
.fw-logo:hover .b1 { animation: fw-a1 .6s cubic-bezier(.18,1.5,.3,1) 1; }
.fw-logo:hover .b2 { animation: fw-a2 .6s cubic-bezier(.18,1.5,.3,1) .07s 1; }
.fw-logo:hover .b3 { animation: fw-a3 .6s cubic-bezier(.18,1.5,.3,1) .14s 1; }
.fw-logo:hover .b4 { animation: fw-a4 .6s cubic-bezier(.18,1.5,.3,1) .21s 1; }

/* menu button */
.menu-btn {
  position: fixed;
  top: 29px;
  right: clamp(16px, 2.1vw, 30px);
  z-index: 901;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #f9d94b;
  color: var(--ink);
  border: 0;
  padding: 9px 18px;
  cursor: pointer;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: .14em;
  text-transform: uppercase;
  transition: transform .2s, background .2s;
}
.menu-btn:hover { background: var(--ink); color: #fff; }
.menu-btn:hover .mb-l { background: #fff; }
.mb-box { display: inline-flex; flex-direction: column; gap: 4px; }
.mb-l { display: block; width: 16px; height: 1.5px; background: var(--ink); transition: transform .3s, opacity .3s; }
body.menu-open .mb-l:nth-child(1) { transform: translateY(3px) rotate(45deg); }
body.menu-open .mb-l:nth-child(2) { transform: translateY(-3px) rotate(-45deg); }
body.menu-open .menu-btn { background: #f9d94b; color: var(--ink); }
body.menu-open .menu-btn .mb-l { background: var(--ink); }

/* fullscreen overlay menu */
.menu-overlay {
  position: fixed;
  inset: 0;
  z-index: 800;
  background: #141414;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 clamp(24px, 8vw, 140px);
  clip-path: inset(0 0 100% 0);
  transition: clip-path .6s cubic-bezier(.76, 0, .24, 1);
}
body.menu-open .menu-overlay { clip-path: inset(0 0 0% 0); }
.mo-nav a {
  display: flex;
  align-items: baseline;
  gap: 26px;
  text-decoration: none;
  color: #fff;
  font-family: var(--font-display);
  font-weight: 800;
  font-style: italic;
  text-transform: uppercase;
  font-size: clamp(40px, 7.5vw, 96px);
  line-height: 1.14;
  opacity: 0;
  transform: translateY(40px);
  transition: opacity .5s, transform .6s cubic-bezier(.16, 1, .3, 1), color .25s;
  transition-delay: 0s;
}
body.menu-open .mo-nav a {
  opacity: 1;
  transform: none;
  /* stagger only the entrance (opacity, transform) — hover color reacts instantly */
  transition-delay: calc(.25s + var(--i) * .09s), calc(.25s + var(--i) * .09s), 0s;
}
.mo-nav a em {
  font-family: var(--font-mono);
  font-style: normal;
  font-weight: 400;
  font-size: 13px;
  letter-spacing: .14em;
  color: rgba(255, 255, 255, .4);
}
.mo-nav a:hover { color: var(--yellow); }
.mo-nav a:hover em { color: var(--yellow); }
.mo-nav a:hover span { transform: translateX(14px); }
.mo-nav a span { display: inline-block; transition: transform .35s cubic-bezier(.16, 1, .3, 1); }
.mo-foot {
  margin-top: clamp(30px, 6vh, 70px);
  display: flex;
  flex-wrap: wrap;
  gap: 20px 40px;
  align-items: center;
  opacity: 0;
  transition: opacity .5s .5s;
}
body.menu-open .mo-foot { opacity: 1; }
.mo-foot a {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .65);
  text-decoration: none;
}
.mo-foot a:hover { color: var(--yellow); }
.mo-soc { display: flex; gap: 22px; }

/* -------------------------------------------------------------- home hero */
.home-hero {
  position: relative;
  margin-bottom: clamp(30px, 4.5vw, 70px);
  min-height: 92vh;
  display: flex;
  align-items: center;
  background: var(--wash);
  overflow: hidden;
}
.home-hero .bg {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: .34;
}
.home-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(255,255,255,.75) 0%, rgba(255,255,255,.25) 55%, rgba(255,255,255,0) 80%);
  pointer-events: none;
}
.home-hero .copy {
  position: relative;
  z-index: 1;
  padding: 0 var(--gutter);
  max-width: 1400px;
  width: 100%;
  margin: 0 auto;
  text-align: left;
}
.home-hero .eyebrow-lg {
  font-family: var(--font-mono);
  font-size: clamp(13px, 1.4vw, 20px);
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: clamp(20px, 3vw, 36px);
}
.home-hero .hero-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-style: italic;
  text-transform: uppercase;
  font-size: clamp(64px, 8.4vw, 120px);
  letter-spacing: -.1em;
  line-height: .8;
  color: #1a1a1a;
}
.home-hero .hero-title .yw { color: #ffd412; }
.home-hero .tagline-mono {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: clamp(13px, 1.4vw, 20px);
  letter-spacing: .3em;
  color: var(--ink);
  line-height: 1.18;
  margin-top: -1.15em;
  margin-left: clamp(40px, 7vw, 100px);
  position: relative;
  z-index: 1;
}
.home-hero .tagline-mono em { font-style: italic; }
.hero-ideas {
  position: absolute;
  z-index: 1;
  left: 50%;
  top: 64%;
  font-family: var(--font-mono);
  font-size: clamp(12px, 1.4vw, 20px);
  letter-spacing: .3em;
  line-height: 1.55;
  color: var(--ink);
  white-space: pre-line;
}
.hero-ideas .k {
  position: relative;
  z-index: 1;
  padding: 3px 10px 3px clamp(14px, 2.4vw, 34px);
  margin-left: calc(-1 * clamp(14px, 2.4vw, 34px));
}
.hero-ideas .k::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: #f9d94b;
  transform: translateX(var(--kx, 0px));
  will-change: transform;
}
@media (max-width: 900px) {
  .hero-ideas { position: static; margin: 40px var(--gutter) 0; }
  .home-hero { flex-direction: column; justify-content: center; }
}
.home-hero .hero-base {
  position: absolute;
  z-index: 1;
  left: clamp(24px, 3vw, 56px); right: clamp(24px, 3vw, 56px); bottom: 22px;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 20px;
  flex-wrap: wrap;
}
.home-hero .tagline {
  margin-top: clamp(24px, 3vw, 42px);
  font-size: clamp(22px, 3.4vw, 46px);
  font-weight: 500;
  letter-spacing: -.03em;
  line-height: 1.25;
}
.home-hero .tagline .tag-chip { font-weight: 700; }
.tag-chip {
  background: var(--yellow);
  font-style: italic;
  font-weight: 600;
  padding: .04em .28em;
}
.home-hero .hero-sub {
  font-family: var(--font-mono);
  font-size: clamp(10px, 1vw, 12px);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.home-hero .scroll-hint { position: static; transform: none; }
.f-ghost { will-change: transform; }
.home-hero .hero-line { opacity: 0; transform: translateY(30px); transition: opacity .8s, transform .9s cubic-bezier(.16,1,.3,1); transition-delay: calc(.1s + var(--d) * .11s); }
body.hero-in .home-hero .hero-line { opacity: 1; transform: none; }
.home-hero .scroll-hint {
  position: absolute;
  bottom: 26px; left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

/* ------------------------------------------------------------ section head */
.section-head {
  display: flex;
  align-items: baseline;
  gap: 22px;
  padding: 64px var(--gutter) 26px;
  max-width: none;
}
.section-head h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-style: italic;
  text-transform: uppercase;
  font-size: clamp(28px, 3.4vw, 46px);
  line-height: 1;
}

/* -------------------------------------------------------------------- grid */
.grid-wrap { padding: 0 clamp(10px, 1.2vw, 18px) 18px; }
.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.tile {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  background: var(--wash);
}
.tile img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .55s cubic-bezier(.2, .6, .2, 1);
}
.tile:hover img { transform: scale(1.045); }
.tile::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(14, 14, 14, .66);
  opacity: 0;
  transition: opacity .25s;
}
.tile:hover::after { opacity: 1; }
.tile .tile-label {
  position: absolute;
  left: 22px; right: 22px; bottom: 20px;
  z-index: 2;
  color: #fff;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .3s, transform .45s cubic-bezier(.16, 1, .3, 1);
}
.tile:hover .tile-label { opacity: 1; transform: none; }
.tile .tile-label h3 {
  font-family: var(--font-display);
  font-weight: 800;
  font-style: italic;
  text-transform: uppercase;
  font-size: clamp(19px, 1.8vw, 26px);
  line-height: 1.15;
}
.tile .tile-label p {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 10.5px;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-top: 4px;
  color: rgba(255, 255, 255, .8);
}

/* -------------------------------------------------------------- dark band */
.dark-band {
  position: relative;
  overflow: hidden;
  background: var(--dark);
  color: #fff;
  text-align: center;
  padding: clamp(70px, 9vw, 130px) var(--gutter);
  margin: clamp(30px, 4.5vw, 70px) 0;
}
.db-ghost {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: .1;
  mix-blend-mode: screen;
  pointer-events: none;
}
.dark-band .lines, .dark-band .aside { position: relative; }
.dark-band .lines {
  font-size: clamp(22px, 3vw, 40px);
  font-weight: 200;
  line-height: 1.45;
}
.dark-band .lines em {
  font-style: italic;
  font-weight: 600;
}
.dark-band .aside {
  margin-top: 26px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .55);
}

/* ------------------------------------------------------------ project hero */
.p-hero {
  position: relative;
  height: 74vh;
  min-height: 420px;
  overflow: hidden;
}
.p-hero img.bg {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.p-hero.no-image { background: var(--wash); height: 46vh; }
.p-hero .chips {
  position: absolute;
  left: clamp(20px, 6vw, 90px);
  bottom: clamp(28px, 6vh, 64px);
  max-width: 80%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
}
.chip-title {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 800;
  font-style: italic;
  text-transform: uppercase;
  font-size: clamp(26px, 3.4vw, 46px);
  line-height: 1.15;
  color: #fff;
  background: var(--chip);
  padding: .1em .35em;
}
.chip-sub {
  display: inline-block;
  font-weight: 400;
  font-size: clamp(14px, 1.5vw, 19px);
  color: #fff;
  background: var(--chip);
  padding: .2em .55em;
  margin-top: 0;
}

/* ------------------------------------------------------------ project intro */
.p-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(220px, .8fr);
  gap: clamp(30px, 6vw, 90px);
  padding-top: clamp(56px, 8vw, 110px);
  padding-bottom: clamp(56px, 8vw, 110px);
  align-items: start;
}
.p-intro .desc p { margin-bottom: 1.2em; max-width: 640px; }
.p-intro .desc p:last-child { margin-bottom: 0; }
.p-intro .side { text-align: left; }
.p-intro .side img { max-width: 200px; max-height: 110px; object-fit: contain; }
.p-intro .side a.ext {
  display: inline-block;
  margin-top: 18px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--ink);
  text-decoration: none;
  padding-bottom: 2px;
}

/* -------------------------------------------------------------- meta band */
.p-meta {
  background: var(--wash);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.p-meta .inner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 34px clamp(24px, 4vw, 60px);
  padding-top: 54px;
  padding-bottom: 54px;
}
.p-meta h4 {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 10px;
}
.p-meta p { font-size: 15px; line-height: 1.7; }

/* ------------------------------------------------------------------ media */
.p-media { padding-top: clamp(40px, 6vw, 80px); padding-bottom: 30px; }
.m-row {
  display: flex;
  gap: 14px;
  margin-bottom: 14px;
  align-items: stretch;
}
.m-row > div { min-width: 0; }
.m-row img, .m-row video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.m-row .video-frame { width: 100%; aspect-ratio: 16 / 9; border: 0; }

/* ---------------------------------------------------------------- nextprev */
.p-next {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--line);
  margin-top: clamp(50px, 7vw, 90px);
}
.p-next a {
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 34px var(--gutter);
  text-decoration: none;
  transition: background .2s;
}
.p-next a { background: #fafaf7; }
.p-next a:hover { background: rgba(249, 217, 75, .28); color: var(--ink); }
.p-next a:hover .lbl { color: rgba(23, 23, 23, .55); }
.p-next a.next { justify-content: flex-end; text-align: right; border-left: 1px solid var(--line); }
.p-next img { width: 84px; height: 84px; object-fit: cover; }
.p-next .lbl { font-family: var(--font-mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); }
.p-next .name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 18px;
  margin-top: 4px;
}

/* ------------------------------------------------------------------ footer */
.site-footer {
  position: relative;
  overflow: hidden;
  background: var(--yellow);
  margin-top: clamp(50px, 7vw, 90px);
  padding: clamp(56px, 7vw, 100px) var(--gutter) 40px;
  color: var(--ink);
}
.f-ghost {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: .16;
  mix-blend-mode: multiply;
  pointer-events: none;
}
.site-footer .cols, .site-footer .base { position: relative; }
.site-footer .cols {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(36px, 6vw, 100px);
  align-items: start;
}
.site-footer .pitch h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-style: italic;
  text-transform: uppercase;
  font-size: clamp(34px, 4.6vw, 64px);
  line-height: 1.05;
}
.site-footer .pitch p { margin-top: 20px; max-width: 380px; }
.site-footer .pitch .f-email:hover { background: var(--ink); color: var(--yellow); border-bottom-color: var(--ink); }
.site-footer .pitch .f-email {
  display: inline-block;
  margin-top: 26px;
  font-family: var(--font-mono);
  font-size: 14px;
  letter-spacing: .04em;
  color: var(--ink);
  border-bottom: 2px solid var(--ink);
  text-decoration: none;
  padding-bottom: 2px;
}
.site-footer form {
  display: grid;
  gap: 14px;
  background: rgba(255, 255, 255, .5);
  padding: clamp(24px, 3vw, 40px);
  max-width: 520px;
  justify-self: end;
  width: 100%;
  margin-top: clamp(30px, 8vh, 90px);
}
.site-footer label {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 10.5px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #4d4d4d;
}
.site-footer input,
.site-footer textarea {
  width: 100%;
  border: 0;
  border-bottom: 1.5px solid rgba(26, 26, 26, .35);
  background: transparent;
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 15px;
  padding: 8px 0 10px;
  color: var(--ink);
  outline: none;
  border-radius: 0;
}
.site-footer input:focus, .site-footer textarea:focus { border-bottom-color: var(--ink); }
.site-footer input::placeholder, .site-footer textarea::placeholder { color: rgba(23, 23, 23, .45); }
.site-footer textarea { height: 110px; resize: vertical; }
.site-footer button {
  justify-self: stretch;
  text-align: center;
  font-weight: 500;
  margin-top: 8px;
  background: var(--ink);
  color: #fff;
  border: 0;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 14px 26px;
  cursor: pointer;
  transition: opacity .2s;
}
.site-footer button:hover { opacity: .82; }
.form-note { display: none; font-size: 14px; margin-top: 8px; }

.site-footer .base {
  max-width: var(--container);
  margin: clamp(46px, 6vw, 80px) auto 0;
  padding-top: 24px;
  border-top: 1px solid rgba(23, 23, 23, .25);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.site-footer .base nav { display: flex; gap: 22px; }
.site-footer .base a {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
  text-decoration: none;
}
.site-footer .base a:hover { border-bottom: 1px solid var(--ink); }
.site-footer .socials { display: flex; gap: 16px; align-items: center; }
.site-footer .socials img { width: 20px; height: 20px; }

/* ------------------------------------------------------------------ we-are */
.wa-hero {
  position: relative;
  height: 78vh;
  min-height: 420px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--wash);
}
.wa-hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .24; }
.wa-hero-sketch { position: absolute; right: 0; top: 0; width: 50%; height: 100%; object-fit: cover; opacity: .5; }
.wa-hero-copy { position: relative; text-align: center; padding: 0 var(--gutter); }

.wa-row {
  display: flex;
  align-items: center;
  min-height: 560px;
  margin-bottom: clamp(50px, 7vw, 110px);
}
.wa-rows { margin-top: clamp(50px, 7vw, 110px); }
.wa-row .wa-text {
  width: 42%;
  padding: 60px clamp(30px, 5vw, 80px);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}
.wa-row .wa-text h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-style: italic;
  text-transform: uppercase;
  font-size: clamp(22px, 2.2vw, 30px);
  line-height: 1.2;
}
.wa-row .wa-text p { margin-top: 20px; font-size: 15px; max-width: 420px; }
.wa-row .wa-photo { width: 58%; align-self: stretch; }
.wa-row .wa-photo img { width: 100%; height: 100%; min-height: 560px; object-fit: cover; }
.wa-icon { margin-top: 28px; max-height: 90px; width: auto; max-width: 60%; object-fit: contain; }
.wa-num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .14em;
  color: var(--ink-soft);
  margin-bottom: 14px;
}

.wa-team, .wa-clients, .wa-closing {
  padding: clamp(70px, 8vw, 110px) var(--gutter) 30px;
  text-align: center;
  border-top: 1px solid var(--line);
}
.wa-team h1, .wa-clients h1, .wa-closing h1 {
  font-family: var(--font-display);
  font-weight: 800;
  font-style: italic;
  text-transform: uppercase;
  font-size: clamp(26px, 3vw, 40px);
}
.wa-people { display: flex; justify-content: center; gap: 90px; margin-top: 50px; }
.wa-people figure img { width: 150px; height: 150px; border-radius: 50%; object-fit: cover; margin: 0 auto; filter: grayscale(1); transition: filter .35s; }
.wa-people figure:hover img { filter: none; }
.wa-people figcaption { margin-top: 16px; }
.wa-people strong { display: block; font-weight: 600; font-size: 16px; }
.wa-people span { font-family: var(--font-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); }
.wa-logos {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px 60px;
  align-items: center;
  max-width: 1000px;
  margin: 50px auto 0;
}
.wa-logos img { height: 64px; width: 100%; object-fit: contain; margin: 0 auto; filter: grayscale(1); opacity: .75; transition: filter .2s, opacity .2s; }
.wa-logos img:hover { filter: none; opacity: 1; }
.wa-closing img { width: 100%; margin-top: 44px; }
.wa-closing h2 { font-weight: 200; font-size: clamp(17px, 2vw, 22px); margin-top: 16px; }
.wa-closing .eyebrow { margin-top: 8px; }

/* ------------------------------------------------------------- misc pages */
.page-plain { padding-top: 150px; }
.page-plain .container { max-width: 860px; }
.page-plain h1 {
  font-family: var(--font-display);
  font-weight: 800;
  font-style: italic;
  text-transform: uppercase;
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.1;
}
.page-plain .body { margin-top: 34px; }
.page-plain .body p { margin-bottom: 1.1em; }

video { max-width: 100%; }
.video-frame { width: 100%; aspect-ratio: 16 / 9; border: 0; }

/* ------------------------------------------------------------- responsive */
@media (max-width: 980px) {
  .grid { grid-template-columns: repeat(2, 1fr); }
  .p-intro { grid-template-columns: 1fr; }
  .site-footer .cols { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .site-nav a { padding: 8px 10px; font-size: 10.5px; }
  .site-header .logo img { width: 56px; }
  .wa-row, .wa-row.flip { flex-direction: column; min-height: 0; }
  .wa-row .wa-text, .wa-row .wa-photo { width: 100%; }
  .wa-row .wa-photo img { min-height: 0; height: auto; }
  .wa-people { gap: 40px; flex-wrap: wrap; }
  .wa-logos { grid-template-columns: repeat(2, 1fr); }
  .m-row { flex-direction: column; }
  .m-row > div { width: 100% !important; }
  .p-next { grid-template-columns: 1fr; }
  .p-next a.next { border-left: 0; border-top: 1px solid var(--line); }
  .p-hero { height: 56vh; }
}
@media (max-width: 560px) {
  .grid { grid-template-columns: 1fr; }
}


/* ---------------------------------------------------------- editor canvas */
.cms-scale { width: 100%; overflow: hidden; }
.cms-canvas { width: 1440px; position: relative; }

/* ------------------------------------------------------- we-are motion */
.wa-hero { position: relative; height: 100vh; min-height: 520px; }
.wa-hero-bg, .wa-hero-sketch { will-change: transform; }
.hero-line { opacity: 0; transform: translateY(34px); transition: opacity .8s, transform .9s cubic-bezier(.16, 1, .3, 1); transition-delay: calc(.15s + var(--d) * .12s); }
body.wa-hero-in .hero-line { opacity: 1; transform: none; }
.wa-hero .scroll-hint { position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); font-family: var(--font-mono); font-size: 10px; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-soft); }

.wa-rows .wa-row { position: relative; overflow: hidden; }
.wa-ghost {
  position: absolute;
  z-index: 2;
  pointer-events: none;
  right: 4%;
  top: 6%;
  font-family: var(--font-display);
  font-weight: 800;
  font-style: italic;
  font-size: clamp(120px, 17vw, 250px);
  line-height: 1;
  color: rgba(255, 255, 255, .32);
  will-change: transform;
}
.wa-row.flip .wa-ghost { right: auto; left: 4%; }
.wa-row .wa-text { position: relative; z-index: 1; }
.wa-row .wa-photo { overflow: hidden; }
.wa-row .wa-photo img { will-change: transform; transform: scale(1.12); }

.reveal { opacity: 0; transform: translateY(34px); transition: opacity .7s, transform .8s cubic-bezier(.16, 1, .3, 1); transition-delay: calc(var(--d, 0) * .1s); }
[data-io].in .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal, .hero-line { opacity: 1 !important; transform: none !important; transition: none !important; }
}


/* ------------------------------------------------------- inner-page motion */
.p-hero { overflow: hidden; }
.p-hero img.bg { transform: scale(1.06); will-change: transform; }
.p-hero .chips .chip-title,
.p-hero .chips .chip-sub {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .7s, transform .8s cubic-bezier(.16, 1, .3, 1);
}
.p-hero .chips .chip-sub { transition-delay: .14s; }
body.hero-in .p-hero .chips .chip-title,
body.hero-in .p-hero .chips .chip-sub { opacity: 1; transform: none; }

.lede { font-size: clamp(18px, 1.8vw, 22px); line-height: 1.65; }

/* standalone reveal elements (canvas children carry their own data-io) */
[data-io].reveal { opacity: 0; transform: translateY(30px); transition: opacity .7s, transform .8s cubic-bezier(.16, 1, .3, 1); transition-delay: calc(var(--d, 0) * .08s); }
[data-io].reveal.in { opacity: 1; transform: none; }

.p-next a .name { transition: transform .3s cubic-bezier(.16,1,.3,1); }
.p-next a:hover .name { transform: translateX(8px); }
.p-next a.next:hover .name { transform: translateX(-8px); }
.p-next img { transition: transform .4s; }
.p-next a:hover img { transform: scale(1.08); }



.wa-logowall { width: 100%; margin-top: clamp(40px, 6vw, 80px); }


/* ----------------------------------------------------------- contact page */
.contact-map {
  position: relative;
  height: 64vh;
  min-height: 380px;
  overflow: hidden;
  background: var(--wash);
}
.contact-map iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  /* pull the map into the site's warm paper hues */
  filter: grayscale(1) brightness(1.04) contrast(.9) sepia(.14);
}
.contact-map .chips { pointer-events: none; }
.ci-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}
.ci-coffee { text-align: center; }
.espresso { width: clamp(90px, 10vw, 140px); height: auto; }
.ci-coffee:hover .espresso g[opacity] { animation: steam 1.6s ease-in-out infinite; }
@keyframes steam { 0%,100% { transform: translateY(0) } 50% { transform: translateY(-4px) } }
