:root {
  --ink: #101010;
  --paper: #ffffff;
  --soft: #f2f2f2;
  --line: #d9d9d9;
  --accent: #ff4d2e;
  --max: 1440px;
  --work-max: 1680px;
  --pad: clamp(20px, 4vw, 64px);
  --selected-work: "Selected work";
}
html[lang="es"] { --selected-work: "Proyectos"; }
html[lang="ca"] { --selected-work: "Projectes"; }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
}
.lightbox-open { overflow: hidden; }
a { color: inherit; }
img { display: block; width: 100%; height: auto; }
button, input, textarea { font: inherit; }

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 100;
  transform: translateY(-150%);
  padding: 10px 14px;
  color: white;
  background: var(--ink);
}
.skip-link:focus { transform: none; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: 220px 1fr auto;
  align-items: center;
  gap: 24px;
  min-height: 82px;
  padding: 14px var(--pad);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, .95);
  backdrop-filter: blur(12px);
}
.brand { display: inline-flex; width: 190px; }
.brand img { object-fit: contain; }
.main-nav { display: flex; justify-content: center; gap: 30px; }
.main-nav a,
.lang-switch button,
.menu-toggle {
  border: 0;
  background: transparent;
  text-decoration: none;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .09em;
  text-transform: uppercase;
}
.main-nav a { position: relative; padding: 8px 0; }
.main-nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 2px;
  left: 0;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .2s ease;
}
.main-nav a:hover::after,
.main-nav a[aria-current="page"]::after { transform: scaleX(1); }
.header-tools { display: flex; align-items: center; gap: 18px; }
.social-links { display: inline-flex; align-items: center; gap: 11px; }
.social-link { display: inline-grid; width: 23px; height: 23px; place-items: center; color: currentColor; text-decoration: none; transition: color .2s ease, transform .2s ease; }
.social-link svg { width: 19px; height: 19px; overflow: visible; }
.social-link:hover { color: var(--accent); transform: translateY(-1px); }
.social-link:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.lang-switch { display: flex; gap: 7px; }
.lang-switch button { padding: 4px 0; color: #777; cursor: pointer; }
.lang-switch button.active { color: var(--ink); box-shadow: 0 2px 0 var(--accent); }
.menu-toggle { display: none; position: relative; width: 40px; height: 40px; padding: 0; font-size: 0; cursor: pointer; }
.menu-toggle::before, .menu-toggle::after { content: ""; position: absolute; right: 7px; left: 7px; height: 2px; background: currentColor; transition: transform .2s ease, box-shadow .2s ease; }
.menu-toggle::before { top: 11px; box-shadow: 0 8px currentColor; }
.menu-toggle::after { top: 27px; }
.menu-toggle[aria-expanded="true"]::before { box-shadow: none; transform: translateY(8px) rotate(45deg); }
.menu-toggle[aria-expanded="true"]::after { transform: translateY(-8px) rotate(-45deg); }
.menu-toggle:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

main { overflow: hidden; }
.hero {
  min-height: calc(100vh - 82px);
  display: grid;
  grid-template-columns: minmax(0, .94fr) minmax(420px, 1.06fr);
  align-items: stretch;
  border-bottom: 1px solid var(--ink);
}
.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(46px, 6vw, 94px) var(--pad) clamp(36px, 5vw, 64px);
}
.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 26px;
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 34px; height: 3px; background: var(--accent); }
h1, h2, h3, p { margin-top: 0; }
h1,
.display-title {
  max-width: 880px;
  margin-bottom: 28px;
  padding-bottom: .08em;
  font-size: clamp(3.65rem, 7.2vw, 8.4rem);
  font-weight: 900;
  letter-spacing: -.075em;
  line-height: .92;
}
.hero-lede {
  max-width: 610px;
  margin-bottom: 34px;
  font-size: clamp(1.08rem, 1.5vw, 1.45rem);
  line-height: 1.38;
}
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border: 2px solid var(--ink);
  background: var(--ink);
  color: white;
  font-size: .82rem;
  font-weight: 800;
  letter-spacing: .07em;
  text-decoration: none;
  text-transform: uppercase;
  transition: transform .2s ease, background .2s ease, color .2s ease;
}
.button:hover { transform: translateY(-2px); background: var(--accent); border-color: var(--accent); }
.button.secondary { background: transparent; color: var(--ink); }
.button.secondary:hover,
.button.secondary:focus-visible { color: var(--accent); }
.hero-proof {
  margin: 44px 0 0;
  font-size: .79rem;
  font-weight: 800;
  letter-spacing: .07em;
  text-transform: uppercase;
}
.hero-art {
  position: relative;
  min-height: 650px;
  overflow: hidden;
  background: #12a8b5;
}
.hero-art img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity .65s ease;
}
.hero-art img.active { opacity: 1; }
.hero-art img.contain { object-fit: contain; background: #ffed00; }
.hero-art::after {
  content: var(--selected-work) "  /  " attr(data-slide-number);
  position: absolute;
  right: 0;
  bottom: 0;
  padding: 14px 18px;
  background: var(--ink);
  color: white;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  z-index: 1;
}

@media (prefers-reduced-motion: reduce) {
  .hero-art img { transition: none; }
}

.ticker {
  overflow: hidden;
  padding: 14px 0;
  color: white;
  background: var(--ink);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  white-space: nowrap;
}
.ticker-track { display: flex; width: max-content; animation: ticker-scroll 34s linear infinite; will-change: transform; }
.ticker-group { display: flex; flex: none; align-items: center; gap: 36px; padding-right: 36px; }
.ticker span::before { content: "✦"; margin-right: 36px; color: var(--accent); }
@keyframes ticker-scroll { to { transform: translateX(-33.333333%); } }

.section { padding: clamp(72px, 9vw, 140px) var(--pad); }
.section.compact { padding-top: clamp(48px, 6vw, 84px); padding-bottom: clamp(48px, 6vw, 84px); }
.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, .75fr);
  gap: 60px;
  align-items: end;
  max-width: var(--max);
  margin: 0 auto 48px;
}
.section-number { display: block; margin-bottom: 14px; color: var(--accent); font-weight: 900; }
h2 {
  margin-bottom: 0;
  font-size: clamp(2.6rem, 5.2vw, 5.9rem);
  font-weight: 900;
  letter-spacing: -.055em;
  line-height: .92;
}
.section-intro { max-width: 540px; margin-bottom: 4px; font-size: 1.12rem; }

.work-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 28px);
  max-width: var(--work-max);
  margin: 0 auto;
}
.work-grid.full-portfolio { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.work-card { position: relative; display: block; min-width: 0; text-decoration: none; }
.work-card figure { position: relative; margin: 0; aspect-ratio: 1.22; overflow: hidden; background: var(--soft); }
.work-card::after {
  content: attr(aria-label);
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 20px;
  color: white;
  background: rgba(24, 24, 24, .68);
  opacity: 0;
  transition: opacity .28s ease;
  font-size: clamp(.9rem, 1.25vw, 1.25rem);
  font-weight: 850;
  letter-spacing: .1em;
  line-height: 1.25;
  text-align: center;
  text-transform: uppercase;
  pointer-events: none;
}
.work-card:hover::after, .work-card:focus-visible::after { opacity: 1; }
.work-card img { width: 100%; height: 100%; object-fit: cover; transition: filter .28s ease, transform .45s ease; }
.work-card:hover img, .work-card:focus-visible img { filter: blur(4px); transform: scale(1.035); }
.work-card:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }

@media (hover: none) {
  .work-card::after { inset: auto 0 0; min-height: 78px; place-items: end start; padding: 28px 16px 14px; background: linear-gradient(transparent, rgba(16, 16, 16, .78)); opacity: 1; font-size: .78rem; text-align: left; }
  .work-card:hover img { filter: none; transform: none; }
}

.all-work-row { max-width: var(--max); margin: 20px auto 0; }
.text-link { font-weight: 850; text-underline-offset: 5px; text-decoration-thickness: 2px; }
.text-link:hover { color: var(--accent); }

.services { color: white; background: var(--ink); }
.services .section-head { border-bottom: 1px solid #555; padding-bottom: 46px; }
.service-grid { max-width: var(--max); margin: 0 auto; }
.service {
  display: grid;
  grid-template-columns: 75px minmax(220px, .75fr) minmax(280px, 1.25fr);
  gap: 30px;
  padding: 30px 0;
  border-bottom: 1px solid #444;
}
.service-index { color: var(--accent); font-weight: 900; }
.service h3 { margin-bottom: 0; font-size: clamp(1.45rem, 2.5vw, 2.4rem); letter-spacing: -.03em; }
.service p { max-width: 700px; margin-bottom: 0; color: #c7c7c7; }

.facts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  max-width: var(--max);
  margin: 0 auto;
  border-top: 1px solid var(--ink);
  border-left: 1px solid var(--ink);
}
.fact { min-height: 180px; padding: 24px; border-right: 1px solid var(--ink); border-bottom: 1px solid var(--ink); }
.fact strong { display: block; margin-bottom: 34px; font-size: clamp(2.3rem, 4vw, 4.6rem); letter-spacing: -.06em; line-height: .9; }
.fact span { display: block; max-width: 180px; font-size: .78rem; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }

.clients-wrap { max-width: var(--max); margin: 0 auto; }
.clients-wrap h2 { margin-bottom: clamp(22px, 3vw, 38px); line-height: 1.08; }
.clients-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 38px; }
.client-pill { padding: 11px 15px; border: 1px solid var(--ink); font-size: .8rem; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; }

.contact-block {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  gap: clamp(36px, 6vw, 100px);
  align-items: start;
  color: white;
  background: var(--accent);
}
.contact-block h2 { max-width: 1000px; }
.thanks-page { min-height: calc(100vh - 150px); display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: clamp(72px, 10vw, 150px) var(--pad); }
.thanks-page h1 { max-width: 980px; }
.thanks-page .hero-lede { margin-bottom: 38px; }
.contact-lede { max-width: 520px; margin: 28px 0 54px; font-size: clamp(1.05rem, 1.6vw, 1.4rem); }
.contact-details { display: grid; gap: 8px; min-width: 260px; }
.contact-details span { margin-top: 12px; font-size: .78rem; font-weight: 850; letter-spacing: .07em; text-transform: uppercase; }
.contact-details a { font-weight: 800; text-underline-offset: 4px; }
.contact-email-row { display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px 16px; }
.copy-email-button { padding: 4px 0; border: 0; border-bottom: 1px solid currentColor; color: white; background: transparent; font: inherit; font-size: .78rem; font-weight: 800; cursor: pointer; }
.copy-email-button:hover, .copy-email-button:focus-visible { color: var(--ink); }
.copy-email-feedback { min-height: 1.25em; font-size: .75rem; }
.contact-cta { width: fit-content; background: white; border-color: white; color: var(--ink); }
.contact-cta:hover { background: var(--ink); border-color: var(--ink); color: white; }
.contact-form { min-width: 0; padding: clamp(22px, 3vw, 44px); background: var(--ink); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 16px; }
.form-field { display: grid; gap: 8px; min-width: 0; font-size: .78rem; font-weight: 850; letter-spacing: .03em; }
.form-field-full { grid-column: 1 / -1; }
.form-field input, .form-field select, .form-field textarea { width: 100%; min-height: 48px; padding: 12px 14px; border: 1px solid #777; border-radius: 0; background: white; color: var(--ink); font-size: 1rem; font-weight: 400; letter-spacing: 0; }
.form-field textarea { resize: vertical; min-height: 138px; }
.form-field :is(input, select, textarea):focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.form-bottom { display: flex; align-items: flex-start; flex-wrap: wrap; gap: 16px 24px; margin-top: 24px; }
.contact-form .button { flex: none; border-color: white; background: white; color: var(--ink); cursor: pointer; }
.contact-form .button:hover { border-color: var(--accent); background: var(--accent); color: white; }
.form-note { max-width: 360px; margin: 0; color: #cfcfcf; font-size: .78rem; line-height: 1.45; }
.form-note a { color: white; }
.form-feedback { margin: 18px 0 0; padding: 14px 16px; border: 1px solid #888; color: white; font-size: .85rem; }
.form-feedback[hidden] { display: none; }
.form-feedback a { margin-left: 4px; color: white; font-weight: 800; text-decoration: underline; }
.contact-form .button:disabled { cursor: wait; opacity: .55; }
.honey-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  padding: 24px var(--pad);
  color: #aaa;
  background: var(--ink);
  font-size: .74rem;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.footer-social { display: inline-flex; align-items: center; gap: 12px; }
.footer-social > span { color: white; font-weight: 800; }
.footer-social .social-links { gap: 8px; }
.footer-social .social-link { width: 20px; height: 20px; }
.footer-social .social-link svg { width: 17px; height: 17px; }

.page-hero {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 60px;
  align-items: end;
  padding: clamp(72px, 9vw, 130px) var(--pad) clamp(50px, 7vw, 92px);
  border-bottom: 1px solid var(--ink);
}
.page-hero > *, .section-head > *, .hero > * { min-width: 0; }
.page-hero h1 { margin: 0; }
.page-hero p { max-width: 560px; margin-bottom: 6px; font-size: 1.15rem; }
.filter-bar { display: flex; flex-wrap: wrap; gap: 8px; max-width: var(--work-max); margin: 0 auto 34px; }
.filter-button { padding: 9px 13px; border: 1px solid var(--ink); background: white; cursor: pointer; font-size: .73rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
.filter-button.active, .filter-button:hover { color: white; background: var(--ink); }
.work-card[hidden] { display: none; }

.project-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 580px;
  border-bottom: 1px solid var(--ink);
}
.project-head-copy { display: flex; flex-direction: column; justify-content: space-between; padding: clamp(50px, 7vw, 100px) var(--pad); }
.project-kicker { color: var(--accent); font-size: .77rem; font-weight: 850; text-transform: uppercase; letter-spacing: .1em; }
.project-head h1 { max-width: 720px; margin-bottom: 28px; font-size: clamp(3.4rem, 7vw, 7.8rem); }
.project-head-image img { height: 100%; object-fit: cover; }
.project-meta { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 46px; padding-top: 18px; border-top: 1px solid var(--ink); }
.project-meta > div { color: var(--ink); font-size: 1rem; font-weight: 400; letter-spacing: normal; line-height: 1.35; text-transform: none; }
.project-meta > div > span:first-child { display: block; margin-bottom: 6px; color: #777; font-size: .68rem; font-weight: 800; letter-spacing: .08em; line-height: 1.2; text-transform: uppercase; }
.project-meta > div > span:not(:first-child) { display: inline; margin: 0; color: inherit; font: inherit; letter-spacing: inherit; line-height: inherit; text-transform: inherit; }
.project-story { display: grid; grid-template-columns: .8fr 1.2fr; gap: 70px; max-width: var(--max); margin: 0 auto; }
.project-story h2 { font-size: clamp(2.5rem, 4.5vw, 5rem); }
.project-story-copy { max-width: 700px; font-size: 1.15rem; }
.project-gallery { display: grid; gap: 20px; max-width: var(--max); margin: 0 auto; }
.project-gallery.two { grid-template-columns: 1fr 1fr; }
.project-gallery img { width: 100%; background: var(--soft); object-fit: cover; }
.project-gallery.two img { aspect-ratio: 4 / 3; }
.h1-project-head-image,
.h1-project-head-image a,
.h1-project-head-image img { background: #076bb6; }
.h1-project-head-image img { object-fit: contain; }
.h1-kv-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  max-width: var(--max);
  margin: 0 auto;
}
.h1-kv-grid .project-gallery-item,
.h1-kv-grid .project-gallery-item a { background: transparent; }
.h1-kv-grid .project-gallery-item img { display: block; width: 100%; height: auto; }

.studio-opening { display: grid; grid-template-columns: minmax(0, .98fr) minmax(0, 1.02fr); min-height: min(780px, calc(100svh - 82px)); border-bottom: 1px solid var(--ink); }
.studio-opening-copy { display: flex; flex-direction: column; justify-content: space-between; gap: 48px; padding: clamp(48px, 6vw, 100px) var(--pad) clamp(40px, 5vw, 70px); }
.studio-opening h1 { margin-bottom: 0; font-size: clamp(3.1rem, 4.5vw, 6.2rem); }
.studio-opening-lede { max-width: 580px; margin-bottom: 20px; font-size: clamp(1.08rem, 1.5vw, 1.42rem); line-height: 1.42; }
.studio-opening .text-link { font-size: .85rem; text-transform: uppercase; letter-spacing: .06em; }
.studio-photo { position: relative; min-width: 0; margin: 0; overflow: hidden; background: #ddd; }
.studio-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.studio-opening-photo { min-height: 560px; }
.studio-statement { border-bottom: 1px solid var(--line); }
.manifesto { max-width: 1180px; margin: 0 auto; font-size: clamp(2.3rem, 5vw, 5.2rem); font-weight: 850; letter-spacing: -.055em; line-height: 1.02; }
.manifesto em { color: var(--accent); font-style: normal; }
.studio-inner { max-width: var(--max); margin: 0 auto; }
.studio-people { background: var(--soft); }
.studio-section-heading { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 40px; align-items: end; margin-bottom: clamp(40px, 5vw, 74px); }
.studio-section-heading .section-number { margin-bottom: 0; }
.studio-section-heading h2 { max-width: 860px; margin: 0; }
.founder-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(26px, 3vw, 48px); border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); }
.founder-card { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(20px, 2.4vw, 38px); align-items: center; min-width: 0; padding: clamp(32px, 4vw, 54px) 0; }
.founder-portrait { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; background: #e0ddd4; }
.founder-copy { min-width: 0; }
.founder-index { color: var(--accent); font-size: .8rem; font-weight: 900; }
.founder-card h3 { margin: 20px 0 12px; font-size: clamp(4rem, 6vw, 6.6rem); font-weight: 900; letter-spacing: -.075em; line-height: .9; }
.founder-role { margin-bottom: 26px; font-size: .78rem; font-weight: 850; letter-spacing: .05em; text-transform: uppercase; }
.founder-description { max-width: 430px; margin-bottom: 0; font-size: clamp(1rem, 1.3vw, 1.25rem); }
.studio-detail-photo { height: clamp(320px, 44vw, 720px); }
.studio-detail-photo img { object-position: 50% 48%; }
.studio-clients h2 { max-width: 900px; margin: 0 0 clamp(42px, 5vw, 72px); }
.studio-client-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 22px; margin: 0; padding: 0; border-top: 1px solid var(--ink); list-style: none; }
.studio-client-grid li { min-width: 0; padding: 20px 0; border-bottom: 1px solid var(--line); font-size: clamp(1rem, 1.5vw, 1.55rem); font-weight: 850; letter-spacing: -.025em; overflow-wrap: anywhere; }
.studio-character { border-top: 1px solid var(--line); }
.studio-character .studio-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(32px, 7vw, 110px); align-items: start; }
.studio-character h2 { margin: 0; font-size: clamp(2.4rem, 3.4vw, 4rem); }
.studio-character p { max-width: 650px; margin: 0; font-size: clamp(1.18rem, 1.6vw, 1.5rem); line-height: 1.42; }

@media (max-width: 1100px) {
  .founder-grid { grid-template-columns: 1fr; gap: 0; }
  .founder-card { grid-template-columns: minmax(0, .72fr) minmax(0, 1.28fr); gap: clamp(32px, 6vw, 100px); }
  .founder-card + .founder-card { border-top: 1px solid var(--ink); }
}

@media (max-width: 980px) {
  .site-header { grid-template-columns: 1fr auto; }
  .main-nav {
    display: none;
    position: absolute;
    top: 81px;
    right: 0;
    left: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 18px var(--pad) 28px;
    border-bottom: 1px solid var(--ink);
    background: white;
  }
  .main-nav.open { display: flex; }
  .main-nav a { width: 100%; padding: 14px 0; border-bottom: 1px solid var(--line); }
  .menu-toggle { display: inline-block; }
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-copy { min-height: 610px; }
  .hero-art { min-height: 58vw; }
  .section-head, .page-hero, .project-story { grid-template-columns: 1fr; gap: 28px; }
  .work-grid, .work-grid.full-portfolio { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact-block { grid-template-columns: 1fr; }
  .facts { grid-template-columns: repeat(2, 1fr); }
  .project-head { grid-template-columns: 1fr; }
  .project-head-image { min-height: 62vw; }
  .studio-opening { grid-template-columns: 1fr; min-height: 0; }
  .studio-opening-copy { min-height: 500px; }
  .studio-opening-photo { min-height: 56vw; max-height: 680px; }
  .studio-client-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .studio-character .studio-inner { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
  body { font-size: 16px; }
  .site-header { min-height: 70px; }
  .brand { width: 145px; }
  .main-nav { top: 69px; }
  .header-tools { gap: 10px; }
  .lang-switch { gap: 5px; }
  .lang-switch button { font-size: .63rem; }
  .hero-copy { min-height: 520px; padding-top: 48px; }
  h1, .display-title { font-size: clamp(3.15rem, 15vw, 5rem); }
  .page-hero h1 { font-size: clamp(2.55rem, 11.8vw, 3.5rem); overflow-wrap: normal; }
  .hero-art { min-height: 76vw; }
  .section-head { margin-bottom: 32px; }
  .work-grid, .work-grid.full-portfolio { grid-template-columns: 1fr; gap: 18px; }
  .service { grid-template-columns: 46px 1fr; gap: 14px; }
  .service p { grid-column: 2; }
  .facts { grid-template-columns: 1fr 1fr; }
  .fact { min-height: 148px; }
  .form-grid { grid-template-columns: 1fr; }
  .site-footer { flex-direction: column; }
  .project-head-copy { min-height: 500px; }
  .project-meta { grid-template-columns: 1fr; }
  .project-gallery.two { grid-template-columns: 1fr; }
  .studio-opening-copy { min-height: 530px; padding-top: 56px; }
  .studio-opening h1 { font-size: clamp(3.1rem, 12vw, 5rem); }
  .studio-opening-photo { min-height: 74vw; }
  .studio-section-heading { grid-template-columns: 1fr; gap: 20px; }
  .founder-card { grid-template-columns: 1fr; gap: 26px; padding: 34px 0 40px; }
  .founder-portrait { max-height: 530px; }
  .founder-role { margin-bottom: 22px; }
  .studio-detail-photo { height: 78vw; }
  .studio-client-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; }
}

@media (max-width: 520px) {
  .site-header { gap: 10px; }
  .brand { width: 132px; }
  .header-tools { gap: 8px; }
  .header-tools .social-links { gap: 6px; }
  .header-tools .social-link { width: 19px; height: 22px; }
  .header-tools .social-link svg { width: 17px; height: 17px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ticker-track { animation: none; }
  *, *::before, *::after { transition: none !important; }
}

/* Full portfolio and project case studies */
.full-portfolio { align-items: start; }
.project-head-image { overflow: hidden; background: var(--soft); }
.project-head-image a { display: block; height: 100%; }
.project-head-image img { width: 100%; min-height: 100%; }
.project-gallery.editorial {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
}
.project-gallery-item { margin: 0; min-width: 0; }
.project-gallery-item.wide { grid-column: 1 / -1; }
.project-gallery-item a { display: block; overflow: hidden; background: var(--soft); }
.project-gallery-item img { display: block; width: 100%; height: auto; transition: transform .45s ease; }
.project-gallery-item.white-background,
.project-gallery-item.white-background a,
.project-gallery-item.white-background img { background: #fff; }
.project-gallery-item a:hover img { transform: scale(1.012); }
.project-lightbox[open] {
  position: fixed;
  inset: 0;
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) 64px;
  grid-template-rows: auto minmax(0, 1fr);
  gap: 14px;
  width: 100vw;
  height: 100dvh;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 18px;
  border: 0;
  color: #fff;
  background: #101010;
}
.project-lightbox::backdrop { background: rgba(0, 0, 0, .92); }
.lightbox-toolbar { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; min-height: 42px; }
.lightbox-count { font-size: .8rem; font-weight: 800; letter-spacing: .08em; }
.lightbox-close, .lightbox-arrow { border: 1px solid #666; color: #fff; background: #101010; cursor: pointer; }
.lightbox-close { width: 42px; height: 42px; font-size: 1.5rem; line-height: 1; }
.lightbox-arrow { align-self: center; width: 54px; height: 54px; font-size: 2.1rem; line-height: 1; }
.lightbox-arrow:hover, .lightbox-close:hover { border-color: #fff; background: #333; }
.lightbox-prev { grid-column: 1; grid-row: 2; }
.lightbox-next { grid-column: 3; grid-row: 2; }
.lightbox-image { grid-column: 2; grid-row: 2; justify-self: center; align-self: center; width: auto; max-width: 100%; max-height: 100%; background: #fff; object-fit: contain; }
.project-lightbox :focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.project-video-wrap { max-width: var(--max); margin: 0 auto; }
.project-video-wrap.portrait { max-width: 420px; }
.project-video { position: relative; overflow: hidden; padding-top: 56.25%; background: #000; }
.project-video.portrait { padding-top: 177.78%; }
.project-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.project-video-pair-title { max-width: 880px; margin: 0 auto 32px; font-size: clamp(2rem, 3.5vw, 3.5rem); }
.project-video-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 420px)); justify-content: center; gap: clamp(16px, 3vw, 40px); max-width: 880px; margin: 0 auto; }
.project-video-pair .project-video-wrap { width: 100%; }
.project-video-trio-title { max-width: 1160px; margin: 0 auto 32px; font-size: clamp(2rem, 3.5vw, 3.5rem); }
.project-video-trio { display: grid; grid-template-columns: repeat(3, minmax(0, 360px)); justify-content: center; gap: clamp(16px, 2.4vw, 32px); max-width: 1160px; margin: 0 auto; }
.project-video-trio .project-video-wrap { width: 100%; }
.project-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}
.project-nav a { padding: clamp(26px, 4vw, 58px) var(--pad); text-decoration: none; }
.project-nav a + a { border-left: 1px solid var(--ink); }
.project-nav a.next { text-align: right; }
.project-nav span { display: block; margin-bottom: 7px; color: #777; font-size: .7rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.project-nav strong { font-size: clamp(1.2rem, 2.1vw, 2rem); }

@media (max-width: 680px) {
  .project-video-pair, .project-video-trio { grid-template-columns: minmax(0, 420px); }
  .project-lightbox[open] { grid-template-columns: 40px minmax(0, 1fr) 40px; gap: 6px; padding: 10px; }
  .lightbox-arrow { width: 38px; height: 48px; font-size: 1.7rem; }
  .project-gallery.editorial, .project-nav, .h1-kv-grid { grid-template-columns: 1fr; }
  .project-gallery-item.wide { grid-column: auto; }
  .project-nav a + a { border-top: 1px solid var(--ink); border-left: 0; }
  .project-nav a.next { text-align: left; }
}
