/* ==========================================================================
   IZIBULO INVESTMENTS — Design system
   --------------------------------------------------------------------------
   Slate & white · editorial · trade & distribution.
   A single stylesheet shared by all four pages.
   Brand: #2b323a (Izibulo slate) — applied as --black / --brand.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Tokens
   -------------------------------------------------------------------------- */
:root {
  --black: #232B32;
  --brand: #2b323a;
  --brand-deep: #1a2025;
  --accent: #F2A413; /* Izibulo orange — use sparingly */
  --white: #ffffff;
  --paper: #f4f4f2; /* off-white — used very sparingly */

  --ink-soft: rgba(0, 0, 0, 0.62);   /* secondary text */
  --ink-faint: rgba(0, 0, 0, 0.38);  /* tertiary text / big outlined numbers */

  --border: rgba(0, 0, 0, 0.16);     /* hairline dividers */
  --border-strong: rgba(0, 0, 0, 0.45);

  --dark-border: rgba(255, 255, 255, 0.16);
  --dark-soft: rgba(255, 255, 255, 0.66);

  --font-sans: "Inter", "Helvetica Neue", Helvetica, Arial, system-ui, sans-serif;

  --max-width: 1440px;
  --gutter: clamp(20px, 4vw, 56px);
  --header-h: 76px;

  --ease-out: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-io: cubic-bezier(0.65, 0, 0.35, 1);

  --dur-fast: 0.35s;
  --dur-med: 0.6s;
  --dur-slow: 1.1s;
}

/* --------------------------------------------------------------------------
   2. Reset & base
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--black);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
  text-rendering: optimizeLegibility;
}

img,
svg,
video {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

ul,
ol {
  list-style: none;
}

a {
  color: inherit;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

input,
select,
textarea {
  font: inherit;
}

::selection {
  background: var(--black);
  color: var(--white);
}

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

/* Thin monochrome scrollbar */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--white);
}
::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.55);
  border: 3px solid var(--white);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--black);
}

/* --------------------------------------------------------------------------
   3. Layout & utilities
   -------------------------------------------------------------------------- */
.container {
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section {
  padding-block: clamp(84px, 12vw, 168px);
  border-bottom: 1px solid var(--border);
}

/* Small uppercase label with leading hairline */
.label {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.label::before {
  content: "";
  width: 32px;
  height: 1px;
  background: currentColor;
  flex: none;
}

.section-head {
  margin-bottom: clamp(48px, 8vw, 96px);
}

.section-label {
  margin-bottom: clamp(20px, 3vw, 36px);
}

.section-title {
  max-width: 18ch;
  font-size: clamp(2.1rem, 5.8vw, 4.9rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.04;
  text-wrap: balance;
}

.section-title .line {
  display: block;
}

.lead {
  max-width: 52ch;
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
  line-height: 1.7;
  color: var(--ink-soft);
}

.muted {
  color: var(--ink-soft);
}

/* --------------------------------------------------------------------------
   4. Buttons & links
   -------------------------------------------------------------------------- */
.icon-arrow {
  width: 16px;
  height: 16px;
  flex: none;
  transition: transform var(--dur-fast) var(--ease-out);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 56px;
  padding: 18px 34px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid var(--black);
  border-radius: 0;
  background: var(--black);
  color: var(--white);
  transition: background var(--dur-fast) var(--ease-out),
              color var(--dur-fast) var(--ease-out),
              border-color var(--dur-fast) var(--ease-out);
}

.btn:hover,
.btn:focus-visible {
  background: var(--white);
  color: var(--black);
}

.btn:hover .icon-arrow,
.btn:focus-visible .icon-arrow {
  transform: translateX(5px);
}

.btn-light {
  background: var(--white);
  color: var(--black);
  border-color: rgba(255, 255, 255, 0.6);
}

.btn-light:hover,
.btn-light:focus-visible {
  background: var(--black);
  color: var(--white);
  border-color: var(--black);
}

/* Text link with expanding underline + moving arrow */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 6px 0;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--black);
  position: relative;
}

.link-arrow::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--dur-med) var(--ease-out);
}

.link-arrow:hover::after,
.link-arrow:focus-visible::after {
  transform: scaleX(1);
}

.link-arrow:hover .icon-arrow,
.link-arrow:focus-visible .icon-arrow {
  transform: translateX(6px);
}

/* --------------------------------------------------------------------------
   5. Skip link
   -------------------------------------------------------------------------- */
.skip-link {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
  padding: 12px 20px;
  background: var(--black);
  color: var(--white);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  transform: translateY(-120%);
  transition: transform 0.2s var(--ease-out);
}

.skip-link:focus-visible {
  transform: none;
}

/* --------------------------------------------------------------------------
   6. Header & desktop navigation
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 255, 255, 0.86);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--dur-fast) var(--ease-out),
              box-shadow var(--dur-fast) var(--ease-out);
}

.site-header.is-scrolled {
  border-bottom-color: var(--border);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.04);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
}

.brand {
  display: inline-flex;
  flex-direction: column;
  line-height: 1.05;
  text-decoration: none;
  color: var(--black);
}

.brand-name {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.22em;
}

.brand-sub {
  margin-top: 4px;
  font-size: 8px;
  font-weight: 500;
  letter-spacing: 0.46em;
  color: var(--ink-soft);
}

.site-nav .nav-list {
  display: flex;
  align-items: center;
  gap: clamp(22px, 3vw, 46px);
}

.nav-link {
  position: relative;
  display: inline-block;
  padding: 8px 0;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--black);
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 2px;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--dur-med) var(--ease-out);
}

.nav-link:hover::after,
.nav-link:focus-visible::after,
.nav-link[aria-current="page"]::after {
  transform: scaleX(1);
}

/* --------------------------------------------------------------------------
   7. Mobile menu
   -------------------------------------------------------------------------- */
.nav-toggle {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 7px;
  width: 44px;
  height: 44px;
  z-index: 70;
  position: relative;
}

.nav-toggle-bar {
  display: block;
  width: 26px;
  height: 1px;
  background: var(--black);
  transition: transform var(--dur-fast) var(--ease-out),
              opacity var(--dur-fast) var(--ease-out),
              background var(--dur-fast) var(--ease-out);
}

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 65;
  background: var(--black);
  color: var(--white);
  display: flex;
  flex-direction: column;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.45s var(--ease-out), visibility 0s linear 0.45s;
}

.mobile-menu.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition: opacity 0.45s var(--ease-out);
}

.mobile-menu-inner {
  width: 100%;
}

.mobile-nav-list {
  border-top: 1px solid var(--dark-border);
}

.mobile-nav-link {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: clamp(18px, 3vh, 28px) 0;
  font-size: clamp(2rem, 9vw, 3.4rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1;
  color: var(--white);
  text-decoration: none;
  border-bottom: 1px solid var(--dark-border);
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.5s var(--ease-out) calc(120ms + var(--i, 0) * 70ms),
              transform 0.5s var(--ease-out) calc(120ms + var(--i, 0) * 70ms);
}

.mobile-nav-link .icon-arrow {
  width: 22px;
  height: 22px;
  opacity: 0.45;
}

.mobile-menu.is-open .mobile-nav-link {
  opacity: 1;
  transform: none;
}

.mobile-nav-link[aria-current="page"] {
  color: rgba(255, 255, 255, 0.45);
}

.mobile-menu-foot {
  margin-top: clamp(32px, 6vh, 56px);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 24px;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--dark-soft);
  opacity: 0;
  transition: opacity 0.6s var(--ease-out) 0.4s;
}

.mobile-menu.is-open .mobile-menu-foot {
  opacity: 1;
}

.mobile-menu-foot a {
  color: inherit;
  text-decoration: none;
}

.mobile-menu-foot a:hover {
  color: var(--white);
  text-decoration: underline;
  text-underline-offset: 4px;
}

body.no-scroll {
  overflow: hidden;
}

/* --------------------------------------------------------------------------
   8. Hero — home
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  background: var(--black);
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  will-change: transform;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.12);
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.82) 0%,
    rgba(0, 0, 0, 0.34) 52%,
    rgba(0, 0, 0, 0.46) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-bottom: clamp(72px, 11vh, 132px);
  color: var(--white);
}

.hero-label {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  margin-bottom: clamp(24px, 4vh, 40px);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.82);
  opacity: 0;
  animation: rise 0.9s var(--ease-out) 0.15s forwards;
}

.hero-label::before {
  content: "";
  width: 36px;
  height: 1px;
  background: currentColor;
}

.hero-title {
  font-size: clamp(3rem, 9.6vw, 8.75rem);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 0.98;
  text-wrap: balance;
}

.hero-title .line {
  display: block;
  opacity: 0;
  transform: translateY(34px);
  animation: rise 1s var(--ease-out) forwards;
}

.hero-title .line:nth-child(1) { animation-delay: 0.25s; }
.hero-title .line:nth-child(2) { animation-delay: 0.34s; }
.hero-title .line:nth-child(3) { animation-delay: 0.43s; }

.hero-sub {
  max-width: 44ch;
  margin-top: clamp(20px, 3.4vh, 32px);
  font-size: clamp(1rem, 1.35vw, 1.18rem);
  color: rgba(255, 255, 255, 0.78);
  opacity: 0;
  animation: rise 0.9s var(--ease-out) 0.55s forwards;
}

.hero-actions {
  margin-top: clamp(32px, 5.5vh, 52px);
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  opacity: 0;
  animation: rise 0.9s var(--ease-out) 0.68s forwards;
}

.hero-scroll {
  position: absolute;
  right: var(--gutter);
  bottom: 34px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 10px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
  writing-mode: vertical-rl;
}

.hero-scroll::after {
  content: "";
  width: 1px;
  height: 52px;
  background: rgba(255, 255, 255, 0.45);
}

@keyframes rise {
  to {
    opacity: 1;
    transform: none;
  }
}

/* --------------------------------------------------------------------------
   9. Inner page hero
   -------------------------------------------------------------------------- */
.page-hero {
  padding: clamp(96px, 15vh, 170px) 0 clamp(60px, 9vh, 110px);
  border-bottom: 1px solid var(--border);
}

.page-hero .label {
  margin-bottom: clamp(24px, 4vw, 44px);
}

.page-title {
  max-width: 16ch;
  font-size: clamp(3rem, 8.6vw, 7.6rem);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 0.99;
  text-wrap: balance;
}

.page-title .line {
  display: block;
}

.page-hero .lead {
  margin-top: clamp(28px, 5vw, 56px);
}

.page-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 40px;
  margin-top: clamp(36px, 6vw, 64px);
  padding-top: 24px;
  border-top: 1px solid var(--border);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

/* --------------------------------------------------------------------------
   10. Home — introduction
   -------------------------------------------------------------------------- */
.intro-text {
  max-width: 56ch;
  margin-bottom: clamp(48px, 8vw, 88px);
  font-size: clamp(1.05rem, 1.4vw, 1.22rem);
  line-height: 1.7;
  color: var(--ink-soft);
}

.intro-media,
.media-band {
  position: relative;
  overflow: hidden;
  background: var(--paper);
}

.intro-media {
  aspect-ratio: 16 / 9;
}

.intro-media img,
.media-band img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media-caption {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-top: 14px;
  margin-top: 16px;
  border-top: 1px solid var(--border);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

/* --------------------------------------------------------------------------
   11. Home — services preview (numbered rows)
   -------------------------------------------------------------------------- */
.service-list {
  border-top: 1px solid var(--border);
}

.service-row {
  position: relative;
  display: grid;
  grid-template-columns: 88px minmax(0, 1.05fr) minmax(0, 1fr) 48px;
  gap: var(--gutter);
  align-items: center;
  padding: clamp(26px, 3.4vw, 42px) 0;
  border-bottom: 1px solid var(--border);
  text-decoration: none;
  color: var(--black);
  overflow: hidden;
}

.service-row::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--paper);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.45s var(--ease-out);
}

.service-row:hover::before {
  transform: scaleY(1);
}

.service-row > * {
  position: relative;
  z-index: 1;
}

.service-num {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: var(--ink-faint);
  transition: color var(--dur-fast) var(--ease-out);
}

.service-name {
  font-size: clamp(1.4rem, 2.8vw, 2.35rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.12;
  transition: transform 0.45s var(--ease-out);
}

.service-desc {
  max-width: 44ch;
  font-size: 15px;
  color: var(--ink-soft);
}

.service-arrow {
  justify-self: end;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border-strong);
  transition: background var(--dur-fast) var(--ease-out),
              color var(--dur-fast) var(--ease-out),
              border-color var(--dur-fast) var(--ease-out),
              transform 0.45s var(--ease-out);
}

.service-row:hover .service-num {
  color: var(--black);
}

.service-row:hover .service-name {
  transform: translateX(10px);
}

.service-row:hover .service-arrow {
  background: var(--black);
  border-color: var(--black);
  color: var(--white);
  transform: translateX(6px);
}

/* Thumbnail that clips in on hover (desktop only) */
.service-thumb {
  display: none;
}

.service-more {
  display: flex;
  justify-content: center;
  padding-top: clamp(40px, 6vw, 64px);
}

/* --------------------------------------------------------------------------
   12. Home — featured work (asymmetric grid)
   -------------------------------------------------------------------------- */
.work-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--gutter);
}

.work-item {
  grid-column: 1 / -1;
}

.work-item.a { grid-column: 1 / span 8; }
.work-item.b { grid-column: 9 / span 4; }
.work-item.c { grid-column: 1 / span 4; }
.work-item.d { grid-column: 5 / span 8; }

.work-media {
  position: relative;
  display: block;
  overflow: hidden;
  background: var(--paper);
}

.work-item.a .work-media { aspect-ratio: 16 / 10; }
.work-item.b .work-media { aspect-ratio: 3 / 4; }
.work-item.c .work-media { aspect-ratio: 3 / 4; }
.work-item.d .work-media { aspect-ratio: 16 / 9; }

.work-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s var(--ease-out);
}

.work-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.14);
  opacity: 0;
  transition: opacity 0.5s var(--ease-out);
}

.work-item:hover .work-media::after {
  opacity: 1;
}

.work-item:hover .work-media img {
  transform: scale(1.03);
}

.work-caption {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding-top: 14px;
  margin-top: 16px;
  border-top: 1px solid var(--border);
}

.work-title {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.work-sub {
  font-size: 13px;
  color: var(--ink-soft);
  text-align: right;
}

/* --------------------------------------------------------------------------
   13. CTA band
   -------------------------------------------------------------------------- */
.cta-band {
  background: var(--black);
  color: var(--white);
  padding-block: clamp(96px, 16vw, 200px);
  text-align: center;
}

.cta-band .label {
  color: rgba(255, 255, 255, 0.62);
  justify-content: center;
}

.cta-title {
  margin-top: clamp(20px, 3vw, 36px);
  font-size: clamp(2.4rem, 7.8vw, 6.6rem);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.02;
  text-wrap: balance;
}

.cta-title .line {
  display: block;
}

.cta-band .lead {
  margin-top: clamp(20px, 3vw, 32px);
  margin-inline: auto;
  color: rgba(255, 255, 255, 0.66);
  text-align: center;
}

.cta-band .btn {
  margin-top: clamp(36px, 6vw, 64px);
}

/* --------------------------------------------------------------------------
   14. About — story grid
   -------------------------------------------------------------------------- */
.story-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--gutter);
  align-items: start;
}

.story-left {
  grid-column: 1 / span 5;
}

.story-right {
  grid-column: 7 / span 6;
}

.story-right > p + p {
  margin-top: 1.3em;
}

/* --------------------------------------------------------------------------
   15. About — principles
   -------------------------------------------------------------------------- */
.principles {
  border-top: 1px solid var(--border);
}

.principle {
  display: grid;
  grid-template-columns: 130px minmax(0, 1fr) minmax(0, 1.4fr);
  gap: var(--gutter);
  align-items: start;
  padding-block: clamp(34px, 5vw, 58px);
  border-bottom: 1px solid var(--border);
}

.principle-num {
  font-size: clamp(2.6rem, 5.5vw, 4.6rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(0, 0, 0, 0.45);
}

.principle-title {
  font-size: clamp(1.7rem, 3.2vw, 2.8rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.05;
}

.principle-desc {
  max-width: 48ch;
  color: var(--ink-soft);
}

/* About focus points */
.about-points {
  border-top: 1px solid var(--border);
  margin-top: clamp(40px, 6vw, 72px);
}

.about-points li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 20px;
  padding: 15px 0;
  border-bottom: 1px solid var(--border);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.about-points .point-num {
  color: var(--ink-faint);
  font-weight: 400;
}

/* --------------------------------------------------------------------------
   15. Gallery (about page)
   -------------------------------------------------------------------------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--gutter);
}

.gallery-item {
  position: relative;
  overflow: hidden;
  background: var(--paper);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s var(--ease-out);
}

.gallery-item:hover img,
.gallery-item:focus-within img {
  transform: scale(1.03);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  padding: clamp(18px, 2.6vw, 30px);
  background: rgba(0, 0, 0, 0.52);
  color: var(--white);
  opacity: 0;
  transition: opacity 0.45s var(--ease-out);
}

.gallery-item:hover .gallery-overlay,
.gallery-item:focus-within .gallery-overlay {
  opacity: 1;
}

.gallery-title {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  transform: translateY(12px);
  transition: transform 0.45s var(--ease-out);
}

.gallery-item:hover .gallery-title,
.gallery-item:focus-within .gallery-title {
  transform: none;
}

.gallery-sub {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.75);
  transform: translateY(12px);
  transition: transform 0.45s var(--ease-out) 0.05s;
}

.gallery-item:hover .gallery-sub,
.gallery-item:focus-within .gallery-sub {
  transform: none;
}

/* Touch devices: no hover — show a caption bar under the image */
.gallery-mobile-caption {
  display: none;
}

/* Sizes & ratios */
.gallery-item.g1 { grid-column: span 8; aspect-ratio: 16 / 10; }
.gallery-item.g2 { grid-column: span 4; aspect-ratio: 3 / 4; }
.gallery-item.g3 { grid-column: span 4; aspect-ratio: 3 / 4; }
.gallery-item.g4 { grid-column: span 8; aspect-ratio: 16 / 10; }
.gallery-item.g5 { grid-column: span 7; aspect-ratio: 16 / 10; }
.gallery-item.g6 { grid-column: span 5; aspect-ratio: 4 / 5; }
.gallery-item.g7 { grid-column: span 5; aspect-ratio: 4 / 5; }
.gallery-item.g8 { grid-column: span 7; aspect-ratio: 16 / 10; }

/* --------------------------------------------------------------------------
   16. Services page — alternating blocks
   -------------------------------------------------------------------------- */
.service-block {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--gutter);
  align-items: center;
  padding-block: clamp(64px, 9vw, 128px);
  border-bottom: 1px solid var(--border);
}

.service-block:last-child {
  border-bottom: 0;
}

.service-media {
  grid-column: 1 / span 6;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--paper);
}

.service-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-info {
  grid-column: 7 / span 6;
}

.service-block:nth-child(even) .service-media {
  grid-column: 7 / span 6;
}

.service-block:nth-child(even) .service-info {
  grid-column: 1 / span 6;
}

.service-number {
  font-size: clamp(2.8rem, 6vw, 5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(0, 0, 0, 0.4);
}

.service-heading {
  margin-top: clamp(14px, 2.4vw, 26px);
  font-size: clamp(1.9rem, 3.6vw, 3.1rem);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.06;
}

.service-desc-long {
  margin-top: clamp(16px, 2.6vw, 28px);
  max-width: 46ch;
  color: var(--ink-soft);
}

.service-features {
  margin-top: clamp(20px, 3vw, 34px);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  max-width: 46ch;
}

.service-features li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 11px 0;
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.service-features li + li {
  border-top: 1px solid var(--border);
}

.service-features .dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--black);
  flex: none;
}

.service-enquire {
  margin-top: clamp(24px, 3.4vw, 40px);
}

/* --------------------------------------------------------------------------
   17. Contact
   -------------------------------------------------------------------------- */
.contact-list {
  border-top: 1px solid var(--border);
}

.contact-row {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr);
  gap: var(--gutter);
  align-items: center;
  padding: clamp(22px, 3.2vw, 36px) 0;
  border-bottom: 1px solid var(--border);
}

.contact-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.contact-value {
  font-size: clamp(1.25rem, 2.6vw, 2.1rem);
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.2;
  text-decoration: none;
  color: var(--black);
  justify-self: start;
  position: relative;
  padding: 4px 0;
}

a.contact-value::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--dur-med) var(--ease-out);
}

a.contact-value:hover::after,
a.contact-value:focus-visible::after {
  transform: scaleX(1);
}

/* Enquiry form */
.form {
  max-width: 760px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 var(--gutter);
}

.form-field {
  margin-bottom: clamp(24px, 3.4vw, 38px);
}

.form-field.full {
  grid-column: 1 / -1;
}

.form-label {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.form-required {
  color: var(--black);
  font-weight: 600;
}

.form-input,
.form-select,
.form-textarea {
  display: block;
  width: 100%;
  padding: 12px 0;
  border: 0;
  border-bottom: 1px solid var(--border-strong);
  border-radius: 0;
  background: transparent;
  font-size: 1.05rem;
  color: var(--black);
  transition: border-color var(--dur-fast) var(--ease-out);
  -webkit-appearance: none;
  appearance: none;
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--ink-faint);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-bottom-color: var(--black);
}

.form-textarea {
  resize: vertical;
  min-height: 150px;
}

.form-select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5 11 1.5' fill='none' stroke='%23000' stroke-width='1.2'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 4px center;
  background-size: 12px 8px;
  padding-right: 34px;
}

.form-error {
  display: none;
  margin-top: 10px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--black);
}

.form-field.has-error .form-input,
.form-field.has-error .form-textarea,
.form-field.has-error .form-select {
  border-bottom-style: dashed;
}

.form-field.has-error .form-error {
  display: block;
}

.form-note {
  margin-top: 20px;
  max-width: 52ch;
  font-size: 13px;
  line-height: 1.7;
  color: var(--ink-soft);
}

.form-note a {
  color: var(--black);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* WhatsApp CTA */
.whatsapp-wrap {
  margin-top: clamp(40px, 6vw, 64px);
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.whatsapp-wrap .label {
  color: var(--ink-faint);
}

.whatsapp-icon {
  width: 17px;
  height: 17px;
  flex: none;
}

/* --------------------------------------------------------------------------
   18. Footer
   -------------------------------------------------------------------------- */
.site-footer {
  background: var(--black);
  color: var(--white);
  padding-top: clamp(64px, 9vw, 120px);
}

.footer-top {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px 40px;
  padding-bottom: clamp(48px, 7vw, 88px);
  border-bottom: 1px solid var(--dark-border);
}

.footer-brand {
  color: var(--white);
  text-decoration: none;
  font-size: clamp(2.1rem, 5.2vw, 3.8rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 0.98;
}

.footer-brand .brand-sub {
  color: rgba(255, 255, 255, 0.55);
  letter-spacing: 0.4em;
  font-size: 10px;
  margin-top: 8px;
}

.footer-tagline {
  text-align: right;
  font-size: 15px;
  line-height: 1.6;
  color: var(--dark-soft);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.footer-col {
  padding: clamp(32px, 4.4vw, 52px) var(--gutter);
  border-right: 1px solid var(--dark-border);
}

.footer-col:first-child {
  padding-left: 0;
}

.footer-col:last-child {
  padding-right: 0;
  border-right: 0;
}

.footer-heading {
  margin-bottom: 20px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
}

.footer-col a,
.footer-col p {
  display: block;
  padding: 5px 0;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
  line-height: 1.6;
}

.footer-col a:hover,
.footer-col a:focus-visible {
  color: var(--white);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px 24px;
  padding: 26px 0;
  border-top: 1px solid var(--dark-border);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.5);
}

/* --------------------------------------------------------------------------
   19. Scroll reveal
   -------------------------------------------------------------------------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.85s var(--ease-out) var(--reveal-delay, 0s),
              transform 0.85s var(--ease-out) var(--reveal-delay, 0s);
  will-change: opacity, transform;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

/* Image reveals — clip from the bottom */
[data-reveal="clip"] {
  clip-path: inset(0 0 100% 0);
  transition: clip-path var(--dur-slow) var(--ease-io) var(--reveal-delay, 0s);
  will-change: clip-path;
}

[data-reveal="clip"].is-visible {
  clip-path: inset(0 0 0 0);
}

[data-reveal="clip"] img {
  transform: scale(1.06);
  transition: transform 1.3s var(--ease-out) var(--reveal-delay, 0s);
}

[data-reveal="clip"].is-visible img {
  transform: scale(1);
}

/* Staggered children (e.g. gallery) */
[data-stagger] > * {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.8s var(--ease-out) calc(var(--i, 0) * 80ms),
              transform 0.8s var(--ease-out) calc(var(--i, 0) * 80ms);
}

[data-stagger].is-visible > * {
  opacity: 1;
  transform: none;
}

/* Anchor targets clear the sticky header */
[id] {
  scroll-margin-top: calc(var(--header-h) + 12px);
}

/* --------------------------------------------------------------------------
   20. Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .service-row {
    grid-template-columns: 72px minmax(0, 1.1fr) minmax(0, 1fr) 44px;
  }

  .work-item.a { grid-column: 1 / span 7; }
  .work-item.b { grid-column: 8 / span 5; }
  .work-item.c { grid-column: 1 / span 5; }
  .work-item.d { grid-column: 6 / span 7; }
}

@media (max-width: 900px) {
  .site-nav {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
  }

  /* Services blocks stack — image first */
  .service-media,
  .service-block:nth-child(even) .service-media {
    grid-column: 1 / -1;
    order: 1;
  }

  .service-info,
  .service-block:nth-child(even) .service-info {
    grid-column: 1 / -1;
    order: 2;
  }

  .service-block {
    gap: clamp(28px, 5vw, 48px) var(--gutter);
  }

  .principle {
    grid-template-columns: 96px minmax(0, 1fr);
  }

  .principle-desc {
    grid-column: 2 / -1;
  }

  .story-left,
  .story-right {
    grid-column: 1 / -1;
  }
}

@media (max-width: 820px) {
  .hero-scroll {
    display: none;
  }

  .service-row {
    grid-template-columns: 52px minmax(0, 1fr) 44px;
    row-gap: 10px;
    padding-block: 24px;
  }

  .service-desc {
    grid-column: 2 / span 2;
    font-size: 14px;
  }

  .work-item,
  .work-item.a,
  .work-item.b,
  .work-item.c,
  .work-item.d {
    grid-column: 1 / -1;
  }

  .work-item .work-media {
    aspect-ratio: 4 / 3;
  }

  .work-item.b .work-media,
  .work-item.c .work-media {
    aspect-ratio: 4 / 3;
  }

  .gallery-item,
  .gallery-item.g1,
  .gallery-item.g2,
  .gallery-item.g3,
  .gallery-item.g4,
  .gallery-item.g5,
  .gallery-item.g6,
  .gallery-item.g7,
  .gallery-item.g8 {
    grid-column: 1 / -1;
    aspect-ratio: 4 / 3;
  }

  .gallery-overlay {
    display: none;
  }

  .gallery-mobile-caption {
    display: block;
    padding-top: 12px;
    margin-top: 14px;
    border-top: 1px solid var(--border);
    font-size: 12px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--ink-soft);
  }

  .gallery-mobile-caption strong {
    display: block;
    color: var(--black);
    font-weight: 600;
    margin-bottom: 2px;
  }

  .contact-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-col,
  .footer-col:first-child,
  .footer-col:last-child {
    padding: 28px 0;
    border-right: 0;
    border-bottom: 1px solid var(--dark-border);
  }

  .footer-col:last-child {
    border-bottom: 0;
  }

  .footer-top {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-tagline {
    text-align: left;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }
}

@media (max-width: 560px) {
  .service-row {
    grid-template-columns: 40px minmax(0, 1fr) 40px;
  }

  .service-arrow {
    width: 40px;
    height: 40px;
  }

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

  .work-sub {
    text-align: left;
  }

  .btn {
    width: 100%;
  }

  .hero-actions {
    width: 100%;
  }

  .whatsapp-wrap {
    align-items: flex-start;
    flex-direction: column;
  }

  .mobile-nav-link {
    font-size: clamp(1.9rem, 11vw, 2.6rem);
  }
}

/* --------------------------------------------------------------------------
   29. Floating WhatsApp button
   -------------------------------------------------------------------------- */
.wa-float {
  position: fixed;
  right: clamp(14px, 2.5vw, 28px);
  bottom: clamp(14px, 2.5vw, 28px);
  z-index: 80;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  color: #ffffff;
  box-shadow:
    0 2px 4px rgba(0, 0, 0, 0.18),
    0 12px 28px -8px rgba(37, 211, 102, 0.55);
  transition: transform var(--dur-fast) var(--ease-out),
              box-shadow var(--dur-fast) var(--ease-out);
}

.wa-float:hover {
  transform: translateY(-3px) scale(1.04);
  box-shadow:
    0 4px 8px rgba(0, 0, 0, 0.2),
    0 18px 36px -10px rgba(37, 211, 102, 0.65);
}

.wa-float:focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: 3px;
}

.wa-float-icon {
  width: 28px;
  height: 28px;
}

@media (max-width: 560px) {
  .wa-float {
    width: 52px;
    height: 52px;
  }
}


/* --------------------------------------------------------------------------
   21. Reduced motion
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .hero-label,
  .hero-title .line,
  .hero-sub,
  .hero-actions,
  [data-reveal],
  [data-stagger] > * {
    opacity: 1 !important;
    transform: none !important;
  }

  [data-reveal="clip"] {
    clip-path: none !important;
  }
}

/* --------------------------------------------------------------------------
   22b. Visually hidden (screen-reader-only text)
   -------------------------------------------------------------------------- */
.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

/* --------------------------------------------------------------------------
   23. Home — delivery cities marquee (auto horizontal scrolling text)
   -------------------------------------------------------------------------- */
.cities-band {
  position: relative;
  z-index: 3;
  padding-block: clamp(34px, 5vw, 54px);
  background: var(--brand-deep);
  color: var(--white);
}

.cities-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: clamp(18px, 3vw, 30px);
}

.cities-head .label {
  color: rgba(255, 255, 255, 0.66);
}

.cities-note {
  margin: 0;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
}

.marquee {
  display: flex;
  overflow: hidden;
  user-select: none;
  --marquee-gap: clamp(22px, 3.4vw, 44px);
  /* Fade the ends of the scrolling strip into the band background */
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 clamp(24px, 6vw, 90px), #000 calc(100% - clamp(24px, 6vw, 90px)), transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 clamp(24px, 6vw, 90px), #000 calc(100% - clamp(24px, 6vw, 90px)), transparent 100%);
}

.marquee-track {
  display: flex;
  align-items: center;
  flex: none;
  min-width: 100%;
  will-change: transform;
  animation: marquee-scroll 34s linear infinite;
}

/* One seamless sequence of cities. Its trailing padding equals the inner gap,
   so any even number of sequences tiles perfectly and the -50% keyframe below
   always lands on a seam. JS clones whole sequences when two are narrower
   than twice the viewport; without JS the two shipped sequences still work. */
.marquee-seq {
  display: flex;
  align-items: center;
  flex: none;
  gap: var(--marquee-gap);
  padding-right: var(--marquee-gap);
}

.marquee:hover .marquee-track,
.marquee.is-paused .marquee-track {
  animation-play-state: paused;
}

@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: var(--marquee-gap);
  font-size: clamp(1.25rem, 3.2vw, 2.4rem);
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.2;
  white-space: nowrap;
  color: rgba(255, 255, 255, 0.92);
}

.marquee-item::after {
  content: none;
}

.marquee-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  flex: none;
}

@media (prefers-reduced-motion: reduce) {
  .marquee-track {
    animation: none;
  }
}

/* --------------------------------------------------------------------------
   24. Home — hero stat cards (modern cards with drop shadows)
   -------------------------------------------------------------------------- */
.hero-cards {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 1.6vw, 22px);
  margin-top: clamp(40px, 7vh, 72px);
  max-width: 920px;
}

.stat-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  padding: clamp(18px, 2vw, 26px) clamp(18px, 2vw, 24px);
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 18px;
  box-shadow:
    0 18px 40px -14px rgba(0, 0, 0, 0.45),
    0 4px 12px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(6px);
  transition: transform var(--dur-fast) var(--ease-out),
              box-shadow var(--dur-fast) var(--ease-out);
}

.stat-card:hover {
  transform: translateY(-4px);
  box-shadow:
    0 26px 54px -14px rgba(0, 0 0, 0.5),
    0 6px 16px rgba(0, 0, 0, 0.2);
}

.stat-card-icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin-bottom: 6px;
  border-radius: 12px;
  background: rgba(35, 43, 50, 0.08);
  color: var(--black);
}

.stat-card-icon svg {
  width: 22px;
  height: 22px;
}

.stat-card-num {
  font-size: clamp(1.6rem, 2.6vw, 2.3rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1;
  color: var(--black);
}

.stat-card-label {
  font-size: 12.5px;
  line-height: 1.45;
  color: rgba(0, 0, 0, 0.6);
}

/* --------------------------------------------------------------------------
   25. Home — service feature cards (modern cards with drop shadows)
   -------------------------------------------------------------------------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 2.6vw, 32px);
}

.feature-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 20px;
  overflow: hidden;
  text-decoration: none;
  color: var(--black);
  box-shadow:
    0 1px 2px rgba(0, 0, 0, 0.05),
    0 10px 30px -12px rgba(15, 23, 42, 0.18);
  transition: transform 0.35s var(--ease-out),
              box-shadow 0.35s var(--ease-out),
              border-color 0.35s var(--ease-out);
}

.feature-card:hover,
.feature-card:focus-visible {
  transform: translateY(-6px);
  border-color: rgba(0, 0, 0, 0.14);
  box-shadow:
    0 2px 4px rgba(0, 0, 0, 0.06),
    0 24px 48px -16px rgba(15, 23, 42, 0.28);
}

.feature-card-media {
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--paper);
}

.feature-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out);
}

.feature-card:hover .feature-card-media img {
  transform: scale(1.045);
}

.feature-card-body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  padding: clamp(20px, 2.2vw, 28px);
}

.feature-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.feature-card-num {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--ink-faint);
}

.feature-card-arrow {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--border);
  border-radius: 50%;
  color: var(--black);
  transition: background var(--dur-fast) var(--ease-out),
              color var(--dur-fast) var(--ease-out),
              border-color var(--dur-fast) var(--ease-out),
              transform 0.35s var(--ease-out);
}

.feature-card-arrow .icon-arrow {
  width: 14px;
  height: 14px;
}

.feature-card:hover .feature-card-arrow,
.feature-card:focus-visible .feature-card-arrow {
  background: var(--black);
  border-color: var(--black);
  color: var(--white);
  transform: rotate(45deg);
}

.feature-card-title {
  font-size: clamp(1.25rem, 1.8vw, 1.55rem);
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.15;
}

.feature-card-desc {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--ink-soft);
}

.feature-card-link {
  margin-top: auto;
  padding-top: 14px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--black);
}

.feature-card-link::after {
  content: "";
  display: block;
  width: 28px;
  height: 2px;
  margin-top: 8px;
  background: var(--accent);
  transition: width 0.35s var(--ease-out);
}

.feature-card:hover .feature-card-link::after {
  width: 100%;
}

/* --------------------------------------------------------------------------
   26. Home — ordering step cards
   -------------------------------------------------------------------------- */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 2.6vw, 32px);
  margin-top: clamp(40px, 6vw, 72px);
}

.step-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: clamp(24px, 2.8vw, 36px);
  background: var(--paper);
  border: 1px solid rgba(0, 0, 0, 0.07);
  border-radius: 20px;
  overflow: hidden;
  box-shadow:
    0 1px 2px rgba(0, 0, 0, 0.04),
    0 12px 28px -14px rgba(15, 23, 42, 0.16);
  transition: transform 0.35s var(--ease-out),
              box-shadow 0.35s var(--ease-out),
              background 0.35s var(--ease-out),
              color 0.35s var(--ease-out);
}

.step-card:hover {
  transform: translateY(-5px);
  background: var(--brand);
  box-shadow:
    0 2px 4px rgba(0, 0, 0, 0.08),
    0 26px 52px -18px rgba(15, 23, 42, 0.45);
}

.step-card-num {
  font-size: clamp(2.4rem, 4vw, 3.4rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.02em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(0, 0, 0, 0.35);
  transition: -webkit-text-stroke 0.35s var(--ease-out);
}

.step-card:hover .step-card-num {
  -webkit-text-stroke-color: rgba(255, 255, 255, 0.55);
}

.step-card-title {
  font-size: clamp(1.2rem, 1.9vw, 1.5rem);
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.15;
  transition: color 0.35s var(--ease-out);
}

.step-card:hover .step-card-title {
  color: var(--white);
}

.step-card-desc {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--ink-soft);
  transition: color 0.35s var(--ease-out);
}

.step-card-desc a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.step-card:hover .step-card-desc {
  color: rgba(255, 255, 255, 0.72);
}

/* --------------------------------------------------------------------------
   26b. Home — intro split (copy left, photo card right)
   -------------------------------------------------------------------------- */
.intro-split {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}

.intro-copy .section-head {
  margin-bottom: clamp(28px, 4vw, 44px);
}

.intro-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  margin-top: clamp(24px, 3vw, 36px);
}

.intro-point {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--black);
}

.intro-point-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  flex: none;
}

.intro-visual {
  position: relative;
  z-index: 0;
}

/* Soft paper block behind the photo — layered depth, no overlays on the image */
.intro-visual::before {
  content: "";
  position: absolute;
  top: -16px;
  right: -16px;
  z-index: 0;
  width: 56%;
  height: 56%;
  border-radius: 20px;
  background: var(--paper);
}

.intro-photo {
  position: relative;
  z-index: 1;
  margin: 0;
  border-radius: 18px;
  overflow: hidden;
  background: var(--paper);
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow:
    0 2px 4px rgba(0, 0, 0, 0.05),
    0 20px 44px -18px rgba(15, 23, 42, 0.32);
}

.intro-photo img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

/* Editorial caption row under the photo (matches .media-caption style) */
.intro-photo-meta {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  padding-top: 14px;
  margin-top: 16px;
  border-top: 1px solid var(--border);
}

.intro-photo-caption {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--black);
}

.intro-photo-note {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: none;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.intro-photo-note::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  flex: none;
}

@media (max-width: 900px) {
  .intro-split {
    grid-template-columns: 1fr;
  }

  .intro-visual::before {
    display: none;
  }

  .intro-photo-meta {
    flex-direction: column;
    gap: 4px;
  }
}
   27. Responsive — cards & marquee
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .card-grid,
  .steps-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-cards {
    max-width: none;
  }
}

@media (max-width: 820px) {
  /* Cards overlap the hero edge instead of sitting inside it */
  .hero {
    padding-bottom: 86px;
  }

  .hero-cards {
    margin-top: clamp(34px, 6vh, 56px);
  }

  .cities-band {
    background: var(--black);
  }

  .cities-head {
    flex-direction: column;
    gap: 6px;
  }
}

@media (max-width: 640px) {
  .card-grid,
  .steps-grid {
    grid-template-columns: 1fr;
  }

  .hero-cards {
    grid-template-columns: 1fr 1fr;
  }

  .stat-card:last-child {
    grid-column: 1 / -1;
  }

  .feature-card-media {
    aspect-ratio: 16 / 10;
  }
}

@media (max-width: 380px) {
  .hero-cards {
    grid-template-columns: 1fr;
  }

  .stat-card:last-child {
    grid-column: auto;
  }
}

/* --------------------------------------------------------------------------
   28. Dark-context focus states
   -------------------------------------------------------------------------- */
.cta-band :focus-visible,
.site-footer :focus-visible,
.mobile-menu :focus-visible,
.hero :focus-visible {
  outline-color: var(--white);
}

/* --------------------------------------------------------------------------
   23. Gallery page — masonry grid, filters, lightbox + logo card
   -------------------------------------------------------------------------- */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: clamp(32px, 5vw, 56px);
}

.filter-btn {
  padding: 12px 26px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  border: 1px solid var(--border-strong);
  color: var(--black);
  background: transparent;
  transition: background var(--dur-fast) var(--ease-out),
              color var(--dur-fast) var(--ease-out),
              border-color var(--dur-fast) var(--ease-out);
}

.filter-btn:hover {
  border-color: var(--black);
}

.filter-btn.is-active {
  background: var(--black);
  border-color: var(--black);
  color: var(--white);
}

.masonry {
  columns: 3;
  column-gap: var(--gutter);
}

.g-item {
  break-inside: avoid;
  margin-bottom: var(--gutter);
  background: var(--paper);
  animation: g-in 0.5s var(--ease-out);
}

.g-item.is-hidden {
  display: none;
}

@keyframes g-in {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
}

.g-btn {
  display: block;
  width: 100%;
  position: relative;
  overflow: hidden;
  text-align: left;
  padding: 0;
}

.g-btn img {
  width: 100%;
  height: auto;
  transition: transform 0.8s var(--ease-out);
}

.g-btn:hover img {
  transform: scale(1.04);
}

.g-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  gap: 4px;
  padding: clamp(16px, 2.4vw, 26px);
  background: linear-gradient(to top, rgba(20, 26, 31, 0.72) 0%, rgba(20, 26, 31, 0) 55%);
  color: var(--white);
  opacity: 0;
  transition: opacity 0.4s var(--ease-out);
}

.g-btn:hover .g-overlay,
.g-btn:focus-visible .g-overlay {
  opacity: 1;
}

.g-title {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.g-sub {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.75);
}

.g-title::after {
  content: "";
  display: block;
  width: 28px;
  height: 2px;
  margin-top: 8px;
  background: var(--accent);
}

.gallery-note {
  margin-top: clamp(36px, 5vw, 60px);
  padding-top: 24px;
  border-top: 1px solid var(--border);
  font-size: 14px;
  color: var(--ink-soft);
}

.gallery-note a {
  color: var(--black);
  font-weight: 600;
  text-underline-offset: 3px;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(18, 23, 28, 0.94);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.35s var(--ease-out), visibility 0s linear 0.35s;
}

.lightbox.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition: opacity 0.35s var(--ease-out);
}

.lb-figure {
  max-width: min(88vw, 980px);
  max-height: 82vh;
  display: flex;
  flex-direction: column;
}

.lb-figure img {
  max-width: 100%;
  max-height: 70vh;
  object-fit: contain;
  background: #000;
}

.lb-caption {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding-top: 16px;
  color: var(--white);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.lb-caption #lb-sub {
  color: rgba(255, 255, 255, 0.6);
  letter-spacing: 0.08em;
  text-transform: none;
  font-size: 13px;
}

.lb-caption #lb-count {
  margin-left: auto;
  color: var(--accent);
  font-weight: 700;
}

.lb-btn {
  position: absolute;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  color: var(--white);
  transition: background var(--dur-fast) var(--ease-out),
              border-color var(--dur-fast) var(--ease-out);
}

.lb-btn:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #141a1f;
}

.lb-btn svg {
  width: 18px;
  height: 18px;
}

.lb-close {
  top: 24px;
  right: 24px;
}

.lb-prev {
  left: 24px;
  top: 50%;
  transform: translateY(-50%);
}

.lb-next {
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox :focus-visible {
  outline-color: var(--accent);
}

/* Logo card (about page) */
.logo-card {
  margin-top: clamp(40px, 6vw, 72px);
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
  padding: clamp(28px, 4vw, 52px);
  border: 1px solid var(--border);
  border-top: 3px solid var(--accent);
  background: var(--white);
}

.logo-card img {
  width: 100%;
  max-width: 220px;
  height: auto;
}

.logo-card figcaption {
  font-size: clamp(1.3rem, 2.6vw, 2rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.logo-card figcaption em {
  font-style: normal;
  color: var(--ink-soft);
}

@media (max-width: 1024px) {
  .masonry {
    columns: 2;
  }
}

@media (max-width: 640px) {
  .masonry {
    columns: 2;
    column-gap: 16px;
  }

  .g-item {
    margin-bottom: 16px;
  }

  .g-overlay {
    opacity: 1;
    background: linear-gradient(to top, rgba(20, 26, 31, 0.6) 0%, rgba(20, 26, 31, 0) 60%);
    padding: 14px;
  }

  .g-sub {
    display: none;
  }

  .logo-card {
    grid-template-columns: 1fr;
  }

  .lb-prev {
    left: 12px;
  }

  .lb-next {
    right: 12px;
  }

  .lb-btn {
    width: 44px;
    height: 44px;
  }
}

@media (max-width: 420px) {
  .masonry {
    columns: 1;
  }
}

/* --------------------------------------------------------------------------
   24. FAQ accordion
   -------------------------------------------------------------------------- */
.faq-list {
  max-width: 880px;
  border-top: 1px solid var(--border);
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-item summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: clamp(22px, 3vw, 32px) 0;
  font-size: clamp(1.1rem, 2vw, 1.45rem);
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.35;
  cursor: pointer;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::marker {
  content: "";
}

.faq-plus {
  position: relative;
  flex: none;
  width: 40px;
  height: 40px;
  border: 1px solid var(--border-strong);
  transition: background var(--dur-fast) var(--ease-out),
              border-color var(--dur-fast) var(--ease-out);
}

.faq-plus::before,
.faq-plus::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  background: currentColor;
  transition: transform 0.35s var(--ease-out), background var(--dur-fast) var(--ease-out);
}

.faq-plus::before {
  width: 14px;
  height: 1px;
  transform: translate(-50%, -50%);
}

.faq-plus::after {
  width: 1px;
  height: 14px;
  transform: translate(-50%, -50%);
}

.faq-item[open] .faq-plus {
  background: var(--black);
  border-color: var(--black);
  color: var(--white);
}

.faq-item[open] .faq-plus::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.faq-item p {
  max-width: 62ch;
  padding-bottom: clamp(22px, 3vw, 32px);
  color: var(--ink-soft);
}

.faq-item p a {
  color: var(--black);
  font-weight: 600;
  text-underline-offset: 3px;
}

/* Service detail sub-heading + enquiry checklist */
.detail-sub {
  margin-top: clamp(28px, 4vw, 48px);
  margin-bottom: clamp(16px, 2.4vw, 26px);
  font-size: clamp(1.2rem, 2vw, 1.6rem);
  font-weight: 600;
  letter-spacing: -0.02em;
}

.detail-links a {
  color: var(--black);
  font-weight: 600;
  text-underline-offset: 3px;
}

/* --------------------------------------------------------------------------
   25. Mega menu, mobile submenu + service photo strips
   -------------------------------------------------------------------------- */
.site-nav .nav-list > li {
  position: static;
}

.site-nav .nav-list {
  position: relative;
}

.has-mega {
  position: static !important;
}

.mega {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 30px 60px rgba(20, 26, 31, 0.12);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.3s var(--ease-out), transform 0.3s var(--ease-out),
              visibility 0s linear 0.3s;
}

.has-mega:hover .mega,
.has-mega:focus-within .mega,
.has-mega.mega-open .mega {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition: opacity 0.3s var(--ease-out), transform 0.3s var(--ease-out);
}

.mega-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 72px);
  padding-top: clamp(28px, 4vw, 48px);
  padding-bottom: clamp(28px, 4vw, 48px);
}

.mega-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px 32px;
  align-content: start;
}

.mega-link {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 8px;
  text-decoration: none;
  border-bottom: 1px solid var(--border);
  color: var(--black);
}

.mega-link .icon-arrow {
  margin-left: auto;
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity var(--dur-fast) var(--ease-out),
              transform var(--dur-fast) var(--ease-out);
}

.mega-link:hover .icon-arrow,
.mega-link:focus-visible .icon-arrow {
  opacity: 1;
  transform: none;
}

.mega-num {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: var(--ink-faint);
}

.mega-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.mega-text strong {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.mega-text small {
  font-size: 12px;
  color: var(--ink-soft);
}

.mega-link:hover .mega-text strong {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.mega-feature {
  background: var(--paper);
  padding: clamp(24px, 3vw, 36px);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.mega-feature img {
  width: 100%;
  aspect-ratio: 16 / 8;
  object-fit: cover;
  margin-bottom: 4px;
}

.mega-feature-title {
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.mega-feature-sub {
  font-size: 13px;
  color: var(--ink-soft);
}

.mega-feature .btn {
  margin-top: 8px;
  min-height: 48px;
  padding: 14px 26px;
}

/* Mobile services submenu */
.m-sub-head {
  display: flex;
  align-items: stretch;
  border-bottom: 1px solid var(--dark-border);
}

.m-sub-head .mobile-nav-link {
  flex: 1;
  border-bottom: 0;
}

.m-sub-toggle {
  flex: none;
  width: 72px;
  display: grid;
  place-items: center;
  font-size: 28px;
  font-weight: 300;
  line-height: 1;
  color: var(--white);
  border-left: 1px solid var(--dark-border);
}

.m-sub-toggle span {
  display: block;
  transition: transform 0.3s var(--ease-out);
}

.m-sub-toggle.is-open span {
  transform: rotate(45deg);
}

.m-sub {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.4s var(--ease-out);
}

.m-sub > li {
  overflow: hidden;
}

.m-sub.is-open {
  grid-template-rows: 1fr;
}

.m-sub a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 4px 13px 8px;
  font-size: 15px;
  color: var(--dark-soft);
  text-decoration: none;
  border-top: 1px solid var(--dark-border);
}

.m-sub a::before {
  content: "";
  width: 18px;
  height: 1px;
  background: var(--accent);
  flex: none;
}

.m-sub a:hover {
  color: var(--white);
}

/* Service detail photo strip */
.shots {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gutter);
}

.shot {
  background: var(--paper);
}

.shot img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.shot figcaption {
  padding-top: 12px;
  margin-top: 12px;
  border-top: 1px solid var(--border);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

@media (max-width: 1024px) {
  .mega-inner {
    grid-template-columns: 1fr;
  }

  .mega-feature {
    display: none;
  }
}

@media (max-width: 640px) {
  .shots {
    grid-template-columns: 1fr;
  }
}
