:root {
  color-scheme: light;
  --paper: #f8f8f6;
  --surface: #efefec;
  --ink: #202321;
  --muted: #666c67;
  --line: #d9dcd7;
  --focus: #365d87;
  --action-blue: #005fcc;
  --action-blue-hover: #004a9f;
  --sans: "DM Sans", "Avenir Next", Avenir, sans-serif;
  --mono: "DM Mono", "SFMono-Regular", Consolas, monospace;
  --gutter: clamp(1.25rem, 5.5vw, 6rem);
  --content-width: 1440px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 6rem; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 16px/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
::selection { background: #dce2e6; color: var(--ink); }
a:not(.project-link-chip):not(.skip-link) { color: var(--action-blue); }
a:not(.project-link-chip):not(.skip-link):hover { color: var(--action-blue); }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 4px;
  border-radius: 3px;
}
.skip-link {
  position: fixed;
  z-index: 100;
  top: .75rem;
  left: .75rem;
  padding: .7rem 1rem;
  transform: translateY(-160%);
  background: var(--ink);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
}
.skip-link:focus { transform: translateY(0); }
.motion-control {
  position: fixed;
  z-index: 30;
  right: max(1rem, env(safe-area-inset-right));
  bottom: max(1rem, env(safe-area-inset-bottom));
  display: flex;
  min-height: 50px;
  align-items: center;
  gap: .25rem;
  padding: 0 0 0 .85rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 4px 18px rgb(32 35 33 / 12%);
}
.motion-control__label { font-size: 14px; font-weight: 600; }
.motion-toggle { display: grid; width: 48px; height: 48px; flex: 0 0 48px; place-items: center; padding: 0; border: 0; border-radius: 50%; background: transparent; cursor: pointer; }
.motion-toggle__track { position: relative; display: block; width: 34px; height: 20px; border-radius: 999px; background: var(--muted); transition: background 180ms ease; }
.motion-toggle__thumb { position: absolute; top: 2px; left: 2px; width: 16px; height: 16px; border-radius: 50%; background: #fff; transition: transform 180ms ease; }
.motion-toggle[aria-checked="true"] .motion-toggle__track { background: var(--action-blue); }
.motion-toggle[aria-checked="true"] .motion-toggle__thumb { transform: translateX(14px); }
.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  display: flex;
  min-height: 5rem;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: .65rem max(var(--gutter), calc((100% - var(--content-width)) / 2 + var(--gutter)));
  border-bottom: 1px solid rgb(32 35 33 / 8%);
  background: rgb(248 248 246 / 94%);
  backdrop-filter: blur(14px);
}
.brand { display: inline-flex; flex: 0 0 auto; align-items: center; gap: .7rem; text-decoration: none; }
.brand:not(.project-link-chip):not(.skip-link), .main-nav a:not(.project-link-chip):not(.skip-link) { color: var(--ink); }
.brand:not(.project-link-chip):not(.skip-link):hover, .main-nav a:not(.project-link-chip):not(.skip-link):hover { color: var(--ink); }
.brand-symbol { display: grid; width: 2.2rem; height: 2.2rem; place-items: center; }
.brand-symbol img { display: block; width: 2rem; height: 1.5rem; object-fit: contain; }
.brand-name, .footer-brand { font-size: 1rem; font-weight: 700; letter-spacing: -.035em; }
.menu-toggle { display: none; position: relative; width: 44px; height: 44px; padding: 0; border: 1px solid var(--line); border-radius: 50%; background: transparent; color: var(--ink); cursor: pointer; }
.menu-toggle span { position: absolute; left: 50%; width: 18px; height: 2px; border-radius: 2px; background: currentColor; transform: translate(-50%, -6px); transition: transform 180ms ease, opacity 180ms ease; }
.menu-toggle span:nth-child(2) { transform: translate(-50%, 0); }
.menu-toggle span:nth-child(3) { transform: translate(-50%, 6px); }
.site-header.is-menu-open .menu-toggle span:nth-child(1) { transform: translate(-50%, 0) rotate(45deg); }
.site-header.is-menu-open .menu-toggle span:nth-child(2) { opacity: 0; }
.site-header.is-menu-open .menu-toggle span:nth-child(3) { transform: translate(-50%, 0) rotate(-45deg); }
.main-nav { display: flex; flex-wrap: nowrap; align-items: center; justify-content: flex-end; gap: clamp(.8rem, 2.2vw, 2rem); }
.main-nav a, .site-footer a { font-weight: 600; text-decoration: none; }
.main-nav a { padding: .4rem 0; font-size: 18px; white-space: nowrap; }
.site-footer a { font-size: 1rem; }
.site-footer a:not(.project-link-chip):not(.skip-link) { color: var(--ink); }
.site-footer a:not(.project-link-chip):not(.skip-link):hover { color: var(--ink); }
.main-nav a, .social-link { position: relative; }
.main-nav a::after, .social-link::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  transform: scaleX(0);
  transform-origin: left;
  background: currentColor;
  content: "";
  transition: transform 180ms ease;
}
.main-nav a:hover::after, .social-link:hover::after { transform: scaleX(1); }
.section-shell { width: min(100%, var(--content-width)); margin-inline: auto; padding-inline: var(--gutter); }
.eyebrow { margin: 0; color: var(--muted); font: 500 1rem/1.55 var(--mono); letter-spacing: .035em; }

.hero {
  display: grid;
  min-height: min(650px, calc(100svh - 5rem));
  grid-template-columns: 1.1fr .65fr;
  align-items: center;
  gap: clamp(2rem, 9vw, 8rem);
  padding-top: clamp(3rem, 7vw, 6rem);
  padding-bottom: clamp(3rem, 7vw, 6rem);
}
.hero h1 {
  margin: 1.3rem 0 0;
  font-size: clamp(4.5rem, 11vw, 9.2rem);
  font-weight: 500;
  letter-spacing: -.09em;
  line-height: .85;
}
.portrait-wrap { width: min(100%, 400px); justify-self: center; overflow: visible; border-radius: 50%; background: #e9eae6; transform: scale(.9); }
.portrait-wrap img { display: block; width: 100%; height: auto; }

.client-carousel { padding-top: clamp(1.5rem, 4vw, 3rem); padding-bottom: clamp(4rem, 9vw, 8rem); }
.carousel-heading { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1.1rem; }
.carousel-heading h2 { margin: 0; font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 500; letter-spacing: -.055em; }
.carousel-controls { display: flex; gap: .5rem; }
.carousel-button { display: grid; width: 48px; height: 48px; place-items: center; border: 1px solid var(--line); border-radius: 50%; background: transparent; color: var(--ink); font: 1.5rem/1 var(--sans); cursor: pointer; transition: background 180ms ease; }
.carousel-button:hover { background: var(--surface); }
.logo-carousel { overflow-x: auto; overscroll-behavior-inline: contain; scroll-snap-type: x mandatory; scrollbar-color: var(--muted) var(--surface); scrollbar-width: thin; }
.logo-rail { display: flex; width: max-content; gap: 1rem; margin: 0; padding: 0 0 .7rem; list-style: none; }
.client-logo-slide { display: grid; width: clamp(200px, 24vw, 300px); height: clamp(130px, 17vw, 190px); flex: 0 0 auto; place-items: center; overflow: hidden; background: var(--surface); scroll-snap-align: start; }
.client-logo-slide img { display: block; width: 78%; height: 76%; object-fit: contain; }

.work-section { padding-top: clamp(2rem, 6vw, 5rem); }
.project-group { margin: 0 0 clamp(4.5rem, 9vw, 8rem); scroll-margin-top: 6rem; }
.project-group h2, .about-section h2, .contact-inner h2 {
  margin: 0 0 1.4rem;
  font-size: clamp(2rem, 4vw, 3.8rem);
  font-weight: 500;
  letter-spacing: -.065em;
  line-height: 1;
}
.project-group h2 { margin-bottom: 64px; padding-bottom: .75rem; border-bottom: 1px solid var(--line); }
.project-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(2.25rem, 4vw, 4rem); }
.project-card { display: flex; min-width: 0; flex-direction: column; overflow: hidden; border: 1px solid var(--line); border-radius: 12px; color: inherit; text-decoration: none; transition: transform 180ms ease, box-shadow 180ms ease; }
.project-card:hover { transform: scale(1.03); box-shadow: 0 8px 24px rgb(32 35 33 / 8%); }
.project-card > :not(.logo-stage):not(.project-card-content) { margin-inline: 1.25rem; }
.project-card-content { display: flex; flex-direction: column; padding: 0 1.25rem 1rem; }
.logo-stage {
  display: grid;
  height: clamp(190px, 28vw, 330px);
  place-items: center;
  overflow: hidden;
  margin-bottom: .85rem;
  background: var(--surface);
}
.logo-stage img { display: block; width: 78%; height: 76%; object-fit: contain; }
.project-card-meta { display: flex; justify-content: flex-start; gap: 1rem; color: var(--ink); font: 700 1rem var(--mono); letter-spacing: .025em; }
.project-card-title { display: flex; align-items: baseline; gap: 1rem; margin-top: .35rem; color: var(--ink); font-size: clamp(1.45rem, 2.8vw, 2.2rem); font-weight: 500; letter-spacing: -.055em; line-height: 1.2; text-decoration: none; text-decoration-thickness: 1px; text-underline-offset: .12em; }
.project-card-tags { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; margin-top: .65rem; }
.project-card-tag { display: inline-flex; width: fit-content; align-items: center; padding: .35rem .65rem; border-radius: 999px; background: #000; color: #fff; font-size: 14px; font-weight: 600; line-height: 1.2; }
.project-card-description { max-width: 46rem; margin-top: .45rem; color: var(--ink); font-size: 1rem; font-weight: 400; line-height: 1.6; }
.project-card-arrow { display: grid; width: 24px; height: 24px; place-items: center; align-self: flex-end; margin-top: .65rem; color: var(--action-blue); font-size: 1.2rem; line-height: 1; transition: transform 180ms ease; }
.project-card:hover .project-card-arrow { transform: translateX(8px); }
.project-card > .project-card-arrow { margin-bottom: 1rem; }

.about-section {
  display: grid;
  grid-template-columns: .7fr 1.2fr;
  gap: clamp(2rem, 8vw, 8rem);
  padding-top: clamp(4rem, 9vw, 8rem);
  padding-bottom: clamp(4rem, 10vw, 9rem);
  border-top: 1px solid var(--line);
}
.about-section h2 { grid-column: 1; grid-row: 1; position: static; align-self: start; }
.about-photo { grid-column: 1; grid-row: 2; width: min(100%, 320px); align-self: start; margin: 0; overflow: hidden; aspect-ratio: 1; background: #fff; }
.about-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.about-copy { grid-column: 2; grid-row: 1 / span 2; max-width: 720px; }
.about-copy p { margin: 0 0 1.2rem; color: #4e534f; font-size: 1rem; }
.about-copy p:first-child { color: var(--ink); font-size: 1.2rem; }

.contact-section { background: var(--paper); color: var(--ink); }
.contact-inner { display: grid; grid-template-columns: .7fr 1fr; gap: clamp(2rem, 8vw, 8rem); padding-top: clamp(3.5rem, 8vw, 7rem); padding-bottom: clamp(3.5rem, 8vw, 7rem); }
.contact-inner h2 { color: var(--ink); }
.contact-actions > p { max-width: 38rem; margin: .1rem 0 1.5rem; color: var(--muted); font-size: 1rem; }
.contact-actions > p a { color: var(--ink); text-underline-offset: .2em; }
.contact-form { display: grid; gap: 1rem; max-width: 640px; }
.field-group { display: grid; gap: .35rem; }
.field-group label { font-size: 1rem; font-weight: 600; }
.field-group input, .field-group textarea {
  width: 100%;
  padding: .68rem .72rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font: 1rem var(--sans);
}
.field-group input:focus, .field-group textarea:focus { border-color: var(--ink); outline-color: #dce6f4; }
.field-group textarea { resize: vertical; }
.button { min-height: 2.8rem; padding: .65rem 1.05rem; border: 1px solid transparent; font: 600 1rem var(--sans); transition: background 180ms ease, color 180ms ease, transform 180ms ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { justify-self: stretch; width: 100%; border-radius: 999px; background: var(--action-blue); color: #fff; cursor: pointer; }
.button-primary:hover { background: var(--action-blue-hover); }
.site-footer { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: .7rem 1.5rem; padding: 1.25rem var(--gutter); }
.footer-brand { text-decoration: none; }
.social-link { display: grid; width: 48px; height: 48px; place-items: center; justify-self: end; padding: 0; }
.social-link svg { display: block; width: 24px; height: 24px; fill: currentColor; }
.site-footer small { grid-column: 1 / -1; padding-top: .75rem; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }

.case-hero { padding-top: 1.8rem; }
.back-link { display: inline-flex; min-width: 2rem; min-height: 2rem; align-items: center; color: var(--muted); font-size: 1.15rem; font-weight: 600; text-decoration: none; }
.back-link:hover { color: var(--action-blue); }
.case-embed-link a span[aria-hidden="true"] { display: inline-block; transition: transform 180ms ease; }
.case-embed-link a:hover span[aria-hidden="true"] { transform: translateX(4px); }
.case-hero-main { display: grid; grid-template-columns: 1fr; align-items: center; gap: clamp(2rem, 6vw, 6rem); padding: clamp(2.5rem, 7vw, 6rem) 0 clamp(2rem, 5vw, 4rem); }
.case-hero-copy .eyebrow { margin-bottom: .8rem; }
.case-hero h1 { margin: 0; font-size: clamp(2rem, 4vw, 3.8rem); font-weight: 500; letter-spacing: -.065em; line-height: 1; }
.case-summary { max-width: none; margin: 1rem 0 0; color: var(--muted); font-size: clamp(1rem, 1.5vw, 1.2rem); line-height: 1.55; }
.case-links { display: flex; flex-wrap: wrap; gap: .55rem; margin-top: 1.25rem; }
.project-link-chip { display: inline-flex; min-height: 2.25rem; align-items: center; gap: .55rem; padding: .42rem .75rem; border: 1px solid var(--line); border-radius: 999px; color: var(--ink); font-size: 1rem; line-height: 1.2; text-decoration: none; transition: border-color 180ms ease, background 180ms ease; }
.project-link-chip:hover { border-color: var(--ink); background: #fff; }
.project-link-chip svg { width: .85rem; height: .85rem; flex: 0 0 auto; stroke: currentColor; stroke-width: 1.6; fill: none; }
.case-content { padding-top: 1rem; padding-bottom: clamp(4rem, 8vw, 7rem); }
.case-copy-module { width: 100%; max-width: none; margin: 0 0 clamp(1.5rem, 4vw, 3rem); }
.case-copy-module h2 { margin: 0 0 1.2rem; color: var(--ink); font-size: clamp(1.75rem, 3vw, 2.4rem); font-weight: 700; letter-spacing: -.045em; line-height: 1.15; }
.case-copy-module h3 { margin: 0 0 1rem; color: var(--ink); font-size: clamp(1.25rem, 2vw, 1.6rem); font-weight: 700; letter-spacing: -.025em; line-height: 1.3; }
.case-copy-module p { margin: 0 0 .75rem; color: #4e534f; font-size: 1rem; line-height: 1.7; overflow-wrap: anywhere; }
.case-copy-module a { text-underline-offset: .2em; }
.case-embed { max-width: 800px; margin: 0 auto clamp(2rem, 5vw, 4rem); }
.case-embed-frame { position: relative; height: 0; padding-bottom: 56.25%; overflow: hidden; background: var(--surface); border: 1px solid var(--line); }
.case-embed-frame iframe { position: absolute; inset: 0; display: block; width: 100%; height: 100%; border: 0; }
.case-embed-frame.is-wide { padding-bottom: 60.2%; }
.case-embed-frame.is-portrait { width: min(100%, 300px); height: auto; aspect-ratio: 100 / 211.22; margin-inline: auto; padding-bottom: 0; }
.case-embed-link { margin: .55rem 0 0; text-align: right; font-size: 1rem; }
.case-embed-link a { color: var(--action-blue); font-weight: 700; text-underline-offset: .2em; transition: color 180ms ease; }
.case-embed-link a:not(.project-link-chip):not(.skip-link):hover { color: var(--action-blue-hover); }
.case-deeplink a { color: var(--action-blue); font-weight: 700; text-underline-offset: .2em; transition: color 180ms ease; }
.case-deeplink a:not(.project-link-chip):not(.skip-link):hover { color: var(--action-blue-hover); }
.case-deeplink a span[aria-hidden="true"] { display: inline-block; transition: transform 180ms ease; }
.case-deeplink a:hover span[aria-hidden="true"] { transform: translateX(4px); }
.case-video { max-width: 800px; margin: 0 auto clamp(2rem, 5vw, 4rem); }
.case-video--portrait { width: min(100%, 300px); }
.case-video__trigger { position: relative; display: block; width: 100%; aspect-ratio: 1794 / 1080; padding: 0; overflow: hidden; border: 0; background: #171817; color: #fff; cursor: pointer; }
.case-video--portrait .case-video__trigger { aspect-ratio: 606 / 1280; }
.case-video__trigger img { display: block; width: 100%; height: 100%; object-fit: cover; }
.case-video__play { position: absolute; top: 50%; left: 50%; display: grid; width: 3.5rem; height: 3.5rem; place-items: center; padding-left: .2rem; border-radius: 50%; background: rgb(32 35 33 / 88%); color: #fff; font-size: 1.35rem; line-height: 1; transform: translate(-50%, -50%); transition: background 180ms ease, scale 180ms ease; }
.case-video__label { position: absolute; right: .75rem; bottom: .75rem; padding: .4rem .65rem; background: rgb(248 248 246 / 94%); color: var(--ink); font-size: 14px; line-height: 1.2; }
.case-video__trigger:hover .case-video__play { background: var(--action-blue); scale: 1.06; }
.case-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin: 0 auto clamp(2rem, 5vw, 4rem);
}
.case-gallery figure { min-width: 0; margin: 0; overflow: visible; background: transparent; }
.case-gallery figure:first-child { grid-column: 1 / -1; }
.case-gallery.bik-home-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.case-gallery.bik-home-gallery figure:first-child { grid-column: auto; }
.case-gallery.bik-home-gallery .case-image-frame,
.case-gallery.bik-home-gallery figure:first-child .case-image-frame { height: clamp(210px, 36vw, 480px); }
.case-gallery.case-gallery--half { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.case-gallery.case-gallery--half figure:first-child { grid-column: auto; }
.case-gallery.case-gallery--half .case-image-frame,
.case-gallery.case-gallery--half figure:first-child .case-image-frame { height: clamp(210px, 36vw, 480px); }
.case-image-frame { height: clamp(210px, 36vw, 480px); overflow: hidden; background: var(--surface); }
.case-gallery figure:first-child .case-image-frame { height: clamp(250px, 48vw, 620px); }
.case-gallery img { display: block; width: 100%; height: 100%; object-fit: contain; background: var(--surface); }
.case-gallery figcaption { margin-top: .45rem; color: var(--muted); font-size: 1rem; }
.case-gallery img[data-parallax] { transform: translateY(var(--parallax-y, 0px)); will-change: transform; }
.case-gallery img.is-tall-image { object-fit: cover; object-position: top center; }
.case-gallery.club-mapfre-gallery { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .8rem; }
.club-mapfre-gallery figure:first-child { grid-column: auto; }
.club-mapfre-gallery .case-image-frame { height: auto; aspect-ratio: 1; }
.club-mapfre-gallery figure:first-child .case-image-frame { height: auto; aspect-ratio: 1; }
.club-mapfre-gallery img { object-fit: cover; }
.club-mapfre-gallery .case-image-trigger { height: 100%; }
.case-cytric-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; gap: clamp(1.25rem, 4vw, 3rem); margin: 0 auto clamp(2rem, 5vw, 4rem); }
.case-cytric-layout .case-copy-module, .case-cytric-layout .case-gallery { margin: 0; }
.case-cytric-layout .case-gallery figure:first-child .case-image-frame { height: auto; }
.case-cytric-layout .case-image-frame img { height: auto; object-fit: contain; }
.case-image-trigger {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  overflow: hidden;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: zoom-in;
}
.case-image-open-hint {
  position: absolute;
  right: .75rem;
  bottom: .75rem;
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 1px solid rgb(255 255 255 / 40%);
  border-radius: 50%;
  background: rgb(32 35 33 / 82%);
  color: #fff;
  transition: background 180ms ease, scale 180ms ease;
}
.case-image-open-hint svg { display: block; width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.case-image-trigger:hover .case-image-open-hint { scale: 1.05; }
.image-viewer {
  width: 100vw;
  max-width: none;
  height: 100dvh;
  max-height: none;
  margin: auto;
  padding: 0;
  overflow: hidden;
  border: 0;
  background: var(--paper);
  color: var(--ink);
}
.image-viewer::backdrop { background: rgb(18 20 19 / 82%); }
.image-viewer__panel { display: flex; width: 100%; height: 100%; flex-direction: column; }
.image-viewer__header {
  display: flex;
  min-height: 4.5rem;
  flex: 0 0 auto;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .5rem var(--gutter);
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}
.image-viewer__title { margin: 0; font-size: 1rem; font-weight: 600; line-height: 1.35; overflow-wrap: anywhere; }
.image-viewer__close {
  display: grid;
  width: 48px;
  height: 48px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  font: 2rem/1 var(--sans);
  cursor: pointer;
}
.image-viewer__close:hover { background: var(--surface); }
.image-viewer__scroll {
  min-height: 0;
  flex: 1 1 auto;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 1rem;
  background: var(--surface);
}
.image-viewer__image { display: block; width: auto; max-width: 100%; height: auto; max-height: none; margin: 0 auto; object-fit: unset; transform: none; }
.image-viewer__video { display: block; width: auto; max-width: 100%; max-height: calc(100dvh - 6rem); height: auto; margin: 0 auto; background: #000; }

@media (max-width: 900px) {
  .hero { min-height: auto; }
  .project-grid { gap: 2rem 1.25rem; }
  .about-section { grid-template-columns: minmax(180px, .7fr) minmax(0, 1.3fr); gap: 2rem; }
  .case-gallery.club-mapfre-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 680px) {
  :root { --gutter: 1.2rem; }
  .hero { grid-template-columns: 1fr .42fr; gap: 1rem; padding-top: 3rem; padding-bottom: 3rem; }
  .hero h1 { font-size: clamp(3.8rem, 15vw, 6rem); }
  .portrait-wrap { width: 100%; min-width: 110px; }
  .work-section { padding-top: 1rem; }
  .project-grid { grid-template-columns: 1fr; row-gap: 2.7rem; }
  .logo-stage { height: clamp(180px, 58vw, 280px); }
  .project-group { margin-bottom: 4.5rem; }
  .project-group h2 { font-size: 2.3rem; }
  .project-card-title { font-size: 1.75rem; }
  .client-logo-slide { width: min(72vw, 280px); height: 145px; }
  .about-section, .contact-inner { grid-template-columns: 1fr; gap: 1rem; }
  .about-section h2 { grid-column: 1; grid-row: 1; }
  .about-photo { grid-column: 1; grid-row: 2; width: min(100%, 240px); margin-bottom: .5rem; }
  .about-copy { grid-column: 1; grid-row: 3; }
  .case-hero-main { grid-template-columns: 1fr; gap: 1.5rem; padding-top: 2.8rem; }
  .case-hero h1 { font-size: 2.3rem; }
  .case-gallery { grid-template-columns: 1fr; gap: .7rem; }
  .case-gallery.club-mapfre-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .7rem; }
  .case-gallery figure:first-child { grid-column: auto; }
  .case-image-frame, .case-gallery figure:first-child .case-image-frame { height: auto; max-height: 76vh; min-height: 180px; }
  .case-gallery img, .case-gallery figure:first-child img { height: auto; max-height: 76vh; min-height: 180px; }
  .case-gallery.bik-home-gallery { gap: .7rem; }
  .case-gallery.bik-home-gallery .case-image-frame,
  .case-gallery.bik-home-gallery figure:first-child .case-image-frame { height: clamp(180px, 55vw, 320px); }
  .club-mapfre-gallery figure:first-child .case-image-frame { height: auto; max-height: none; min-height: 0; aspect-ratio: 1; }
  .club-mapfre-gallery figure:first-child img { height: 100%; max-height: none; min-height: 0; }
  .case-cytric-layout { grid-template-columns: 1fr; gap: 1rem; }
  .case-cytric-layout .case-gallery { width: 50%; justify-self: end; }
  .case-cytric-layout .case-gallery figure:first-child .case-image-frame { min-height: 0; max-height: none; }
  .case-cytric-layout .case-gallery figure:first-child .case-image-frame img { height: auto; min-height: 0; max-height: none; }
}
@media (max-width: 844px) {
  .site-header { display: grid; grid-template-columns: minmax(0, 1fr) 44px; align-items: center; gap: 0 1rem; padding-block: .65rem; }
  .brand { grid-column: 1; grid-row: 1; }
  .main-nav { grid-column: 1 / -1; grid-row: 2; width: 100%; max-width: none; flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 0; padding-top: .55rem; }
  .main-nav a { min-height: 48px; padding: .75rem 0; border-top: 1px solid rgb(32 35 33 / 8%); }
  .menu-toggle { grid-column: 2; grid-row: 1; justify-self: end; }
  html.has-mobile-nav .menu-toggle { display: grid; place-items: center; }
  html.has-mobile-nav .main-nav { display: none; }
  html.has-mobile-nav .site-header.is-menu-open .main-nav { display: flex; }
}
html.motion-off, html.motion-off * { scroll-behavior: auto !important; }
html.motion-off *, html.motion-off *::before, html.motion-off *::after {
  animation-duration: .01ms !important;
  animation-iteration-count: 1 !important;
  transition-duration: .01ms !important;
}
html.motion-off .project-card:hover,
html.motion-off .project-card:hover .project-card-arrow,
html.motion-off .button:hover,
html.motion-off .case-embed-link a:hover span[aria-hidden="true"],
html.motion-off .case-deeplink a:hover span[aria-hidden="true"] { transform: none; }
html.motion-off .case-video__trigger:hover .case-video__play,
html.motion-off .case-image-trigger:hover .case-image-open-hint { scale: 1; }
html.motion-off .case-gallery img[data-parallax] { transform: none !important; will-change: auto; }
