:root {
  --paper: #f7f4ee;
  --paper-deep: #ede7dc;
  --ink: #111111;
  --muted: #6d6a64;
  --line: rgba(17, 17, 17, 0.14);
  --blue: #d71920;
  --blue-dark: #a90f17;
  --sage: #9da89a;
  --clay: #c48c6a;
  --white: #fffdf8;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Jost", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
}

main {
  flex: 1;
}

a {
  color: inherit;
  text-decoration: none;
}

.mobile-only {
  display: none;
}

@media (min-width: 641px) {
  .desktop-keep-together {
    white-space: nowrap;
  }
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(26px, 4vw, 56px);
  min-height: 108px;
  padding: 26px clamp(20px, 4vw, 64px);
  background: rgba(247, 244, 238, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  width: clamp(190px, 21vw, 300px);
}

.brand img {
  display: block;
  width: 100%;
  height: auto;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: clamp(20px, 3vw, 42px);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.main-nav > a {
  position: relative;
  padding: 8px 0 8px 0.12em;
  text-align: center;
}

.main-nav > a::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 2px;
  background: var(--blue);
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.main-nav > a:hover::after,
.main-nav > a[aria-current="page"]::after {
  transform: scaleX(1);
}

.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(14px, 2vw, 28px);
}

.contact-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 22px;
  border: 1px solid var(--blue);
  border-radius: 999px;
  background: var(--blue);
  color: var(--white);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.contact-pill::after {
  display: none;
}

.contact-pill:hover {
  background: transparent;
  color: var(--blue-dark);
}

.contact-pill[aria-current="page"] {
  background: var(--blue);
  color: var(--white);
}

.language-switcher {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding-left: clamp(12px, 2vw, 22px);
  border-left: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.language-icon {
  color: var(--blue-dark);
  font-size: 1.16rem;
  line-height: 1;
}

.language-switcher a {
  position: relative;
  padding: 8px 0;
  color: inherit;
  line-height: 1;
  transition:
    color 180ms ease,
    transform 180ms ease;
}

.language-switcher a::after {
  position: absolute;
  right: 0;
  bottom: 2px;
  left: 0;
  height: 1px;
  background: var(--blue);
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.language-switcher a:hover,
.language-switcher a[aria-current="true"] {
  color: var(--ink);
}

.language-switcher a:hover::after,
.language-switcher a[aria-current="true"]::after {
  transform: scaleX(1);
}

.language-switcher a:hover {
  transform: translateY(-1px);
}

.hero {
  display: flex;
  align-items: flex-start;
  min-height: min(430px, calc(100vh - 92px));
  padding: clamp(48px, 6vw, 82px) clamp(20px, 4vw, 64px) clamp(10px, 2vw, 24px);
}

.hero-copy {
  width: 100%;
  max-width: none;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--blue-dark);
  font-size: 1.12rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero-kicker {
  max-width: none;
  margin: 12px 0 0;
  font-size: clamp(1.45rem, 2.35vw, 2.35rem);
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
}

.hero-location {
  margin: 12px 0 0;
  color: #8b8580;
  font-size: clamp(1rem, 1.5vw, 1.35rem);
  font-weight: 300;
}

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

h1,
h2 {
  font-family: "Jost", Arial, sans-serif;
  font-weight: 600;
  line-height: 0.94;
}

h1 {
  max-width: none;
  margin-bottom: 28px;
  font-size: clamp(4.25rem, 8.45vw, 9.7rem);
}

.hero h1 {
  font-size: clamp(3.85rem, 7.65vw, 8.75rem);
}

html[lang="en"] .hero h1 {
  line-height: 1;
}

.tight-space {
  display: inline-block;
  width: 0.14em;
}

h2 {
  max-width: 820px;
  margin-bottom: 0;
  font-size: clamp(2.7rem, 5.2vw, 5.9rem);
}

.soft-title {
  font-weight: 300;
}

.statement-stack span {
  display: block;
}

.page-hero h1.statement-stack {
  font-size: clamp(3.1rem, 5.8vw, 6.8rem);
}

.closing-strip .statement-stack {
  font-size: clamp(1rem, 1.55vw, 1.45rem);
  line-height: 1.18;
}

.page-hero h1.soft-title,
.section-heading h2.soft-title {
  font-weight: 300;
}

.page-hero h1.about-title {
  font-size: clamp(3.25rem, 6.15vw, 7.15rem);
  font-weight: 200;
  line-height: 1;
}

h3 {
  margin-bottom: 14px;
  font-size: clamp(1.3rem, 2vw, 1.8rem);
}

.hero-text {
  max-width: 850px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.6vw, 1.35rem);
}

.portfolio-section {
  padding: clamp(2px, 0.8vw, 10px) 0 0;
}

.section-heading {
  padding: 0 clamp(20px, 4vw, 64px) clamp(8px, 1.6vw, 22px);
}

.section-kicker {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  max-width: 820px;
}

.section-kicker .eyebrow {
  margin-bottom: 18px;
}

.section-kicker a {
  margin-bottom: 18px;
  color: var(--blue);
  font-size: 1.12rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: underline;
  text-decoration-color: rgba(215, 25, 32, 0.38);
  text-decoration-thickness: 2px;
  text-underline-offset: 0.28em;
}

.section-kicker a:hover {
  color: var(--blue-dark);
  text-decoration-color: currentColor;
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: 100%;
}

.portfolio-page {
  padding-top: 0;
  padding-bottom: clamp(48px, 7vw, 92px);
}

.work-section-label {
  padding: clamp(22px, 4vw, 54px) clamp(20px, 4vw, 64px)
    clamp(16px, 3vw, 36px);
}

.work-section-label .eyebrow {
  margin-bottom: 10px;
}

.work-section-label p:not(.eyebrow) {
  margin: 0;
  color: var(--muted);
  font-size: clamp(1.1rem, 1.55vw, 1.45rem);
}

.work-section-label + .portfolio-section {
  padding-top: 0;
}

.work-columns {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(10px, 1.4vw, 20px);
  padding: clamp(28px, 4vw, 58px) clamp(10px, 1.4vw, 20px)
    clamp(56px, 8vw, 104px);
}

.work-column {
  min-width: 0;
}

.work-column-heading {
  padding: 0 clamp(10px, 1.8vw, 26px) clamp(14px, 2vw, 24px);
}

.work-column-heading .eyebrow {
  margin-bottom: 8px;
}

.work-column-heading p:not(.eyebrow) {
  margin: 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.25vw, 1.25rem);
}

.work-column-videos {
  display: grid;
  gap: 6px;
}

.video-tile {
  position: relative;
  min-width: 0;
  overflow: hidden;
  background: var(--ink);
}

.work-column-videos .video-tile {
  border-radius: 6px;
}

.video-placeholder {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 16 / 9;
  min-height: 230px;
  width: 100%;
  border: 0;
  border-radius: inherit;
  overflow: hidden;
  background:
    radial-gradient(circle at 70% 36%, rgba(255, 253, 248, 0.18), transparent 32%),
    linear-gradient(135deg, var(--sage), #383c35);
  color: var(--white);
  cursor: pointer;
  font: inherit;
  text-align: left;
}

.video-placeholder::before {
  position: relative;
  z-index: 2;
  width: 58px;
  height: 58px;
  border: 1px solid rgba(255, 253, 248, 0.86);
  border-radius: 50%;
  content: "";
}

.video-placeholder::after {
  position: absolute;
  z-index: 3;
  border-top: 9px solid transparent;
  border-bottom: 9px solid transparent;
  border-left: 14px solid var(--white);
  content: "";
  transform: translateX(3px);
}

.video-placeholder span {
  position: absolute;
  z-index: 4;
  left: 22px;
  bottom: 18px;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.video-preview {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-placeholder.has-preview::before {
  background: rgba(0, 0, 0, 0.18);
  box-shadow: 0 0 0 999px rgba(0, 0, 0, 0.16);
}

.video-placeholder.has-preview > span {
  display: none;
}

.video-placeholder:hover::before {
  background: rgba(255, 253, 248, 0.14);
}

.video-placeholder:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: -6px;
}

.tone-blue {
  background:
    radial-gradient(circle at 72% 34%, rgba(255, 253, 248, 0.2), transparent 30%),
    linear-gradient(135deg, var(--blue), #172a38);
}

.tone-ink {
  background:
    radial-gradient(circle at 72% 34%, rgba(110, 163, 208, 0.24), transparent 30%),
    linear-gradient(135deg, #151515, #57524a);
}

.tone-warm {
  background:
    radial-gradient(circle at 72% 34%, rgba(255, 253, 248, 0.18), transparent 30%),
    linear-gradient(135deg, var(--clay), #40332a);
}

.tile-caption {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.72));
  color: var(--white);
  font-size: 0.78rem;
}

.tile-caption strong,
.tile-caption span {
  overflow-wrap: anywhere;
}

.tile-caption strong {
  letter-spacing: 0.01em;
}

.tile-caption span {
  color: rgba(255, 253, 248, 0.82);
}

body.video-modal-open {
  overflow: hidden;
}

body.video-modal-open > header,
body.video-modal-open > main,
body.video-modal-open > footer {
  filter: blur(5px);
}

.video-lightbox {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  padding: clamp(18px, 4vw, 56px);
  background: rgba(30, 30, 30, 0.76);
}

.video-lightbox[hidden] {
  display: none;
}

.video-lightbox-panel {
  position: relative;
  width: min(1120px, 100%);
  color: var(--white);
}

.video-lightbox-frame {
  display: grid;
  place-items: center;
  aspect-ratio: 16 / 9;
  width: 100%;
  overflow: hidden;
  background: #111;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.34);
}

.video-lightbox-frame video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #111;
}

.video-lightbox-empty {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  padding: 28px;
  color: rgba(255, 253, 248, 0.78);
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  text-align: center;
}

.video-lightbox-close {
  position: absolute;
  top: -18px;
  right: -18px;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 253, 248, 0.44);
  border-radius: 50%;
  background: rgba(17, 17, 17, 0.92);
  color: var(--white);
  cursor: pointer;
  font: inherit;
  font-size: 1.55rem;
  line-height: 1;
}

.video-lightbox-close:hover,
.video-lightbox-close:focus-visible {
  background: var(--blue);
  outline: 0;
}

.closing-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: clamp(38px, 6vw, 72px) clamp(20px, 4vw, 64px);
  border-bottom: 1px solid var(--line);
}

.closing-strip p {
  max-width: 720px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(1.15rem, 2vw, 1.8rem);
}

.closing-strip a,
.contact-form button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--paper);
  font: inherit;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition:
    background 180ms ease,
    color 180ms ease;
}

.closing-strip a {
  border-color: var(--blue);
  background: var(--blue);
  color: var(--white);
}

.closing-strip > a:only-child {
  margin-left: auto;
}

.closing-strip a:hover,
.contact-form button:hover {
  background: transparent;
  color: var(--ink);
}

.closing-strip a:hover {
  color: var(--blue-dark);
}

.site-footer {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 10px;
  padding: clamp(42px, 6vw, 76px) clamp(20px, 4vw, 64px);
  background: var(--ink);
  color: rgba(247, 244, 238, 0.74);
  font-size: 0.9rem;
  text-align: center;
}

.site-footer p {
  margin: 0;
}

.footer-legal {
  position: absolute;
  left: clamp(20px, 4vw, 64px);
  bottom: 34px;
  display: flex;
  gap: 18px;
  color: rgba(247, 244, 238, 0.68);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-legal a:hover {
  color: var(--paper);
}

.footer-logo {
  display: block;
  width: clamp(130px, 14vw, 190px);
  height: auto;
  margin-bottom: 4px;
}

.footer-tagline {
  color: var(--paper);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.footer-global {
  color: var(--paper);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.footer-email {
  margin-top: 8px;
  color: var(--paper);
  font-family: "Jost", Arial, sans-serif;
  font-size: clamp(1rem, 1.45vw, 1.45rem);
  font-weight: 500;
  line-height: 1;
}

.footer-email:hover {
  color: var(--blue);
}

.legal-section {
  padding: clamp(50px, 8vw, 100px) clamp(20px, 4vw, 64px);
}

.legal-copy {
  max-width: 850px;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.45vw, 1.35rem);
}

.legal-copy p {
  margin-bottom: 22px;
}

.legal-copy p:last-child {
  margin-bottom: 0;
}

.legal-rights {
  color: var(--ink);
  font-weight: 700;
}

.page-hero {
  padding: clamp(46px, 7vw, 104px) clamp(20px, 4vw, 64px)
    clamp(50px, 7vw, 96px);
  border-bottom: 1px solid var(--line);
}

.page-hero h1 {
  max-width: 1100px;
  margin-bottom: 0;
  font-size: clamp(4rem, 7.6vw, 8.8rem);
}

.legal-hero {
  padding-top: clamp(48px, 7vw, 96px);
  padding-bottom: clamp(36px, 5vw, 70px);
}

.page-hero:has(> .eyebrow:only-child) {
  padding-top: clamp(42px, 6vw, 86px);
  padding-bottom: clamp(26px, 4vw, 54px);
}

.page-hero:has(> .eyebrow:only-child) .eyebrow {
  margin-bottom: 0;
}

.page-hero h1.legal-title {
  font-size: clamp(2.35rem, 4vw, 4.4rem);
  font-weight: 300;
  line-height: 1.04;
}

.page-hero h1.process-title {
  max-width: 980px;
  font-size: clamp(3.2rem, 6.2vw, 7.2rem);
  line-height: 1;
}

.process-hero-copy {
  max-width: 900px;
  margin: clamp(22px, 3vw, 36px) 0 0;
  color: var(--muted);
  font-size: clamp(1.2rem, 2vw, 1.75rem);
  line-height: 1.34;
}

.content-grid {
  display: grid;
  grid-template-columns: minmax(180px, 0.55fr) minmax(0, 1fr);
  gap: clamp(28px, 7vw, 100px);
  padding: clamp(52px, 8vw, 112px) clamp(20px, 4vw, 64px);
}

.content-grid h2 {
  color: var(--blue-dark);
  font-family: "Jost", Arial, sans-serif;
  font-size: 1.12rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.content-copy {
  max-width: 880px;
  color: var(--muted);
  font-size: clamp(1.15rem, 2vw, 1.65rem);
}

.location-emoji {
  display: inline-block;
  font-size: 1.35em;
  line-height: 0;
  transform: translateY(0.06em);
}

.content-copy p:last-child {
  margin-bottom: 0;
}

.process-intro {
  padding-bottom: clamp(22px, 4vw, 42px);
}

.values-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.services-row {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.values-row article {
  min-height: 290px;
  padding: clamp(26px, 4vw, 48px);
  border-right: 1px solid var(--line);
}

.values-row article:last-child {
  border-right: 0;
}

.values-row span {
  display: block;
  margin-bottom: 54px;
  color: var(--blue-dark);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.13em;
}

.values-row .service-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 48px;
  color: var(--blue-dark);
}

.service-icon svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.6;
}

.values-row p {
  max-width: 340px;
  margin-bottom: 0;
  color: var(--muted);
}

.contact-hero {
  background:
    linear-gradient(90deg, rgba(247, 244, 238, 0.86), rgba(247, 244, 238, 0.98)),
    repeating-linear-gradient(90deg, rgba(17, 17, 17, 0.12) 0 1px, transparent 1px 12px);
}

.contact-hero h1 {
  font-size: clamp(3.5rem, 6.4vw, 7.2rem);
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(0, 1fr);
  gap: clamp(28px, 7vw, 96px);
  padding: clamp(52px, 8vw, 112px) clamp(20px, 4vw, 64px);
}

.contact-card {
  align-self: start;
  min-width: 0;
  padding-top: 8px;
}

.contact-card a {
  display: inline-block;
  max-width: 100%;
  margin-bottom: 28px;
  font-family: "Jost", Arial, sans-serif;
  font-weight: 600;
  font-size: clamp(1.95rem, 3.45vw, 3.9rem);
  line-height: 1;
  overflow-wrap: normal;
  white-space: nowrap;
}

.contact-card p:last-child {
  max-width: 460px;
  color: var(--muted);
}

.contact-form {
  display: grid;
  gap: 18px;
  min-width: 0;
}

.contact-form-title {
  margin: 0 0 4px;
  font-size: 1.1rem;
  font-weight: 700;
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
  font: inherit;
  font-size: 1rem;
  letter-spacing: 0;
}

.contact-form input {
  min-height: 54px;
  padding: 0 16px;
}

.contact-form textarea {
  resize: vertical;
  min-height: 150px;
  padding: 15px 16px;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}

.contact-form button {
  justify-self: start;
  margin-top: 6px;
}

@media (max-width: 1360px) {
  .site-header {
    grid-template-columns: auto minmax(0, 1fr);
    grid-template-rows: auto auto;
    column-gap: clamp(24px, 4vw, 52px);
    row-gap: 14px;
    min-height: 0;
    padding-top: 20px;
    padding-bottom: 18px;
  }

  .brand {
    grid-column: 1;
    grid-row: 1;
    width: clamp(190px, 22vw, 260px);
  }

  .header-actions {
    grid-column: 2;
    grid-row: 1;
    min-width: 0;
  }

  .main-nav {
    grid-column: 1 / -1;
    grid-row: 2;
    width: 100%;
    gap: clamp(20px, 4vw, 48px);
  }
}

@media (max-width: 900px) {
  .hero,
  .content-grid,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .video-grid,
  .work-columns,
  .values-row,
  .services-row {
    grid-template-columns: 1fr 1fr;
  }

  .values-row article:nth-child(2) {
    border-right: 0;
  }

  .values-row article:last-child {
    grid-column: 1 / -1;
    border-top: 1px solid var(--line);
  }
}

@media (max-width: 640px) {
  .mobile-only {
    display: block;
  }

  .contact-title-break {
    height: 0.28em;
  }

  .site-header,
  .closing-strip {
    align-items: flex-start;
  }

  .site-footer {
    align-items: center;
  }

  .site-header {
    display: flex;
    flex-direction: column;
    position: relative;
    gap: 16px;
    min-height: 0;
    padding-top: 18px;
    padding-bottom: 18px;
  }

  .footer-legal {
    position: static;
    order: 10;
    flex-wrap: wrap;
    justify-content: flex-start;
    width: 100%;
    margin-top: 18px;
    text-align: left;
  }


  .brand {
    width: 190px;
  }

  .main-nav {
    width: 100%;
    justify-content: flex-start;
    gap: 8px 18px;
    flex-wrap: wrap;
    font-size: 0.76rem;
  }

  .header-actions {
    position: static;
    width: auto;
    justify-content: flex-start;
    gap: 0;
  }

  .contact-pill {
    position: absolute;
    top: 142px;
    right: 20px;
    z-index: 24;
    min-height: 38px;
    padding: 0 17px;
    font-size: 0.82rem;
    letter-spacing: 0.1em;
  }

  .language-switcher {
    position: absolute;
    top: 22px;
    right: 20px;
    margin-left: 0;
    padding-left: 0;
    border-left: 0;
    gap: 0;
    z-index: 30;
  }

  .language-switcher:focus {
    outline: 0;
  }

  .language-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--white);
    cursor: pointer;
  }

  .language-switcher a {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 136px;
    padding: 11px 14px;
    border: 1px solid var(--line);
    background: var(--white);
    box-shadow: 0 14px 28px rgba(17, 17, 17, 0.12);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-4px);
    visibility: hidden;
    transition:
      opacity 160ms ease,
      transform 160ms ease,
      visibility 160ms ease;
  }

  .language-switcher a:nth-of-type(1) {
    border-radius: 8px 8px 0 0;
  }

  .language-switcher a:nth-of-type(2) {
    top: calc(100% + 49px);
    border-top: 0;
    border-radius: 0 0 8px 8px;
  }

  .language-switcher a::after {
    display: none;
  }

  .language-switcher:hover a,
  .language-switcher:focus-within a {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
    visibility: visible;
  }

  h1,
  .page-hero h1 {
    font-size: clamp(2.8rem, 15vw, 4.9rem);
    overflow-wrap: anywhere;
  }

  .hero h1 {
    font-size: clamp(2.35rem, 11.8vw, 3.9rem);
    line-height: 1.06;
  }

  html[lang="es"] .hero h1 {
    font-size: clamp(2.25rem, 10.8vw, 3.65rem);
  }

  .hero-second-line {
    display: block;
    margin-top: 0.12em;
  }

  .portfolio-section {
    padding-top: clamp(34px, 8vw, 48px);
  }

  .page-hero h1.about-title {
    font-size: clamp(1.95rem, 9.3vw, 3.05rem);
    font-weight: 300;
    overflow-wrap: anywhere;
    text-align: center;
  }

  .contact-hero h1 {
    font-size: clamp(2.35rem, 11.8vw, 3.95rem);
  }

  .services-hero h1.statement-stack {
    font-size: clamp(2rem, 9.6vw, 3.25rem);
  }

  html[lang="es"] .services-hero h1.statement-stack {
    font-size: clamp(1.8rem, 8.6vw, 2.9rem);
  }

  .process-hero h1.process-title {
    font-size: clamp(2.35rem, 10.5vw, 3.8rem);
  }

  main:has(.process-hero) {
    display: flex;
    flex-direction: column;
  }

  .process-hero {
    display: contents;
  }

  .process-hero .eyebrow {
    order: 1;
    margin: clamp(46px, 7vw, 104px) clamp(20px, 4vw, 64px) 18px;
  }

  .process-hero .process-title {
    order: 2;
    margin: 0 clamp(20px, 4vw, 64px) clamp(28px, 6vw, 42px);
  }

  .process-steps {
    order: 3;
  }

  .process-hero-copy {
    order: 4;
    margin-right: clamp(20px, 4vw, 64px);
    margin-left: clamp(20px, 4vw, 64px);
  }

  .process-hero-copy:first-of-type {
    margin-top: clamp(36px, 8vw, 54px);
  }

  .process-hero-copy:last-of-type {
    margin-bottom: clamp(50px, 7vw, 96px);
  }

  .contact-card a {
    font-size: clamp(1.8rem, 8.8vw, 2.15rem);
    overflow-wrap: normal;
    white-space: nowrap;
  }

  .video-grid,
  .work-columns,
  .values-row,
  .services-row {
    grid-template-columns: 1fr;
  }

  .work-columns {
    row-gap: clamp(42px, 11vw, 64px);
  }

  .video-placeholder {
    min-height: 240px;
  }

  .tile-caption {
    flex-direction: column;
    gap: 4px;
  }

  .values-row article,
  .values-row article:nth-child(2) {
    border-right: 0;
    border-top: 1px solid var(--line);
  }
}

@media (max-width: 420px) {
  .site-header {
    gap: 18px;
  }

  .brand {
    width: 170px;
  }

  .main-nav {
    justify-content: flex-start;
    gap: 8px 16px;
  }

  .header-actions {
    align-items: flex-start;
  }
}

@media (max-width: 360px) {
  .header-actions {
    align-self: flex-end;
  }

  .contact-pill {
    position: static;
    margin-top: -8px;
  }
}

@media (max-width: 640px) {
  .contact-card a {
    font-size: clamp(1.65rem, 7.6vw, 1.9rem);
    overflow-wrap: normal;
    white-space: nowrap;
  }
}
