/* ============================================================
   HEAP Global — V2
   Monochrome, photography-led design language.
   Font: Open Sans (loaded from layout <link>, matching Foster + Partners)
   ============================================================ */

:root {
  --ink: #111114;
  --ink-soft: #2b2b2f;
  --mute: #74747c;
  --paper: #ffffff;
  --stone: #f4f4f2;
  --line: #e4e4e2;
  --line-dark: rgba(255, 255, 255, 0.22);
  --sans: "Open Sans", Helvetica, Arial, sans-serif;
  --gutter: clamp(1rem, 2.5vw, 1.75rem);
  --wrap: min(1600px, calc(100% - (2 * var(--gutter))));
  --ease: cubic-bezier(0.25, 0.6, 0.25, 1);
  --header-h: 84px;
}

/* ---------- base ---------- */
.v2 *,
.v2 *::before,
.v2 *::after { box-sizing: border-box; }

body.v2 {
  margin: 0;
  overflow-x: clip;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.v2 img { max-width: 100%; display: block; }
.v2 a { color: inherit; text-decoration: none; transition: opacity .3s var(--ease), color .3s var(--ease); }
.v2 a:hover { color: inherit; opacity: .55; }
.v2 h1, .v2 h2, .v2 h3, .v2 h4, .v2 h5, .v2 h6 {
  margin: 0;
  font-family: var(--sans);
  font-weight: 300;
  line-height: 1.15;
  color: var(--ink);
}
.v2 button,
.v2 input,
.v2 select,
.v2 textarea {
  font-family: inherit;
}
.v2 p { margin: 0 0 1em; }
.v2 ul { margin: 0; padding: 0; list-style: none; }

.v2-container { width: var(--wrap); margin: 0 auto; }

/* Small uppercase label */
.v2-label {
  display: block;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--mute);
  margin-bottom: 1.4rem;
}

.v2-title {
  font-size: clamp(1.9rem, 3.6vw, 3rem);
  font-weight: 300;
  letter-spacing: -0.01em;
  max-width: 22ch;
}

.v2-section { padding: clamp(4rem, 9vw, 8rem) 0; }
.v2-section--stone { background: var(--stone); }
.v2-section--flush-top { padding-top: 0; }

.v2-section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: clamp(2.4rem, 5vw, 4.2rem);
}

/* Quiet arrow link */
.v2-link {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ink);
  border-bottom: 1px solid var(--ink);
  padding-bottom: .35rem;
  white-space: nowrap;
}
.v2-link::after { content: '\2192'; font-weight: 400; transition: transform .3s var(--ease); }
.v2-link:hover::after { transform: translateX(4px); }

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

/* ---------- header ---------- */
.v2-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 90;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  transition: background .4s var(--ease), border-color .4s var(--ease), box-shadow .4s var(--ease), color .4s var(--ease);
}
.v2-header.is-scrolled {
  box-shadow: 0 1px 0 rgba(17, 17, 20, 0.04);
}

/* Homepage — translucent black bar over hero */
body.v2-is-home .v2-header:not(.is-scrolled):not(.is-open):not(.is-search-open) {
  background: #00000059;
  border-bottom-color: transparent;
  box-shadow: none;
}
body.v2-is-home .v2-header:not(.is-scrolled):not(.is-open):not(.is-search-open) .v2-wordmark,
body.v2-is-home .v2-header:not(.is-scrolled):not(.is-open):not(.is-search-open) .v2-burger,
body.v2-is-home .v2-header:not(.is-scrolled):not(.is-open):not(.is-search-open) .v2-search-toggle {
  color: #fff;
}
body.v2-is-home .v2-header:not(.is-scrolled):not(.is-open):not(.is-search-open) .v2-header-iso li {
  color: rgba(255, 255, 255, 0.88);
}
body.v2-is-home .v2-header:not(.is-scrolled):not(.is-open):not(.is-search-open) .v2-header-iso li + li {
  border-left-color: rgba(255, 255, 255, 0.35);
}
body.v2-is-home .v2-header.is-scrolled:not(.is-open) {
  background: var(--paper);
  border-bottom-color: var(--line);
}

.v2-header-inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  position: relative;
  z-index: 2;
}
.v2-wordmark {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ink);
  transition: color .4s var(--ease);
  flex-shrink: 0;
  line-height: 1;
}
.v2-wordmark span { font-weight: 300; letter-spacing: .18em; }
.v2-wordmark:hover { opacity: 1; }

.v2-header-certs {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  flex: 1;
  min-width: 0;
  transition: opacity .35s var(--ease);
}
.v2-header-iso {
  display: flex;
  align-items: center;
  gap: .85rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.v2-header-iso li {
  font-size: .62rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--mute);
  white-space: nowrap;
}
.v2-header-iso li + li {
  padding-left: .85rem;
  border-left: 1px solid var(--line);
}
.v2-header-cert-logos {
  display: flex;
  align-items: center;
  gap: .55rem;
}
.v2-header-cert-logos img {
  display: block;
  height: 28px;
  width: auto;
  object-fit: contain;
  background: #fff;
  padding: 2px 3px;
  border: 1px solid var(--line);
}
.v2-header.is-open .v2-header-certs,
.v2-header.is-search-open .v2-header-certs { opacity: 0; pointer-events: none; }

.v2-header-actions {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  flex-shrink: 0;
  margin-left: auto;
  position: relative;
  z-index: 2;
}
.v2-search-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  background: none;
  border: 0;
  cursor: pointer;
  color: var(--ink);
  transition: color .4s var(--ease), opacity .3s var(--ease);
  flex-shrink: 0;
}
.v2-search-toggle:hover { opacity: .7; }

/* burger — always visible */
.v2-burger {
  display: inline-flex;
  align-items: center;
  gap: .85rem;
  height: 44px;
  padding: 0;
  background: none;
  border: 0;
  cursor: pointer;
  color: var(--ink);
  transition: color .4s var(--ease);
  flex-shrink: 0;
}
.v2-burger-label {
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
}
.v2-burger-icon {
  position: relative;
  width: 26px;
  height: 16px;
  display: block;
}
.v2-burger-icon i {
  position: absolute;
  left: 0; right: 0;
  height: 2px;
  background: currentColor;
  transition: transform .45s var(--ease), top .45s var(--ease), opacity .3s var(--ease);
}
.v2-burger-icon i:nth-child(1) { top: 0; }
.v2-burger-icon i:nth-child(2) { top: 7px; }
.v2-burger-icon i:nth-child(3) { top: 14px; }
.v2-header.is-open .v2-burger-icon i:nth-child(1) { top: 7px; transform: rotate(45deg); }
.v2-header.is-open .v2-burger-icon i:nth-child(2) { opacity: 0; }
.v2-header.is-open .v2-burger-icon i:nth-child(3) { top: 7px; transform: rotate(-45deg); }

/* when menu open — header floats over dark modal */
.v2-header.is-open,
.v2-header.is-search-open {
  background: transparent;
  border-bottom-color: transparent;
  box-shadow: none;
}
.v2-header.is-open .v2-wordmark,
.v2-header.is-search-open .v2-wordmark { color: #fff; }
.v2-header.is-open .v2-burger {
  color: var(--ink);
  width: 44px;
  height: 44px;
  justify-content: center;
  border: 1px solid var(--line);
  background: var(--paper);
}
.v2-header.is-open .v2-burger-label { display: none; }
.v2-header.is-search-open .v2-search-toggle,
.v2-header.is-search-open .v2-burger {
  color: var(--ink);
}
.v2-header.is-open .v2-search-toggle { opacity: 0; pointer-events: none; }
.v2-header.is-search-open .v2-burger-label { display: none; }

/* ---------- Foster-style split menu ---------- */
.v2-menu {
  position: fixed;
  inset: 0;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  background: var(--paper);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .45s var(--ease), visibility .45s;
  overflow: hidden;
}
.v2-header.is-open .v2-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.v2-menu-visual {
  background-size: cover;
  background-position: center;
  background-color: var(--ink);
}
.v2-menu-panel {
  background: var(--paper);
  color: var(--ink);
  height: 100%;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}
.v2-menu-panel-inner {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: calc(var(--header-h) + 2.4rem) clamp(2rem, 5vw, 4.5rem) 2.4rem;
  min-height: 100%;
}
.v2-menu-label {
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--mute);
  margin-bottom: 1.6rem;
}
.v2-menu-links {
  display: flex;
  flex-direction: column;
  gap: .15rem;
  flex: 1;
}
.v2-menu-links a {
  display: block;
  padding: .35rem 0;
  color: #8a8a90;
  font-size: clamp(1.7rem, 3.4vw, 2.75rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.2;
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .5s var(--ease), transform .5s var(--ease), color .25s var(--ease);
}
.v2-header.is-open .v2-menu-links a {
  opacity: 1;
  transform: none;
  transition-delay: calc(0.08s + var(--i) * 0.05s);
}
.v2-menu-links a:hover,
.v2-menu-links a.is-current {
  color: var(--ink);
  opacity: 1;
  font-weight: 600;
}
.v2-menu-panel-foot {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  padding-top: 2.5rem;
  margin-top: auto;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .5s var(--ease), transform .5s var(--ease);
}
.v2-header.is-open .v2-menu-panel-foot {
  opacity: 1;
  transform: none;
  transition-delay: .35s;
}
.v2-menu-panel-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: .45rem;
  text-align: right;
}
.v2-menu-panel-meta a {
  font-size: .82rem;
  color: var(--mute);
}
.v2-menu-panel-meta a:first-child {
  color: var(--ink);
  font-weight: 600;
}
.v2-menu-panel-meta a:hover {
  color: var(--ink);
  opacity: 1;
}
.v2-menu-social.v2-social a {
  width: 36px;
  height: 36px;
  flex-basis: 36px;
}

/* ---------- Foster-style search overlay ---------- */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.v2-search {
  position: fixed;
  inset: 0;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  background: var(--paper);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .45s var(--ease), visibility .45s;
  overflow: hidden;
}
.v2-header.is-search-open .v2-search {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.v2-search-visual {
  background-size: cover;
  background-position: center;
  background-color: var(--ink);
}
.v2-search-panel {
  background: var(--paper);
  color: var(--ink);
  height: 100%;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}
.v2-search-panel-inner {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: calc(var(--header-h) + 1.6rem) clamp(1.6rem, 4vw, 3.5rem) 2.4rem;
  min-height: 100%;
}
.v2-search-toolbar {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}
.v2-search-field { flex: 1; min-width: 0; }
.v2-search-input {
  width: 100%;
  border: 0;
  background: #f3f3f3;
  color: var(--ink);
  font: inherit;
  font-size: 1.05rem;
  padding: 1.05rem 1.15rem;
  outline: none;
}
.v2-search-input::placeholder { color: #9a9aa0; }
.v2-search-close {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 0;
  background: var(--ink);
  color: #fff;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: opacity .3s var(--ease);
}
.v2-search-close:hover { opacity: .8; }
.v2-search-filters {
  display: flex;
  flex-wrap: wrap;
  gap: .85rem 1.4rem;
  margin: 1.6rem 0 1.4rem;
  padding-bottom: 1.1rem;
  border-bottom: 1px solid var(--line);
}
.v2-search-filter {
  border: 0;
  background: none;
  padding: 0;
  cursor: pointer;
  font: inherit;
  font-size: .92rem;
  color: var(--mute);
}
.v2-search-filter span {
  color: #b08968;
  margin-left: .25rem;
  font-weight: 600;
}
.v2-search-filter.is-active {
  color: var(--ink);
  font-weight: 600;
}
.v2-search-meta {
  font-size: .78rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--mute);
  margin-bottom: 1rem;
}
.v2-search-results {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: .15rem;
}
.v2-search-results a {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: .85rem;
  align-items: start;
  padding: .85rem 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
}
.v2-search-results a:hover { opacity: 1; }
.v2-search-results a:hover .v2-search-result-title { opacity: .7; }
.v2-search-result-arrow {
  font-size: .85rem;
  color: var(--mute);
  margin-top: .2rem;
}
.v2-search-result-title {
  display: block;
  font-size: 1.05rem;
  font-weight: 500;
  line-height: 1.35;
}
.v2-search-result-type {
  display: block;
  margin-top: .25rem;
  font-size: .72rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--mute);
}
.v2-search-empty {
  margin: 1.5rem 0 0;
  color: var(--mute);
  font-size: .95rem;
}

/* ---------- hero ---------- */
.v2-hero { position: relative; height: 100svh; min-height: 560px; background: var(--ink); }
.v2-hero .owl-carousel,
.v2-hero .owl-stage-outer,
.v2-hero .owl-stage,
.v2-hero .owl-item { height: 100%; }

.v2-hero-slide {
  position: relative;
  height: 100svh;
  min-height: 560px;
  background-size: cover;
  background-position: center;
}
/* Top shade for header + soft bottom for dots */
.v2-hero-slide::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0.22) 16%, rgba(0, 0, 0, 0) 36%),
    linear-gradient(to top, rgba(8, 8, 10, 0.55) 0%, rgba(8, 8, 10, 0.22) 22%, rgba(8, 8, 10, 0) 48%);
  pointer-events: none;
}
.v2-hero-caption {
  position: absolute;
  z-index: 2;
  left: 0; right: 0;
  bottom: clamp(3.2rem, 9vh, 5.8rem);
  color: #fff;
  text-shadow: 0 1px 18px rgba(0, 0, 0, 0.35);
}
.v2-hero-kicker {
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.82);
  margin-bottom: .9rem;
}
.v2 .v2-hero-title {
  font-size: clamp(1.55rem, 3.4vw, 2.9rem);
  font-weight: 300;
  color: #fff;
  max-width: 22ch;
  line-height: 1.2;
}
.v2-hero-text {
  max-width: 48ch;
  margin-top: .9rem;
  font-size: .95rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.88);
}
.v2-hero-caption .v2-link { color: #fff; border-bottom-color: rgba(255,255,255,.6); margin-top: 1.4rem; }

/* owl dots — centered bottom (Foster-style) */
.v2-hero .owl-dots {
  position: absolute;
  z-index: 3;
  left: 50%;
  right: auto;
  bottom: clamp(2rem, 5vh, 3.2rem);
  display: flex;
  gap: .65rem;
  transform: translateX(-50%);
}
.v2-hero .owl-dots .owl-dot span {
  display: block;
  width: 9px; height: 9px;
  margin: 0;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  background: transparent;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.35);
}
.v2-hero .owl-dots .owl-dot.active span { background: #fff; }
.v2-hero .owl-nav { display: none; }

/* Hero slide crossfade + subtle zoom */
.v2-hero .owl-carousel .animated {
  animation-duration: .85s;
  animation-fill-mode: both;
}
.v2-hero .owl-carousel .owl-animated-out { z-index: 1; }
.v2-hero .owl-carousel .owl-animated-in { z-index: 2; }
@keyframes v2-hero-fade-out {
  from { opacity: 1; }
  to { opacity: 0; }
}
@keyframes v2-hero-fade-in {
  from { opacity: 0; transform: scale(1.06); }
  to { opacity: 1; transform: scale(1); }
}
.v2-hero-fade-out { animation-name: v2-hero-fade-out; }
.v2-hero-fade-in {
  animation-name: v2-hero-fade-in;
  animation-timing-function: cubic-bezier(0.22, 1, 0.36, 1);
}

.v2-hero-scroll {
  position: absolute;
  z-index: 4;
  right: var(--gutter);
  top: 50%;
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 72px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: #fff;
  transition: background .3s var(--ease), transform .3s var(--ease);
}
.v2-hero-scroll:hover {
  background: rgba(255, 255, 255, 0.34);
  opacity: 1;
  transform: translateY(-50%);
}
.v2-hero-scroll-arrow {
  display: block;
  width: 12px;
  height: 12px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translate(-2px, -2px);
  animation: v2-scroll-nudge 1.8s var(--ease) infinite;
}
@keyframes v2-scroll-nudge {
  0%, 100% { transform: rotate(45deg) translate(-2px, -4px); opacity: .85; }
  50% { transform: rotate(45deg) translate(-2px, 0); opacity: 1; }
}

/* ---------- home: about excerpt ---------- */
.v2-about-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: start;
}
.v2-about-lead {
  font-size: clamp(1.1rem, 1.8vw, 1.45rem);
  font-weight: 400;
  line-height: 1.6;
  color: var(--ink-soft);
  margin-bottom: 1.6rem;
}
.v2-about-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }

/* ---------- home: works carousel ---------- */
.v2-works-carousel { margin: 0 -0.5rem; }
.v2-works-carousel .owl-stage-outer { overflow: hidden; }
.v2-works-carousel .owl-item { padding: 0 .5rem; }
.v2-work { display: block; min-width: 0; }
.v2-work-media {
  position: relative;
  overflow: hidden;
  background: var(--stone);
}
.v2-work-gallery-trigger {
  display: block;
  position: relative;
  color: inherit;
}
.v2-work-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  transition: transform 1.1s var(--ease);
}
.v2-work-media-cta {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(8, 8, 10, 0.48);
  color: #fff;
  opacity: 0;
  transition: opacity .35s var(--ease);
  pointer-events: none;
}
.v2-work-media-cta span {
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(255, 255, 255, 0.7);
  padding-bottom: .3rem;
}
.v2-work-media:hover .v2-work-media img,
.v2-work-gallery-trigger:focus-visible img { transform: scale(1.035); }
.v2-work-media:hover .v2-work-media-cta,
.v2-work-gallery-trigger:focus-visible .v2-work-media-cta { opacity: 1; }
@media (hover: none) {
  .v2-work-media-cta {
    opacity: 1;
    align-items: flex-end;
    justify-content: flex-start;
    padding: 0 0 1rem 1rem;
    background: linear-gradient(to top, rgba(8, 8, 10, 0.62) 0%, transparent 55%);
  }
}
.v2-work:hover { opacity: 1; }
.v2-work-caption { padding-top: 1rem; }
.v2-work-caption h3 {
  font-size: 1.05rem;
  font-weight: 500;
}
.v2-work-caption h3 a {
  color: inherit;
  text-decoration: none;
}
.v2-work-caption h3 a:hover { opacity: .55; }
.v2-work-caption .meta {
  font-size: .78rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--mute);
  margin-top: .3rem;
}
.v2-work-details {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  margin-top: .85rem;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ink);
  border-bottom: 1px solid var(--ink);
  padding-bottom: .25rem;
}
.v2-work-details::after {
  content: '\2192';
  font-weight: 400;
  transition: transform .3s var(--ease);
}
.v2-work-details:hover { opacity: 1; }
.v2-work-details:hover::after { transform: translateX(4px); }

/* carousel nav */
.v2-works-carousel .owl-nav {
  position: absolute;
  top: calc(50% - 3.2rem);
  left: 0; right: 0;
  pointer-events: none;
}
.v2-works-carousel .owl-nav button {
  pointer-events: auto;
  position: absolute;
  width: 44px;
  height: 44px;
  margin: 0;
  border: 1px solid var(--ink) !important;
  border-radius: 0;
  background: var(--paper) !important;
  color: var(--ink) !important;
  font-size: 1.15rem !important;
  line-height: 42px !important;
  transition: background .3s var(--ease), color .3s var(--ease);
}
.v2-works-carousel .owl-nav button:hover {
  background: var(--ink) !important;
  color: #fff !important;
}
.v2-works-carousel .owl-nav .owl-prev { left: -.5rem; transform: translateX(-50%); }
.v2-works-carousel .owl-nav .owl-next { right: -.5rem; transform: translateX(50%); }
.v2-works-carousel .owl-dots {
  display: flex;
  justify-content: center;
  gap: .55rem;
  margin-top: 1.6rem;
}
.v2-works-carousel .owl-dots .owl-dot span {
  display: block;
  width: 8px; height: 8px;
  margin: 0;
  border: 1px solid var(--ink);
  border-radius: 50%;
  background: transparent;
}
.v2-works-carousel .owl-dots .owl-dot.active span { background: var(--ink); }

/* ---------- home: services list ---------- */
.v2-services-list { border-top: 1px solid var(--line); }
.v2-service-row {
  display: grid;
  grid-template-columns: 4rem minmax(0, 4fr) minmax(0, 6fr) auto;
  gap: clamp(1rem, 3vw, 3rem);
  align-items: center;
  padding: clamp(1.4rem, 3vw, 2.2rem) 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
}
.v2-service-row:hover { opacity: 1; }
.v2-service-num { font-size: .78rem; letter-spacing: .14em; color: var(--mute); }
.v2-service-row h3 { font-size: clamp(1.15rem, 1.8vw, 1.5rem); font-weight: 400; transition: opacity .3s var(--ease); }
.v2-service-row:hover h3 { opacity: .55; }
.v2-service-row .summary { font-size: .92rem; color: var(--mute); margin: 0; }
.v2-service-row .arrow { font-size: 1.2rem; font-weight: 300; transition: transform .3s var(--ease); }
.v2-service-row:hover .arrow { transform: translateX(6px); }

/* ---------- home: journal ---------- */
.v2-journal-list { border-top: 1px solid var(--line); }
.v2-journal-row {
  display: grid;
  grid-template-columns: 10rem minmax(0, 1fr) auto;
  gap: clamp(1rem, 3vw, 3rem);
  align-items: center;
  padding: clamp(1.2rem, 2.6vw, 1.8rem) 0;
  border-bottom: 1px solid var(--line);
}
.v2-journal-row .date { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--mute); }
.v2-journal-row h3 { font-size: clamp(1.05rem, 1.6vw, 1.35rem); font-weight: 400; }
.v2-journal-row .arrow { font-size: 1.2rem; font-weight: 300; }

/* ---------- home: team carousel ---------- */
.v2-section--team {
  padding-top: clamp(3.5rem, 7vw, 6rem);
}
.v2-team-carousel { margin: 0 -0.5rem; }
.v2-team-carousel .owl-stage { display: flex; }
.v2-team-carousel .owl-stage-outer { overflow: hidden; }
.v2-team-carousel .owl-item {
  padding: 0 .5rem;
  display: flex;
  height: auto;
}
.v2-team-card {
  min-width: 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.v2-team-photo {
  overflow: hidden;
  background: var(--stone);
  border-bottom: 1px solid var(--line);
  flex-shrink: 0;
}
.v2-team-photo img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center top;
  filter: grayscale(1);
  transition: filter .5s var(--ease), transform 1.1s var(--ease);
}
.v2-team-card:hover .v2-team-photo img {
  filter: grayscale(0);
  transform: scale(1.03);
}
.v2-team-info {
  padding-top: 1.15rem;
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 0;
}
.v2-team-copy {
  flex: 1 1 auto;
}
.v2-team-card .role {
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--mute);
  margin-bottom: .45rem;
  line-height: 1.45;
  min-height: calc(1.45em * 2);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.v2-team-card h3 {
  font-size: 1.05rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  margin: 0;
  line-height: 1.35;
  min-height: calc(1.35em * 2);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.v2-team-social {
  margin-top: auto;
  padding-top: .85rem;
  border-top: 1px solid var(--line);
  flex-wrap: wrap;
}

.v2-team-carousel .owl-nav {
  position: absolute;
  top: calc(50% - 4.5rem);
  left: 0; right: 0;
  pointer-events: none;
}
.v2-team-carousel .owl-nav button {
  pointer-events: auto;
  position: absolute;
  width: 44px;
  height: 44px;
  margin: 0;
  border: 1px solid var(--ink) !important;
  border-radius: 0;
  background: var(--paper) !important;
  color: var(--ink) !important;
  font-size: 1.15rem !important;
  line-height: 42px !important;
  transition: background .3s var(--ease), color .3s var(--ease);
}
.v2-team-carousel .owl-nav button:hover {
  background: var(--ink) !important;
  color: #fff !important;
}
.v2-team-carousel .owl-nav .owl-prev { left: -.5rem; transform: translateX(-50%); }
.v2-team-carousel .owl-nav .owl-next { right: -.5rem; transform: translateX(50%); }
.v2-team-carousel .owl-dots {
  display: flex;
  justify-content: center;
  gap: .55rem;
  margin-top: 1.6rem;
}
.v2-team-carousel .owl-dots .owl-dot span {
  display: block;
  width: 8px; height: 8px;
  margin: 0;
  border: 1px solid var(--ink);
  border-radius: 50%;
  background: transparent;
}
.v2-team-carousel .owl-dots .owl-dot.active span { background: var(--ink); }

/* ---------- CTA strip ---------- */
.v2-cta.v2-section {
  padding: clamp(1.75rem, 3.5vw, 2.75rem) 0;
}
.v2-cta { border-top: 1px solid var(--line); }
.v2-cta-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 1.5rem;
}
.v2-cta h2 {
  font-size: clamp(1.25rem, 2.2vw, 1.75rem);
  font-weight: 300;
  margin: 0;
}

/* ---------- inner page header ---------- */
.v2-page-head { padding: calc(var(--header-h) + clamp(3rem, 7vw, 6rem)) 0 clamp(2.4rem, 5vw, 4rem); }
.v2-breadcrumb { display: flex; gap: .6rem; font-size: .75rem; letter-spacing: .16em; text-transform: uppercase; color: var(--mute); margin-bottom: 1.6rem; }
.v2-breadcrumb a { color: var(--mute); }
.v2-breadcrumb li + li::before { content: '/'; margin-right: .6rem; color: var(--line); }
.v2-page-head h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); font-weight: 300; letter-spacing: -0.01em; }
.v2-page-head .v2-page-sub { max-width: 60ch; margin-top: 1.4rem; color: var(--mute); font-size: 1rem; }

/* offset for pages without hero */
body.v2:not(.v2-is-home) main { padding-top: 0; }

/* ---------- projects listing ---------- */
.v2-projects-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.8rem, 3.5vw, 3.2rem) clamp(1.4rem, 2.5vw, 2.4rem);
}
.v2-projects-grid .v2-work-media img { aspect-ratio: 16 / 11; }

/* ---------- detail pages ---------- */
.v2-detail-hero { margin-top: var(--header-h); }
.v2-detail-hero img { width: 100%; max-height: 72vh; object-fit: cover; }

.v2-detail-body {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  gap: clamp(2rem, 6vw, 6rem);
}
.v2-detail-side { position: sticky; top: calc(var(--header-h) + 2rem); align-self: start; }
.v2-detail-side .v2-meta-item,
.v2-project-aside .v2-meta-item { padding: 1rem 0; border-bottom: 1px solid var(--line); }
.v2-detail-side .v2-meta-item span,
.v2-project-aside .v2-meta-item span {
  display: block;
  font-size: .72rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--mute);
  margin-bottom: .35rem;
}
.v2-prose { font-size: 1.02rem; line-height: 1.8; color: var(--ink-soft); font-weight: 400; }
.v2-prose img { margin: 1.5rem 0; }
.v2-prose h1, .v2-prose h2, .v2-prose h3, .v2-prose h4 { margin: 1.6em 0 .6em; font-weight: 400; }

/* ---------- project detail (full-bleed hero) ---------- */
.v2-project-hero {
  position: relative;
  margin-top: var(--header-h);
  min-height: calc(100svh - var(--header-h));
  height: calc(100svh - var(--header-h));
  background-color: var(--ink);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.v2-project-hero-carousel,
.v2-project-hero-carousel .owl-stage-outer,
.v2-project-hero-carousel .owl-stage,
.v2-project-hero-carousel .owl-item {
  height: 100%;
}
.v2-project-hero-carousel {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.v2-project-hero-slide {
  height: 100%;
  min-height: calc(100svh - var(--header-h));
  background-size: cover;
  background-position: center;
  background-color: var(--ink);
}
.v2-project-hero .owl-nav {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
}
.v2-project-hero .owl-nav button {
  pointer-events: auto;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  margin: 0;
  border: 1px solid rgba(255, 255, 255, 0.35) !important;
  background: rgba(8, 8, 10, 0.28) !important;
  color: #fff !important;
  font-size: 1.1rem !important;
  line-height: 1 !important;
  backdrop-filter: blur(6px);
  transition: background .3s var(--ease), border-color .3s var(--ease);
}
.v2-project-hero .owl-nav button:hover {
  background: rgba(8, 8, 10, 0.55) !important;
  border-color: rgba(255, 255, 255, 0.7) !important;
}
.v2-project-hero .owl-nav .owl-prev { left: clamp(0.75rem, 2vw, 1.5rem); }
.v2-project-hero .owl-nav .owl-next { right: clamp(0.75rem, 2vw, 1.5rem); }
.v2-project-hero .owl-dots {
  position: absolute;
  z-index: 3;
  left: clamp(1.25rem, 4vw, 2.5rem);
  bottom: clamp(1.2rem, 3vh, 2rem);
  display: flex;
  gap: .5rem;
}
.v2-project-hero .owl-dots .owl-dot span {
  display: block;
  width: 8px;
  height: 8px;
  margin: 0;
  border-radius: 0;
  background: rgba(255, 255, 255, 0.35);
  transition: background .3s var(--ease), transform .3s var(--ease);
}
.v2-project-hero .owl-dots .owl-dot.active span {
  background: #fff;
  transform: scale(1.15);
}
.v2-project-hero-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(to top, rgba(8, 8, 10, 0.78) 0%, rgba(8, 8, 10, 0.28) 42%, rgba(8, 8, 10, 0.08) 70%, rgba(8, 8, 10, 0.18) 100%);
  pointer-events: none;
}
.v2-project-hero-caption {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: clamp(2.4rem, 7vh, 4.5rem) 0 calc(clamp(2.4rem, 7vh, 4.5rem) + 1.5rem);
  color: #fff;
  text-shadow: 0 1px 18px rgba(0, 0, 0, 0.35);
}
.v2-breadcrumb--on-dark { color: rgba(255, 255, 255, 0.65); margin-bottom: 1.2rem; }
.v2-breadcrumb--on-dark a { color: rgba(255, 255, 255, 0.75); }
.v2-breadcrumb--on-dark a:hover { color: #fff; opacity: 1; }
.v2-breadcrumb--on-dark li + li::before { color: rgba(255, 255, 255, 0.35); }
.v2-project-hero-title {
  font-size: clamp(2.2rem, 5.5vw, 4.2rem);
  font-weight: 300;
  color: #fff;
  letter-spacing: -0.015em;
  max-width: 16ch;
  line-height: 1.08;
}
.v2-project-hero-meta {
  margin-top: 1rem;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.78);
}
.v2-project-hero-actions {
  margin-top: 1.6rem;
}
.v2-project-view-gallery {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  padding: .85rem 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.45);
  background: rgba(8, 8, 10, 0.22);
  color: #fff;
  font-family: inherit;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  cursor: pointer;
  backdrop-filter: blur(8px);
  transition: background .3s var(--ease), border-color .3s var(--ease), color .3s var(--ease);
}
.v2-project-view-gallery:hover {
  background: #fff;
  color: var(--ink);
  border-color: #fff;
}
.v2-project-view-gallery-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.5rem;
  height: 1.5rem;
  padding: 0 .35rem;
  border: 1px solid currentColor;
  font-size: .65rem;
  letter-spacing: .08em;
}
.v2-section-head .v2-project-view-gallery {
  border: none;
  background: transparent;
  backdrop-filter: none;
  padding: 0 0 .35rem;
  color: var(--ink);
  border-bottom: 1px solid var(--ink);
  border-radius: 0;
}
.v2-section-head .v2-project-view-gallery:hover {
  background: transparent;
  color: var(--ink);
  opacity: .55;
}

.v2-project-layout {
  display: grid;
  grid-template-columns: minmax(0, 3.5fr) minmax(0, 8.5fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: start;
}
.v2-project-aside {
  position: sticky;
  top: calc(var(--header-h) + 2rem);
}
.v2-project-aside .v2-link { margin-top: 1.8rem; }
.v2-project-copy .v2-prose { max-width: 68ch; }

.v2-project-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(.9rem, 1.8vw, 1.5rem);
}
.v2-project-gallery-item {
  overflow: hidden;
  background: var(--stone);
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  cursor: pointer;
  text-align: left;
  font: inherit;
  color: inherit;
}
.v2-project-gallery-item.is-wide { grid-column: 1 / -1; }
.v2-project-gallery-item img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transition: transform 1.1s var(--ease);
  display: block;
}
.v2-project-gallery-item.is-wide img { aspect-ratio: 21 / 10; }
.v2-project-gallery-item:hover { opacity: 1; }
.v2-project-gallery-item:hover img { transform: scale(1.03); }

/* legacy small gallery (blogs / services) */
.v2-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(.8rem, 1.6vw, 1.4rem);
  margin-top: clamp(2.4rem, 5vw, 4rem);
}
.v2-gallery a { overflow: hidden; background: var(--stone); }
.v2-gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform 1s var(--ease); }
.v2-gallery a:hover img { transform: scale(1.04); }

/* ---------- forms ---------- */
.v2-form .form-group { margin-bottom: 1.6rem; }
.v2-form input[type="text"],
.v2-form textarea {
  width: 100%;
  border: 0;
  border-bottom: 1px solid var(--ink);
  border-radius: 0;
  background: transparent;
  padding: .8rem 0;
  font-family: var(--sans);
  font-size: .95rem;
  color: var(--ink);
  outline: none;
  transition: border-color .3s var(--ease);
}
.v2-form input::placeholder,
.v2-form textarea::placeholder { color: var(--mute); }
.v2-form textarea { min-height: 120px; resize: vertical; }
.v2-form input[type="file"] { font-size: .85rem; color: var(--mute); }
.v2-form label { font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--mute); display: block; margin-bottom: .5rem; }
.v2-form button {
  display: inline-block;
  background: var(--ink);
  color: #fff;
  border: 1px solid var(--ink);
  padding: .95rem 2.6rem;
  font-family: var(--sans);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background .3s var(--ease), color .3s var(--ease);
}
.v2-form button:hover { background: transparent; color: var(--ink); }
.v2-form .alert-msg { margin-top: 1rem; font-size: .9rem; color: var(--ink); }

/* contact layout */
.v2-contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(2.4rem, 6vw, 6rem);
}
.v2-contact-list li { padding: 1.1rem 0; border-bottom: 1px solid var(--line); }
.v2-contact-list li span { display: block; font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: var(--mute); margin-bottom: .25rem; }

/* careers */
.v2-jobs-list { border-top: 1px solid var(--line); }
.v2-job-row {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 7fr) auto;
  gap: clamp(1rem, 3vw, 3rem);
  align-items: center;
  padding: clamp(1.4rem, 3vw, 2rem) 0;
  border-bottom: 1px solid var(--line);
}
.v2-job-row h3 { font-size: clamp(1.1rem, 1.8vw, 1.4rem); font-weight: 400; }
.v2-job-row .summary { font-size: .92rem; color: var(--mute); margin: 0; }
.v2-job-row .arrow { font-size: 1.2rem; font-weight: 300; }
.v2-careers-empty { text-align: center; padding: clamp(3rem, 7vw, 6rem) 0; }
.v2-careers-empty h2 { font-size: clamp(1.4rem, 2.6vw, 2rem); font-weight: 300; margin-top: .8rem; }
.v2-careers-empty a { border-bottom: 1px solid var(--ink); }

/* about page */
.v2-about-values { border-top: 1px solid var(--line); }
.v2-about-value {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  gap: clamp(1rem, 3vw, 3rem);
  padding: clamp(1.6rem, 3.4vw, 2.4rem) 0;
  border-bottom: 1px solid var(--line);
}
.v2-about-value h3 { font-size: clamp(1.15rem, 1.8vw, 1.5rem); font-weight: 400; }
.v2-about-value p { color: var(--mute); margin: 0; font-size: .96rem; }

/* ---------- footer ---------- */
.v2-footer { background: var(--ink); color: rgba(255, 255, 255, 0.8); padding: clamp(3.5rem, 7vw, 6rem) 0 2rem; margin-top: clamp(4rem, 9vw, 8rem); }
.v2-cta + .v2-footer, main > .v2-footer { margin-top: 0; }
.v2-footer a { color: rgba(255, 255, 255, 0.8); }
.v2-footer a:hover { color: #fff; opacity: 1; }
.v2-footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 4fr) repeat(3, minmax(0, 2fr));
  gap: clamp(2rem, 4vw, 4rem);
  padding-bottom: clamp(2.4rem, 5vw, 4rem);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}
.v2-footer-logo {
  display: inline-block;
  margin: 0 0 1.8rem;
}
.v2-footer-logo img {
  display: block;
  width: min(180px, 100%);
  height: auto;
}
.v2-footer-logo:hover { opacity: .85; }
.v2-footer-head { font-size: .72rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: rgba(255, 255, 255, 0.45); margin-bottom: 1.1rem; }
.v2-footer-links li { padding: .28rem 0; font-size: .92rem; }
.v2-footer-contact li { padding: .45rem 0; font-size: .92rem; }
.v2-footer-contact li span { display: block; font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: rgba(255, 255, 255, 0.4); }
.v2-footer-iso li { padding: .22rem 0; font-size: .88rem; }
.v2-footer-certs { display: flex; align-items: center; flex-wrap: wrap; gap: 1rem; margin-top: 1.4rem; }
.v2-footer-certs img { background: #fff; padding: 4px; }
.v2-footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.6rem;
  font-size: .8rem;
  color: rgba(255, 255, 255, 0.45);
}
.v2-footer-credit a { border-bottom: 1px solid rgba(255, 255, 255, 0.35); }

/* ---------- responsive ---------- */
@media (max-width: 1023px) {
  .v2-burger { display: inline-flex; }
  .v2-wordmark {
    font-size: 1.55rem;
    letter-spacing: .16em;
  }
  .v2-header-iso { display: none; }
  .v2-header-certs { justify-content: flex-end; flex: 0 1 auto; margin-left: auto; margin-right: .25rem; }
  .v2-footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .v2-detail-body { grid-template-columns: 1fr; }
  .v2-detail-side { position: static; }
  .v2-project-layout { grid-template-columns: 1fr; }
  .v2-project-aside { position: static; }
  .v2-about-grid { grid-template-columns: 1fr; }
  .v2-contact-grid { grid-template-columns: 1fr; }
  .v2-menu {
    grid-template-columns: 1fr;
  }
  .v2-menu-visual {
    display: none;
  }
  .v2-search {
    grid-template-columns: 1fr;
  }
  .v2-search-visual {
    display: none;
  }
  .v2-header.is-open .v2-wordmark,
  .v2-header.is-search-open .v2-wordmark { color: var(--ink); }
  .v2-works-carousel .owl-nav .owl-prev,
  .v2-team-carousel .owl-nav .owl-prev { left: .25rem; transform: none; }
  .v2-works-carousel .owl-nav .owl-next,
  .v2-team-carousel .owl-nav .owl-next { right: .25rem; transform: none; }
}

@media (max-width: 767px) {
  :root { --header-h: 66px; }

  .v2-wordmark {
    font-size: 1.35rem;
    letter-spacing: .14em;
  }
  .v2-wordmark span { letter-spacing: .14em; }

  .v2-header-certs { display: none; }

  .v2-hero,
  .v2-hero-slide {
    height: 100svh;
    min-height: 520px;
  }
  .v2-hero-slide::after {
    background:
      linear-gradient(to bottom, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.24) 18%, rgba(0, 0, 0, 0) 38%),
      linear-gradient(to top, rgba(8, 8, 10, 0.62) 0%, rgba(8, 8, 10, 0.28) 26%, rgba(8, 8, 10, 0) 52%);
  }
  .v2-hero .owl-dots {
    left: 50%;
    right: auto;
    bottom: clamp(1.5rem, 4vh, 2.5rem);
    transform: translateX(-50%);
    flex-direction: row;
  }
  .v2-hero-scroll {
    width: 38px;
    height: 60px;
    right: max(0.75rem, calc(var(--gutter) * 0.6));
  }

  .v2-project-hero {
    min-height: calc(100svh - var(--header-h));
    height: calc(100svh - var(--header-h));
  }
  .v2-project-hero-slide {
    min-height: calc(100svh - var(--header-h));
  }
  .v2-project-hero .owl-nav { display: none; }
  .v2-project-hero .owl-dots {
    left: 50%;
    transform: translateX(-50%);
    bottom: 1rem;
  }
  .v2-project-hero-title { max-width: none; font-size: clamp(1.8rem, 9vw, 2.6rem); }
  .v2-project-gallery { grid-template-columns: 1fr; }
  .v2-project-gallery-item.is-wide { grid-column: auto; }
  .v2-project-gallery-item img,
  .v2-project-gallery-item.is-wide img { aspect-ratio: 4 / 3; }

  .v2-burger-label { display: none; }
  .v2-menu-panel-inner {
    padding: calc(var(--header-h) + 1.5rem) var(--gutter) 1.8rem;
  }
  .v2-menu-links a {
    font-size: clamp(1.55rem, 7vw, 2.1rem);
  }
  .v2-menu-panel-foot {
    flex-direction: column;
    align-items: flex-start;
  }
  .v2-menu-panel-meta {
    align-items: flex-start;
    text-align: left;
  }

  .v2-works-carousel .owl-nav,
  .v2-team-carousel .owl-nav { display: none; }
  .v2-projects-grid { grid-template-columns: 1fr; }
  .v2-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .v2-service-row { grid-template-columns: 2.4rem minmax(0, 1fr) auto; }
  .v2-service-row .summary { grid-column: 2 / -1; }
  .v2-journal-row { grid-template-columns: minmax(0, 1fr) auto; }
  .v2-journal-row .date { grid-column: 1 / -1; }
  .v2-job-row { grid-template-columns: minmax(0, 1fr) auto; }
  .v2-job-row .summary { grid-column: 1 / -1; }
  .v2-about-value { grid-template-columns: 1fr; }
  .v2-footer-grid { grid-template-columns: 1fr; }
  .v2-section-head { flex-direction: column; align-items: flex-start; }
  .v2-page-head h1 { font-size: clamp(1.9rem, 9vw, 2.6rem); }
}

/* ---------- social icons (shared) ---------- */
.v2-social {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: .45rem;
}
.v2-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  font-size: .92rem;
  transition: background .3s var(--ease), border-color .3s var(--ease), color .3s var(--ease);
}
.v2-social--on-dark a {
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: #fff;
}
.v2-social--on-dark a:hover {
  background: #fff;
  color: var(--ink);
  border-color: #fff;
  opacity: 1;
}
.v2-social--on-light a {
  border: 1px solid var(--line);
  color: var(--ink);
  background: var(--paper);
}
.v2-social--on-light a:hover {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
  opacity: 1;
}
.v2-team-social {
  flex-wrap: wrap;
}

/* ---------- WhatsApp FAB ---------- */
.v2 a.v2-whatsapp {
  position: fixed;
  right: max(var(--gutter), env(safe-area-inset-right));
  bottom: max(var(--gutter), env(safe-area-inset-bottom));
  z-index: 110;
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  min-height: 36px;
  padding: .45rem .7rem .45rem .55rem;
  background: var(--paper);
  color: var(--ink);
  border: 1px solid var(--line);
  box-shadow: 0 8px 22px rgba(17, 17, 20, 0.12);
  font-size: .58rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  opacity: 0;
  pointer-events: none;
  transform: translateX(calc(100% + 2rem));
  transition: transform .45s var(--ease), opacity .45s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.v2 a.v2-whatsapp.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0);
}
.v2 a.v2-whatsapp.is-visible:hover {
  opacity: 1;
  color: var(--ink);
  background: var(--paper);
  border-color: var(--ink);
  box-shadow: 0 10px 24px rgba(17, 17, 20, 0.16);
  transform: translateX(0) translateY(-2px);
}
.v2-whatsapp .fa {
  font-size: .95rem;
  line-height: 1;
  color: #25d366;
}
.v2-header.is-open ~ .v2-whatsapp,
.v2-header.is-search-open ~ .v2-whatsapp,
body:has(.v2-header.is-open) .v2-whatsapp,
body:has(.v2-header.is-search-open) .v2-whatsapp {
  opacity: 0 !important;
  pointer-events: none !important;
  transform: translateX(calc(100% + 2rem)) !important;
}

@media (max-width: 767px) {
  .v2-whatsapp span { display: none; }
  .v2 a.v2-whatsapp {
    width: 38px;
    height: 38px;
    min-height: 38px;
    padding: 0;
    justify-content: center;
  }
}

/* ---------- cookie consent ---------- */
.v2-cookie {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 120;
  padding: 1.15rem 0 calc(1.15rem + env(safe-area-inset-bottom, 0px));
  background: var(--ink);
  color: rgba(255, 255, 255, 0.86);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  transform: translateY(110%);
  opacity: 0;
  visibility: hidden;
  transition: transform .45s var(--ease), opacity .45s var(--ease), visibility .45s;
}
.v2-cookie.is-visible {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}
.v2-cookie[hidden] { display: block; }
.v2-cookie-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(1.2rem, 3vw, 2.5rem);
}
.v2-cookie-title {
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: none;
  color: #fff;
  margin-bottom: .4rem;
}
.v2-cookie-copy {
  max-width: 58ch;
}
.v2-cookie-copy p {
  margin: 0;
  font-size: .9rem;
  font-weight: 300;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.78);
}
.v2-cookie-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: .85rem 1.1rem;
  flex-shrink: 0;
}
.v2-cookie-link {
  appearance: none;
  border: 0;
  background: none;
  padding: 0;
  color: rgba(255, 255, 255, 0.82);
  font-family: inherit;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  cursor: pointer;
  border-bottom: 1px solid rgba(255, 255, 255, 0.35);
  padding-bottom: .2rem;
}
.v2-cookie-link:hover { color: #fff; opacity: 1; border-bottom-color: #fff; }
.v2-cookie-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: .75rem 1.2rem;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: transparent;
  color: #fff;
  font-family: inherit;
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
}
.v2-cookie-btn--solid {
  background: #fff;
  color: var(--ink);
  border-color: #fff;
}
.v2-cookie-btn--solid:hover {
  background: transparent;
  color: #fff;
}
.v2-cookie-btn--ghost {
  border-color: var(--ink);
  color: var(--ink);
  background: transparent;
}
.v2-cookie-btn--ghost:hover {
  background: var(--ink);
  color: #fff;
}

/* Preferences modal */
.v2-cookie-modal {
  position: fixed;
  inset: 0;
  z-index: 130;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity .28s var(--ease), visibility .28s;
}
.v2-cookie-modal.is-open {
  opacity: 1;
  visibility: visible;
}
.v2-cookie-modal[hidden] { display: none; }
.v2-cookie-modal.is-open[hidden] { display: flex; }
.v2-cookie-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 8, 10, 0.55);
  border: 0;
  padding: 0;
  cursor: pointer;
}
.v2-cookie-panel {
  position: relative;
  z-index: 1;
  width: min(520px, 100%);
  max-height: min(86vh, 720px);
  overflow: auto;
  background: var(--paper);
  color: var(--ink);
  border: 1px solid var(--line);
  padding: clamp(1.4rem, 3vw, 1.9rem);
  box-shadow: 0 24px 60px rgba(8, 8, 10, 0.22);
  transform: translateY(14px);
  transition: transform .28s var(--ease);
}
.v2-cookie-modal.is-open .v2-cookie-panel { transform: none; }
.v2-cookie-panel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: .7rem;
}
.v2-cookie-panel-head h2 {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 500;
  letter-spacing: -0.01em;
}
.v2-cookie-close {
  appearance: none;
  border: 0;
  background: none;
  width: 36px;
  height: 36px;
  margin: -.4rem -.4rem 0 0;
  color: var(--mute);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
}
.v2-cookie-close:hover { color: var(--ink); opacity: 1; }
.v2-cookie-panel-lead {
  margin: 0 0 1.4rem;
  font-size: .9rem;
  font-weight: 300;
  color: var(--mute);
  line-height: 1.55;
}
.v2-cookie-prefs {
  border-top: 1px solid var(--line);
}
.v2-cookie-pref {
  padding: 1.05rem 0;
  border-bottom: 1px solid var(--line);
}
.v2-cookie-pref-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: .35rem;
}
.v2-cookie-pref-label {
  font-size: .95rem;
  font-weight: 600;
}
.v2-cookie-pref p {
  margin: 0;
  font-size: .86rem;
  font-weight: 300;
  color: var(--mute);
  line-height: 1.5;
  max-width: 42ch;
}
.v2-cookie-badge {
  display: inline-flex;
  align-items: center;
  padding: .28rem .55rem;
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink);
  background: var(--stone);
  border: 1px solid var(--line);
}
.v2-cookie-switch {
  position: relative;
  width: 46px;
  height: 26px;
  border: 1px solid var(--line);
  background: var(--stone);
  padding: 0;
  cursor: pointer;
  flex-shrink: 0;
  transition: background .25s var(--ease), border-color .25s var(--ease);
}
.v2-cookie-switch-thumb {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 20px;
  height: 20px;
  background: #fff;
  border: 1px solid var(--line);
  transition: transform .25s var(--ease), background .25s var(--ease);
}
.v2-cookie-switch.is-on {
  background: var(--ink);
  border-color: var(--ink);
}
.v2-cookie-switch.is-on .v2-cookie-switch-thumb {
  transform: translateX(20px);
  border-color: var(--ink);
}
.v2-cookie-panel-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: .7rem;
  margin-top: 1.35rem;
}
.v2-cookie-panel-actions .v2-cookie-btn--solid {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}
.v2-cookie-panel-actions .v2-cookie-btn--solid:hover {
  background: transparent;
  color: var(--ink);
}

@media (max-width: 767px) {
  .v2-cookie-inner {
    flex-direction: column;
    align-items: stretch;
  }
  .v2-cookie-actions {
    width: 100%;
    justify-content: stretch;
  }
  .v2-cookie-link {
    width: 100%;
    text-align: left;
  }
  .v2-cookie-btn {
    flex: 1 1 auto;
    width: 100%;
  }
  .v2-cookie-panel-actions {
    flex-direction: column-reverse;
  }
  .v2-cookie-panel-actions .v2-cookie-btn {
    width: 100%;
  }
}
