/* Geist, served from this site (no Google Fonts, no third-party requests). Licence: assets/fonts/OFL.txt */
@font-face { font-family: "Geist"; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/geist-latin-400-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Geist"; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/geist-latin-ext-400-normal.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Geist"; font-style: normal; font-weight: 500; font-display: swap; src: url("/assets/fonts/geist-latin-500-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Geist"; font-style: normal; font-weight: 500; font-display: swap; src: url("/assets/fonts/geist-latin-ext-500-normal.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

/* All Awards — design tokens (change colours and fonts here) */
:root {
  --red: #FA1919;
  --bg: #F4F4F2;
  --surface: #E8E8E5;
  --ink: #111111;
  --muted: #6B6B67; /* 4.5:1+ on --bg, for small text */
  --line: #DCDCD8;
  --white: #FFFFFF;

  --font: "Geist", "Helvetica Neue", Arial, sans-serif;

  --gutter: clamp(20px, 6vw, 112px);
  --radius: 10px;
  --max: 1880px; /* content column on big screens, like the reference */
  --ease: cubic-bezier(.2, .7, .1, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; background: #FAFAF8; } /* white below the footer on short pages */
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 16px/1.45 var(--font);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-weight: 400; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }
.skip { position: absolute; left: 8px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 999px; }
.skip:focus { top: 8px; }

.wrap { padding: 0 var(--gutter); max-width: calc(var(--max) + var(--gutter) * 2); margin-inline: auto; }
.grid { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--gutter); }
.small { font-size: 13px; text-transform: uppercase; letter-spacing: .01em; }
.muted { color: var(--muted); }
.red { color: var(--red); }

/* Type scale */
.display { font-size: clamp(40px, 5.2vw, 110px); line-height: 1; letter-spacing: -0.05em; }
.statement { font-size: clamp(30px, 3.9vw, 104px); line-height: 1.04; letter-spacing: -0.045em; }
.lead { font-size: clamp(22px, 2.1vw, 32px); line-height: 1.15; letter-spacing: -0.03em; }
.indent { text-indent: 25%; }
@media (max-width: 700px) { .indent { text-indent: 0; } }

/* Arrow link */
.go { display: inline-flex; align-items: center; gap: 10px; }
.go::before { content: "→"; transition: transform .3s var(--ease); }
.go:hover::before { transform: translateX(4px); }
/* page not found: ways out */
.nf-hero { align-content: start; }
.nf-links { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 14px 32px; margin-top: clamp(28px, 3vw, 48px); font-size: 17px; }
.go:hover { color: var(--red); }

/* Section bar: LABEL ....... (01) */
.bar { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 14px 0; }
.bar--line { border-top: 1px solid var(--line); }

/* Header with pill nav */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  /* logo and menu line up with the edges of the central content column */
  padding: 14px max(var(--gutter), calc((100% - var(--max)) / 2));
  pointer-events: none;
}
.header > * { pointer-events: auto; }
.header { transition: transform .45s var(--ease), background .3s var(--ease); }
.header.is-hidden { transform: translateY(-100%); }
.header.is-solid { background: rgba(244, 244, 242, .82); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); pointer-events: auto; }
.header.is-solid .pill { background: rgba(225, 225, 221, .9); }
.header__logo { width: 186px; }
@media (max-width: 760px) { .header__logo { width: 140px; } }
.pill {
  display: flex; gap: 2px; padding: 4px;
  background: rgba(225, 225, 221, .82);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-radius: 999px;
}
.pill a, .pill button {
  font: 400 14px/1 var(--font); color: var(--ink);
  padding: 9px 14px; border-radius: 999px; border: 0; background: none; cursor: pointer;
  transition: background .25s var(--ease), color .25s var(--ease);
}
.pill a:hover, .pill a[aria-current="page"] { background: var(--white); }
.pill nav:hover a[aria-current="page"]:not(:hover):not(.pill__cta) { background: none; }
.pill .pill__cta { background: var(--ink); color: #fff; white-space: nowrap; }
.pill .pill__cta:hover, .pill .pill__cta[aria-current="page"] { background: var(--red); color: #fff; }
.menu-toggle { display: none; }
.pill__mail { display: none; }
/* Language switcher (EN / PT / ES) next to the menu */
.header__right { display: flex; align-items: center; gap: clamp(10px, 1.2vw, 18px); }
/* Language: one small pill with the current language; the others drop down on hover / tap */
.lang { position: relative; font-size: 13px; }
.lang__current {
  display: inline-flex; align-items: center; gap: 5px;
  font: 400 13px/1 var(--font); color: var(--ink); cursor: pointer;
  padding: 9px 11px; border: 0; border-radius: 999px; background: rgba(225, 225, 221, .82);
  transition: background .2s var(--ease);
}
.lang__current::after { content: ""; width: 5px; height: 5px; border-right: 1px solid currentColor; border-bottom: 1px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform .25s var(--ease); }
.lang__list {
  position: absolute; top: calc(100% + 6px); left: 50%; transform: translate(-50%, -6px);
  display: grid; gap: 2px; padding: 4px; border-radius: 18px; min-width: 100%;
  background: rgba(225, 225, 221, .95); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  opacity: 0; visibility: hidden; transition: opacity .2s var(--ease), transform .2s var(--ease), visibility .2s;
}
/* invisible bridge so the list stays open while the mouse moves down to it */
.lang__list::before { content: ""; position: absolute; left: 0; right: 0; top: -8px; height: 8px; }
.lang__list a { padding: 8px 11px; border-radius: 999px; text-align: center; color: var(--ink); }
.lang__list a:hover, .lang__list a:focus-visible { background: var(--white); }
/* Touch screens open and close it only by tapping (a stuck :hover/:focus would keep it open) */
.lang.is-open .lang__list { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.lang.is-open .lang__current::after { transform: translateY(1px) rotate(225deg); }
@media (hover: hover) {
  .lang:hover .lang__list, .lang:focus-within .lang__list { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
  .lang:hover .lang__current::after { transform: translateY(1px) rotate(225deg); }
  .lang:hover .lang__current { background: var(--white); }
}
.header.is-solid .lang__current { background: rgba(225, 225, 221, .9); }
@media (max-width: 760px) {
  .menu-toggle { display: block; }
  .pill { position: relative; }
  .pill nav {
    position: absolute; top: calc(100% + 8px); right: 0;
    display: flex; flex-direction: column; align-items: stretch; gap: 2px;
    min-width: 200px; padding: 6px; border-radius: 18px;
    background: rgba(225, 225, 221, .96);
    backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    opacity: 0; visibility: hidden; transform: translateY(-6px);
    transition: opacity .2s var(--ease), transform .2s var(--ease), visibility .2s;
  }
  .pill nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .pill nav a { font-size: 17px; padding: 12px 16px; }
  .pill nav .pill__mail { display: block; margin-top: 6px; padding-top: 14px; border-top: 1px solid rgba(17, 17, 17, .12); border-radius: 0 0 12px 12px; font-size: 15px; color: var(--ink); }
}
@media (min-width: 761px) { .pill nav { display: flex; gap: 2px; } }

main { padding-top: 76px; }

/* Home hero */
/* Same proportions as the reference: hero ends around half the screen height, with more air before the showreel */
.hero { min-height: clamp(420px, calc(70vh - 76px), 700px); display: grid; align-content: end; padding-bottom: clamp(40px, 4.4vw, 80px); row-gap: 32px; }
/* Intro: wider (fewer lines on laptops) and lined up with the top of the big title */
.hero__intro { grid-column: 1 / span 5; align-self: start; display: grid; gap: 22px; max-width: 40ch; }
/* Main heading for search engines, styled like body text */
.hero__h1 { font-size: inherit; line-height: inherit; letter-spacing: normal; font-weight: 400; }
.hero__title { grid-column: 6 / -1; font-size: clamp(28px, 3.2vw, 64px); line-height: 1.04; }
@media (max-width: 900px) {
  .hero { min-height: 0; padding-top: 48px; }
  .hero__intro, .hero__title { grid-column: 1 / -1; }
  .hero__intro { max-width: 30ch; }
  .hero__title { order: -1; }
}

/* Full-bleed media */
.bleed { position: relative; display: block; width: 100%; aspect-ratio: 16 / 7.5; overflow: hidden; background: #222; border: 0; padding: 0; cursor: pointer; }
.bleed img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.bleed:hover img { transform: scale(1.025); }
@media (max-width: 700px) { .bleed { aspect-ratio: 4 / 3; } }
.tag {
  position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%);
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px; border-radius: 999px;
  background: rgba(240, 240, 237, .7); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  color: var(--ink); font: 400 14px/1 var(--font); white-space: nowrap;
  transition: background .25s var(--ease), color .25s var(--ease);
}
.tag--play::before { content: ""; border-left: 8px solid currentColor; border-top: 5px solid transparent; border-bottom: 5px solid transparent; }

/* Sections */
.section { padding-top: clamp(72px, 9vw, 140px); }
.section:last-of-type { padding-bottom: clamp(72px, 9vw, 140px); }
/* Home: clear way to the full Work page after the 6 featured works */
.see-all { display: flex; justify-content: center; padding: clamp(48px, 5vw, 80px) 0 clamp(40px, 6vw, 120px); }
.see-all__btn { display: inline-flex; align-items: center; gap: 12px; padding: 20px 34px; border-radius: 999px; background: var(--ink); color: #fff; font-size: clamp(17px, 1.3vw, 22px); transition: background .25s var(--ease); }
.see-all__btn span { transition: transform .3s var(--ease); }
.see-all__btn:hover { background: var(--red); }
.see-all__btn:hover span { transform: translateX(4px); }
.belief { padding-top: clamp(40px, 6vw, 96px); padding-bottom: clamp(20px, 3vw, 40px); }
.belief .statement { grid-column: 1 / -1; }

/* Work cards */
.works { display: grid; gap: var(--gutter); grid-template-columns: 1fr; }
@media (min-width: 700px) { .works { grid-template-columns: 1fr 1fr; } }
.work { position: relative; display: block; width: 100%; padding: 0; border: 0; background: #222; border-radius: var(--radius); overflow: hidden; cursor: pointer; aspect-ratio: 16 / 10; font: inherit; }
.work img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.work:hover img, .work:focus-visible img { transform: scale(1.04); }
.work:hover .tag, .work:focus-visible .tag { background: var(--white); }
/* long titles wrap inside the card instead of spilling past it (only kicks in when the title doesn't fit) */
.work .tag { max-width: calc(100% - 32px); width: max-content; white-space: normal; line-height: 1.25; text-align: center; border-radius: 18px; }
.work__info {
  position: absolute; left: 16px; right: 16px; top: 14px;
  display: flex; justify-content: space-between; gap: 12px;
  color: #fff; font-size: 13px; text-align: left;
  opacity: 0; transform: translateY(-4px);
  transition: opacity .3s var(--ease), transform .3s var(--ease);
  text-shadow: 0 1px 12px rgba(0,0,0,.45);
}
.work:hover .work__info, .work:focus-visible .work__info { opacity: 1; transform: none; }
@media (hover: none) { .work__info { opacity: 1; transform: none; } }

/* Service rows */
.services { border-top: 1px solid var(--line); }
.service { padding: clamp(24px, 2.4vw, 40px) 0 clamp(48px, 5vw, 96px); border-bottom: 1px solid var(--line); row-gap: 20px; scroll-margin-top: 90px; }
.service__num { grid-column: 1 / span 1; font-size: 15px; }
.service__name { grid-column: 2 / span 3; }
.service__name h3 { font-size: 16px; margin-bottom: 18px; }
.service__name ul { list-style: none; margin: 0; padding: 0; color: var(--muted); font-size: 15px; display: grid; gap: 4px; }
.service__text { grid-column: 5 / span 5; }
.service__icon { grid-column: 10 / span 3; justify-self: end; align-self: start; width: clamp(120px, 10vw, 200px); color: var(--ink); }
.service__icon svg { display: block; width: 100%; height: auto; overflow: visible; }
.service__icon svg * { stroke-width: .75; }
@media (max-width: 900px) {
  .service { padding-bottom: 48px; }
  .service__num { grid-column: 1 / span 2; }
  .service__name { grid-column: 3 / span 6; }
  .service__icon { grid-column: 9 / -1; grid-row: 1 / span 2; width: 96px; }
  .service__text { grid-column: 1 / -1; }
}

/* Numbers */
.numbers { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--line); }
/* Desktop: first number starts at the left edge, last one ends at the right edge, equal gaps between */
@media (min-width: 900px) {
  .numbers { display: flex; justify-content: space-between; gap: 24px; border-bottom: 1px solid var(--line); }
  .numbers .number { flex: 0 1 12.5rem; min-width: 0; border-bottom: 0; padding-right: 0; }
  .numbers .number__note { max-width: none; }
}
.number { padding: 22px 18px 28px 0; border-bottom: 1px solid var(--line); display: grid; gap: 10px; align-content: start; }
.number__value { font-size: clamp(60px, 7.4vw, 150px); font-weight: 500; line-height: .9; letter-spacing: -0.055em; color: var(--red); }
.number__note { color: var(--muted); font-size: 14px; max-width: 26ch; }

/* Phones: one number per row, centred; services without icons, steps on one line separated by slashes */
@media (max-width: 760px) {
  .numbers { grid-template-columns: 1fr; }
  .number { justify-items: center; text-align: center; padding: 28px 0 32px; }
  .number .small { font-size: 16px; font-weight: 500; }
  .number__note { max-width: 32ch; text-wrap: balance; }
  .bar__num, .bar--slim .bar__mid { display: none; }
  .service__icon { display: none; }
  .service__name { display: contents; }
  .service__name h3 { grid-column: 3 / -1; margin-bottom: 0; }
  .service__name ul { grid-column: 1 / -1; }
  .footer .footer__col--nav { display: none; }
  .footer .footer__col { grid-column: 1 / -1; }
  .footer .footer__since { display: none; }
  .footer .footer__col:first-child { display: none; }
  .footer .footer__legal { margin-top: 28px; }
  .cta .display { font-size: 28px; }
  .cta .mail-line { font-size: 17px; }
  /* contact: smaller title and email line, less space under the menu, so the form starts sooner */
  .contact-hero { padding-top: 36px; padding-bottom: 32px; }
  .contact-hero .statement { font-size: 25px; }
  .contact-hero .mail-line { font-size: 17px; margin-top: 18px; }
  /* the form comes right after the title; "Get in touch" (email, studio, languages, LinkedIn) moves below it */
  .contact-section { display: flex; flex-direction: column; padding-bottom: 72px; }
  .contact-section .contact { display: contents; }
  .contact-section .form { order: 1; padding-top: 24px; border-top: 1px solid var(--line); }
  .contact-section .bar { order: 2; margin-top: 64px; }
  .contact-section aside { order: 3; padding-top: 24px; }
  .steps.faq { grid-column: 1 / -1; }
  .steps-aside { margin-bottom: 24px; }
  /* Work switch: full width, two equal halves, no counts, never wraps */
  .work-hero .switch { display: grid; grid-template-columns: 1fr 1fr; justify-self: stretch; }
  .switch button { white-space: nowrap; padding-left: 8px; padding-right: 8px; }
  .switch button sup { display: none; }
  /* Menu and language sit loose (no pill) with their text on the wordmark's baseline */
  .header__right { position: relative; top: 16px; }
  .menu-toggle { padding-left: 8px; padding-right: 8px; }
  .pill, .header.is-solid .pill { background: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
  /* slightly darker than the brand red so small link text passes WCAG AA (4.77:1 on the background) */
  .go[href*="/contact/"], .cta .display a { color: #D81010; }
  .lang__current, .lang:hover .lang__current, .header.is-solid .lang__current { background: none; padding: 9px 2px 9px 6px; font-size: 14px; }
  .service__name ul { display: block; }
  .service__name li { display: inline; }
  .service__name li:not(:last-child)::after { content: " / "; }
}

/* Two-column small text */
.cols { row-gap: 28px; }
.cols__label { grid-column: 1 / span 4; }
.cols__a { grid-column: 6 / span 3; }
.cols__b { grid-column: 9 / span 3; }
.cols__a, .cols__b { display: grid; gap: 14px; align-content: start; }
@media (max-width: 900px) { .cols__label, .cols__a, .cols__b { grid-column: 1 / -1; } }

/* Quotes */
.quote { padding: clamp(28px, 3vw, 44px) 0; border-bottom: 1px solid var(--line); row-gap: 18px; }
.quote blockquote { grid-column: 4 / -1; margin: 0; }
.quote figcaption { grid-column: 1 / span 3; font-size: 14px; }
.quote figcaption span { display: block; color: var(--muted); }
@media (max-width: 900px) { .quote blockquote, .quote figcaption { grid-column: 1 / -1; } .quote figcaption { order: 2; } }

/* Steps accordion */
.steps { grid-column: 5 / -1; border-top: 1px solid var(--line); }
.steps details { border-bottom: 1px solid var(--line); }
.steps summary {
  list-style: none; cursor: pointer;
  display: grid; grid-template-columns: 64px 1fr auto; align-items: baseline; gap: 12px;
  padding: 22px 0; font-size: clamp(20px, 2vw, 28px); letter-spacing: -0.03em;
}
.steps summary::-webkit-details-marker { display: none; }
.steps summary span:first-child { font-size: 16px; letter-spacing: 0; }
.steps summary::after { content: "+"; font-size: 26px; transition: transform .3s var(--ease); }
.steps details[open] summary::after { transform: rotate(45deg); }
.steps details:hover summary { color: var(--red); }
.steps details p { padding: 0 0 26px 76px; max-width: 64ch; color: #444; }
.steps-aside { grid-column: 1 / span 3; align-self: start; display: grid; gap: 20px; }
@media (max-width: 900px) { .steps, .steps-aside { grid-column: 1 / -1; } .steps details p { padding-left: 0; } .steps summary { grid-template-columns: 44px 1fr auto; } }

/* Inner page heroes */
.page-hero { padding-top: clamp(80px, 12vw, 200px); padding-bottom: clamp(40px, 5vw, 72px); }
.page-hero .statement, .page-hero .display { grid-column: 1 / -1; }
.page-hero--media { align-items: end; row-gap: 32px; }
.page-hero--media .page-hero__media { grid-column: 1 / span 3; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; }
.page-hero--media .page-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.page-hero--media .statement { grid-column: 1 / -1; }
.page-hero h1 .muted { color: var(--muted); }
.copy { grid-column: 5 / span 4; display: grid; gap: 16px; font-size: 15px; }
@media (max-width: 900px) { .copy, .page-hero--media .page-hero__media { grid-column: 1 / -1; } }

/* About / Services top: small photo left, statement wraps around it with a grey kicker */
.split-hero { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--gutter); padding-top: clamp(48px, 8vw, 150px); }
.split-hero__photo { grid-column: 1 / span 5; margin: 0; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; }
.split-hero__photo img { width: 100%; height: 100%; object-fit: cover; }
/* the first two lines (kicker + first line of text) sit beside the photo's lower edge, one gutter after the photo */
.split-hero__text { grid-column: 1 / -1; text-indent: calc((100% - 11 * var(--gutter)) * 5 / 12 + 5 * var(--gutter)); margin-top: -1.905em; position: relative; } /* first body line sits on the photo's bottom edge */
.split-hero__kicker { display: block; color: var(--muted); }
.split-hero__body { display: block; }
@media (max-width: 900px) {
  .split-hero__photo { grid-column: 1 / span 8; }
  .split-hero__text { text-indent: 0; margin-top: 28px; }
}

/* About hero: photo in the middle, giant year sitting on a line, its lower part frosted */
.about-hero {
  --frost: clamp(64px, 6vw, 128px);
  /* year as wide as the content column (20% smaller on big monitors), never taller than 40% of the screen */
  --est-size: min(calc(min(100vw - 2 * var(--gutter), var(--max)) / 3.55), 40vh);
  position: relative; height: calc(100vh - 76px); min-height: 560px; overflow: hidden;
  display: grid; place-items: center;
  /* the photo is centred in the space left above the year */
  padding: 24px 0 calc(var(--frost) + var(--est-size) * .62);
}
.about-hero--word { --est-size: min(calc(min(100vw - 2 * var(--gutter), var(--max)) / 3.4), 40vh); }
.about-hero--word-long { --est-size: min(calc(min(100vw - 2 * var(--gutter), var(--max)) / 3.85), 40vh); }
@media (min-width: 1800px) {
  .about-hero { --est-size: min(calc(min(100vw - 2 * var(--gutter), var(--max)) / 3.55 * .8), 40vh); }
  .about-hero--word { --est-size: min(calc(min(100vw - 2 * var(--gutter), var(--max)) / 3.4 * .8), 40vh); }
  .about-hero--word-long { --est-size: min(calc(min(100vw - 2 * var(--gutter), var(--max)) / 3.85 * .8), 40vh); }
}
.about-hero__photo { margin: 0; width: clamp(240px, min(28vw, 52vh), 760px); aspect-ratio: 5 / 3; border-radius: var(--radius); overflow: hidden; position: relative; z-index: 1; }
.about-hero__photo img { width: 100%; height: 100%; object-fit: cover; }
.est {
  position: absolute; left: 50%; bottom: var(--frost); width: max-content; transform: translate(-50%, 28%);
  font-size: var(--est-size);
  line-height: .85; letter-spacing: -0.065em; font-weight: 400;
  white-space: nowrap; text-align: center;
  /* vertical: logo red on top (dominant), through pink, ending in yellow */
  background: linear-gradient(180deg, var(--red) 0%, var(--red) 38%, #FF4D8D 58%, #FFC83D 78%);
  /* room for the overhang of the last letter, so the gradient isn't clipped */
  padding: 0 .08em;
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.about-hero__frost {
  position: absolute; left: 0; right: 0; bottom: 0; height: var(--frost); z-index: 2;
  border-top: 1px solid var(--line);
  background: rgba(244, 244, 242, .55);
  -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
}
.about-hero__labels { display: flex; justify-content: space-between; padding-top: 22px; }
@media (max-width: 760px) { .about-hero { height: 72vh; min-height: 480px; --frost: 48px; } .about-hero__photo { margin-bottom: 0; } .about-hero__labels { padding-top: 14px; font-size: 11px; } }
.copy--large { grid-column: 5 / span 5; font-size: clamp(17px, 1.3vw, 20px); line-height: 1.5; gap: 22px; }

/* Team */
.team { display: grid; grid-template-columns: 1fr; border-top: 1px solid var(--line); }
/* Like the numbers: first name at the left edge, last one ending at the right edge, equal gaps */
@media (min-width: 800px) {
  .team { display: flex; justify-content: space-between; gap: 24px; border-bottom: 1px solid var(--line); }
  .team .member { flex: 0 1 21rem; min-width: 0; border-bottom: 0; padding-right: 0; }
}
.member { padding: 18px 18px 40px 0; border-bottom: 1px solid var(--line); }
.member h3 { font-size: clamp(24px, 2.2vw, 32px); letter-spacing: -0.03em; margin: 56px 0 6px; }

/* FAQ */
.faq { grid-column: 5 / -1; }

/* CTA */
.cta { padding-top: clamp(96px, 14vw, 220px); padding-bottom: clamp(56px, 7vw, 100px); }
.cta p { grid-column: 1 / -1; }
.cta a { color: var(--muted); transition: color .3s var(--ease); }
.cta a:hover { color: var(--red); }
.mail-line { grid-column: 1 / -1; margin-top: clamp(28px, 3vw, 48px); }
.mail-line a, .cta .mail-line a { color: var(--ink); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .18em; }
.mail-line a:hover, .cta .mail-line a:hover { color: var(--red); }

/* Contact */
.contact { border-top: 1px solid var(--line); padding-top: 24px; row-gap: 40px; padding-bottom: clamp(72px, 9vw, 140px); }
.contact aside { grid-column: 1 / span 3; display: grid; gap: 22px; align-content: start; font-size: 15px; }
.contact aside a:hover { color: var(--red); }
.form { grid-column: 5 / span 6; display: grid; gap: 22px; }
@media (max-width: 900px) { .contact aside, .form { grid-column: 1 / -1; } }
.field { display: grid; gap: 8px; }
.field > label, .field > legend { font-size: 14px; }
.field input, .field textarea {
  font: 400 16px/1.4 var(--font); color: var(--ink);
  background: var(--surface); border: 1px solid transparent; border-radius: 8px;
  padding: 14px 16px; width: 100%;
  transition: border-color .2s var(--ease), background .2s var(--ease);
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--ink); background: var(--white); }
.field textarea { min-height: 160px; resize: vertical; }
fieldset.field { border: 0; padding: 0; margin: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; }
.chip input, .field .chip input { position: absolute; top: 0; left: 0; width: 1px; height: 1px; padding: 0; opacity: 0; pointer-events: none; }
.chip span { display: inline-block; padding: 10px 16px; border-radius: 999px; background: var(--surface); font-size: 15px; cursor: pointer; transition: background .2s var(--ease), color .2s var(--ease); }
.chip input:checked + span { background: var(--ink); color: #fff; }
.chip input:focus-visible + span { outline: 2px solid var(--red); outline-offset: 2px; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: #444; }
.consent input { margin-top: 3px; accent-color: var(--red); width: 16px; height: 16px; }
.consent a { text-decoration: underline; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.btn {
  justify-self: start; display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px; border-radius: 999px; border: 0;
  background: var(--ink); color: #fff; font: 400 16px/1 var(--font); cursor: pointer;
  transition: background .25s var(--ease);
}
.btn:hover { background: var(--red); }

/* Prose */
.prose { grid-column: 5 / span 6; display: grid; gap: 14px; padding-bottom: clamp(72px, 9vw, 140px); }
.prose h2 { font-size: 22px; letter-spacing: -0.02em; margin-top: 24px; }
.prose a { text-decoration: underline; }
@media (max-width: 900px) { .prose { grid-column: 1 / -1; } }

/* Footer */
/* Lighter "curtain" that separates the footer from the grey page */
.footer { position: relative; overflow: hidden; padding-top: clamp(28px, 3vw, 48px); background: #FAFAF8; }
/* Soft red halo behind the wordmark */
.footer__glow {
  position: absolute; left: 50%; bottom: -30%; width: 120%; height: 120%; transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(250, 25, 25, .30), rgba(255, 122, 89, .14) 55%, rgba(250, 250, 248, 0) 100%);
  pointer-events: none;
}
.footer .grid { position: relative; row-gap: 28px; font-size: 14px; }
.footer__col { grid-column: span 2; display: grid; gap: 2px; align-content: start; }
.footer__col:first-child { grid-column: 1 / span 4; }
.footer a:hover { color: var(--red); }
.footer__legal { position: relative; margin-top: clamp(56px, 8vw, 120px); font-size: 13px; }
.footer__legal > * { grid-column: span 2; }
.footer__legal > :first-child { grid-column: 1 / span 4; }
/* Show exactly the top 165 of the logo's 195 units at every screen size (same crop as the approved version) */
.footer__mark { position: relative; padding: 12px var(--gutter) 0; }
.footer__mark img { width: 100%; height: auto; aspect-ratio: 657 / 165; object-fit: cover; object-position: top; }
@media (max-width: 760px) {
  .footer__col, .footer__col:first-child { grid-column: span 6; }
  .footer__legal > *, .footer__legal > :first-child { grid-column: span 6; }
}

/* Video modal */
.modal { position: fixed; inset: 0; z-index: 90; background: rgba(17, 17, 17, .94); display: none; align-items: center; justify-content: center; padding: var(--gutter); }
.modal.is-open { display: flex; }
.modal__frame { position: relative; width: min(1280px, 100%); aspect-ratio: 16 / 9; background: #000; border-radius: var(--radius); overflow: hidden; }
.modal__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.modal__close { position: absolute; top: 16px; right: 16px; z-index: 2; background: rgba(240,240,237,.85); color: var(--ink); border: 0; border-radius: 999px; padding: 9px 14px; font: 400 14px/1 var(--font); cursor: pointer; }
.modal__close:hover { background: #fff; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* ---- Motion ---- */
/* Work cards: rise in one after another, the picture opens and settles */
.works .work.reveal { transform: translateY(48px); transition-delay: var(--delay, 0ms); transition-duration: 1s; }
.works .work.reveal img { transform: scale(1.14); clip-path: inset(10% 6% round var(--radius)); transition: transform 1.4s var(--ease), clip-path 1.2s var(--ease); transition-delay: var(--delay, 0ms); }
.works .work.reveal.is-in { transform: none; }
.works .work.reveal.is-in img { transform: scale(1); clip-path: inset(0 round var(--radius)); }
.works .work.reveal.is-in:hover img, .works .work.reveal.is-in:focus-visible img { transform: scale(1.04); transition-delay: 0ms; }

/* Numbers: no animation, shown as they are */
.numbers.reveal { opacity: 1; transform: none; transition: none; }

/* Service icons: lines draw themselves, then the sparkles twinkle */
.service.reveal .service__icon svg * { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.6s var(--ease) .25s; }
.service.reveal.is-in .service__icon svg * { stroke-dashoffset: 0; }
.service.reveal.is-in .service__icon .spark { transform-box: fill-box; transform-origin: center; animation: twinkle 3.2s ease-in-out 1.9s infinite; }
.service.reveal.is-in .service__icon .spark:nth-of-type(2n) { animation-delay: 2.6s; }
@keyframes twinkle { 0%, 100% { transform: scale(1) rotate(0); opacity: 1; } 50% { transform: scale(.55) rotate(45deg); opacity: .55; } }

/* Showreel: starts slightly zoomed and settles as it scrolls into view (JS sets --zoom) */
.bleed img { transform: scale(var(--zoom, 1)); transition: transform .2s linear; }
.bleed:hover img { transform: scale(calc(var(--zoom, 1) + .02)); }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .works .work.reveal, .works .work.reveal img { transform: none; clip-path: none; }
  .service.reveal .service__icon svg * { stroke-dashoffset: 0; }
  .service__icon .spark { animation: none !important; }
  * { transition-duration: 0s !important; }
}

/* FAQ uses the steps list without numbers */
.faq summary { grid-template-columns: 1fr auto; }
.faq summary span:first-child { display: none; }
.faq details p { padding-left: 0; }

/* Work page: Case studies / Concept boards switch */
.work-hero { align-items: end; row-gap: 28px; }
.work-hero .switch { grid-column: 1 / span 4; align-self: end; margin-bottom: .6em; }
.page-hero.work-hero h1 { grid-column: 5 / -1; }
.work-intro { grid-column: 5 / -1; max-width: 44ch; margin-top: -8px; }
@media (max-width: 900px) { .work-hero .switch, .page-hero.work-hero h1, .work-intro { grid-column: 1 / -1; } .work-hero .switch { order: 2; margin: 0; } .work-intro { margin-top: 0; } }
.switch { display: inline-flex; justify-self: start; gap: 2px; padding: 4px; background: var(--surface); border-radius: 999px; }
.switch button { font: 400 14px/1 var(--font); color: var(--ink); background: none; border: 0; padding: 9px 14px; border-radius: 999px; cursor: pointer; transition: background .25s var(--ease); }
.switch button sup { font-size: 9px; margin-left: 1px; }
.switch button:hover, .switch button[aria-selected="true"] { background: var(--white); }
/* With JS: one white pill that slides to the hovered (or selected) option */
.switch { position: relative; }
.switch__pill { position: absolute; top: 4px; bottom: 4px; left: 0; width: 0; border-radius: 999px; background: var(--white); transition: transform .35s var(--ease), width .35s var(--ease); pointer-events: none; }
.js-tabs .switch button { position: relative; z-index: 1; background: none !important; }
.js-tabs [role="tabpanel"][hidden] { display: none; }

/* Concept board cards */
.work--board { aspect-ratio: 1200 / 850; background: var(--surface); }

/* Image lightbox (concept boards) */
.modal.is-image .modal__frame { aspect-ratio: auto; width: auto; max-width: min(1400px, 100%); background: none; }
.modal.is-image .modal__frame img { display: block; max-width: 100%; max-height: calc(100vh - 2 * var(--gutter)); width: auto; height: auto; margin: 0 auto; border-radius: var(--radius); }
@media (max-width: 900px) { .copy--large { grid-column: 1 / -1; } }

/* Tablets in portrait (iPad 768–834 px): phone-like structure is too small here, so
   bigger headings, the desktop photo/text composition, and the phone's simplified
   services, FAQ and footer. Phones (≤760) and desktops (>900) are not affected. */
@media (min-width: 761px) and (max-width: 900px) {
  /* menu items stay on one line ("Sobre nosotros" in Spanish) */
  .pill nav a { white-space: nowrap; }
  /* home: more air between the menu, the title and the intro */
  .hero { padding-top: 120px; row-gap: 56px; }
  .hero__title { font-size: 46px; }
  .statement { font-size: 44px; }
  .split-hero__photo { grid-column: 1 / span 5; }
  .split-hero__text { text-indent: calc((100% - 11 * var(--gutter)) * 5 / 12 + 5 * var(--gutter)); margin-top: -1.905em; }
  .service__icon { display: none; }
  .service__name { display: contents; }
  .service__name h3 { grid-column: 3 / -1; margin-bottom: 0; }
  .service__name ul { grid-column: 1 / -1; display: block; }
  .service__name li { display: inline; }
  .service__name li:not(:last-child)::after { content: " / "; }
  .steps.faq { grid-column: 1 / -1; }
  .steps-aside { margin-bottom: 24px; }
  .footer .footer__col--nav, .footer .footer__col:first-child, .footer .footer__since { display: none; }
  .footer .footer__col { grid-column: 1 / -1; }
  .footer .footer__legal { margin-top: 28px; }
}
/* Narrow desktops / iPad landscape: give the email column room so the address isn't cut off */
@media (min-width: 901px) and (max-width: 1199px) {
  .footer .footer__col:first-child { grid-column: 1 / span 3; }
  .footer .footer__col:last-child { grid-column: span 3; }
}
