/* ==========================================================================
   NOBRAINS — site styles
   ========================================================================== */

:root {
  --red: #701320;
  --red-2: #e3202a;
  --cream: #f3e7d9;
  --paper: #fbf8f2;
  --blush: #e8cdc4;
  --ink: #1b1111;
  --dark: #1b1111; /* always-dark, for text on light folders */
  --muted: #6e5d5a;
  --line: rgba(27, 17, 17, .14);
  --line-light: rgba(246, 236, 222, .22);

  /* Aptos is the brand font. It ships with Microsoft 365, not as a web font, so it
     only shows on devices that have it installed; everyone else gets Hanken Grotesk,
     the closest open match. To serve real Aptos to everyone, add licensed font files
     with an @font-face rule named "Aptos" above this block. */
  --f-display: Aptos, "Hanken Grotesk", "Segoe UI", system-ui, -apple-system, sans-serif;
  --f-brand: var(--f-display);
  --f-serif: Georgia, "Times New Roman", serif;
  --f-body: Aptos, "Hanken Grotesk", "Segoe UI", system-ui, -apple-system, sans-serif;

  --gutter: clamp(20px, 4.5vw, 64px);
  --max: 1480px;
  --section: clamp(120px, 16vw, 250px);

  --ease: cubic-bezier(.22, .61, .36, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-io: cubic-bezier(.76, 0, .24, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
  font: 400 17px/1.6 var(--f-body);
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
ul, ol { list-style: none; }
::selection { background: var(--red); color: var(--cream); }
:focus-visible { outline: 2px solid var(--red-2); outline-offset: 4px; border-radius: 4px; }

.skip { position: absolute; left: -9999px; top: 12px; z-index: 200; background: var(--ink); color: var(--cream); padding: 10px 16px; border-radius: 999px; }
.skip:focus { left: 12px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- Type ---------------------------------------------------------- */

.display, h1, h2, h3 {
  font-family: var(--f-display);
  font-weight: 700;
  letter-spacing: -.035em;
  line-height: .95;
}

.t-hero { font-family: var(--f-brand); font-size: clamp(58px, 11vw, 188px); line-height: .9; }
.t-xl   { font-size: clamp(48px, 8vw, 132px); }
.t-l    { font-size: clamp(44px, 7.4vw, 124px); }
.t-m    { font-size: clamp(30px, 3.6vw, 56px); line-height: 1; }
.t-s    { font-size: clamp(22px, 2vw, 28px); line-height: 1.1; letter-spacing: -.02em; }
.t-lead { font-family: var(--f-display); font-weight: 500; font-size: clamp(26px, 3.1vw, 50px); line-height: 1.12; letter-spacing: -.025em; }
.t-body-l { font-size: clamp(18px, 1.45vw, 21px); line-height: 1.55; }
.muted { color: var(--muted); }

.eyebrow {
  display: inline-block;
  font: 500 14px/1.3 var(--f-body);
}

/* ---------- Buttons & links ---------------------------------------------- */

.btn {
  --bg: var(--red); --fg: var(--cream);
  display: inline-flex; align-items: center; gap: 12px;
  padding: 17px 28px;
  background: var(--bg); color: var(--fg);
  border: 0; border-radius: 999px; cursor: pointer;
  font: 500 15px/1 var(--f-body); letter-spacing: .01em;
}
.btn:hover { --bg: var(--ink); }
.btn--light { --bg: var(--cream); --fg: var(--red); }
.btn--light:hover { --bg: var(--paper); --fg: var(--ink); }
.btn--ghost { background: transparent; color: currentColor; box-shadow: inset 0 0 0 1.5px currentColor; }
.btn--ghost:hover { background: var(--ink); color: var(--cream); box-shadow: none; }

.link {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 500;
  background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1.5px no-repeat;
  padding-bottom: 4px;
}
.link:hover { color: var(--red); }
.hero__ctas .link { font-size: clamp(18px, 1.5vw, 22px); }
.bg-red .link:hover { color: var(--blush); }

/* ---------- Header -------------------------------------------------------- */

.site-header {
  position: fixed; inset: 0 0 auto; z-index: 100;
  color: var(--red);
}
.site-header.is-scrolled { background: var(--paper); box-shadow: 0 1px 0 var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 84px; }
.brand img { width: 92px; height: auto; }
.nav { display: flex; align-items: center; gap: clamp(20px, 2.6vw, 40px); }
.nav a:not(.btn) { position: relative; font-weight: 500; font-size: 15px; color: var(--ink); }
.nav a:not(.btn):hover, .nav a:not(.btn)[aria-current="page"] { color: var(--red); }
.nav .btn[aria-current="page"] { --bg: var(--ink); }
.nav .btn { padding: 13px 22px; font-size: 14px; }

.menu-btn { display: none; align-items: center; gap: 10px; background: none; border: 0; cursor: pointer; font-weight: 500; font-size: 15px; color: var(--ink); padding: 10px 0; }
.menu-btn span.bars { position: relative; width: 26px; height: 10px; }
.menu-btn span.bars::before, .menu-btn span.bars::after { content: ""; position: absolute; left: 0; right: 0; height: 1.5px; background: currentColor; }
.menu-btn span.bars::before { top: 0; }
.menu-btn span.bars::after { top: 8.5px; }
.menu-open .menu-btn span.bars::before { top: 4.25px; transform: rotate(45deg); }
.menu-open .menu-btn span.bars::after { top: 4.25px; transform: rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 90;
  background: var(--cream);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 120px var(--gutter) 40px;
  visibility: hidden;
}
.menu-open .mobile-menu { visibility: visible; }
.mobile-menu a.big { display: block; font-family: var(--f-display); font-weight: 700; font-size: clamp(44px, 12vw, 80px); line-height: 1.05; letter-spacing: -.035em; color: var(--ink); }
.mobile-menu a.big[aria-current="page"] { color: var(--red); }
.mobile-menu .mm-foot { display: flex; justify-content: space-between; align-items: center; margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 15px; }
.menu-open { overflow: hidden; }

/* headline lines */
.ln { display: block; }

/* ---------- Generic sections --------------------------------------------- */

.section { padding: var(--section) 0; }
.section--tight { padding: clamp(72px, 9vw, 140px) 0; }
.bg-cream { background: var(--cream); }
.bg-red { background: var(--red); color: var(--cream); }
.bg-ink { background: var(--ink); color: var(--cream); }
.rule { border: 0; border-top: 1px solid var(--line); }

.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; flex-wrap: wrap; margin-bottom: clamp(64px, 8vw, 120px); }
.sec-head .eyebrow { margin-bottom: 22px; }

.page-hero { padding: clamp(120px, 13vw, 170px) 0 clamp(64px, 8vw, 120px); }
.page-hero .eyebrow { margin-bottom: 28px; color: var(--red); }
.page-hero__row { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: end; margin-top: clamp(40px, 5vw, 72px); }

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

.hero { min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end; padding: 140px 0 40px; }
.hero .eyebrow { color: var(--red); margin-bottom: clamp(28px, 4vw, 48px); }
.hero h1 { color: var(--ink); }
.hero h1 em { color: var(--red); }

h1 em, h2 em { font-style: normal; color: var(--red); }
.bg-red h2 em, .bg-ink h2 em { color: var(--blush); }
.menu-open .site-header { background: transparent; box-shadow: none; backdrop-filter: none; }

.hero__row { display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: end; margin-top: clamp(40px, 6vw, 80px); }
.hero__row p { max-width: 38ch; font-size: clamp(20px, 1.8vw, 26px); }
.hero__ctas { display: flex; gap: 22px; align-items: center; flex-wrap: wrap; }
.hero__strip { display: flex; flex-wrap: wrap; gap: 12px 40px; margin-top: clamp(48px, 7vw, 96px); padding-top: 22px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.hero__strip li { display: flex; gap: 10px; }
.hero__strip li b { color: var(--red); font-weight: 500; }

/* Client logos: one still row */
.brands { padding-block: clamp(40px, 6vw, 72px); border-bottom: 1px solid var(--line); }
.brands .eyebrow { color: var(--muted); margin-bottom: clamp(24px, 3vw, 36px); }
/* twelve logos in two even rows of six; four rows of three on smaller screens */
.logos { display: grid; grid-template-columns: repeat(6, 1fr); align-items: center; gap: clamp(20px, 3vw, 44px) clamp(20px, 2.4vw, 44px); }
.logos li { display: grid; place-items: center; height: clamp(56px, 5.5vw, 96px); }
.logos li { min-width: 0; }
.logos img { width: auto; height: auto; max-width: 100%; max-height: clamp(36px, 3.6vw, 60px); object-fit: contain; opacity: .8; }
@media (max-width: 1180px) {
  .logos { grid-template-columns: repeat(3, 1fr); gap: clamp(28px, 5vw, 48px) clamp(32px, 8vw, 96px); }
  .logos li { height: clamp(44px, 7vw, 64px); }
}

/* ---------- Statement ----------------------------------------------------- */

/* the slogan as the headline, the partner sentence under it */
.statement { display: block; }
.statement__big { font-family: var(--f-brand); font-size: clamp(54px, 11vw, 190px); line-height: 1; }
.statement__sub { font-weight: 500; max-width: 24ch; margin-top: clamp(32px, 4vw, 56px); font-size: clamp(24px, 2.8vw, 44px); }
.statement .link { margin-top: clamp(32px, 4vw, 56px); }

/* small meta line at the top of a section: section number, the studio and a plain label */
.meta-bar { display: flex; justify-content: space-between; gap: 16px; padding-bottom: 14px; margin-bottom: clamp(56px, 8vw, 120px); border-bottom: 1px solid var(--line); font-size: 12px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.meta-bar span:last-child { text-align: right; }

/* ruled list with a heading on the left (industries, story) */
.industries { display: grid; grid-template-columns: 1fr 2.4fr; gap: clamp(32px, 6vw, 96px); }
.industries h2 { font-size: clamp(36px, 4.6vw, 76px); line-height: 1; }
.rows { border-top: 0; }
.rows li { display: grid; grid-template-columns: 1fr 1.3fr; gap: 24px; align-items: baseline; padding: 24px 0; border-bottom: 1px solid var(--line); }
.rows b { font: 600 clamp(20px, 2vw, 30px)/1.15 var(--f-display); letter-spacing: -.02em; }
.rows span { color: var(--muted); font-size: 17px; }

/* gentle fade-in as sections scroll into view */
.js .fade { opacity: 0; transform: translateY(14px); transition: opacity .7s ease, transform .7s ease; }
.js .fade.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .fade { opacity: 1; transform: none; transition: none; } }

/* ---------- Project cards & art placeholders ------------------------------ */

.grid-work { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vw, 64px) clamp(20px, 3vw, 48px); }
.grid-work--3 { grid-template-columns: repeat(3, 1fr); }
/* home: the first project runs full width, the rest sit three across */
.grid-work--lead { grid-template-columns: repeat(3, 1fr); }
.grid-work--lead > :first-child { grid-column: 1 / -1; }
.grid-work--lead > :first-child .card__media { aspect-ratio: 16 / 8; }
.grid-work--lead > :not(:first-child) .card__media { aspect-ratio: 4 / 3; }

.card { display: block; }
.card__media { position: relative; overflow: hidden; border-radius: 6px; aspect-ratio: 4 / 5; }
.card__media .art { transition: transform 1.2s var(--ease-out); }
.card:hover .card__media .art { transform: scale(1.035); }
/* a short clip of the project fades in over the cover while the card is hovered */
.card__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .3s var(--ease); }
.card.is-playing .card__video { opacity: 1; }
.card__view {
  position: absolute; right: 18px; bottom: 18px;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 16px; border-radius: 999px; background: var(--paper); color: var(--ink);
  font-size: 13px; font-weight: 500;
  opacity: 0; transform: translateY(6px);
  transition: opacity .4s var(--ease), transform .4s var(--ease);
}
.card:hover .card__view, .card:focus-visible .card__view { opacity: 1; transform: none; }
.card__meta { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-top: 18px; }
.card__meta h3 { font-size: clamp(22px, 2vw, 30px); letter-spacing: -.025em; line-height: 1.1; }
.card__meta span { font-size: 14px; color: var(--muted); white-space: nowrap; }
.card__tags { margin-top: 6px; font-size: 14px; color: var(--muted); }
.grid-work--3 .card__media { aspect-ratio: 4 / 3; }

.art {
  position: absolute; inset: 0;
  background: var(--bg, var(--red));
  color: var(--fg, var(--cream));
  display: grid; place-items: center;
}
.art svg { width: 46%; height: auto; }
.art--wide svg { width: 30%; }
.art__label {
  position: absolute; left: 16px; top: 16px;
  font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase;
  opacity: .7;
}
.art.s-pos-1 svg { transform: translate(-22%, 14%) scale(1.25); }
.art.s-pos-2 svg { transform: translate(24%, -18%) scale(.8); }
.art.s-pos-3 svg { transform: rotate(-12deg) scale(1.5); }
.art.s-pos-4 svg { transform: translate(0, 30%) scale(1.9); }

/* ---------- Services list (home) ------------------------------------------ */

/* four services as closed folders; hover (or keyboard focus) opens one to show what is inside */
.svc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(16px, 2vw, 32px); align-items: start; min-height: 520px; padding-top: 34px; }
.svc {
  --bg: var(--blush); --fg: var(--dark);
  position: relative; display: block; height: 176px; overflow: visible;
  padding: 26px clamp(18px, 1.8vw, 28px) 0;
  background: var(--bg); color: var(--fg); border-radius: 0 16px 16px 16px;
  transition: height 1.2s var(--ease-io) .1s, transform .7s var(--ease-out);
}
.svc::before { /* the tab */
  content: ""; position: absolute; left: 0; bottom: 100%; width: 46%; height: 34px;
  background: var(--bg); border-radius: 12px 0 0 0;
  clip-path: polygon(0 0, calc(100% - 22px) 0, 100% 100%, 0 100%);
}
.svc:nth-child(1) { --bg: var(--red); --fg: var(--cream); }
.svc:nth-child(2) { --bg: var(--blush); }
.svc:nth-child(3) { --bg: var(--cream); }
.svc:nth-child(4) { --bg: #2a0e12; --fg: var(--cream); }
.svc .num { position: absolute; left: 18px; bottom: calc(100% + 8px); font-size: 14px; font-weight: 600; color: var(--fg); z-index: 1; }
.svc h3 { font-size: clamp(22px, 1.9vw, 28px); font-weight: 600; letter-spacing: -.02em; line-height: 1.1; min-height: 2.2em; }
.svc p, .svc ul { opacity: 0; transform: translateY(14px); transition: opacity .4s ease, transform .6s var(--ease-out); }
.svc p { margin-top: 14px; font-size: 16px; opacity: 0; }
.svc ul { margin-top: 18px; font-size: 15px; }
.svc li { padding: 11px 0; border-top: 1px solid currentColor; border-top-color: color-mix(in srgb, currentColor 25%, transparent); }
.svc:hover, .svc:focus-visible { height: 470px; transform: translateY(-6px); }
.svc:hover p, .svc:hover ul, .svc:focus-visible p, .svc:focus-visible ul { opacity: 1; transform: none; }
.svc:hover p, .svc:focus-visible p { transition-delay: .6s; }
.svc:hover ul, .svc:focus-visible ul { transition-delay: .75s; }
/* touch screens and narrow layouts have no hover, so the folders stay open */
@media (hover: none), (max-width: 1080px) {
  .svc-grid { min-height: 0; grid-template-columns: 1fr 1fr; row-gap: 56px; }
  .svc { height: auto; padding-bottom: 24px; }
  .svc p, .svc ul { opacity: 1; transform: none; }
  .svc:hover, .svc:focus-visible { height: auto; transform: none; }
  .svc h3 { min-height: 0; }
}
@media (max-width: 560px) { .svc-grid { grid-template-columns: 1fr; } }

.stages-list { border-top: 1px solid var(--line); }
.stage-row {
  display: grid; grid-template-columns: 90px 1.1fr 1fr; gap: 24px; align-items: center;
  padding: clamp(26px, 3vw, 40px) 0; border-bottom: 1px solid var(--line);
}
.stage-row .num { font-size: 14px; font-weight: 500; color: var(--muted); }
.stage-row h3 { font-size: clamp(30px, 3.6vw, 56px); letter-spacing: -.035em; }
.stage-row p { color: var(--muted); max-width: 40ch; }
.stage-row:hover h3 { color: var(--red); }

/* ---------- Name band ----------------------------------------------------- */

.name-band { padding-block: clamp(120px, 16vw, 260px); }
.name-band h2 { font-size: clamp(56px, 12vw, 220px); line-height: .88; letter-spacing: -.05em; max-width: 11ch; }
.name-band p { margin-top: clamp(28px, 3vw, 48px); font: 500 clamp(20px, 2vw, 30px)/1.25 var(--f-display); letter-spacing: -.02em; color: var(--blush); max-width: 30ch; }

/* ---------- About ----------------------------------------------------------- */

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); }
.two-col p + p { margin-top: 1.1em; }

.principles { counter-reset: p; display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 clamp(32px, 5vw, 80px); }
.principle { padding: 36px 0 44px; border-top: 1px solid var(--line-light); display: grid; grid-template-columns: 64px 1fr; gap: 20px; }
.principle .num { font-size: 14px; font-weight: 500; line-height: 1.6; color: var(--blush); }
.principle h3 { font-size: clamp(26px, 2.5vw, 38px); margin-bottom: 14px; }
.principle p { opacity: .82; max-width: 44ch; }

.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.process li { padding: 32px clamp(16px, 2vw, 32px) 8px 0; }
.process li + li { padding-left: clamp(16px, 2vw, 32px); border-left: 1px solid var(--line); }
.process .num { display: block; font-size: 14px; font-weight: 500; color: var(--muted); margin-bottom: 18px; }
.process h3 { font-size: 26px; letter-spacing: -.025em; margin-bottom: 12px; }
.process p { color: var(--muted); font-size: 16px; }

.team { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(16px, 2vw, 32px); }
.team .card__media { aspect-ratio: 3 / 4; }
.team h3 { font-size: 22px; letter-spacing: -.02em; margin-top: 16px; }
.team p { font-size: 15px; color: var(--muted); }

/* ---------- Services page ---------------------------------------------------- */

.stage { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(32px, 6vw, 110px); padding: clamp(72px, 9vw, 130px) 0; border-top: 1px solid var(--line); }
.stage:first-child { border-top: 0; padding-top: 0; }
.stage__side { position: sticky; top: 120px; align-self: start; }
.stage__num { display: block; font-size: 14px; font-weight: 500; color: var(--muted); margin-bottom: 18px; }
.stage__side h2 { font-size: clamp(36px, 4.2vw, 64px); line-height: 1; margin-bottom: 22px; }
.stage__side p { max-width: 36ch; }
.deliverables { border-top: 0; }
.deliverables li { display: grid; grid-template-columns: 1fr auto; gap: 20px; align-items: baseline; padding: 20px 0; border-bottom: 1px solid var(--line); font-size: clamp(18px, 1.5vw, 22px); }
.deliverables li span { font-size: 13px; color: var(--muted); letter-spacing: .06em; }
.deliverables-group { font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--red); margin: 40px 0 12px; }
.deliverables-group:first-child { margin-top: 0; }

.chip { display: inline-flex; align-items: baseline; gap: 8px; padding: 0 0 5px; border: 0; background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1.5px no-repeat; font-size: 15px; font-weight: 500; }
.chip:hover { color: var(--red); }
.chip i { font-style: normal; font-weight: 500; color: var(--red); }

/* ---------- Work page --------------------------------------------------------- */

.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: clamp(40px, 5vw, 72px); }
.filter { padding: 11px 20px; border-radius: 999px; border: 1px solid var(--line); background: transparent; cursor: pointer; font-size: 14.5px; font-weight: 500; }
.filter:hover { border-color: var(--ink); }
.filter[aria-pressed="true"] { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.note { margin-top: clamp(56px, 6vw, 96px); padding: 22px 26px; border-radius: 16px; background: var(--cream); font-size: 15px; color: var(--muted); max-width: 70ch; }
.note b { color: var(--ink); font-weight: 500; }

/* ---------- Case study ------------------------------------------------------- */

.cs-hero { padding: clamp(140px, 16vw, 210px) 0 clamp(40px, 5vw, 64px); }
.cs-back { display: inline-flex; gap: 10px; align-items: center; font-size: 14px; font-weight: 500; margin-bottom: clamp(40px, 5vw, 64px); }
.cs-back:hover { color: var(--red); }
.meta-row { display: flex; flex-wrap: wrap; gap: 12px 32px; margin-bottom: 28px; }
.cs-hero h1 { font-size: clamp(60px, 11vw, 180px); }
.cs-tagline { font-family: var(--f-display); font-weight: 500; font-size: clamp(24px, 2.6vw, 40px); line-height: 1.15; letter-spacing: -.02em; color: var(--muted); margin-top: 22px; max-width: 28ch; }
.cs-media { position: relative; overflow: hidden; border-radius: 6px; }
.cs-media--hero { aspect-ratio: 16 / 8; }
.cs-media--full { aspect-ratio: 16 / 9; }
.cs-info { display: grid; grid-template-columns: 1fr 2fr; gap: clamp(32px, 6vw, 96px); }
.cs-facts { display: grid; gap: 0; align-content: start; border-top: 1px solid var(--line); }
.cs-facts div { display: grid; grid-template-columns: 110px 1fr; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 15.5px; }
.cs-facts dt { color: var(--muted); }
.cs-facts dd { font-weight: 500; }
.cs-points { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 80px); margin-top: clamp(64px, 7vw, 110px); }
.cs-points h2 { font-size: clamp(30px, 3vw, 46px); margin-bottom: 28px; }
.cs-points li { padding: 22px 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: 48px 1fr; gap: 12px; }
.cs-points li .num { font-size: 14px; font-weight: 500; color: var(--muted); line-height: 2; }
.cs-points li b { display: block; font-family: var(--f-display); font-size: 22px; letter-spacing: -.02em; font-weight: 600; margin-bottom: 4px; }
.cs-points li p { color: var(--muted); font-size: 16px; }

.cs-block { display: grid; grid-template-columns: 1fr 2fr; gap: clamp(32px, 6vw, 96px); margin-bottom: clamp(40px, 5vw, 64px); }
.cs-block h2 { font-size: clamp(36px, 4.4vw, 70px); }
.cs-block .eyebrow { color: var(--red); margin-bottom: 20px; }
.cs-gallery { display: grid; gap: clamp(12px, 1.4vw, 20px); }
.cs-gallery--2 { grid-template-columns: 1fr 1fr; }
.cs-gallery--2 .cs-media { aspect-ratio: 4 / 5; }
.cs-gallery--3 { grid-template-columns: 1.4fr 1fr; grid-template-rows: auto auto; }
.cs-gallery--3 .cs-media:first-child { grid-row: span 2; }
.cs-gallery--3 .cs-media { aspect-ratio: 4 / 3; }
.cs-gallery--3 .cs-media:first-child { aspect-ratio: auto; min-height: 100%; }
.cs-gallery--1 .cs-media { aspect-ratio: 16 / 9; }

.cs-band { padding: clamp(80px, 9vw, 140px) 0; margin: clamp(40px, 5vw, 64px) 0; }
.cs-links { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }

/* website screens */
.web-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 2vw, 28px); }
.web-grid .browser:first-child { grid-column: 1 / -1; }
.browser { background: #fff; border-radius: 10px; overflow: hidden; box-shadow: 0 0 0 1px var(--line), 0 40px 70px -40px rgba(27, 17, 17, .35); }
.browser__bar { display: flex; align-items: center; gap: 6px; height: 34px; padding: 0 14px; background: #efe9e0; border-bottom: 1px solid var(--line); }
.browser__bar span { width: 10px; height: 10px; border-radius: 50%; background: #d8cdbf; }
.browser__bar em { margin-left: 12px; font-style: normal; font-size: 12px; color: var(--muted); background: rgba(255, 255, 255, .7); padding: 3px 14px; border-radius: 999px; }
.browser img { width: 100%; height: auto; }
.web-row { display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); gap: clamp(24px, 4vw, 64px); align-items: center; margin-top: clamp(40px, 5vw, 72px); }
.phone { width: min(100%, 290px); margin: 0 auto; padding: 9px; border-radius: 40px; background: var(--ink); box-shadow: 0 40px 70px -40px rgba(27, 17, 17, .5); }
.phone img { width: 100%; height: auto; border-radius: 32px; }
.brandkit { background: var(--paper); border-radius: 22px; padding: clamp(24px, 3vw, 44px); }
.brandkit .eyebrow { color: var(--red); margin-bottom: 26px; }
.swatches { display: grid; grid-template-columns: repeat(var(--n, 4), 1fr); gap: 14px; }
.swatches span { display: block; aspect-ratio: 1; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line); margin-bottom: 12px; }
.swatches b, .specimens b { display: block; font-weight: 500; font-size: 15px; }
.swatches small, .specimens small { color: var(--muted); font-size: 13px; }
.specimens { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 32px; padding-top: 28px; border-top: 1px solid var(--line); }
.specimens li { display: flex; align-items: center; gap: 16px; }
.specimens .aa { font-size: 56px; line-height: 1; color: #1f1d1a; }

/* instagram */
.ig-head { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 24px; }
.ig-head > div { flex: 1; min-width: 200px; }
.ig-head b { display: block; font-weight: 500; }
.ig-head small { color: var(--muted); font-size: 14px; }
.ig-avatar { width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; background: #f3eee6; box-shadow: 0 0 0 1px var(--line); font-family: "Cormorant Garamond", var(--f-serif); font-size: 22px; letter-spacing: .04em; color: #1f1d1a; }
.ig-avatar { overflow: hidden; }
.ig-avatar img { width: 100%; height: 100%; object-fit: cover; }
.ig-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.brand-row { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(24px, 4vw, 64px); align-items: center; margin-top: clamp(40px, 5vw, 72px); }
.brand-fig { margin: 0; border-radius: 22px; overflow: hidden; box-shadow: 0 40px 70px -40px rgba(27, 17, 17, .45); }
.brand-fig img { display: block; width: 100%; height: auto; }
.specimens .aa[lang="ar"] { font-size: 50px; line-height: 1.2; }
.ig-tile { position: relative; aspect-ratio: 1; overflow: hidden; border: 0; padding: 0; cursor: pointer; background: var(--cream); display: block; }
.ig-tile img { width: 100%; height: 100%; object-fit: cover; }
.ig-type { position: absolute; top: 10px; right: 10px; width: 22px; height: 22px; color: #fff; filter: drop-shadow(0 1px 3px rgba(0, 0, 0, .45)); }
.ig-hover { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(27, 17, 17, .38); color: #fff; font-size: 14px; font-weight: 500; letter-spacing: .04em; opacity: 0; transition: opacity .35s var(--ease); }
.ig-tile:hover .ig-hover, .ig-tile:focus-visible .ig-hover { opacity: 1; }
.ig-modal { margin: auto; border: 0; padding: 0; background: var(--paper); border-radius: 18px; width: min(420px, 94vw); overflow: visible; }
.ig-modal::backdrop { background: rgba(27, 17, 17, .78); }
.ig-modal iframe { display: block; width: 100%; height: min(760px, 78vh); border: 0; border-radius: 18px 18px 0 0; background: #fff; }
.ig-open { display: block; text-align: center; padding: 14px; font-size: 14px; font-weight: 500; }
.ig-close { position: absolute; top: -16px; right: -16px; width: 40px; height: 40px; border-radius: 999px; border: 0; background: var(--cream); color: var(--ink); font-size: 22px; line-height: 1; cursor: pointer; box-shadow: 0 6px 18px rgba(0, 0, 0, .25); }

.cs-outcome { text-align: center; }
.cs-outcome h2 { font-size: clamp(40px, 6vw, 96px); max-width: 16ch; margin: 22px auto 0; }
.cs-outcome p { margin: 26px auto 36px; max-width: 52ch; opacity: .85; }

/* ---------- Contact ------------------------------------------------------------ */

.contact-grid { display: grid; grid-template-columns: 1fr 1.35fr; gap: clamp(40px, 7vw, 120px); align-items: start; }
.contact-side .eyebrow { display: flex; }
[id] { scroll-margin-top: 110px; }
.err { font-style: normal; }
.contact-side .mail { display: inline-block; font-family: var(--f-display); font-weight: 600; font-size: clamp(22px, 2.2vw, 32px); letter-spacing: -.02em; margin: 18px 0 56px; word-break: break-all; }
.next-steps li { display: grid; grid-template-columns: 48px 1fr; gap: 12px; padding: 22px 0; border-top: 1px solid var(--line); }
.next-steps .num { font-size: 14px; font-weight: 500; color: var(--muted); line-height: 1.8; }
.next-steps b { display: block; font-weight: 500; margin-bottom: 2px; }
.next-steps p { color: var(--muted); font-size: 15.5px; }

.form { display: grid; gap: 26px; }
.form .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.field { display: grid; gap: 10px; }
.field > span, fieldset legend { font-size: 13px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; padding: 14px 0 12px; background: transparent;
  border: 0; border-bottom: 1.5px solid var(--line); border-radius: 0;
  font-size: 19px; outline: none;
}
.field select { appearance: none; -webkit-appearance: none; cursor: pointer; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='8' viewBox='0 0 14 8'%3E%3Cpath d='M1 1l6 6 6-6' fill='none' stroke='%231b1111' stroke-width='1.5'/%3E%3C/svg%3E") right 4px center no-repeat; }
.field textarea { resize: vertical; min-height: 140px; line-height: 1.5; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--red); }
.field [aria-invalid="true"] { border-color: var(--red-2); }
.err { font-size: 13.5px; color: var(--red-2); min-height: 1em; }
fieldset { border: 0; }
fieldset legend { margin-bottom: 14px; }
.checks { display: flex; flex-wrap: wrap; gap: 8px; }
/* the four stage pills sit on one line wherever there is room for them */
.page-hero__row .meta-row { grid-column: 1 / -1; }
@media (min-width: 1100px) {
  .checks { flex-wrap: nowrap; }
  .checks span { white-space: nowrap; padding: 10px 14px; font-size: 14px; }
}
.checks label { position: relative; cursor: pointer; }
.checks input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.checks span { display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: 999px; border: 1px solid var(--line); font-size: 15px; }
.checks span i { font-style: normal; font-weight: 500; color: var(--red); }
.checks input:checked + span { background: var(--red); border-color: var(--red); color: var(--cream); }
.checks input:checked + span i { color: var(--blush); }
.checks input:focus-visible + span { outline: 2px solid var(--red-2); outline-offset: 3px; }
.form-foot { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.form-status { font-size: 15px; }
.form-status.ok { color: var(--red); }

/* ---------- Footer & "See you soon" ------------------------------------------- */

.site-footer { background: var(--red); color: var(--cream); padding: clamp(80px, 10vw, 150px) 0 32px; overflow: hidden; }
.site-footer .eyebrow { margin-bottom: clamp(24px, 3vw, 40px); }
.soon {
  display: block; width: fit-content; max-width: 100%; color: #fff;
}
.soon:hover { color: var(--blush); }
/* plain type, same font as the rest of the site */
.soon__text {
  display: block;
  font-family: var(--f-brand); font-weight: 700;
  font-size: clamp(52px, 13.4vw, 236px); line-height: .95;
  letter-spacing: -.035em;
}
.soon__cta { display: inline-flex; align-items: center; gap: 10px; margin-top: 22px; padding-bottom: 4px; font-size: 16px; font-weight: 500; background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1.5px no-repeat; }
.soon__cta:hover { color: var(--blush); }

.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; margin-top: clamp(72px, 9vw, 140px); padding-top: 40px; border-top: 1px solid var(--line-light); }
.footer-grid img { width: 130px; height: auto; }
.footer-grid h4 { font: 500 12.5px/1 var(--f-body); letter-spacing: .14em; text-transform: uppercase; opacity: .6; margin-bottom: 18px; }
.footer-grid li + li { margin-top: 8px; }
.footer-grid a { opacity: .9; }
.footer-grid a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 4px; }
.footer-tag { font-size: 17px; margin-top: 18px; opacity: .9; }
.footer-base { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 64px; font-size: 13.5px; opacity: .65; }

/* ---------- Intro: the stamp --------------------------------------------------- */

.intro-layer { display: none; }
[data-intro] body { overflow: hidden; }
[data-intro="stamp"] .intro-layer {
  display: grid; place-items: center;
  position: fixed; inset: 0; z-index: 300; cursor: pointer;
  background: var(--paper);
  transition: transform .7s cubic-bezier(.76, 0, .24, 1);
}
.intro-layer.is-leaving { transform: translateY(-100%); }
/* comes down from above the page at a slight angle, presses in, springs back a touch.
   The #ink filter (in index.html) roughens the edges and thins the ink in patches. */
.il-stamp {
  width: min(70vw, 560px); height: auto;
  transform: rotate(-4deg);
  filter: url(#ink);
  animation: il-stamp .46s .3s both;
}
@keyframes il-stamp {
  0%   { opacity: 0; transform: rotate(-10deg) scale(1.9); animation-timing-function: cubic-bezier(.7, 0, 1, .5); }
  20%  { opacity: 1; }
  48%  { transform: rotate(-4deg) scale(.955); animation-timing-function: cubic-bezier(.2, .8, .3, 1); }
  72%  { transform: rotate(-4deg) scale(1.012); }
  100% { transform: rotate(-4deg) scale(1); }
}

/* ---------- Responsive -------------------------------------------------------- */

@media (max-width: 1080px) {
  .team { grid-template-columns: repeat(2, 1fr); }
  .process { grid-template-columns: 1fr 1fr; }
  .process li:nth-child(3) { padding-left: 0; border-left: 0; }
  .process li:nth-child(n+3) { border-top: 1px solid var(--line); }
}

@media (max-width: 860px) {
  body { font-size: 16.5px; }
  .nav { display: none; }
  .menu-btn { display: inline-flex; }
  .site-header .wrap { height: 72px; }
  .brand img { width: 78px; }

  .hero__row, .statement, .page-hero__row, .two-col, .cs-info, .cs-points, .cs-block, .contact-grid, .stage, .footer-grid { grid-template-columns: 1fr; }
  .industries { grid-template-columns: 1fr; }
  .rows li { grid-template-columns: 1fr; gap: 6px; }
  .grid-work, .grid-work--3, .grid-work--lead { grid-template-columns: 1fr; }
  .grid-work--lead > :first-child .card__media { aspect-ratio: 4 / 3; }
  .stage-row { grid-template-columns: 48px 1fr; }
  .stage-row p { display: none; }
  .stage__side { position: static; }
  .principles { grid-template-columns: 1fr; }
  .form .row2 { grid-template-columns: 1fr; }
  .cs-media--hero { aspect-ratio: 4 / 3; }
  .cs-gallery--3 { grid-template-columns: 1fr; }
  .cs-gallery--3 .cs-media:first-child { grid-row: auto; aspect-ratio: 4 / 3; }
  .web-grid, .web-row, .brand-row { grid-template-columns: 1fr; }
  .ig-grid { grid-template-columns: repeat(3, 1fr); gap: 3px; }
  .ig-grid--8, .ig-grid--4 { grid-template-columns: repeat(4, 1fr); }
  .swatches { grid-template-columns: repeat(2, 1fr); }
  .specimens { grid-template-columns: 1fr; }
  .ig-close { top: 8px; right: 8px; }
  .footer-grid { gap: 32px; }
}

@media (max-width: 560px) {
  .team, .process { grid-template-columns: 1fr; }
  .process li + li { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
  .cs-gallery--2 { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; }
}

/* countries */
.countries { padding-top: 0; padding-bottom: clamp(96px, 12vw, 190px); }
.bg-red .meta-bar { color: rgba(243, 231, 217, .7); border-bottom-color: var(--line-light); }
.countries__lead { font-size: clamp(20px, 2.1vw, 32px); line-height: 1.25; max-width: 26ch; letter-spacing: -.01em; }
.countries__names { margin-top: clamp(24px, 3vw, 44px); font-size: clamp(38px, 8.6vw, 156px); line-height: .95; letter-spacing: -.045em; }
.logos .is-icon img { max-height: clamp(30px, 3vw, 46px); }
.site-footer .eyebrow { font: 600 clamp(30px, 3.6vw, 60px)/1.1 var(--f-display); letter-spacing: -.03em; }
.countries__names { color: var(--red); }

/* arrow + underline: on hover the line redraws from the left and the arrow nudges up and draws itself again */
.arr { width: .8em; height: .8em; flex: none; transition: transform .35s var(--ease-out); }
.link:hover .arr, .soon__cta:hover .arr { transform: translate(2px, -2px); }
.link:hover .arr path, .soon__cta:hover .arr path { stroke-dasharray: 1; animation: arr-draw .6s var(--ease-out); }
.link:hover, .soon__cta:hover, .chip:hover { animation: line-wipe .55s var(--ease-out); }
@keyframes arr-draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes line-wipe { from { background-size: 0 1.5px; } to { background-size: 100% 1.5px; } }
@media (prefers-reduced-motion: reduce) {
  .link:hover, .soon__cta:hover, .chip:hover, .link:hover .arr path, .soon__cta:hover .arr path { animation: none; }
  .arr { transition: none; }
}

/* thank-you panel shown in place of the contact form */
.thanks { padding: clamp(8px, 2vw, 24px) 0; }
.thanks h2 { font-size: clamp(44px, 6.4vw, 104px); line-height: .98; }
.thanks p { margin-top: clamp(20px, 2.4vw, 32px); max-width: 38ch; }
.thanks .link { margin-top: clamp(28px, 3.4vw, 48px); }
.thanks:focus { outline: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
[hidden] { display: none !important; }

/* ---------- Page curtain: loading screen and page-to-page transition ---------- */
.page-curtain { display: none; position: fixed; inset: 0; z-index: 400; place-items: center; background: var(--red); }
.page-curtain img { width: clamp(120px, 13vw, 190px); height: auto; }
html.curtain-on .page-curtain, html.curtain-leaving .page-curtain { display: grid; }
html.curtain-leaving .page-curtain { animation: curtain-in .55s var(--ease-io) both; }
.page-curtain.is-lifting { transform: translateY(100%); transition: transform .75s var(--ease-io); }
@keyframes curtain-in { from { transform: translateY(100%); } to { transform: translateY(0); } }

/* sending state: fields soften, the button shows a spinner and a sweeping line */
.form .field, .form fieldset { transition: opacity .35s ease; }
.form.is-sending .field, .form.is-sending fieldset { opacity: .4; pointer-events: none; }
.btn.is-loading { position: relative; overflow: hidden; cursor: progress; opacity: 1; }
.btn.is-loading::before { content: ""; width: 14px; height: 14px; border: 2px solid rgba(243, 231, 217, .35); border-top-color: var(--cream); border-radius: 50%; animation: send-spin .75s linear infinite; }
.btn.is-loading::after { content: ""; position: absolute; left: 0; bottom: 0; height: 3px; width: 35%; background: var(--cream); animation: send-bar 1.2s var(--ease-io) infinite; }
.form-status { transition: opacity .3s ease; }
.thanks:not([hidden]) { animation: thanks-in .7s var(--ease-out) both; }
@keyframes send-spin { to { transform: rotate(360deg); } }
@keyframes send-bar { from { transform: translateX(-100%); } to { transform: translateX(300%); } }
@keyframes thanks-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .btn.is-loading::before, .btn.is-loading::after, .thanks:not([hidden]) { animation: none; }
}
