/* Saavedra Design — homepage styles
   Built from the 1920 / 1280 / mobile homepage designs. */

@font-face { font-family: "Poppins"; font-weight: 300; font-style: normal; font-display: swap; src: url("../fonts/Poppins-Light.woff") format("woff"); }
@font-face { font-family: "Poppins"; font-weight: 400; font-style: normal; font-display: swap; src: url("../fonts/Poppins-Regular.woff") format("woff"); }
@font-face { font-family: "Poppins"; font-weight: 500; font-style: normal; font-display: swap; src: url("../fonts/Poppins-Medium.woff") format("woff"); }
@font-face { font-family: "Poppins"; font-weight: 700; font-style: normal; font-display: swap; src: url("../fonts/Poppins-Bold.woff") format("woff"); }

:root {
  --red: #ec182e;
  --charcoal: #464e51;
  --ink: #1d1d1f;
  --gray: #a8a9ad;
  --tile: #ececec;
  --rule: #d9d9db;
  --white: #fff;

  --max: 1638px;
  --gutter: clamp(20px, calc(11.1vw - 72px), 141px);
  --gap: clamp(16px, calc(5.6vw - 29px), 79px);
  --row-gap: clamp(16px, 6.3vw, 81px);
  --section: clamp(64px, 13vw, 166px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: "Poppins", system-ui, sans-serif;
  font-weight: 400;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
ul { list-style: none; margin: 0; padding: 0; }
a { color: inherit; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.container {
  width: 100%;
  max-width: calc(var(--max) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ---------- Header ---------- */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: clamp(24px, 6.4vw, 82px);
  padding-bottom: clamp(24px, 5.5vw, 70px);
}
.logo img { width: clamp(170px, 29vw, 375px); }

.site-nav { display: flex; align-items: center; gap: clamp(32px, 4.8vw, 96px); padding-right: 24px; }
.site-nav .nav-link {
  color: var(--red);
  text-decoration: none;
  text-transform: uppercase;
  font-weight: 500;
  font-size: clamp(13px, 1.56vw, 20px);
  letter-spacing: 0.15em;
  transition: opacity .2s;
}
.site-nav .nav-link:hover { opacity: .65; }

.nav-toggle { display: none; }

/* ---------- Hero ---------- */
.hero-inner {
  background: var(--charcoal);
  color: var(--white);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  padding: clamp(40px, 4.4vw, 84px) clamp(28px, 5vw, 96px) clamp(48px, 5vw, 96px);
}
.hero h1 {
  margin: 0;
  font-weight: 700;
  font-size: clamp(48px, 7.05vw, 90px);  /* -15% */
  line-height: 1.05;
  letter-spacing: -0.055em;
}
.hero-sub {
  margin: .55em 0 0;
  font-weight: 300;
  font-size: clamp(18px, 2.42vw, 31px);
  line-height: 1.35;
}
.hero-detail { padding-top: clamp(4px, .6vw, 12px); }
.hero-detail p {
  margin: 0 0 clamp(20px, 2.4vw, 46px);
  font-weight: 500;
  font-size: clamp(14px, 1.64vw, 21px);
  line-height: 1.55;
  max-width: 34em;
}
/* hero service links: white, underline on hover */
.hero-list a { color: inherit; text-decoration: none; background: linear-gradient(currentColor,currentColor) 0 100% / 0 1px no-repeat; transition: background-size .3s ease; padding-bottom: 2px; }
.hero-list a:hover, .hero-list a:focus-visible { background-size: 100% 1px; }
.hero-list {
  display: grid;
  grid-template-columns: auto auto;
  justify-content: start;
  column-gap: clamp(24px, 4.3vw, 82px);
  row-gap: .55em;
  padding-left: clamp(0px, 2.2vw, 56px);
  font-weight: 500;
  font-size: clamp(14px, 1.64vw, 21px);
}

/* ---------- Sections ---------- */
.section { padding-top: var(--section); }
.section-title {
  margin: 0 0 clamp(32px, 3.8vw, 72px);
  text-align: center;
  text-transform: uppercase;
  font-weight: 500;
  font-size: clamp(13px, 1.56vw, 20px);
  letter-spacing: 0.2em;
}

/* Projects grid */
.project-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--row-gap) var(--gap);
}
.project-grid a { display: block; overflow: hidden; background: var(--tile); }
.project-grid img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  transition: transform .5s cubic-bezier(.2,.7,.2,1), opacity .3s;
}
.project-grid a:hover img,
.project-grid a:focus-visible img { transform: scale(1.04); }

/* Free consultation divider */
.consult {
  max-width: calc(var(--max) + var(--gutter) * 2);
  margin: clamp(80px, calc(7.3vw + 125px), 266px) auto 0;
  padding-inline: var(--gutter);
  display: flex;
  align-items: center;
  gap: 20px;
}
.consult::before, .consult::after { content: ""; flex: 1; height: 1px; background: var(--rule); }

/* Featured slider */
.slider { position: relative; }
.slider-track { display: grid; }
.slide {
  grid-area: 1 / 1;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity .5s ease, visibility .5s;
}
.slide.is-active { opacity: 1; visibility: visible; }
.slide-media { aspect-ratio: 1638 / 821; overflow: hidden; background: #6b9aa6; }
.slide-media img { width: 100%; height: 100%; object-fit: cover; }
.slide-media--thumb { position: relative; background: var(--bg, var(--tile)); }
.slide-media--thumb img { position: absolute; top: 10%; left: 50%; width: auto; height: 80%; aspect-ratio: 1; transform: translateX(-50%); }

.slide figcaption { text-align: center; padding-top: clamp(20px, 2.1vw, 40px); }
.slide h3 {
  margin: 0;
  font-weight: 300;
  font-size: clamp(18px, 2.34vw, 30px);
  color: var(--gray);
  line-height: 1.3;
}
.slide p {
  margin: .2em 0 0;
  font-size: clamp(13px, 1.56vw, 20px);
  color: var(--gray);
}
.text-link {
  display: inline-block;
  margin-top: clamp(16px, 1.8vw, 34px);
  color: var(--red);
  text-decoration: none;
  text-transform: uppercase;
  font-weight: 500;
  font-size: clamp(13px, 1.56vw, 20px);
  letter-spacing: 0.15em;
}
.text-link:hover { opacity: .65; }

.slider-btn {
  position: absolute;
  z-index: 2;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  /* vertically centred on the image, not the caption */
  top: calc((min(100vw - var(--gutter) * 2, var(--max)) * 821 / 1638) / 2);
  transform: translateY(-50%);
  width: clamp(36px, 4vw, 72px);
  height: clamp(48px, 5vw, 96px);
  display: grid;
  place-items: center;
  color: var(--white);
}
.slider-btn svg { width: clamp(14px, 1.9vw, 24px); fill: none; stroke: currentColor; stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 1px 3px rgba(0,0,0,.25)); }
.slider-btn.prev { left: clamp(4px, 1.6vw, 40px); }
.slider-btn.next { right: clamp(4px, 1.6vw, 40px); }
.slider-btn:hover svg { transform: scale(1.12); }
.slider-btn svg { transition: transform .2s; }
.slider[data-count="1"] .slider-btn { display: none; }

/* Services */
.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--gap);
}
.service-grid a {
  color: inherit;
  text-decoration: none;
  transition: background-color .25s, color .25s;
  aspect-ratio: 1;
  background: var(--tile);
  display: grid;
  place-items: center;
  text-align: center;
  text-transform: uppercase;
  font-weight: 500;
  font-size: clamp(12px, 1.56vw, 20px);
  letter-spacing: 0.15em;
  line-height: 1.55;
}

/* Footer */
.site-footer {
  padding-top: clamp(96px, 12vw, 240px);
  padding-bottom: 40px;
  color: var(--gray);
  font-size: 13px;
  text-align: center;
}
.site-footer p { margin: 0; }

:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }

/* ---------- 1280-ish: 3-column project grid, full-width divider ---------- */
@media (max-width: 1440px) {
  .project-grid { grid-template-columns: repeat(3, 1fr); }
  .consult { max-width: none; padding-inline: 0; }
  .consult::before, .consult::after { flex: 1; }
  .hero-sub { max-width: 14em; }
  .hero-list { padding-left: 0; }
  .hero-inner { grid-template-columns: 1fr 1.25fr; padding-right: clamp(28px, 3.5vw, 64px); }
  .hero-list { column-gap: clamp(24px, 3vw, 56px); }
}

@media (min-width: 901px) { .hero-list li { white-space: nowrap; } }

/* ---------- Tablet ---------- */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 32px; }
  .hero-sub { max-width: none; }
  .hero-list { padding-left: 0; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- Mobile ---------- */
@media (max-width: 640px) {
  .site-header { position: relative; }
  .nav-toggle {
    display: grid;
    gap: 6px;
    align-content: center;
    width: 44px; height: 44px;
    padding: 10px;
    justify-items: center;
    margin-right: -8px;
    border: 0;
    background: none;
    cursor: pointer;
  }
  .nav-toggle .bar { display: block; width: 24px; height: 2px; background: var(--red); }
  .nav-toggle .bar { transition: transform .3s ease, opacity .2s ease; transform-origin: center; }
  .nav-toggle[aria-expanded="true"] .bar:nth-child(2) { transform: translateY(8px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .bar:nth-child(3) { opacity: 0; transform: scaleX(0); }
  .nav-toggle[aria-expanded="true"] .bar:nth-child(4) { transform: translateY(-8px) rotate(-45deg); }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    z-index: 10;
    flex-direction: column;
    gap: 0;
    padding: 8px var(--gutter) 16px;
    background: var(--white);
    box-shadow: 0 12px 24px rgba(0,0,0,.08);
    display: none;
  }
  .site-nav.is-open { display: flex; }
  .site-nav .nav-link { padding: 12px 0; font-size: 14px; }

  .project-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .service-grid { gap: 16px; }
}


.service-grid a:hover, .service-grid a:focus-visible { background: var(--charcoal); color: var(--white); }

/* featured slider no longer has a title above it */
.consult + .featured { padding-top: clamp(56px, calc(10vw - 30px), 160px); }

/* =========================================================
   Inner pages (services, etc.)
   ========================================================= */
.site-nav .nav-link[aria-current="page"] { font-weight: 700; }

/* Page hero with background image */
.page-hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 48px;
  align-items: start;
  min-height: clamp(156px, 20.7vw, 265px);  /* 40% shorter than the original 260-442px */
  padding: clamp(28px, 3.2vw, 56px) clamp(28px, 5vw, 96px);
  align-content: center;
  color: var(--white);
  background-color: #0b2035;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}
.page-hero h1 {
  margin: 0;
  font-weight: 700;
  font-size: clamp(36px, 4.76vw, 90px);  /* -15% */
  line-height: 1.05;
  letter-spacing: -0.055em;
  text-shadow: 0 2px 24px rgba(0,0,0,.25);
}
.page-hero .hero-sub { margin: .45em 0 0; }
.page-hero-detail {
  margin: clamp(0px, .8vw, 16px) 0 0;
  font-weight: 500;
  font-size: clamp(14px, 1.64vw, 21px);
  line-height: 1.55;
  width: 18.5em;
  max-width: 100%;
}

.section-title--left { text-align: left; }

/* Process: left sub-nav + content */
.process { padding-top: clamp(56px, 7.5vw, 144px); }
.process .section-title { margin-bottom: clamp(28px, 3.8vw, 72px); }
.process-body {
  display: grid;
  grid-template-columns: minmax(0, 33.5%) minmax(0, 735px);
  align-items: start;
}
.process-nav { display: flex; flex-direction: column; align-items: flex-start; gap: clamp(14px, 1.7vw, 32px); padding-left: clamp(0px, 2.9vw, 56px); }
.process-nav button {
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  font: inherit;
  text-align: left;
  text-transform: uppercase;
  font-weight: 500;
  font-size: clamp(13px, 1.56vw, 20px);
  letter-spacing: 0.15em;
  color: #9a9b9e;
  transition: color .2s;
}
.process-nav button:hover { color: var(--ink); }
.process-nav button[aria-selected="true"] { color: var(--red); }
.process-content p {
  margin: 0;
  font-size: clamp(15px, 1.64vw, 21px);
  line-height: 1.95;
  color: #3a3d40;
}
.process-panel.is-active { animation: fadeIn .35s ease; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* Three features */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(28px, 3.6vw, 70px);
  padding-top: clamp(64px, 11.5vw, 220px);
}
.feature h3 {
  margin: 0 0 .7em;
  text-transform: uppercase;
  font-weight: 500;
  font-size: clamp(13px, 1.56vw, 20px);
  letter-spacing: 0.15em;
}
.feature p {
  margin: 0;
  font-size: clamp(15px, 1.64vw, 21px);
  line-height: 1.5;
  color: #8f9094;
}

/* CTA */
.cta { padding-top: clamp(56px, 10vw, 192px); text-align: center; }
.btn-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: min(100%, 1098px);
  min-height: clamp(56px, 4.2vw, 80px);
  padding: 14px 24px;
  background: var(--red);
  color: var(--white);
  text-decoration: none;
  text-transform: uppercase;
  font-weight: 500;
  font-size: clamp(13px, 1.56vw, 20px);
  letter-spacing: 0.15em;
  transition: background-color .2s;
}
.btn-cta:hover, .btn-cta:focus-visible { background: #c90f22; }

.featured--page { padding-top: clamp(64px, 11.7vw, 224px); }


@media (max-width: 900px) {
  .page-hero-inner { grid-template-columns: 1fr; gap: 24px; }
  .page-hero-detail { width: auto; max-width: 30em; }
  .process-body { grid-template-columns: 1fr; gap: 28px; }
  .process-nav {
    flex-direction: row;
    gap: 24px;
    padding: 0 0 12px;
    overflow-x: auto;
    scrollbar-width: none;
    border-bottom: 1px solid var(--rule);
    margin-inline: calc(var(--gutter) * -1);
    padding-inline: var(--gutter);
  }
  .process-nav::-webkit-scrollbar { display: none; }
  .process-nav button { white-space: nowrap; }
  .features { grid-template-columns: 1fr; }
}

/* Keep hero text readable when the layout narrows over the busy photo */
.page-hero-inner > * { position: relative; }
.page-hero-inner::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: transparent; transition: background .3s; }
@media (max-width: 1440px) {
  .page-hero-inner::before { background: linear-gradient(90deg, rgba(6,18,32,.55) 0%, rgba(6,18,32,.25) 45%, rgba(6,18,32,.55) 100%); }
  .page-hero .hero-sub { max-width: none; }
}
@media (max-width: 900px) {
  .page-hero-inner { background-position: 30% center; }
  .page-hero-inner::before { background: rgba(6,18,32,.62); }
}

/* Light hero variant (dark text on a pale photo) */
.page-hero-inner--light { color: var(--charcoal); background-color: #e9eef0; }
.page-hero-inner--light h1 { text-shadow: none; }
@media (max-width: 1440px) {
  .page-hero-inner--light::before { background: linear-gradient(90deg, rgba(255,255,255,.55) 0%, rgba(255,255,255,.2) 45%, rgba(255,255,255,.6) 100%); }
}
@media (max-width: 900px) {
  .page-hero-inner--light::before { background: rgba(255,255,255,.7); }
}

/* Contained "Free Consultation" divider + CTA text block */
.consult--contained { margin-top: clamp(72px, 10vw, 192px); }
@media (max-width: 1440px) {
  .consult--contained { max-width: calc(var(--max) + var(--gutter) * 2); padding-inline: var(--gutter); }
}
.cta-block { text-align: center; padding-top: clamp(40px, 5vw, 95px); }
.cta-block h2 {
  margin: 0;
  text-transform: uppercase;
  font-weight: 500;
  font-size: clamp(13px, 1.56vw, 20px);
  letter-spacing: 0.15em;
  color: #3a3d40;
}
.cta-block p {
  margin: clamp(16px, 1.9vw, 34px) auto 0;
  max-width: 980px;
  font-size: clamp(15px, 1.64vw, 21px);
  line-height: 1.55;
  color: #8f9094;
}

/* Sub-nav fits longer step names at laptop widths */
@media (min-width: 901px) and (max-width: 1440px) {
  .process-nav { padding-left: 0; gap: clamp(14px, 1.4vw, 24px); }
  .process-nav button { font-size: clamp(13px, 1.25vw, 18px); white-space: nowrap; }
  .process-body { grid-template-columns: minmax(0, 34%) minmax(0, 1fr); }
}

/* Service tiles: square link + short description underneath */
.service-grid { align-items: start; }
.service-grid li { display: flex; flex-direction: column; }
.service-desc {
  margin: clamp(12px, 1.1vw, 20px) 0 0;
  font-size: clamp(13px, 1.1vw, 17px);
  line-height: 1.55;
  color: #8f9094;
}
@media (max-width: 640px) { .service-grid { row-gap: 32px; } }

/* =========================================================
   Dropdown menus (Projects, Services)
   ========================================================= */
.nav-item { position: relative; display: flex; align-items: center; }
.submenu-toggle {
  display: grid; place-items: center;
  width: 22px; height: 22px; margin-left: 4px; padding: 0;
  border: 0; background: none; cursor: pointer; color: var(--red);
}
.submenu-toggle svg { width: 10px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; transition: transform .25s; }
.has-menu.is-open .submenu-toggle svg { transform: rotate(180deg); }

.submenu {
  position: absolute;
  top: 100%;
  left: -24px;
  z-index: 20;
  min-width: 240px;
  margin-top: 14px;
  padding: 14px 0;
  background: var(--white);
  box-shadow: 0 18px 40px rgba(29,29,31,.12), 0 0 0 1px rgba(29,29,31,.05);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity .2s ease, transform .2s ease, visibility .2s;
}
/* invisible bridge so the menu stays open while the pointer moves down to it */
.submenu::before { content: ""; position: absolute; left: 0; right: 0; top: -16px; height: 16px; }
.submenu a {
  display: block;
  padding: 9px 24px;
  color: var(--ink);
  text-decoration: none;
  font-size: 15px;
  font-weight: 400;
  white-space: nowrap;
  transition: color .15s, background-color .15s;
}
.submenu a:hover, .submenu a:focus-visible { color: var(--red); background: #f6f6f6; }
.submenu a[aria-current="page"] { color: var(--red); }
.submenu-all a { font-weight: 500; text-transform: uppercase; letter-spacing: .12em; font-size: 13px; color: var(--charcoal); }
.submenu-all { margin-bottom: 6px; padding-bottom: 6px; border-bottom: 1px solid #ededed; }

@media (min-width: 641px) {
  .has-menu.is-open .submenu { opacity: 1; visibility: visible; transform: none; }
  @media (hover: hover) {
    .has-menu:hover .submenu { opacity: 1; visibility: visible; transform: none; }
    .has-menu:hover .submenu-toggle svg { transform: rotate(180deg); }
  }
  /* keep the last dropdown inside the page edge */
  .nav-item:nth-last-child(3) .submenu { left: auto; right: -24px; }
}

/* Mobile: dropdowns become expandable lists inside the menu panel */
@media (max-width: 640px) {
  .site-nav { max-height: calc(100vh - 90px); overflow-y: auto; }
  .nav-item { flex-wrap: wrap; justify-content: space-between; border-bottom: 1px solid #f0f0f0; }
  .nav-item:last-child { border-bottom: 0; }
  .submenu-toggle { width: 44px; height: 44px; margin-right: -12px; }
  .submenu-toggle svg { width: 12px; }
  .submenu {
    position: static;
    flex-basis: 100%;
    min-width: 0;
    margin: 0;
    padding: 0 0 10px;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    display: none;
  }
  .submenu::before { display: none; }
  .has-menu.is-open .submenu { display: block; }
  .submenu a { padding: 9px 0 9px 14px; font-size: 15px; white-space: normal; }
  .submenu-all { border-bottom: 0; margin: 0; padding: 0; }
}

/* =========================================================
   Overview pages (Services, Projects)
   ========================================================= */
.page-hero-inner--plain { background: var(--charcoal); min-height: 0; }
.page-hero-inner--plain::before { display: none; }
.overview { padding-top: clamp(56px, 7.5vw, 144px); }

/* Services overview cards */
.service-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--gap);
}
.service-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: clamp(260px, 22vw, 420px);
  padding: clamp(28px, 3.4vw, 64px);
  background: var(--tile);
  color: var(--ink);
  text-decoration: none;
  transition: background-color .3s, color .3s;
}
.service-num { font-size: clamp(13px, 1.1vw, 16px); font-weight: 500; letter-spacing: .15em; color: var(--red); }
.service-card h2 {
  margin: auto 0 0;
  padding-top: clamp(32px, 4vw, 80px);
  font-weight: 700;
  font-size: clamp(30px, 3.4vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.04em;
}
.service-card p {
  margin: .8em 0 0;
  max-width: 30em;
  font-size: clamp(15px, 1.4vw, 20px);
  line-height: 1.55;
  color: #6f7074;
  transition: color .3s;
}
.service-more {
  margin-top: clamp(20px, 2vw, 36px);
  text-transform: uppercase;
  font-weight: 500;
  font-size: clamp(13px, 1.1vw, 16px);
  letter-spacing: .15em;
  color: var(--red);
  transition: color .3s;
}
.service-card:hover, .service-card:focus-visible { background: var(--charcoal); color: var(--white); }
.service-card:hover p, .service-card:focus-visible p { color: #d2d4d6; }
.service-card:hover .service-more, .service-card:focus-visible .service-more { color: var(--white); }

/* Projects overview: thumbnails with names */
.project-grid--named { row-gap: clamp(32px, 4.4vw, 84px); }
.project-card { display: block; color: var(--ink); text-decoration: none; }
.project-thumb { display: block; overflow: hidden; background: var(--tile); }
.project-thumb img { width: 100%; aspect-ratio: 1; object-fit: cover; transition: transform .5s cubic-bezier(.2,.7,.2,1); }
.project-card:hover .project-thumb img, .project-card:focus-visible .project-thumb img { transform: scale(1.04); }
.project-name {
  display: block;
  margin-top: clamp(12px, 1.2vw, 22px);
  text-transform: uppercase;
  font-weight: 500;
  font-size: clamp(13px, 1.1vw, 17px);
  letter-spacing: .15em;
  transition: color .2s;
}
.project-card:hover .project-name { color: var(--red); }

@media (max-width: 900px) {
  .service-cards { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .project-grid--named { row-gap: 28px; }
  .project-name { font-size: 12px; }
}
.project-grid--named a { background: none; overflow: visible; }
@media (max-width: 640px) {
  .site-nav { align-items: stretch; }
  .submenu-all a { font-size: 12px; }
}
.page-hero-inner--plain h1 { text-shadow: none; }

/* =========================================================
   Image gallery (Branding, Marketing Design)
   ========================================================= */
.gallery-section { padding-top: clamp(40px, 4.5vw, 87px); }
.gallery {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: clamp(8px, 1.1vw, 21px);
}
.gallery a {
  position: relative;
  display: block;
  overflow: hidden;
  border: 1px solid #e4e4e6;
  background: var(--white);
  cursor: zoom-in;
}
.gallery img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  transition: transform .5s cubic-bezier(.2,.7,.2,1);
}
.gallery a::after {
  content: "";
  position: absolute; inset: 0;
  background: rgba(29,29,31,0);
  transition: background-color .3s;
}
.gallery a:hover img, .gallery a:focus-visible img { transform: scale(1.05); }
.gallery a:hover::after, .gallery a:focus-visible::after { background: rgba(29,29,31,.08); }

@media (max-width: 1440px) { .gallery { grid-template-columns: repeat(5, 1fr); } }
@media (max-width: 1100px) { .gallery { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 800px)  { .gallery { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 480px)  { .gallery { grid-template-columns: repeat(2, 1fr); } }

/* Lightbox (full-size viewer) */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  grid-template-rows: auto 1fr auto;
  background: rgba(22, 24, 26, .96);
  color: var(--white);
  opacity: 0;
  visibility: hidden;
  transition: opacity .25s ease, visibility .25s;
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lb-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px clamp(16px, 2.5vw, 40px);
}
.lb-count { font-size: 13px; letter-spacing: .15em; color: #b9bbbe; }
.lb-close, .lb-nav {
  display: grid; place-items: center;
  padding: 0; border: 0; background: none; cursor: pointer; color: var(--white);
  transition: opacity .2s, transform .2s;
}
.lb-close { width: 44px; height: 44px; margin-right: -10px; }
.lb-close svg { width: 22px; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.lb-stage {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 0;
  padding: 0 clamp(56px, 7vw, 120px);
}
.lb-img {
  max-width: 100%;
  max-height: 100%;
  width: auto; height: auto;
  object-fit: contain;
  opacity: 0;
  transform: scale(.985);
  transition: opacity .3s ease, transform .3s ease;
  user-select: none;
}
.lb-img.is-loaded { opacity: 1; transform: none; }
.lb-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: clamp(44px, 5vw, 72px);
  height: 96px;
}
.lb-nav svg { width: clamp(14px, 1.4vw, 22px); fill: none; stroke: currentColor; stroke-width: 3.5; stroke-linecap: round; stroke-linejoin: round; }
.lb-nav:hover svg { transform: scale(1.15); }
.lb-nav svg { transition: transform .2s; }
.lb-prev { left: clamp(4px, 1.5vw, 32px); }
.lb-next { right: clamp(4px, 1.5vw, 32px); }
.lb-caption {
  min-height: 64px;
  padding: 14px clamp(16px, 5vw, 120px) 24px;
  text-align: center;
}
.lb-title {
  margin: 0;
  text-transform: uppercase;
  font-weight: 500;
  font-size: 14px;
  letter-spacing: .15em;
}
.lb-text { margin: 6px auto 0; max-width: 46em; font-size: 15px; line-height: 1.5; color: #c4c6c9; }
.lb-title:empty, .lb-text:empty { display: none; }
.lb-spinner {
  position: absolute; top: 50%; left: 50%;
  width: 34px; height: 34px; margin: -17px 0 0 -17px;
  border: 2px solid rgba(255,255,255,.2); border-top-color: var(--white);
  border-radius: 50%;
  animation: lbspin .8s linear infinite;
}
.lb-stage.is-loaded .lb-spinner { display: none; }
@keyframes lbspin { to { transform: rotate(360deg); } }
html.lb-lock { overflow: hidden; }

@media (max-width: 640px) {
  .lb-stage { padding: 0 8px; }
  .lb-nav { top: auto; bottom: -60px; transform: none; height: 56px; }
  .lb-prev { left: 8px; }
  .lb-next { right: 8px; }
  .lb-caption { padding: 14px 64px 20px; }
}
@media (prefers-reduced-motion: reduce) {
  .lightbox, .lb-img, .gallery img { transition: none; }
}

/* viewer: fit image to the screen so the caption stays visible */
.lightbox { background: rgba(20, 22, 24, .985); height: 100vh; height: 100dvh; }
.lb-img {
  max-width: 100%;
  max-height: calc(100vh - 170px);
  max-height: calc(100dvh - 170px);
}
@media (max-width: 640px) {
  .lb-img { max-height: calc(100dvh - 230px); }
  .lb-stage { padding-bottom: 64px; }
  .lb-nav { bottom: 0; }
}

/* soft white wash behind hero text on busy light photos (gallery pages) */
.page-hero-inner--tint::before {
  background: linear-gradient(90deg, rgba(255,255,255,.62) 0%, rgba(255,255,255,.15) 40%, rgba(255,255,255,.15) 58%, rgba(255,255,255,.72) 78%, rgba(255,255,255,.78) 100%);
}
@media (max-width: 900px) {
  .page-hero-inner--tint::before { background: rgba(255,255,255,.72); }
}
.lightbox { background: #151719; }

/* =========================================================
   Project pages
   ========================================================= */
.page-hero-inner--project { grid-template-columns: 1fr; align-content: center; }
.page-hero-inner--project::before { background: linear-gradient(90deg, rgba(10,14,18,.55) 0%, rgba(10,14,18,.15) 60%, rgba(10,14,18,0) 100%); }

.project-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 1fr);
  gap: clamp(32px, 4.5vw, 88px);
  align-items: start;
  padding-top: clamp(40px, 4.5vw, 87px);
}
.project-media { min-width: 0; }
.pm-item { display: block; overflow: hidden; background: var(--tile); cursor: zoom-in; }
.pm-item img { display: block; width: 100%; height: auto; transition: transform .6s cubic-bezier(.2,.7,.2,1), opacity .3s; }
.pm-item:hover img, .pm-item:focus-visible img { transform: scale(1.025); }
.pm-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: clamp(8px, 1vw, 18px);
  margin-top: clamp(8px, 1vw, 18px);
}

/* full-page screenshots: the tile shows the top of the page, the viewer scrolls the whole page */
.pm-tall { position: relative; aspect-ratio: 4 / 5; }
.pm-lead.pm-tall { aspect-ratio: 4 / 3; }
.pm-tall img { height: 100%; object-fit: cover; object-position: top center; }
.pm-tall::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 22%;
  background: linear-gradient(rgba(255,255,255,0), rgba(255,255,255,.9)); pointer-events: none;
}
.lightbox.is-tall .lb-stage { overflow-y: auto; overscroll-behavior: contain; place-items: start center; padding-top: 4px; padding-bottom: 24px; }
.lightbox.is-tall .lb-img { width: min(100%, 1100px); max-height: none; }
.lightbox.is-tall .lb-nav { position: fixed; top: 50%; }
@media (max-width: 640px) {
  .lightbox.is-tall .lb-nav { top: auto; bottom: 8px; }
  .lightbox.is-tall .lb-stage { padding-bottom: 72px; }
}

/* text column stays in view while the images scroll */
.project-info { position: sticky; top: clamp(24px, 3vw, 48px); }
.pi-label {
  margin: 0 0 14px;
  text-transform: uppercase;
  font-weight: 500;
  font-size: clamp(12px, 1.1vw, 15px);
  letter-spacing: .18em;
  color: var(--red);
}
.project-info h2 {
  margin: 0;
  font-weight: 700;
  font-size: clamp(32px, 3vw, 52px);
  line-height: 1.05;
  letter-spacing: -0.045em;
}
.pi-body p {
  margin: 1.1em 0 0;
  font-size: clamp(15px, 1.15vw, 19px);
  line-height: 1.75;
  color: #3a3d40;
}
.pi-meta { margin: clamp(24px, 2.4vw, 40px) 0 0; padding-top: 18px; border-top: 1px solid var(--rule); }
.pi-meta div { display: grid; grid-template-columns: 7.5em 1fr; gap: 12px; padding: 6px 0; }
.pi-meta dt {
  text-transform: uppercase;
  font-weight: 500;
  font-size: 12px;
  letter-spacing: .15em;
  color: #8f9094;
  padding-top: 3px;
}
.pi-meta dd { margin: 0; font-size: clamp(14px, 1vw, 16px); line-height: 1.6; }
.pi-meta a, .pi-body a { color: var(--ink); text-decoration-color: var(--red); text-underline-offset: 3px; }
.pi-meta a:hover, .pi-body a:hover { color: var(--red); }
.pi-cta.btn-cta { width: 100%; margin-top: clamp(24px, 2.4vw, 40px); min-height: 60px; font-size: clamp(12px, 1vw, 15px); }

/* previous / next projects */
.project-nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--gap);
  padding-top: clamp(72px, 9vw, 170px);
}
.pn {
  position: relative;
  display: flex;
  align-items: center;
  min-height: clamp(130px, 11vw, 210px);
  padding: clamp(20px, 2.5vw, 48px);
  overflow: hidden;
  color: var(--ink);
  text-decoration: none;
  background: var(--tile);
}
.pn-next { justify-content: flex-end; text-align: right; }
.pn-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  transition: transform .8s cubic-bezier(.2,.7,.2,1);
}
.pn::after {
  content: "";
  position: absolute; inset: 0;
  background: rgba(255,255,255,.62);
  transition: background-color .4s;
}
.pn.is-prewashed::after { background: rgba(255,255,255,.12); }
.pn:hover .pn-bg, .pn:focus-visible .pn-bg { transform: scale(1.04); }
.pn:hover::after, .pn:focus-visible::after { background: rgba(255,255,255,.35); }
.pn.is-prewashed:hover::after { background: rgba(255,255,255,.02); }
.pn-text { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 6px; }
.pn-label {
  text-transform: uppercase;
  font-weight: 500;
  font-size: clamp(12px, 1.05vw, 15px);
  letter-spacing: .18em;
  color: var(--red);
}
.pn-prev .pn-label::before { content: "‹  "; }
.pn-next .pn-label::after { content: "  ›"; }
.pn-name { font-weight: 700; font-size: clamp(22px, 2.2vw, 38px); letter-spacing: -0.035em; line-height: 1.1; }
.project-all { margin: clamp(20px, 2vw, 36px) auto 0; text-align: center; }
.project-all .text-link { margin-top: 0; }

@media (max-width: 1100px) {
  .project-body { grid-template-columns: 1fr; }
  .project-info { position: static; order: -1; max-width: 46em; }
}
@media (max-width: 640px) {
  .project-nav { grid-template-columns: 1fr; gap: 12px; }
  .pn { min-height: 110px; }
  .pi-meta div { grid-template-columns: 1fr; gap: 2px; }
}
/* odd number of grid images: last one spans the full width as a closing image */
.pm-grid > .pm-item:last-child:nth-child(odd) { grid-column: 1 / -1; }
.hero-sub .nw { white-space: nowrap; }

/* =========================================================
   About page
   ========================================================= */
@font-face { font-family: "Poppins"; font-weight: 600; font-style: normal; font-display: swap; src: url("../fonts/Poppins-SemiBold.woff") format("woff"); }

.page-hero-inner--about { display: block; min-height: clamp(260px, 34.5vw, 442px); padding: clamp(40px, 4.4vw, 84px) clamp(28px, 5vw, 96px) clamp(48px, 5vw, 96px); }  /* About keeps the original tall header */
.page-hero-inner--about::before { background: linear-gradient(90deg, rgba(20,26,32,.55) 0%, rgba(20,26,32,.35) 100%); }
.page-hero-inner--about h1 {
  margin: 0;
  font-weight: 700;
  font-size: clamp(34px, 4.76vw, 90px);  /* -15% */
  line-height: 1.05;
  letter-spacing: -0.055em;
}
.about-hero-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(24px, 5vw, 96px);
  align-items: start;
  margin-top: clamp(28px, 3.4vw, 64px);
  font-weight: 500;
  font-size: clamp(14px, 1.64vw, 21px);
  line-height: 1.55;
}
.about-hero-row p { margin: 0; max-width: 24em; }
.about-hero-list {
  display: grid;
  grid-template-rows: repeat(2, auto);
  grid-auto-flow: column;
  column-gap: clamp(32px, 6vw, 132px);
  row-gap: .35em;
}
.about-hero-list a { color: inherit; text-decoration: none; background: linear-gradient(currentColor,currentColor) 0 100% / 0 1px no-repeat; transition: background-size .3s ease; padding-bottom: 2px; }
.about-hero-list a:hover, .about-hero-list a:focus-visible { background-size: 100% 1px; }

.about-body {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(32px, 4.9vw, 80px);
  align-items: start;
  padding-top: clamp(48px, 8.6vw, 165px);
}
.about-photo { margin: 0; position: sticky; top: clamp(24px, 3vw, 48px); }
.about-photo img { width: 100%; height: auto; }
.about-text { color: #8f9094; font-size: clamp(15px, 1.7vw, 22px); line-height: 1.86; }
.about-text p { margin: 0; }
.about-lead { margin-top: -.45em !important; }
.about-text h2 {
  margin: 1.5em 0 .7em;
  font-weight: 300;
  font-size: clamp(22px, 1.75vw, 33px);
  line-height: 1.3;
  color: #3a3d40;
}
.about-text h3 {
  margin: 1.6em 0 0;
  font-weight: 600;
  font-size: inherit;
  line-height: inherit;
  color: #8f9094;
}
.about-text h2 + h3 { margin-top: 0; }

@media (max-width: 900px) {
  .about-hero-row { grid-template-columns: 1fr; }
  .about-body { grid-template-columns: 1fr; }
  .about-photo { position: static; }
}

/* optional looping screen recording above a project's images */
.project-body--video { row-gap: clamp(8px, 1vw, 18px); }
.project-body--video .pm-video { grid-column: 1; grid-row: 1; }
.project-body--video .project-media { grid-column: 1; grid-row: 2; }
.project-body--video .project-info { grid-column: 2; grid-row: 1 / span 2; }
.pm-video { margin: 0; min-width: 0; }
.pm-video video { display: block; width: 100%; height: auto; background: var(--tile); }
.pm-video figcaption { margin-top: 10px; font-size: .85rem; line-height: 1.5; color: var(--charcoal); }
@media (max-width: 1100px) {
  .project-body--video .pm-video, .project-body--video .project-media, .project-body--video .project-info { grid-column: auto; grid-row: auto; }
  .project-body--video .project-info { margin-bottom: clamp(14px, 3.5vw, 70px); }
}

/* =========================================================
   Homepage call to action
   ========================================================= */
.hero-cta {
  display: inline-block;
  margin-top: clamp(22px, 2.4vw, 40px);
  padding: clamp(12px, 1vw, 16px) clamp(22px, 2vw, 32px);
  background: var(--red);
  color: var(--white);
  text-decoration: none;
  text-transform: uppercase;
  font-weight: 500;
  font-size: clamp(12px, 1.05vw, 15px);
  letter-spacing: .15em;
  transition: background-color .2s;
}
.hero-cta:hover, .hero-cta:focus-visible { background: #c90f22; }

/* =========================================================
   Service tiles with images
   ========================================================= */
.service-grid a.service-tile { position: relative; overflow: hidden; background: var(--charcoal); color: var(--white); isolation: isolate; }
.service-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.service-tile::after { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(29,29,31,.5); transition: background-color .3s; }
.service-tile span { padding: 0 12px; text-shadow: 0 1px 12px rgba(0,0,0,.35); }
.service-grid a.service-tile:hover, .service-grid a.service-tile:focus-visible { background: var(--charcoal); }
.service-tile:hover img, .service-tile:focus-visible img { transform: scale(1.05); }
.service-tile:hover::after, .service-tile:focus-visible::after { background: rgba(236,24,46,.78); }

/* =========================================================
   Footer
   ========================================================= */
.site-footer a { color: inherit; text-decoration: none; transition: color .2s; }
.site-footer a:hover, .site-footer a:focus-visible { color: var(--red); }
.footer-contact { font-size: clamp(15px, 1.3vw, 18px); color: var(--ink); margin-bottom: 14px !important; }
.footer-links { list-style: none; margin: 0 0 18px; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 22px; text-transform: uppercase; letter-spacing: .12em; font-size: 12px; color: var(--charcoal); }

/* =========================================================
   Contact page
   ========================================================= */
.contact-body {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(260px, 1fr);
  gap: clamp(40px, 6vw, 120px);
  padding-top: clamp(40px, 4.5vw, 87px);
  align-items: start;
}
.contact-form { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(18px, 1.6vw, 26px) clamp(16px, 1.6vw, 26px); }
.contact-form .full { grid-column: 1 / -1; }
.field label, .field legend { display: block; margin: 0 0 8px; text-transform: uppercase; letter-spacing: .12em; font-size: 12px; font-weight: 500; color: var(--charcoal); }
.field .opt { text-transform: none; letter-spacing: 0; color: var(--gray); font-weight: 400; }
.field input, .field select, .field textarea {
  width: 100%; box-sizing: border-box; padding: 13px 14px;
  border: 1px solid var(--rule); border-radius: 0; background: var(--white);
  font: inherit; font-size: 16px; color: var(--ink);
}
.field textarea { min-height: 180px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--red); outline-offset: 0; border-color: transparent; }
.contact-form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.contact-form button {
  justify-self: start; border: 0; cursor: pointer;
  padding: clamp(14px, 1.1vw, 18px) clamp(28px, 2.4vw, 40px);
  background: var(--red); color: var(--white); font: inherit; font-weight: 500;
  text-transform: uppercase; letter-spacing: .15em; font-size: clamp(13px, 1.1vw, 16px);
  transition: background-color .2s;
}
.contact-form button:hover, .contact-form button:focus-visible { background: #c90f22; }
.contact-form button[disabled] { opacity: .6; cursor: wait; }
.form-status { margin: 0; font-size: 15px; line-height: 1.6; }
.form-status.is-error { color: #b0101f; }
.form-status.is-ok { color: var(--ink); font-weight: 500; }
.contact-aside h2 { margin: 0 0 6px; text-transform: uppercase; letter-spacing: .15em; font-size: 13px; font-weight: 500; color: var(--red); }
.contact-aside p { margin: 0 0 clamp(24px, 2.4vw, 40px); font-size: clamp(15px, 1.25vw, 18px); line-height: 1.7; color: var(--charcoal); }
.contact-aside a { color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--red); }
.contact-aside a:hover { color: var(--red); }
@media (max-width: 900px) {
  .contact-body { grid-template-columns: 1fr; }
  .contact-form { grid-template-columns: 1fr; }
}

/* =========================================================
   Text pages (privacy policy, accessibility)
   ========================================================= */
.legal { max-width: 46em; padding-top: clamp(40px, 4.5vw, 87px); color: var(--charcoal); font-size: clamp(15px, 1.2vw, 18px); line-height: 1.75; }
.legal h2 { margin: 2.2em 0 .5em; color: var(--ink); font-size: clamp(18px, 1.6vw, 24px); font-weight: 500; line-height: 1.3; }
.legal h2:first-of-type { margin-top: 0; }
.legal p, .legal ul { margin: 0 0 1em; }
.legal ul { padding-left: 1.2em; }
.legal li { margin-bottom: .4em; }
.legal a { color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--red); }
.legal a:hover { color: var(--red); }
.legal .updated { color: var(--gray); font-size: 14px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; scroll-behavior: auto !important; }
}
.field [aria-invalid="true"] { border-color: #b0101f; }
/* four menu items: tighten the bar on small tablets so it clears the logo */
@media (min-width: 641px) and (max-width: 860px) {
  .site-nav { gap: clamp(14px, 2.6vw, 24px); padding-right: 0; }
  .site-nav .nav-link { font-size: 12px; letter-spacing: .1em; }
  .logo img { width: clamp(150px, 22vw, 190px); height: auto; }
}

/* =========================================================
   Free Consultation: red button that opens into a short form
   ========================================================= */
.consult-box {
  flex: none;
  position: relative;
  width: min(760px, calc(100% - 2 * var(--gutter) - 40px));
  color: var(--white);
}
.consult-head { position: relative; background: var(--red); transition: background-color .25s ease; }
.consult-box:not(.is-open) .consult-head:hover, .consult-box:not(.is-open) .consult-head:focus-within { background: #c90f22; }
.consult-trigger {
  display: block;
  padding: var(--c-pad) 56px;
  color: inherit;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  font-weight: 500;
  font-size: var(--c-fs);
  line-height: 1.5;
  letter-spacing: .15em;
}
.consult-box.is-open .consult-trigger { cursor: default; }
.consult-close {
  position: absolute; top: 50%; right: 6px; transform: translateY(-50%);
  display: grid; place-items: center; width: 44px; height: 44px;
  border: 0; background: none; color: inherit; cursor: pointer;
  opacity: 0; transition: opacity .3s ease;
}
.consult-box.is-open .consult-close { opacity: 1; }
.consult-close svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.consult-close:hover { opacity: .7; }
.consult-panel {
  display: grid; grid-template-rows: 0fr;
  background: var(--charcoal);
  transition: grid-template-rows .6s cubic-bezier(.65,0,.35,1);
}
.consult-panel-inner {
  min-height: 0; overflow: hidden;
  opacity: 0; transform: translateY(-8px);
  transition: opacity .3s ease, transform .4s ease;
}
.consult-box.is-open .consult-panel { grid-template-rows: 1fr; }
.consult-box.is-open .consult-panel-inner { opacity: 1; transform: none; transition: opacity .45s ease .2s, transform .55s cubic-bezier(.2,.7,.2,1) .15s; }
.consult-intro { margin: 0; padding: clamp(22px, 2.2vw, 32px) clamp(22px, 2.6vw, 44px) 0; color: #d6d7d9; font-size: clamp(14px, 1.15vw, 16px); line-height: 1.6; }
.consult-form {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
  padding: clamp(18px, 1.8vw, 26px) clamp(22px, 2.6vw, 44px) clamp(24px, 2.6vw, 40px);
}
.consult-form .full { grid-column: 1 / -1; }
.consult-form .field label { color: #c9cacd; }
.consult-form .field input, .consult-form .field textarea { border-color: transparent; }
.consult-form .field textarea { min-height: 110px; }
.consult-form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.consult-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; }
.consult-actions button {
  border: 0; cursor: pointer; padding: 13px 26px; background: var(--red); color: var(--white);
  font: inherit; font-weight: 500; font-size: 14px; text-transform: uppercase; letter-spacing: .15em; transition: background-color .2s;
}
.consult-actions button:hover, .consult-actions button:focus-visible { background: #c90f22; }
.consult-actions button[disabled] { opacity: .6; cursor: wait; }
.consult-actions a { color: #d6d7d9; font-size: 14px; text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.35); }
.consult-actions a:hover { color: var(--white); border-color: var(--white); }
.consult-form .form-status { color: var(--white); font-size: 14px; }
.consult-form .form-status:empty { display: none; }
.consult-form .form-status.is-error { color: #ffb3bb; }
@media (max-width: 640px) { .consult-form { grid-template-columns: 1fr; } }
.consult-box:not(.is-open) .consult-close { visibility: hidden; transition: opacity .2s ease, visibility 0s .2s; }

/* keep the divider lines level with the red bar while the box opens below it */
.consult { --c-pad: clamp(13px, 1.1vw, 18px); --c-fs: clamp(13px, 1.25vw, 17px); align-items: flex-start; }
.consult::before, .consult::after { margin-top: calc(var(--c-pad) + var(--c-fs) * .75); }

/* Process section on wide screens: centre the title, steps and text as one block */
@media (min-width: 1441px) {
  .process .section-title, .process-body { max-width: 1280px; margin-inline: auto; }
  .process-body { grid-template-columns: minmax(0, 36%) minmax(0, 1fr); }
  .process-nav { padding-left: 0; }
}

/* gallery under the process tabs on service pages gets more breathing room */
.gallery-section--service { padding-top: clamp(64px, 8vw, 150px); }

/* homepage hero: smaller studio details beside the headline */
.hero-detail p { font-size: clamp(13px, 1.3vw, 17px); margin-bottom: clamp(16px, 1.8vw, 32px); }
.hero-list { font-size: clamp(13px, 1.3vw, 17px); }
.hero h1 .nowrap { white-space: nowrap; }
@media (min-width: 901px) and (max-width: 1440px) {
  .hero-inner { grid-template-columns: 1.35fr 1fr; }
  .hero-sub { max-width: 16em; }
}
@media (max-width: 420px) { .hero h1 { font-size: clamp(34px, 11vw, 48px); } }

/* =========================================================
   Homepage hero: subtle texture + service rows
   ========================================================= */
.hero-inner { position: relative; isolation: isolate; overflow: hidden; align-items: center; }
.hero-inner::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(120% 90% at 0% 0%, rgba(255,255,255,.07), rgba(255,255,255,0) 60%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: .5; mix-blend-mode: soft-light;
}
.hero-services { min-width: 0; }
.hs-label { margin: 0 0 clamp(10px, 1vw, 16px); text-transform: uppercase; letter-spacing: .15em; font-size: 12px; font-weight: 500; color: #b9babd; }
.hero-services ol { list-style: none; margin: 0; padding: 0; border-bottom: 1px solid rgba(255,255,255,.16); }
.hero-services li { border-top: 1px solid rgba(255,255,255,.16); }
.hero-services a {
  display: grid; grid-template-columns: 2.6em minmax(0, 1fr) auto; align-items: center; gap: 0 clamp(10px, 1vw, 18px);
  padding: clamp(14px, 1.4vw, 22px) 6px clamp(14px, 1.4vw, 22px) 0;
  color: var(--white); text-decoration: none;
  transition: background-color .25s ease, padding-left .3s cubic-bezier(.2,.7,.2,1);
}
.hs-num { color: var(--red); font-weight: 500; font-size: clamp(12px, 1vw, 14px); letter-spacing: .1em; }
.hs-text { display: flex; flex-direction: column; gap: 2px; }
.hs-name { font-weight: 500; font-size: clamp(18px, 1.75vw, 26px); line-height: 1.25; letter-spacing: -.01em; }
.hs-desc { color: #c4c5c8; font-size: clamp(13px, 1.05vw, 15px); line-height: 1.5; }
.hs-arrow { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.6; opacity: .55; transition: transform .3s cubic-bezier(.2,.7,.2,1), opacity .25s, color .25s; }
.hero-services a:hover, .hero-services a:focus-visible { background: rgba(255,255,255,.05); padding-left: 10px; }
.hero-services a:hover .hs-arrow, .hero-services a:focus-visible .hs-arrow { transform: translateX(4px); opacity: 1; color: var(--red); }

/* Intro paragraph under the hero */
.intro { padding-top: clamp(56px, 7vw, 128px); }
.intro p {
  max-width: 44em; margin: 0 auto; text-align: center;
  font-size: clamp(16px, 1.45vw, 21px); line-height: 1.8; color: #3a3d40;
}
.intro a { color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--red); }
.intro a:hover { color: var(--red); }
.intro + .section { padding-top: clamp(64px, 8vw, 150px); }
.hs-num { color: #ff6b78; }
@media (max-width: 640px) { .intro p { text-align: left; } }

/* Skip link: hidden until a keyboard user tabs to it */
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 1000; padding: 10px 16px; background: var(--ink); color: var(--white); text-decoration: none; font-size: 14px; transition: top .2s; }
.skip-link:focus { top: 12px; }
