:root {
  /* Brand colours: black, red (matches the logo), light grey, white */
  --red: #ed1d26;
  --red-dark: #c8161e;   /* for small red text, better contrast */
  --black: #111111;
  --ink: #111111;
  --slate: #5c5c5c;
  --mist: #f3f3f3;
  --line: #e2e2e2;
  --white: #ffffff;
  --acent: #E8DFD2;

  --display: "Poppins", system-ui, sans-serif;
  --sans: "Poppins", system-ui, sans-serif;
  --gutter: clamp(16px, 4vw, 40px);
  --max: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--display); font-weight: 600; color: var(--ink); line-height: 1.15; letter-spacing: -0.02em; margin: 0; }
h2 { font-weight: 300; }            /* light headings with bold key words, like the hero */
h2 b { font-weight: 600; }
p { margin: 0; }
.container { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- Header ---------- */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(8px);
  box-shadow: 0 1px 0 var(--line);
}
.header .container {
  display: flex; align-items: center; justify-content: space-between;
  height: 88px;
}
.logo img { height: 52px; width: auto; }
.nav { display: flex; align-items: center; gap: 44px; }
.nav a { font-size: 15px; color: var(--ink); position: relative; }
.nav a::after {
  content: ""; position: absolute; left: 0; bottom: -4px; width: 0; height: 2px;
  background: var(--red); transition: width .25s;
}
.nav a:hover::after { width: 100%; }
.nav .btn-nav {
  border: 1.5px solid var(--red); color: var(--red-dark);
  padding: 10px 24px; border-radius: 0; transition: background .2s, color .2s;
}
.nav .btn-nav::after { display: none; }
.nav .btn-nav:hover { background: var(--red); color: var(--white); }
.menu-toggle {
  display: none; background: none; border: 0; cursor: pointer; padding: 8px;
  width: 44px; height: 44px;
}
.menu-toggle span { display: block; height: 2px; background: var(--ink); margin: 6px 0; transition: .3s; }

/* ---------- Hero ---------- */
.hero {
  --rail: 72px;
  --brand: 0px;          /* no logo box: the top bar carries the logo and menu */
  --bar: 88px;
  --split: 46%;          /* where the photo starts (wide enough for the full heading) */
  --pad: clamp(40px, 6vw, 96px);
  position: relative;
  margin-top: 88px;      /* starts below the fixed top bar */
  height: calc(100vh - 88px); min-height: 600px; max-height: 920px;
  background: var(--line);
  overflow: hidden;
  padding: 0;
}
.hero-img {
  position: absolute; top: 0; bottom: 0; left: var(--split); right: var(--rail);
  background: #dfe3e6 url("../designhero.jpg") 30% center / cover no-repeat;
}
.hero-img::after {   /* soft overlay: darker at the top for the menu, light tint elsewhere */
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(17,17,17,.55) 0%, rgba(17,17,17,.18) 32%, rgba(17,17,17,.12) 65%, rgba(17,17,17,.38) 100%);
}
.hero-copy {
  position: absolute; z-index: 2;
  left: 0; top: var(--brand); bottom: var(--bar); width: 62%;
  padding-left: var(--pad);
  display: flex; flex-direction: column; justify-content: center;
}
.hero h1 {   /* "Bold light / light Bold", second line indented, like the reference */
  font-family: var(--sans);
  font-size: clamp(30px, 3.3vw, 54px);
  font-weight: 300;
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 0 0 clamp(28px, 4vh, 48px);
}
.hero h1 span { display: block; white-space: nowrap; }
.hero h1 span + span { padding-left: 1.1em; }
.hero h1 b { font-weight: 600; }
.hero-meta {
  display: flex; align-items: center; gap: 22px;
  font-size: 14px; margin-bottom: 14px;
}
.hero-meta .num { font-weight: 500; }
.hero-meta strong { font-weight: 600; white-space: nowrap; }
.hero-meta::after { content: ""; flex: 0 1 120px; min-width: 24px; height: 1.5px; background: var(--ink); }
.hero-lead {
  font-size: 13.5px; line-height: 1.75; font-weight: 300; color: var(--slate);
  max-width: calc(var(--split) - var(--pad) - 76px); min-width: 260px;
  margin-left: 38px;   /* lines up under the caption text, after the number */
}
.hero-rail {
  position: absolute; top: 0; bottom: 0; right: 0; width: var(--rail);
  display: flex; flex-direction: column; align-items: center; justify-content: space-between;
  padding: 44px 0 calc(var(--bar) + 10px);
  font-size: 12px; letter-spacing: .08em;
}
.hero-rail .vtext { writing-mode: vertical-rl; transform: rotate(180deg); white-space: nowrap; }
.rail-whatsapp, .rail-scroll {
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  color: var(--ink); transition: color .2s;
}
.rail-whatsapp svg { width: 18px; height: 18px; fill: #25d366; }   /* WhatsApp green so it reads as a contact */
.rail-whatsapp b { font-weight: 600; }
.rail-whatsapp:hover, .rail-scroll:hover { color: var(--red-dark); }
.rail-scroll svg { width: 12px; height: 40px; stroke: currentColor; fill: none; stroke-width: 1.4; animation: nudge 2s infinite; }
@keyframes nudge { 50% { transform: translateY(6px); } }
@media (prefers-reduced-motion: reduce) { .rail-scroll svg { animation: none; } }
.hero-rail .dashes { display: grid; gap: 26px; justify-items: center; }
.hero-rail .dashes i { width: 10px; height: 1.5px; background: var(--ink); }
.hero-bar {   /* white bar under the grey column, holds the social links */
  position: absolute; left: 0; bottom: 0; z-index: 3;
  width: var(--split); height: var(--bar);
  background: var(--red);   /* brand red, holds the social links */
  display: flex; align-items: center; gap: 18px;
  padding-left: var(--pad);
}
.hero-bar small { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--white); }
.hero-bar .hero-social a { color: var(--white); }
.hero-bar .hero-social a:hover { background: var(--white); color: var(--red); }
.hero-social { display: flex; gap: 6px; align-items: center; }
.hero-social a {
  width: 34px; height: 34px; display: grid; place-items: center;
  color: var(--ink); border-radius: 0; transition: color .2s, background .2s;
}
.hero-social a:hover { color: var(--white); background: var(--red); }
.hero-social svg { width: 16px; height: 16px; fill: currentColor; }
.hero-cta {
  position: absolute; z-index: 3;
  left: var(--split); bottom: var(--bar);
  width: clamp(190px, 16vw, 240px); height: 72px;
  background: var(--black); color: var(--white);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 26px; font-size: 14px; font-weight: 500;
  transition: background .2s;
}
.hero-cta:hover { background: var(--red); }
.hero-cta svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 2; }
.hero-dash {
  position: absolute; left: calc(var(--pad) - 24px); bottom: calc(var(--bar) + 40px);
  width: 18px; height: 1.5px; background: var(--ink);
}

/* ---------- Sections ---------- */
section { padding: clamp(72px, 10vw, 120px) 0; }
.section-label {   /* same as the hero caption: number, bold text, long line */
  display: inline-flex; align-items: center; gap: 18px;
  font-size: 14px; font-weight: 600; color: var(--ink);
  margin-bottom: 22px;
}
.section-label .num { font-weight: 500; color: var(--red-dark); }
.section-label::after { content: ""; width: 120px; height: 1.5px; background: currentColor; }
.section-title { font-size: clamp(30px, 3.4vw, 46px); margin-bottom: 22px; }

/* Vertical side text, like the hero's right-hand strip (wide screens only) */
section[data-rail] { position: relative; }
@media (min-width: 1320px) {
  section[data-rail]::after {
    content: attr(data-rail);
    position: absolute; right: 28px; top: clamp(72px, 10vw, 120px);
    writing-mode: vertical-rl; transform: rotate(180deg);
    font-size: 12px; letter-spacing: .08em; color: var(--slate);
    padding-top: 22px;
    background: linear-gradient(var(--ink), var(--ink)) top center / 10px 1.5px no-repeat;
  }
  .digital[data-rail]::after { color: rgba(255,255,255,.55); background-image: linear-gradient(var(--red), var(--red)); }
}
.muted { color: var(--slate); font-weight: 300; }

/* About */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.about-media { position: relative; }
.about-media img { width: 100%; height: auto; aspect-ratio: 4 / 4.4; object-fit: cover; object-position: 60% center; }
.about-intro p + p { margin-top: 18px; }

/* Clients logo carousel (white section between the two banners) */
.clients { background: var(--white); padding: clamp(56px, 7vw, 88px) 0; }
.clients-head { text-align: center; margin-bottom: 40px; }
.clients-head .section-label { justify-content: center; }
.clients-head .section-label::before { content: ""; width: 120px; height: 1.5px; background: currentColor; }
.clients-head .section-title { margin-bottom: 0; font-size: clamp(26px, 2.6vw, 34px); }
.logo-marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.logo-track {
  list-style: none; margin: 0; padding: 0;
  display: flex; align-items: center; width: max-content;
  animation: marquee 45s linear infinite;
}
.logo-marquee:hover .logo-track { animation-play-state: paused; }
.logo-track li { flex: none; width: 220px; height: 90px; padding: 0 28px; display: grid; place-items: center; }
.logo-track img {
  max-width: 100%; max-height: 64px; width: auto; height: auto; object-fit: contain;
  filter: grayscale(1); opacity: .65; transition: filter .3s, opacity .3s;
}
.logo-track li:hover img { filter: none; opacity: 1; }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .logo-track { animation: none; flex-wrap: wrap; justify-content: center; width: auto; }
  .logo-track li[aria-hidden="true"] { display: none; }
}
@media (max-width: 600px) {
  .logo-track li { width: 160px; height: 72px; padding: 0 18px; }
  .logo-track img { max-height: 48px; }
}

/* Purpose & Vision banner */
.pv-banner {
  position: relative; margin: 0;
  background:
    linear-gradient(90deg, rgba(17,17,17,.94) 0%, rgba(17,17,17,.86) 100%),
    url("../banner-office-team.jpg") center / cover no-repeat;
  color: var(--white);
  overflow: hidden;
}
.pv-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  padding: clamp(56px, 7vw, 96px) 0;
}
.pv-item { padding-right: clamp(24px, 5vw, 64px); }
.pv-item + .pv-item {
  padding-right: 0; padding-left: clamp(24px, 5vw, 64px);
  border-left: 1px solid rgba(255,255,255,.18);
}
.pv-item .section-label { color: var(--white); margin-bottom: 20px; }
.pv-item .section-label::after { background: var(--red); }
.pv-item p {
  font-family: var(--display); font-weight: 300; color: var(--white);
  font-size: clamp(19px, 1.8vw, 24px); line-height: 1.55;
}

/* Values banner (black, red used only as an accent) */
.values-banner {
  position: relative;
  background: var(--black); color: var(--white);
  margin-top: clamp(64px, 8vw, 100px);
  border-bottom: 1px solid rgba(255,255,255,.1);   /* separates it from the Purpose & Vision banner */
}
.values-banner::before {   /* short red accent bar */
  content: ""; position: absolute; left: 0; top: 0; width: 120px; height: 6px; background: var(--red);
}
.values-inner { padding: clamp(44px, 5vw, 64px) 0; }
.values-banner .section-label { color: var(--white); margin-bottom: 26px; }
.values-banner .section-label::after { background: var(--red); }
.values { display: grid; grid-template-columns: repeat(4, 1fr); }
.value { padding: 4px 28px 4px 0; }
.value + .value { padding-left: 28px; border-left: 1px solid rgba(255,255,255,.15); }
.value-num { font-family: var(--display); color: var(--red); font-size: 14px; }
.value h3 { color: var(--white); font-size: 24px; margin: 6px 0 8px; }
.value p { font-size: 14px; color: rgba(255,255,255,.72); font-weight: 300; }

/* Services */
.services { background: var(--mist); }
.services-head { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: end; margin-bottom: 56px; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; background: var(--line); border: 2px solid var(--line); }
.card {
  background: var(--white); padding: 40px 34px 44px;
  position: relative; transition: background .3s, color .3s;
}
.card-icon { width: 46px; height: 46px; margin-bottom: 26px; stroke: var(--red); fill: none; stroke-width: 1.5; transition: stroke .3s; }
.card h3 { font-size: 20px; margin-bottom: 12px; transition: color .3s; }
.card p { font-size: 14px; color: var(--slate); transition: color .3s; }
.card-tag { position: absolute; top: 40px; right: 34px; font-family: var(--display); font-size: 13px; color: var(--line); transition: color .3s; }
.card:hover { background: var(--black); }
.card:hover h3 { color: var(--white); }
.card:hover p { color: rgba(255,255,255,.75); }
.card:hover .card-icon { stroke: var(--red); }
.card:hover .card-tag { color: rgba(255,255,255,.3); }

/* Websites & Digital Tools (own section, black) */
.digital { background: var(--black); color: var(--white); }
.digital .section-label { color: var(--white); }
.digital .section-label .num { color: var(--red); }
.digital .section-label::after { background: var(--red); }
.digital .section-title { color: var(--white); }
.digital-head { margin-bottom: 56px; }
.digital-head .section-title {
  font-size: clamp(32px, 4vw, 56px);
  max-width: 980px; margin-bottom: 0;
}

/* Project panels: full-width strip of tall image panels.
   Dark and greyscale by default; on hover (or keyboard focus) a panel lights up and shows its details. */
.digital { padding: 0; }   /* panels fill the section edge to edge */
.panels { position: relative; }
.panel-track {
  display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  scrollbar-width: none;
}
.panel-track::-webkit-scrollbar { display: none; }
.panel {
  position: relative; flex: 1 1 0; min-width: 0;   /* all five panels share the row */ height: clamp(600px, 90vh, 860px);
  scroll-snap-align: start; overflow: hidden; color: var(--white);
  border-right: 1px solid rgba(255,255,255,.08);
}
.panel img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center top;
  filter: grayscale(1) brightness(.75); transform: scale(1.04); transform-origin: top center;
  transition: filter .6s ease, transform .9s ease;
}
.panel::before {   /* dark overlay, lifts on hover */
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(17,17,17,.75) 0%, rgba(17,17,17,.45) 40%, rgba(17,17,17,.8) 100%);
  transition: opacity .5s ease;
}
.panel-title {
  position: absolute; z-index: 2; left: 28px; right: 28px; top: 30px;
  font-size: 15px; font-weight: 500; line-height: 1.45; letter-spacing: .08em; text-transform: uppercase;
  color: var(--white); margin: 0;
}
.panel-title .n { display: block; color: var(--red); font-size: 12px; margin-bottom: 8px; }
.panel-type {
  position: absolute; z-index: 2; left: 28px; bottom: 30px;
  writing-mode: vertical-rl; transform: rotate(180deg);
  font-size: 11px; letter-spacing: .3em; text-transform: uppercase; color: rgba(255,255,255,.75);
}
.panel-info {   /* description + link, slides up on hover */
  position: absolute; z-index: 2; left: 64px; right: 28px; bottom: 30px;
  opacity: 0; transform: translateY(16px); transition: opacity .4s ease, transform .4s ease;
}
.panel-info p { font-size: 13.5px; line-height: 1.65; font-weight: 300; color: rgba(255,255,255,.9); margin-bottom: 14px; }
.panel-link { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--white); }
.panel-link::after { content: ""; position: absolute; inset: -400px -28px -30px -64px; }  /* whole panel is clickable */
.panel-link svg { width: 16px; height: 16px; stroke: var(--red); fill: none; stroke-width: 2; }

.panel:hover img, .panel:focus-within img { filter: none; transform: scale(1); }
.panel::after {   /* extra fade behind the description, so it reads over busy website screenshots */
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 60%; z-index: 1;
  background: linear-gradient(0deg, rgba(17,17,17,.96) 0%, rgba(17,17,17,.85) 40%, rgba(17,17,17,0) 100%);
  opacity: 0; transition: opacity .45s ease;
}
.panel:hover::after, .panel:focus-within::after { opacity: 1; }
.panel:hover::before, .panel:focus-within::before { opacity: .45; }
.panel:hover .panel-info, .panel:focus-within .panel-info { opacity: 1; transform: none; }
@media (hover: none) {   /* touch screens: show details without hover */
  .panel img { filter: none; }
  .panel-info { opacity: 1; transform: none; }
}



/* Approach */
.approach-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: 80px; }
.steps { counter-reset: step; display: grid; gap: 0; }
.step {
  display: grid; grid-template-columns: 74px 1fr; gap: 20px;
  padding: 28px 0; border-bottom: 1px solid var(--line);
}
.step:first-child { border-top: 1px solid var(--line); }
.step-num { font-family: var(--display); font-size: 34px; font-weight: 300; color: var(--red); line-height: 1; }
.step h3 { font-size: 21px; margin-bottom: 6px; }
.step p { font-size: 15px; }
/* Who we serve: clean 2x2 list, no box */
.serve { margin-top: 44px; }
.serve-title {
  display: block; font-size: 12px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--slate); font-weight: 500; margin-bottom: 4px;
}
.serve-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; column-gap: 32px; }
.serve-grid li {
  display: flex; align-items: center; gap: 14px;
  padding: 18px 0; border-bottom: 1px solid var(--line);
  font-family: var(--display); font-size: 16px; font-weight: 500; color: var(--ink);
}
.serve-grid svg { width: 22px; height: 22px; flex: none; stroke: var(--red); fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

/* CTA */
.cta {   /* full-width red band */
  padding: 0; background: var(--red); color: var(--white);
  position: relative; overflow: hidden;
}
/* Circle pattern: concentric rings radiating from behind the button, fading out,
   plus one bold ring peeking in at the bottom left to balance it */
.cta::after {
  content: ""; position: absolute; z-index: 0;
  right: -180px; top: 50%; width: 760px; height: 760px; transform: translateY(-50%);
  border-radius: 50%;
  background: repeating-radial-gradient(circle at center,
    rgba(255,255,255,.16) 0 1.5px, transparent 1.5px 34px);
  -webkit-mask-image: radial-gradient(circle at center, #000 18%, transparent 68%);
          mask-image: radial-gradient(circle at center, #000 18%, transparent 68%);
  pointer-events: none;
}
.cta::before {
  content: ""; position: absolute; z-index: 0;
  left: -110px; bottom: -150px; width: 300px; height: 300px;
  border: 46px solid rgba(255,255,255,.07); border-radius: 50%;
  pointer-events: none;
}
.cta-inner {
  display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: center;
  padding: clamp(56px, 7vw, 90px) 0;
  position: relative; z-index: 1;
}
.cta h2 { color: var(--white); font-size: clamp(28px, 3.2vw, 44px); margin-bottom: 12px; }
.cta p { color: rgba(255,255,255,.85); font-weight: 300; max-width: 560px; }
.btn {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 16px 32px; font-weight: 500; font-size: 15px;
  background: var(--black); color: var(--white); position: relative; z-index: 1;
  transition: background .2s, transform .2s;
}
.btn:hover { background: var(--black); transform: translateY(-2px); }
.btn svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 1.8; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 80px; align-items: start; }
.contact-details { list-style: none; margin: 36px 0 0; padding: 0; }
.contact-details li {
  display: grid; grid-template-columns: 44px 1fr; gap: 14px;
  padding: 20px 0; border-top: 1px solid var(--line);
}
.contact-details li:last-child { border-bottom: 1px solid var(--line); }
.contact-details svg { width: 24px; height: 24px; stroke: var(--red); fill: none; stroke-width: 1.5; margin-top: 2px; }
.contact-details span { display: block; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--slate); margin-bottom: 4px; }
.contact-details a { font-size: 16px; color: var(--ink); }
.contact-details a:hover { color: var(--red-dark); }

/* Enquiry form: same language as the rest of the site — thin lines, small caps labels,
   red accents, square black button. No boxes. */
.contact-form {
  position: relative; display: grid; gap: 30px;
  padding-top: 34px; border-top: 1.5px solid var(--ink);
}
.form-title { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.form-title b { font-size: 22px; font-weight: 600; letter-spacing: -0.01em; }
.form-title small { font-size: 13px; color: var(--slate); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.contact-form label { display: grid; gap: 6px; }
.contact-form label span {
  font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--slate); font-weight: 500;
}
.contact-form label span i { font-style: normal; color: var(--red); }
.contact-form input, .contact-form select, .contact-form textarea {
  width: 100%; font: 400 16px var(--sans); color: var(--ink);
  background: transparent; border: 0; border-bottom: 1.5px solid var(--line); border-radius: 0;
  padding: 10px 0 12px; transition: border-color .25s;
  -webkit-appearance: none; appearance: none;
}
.contact-form select {
  cursor: pointer; padding-right: 28px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23111' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") right 2px center / 16px no-repeat;
}
.contact-form select:invalid { color: #8a8a8a; }
.contact-form textarea { resize: vertical; min-height: 110px; line-height: 1.6; }
.contact-form ::placeholder { color: #9a9a9a; font-weight: 300; }
.contact-form input:hover, .contact-form select:hover, .contact-form textarea:hover { border-bottom-color: #bdbdbd; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus {
  outline: none; border-bottom-color: var(--red);
}
.contact-form label:focus-within span { color: var(--ink); }
.contact-form .invalid { border-bottom-color: var(--red); }
.form-error { color: var(--red-dark); font-size: 14px; margin-top: -10px; }
.form-foot { display: grid; gap: 14px; padding-top: 6px; }
.form-foot small { font-size: 12.5px; line-height: 1.6; color: var(--slate); }
.wa-submit {
  display: inline-flex; align-items: center; justify-content: space-between; gap: 28px; cursor: pointer;
  width: 100%; height: 62px; padding: 0 26px;
  border: 0; border-radius: 0; background: var(--black); color: var(--white);
  font: 500 15px var(--sans); transition: background .2s;
}
.wa-submit .lbl { display: inline-flex; align-items: center; gap: 12px; }
.wa-submit .wa { width: 20px; height: 20px; fill: var(--white); }
.wa-submit .arr { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 2; transition: transform .2s; }
.wa-submit:hover { background: var(--red); }
.wa-submit:hover .arr { transform: translateX(4px); }
.wa-submit:focus-visible { outline: 3px solid rgba(237,29,38,.4); outline-offset: 3px; }
@media (max-width: 600px) {
  .form-row { grid-template-columns: 1fr; }
}

/* Footer */
.footer { background: var(--black); color: rgba(255,255,255,.7); padding: 70px 0 36px; font-size: 14px; }
.footer-top { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.3fr; gap: 50px; padding-bottom: 46px; border-bottom: 1px solid rgba(255,255,255,.12); }
.footer-logo { display: inline-block;  padding: 10px 14px; margin-bottom: 20px; }
.footer-logo img { height: 40px; width: auto; }
.footer h4 { color: var(--white); font-family: var(--display); font-weight: 600; font-size: 16px; margin: 0 0 16px; }
.footer ul { list-style: none; padding: 0; margin: 0; line-height: 2.2; }
.footer a:hover { color: var(--red); }
.footer-tagline { font-family: var(--display); font-weight: 300; color: var(--white); font-size: 18px; margin-bottom: 10px; }
.footer-tagline b { font-weight: 600; }
.disclaimer { font-size: 12px; line-height: 1.7; opacity: .7; padding-top: 28px; max-width: 900px; }
.copyright { font-size: 12px; opacity: .6; margin-top: 16px; }

/* Reveal animation */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .hero { --split: 48%; }
  .about-grid, .approach-grid, .contact-grid { gap: 50px; }
  .cards { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .menu-toggle { display: block; }
  .nav {
    position: fixed; top: 88px; left: 0; right: 0;
    flex-direction: column; align-items: flex-start; gap: 0;
    background: var(--white); padding: 8px var(--gutter) 24px;
    border-bottom: 1px solid var(--line);
    transform: translateY(-100%); visibility: hidden;
    transition: transform .35s, visibility 0s .35s; z-index: -1;
  }
  .nav.open { transform: none; visibility: visible; transition: transform .35s; }
  .nav a { padding: 14px 0; width: 100%; border-bottom: 1px solid var(--mist); }
  .nav .btn-nav { margin-top: 14px; text-align: center; border-bottom: 1.5px solid var(--red); }
  .menu-toggle.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .menu-toggle.open span:nth-child(2) { opacity: 0; }
  .menu-toggle.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

  .hero {
    height: auto; min-height: 0; max-height: none;
    display: flex; flex-direction: column;
    margin-top: 0; padding: 88px 0 0;
  }
  .hero-dash { display: none; }
  .hero-copy, .hero-img { position: static; }
  .hero-copy { order: 1; width: auto; padding: 44px var(--gutter) 36px; }
  .hero h1 { font-size: clamp(22px, 7.2vw, 44px); }
  .hero h1 span { white-space: normal; }
  .hero-lead { max-width: 620px; min-width: 0; margin-left: 0; }
  .hero-img { order: 2; height: clamp(280px, 55vw, 440px); margin-right: 0; }
  .hero-cta { order: 3; position: relative; left: auto; bottom: auto; z-index: 4; width: auto; margin: -36px var(--gutter) 0; }
  .hero-rail { display: none; }
  .hero-bar {
    position: static; order: 4; width: auto; height: auto;
    padding: 20px var(--gutter); margin-top: 0;
  }
  .hero-social { flex-direction: row; }
  .hero-social a { width: 40px; height: 40px; border: 1px solid rgba(255,255,255,.45); }

  .about-grid, .services-head, .approach-grid, .contact-grid, .pv-grid { grid-template-columns: 1fr; }
  /* projects become a plain grid on tablets and phones: no swiping, no PREV/NEXT */
  .panel-track { display: grid; grid-template-columns: 1fr 1fr; overflow: visible; scroll-snap-type: none; }
  .panel { height: 460px; border-bottom: 1px solid rgba(255,255,255,.08); }
  .panel:last-child:nth-child(odd) { grid-column: 1 / -1; }   /* odd count: last project spans the full row */
  .about-grid { gap: 40px; }
  .about-media img { aspect-ratio: 4 / 3; max-height: 460px; }
  .pv-item, .pv-item + .pv-item { padding: 0; border-left: 0; }
  .pv-item + .pv-item { margin-top: 40px; padding-top: 40px; border-top: 1px solid rgba(255,255,255,.18); }
  .services-head { gap: 10px; }
  .values { grid-template-columns: repeat(2, 1fr); row-gap: 28px; }
  .value:nth-child(3) { padding-left: 0; border-left: 0; }
  .cta-inner { grid-template-columns: 1fr; }
  .cta-inner .btn { justify-self: start; }
  .cta::after { width: 520px; height: 520px; right: -220px; top: auto; bottom: -260px; transform: none; }
  .cta::before { display: none; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-top > div:first-child { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  .header .container { height: 72px; }
  .nav { top: 72px; }
  .hero { padding-top: 72px; }
  .page-hero { padding-top: 72px; }
  .panel { height: 400px; }
  .panel-title { left: 20px; right: 20px; top: 22px; font-size: 13px; }
  .panel-type { left: 20px; bottom: 22px; }
  .panel-info { left: 52px; right: 20px; bottom: 22px; }
  .section-label { white-space: nowrap; gap: 14px; }
  .section-label::after, .clients-head .section-label::before { width: 56px; }
  .cta-inner .btn { width: 100%; justify-content: space-between; }
  .logo img { height: 42px; }
  .cards { grid-template-columns: 1fr; }
  .values { grid-template-columns: 1fr; }
  .values { row-gap: 0; }
  .value, .value + .value { padding: 20px 0; border-left: 0; }
  .value + .value { border-top: 1px solid rgba(255,255,255,.15); }
  .footer-top { grid-template-columns: 1fr; }
  .step { grid-template-columns: 52px 1fr; }
  .serve-grid { grid-template-columns: 1fr; }
  .step-num { font-size: 28px; }
}

/* ---------- Shared additions for multi-page ---------- */
.nav a.active { color: var(--red-dark); }
.nav a.active::after { width: 100%; }
.more-link {   /* square button, same family as the hero's "Get in touch" */
  display: inline-flex; align-items: center; justify-content: space-between; gap: 28px;
  margin-top: 30px; padding: 16px 24px; min-width: 210px;
  background: var(--black); color: var(--white);
  font-size: 14px; font-weight: 500; transition: background .2s;
}
.more-link svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 2; transition: transform .2s; }
.more-link:hover { background: var(--red); }
.more-link:hover svg { transform: translateX(4px); }

/* ---------- About page: page hero (same language as the home hero) ---------- */
.page-hero {   /* shares the home hero's red bar + floating button (same variables) */
  --pad: clamp(40px, 6vw, 96px);
  --split: 46%;
  --bar: 88px;
  position: relative;
  display: grid; grid-template-columns: 46% 1fr;
  min-height: 78vh; padding: 88px 0 0; background: var(--white);
}
.page-hero-copy {
  padding: 56px var(--pad) calc(var(--bar) + 56px);
  display: flex; flex-direction: column; justify-content: center;
}
.crumbs { font-size: 13px; color: var(--slate); margin-bottom: 28px; display: flex; gap: 10px; align-items: center; }
.crumbs a:hover { color: var(--red-dark); }
.crumbs span[aria-hidden] { width: 18px; height: 1.5px; background: var(--ink); display: inline-block; }
.page-hero h1 {
  font-family: var(--sans); font-weight: 300;
  font-size: clamp(30px, 3.3vw, 54px); line-height: 1.12; letter-spacing: -0.02em;
  margin: 0 0 clamp(26px, 4vh, 44px);
}
.page-hero h1 span { display: block; white-space: nowrap; }
.page-hero h1 span + span { padding-left: 1.1em; }
.page-hero h1 b { font-weight: 600; }
.page-hero .hero-lead { max-width: 440px; min-width: 0; }
.page-hero-img {
  position: relative; min-height: 420px;
  background: #dfe3e6 url("../about-business-owners.jpg") 60% center / cover no-repeat;
}
.page-hero-img::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(17,17,17,.25) 0%, rgba(17,17,17,.08) 40%, rgba(17,17,17,.4) 100%);
}
.story-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.story-grid p + p { margin-top: 18px; }

@media (max-width: 900px) {
  .page-hero { grid-template-columns: 1fr; min-height: 0; }
  .page-hero-copy { padding: 44px var(--gutter) 40px; }
  .page-hero { display: flex; flex-direction: column; }
  .page-hero-img { order: 2; }
  .page-hero h1 { font-size: clamp(26px, 7vw, 44px); }
  .page-hero h1 span { white-space: normal; }
  .page-hero-img { min-height: 340px; }
  .story-grid { grid-template-columns: 1fr; gap: 24px; }
}

/* =========================================================
   Animations (all switched off for "reduce motion" users)
   ========================================================= */
@media (prefers-reduced-motion: no-preference) {

  /* ----- Hero / page hero: plays once on load ----- */
  .hero-img, .page-hero-img {
    animation: wipe-in 1.3s cubic-bezier(.77,0,.18,1) .15s both, settle 2.8s cubic-bezier(.2,.6,.2,1) .15s both;
  }
  .hero h1 span, .page-hero h1 span {
    animation: rise-in .9s cubic-bezier(.2,.7,.2,1) both;
  }
  .hero h1 span:nth-child(1), .page-hero h1 span:nth-child(1) { animation-delay: .45s; }
  .hero h1 span:nth-child(2), .page-hero h1 span:nth-child(2) { animation-delay: .6s; }
  .hero-meta, .crumbs { animation: fade-up .8s ease .85s both; }
  .hero-meta::after { animation: draw-x 1s cubic-bezier(.7,0,.2,1) 1.05s both; }
  .hero-lead { animation: fade-up .8s ease 1s both; }
  .hero-cta { animation: slide-up .8s cubic-bezier(.2,.7,.2,1) 1.2s both; }
  .hero-bar { animation: slide-right .9s cubic-bezier(.2,.7,.2,1) 1.1s both; }
  .hero-rail { animation: fade-in 1s ease 1.3s both; }
  .hero-dash { animation: draw-x .6s ease 1.4s both; }

  /* ----- Scroll reveals ----- */
  /* section label lines draw across once the block appears */
  .reveal .section-label::after, .reveal .section-label::before { max-width: 0; transition: max-width 1s cubic-bezier(.7,0,.2,1) .25s; }
  .reveal.in .section-label::after, .reveal.in .section-label::before { max-width: 120px; }

  /* About photo wipes in */
  .about-grid.reveal .about-media img { clip-path: inset(0 100% 0 0); transition: clip-path 1.2s cubic-bezier(.77,0,.18,1) .1s; }
  .about-grid.reveal.in .about-media img { clip-path: inset(0 0 0 0); }

  /* children of [data-stagger] appear one after another (JS sets --i) */
  [data-stagger].reveal { opacity: 1; transform: none; }
  [data-stagger] > * {
    opacity: 0; transform: translateY(26px);
    transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1);
    transition-delay: calc(var(--i, 0) * 90ms + 100ms);
  }
  .in[data-stagger] > *, .in [data-stagger] > * { opacity: 1; transform: none; }
  /* the project panels keep their own hover transitions after appearing */
  .panel-track[data-stagger] > .panel { transition: opacity .8s ease, transform .8s cubic-bezier(.2,.7,.2,1); transition-delay: calc(var(--i, 0) * 120ms + 100ms); }

  /* service card icons lift on hover */
  .card-icon { transition: stroke .3s, transform .35s cubic-bezier(.2,.7,.2,1); }
  .card:hover .card-icon { transform: translateY(-4px) scale(1.06); }

  /* hero button arrow nudges on hover */
  .hero-cta svg, .btn svg { transition: transform .2s; }
  .hero-cta:hover svg, .btn:hover svg { transform: translateX(4px); }

  /* red banner rings gently breathe */
  .cta::after { animation: breathe 7s ease-in-out infinite; }
  .cta::before { animation: drift 9s ease-in-out infinite; }

  @keyframes wipe-in   { from { clip-path: inset(0 0 0 100%); } to { clip-path: inset(0 0 0 0); } }
  @keyframes settle    { from { transform: scale(1.08); } to { transform: scale(1); } }
  @keyframes rise-in   { from { opacity: 0; transform: translateY(32px); } to { opacity: 1; transform: none; } }
  @keyframes fade-up   { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
  @keyframes fade-down { from { opacity: 0; transform: translateY(-12px); } to { opacity: 1; transform: none; } }
  @keyframes fade-in   { from { opacity: 0; } to { opacity: 1; } }
  @keyframes slide-up  { from { opacity: 0; transform: translateY(100%); } to { opacity: 1; transform: none; } }
  @keyframes slide-right { from { transform: translateX(-100%); } to { transform: none; } }
  @keyframes draw-x    { from { max-width: 0; } to { max-width: 120px; } }
  @keyframes breathe   { 0%, 100% { transform: translateY(-50%) scale(1); opacity: 1; } 50% { transform: translateY(-50%) scale(1.06); opacity: .75; } }
  @keyframes drift     { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(14px, -10px); } }
}
@media (prefers-reduced-motion: no-preference) and (max-width: 900px) {
  /* on small screens the hero pieces are stacked, so keep their entrances simple */
  .hero-cta { animation: fade-up .8s ease 1s both; }
  .hero-bar { animation: fade-up .8s ease 1.1s both; }
  .cta::after { animation: none; }
}

/* narrow phones: projects stack in one column */
@media (max-width: 520px) {
  .panel-track { grid-template-columns: 1fr; }
  .panel { height: 420px; }
}

/* Projects on tablets & phones: separate, readable cards (no hover needed) */
@media (max-width: 900px) {
  .digital { background: var(--white); padding: 56px var(--gutter); }
  .panel-track { gap: 16px; }
  .panel {
    height: auto; min-height: 400px; border: 0;
    display: flex; flex-direction: column; padding: 22px 20px 24px;
  }
  .panel img { filter: none; transform: none; }
  .panel::before {
    opacity: 1;
    background: linear-gradient(180deg, rgba(17,17,17,.8) 0%, rgba(17,17,17,.25) 28%, rgba(17,17,17,.55) 48%, rgba(17,17,17,.9) 68%, rgba(17,17,17,.96) 100%);
  }
  .panel-title, .panel-type, .panel-info {
    position: relative; z-index: 2; left: auto; right: auto; top: auto; bottom: auto;
  }
  .panel-title { font-size: 14px; }
  .panel-type {   /* horizontal label above the description instead of vertical text */
    writing-mode: horizontal-tb; transform: none; margin-top: auto; margin-bottom: 10px;
    display: inline-flex; align-items: center; gap: 10px;
    font-size: 11px; font-weight: 600; letter-spacing: .18em; color: var(--white);
  }
  .panel-type::before { content: ""; width: 18px; height: 2px; background: var(--red); }
  .panel-info { opacity: 1; transform: none; }
  .panel-info p { font-size: 13.5px; color: rgba(255,255,255,.92); }
}
@media (max-width: 520px) {
  .panel { min-height: 380px; }
}

/* ---------- Founder: full-width photo section with overlay ---------- */
.founder {
  position: relative; overflow: hidden;
  min-height: 88vh; display: flex; align-items: center;
  padding: clamp(80px, 12vw, 140px) 0;
  color: var(--white);
  background: #1a1a1a url("../owner-Image.jpg") 65% center / cover no-repeat;   /* OWNER PHOTO goes here */
}
.founder::before {   /* overlay: dark on the left for the text, clear on the right for the person */
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(17,17,17,.92) 0%, rgba(17,17,17,.78) 32%, rgba(17,17,17,.25) 62%, rgba(17,17,17,.05) 100%),
    linear-gradient(0deg, rgba(17,17,17,.6) 0%, rgba(17,17,17,0) 35%);
}
.founder::after {   /* thin red line along the bottom edge, ties it to the brand */
  content: ""; position: absolute; left: 0; bottom: 0; width: 120px; height: 6px; background: var(--red);
}
.founder .container { position: relative; z-index: 1; width: 100%; }
.founder-copy { max-width: 520px; }
.founder .section-label { color: var(--white); }
.founder .section-label .num { color: var(--red); }
.founder .section-label::after { background: var(--red); }
.founder .section-title { color: var(--white); font-size: clamp(32px, 4vw, 54px); }
.founder-copy p { color: rgba(255,255,255,.82); font-weight: 300; font-size: 16px; line-height: 1.75; }
.founder .more-link { background: var(--white); color: var(--black); }
.founder .more-link:hover { background: var(--red); color: var(--white); }

@media (min-width: 901px) and (hover: hover) {
  .founder { background-attachment: fixed; }   /* gentle parallax on desktop */
}
@media (max-width: 900px) {
  .founder { min-height: 560px; align-items: flex-end; background-position: 70% center; }
  .founder::before {   /* on small screens the text sits at the bottom, so darken from the bottom up */
    background: linear-gradient(0deg, rgba(17,17,17,.95) 0%, rgba(17,17,17,.8) 40%, rgba(17,17,17,.2) 75%, rgba(17,17,17,.1) 100%);
  }
}

/* project-specific crop: keep left-aligned headlines in view */
.panel img[src*="smart-gut"], .panel img[src*="lucmo"] { object-position: center; }
@media (max-width: 900px) { .panel::after { display: none; } }

/* Back to top */
.back-to-top {
  position: fixed; right: 22px; bottom: 22px; z-index: 999;
  width: 52px; height: 52px; display: grid; place-items: center;
  background: var(--black); color: var(--white); border-radius: 50%;
  box-shadow: 0 14px 26px rgba(17,17,17,.18); opacity: 0; visibility: hidden;
  transform: translateY(16px); transition: opacity .25s ease, transform .25s ease, visibility .25s ease, background .2s ease;
}
.back-to-top.show {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.back-to-top:hover { background: var(--red); }
.back-to-top:focus-visible {
  outline: 3px solid rgba(237,29,38,.35); outline-offset: 3px;
}
.back-to-top svg {
  width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 2;
}
@media (max-width: 600px) {
  .back-to-top { right: 18px; bottom: 18px; width: 48px; height: 48px; }
}
