/* =========================================
   WebsitesNZ – Base Design Tokens
   ========================================= */

:root {
  /* Brand palette */
  --color-white: #FFFFFF;
  --color-light-silver: #F5F5F5;      /* Light background */
  --color-cool-silver: #A8A8A8;       /* Borders / subtle text */
  --color-mid-grey: #666666;          /* Secondary text */
  --color-charcoal-black: #222222;    /* Primary text */
  --color-deep-black: #000000;        /* Strong contrast / footer */
  --color-red-ochre: #9C322F;         /* Accent / CTAs */
  --color-light-red-ochre: #B85B58;   /* Accent gradient */

  /* Gradients */
  --gradient-black-silver-h: linear-gradient(
    to right,
    var(--color-deep-black) 0%,
    var(--color-cool-silver) 100%
  );

  --gradient-black-silver-v: linear-gradient(
    to bottom,
    var(--color-deep-black) 0%,
    var(--color-cool-silver) 100%
  );

  --gradient-black-silver-top: linear-gradient(
    to top,
    var(--color-deep-black) 0%,
    var(--color-cool-silver) 100%
  );

  --gradient-red-ochre-soft: linear-gradient(
    135deg,
    rgba(156, 50, 47, 0.04) 0%,
    rgba(184, 91, 88, 0.06) 40%,
    rgba(255, 255, 255, 0.9) 100%
  );

  /* Accent colors used ONLY in icon/shape art */
  --color-hero-orange: #f08c3b;
  --color-hero-teal: #2f7a88;
  --color-hero-ivory: #fff7e9;

  /* Typography */
  --font-heading: "Outfit", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --font-size-xs: 0.75rem;
  --font-size-sm: 0.875rem;
  --font-size-md: 1rem;
  --font-size-lg: 1.125rem;
  --font-size-xl: 1.5rem;
  --font-size-2xl: 2.1rem;
  --font-size-3xl: clamp(2.4rem, 4vw, 3.1rem);

  /* Layout */
  --max-width: 1600px;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --shadow-soft: 0 18px 45px rgba(0, 0, 0, 0.12);
  --shadow-subtle: 0 10px 25px rgba(0, 0, 0, 0.06);

  --header-offset: 92px;

    /* Animation Timeline */
    --anim-gap: 60ms;

    --anim-design-dur: 1.6s;
    --anim-maint-dur:  1.6s;
    --anim-cms-dur:    1.35s;
    --anim-logo-dur:   1.35s;

    --anim-chip-dur: 520ms;
    --anim-chip-last-offset: 720ms; /* last chip offset */
    --anim-overlap: 680ms; /* CMS starts 0.42s before maintenance completes */


    /* overlap control: CMS starts before maintenance completes */
    --anim-overlap: 420ms;

    --anim-design-delay: 0ms;
    --anim-maint-delay:  calc(var(--anim-design-delay) + var(--anim-design-dur) + var(--anim-gap));
    --anim-cms-delay:    calc(var(--anim-maint-delay)  + var(--anim-maint-dur)  - var(--anim-overlap));
    --anim-logo-delay:   calc(
    var(--anim-cms-delay) + var(--anim-cms-dur)
    + var(--anim-chip-last-offset) + var(--anim-chip-dur)
    + var(--anim-gap)
    )

}
/* =========================================
   Reset & Base
   ========================================= */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--font-size-md);
  line-height: 1.6;
  color: var(--color-charcoal-black);
  background-color: var(--color-white);
}

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

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

button,
input,
select,
textarea {
  font: inherit;
}

/* Skip link */

.skip-link {
  position: absolute;
  left: -999px;
  top: 0.5rem;
  padding: 0.5rem 1rem;
  background: var(--color-red-ochre);
  color: var(--color-white);
  border-radius: var(--radius-sm);
  z-index: 1000;
}

.skip-link:focus {
  left: 0.75rem;
}

/* Containers & generic sections */

.container {
  width: 100%;
  max-width: var(--max-width);
  margin-inline: auto;
}

section {
  padding-block: 4rem;
}

@media (min-width: 960px) {
  section {
    padding-block: 5rem;
  }
}

/* Headings */

h1, h2, h3 {
  font-family: var(--font-heading);
  margin: 0 0 0.75rem;
  line-height: 1.2;
}

h1 {
  font-size: var(--font-size-3xl);
}

h2 {
  font-size: var(--font-size-2xl);
}

h3 {
  font-size: var(--font-size-xl);
}

p {
  margin: 0 0 0.9rem;
}

.section-title {
  font-size: var(--font-size-2xl);
  text-align: center;
  margin-bottom: 0.75rem;
}

.section-title + p {
  text-align: center;
  max-width: 640px;
  margin-inline: auto;
}

section[id]{
  scroll-margin-top: calc(var(--header-offset, 92px) + 16px);
}


body.nav-open {
  overflow: hidden;
}

.logo-img,
.footer-logo { aspect-ratio: 1 / 1; }

/* =========================================
   Buttons
   ========================================= */

.btn-primary,
.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.4rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: var(--font-size-sm);
  border: 1px solid transparent;
  cursor: pointer;
  transition:
    background-color 180ms ease-out,
    color 180ms ease-out,
    box-shadow 180ms ease-out,
    transform 120ms ease-out,
    border-color 180ms ease-out;
  text-decoration: none;
}

.btn-primary {
  background-color: var(--color-red-ochre);
  color: var(--color-white);
  box-shadow: 0 12px 35px rgba(156, 50, 47, 0.45);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background-color: var(--color-deep-black);
  color: var(--color-cool-silver);
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.45);
  transform: translateY(-1px);
  text-decoration: none;
}

.btn-outline {
  background-color: var(--color-white);
  color: var(--color-charcoal-black);
  border-color: rgba(0, 0, 0, 0.12);
}

.btn-outline:hover,
.btn-outline:focus-visible {
  border-color: var(--color-red-ochre);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

/* =========================================
   Masthead Background
   ========================================= */

.masthead {
  background: var(--gradient-red-ochre-soft);
  margin: 0;
  padding: 0;
}

/* =========================================
   Header & Navigation
   ========================================= */

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--color-white);
}

@supports (backdrop-filter: blur(1px)) {
  .site-header {
    backdrop-filter: blur(0);
  }
}

.site-header.is-scrolled {
  box-shadow: 0 6px 20px rgba(0,0,0,0.08);
}



.header-inner {
  display: grid;
  grid-template-columns: auto 1fr auto; /* logo | nav | cta */
  align-items: center;
  column-gap: 2rem;

}



/* ------------------------------
   Logo (140px wide)
------------------------------- */
.logo-img {
  width: 180px;
  height: 180px;
}

.logo-link {
  justify-self: flex-start;
}

/* ------------------------------
   Navigation
------------------------------- */

.main-nav {
  width: 100%;
}

.nav-links {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 2rem;
  padding: 0;
  margin: 0;
}

.nav-links a {
  font-size: 20px;              /* requested preview size */
  font-weight: 500;
  text-decoration: none;
  padding: 0.35rem 0.1rem;
  position: relative;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.2rem;
  width: 0%;
  height: 2px;
  background: var(--color-red-ochre);
  transition: width 180ms ease-out;
}

.nav-links a:hover::after,
.nav-links a:focus-visible::after {
  width: 100%;
}

/* Active nav link */
.nav-links a[aria-current="page"] {
  font-weight: 700;
}

.nav-links a[aria-current="page"]::after {
  width: 100%;
}

/* =========================================
   Mobile Navigation
   ========================================= */

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,0.15);
  background: rgba(255,255,255,0.85);
  cursor: pointer;
  position: relative;
}

.nav-toggle__bars,
.nav-toggle__bars::before,
.nav-toggle__bars::after {
  width: 20px;
  height: 3px;        /* thicker */
  border-radius: 999px;
}
.nav-toggle__bars::before { top: -7px; }
.nav-toggle__bars::after  { top:  7px; }

/* Open state (X icon) */
body.nav-open .nav-toggle__bars {
  background: transparent;
}
body.nav-open .nav-toggle__bars::before {
  transform: translateX(-50%) rotate(45deg);
  top: 0;
}
body.nav-open .nav-toggle__bars::after {
  transform: translateX(-50%) rotate(-45deg);
  top: 0;
}

/* Mobile panel */
.mobile-nav__panel {
  margin-top: 0.75rem;
  border-radius: 16px;
  background: #fff;
  opacity: 0;
  transform: translateY(-6px);
  pointer-events: none;
  transition: opacity 200ms ease, transform 200ms ease;
}

body.nav-open .mobile-nav__panel {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* Mobile layout */
@media (max-width: 720px) {
  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .main-nav,
  .header-cta {
    display: none;
  }
}


/* ------------------------------
   Header CTA Button
------------------------------- */

.btn-header {
  padding: 0.6rem 1.3rem;
  border-radius: 999px;
  font-size: 1rem;
  font-weight: 600;
  border: 1px solid var(--color-red-ochre);
  color: var(--color-red-ochre);
  background-color: var(--color-white);
  transition: 
    background-color 160ms ease-out,
    color 160ms ease-out,
    box-shadow 160ms ease-out,
    transform 120ms ease-out;
}

.btn-header:hover,
.btn-header:focus-visible {
  background-color: var(--color-red-ochre);
  color: var(--color-white);
  box-shadow: 0 10px 26px rgba(156, 50, 47, 0.35);
  transform: translateY(-1px);
  text-decoration: none;
}


/* =========================================
   Hero
   ========================================= */

.hero {
  padding-block: 3.75rem 4.5rem;
  padding-bottom: 0;
}

.hero-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;  /* hero content centered */
  gap: 2.5rem;
}

.hero-content {
  max-width: 640px;
  margin-inline: auto;
}

.hero-kicker {
  font-family: var(--font-heading);
  font-size: var(--font-size-sm);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-mid-grey);
  margin-bottom: 0.4rem;
}

.hero-subtitle {
  font-size: var(--font-size-lg);
  color: var(--color-mid-grey);
  margin-bottom: 1.4rem;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 0.9rem;
  margin-bottom: 1.4rem;
}

.hero-highlights {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: var(--font-size-sm);
  color: var(--color-mid-grey);
}

.hero-highlights li + li {
  margin-top: 0.3rem;
}

.hero-bento {
  position: relative;
  display: grid;
  grid-template-columns: repeat(13, minmax(0, 1fr));
 grid-template-rows: repeat(4, minmax(120px, auto));
  gap: 0.75rem; /* visual separation between elements */
  background: var(--gradient-black-silver-top);
  padding: 1.8rem;
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.hero-card {
  background: #ffffff;
  border-radius: 18px;
  box-shadow: var(--shadow-subtle);
  display: flex;
  flex-direction: column;
  padding: 1.2rem 1.25rem;
}

.hero-card-media {
  margin-bottom: 0.9rem;
}

.hero-card-copy h3 {
  font-size: var(--font-size-lg);
  margin-bottom: 0.4rem;
}

.hero-card-copy p {
  font-size: var(--font-size-sm);
  color: var(--color-mid-grey);
  margin: 0;
}

.hero-media-shape {
  width: 100%;
  height: 80px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.12);
  position: relative;
  overflow: hidden;
}

/* Design card: warm accent block */
.hero-media-shape-design::before {
  content: "";
  position: absolute;
  inset: 18%;
  border-radius: 14px;
  background: linear-gradient(
    135deg,
    var(--color-hero-orange),
    var(--color-hero-ivory)
  );
}

/* Maintenance card: teal “status dashboard” bar */
.hero-media-shape-maintenance::before {
  content: "";
  position: absolute;
  left: 10%;
  right: 10%;
  top: 25%;
  height: 38%;
  border-radius: 999px;
  background: linear-gradient(
    135deg,
    var(--color-hero-teal),
    var(--color-hero-orange)
  );
}

/* CMS card: stacked blocks */
.hero-media-shape-cms::before,
.hero-media-shape-cms::after {
  content: "";
  position: absolute;
  border-radius: 14px;
}

.hero-media-shape-cms::before {
  inset: 18% 35% 40% 5%;
  background: #111111;
}

.hero-media-shape-cms::after {
  inset: 40% 5% 18% 35%;
  background: linear-gradient(
    135deg,
    var(--color-hero-orange),
    var(--color-hero-teal)
  );
}

/* LEFT ICON – spans rows 2–4 fully */
.hero-icon-left {
  grid-column: 1 / 3;   /* columns 1–2 */
  grid-row: 2 / 5;      /* NOT row 1 — begins lower */
  z-index: 1;
}

/* RIGHT ICON – spans rows 2–4 fully */
.hero-icon-right {
  grid-column: 12 / 14; /* columns 12–13 */
  grid-row: 2 / 5;
  z-index: 1;
}

/* Icon stretch behaviour */
.hero-icon {
  display: flex;
  align-items: stretch;   /* important: FULL vertical stretch */
  justify-content: center;
  overflow: hidden;       /* ensures no spill */
}

.hero-icon img {
  width: auto;
  height: 100%;           /* <-- this is what makes it stretch vertically */
  object-fit: contain;    /* keeps proportions clean */
  opacity: 0.9;
  pointer-events: none;
}

 /* =========================================
   Hero Accent Label (shared)
   ========================================= */

.hero-accent-label{
  font-size: var(--font-size-sm);
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--color-mid-grey);
  margin: 0 0 0.5rem;
  text-align: center;          /* ✅ center label */
}


/* =========================================
   HERO – Design card (layout + slow animation)
   ========================================= */

.hero-card-design {
  /* layout (unchanged) */
  grid-column: 3 / 6;
  grid-row: 1 / 5;
  display: grid;
  grid-template-rows: auto auto;
  max-width: 460px;

  /* start off-screen + invisible */
  opacity: 0;
  transform: translateY(220px);

  /* animation – slow slide up from “off-screen” */
  animation: heroSlideUpFromBottom var(--anim-design-dur) ease-out var(--anim-design-delay) forwards;

}

.hero-card-design,
.hero-card-maintenance {
  padding: 0;          /* remove default card padding */
  overflow: hidden;    /* keep corners nicely rounded */
}


/* Image + text inside the card */
.hero-card-design .hero-card-media {
  margin: 0;
}

.hero-card-design .hero-card-img {
  display: block;
  width: 100%;
  height: auto;
  max-height: none;    /* allow it to be larger */
  border-radius: 0;    /* let card's border-radius define the shape */
}

/* Text block gets the padding instead */
.hero-card-design .hero-card-copy {
  padding: 1.1rem 1.25rem 1.25rem;
}

/* Maintenance card – shorter + wider, horizontal content */
.hero-card-maintenance {
  grid-column:6 / 11;  /* keep the wider span */
  grid-row: 1 / 2.5;      /* ✅ 3 rows tall */

  padding: 0;
  overflow: hidden;

  /* keep your grow-right reveal */
  transform: scaleX(0);
  transform-origin: left center;
  opacity: 0;
  will-change: transform, opacity;
  animation: heroGrowRightSlow var(--anim-maint-dur) cubic-bezier(0.22, 0.8, 0.32, 1) var(--anim-maint-delay) forwards;

}

.hero-card-maintenance .hero-maintenance-grid {
  height: 100%;                         /* ✅ fill the card */
  display: grid;
  grid-template-columns: 180px 1fr;     /* image column + text column */
  align-items: stretch;                 /* ✅ both columns stretch full height */
  gap: 0;                               /* ✅ no inner gaps */
}

/* remove bottom margin now we're horizontal */
.hero-card-maintenance .hero-card-media {
  margin: 0;
  height: 100%;
}

.hero-maintenance-icon {
  width: 100%;
  height: 100%;            /* ✅ fills full card height */
  object-fit: cover;       /* cover makes it feel like a real image panel */
  display: block;
}

.hero-card-maintenance .hero-card-copy {
  height: 100%;
  padding: 1.4rem 1.6rem;  /* text padding only */
  display: flex;
  flex-direction: column;
  justify-content: center; /* feels premium & balanced */
}


/* tighter text in this card */
.hero-card-maintenance .hero-card-copy h3 {
  margin-bottom: 0.25rem;
}

.hero-card-maintenance .hero-card-copy p {
  font-size: var(--font-size-sm);
}



/* NEW: card C no longer touches cols 12–13 */
.hero-card-cms {
  grid-column: 9 / 12;   /* wide, still avoids cols 12–13 icon? adjust if needed */
  grid-row: 2 / 5;       /* overlaps maintenance rows 2–3 */

  position: relative;

  padding: 1.2rem 1.25rem;
  overflow: hidden;

  /* start hidden for reveal */
  opacity: 0;
  transform: scale(0.86);
  transform-origin: bottom right;
  will-change: transform, opacity;

  animation: cmsGrowFromBottomRight var(--anim-cms-dur) cubic-bezier(0.16, 0.84, 0.44, 1) var(--anim-cms-delay) forwards;

}

.hero-card-cms {
  display: grid;
  grid-template-rows: auto 1fr; /* text then bento takes remaining space */
  gap: 0.75rem;
}


.hero-card-media-large .hero-media-shape {
  height: 110px;
}

/* Logo circle overlay – anchored to bento center */
.hero-logo-circle {
  position: absolute;
  left: 50%;
  bottom: 1.8rem;              /* matches bento padding so it sits in that “empty row” space */
  transform: translateX(-50%) scale(0.25);
  transform-origin: bottom center;
  z-index: 20;
  pointer-events: none;

  width: 40%;
  aspect-ratio: 1 / 1;

  opacity: 0;
  will-change: transform, opacity;
  animation: heroLogoRise var(--anim-logo-dur) cubic-bezier(0.22, 0.8, 0.32, 1) var(--anim-logo-delay) forwards;

}


/* Inner circle */
.hero-logo-circle-inner {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.36);
  border: 2px solid rgba(255, 255, 255, 0.65);
  display: grid;
  place-items: center;
  overflow: hidden;
}

/* Logo image inside */
.hero-logo-circle-inner img {
  width: 63%;
  height: auto;
  display: block;
}


@keyframes heroSlideUpFromBottom {
  0% {
    opacity: 0;
    transform: translateY(220px);
  }
  65% {
    opacity: 1;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroGrowRightSlow {
  0% {
    transform: scaleX(0);
    opacity: 1;
  }
  40% {
    opacity: 1;
  }
  100% {
    transform: scaleX(1);
    opacity: 1;
  }
}

@keyframes cmsGrowFromBottomRight {
  0% {
    opacity: 0;
    transform:
      translate(24px, 64px)
      scaleX(0.92)
      scaleY(0.55);
  }

    100% {
    opacity: 1;
    transform:
        translate(-1.2rem, -0.4rem)
        scaleX(1.1)
        scaleY(1.1);
    }

}

.cms-bento {
  height: 100%;                 /* ✅ fills remaining card space */
  width: 100%;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  grid-template-rows: repeat(4, minmax(0, 1fr));
  gap: 0.65rem;
  align-items: stretch;
}


.cms-chip {
  --dx: 0px;
  --dy: 0px;

  background: transparent;
  box-shadow: none;
  border-radius: 0;
  padding: 0;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;

  opacity: 0;
  transform: translate(var(--dx), var(--dy)) scale(0.7);
  filter: blur(6px);
}


.cms-chip img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.hero-card-cms .cms-chip {
  animation: cmsChipPop 520ms ease-out forwards;
  animation-delay: calc(var(--anim-cms-delay) + var(--anim-cms-dur));
}


@keyframes cmsChipPop {
  0%   { opacity: 0; transform: translate(var(--dx), var(--dy)) scale(0.7); filter: blur(6px); }
  70%  { opacity: 1; transform: translate(var(--dx), var(--dy)) scale(1.05); filter: blur(0); }
  100% { opacity: 1; transform: translate(var(--dx), var(--dy)) scale(1); filter: blur(0); }
}

.cms-1 { grid-column: 1 / 3; grid-row: 1 / 3; --dx: 6px;  --dy: 4px; }
.cms-2 { grid-column: 3 / 5; grid-row: 1 / 2; --dx: -4px; --dy: 10px; }
.cms-3 { grid-column: 5 / 7; grid-row: 1 / 3; --dx: -8px; --dy: 0px; }

.cms-4 { grid-column: 2 / 4; grid-row: 3 / 5; --dx: 10px; --dy: -6px; }
.cms-5 { grid-column: 4 / 6; grid-row: 2 / 4; --dx: -6px; --dy: -4px; }
.cms-6 { grid-column: 5 / 6; grid-row: 3 / 4; --dx: 2px;  --dy: 6px; }

.hero-card-cms .cms-2 { animation-delay: calc(var(--anim-cms-delay) + var(--anim-cms-dur) + 120ms); }
.hero-card-cms .cms-4 { animation-delay: calc(var(--anim-cms-delay) + var(--anim-cms-dur) + 240ms); }
.hero-card-cms .cms-6 { animation-delay: calc(var(--anim-cms-delay) + var(--anim-cms-dur) + 360ms); }
.hero-card-cms .cms-1 { animation-delay: calc(var(--anim-cms-delay) + var(--anim-cms-dur) + 480ms); }
.hero-card-cms .cms-5 { animation-delay: calc(var(--anim-cms-delay) + var(--anim-cms-dur) + 600ms); }
.hero-card-cms .cms-3 { animation-delay: calc(var(--anim-cms-delay) + var(--anim-cms-dur) + 720ms); }


@keyframes heroLogoRise {
  0% {
    opacity: 0;
    transform: translateX(-50%) translateY(34px) scale(0.14);
    filter: blur(10px);
  }
  100% {
    opacity: 1;
    transform: translateX(-50%) translateY(-6px) scale(0.68);
    filter: blur(0);
  }
}



/* ============================
   Services Section
============================= */

.services-section {
  background: var(--color-white); /* contrast with hero */
  padding-block: 4rem;
}

.services-title {
  text-align: center;
  font-size: var(--font-size-3xl);
  margin-bottom: 0.5rem;
}

.services-subtitle {
  text-align: center;
  max-width: 640px;
  margin-inline: auto;
  color: var(--color-mid-grey);
  margin-bottom: 2.8rem;
  font-size: var(--font-size-md);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* ✅ force 2x2 */
  gap: 1.6rem;
  max-width: 1100px;                     /* optional: keeps it elegant */
  margin-inline: auto;
}


/* Card wrapper */
.service-card {
  background: var(--color-white); /* same tone as section, slightly darker */
  border-radius: 18px;
  border: 2px solid var(--color-cool-silver);
  padding: 1.2rem;
}

/* Top header row */
.service-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.service-card-header h3 {
  font-size: 32px;
  margin: 0;
}

.service-icon {
  width: 64px;
  height: 64px;
  opacity: 0.9;
}

/* Inner panel */
.service-card-body {
  background: var(--gradient-black-silver-h);
  padding: 1.2rem;
  border-radius: 16px;

  display: flex;
  flex-direction: column;
  justify-content: space-between; /* text top, button bottom */
  flex-grow: 1;                   /* ✅ equal heights */
  min-height: 150px;
}


.service-card-body p{
  margin: 0;
  color: var(--color-white);
  font-size: var(--font-size-md);
  line-height: 1.5;

  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  overflow: hidden;

  /* optional: ensures spacing consistency even when short */
  min-height: calc(1.5em * 3);  /* 3 lines */
}

.btn-service{
  margin-top: auto;   /* 👈 forces button to bottom */
  align-self: flex-start;
}


/* Button */
.btn-service {
  align-self: flex-start; /* keeps it consistent */
  display: inline-block;
  background: var(--color-red-ochre);
  padding: 0.55rem 1rem;
  border-radius: 32px;
  color: var(--color-white);
  text-decoration: none;
  font-size: var(--font-size-sm);
  font-weight: 600;
  transition: background 0.2s ease;
}

.btn-service:hover {
  background: var(--color-light-red-ochre);
}
/* =========================
   Process v2 (2-col sticky)
   ========================= */

.process-v2{
  padding-block: 4rem;
}

.process-v2__grid{
  display: grid;
  grid-template-columns: 1fr 1fr; /* ✅ 50 / 50 split */
  gap: 0;
  align-items: stretch;
  overflow: hidden;
}


/* LEFT */
.process-v2__sticky{
  background: var(--gradient-black-silver-v);
  color: var(--color-white);
  position: sticky;
  top: var(--header-offset, 92px); /* JS can set this; fallback is fine */
  height: calc(100vh - var(--header-offset, 92px));
  align-self: start;
}

.process-v2__sticky-inner{
  position: relative;
  isolation: isolate;
  height: 100%;
  padding: 2rem 2rem;
  display: flex;          /* ✅ simplest for stacked copy */
  flex-direction: column;
  gap: 0.9rem;
}


.process-v2__kicker{
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0.85;
  font-size: var(--font-size-sm);
  margin: 0;
}

.process-v2__title{
  margin: 0;
  font-size: var(--font-size-3xl);
  line-height: 1.15;
}

.process-v2__intro{
  margin: 0;
  opacity: 0.9;
  max-width: 40ch;
  font-size: var(--font-size-md);
}

.process-v2__image{
  position: absolute;            /* ✅ underlay */
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  
  width: min(520px, 90%);        /* scale nicely with column */
  height: auto;

  opacity: 0.33;                 /* ✅ subtle watermark feel */
  filter: blur(0.2px);           /* optional: softens edges slightly */
  pointer-events: none;
  user-select: none;

  z-index: -1;                   /* ✅ behind text */
}

.process-v2__kicker,
.process-v2__title,
.process-v2__intro,
.process-v2__more{
  position: relative;
  z-index: 1;
}



/* button style – pill */
.process-v2__more{
  justify-self: start;
  align-self: end;
}

/* RIGHT */
.process-v2__rail{
  background: var(--gradient-black-silver-v);
  padding: 1.4rem;
  height: calc(100vh - var(--header-offset, 92px));
  overflow-y: auto;
   overscroll-behavior: auto;

  /* No visible scrollbar */
  scrollbar-width: none;          /* Firefox */
}
.process-v2__rail::-webkit-scrollbar{
  width: 0;
  height: 0;
  scroll-snap-type: y proximity;
}

/* Cards: ~40% viewport height */
.process-v2__card{
  background: #fff;
  border-radius: 0;
  overflow: hidden;
  padding: 0;

  height: calc((100vh - var(--header-offset, 92px)) * 0.40);
  display: grid;
  grid-template-rows: 1fr 1fr; /* ✅ 50% top, 50% text */
  gap: 0.95rem;
  box-sizing: border-box;
  scroll-snap-align: start;
}

/* spacing between cards */
.process-v2__card + .process-v2__card{
  margin-top: 1.1rem;
}


/* TOP = 50% area, split into 2 columns */
.process-v2__card-top{
  display: grid;
  grid-template-columns: 1fr 2fr; /* ✅ equal halves */
  align-items: stretch;
  gap: 1rem;
  min-height: 0; /* allows children to size correctly */
  padding: 0;
  margin: 0;
}

/* LEFT meta fills its half */
.process-v2__card-meta{
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.8rem;
  min-height: 0;
  padding-left: 0.75rem
}

/* CTA circle – outlined by default */
.process-v2__pill{
  width: 44px;
  height: 44px;
  border-radius: 999px;

  background: #fff; /* ✅ white background */
  color: var(--color-red-ochre); /* ✅ red text */
  border: 2px solid var(--color-red-ochre); /* ✅ red outline */

  display: grid;
  place-items: center;

  font-weight: 800;
  font-size: 0.95rem;
  line-height: 1;
  text-decoration: none;

  box-shadow: 0 6px 18px rgba(0,0,0,0.12);
  transition:
    transform 140ms ease,
    background-color 160ms ease,
    color 160ms ease,
    box-shadow 160ms ease;
}

/* Hover / focus = your previous filled state */
.process-v2__pill:hover,
.process-v2__pill:focus-visible{
  background: var(--color-red-ochre);
  color: #fff;
  box-shadow: 0 10px 25px rgba(0,0,0,0.18);
  transform: translateY(-1px);
}


/* title stays as your aesthetic */
.process-v2__card-title{
  margin: 0;
  font-size: 1.55rem;
}

/* RIGHT media fills its half */
.process-v2__card-media{
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 0;
}

/* image fills its panel, no padding/margin/border, subtle shadow */
.process-v2__card-image{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

/* BOTTOM = 50% area (text) */
.process-v2__card-text{
  margin: 0;
  color: var(--color-mid-grey);
  font-size: var(--font-size-md);
  line-height: 1.55;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 5;  /* keeps text from pushing layout */
  line-clamp: 5;          /* removes your VSCode warning */
  align-self: start;
  padding-left: 0.75rem;
  padding-right: 0.75rem;
}


/* Responsive */
@media (max-width: 960px){
  .process-v2__grid{
    grid-template-columns: 1fr;
    border-radius: 0;
  }
  .process-v2__sticky{
    position: relative;
    top: auto;
    height: auto;
  }
  .process-v2__rail{
    height: auto;
    overflow: visible;
  }
  .process-v2__card{
    min-height: auto;
  }
}

/* =========================================
   Work (Lite) – 3-up image tiles
   ========================================= */

.work-lite{
  background: var(--color-white);
  padding-block: 4rem;
}
.work-lite__header{
  margin-bottom: 2rem;
  max-width: 72ch;
  margin-inline: auto;
  text-align: center;
}

.work-lite__kicker{
  font-family: var(--font-heading);
  font-size: var(--font-size-sm);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-mid-grey);
  margin: 0 0 0.45rem;
}

.work-lite__title{
  font-family: var(--font-heading);
  font-size: var(--font-size-2xl);
  line-height: 1.15;
  margin: 0 0 0.6rem;
}

.work-lite__sub{
  margin: 0;
  color: var(--color-mid-grey);
  font-size: var(--font-size-md);
}


/* 3-up row */
.work-lite__grid{
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

@media (min-width: 840px){
  .work-lite__grid{
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
  }
}

/* Tile */
.work-tile{
  position: relative;
  overflow: hidden;

  /* REMOVE visual container styling */
  border: none;
  border-radius: 0;
  background: transparent;
  box-shadow: none;

  aspect-ratio: 16 / 10;
  transform: translateY(0);
  transition: transform 220ms ease;
}

.work-tile:hover{
  transform: translateY(-4px);
}


.work-tile__link{
  position: absolute;
  inset: 0;
  display: block;
  text-decoration: none;
}

/* Image only */
.work-tile__img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
  transform: scale(1.01);
  transition: transform 520ms ease;
}


.work-tile:hover .work-tile__img{
  transform: scale(1.05);
}

/* Subtle corner legibility (not heavy) */
.work-tile::after{
  content:"";
  position:absolute;
  inset:0;
  background: radial-gradient(
    circle at 82% 82%,
    rgba(0,0,0,0.35) 0%,
    rgba(0,0,0,0.00) 55%
  );
  opacity: 0;
  transition: opacity 240ms ease;
  pointer-events: none;
}

.work-tile:hover::after{
  opacity: 1;
}

/* Corner circle button (not centered) */
.work-tile__cta{
  position: absolute;
  right: 14px;
  bottom: 14px;
  width: 96px;
  height: 96px;
  border-radius: 999px;

  display: grid;
  place-items: center;

  font-family: var(--font-heading);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-white);

  /* no border, translucent so image shows through */
  background: var(--color-red-ochre);
  backdrop-filter: blur(6px);

  opacity: 0;
  transform: translateY(8px) scale(0.98);
  transition:
    opacity 220ms ease,
    transform 220ms ease,
    background 220ms ease,
    letter-spacing 220ms ease;
  pointer-events: none;
}

.work-tile:hover .work-tile__cta{
  opacity: 1;
  transform: translateY(0) scale(1);
  background: var(--color-red-ochre);

}

/* Accessibility: allow keyboard focus to reveal CTA */
.work-tile__link:focus-visible + .work-tile__cta{
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* Reveal animation (section + tiles) */
[data-reveal="work"]{
  opacity: 0;
  transform: translateY(12px);
}

.work-tile[data-reveal="tile"]{
  opacity: 0;
  transform: translateY(10px);
}

.is-visible{
  opacity: 1 !important;
  transform: translateY(0) !important;
  transition: opacity 520ms ease, transform 520ms ease;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce){
  .work-tile,
  .work-tile__img,
  .work-tile__cta,
  [data-reveal="work"],
  .work-tile[data-reveal="tile"]{
    transition: none !important;
    transform: none !important;
  }
  [data-reveal="work"],
  .work-tile[data-reveal="tile"]{
    opacity: 1 !important;
  }
}

/* =========================================
   Articles – Latest (3x3 grid)
   ========================================= */

.articles{
  background: var(--color-white);
  padding-block: 4rem;
}

.articles__header{
  text-align: center;
  max-width: 72ch;
  margin-inline: auto;
  margin-bottom: 2rem;
}

/* Use same “kicker” language as hero */
.articles__kicker{
  font-family: var(--font-heading);
  font-size: var(--font-size-sm);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-mid-grey);
  margin: 0 0 0.45rem;
}

.articles__title{
  font-family: var(--font-heading);
  font-size: var(--font-size-2xl);
  line-height: 1.15;
  margin: 0 0 0.6rem;
}

.articles__sub{
  margin: 0;
  color: var(--color-mid-grey);
  font-size: var(--font-size-md);
}

/* Dark gradient panel behind the grid */
.articles__panel{
  background: var(--gradient-black-silver-v);
  padding: 1.25rem;
}

/* Grid: 1 col mobile, 2 mid, 3 desktop */
.articles__grid{
  display: grid;
  gap: 1.15rem;
  grid-template-columns: 1fr;
}

@media (min-width: 760px){
  .articles__grid{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1040px){
  .articles__grid{
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* Card: match Services card border language */
.article-card{
  background: var(--color-white);
  border: 2px solid var(--color-cool-silver);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow-subtle);

  display: grid;
  grid-template-rows: auto 1fr;
  position: relative;

  transform: translateY(0);
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.article-card:hover{
  transform: translateY(-4px);
  box-shadow: var(--shadow-soft);
}

/* Image */
.article-card__media{
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--color-light-silver);
}

.article-card__img{
  width: 100%;
  height: 100%;
  object-fit: contain;
}



/* Body */
.article-card__body{
  padding: 1.05rem 1.1rem 1.2rem;
  display: grid;
  gap: 0.55rem;
  align-content: start;
  min-height: 0;
}

.article-card__title{
  margin: 0;
  font-size: 1.2rem;
  line-height: 1.2;
}

.article-card__desc{
  margin: 0;
  color: var(--color-mid-grey);
  font-size: var(--font-size-sm);
  line-height: 1.55;

  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  overflow: hidden;

  padding-right: 3.5rem; /* ensures text doesn’t fight the CTA circle */
}

/* Bottom-right circle CTA */
.article-card__cta{
  position: absolute;
  right: 14px;
  bottom: 14px;

  width: 46px;
  height: 46px;
  border-radius: 999px;

  background: var(--color-red-ochre);
  color: #fff;

  display: grid;
  place-items: center;

  text-decoration: none;
  box-shadow: 0 12px 28px rgba(156, 50, 47, 0.35);
  transition: transform 160ms ease, background-color 160ms ease, box-shadow 160ms ease;
}

/* arrow icon styling */
.article-card__cta span{
  font-size: 1.1rem;
  line-height: 1;
}

.article-card:hover .article-card__cta,
.article-card__cta:focus-visible{
  transform: translateY(-2px);
  background: linear-gradient(135deg, var(--color-red-ochre), var(--color-light-red-ochre));
  box-shadow: 0 16px 36px rgba(156, 50, 47, 0.28);
}

.articles__footer{
  margin-top: 1.6rem;
  display: flex;
  justify-content: center;
}

/* Reveal animation (match your existing pattern) */
[data-reveal="articles"],
.article-card[data-reveal="article"]{
  opacity: 0;
  transform: translateY(12px);
}

.is-visible{
  opacity: 1 !important;
  transform: translateY(0) !important;
  transition: opacity 520ms ease, transform 520ms ease;
}

@media (prefers-reduced-motion: reduce){
  [data-reveal="articles"],
  .article-card[data-reveal="article"],
  .article-card,
  .article-card__img,
  .article-card__cta{
    transition: none !important;
    transform: none !important;
  }
  [data-reveal="articles"],
  .article-card[data-reveal="article"]{
    opacity: 1 !important;
  }
}

/* =========================================
   CTA – Refined
   ========================================= */

.cta {
  background: var(--gradient-black-silver-h);
  color: var(--color-white);
  position: relative;
  overflow: hidden;
}

/* Inner container */
.cta-inner {
  text-align: center;
  max-width: 640px;
  margin-inline: auto;
  padding-block: 4.5rem;
}

/* Kicker – matches hero */
.cta-kicker {
  font-family: var(--font-heading);
  font-size: var(--font-size-sm);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 0.6rem;
}

/* Headline */
.cta h2 {
  font-size: var(--font-size-2xl);
  margin-bottom: 0.9rem;
}

/* Supporting text */
.cta-subtext {
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 1.6rem;
  font-size: var(--font-size-md);
}

/* Button with subtle motion */
.cta-button {
  position: relative;
  transform: translateY(0);
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.cta-button:hover,
.cta-button:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.45);
}

.cta::before {
  content: "";
  position: absolute;
  inset: -40%;
  background: radial-gradient(
    circle at 50% 50%,
    rgba(255, 255, 255, 0.06),
    transparent 60%
  );
  animation: ctaGlow 18s ease-in-out infinite;
}

@keyframes ctaGlow {
  0%, 100% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(6%, -4%);
  }
}
/* =========================================
   Footer (3 columns × 3 rows grid)
   ========================================= */

.site-footer{
  /* softer than pure white to avoid clashing with white sections */
  background: linear-gradient(180deg, rgba(255,255,255,0.88), rgba(255,255,255,0.96));
  border-top: 1px solid rgba(0,0,0,0.10);
  padding-block: 3rem;
}

/* more side breathing room without changing global container */
.site-footer .container{
  padding-inline: clamp(1.25rem, 3vw, 2.25rem);
}

.footer-grid{
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.25rem;
}

/* 3 columns on desktop */
@media (min-width: 960px){
  .footer-grid{
    grid-template-columns: 1fr 1fr 1fr;
    gap: 2rem;
    align-items: start;
  }
}

.footer-col{
  display: grid;
  grid-template-rows: auto auto auto;
  gap: 1.15rem;
}

.footer-left{ text-align: left; }
.footer-center{ text-align: center; }
.footer-right{ text-align: right; }

/* Left column */
.footer-location{
  margin: 0;
  color: var(--color-mid-grey);
  font-size: var(--font-size-sm);
  letter-spacing: 0.06em;
}

.footer-btn{
  width: fit-content;
  margin-bottom: 0.75rem;
}

.footer-note{
  margin: 0;
  max-width: 34ch;
  color: var(--color-mid-grey);
  font-size: var(--font-size-sm);
  line-height: 1.5;
}

/* Center column */
.footer-logo{
  width: 200px;
  height: auto;
  margin-inline: auto;
  display: block;
}

.footer-slogan{
  margin: 0;
  color: var(--color-mid-grey);
  font-size: var(--font-size-md);
  line-height: 1.5;
}

/* Partner line */
.footer-partner{
  margin: 0;
}

.footer-partner-link{
  font-size: var(--font-size-sm);
  color: var(--color-mid-grey);
  text-decoration: none;
}

.footer-partner-link:hover,
.footer-partner-link:focus-visible{
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* You said you'll swap this for your studioTeknabu span styling */
.stk-link{
  font-weight: 700;
  letter-spacing: 0.02em;
}

/* Right column nav */
.footer-nav{
  display: grid;
  gap: 0.55rem;
}

/* Add subtle hierarchy to nav links */
.footer-nav a{
  font-size: var(--font-size-sm);
  color: var(--color-charcoal-black);
  text-decoration: none;
  opacity: 0.92;
}

.footer-nav a:hover,
.footer-nav a:focus-visible{
  opacity: 1;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Footer meta links */
.footer-meta{
  display: inline-flex;
  gap: 1rem;
  justify-content: flex-end;
  flex-wrap: wrap;
}

.footer-meta a{
  font-size: var(--font-size-sm);
  color: var(--color-charcoal-black);
  text-decoration: none;
  opacity: 0.8;
}

.footer-meta a:hover,
.footer-meta a:focus-visible{
  opacity: 1;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Copyright */
.footer-copy{
  margin: 0;
  color: var(--color-mid-grey);
  font-size: var(--font-size-sm);
}

/* Mobile alignment */
@media (max-width: 959px){
  .footer-left,
  .footer-center,
  .footer-right{
    text-align: center;
  }

  .footer-btn{
    margin-inline: auto;
  }

  .footer-note{
    margin-inline: auto;
  }

  .footer-meta{
    justify-content: center;
  }
}
@media (min-width: 960px){
  /* Ensure each column stretches to match tallest column */
  .footer-grid{
    align-items: stretch;
  }

  /* Make each column a full-height grid */
  .footer-col{
    height: 100%;
    grid-template-rows: auto 1fr auto; /* top, flexible middle, bottom */
    align-content: stretch;            /* fill available height */
  }
}
@media (min-width: 960px){
  .footer-cell{
    align-self: start;
  }

  /* Keep legal links at the bottom */
  .footer-l3, .footer-r3{
    align-self: end;
  }
}

@media (min-width: 960px){
  .footer-grid{ align-items: stretch; }
  .footer-col{
    height: 100%;
    grid-template-rows: auto 1fr auto;
    align-content: stretch;
  }
}

.brand-name {
  display: inline-flex;
  align-items: baseline;
  white-space: nowrap;
  font-family: var(--font-header);
  font-weight: 700;
  line-height: 1;
}

.brand-studio {
  text-transform: lowercase;
  font-weight: 600;
  letter-spacing: .01em;
  /* softer than TEKNABU for hierarchy */
  color: color-mix(in oklab, #468BE5, #1A1A1A 30%);
}

.brand-teknabu {
  text-transform: uppercase;
  letter-spacing: .04em;
  background: linear-gradient(
    135deg,
    #5A4DFF 0%,
    #468BE5 48%,
    #1A5799 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 .25px 0 rgba(0,0,0,.2);
}

/* =========================
   Contact Hero
   ========================= */

.page-contact {
  background: var(--color-light-silver);
}

.contact-hero {
  background: var(--gradient-red-ochre-soft);
  color: var(--color-charcoal-black);
  padding-block: 4rem 3rem;
  text-align: center;
}

.contact-hero-inner {
  max-width: 680px;
}

.contact-hero-sub {
  color: var(--color-charcoal-black);
  font-size: var(--font-size-lg);
}

/* =========================
   FAQ
   ========================= */

.contact-faq {
  background: transparent;
  color: var(--color-red-ochre);
  padding-block: 3.5rem;
}

.faq-grid {
  display: grid;
  gap: 1.4rem;
  margin-top: 2rem;
}

@media (min-width: 900px) {
  .faq-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.faq-card {
  border: 2px solid var(--color-cool-silver);
  color: var(--color-light-red-ochre);
  border-radius: 18px;
  padding: 1.1rem 1.2rem;
  background: var(--color-white);
}

.faq-card[open] {
  background: #faf7f6; /* very subtle warm tint */
  border-color: var(--color-red-ochre);
}

@media (hover: hover) {
  .faq-card summary:hover {
    color: var(--color-red-ochre);
  }
}


.faq-card summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  list-style: none;
  font-weight: 600;
}

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

.faq-icon {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: var(--color-red-ochre);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.faq-chevron {
  width: 14px;
  height: 14px;
  stroke: #fff;
  stroke-width: 2.4;
  fill: none;
  transition: transform 180ms ease;
}

/* Rotate when open */
details[open] .faq-chevron {
  transform: rotate(180deg);
}


.faq-card p {
  margin-top: 0.75rem;
  color: var(--color-mid-grey);
  font-size: var(--font-size-sm);
}

/* =========================================
   Contact (needed)
   ========================================= */

.contact {
  background: transparent;
  color: var(--color-deep-black);
  padding-left: 2rem;
  padding-right: 2rem;
}

.contact h2 {
  text-align: center;
}

.contact-form {
  background-color: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.6rem 1.9rem;
  display: grid;
  gap: 1rem;
}

.contact-form label {
  display: flex;
  flex-direction: column;
  font-size: var(--font-size-sm);
  gap: 0.35rem;
  color: var(--color-mid-grey);
}

.contact-form input,
.contact-form textarea {
  background-color: var(--color-cool-silver);
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--color-cool-silver);
  padding: 0.55rem 0.7rem;
  font-size: var(--font-size-sm);
  color: var(--color-deep-black);
  font-weight: bold;
}

.contact-form input:focus-visible,
.contact-form textarea:focus-visible {
  border-color: var(--color-red-ochre);
  box-shadow: 0 0 0 1px rgba(156, 50, 47, 0.25);
}


@media (min-width: 840px) {
  .contact-form { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact-form label.full { grid-column: 1 / -1; }
}

.form-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 1rem;
}

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

/* =========================
   Services Page
   ========================= */
/* =========================
   Services Hero (2-column)
   ========================= */

.services-hero {
  background: var(--gradient-black-silver-v) ;
  padding-block: 3.25rem 4rem;
}

.services-hero__inner {
  display: grid;
  gap: 1.6rem;
  align-items: start;
}

.services-hero__kicker {
  font-family: var(--font-heading);
  font-size: var(--font-size-sm);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-cool-silver);
  font-weight: bold;
  margin: 0 0 0.5rem;
}

.services-hero__title {
  margin: 0 0 0.75rem;
  color: var(--color-white);
}

.services-hero__intro {
  color: var(--color-cool-silver);
  font-size: var(--font-size-lg);
  margin: 0 0 1.25rem;
  max-width: 44ch;
}

.services-hero__image-wrap {
  width: min(420px, 100%);
  margin-top: 1rem;
}

.services-hero__image {
  width: 100%;
  height: auto;
  display: block;
  opacity: 0.92; /* placeholder feel */
}

/* Right column cards */
.services-hero__right {
  display: grid;
  gap: 1rem;
}

/* Card */
.service-pack {
  background: var(--color-white);
  border: 2px solid var(--color-cool-silver);
  border-radius: 18px;
  padding: 1.15rem 1.15rem;
  display: grid;
  grid-template-columns: 44px 1fr; /* icon | content */
  gap: 0.95rem;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.06);
}

.service-pack__icon {
  width: 44px;
  height: 44px;
  opacity: 0.9;
}

.service-pack__title {
  margin: 0 0 0.4rem;
  font-size: 1.25rem;
}

.service-pack__text {
  margin: 0 0 0.55rem;
  color: var(--color-mid-grey);
  font-size: var(--font-size-sm);
}

.service-pack__cta {
  margin: 0;
  font-size: var(--font-size-sm);
  color: var(--color-charcoal-black);
}

.service-pack__cta a {
  color: var(--color-red-ochre);
  font-weight: 600;
  text-decoration: none;
}

.service-pack__cta a:hover,
.service-pack__cta a:focus-visible {
  text-decoration: underline;
}

/* 2 columns on desktop */
@media (min-width: 960px) {
  .services-hero__inner {
    grid-template-columns: 1.05fr 1fr;
    gap: 2.2rem;
  }

  .services-hero__right {
    gap: 1.1rem;
  }
}

/* Tighten on small screens */
@media (max-width: 520px) {
  .service-pack {
    grid-template-columns: 40px 1fr;
    padding: 1rem;
  }

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



.services-note {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 16px;
  padding: 0.9rem 1rem;
  backdrop-filter: blur(6px);
}

.services-note-title {
  font-family: var(--font-heading);
  margin: 0 0 0.15rem;
  font-size: var(--font-size-md);
}

.services-note-sub {
  margin: 0;
  color: rgba(255,255,255,0.82);
  font-size: var(--font-size-sm);
}

@media (min-width: 900px) {
  .services-hero-notes {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
/* =====================================================
   SERVICES — CHAPTER WRAPPER (no padding)
   ===================================================== */

.service-block {
  position: relative;
  padding: 0;
  margin: 0;
  background: transparent;
}

/* Chapter panels: 1+3 white, 2+4 silver */
.service-block--design,
.service-block--custom {
  background: var(--color-white);
}

.service-block--upgrades,
.service-block--support {
  background: var(--color-light-silver);
}

/* Chapter separators (subtle, works on light surfaces) */
.service-block + .service-block {
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

/* Make service-detail + pricing share the same chapter surface */
.service-detail,
.pricing {
  background: transparent;
}

/* =====================================================
   SERVICE DETAIL — BASE (light surface)
   ===================================================== */

.service-detail {
  padding-block: 0;
  color: var(--color-deep-black);
}

.service-detail__header {
  text-align: center;
  padding-top: 4rem;
}

.service-detail__kicker {
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: var(--font-size-sm);
  color: var(--color-red-ochre); /* kicker accent (kept simple) */
  margin: 0 0 0.6rem;
}

.service-detail__title {
  margin: 0 0 0.75rem;
}

.service-detail__intro {
  margin: 0;
  color: var(--color-mid-grey);
  font-size: var(--font-size-lg);
}

/* IMPORTANT:
   Service detail sections should NOT set their own dark gradient background now.
   If you have .service-detail--design { background: var(--gradient-...); color: white; }
   delete it or override it below.
*/
.service-detail--design,
.service-detail--upgrades,
.service-detail--custom,
.service-detail--support {
  background: transparent;
  color: inherit;
}

/* =====================================================
   HSCROLL — PATTERN B (subtle drama in cards)
   ===================================================== */

.hscroll-b {
  margin-top: 1.25rem;
}

.hscroll-b__track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 50%;
  gap: 1.25rem;

  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;

  scrollbar-width: none;
  -ms-overflow-style: none;
}

.hscroll-b__track::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

.hscroll__slide {
  padding: 0; /* prevents first-slide weirdness */
}

/* Card: light surface + subtle depth */
.hscroll__card {
  position: relative;
  min-height: 320px;

  padding: 1.25rem 1.25rem 1.555rem; /* ✅ consistent left padding for ALL slides */

  background: var(--gradient-black-silver-h);
  border: 1px solid var(--color-light-red-ochre);
  box-shadow: 0 10px 30px rgba(0,0,0,0.06);
}

/* Soft highlight bloom (no accent edge) */
.hscroll__card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(
    900px 320px at 20% 10%,
    rgba(255,255,255,0.55),
    rgba(255,255,255,0) 60%
  );
  pointer-events: none;
  mix-blend-mode: overlay;
  opacity: 0.55;
}

.hscroll__image {
  width: 56px;
  height: 56px;
  opacity: 0.90;
  display: block;
  margin-left: auto; 
  margin-bottom: 0.85rem;
}

.hscroll__title {
  margin: 0 0 0.45rem;
  font-size: 1.35rem;
  color: var(--color-cool-silver);
  line-height: 1.15;
  padding-bottom: 0.08em;
}

.hscroll__subtext {
  margin: 0 0 0.85rem;
  color: rgba(255,255,255,0.88);
  font-size: var(--font-size-sm);
  max-width: 54ch;
}

.hscroll__list {
  margin: 0;
  padding-left: 1.1rem;
  color: rgba(255,255,255,0.88);
  font-size: var(--font-size-sm);
}

.hscroll__list li {
  margin: 0.35rem 0;
}

/* =====================================================
   PIN METER (Pattern B) — fill ALWAYS red
   ===================================================== */

.pin-meter {
  margin-top: 1rem;
}

.pin-meter__viewport {
  position: relative;
  height: 22px;
  overflow: hidden;
}

.pin-meter__fill {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  height: 6px;
  width: 0;
  border-radius: 999px;

  /* ✅ must remain red for all */
  background: var(--color-red-ochre);

  transition: width 40ms linear;
}

.pin-meter__inner {
  position: absolute;
  inset: 0;
  will-change: transform;
}

/* Anchors (keep your existing “readability upgrade”) */
.pin-meter__anchor{
  position: absolute;
  top: 50%;
  transform: translate(0, -50%);
  width: 14px;
  height: 14px;
  border-radius: 999px;

  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.26);

  box-shadow:
    0 0 0 2px rgba(0,0,0,0.35);

  opacity: 0.38;

  transition:
    opacity 180ms ease,
    transform 180ms ease,
    background 180ms ease,
    border-color 180ms ease,
    box-shadow 220ms ease,
    filter 220ms ease;
}

.pin-meter__anchor.is-complete{
  background: rgba(184, 91, 88, 0.22);
  border-color: rgba(184, 91, 88, 0.42);
  opacity: 0.48;
  box-shadow:
    0 0 0 2px rgba(0,0,0,0.35),
    0 0 10px rgba(156, 50, 47, 0.10);
}

.pin-meter__anchor.is-active{
  background: var(--color-red-ochre);
  border-color: rgba(255,255,255,0.38);

  opacity: 1;
  transform: translate(0, -50%) scale(1.18);

  box-shadow:
    0 0 0 2px rgba(0,0,0,0.45),
    0 0 0 5px rgba(156, 50, 47, 0.22),
    0 0 22px rgba(156, 50, 47, 0.55),
    0 0 48px rgba(184, 91, 88, 0.22);

  filter: saturate(1.08);
}
/* =====================================================
   PRICING — UNIFIED (matches Design + Setup)
   Notes:
   - All pricing sections share .pricing base styling.
   - Modifier classes (pricing--design-setup / --upgrades / --custom / --support)
     can remain in HTML but are intentionally unused here.
   - Price card styles are unchanged.
   ===================================================== */

.pricing {
  background: transparent;
  padding: 0; /* unified: you removed top/bottom padding */
}

/* Ensure the container provides the bottom spacing (instead of <p> margins) */
.pricing__inner {
  padding-bottom: 3rem;  /* adjust to taste */
}

.pricing__header {
  text-align: center;
}

.pricing__kicker {
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: var(--font-size-sm);
  color: var(--color-cool-silver);
  margin: 0 0 0.6rem;
  margin-top: 4rem;
}

.pricing__title {
  margin: 0 0 0.75rem;
  color: var(--color-deep-black);
}

.pricing__intro {
  margin: 0;
  color: var(--color-mid-grey);
  font-size: var(--font-size-lg);
}

.pricing__grid {
  margin-top: 2rem;
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 900px) {
  .pricing__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: stretch;
  }
}

.pricing__grid--single{
  grid-template-columns: 1fr !important;
  justify-items: center;
}

.pricing__grid--single .price-card{
  width: min(520px, 100%);
}


/* =========================
   Price Cards (LOCKED)
   ========================= */

.price-card {
  position: relative;
  border-radius: 22px;
  padding: 1.4rem 1.35rem 1.25rem;
  background: var(--gradient-black-silver-top);
  border: 1px solid var(--color-light-red-ochre);
  backdrop-filter: blur(6px);
  min-height: 100%;
  padding-bottom: 4.25rem; /* reserve space for CTA */
}

.price-card__top {
  margin-bottom: 1rem;
}

.price-card__name {
  margin: 0 0 0.25rem;
  font-size: 1.25rem;
  color: var(--color-white);
}

.price-card__tag {
  margin: 0 0 0.9rem;
  color: rgba(255,255,255,0.72);
  font-size: var(--font-size-sm);
}

.price-card__price {
  margin: 0;
  display: flex;
  align-items: baseline;
  gap: 0.45rem;
}

.price-card__from {
  font-size: var(--font-size-sm);
  color: rgba(255,255,255,0.72);
}

.price-card__amount {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--color-white);
}

.price-card__currency {
  font-size: var(--font-size-sm);
  color: rgba(255,255,255,0.72);
}

.price-card__list {
  margin: 0.25rem 0 0.9rem;
  padding-left: 1.1rem;
  color: rgba(255,255,255,0.88);
  font-size: var(--font-size-sm);
}

.price-card__list li {
  margin: 0.4rem 0;
}

.price-card__note {
  margin: 0 0 1.1rem;
  color: rgba(255,255,255,0.75);
  font-size: var(--font-size-sm);
  max-width: 54ch;
}

.price-card__cta {
  position: absolute;
  left: 1.35rem;
  right: 1.35rem;
  bottom: 1.25rem;
}

/* =========================
   Featured Price Card
   ========================= */

.price-card--featured {
  border-color: rgba(156, 50, 47, 0.55);
  background: rgba(156, 50, 47, 0.10);
  box-shadow:
    0 0 0 1px rgba(0,0,0,0.30),
    0 0 36px rgba(156, 50, 47, 0.18);
}

.price-card__badge {
  position: absolute;
  top: 14px;
  right: 14px;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  background: rgba(156, 50, 47, 0.95);
  color: var(--color-white);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* =========================
   Pricing Fine Print (your fix)
   ========================= */

/* Remove margins that create transparent gaps */
.pricing__inner > p,
.pricing__fineprint {
  margin: 0;
}

/* Add spacing above fineprint using padding (not margin) */
.pricing__fineprint {
  padding-top: 1.5rem;
  color: var(--color-charcoal-black);
  font-size: var(--font-size-sm);
  max-width: 920px;
}


/* Packages */
.packages {
  background: var(--color-white);
}

.packages-sub {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 2.2rem;
  color: var(--color-mid-grey);
}

.packages-grid {
  display: grid;
  gap: 1.6rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.package-card {
  background: var(--color-white);
  border-radius: 18px;
  border: 2px solid var(--color-cool-silver);
  padding: 1.2rem;
  box-shadow: var(--shadow-subtle);
  display: grid;
  gap: 1rem;
}

.package-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.package-ideal {
  margin: 0.25rem 0 0;
  color: var(--color-mid-grey);
  font-size: var(--font-size-sm);
}

.package-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  font-size: var(--font-size-xs);
  font-weight: 700;
  background: rgba(156, 50, 47, 0.10);
  color: var(--color-red-ochre);
  border: 1px solid rgba(156, 50, 47, 0.18);
  white-space: nowrap;
}

.package-badge--dark {
  background: var(--color-deep-black);
  color: var(--color-white);
  border-color: rgba(255,255,255,0.18);
}

.package-badge--outline {
  background: transparent;
  color: var(--color-charcoal-black);
  border: 1px solid rgba(0,0,0,0.14);
}

.package-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.6rem;
  color: var(--color-charcoal-black);
  font-size: var(--font-size-sm);
}

.package-list li {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 0.6rem;
  align-items: start;
}

.check svg {
  width: 18px;
  height: 18px;
  display: block;
  margin-top: 0.1rem;
  stroke: var(--color-red-ochre);
  stroke-width: 2.4;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.package-actions {
  background: var(--gradient-black-silver-h);
  border-radius: 16px;
  padding: 1rem;
}

.package-actions .btn-service {
  display: inline-flex;
}

.package-note {
  margin: 0.65rem 0 0;
  color: rgba(255,255,255,0.86);
  font-size: var(--font-size-xs);
}

/* Add-ons */
.addons {
  background: var(--color-light-silver);
}

.addons-sub {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 2.2rem;
  color: var(--color-mid-grey);
}

.addons-grid {
  display: grid;
  gap: 1.2rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.addon-card {
  background: var(--color-white);
  border-radius: 18px;
  border: 1px solid rgba(0,0,0,0.06);
  box-shadow: var(--shadow-subtle);
  padding: 1.25rem 1.25rem 1.35rem;
}

.addon-card h3 {
  margin-bottom: 0.45rem;
}

.addon-card p {
  color: var(--color-mid-grey);
  margin: 0;
  font-size: var(--font-size-sm);
}

/* Pricing note */
.services-pricing {
  background: var(--color-white);
  padding-block: 4rem 5rem;
}

.services-pricing-inner {
  max-width: 760px;
  text-align: center;
}

.services-pricing-inner p {
  color: var(--color-mid-grey);
  font-size: var(--font-size-md);
  margin-bottom: 1.25rem;
}

.services-pricing-actions {
  display: flex;
  justify-content: center;
  gap: 0.9rem;
  flex-wrap: wrap;
}

/* Alternate background per service block */
.service-block--design,
.service-block--custom {
  background: var(--color-white);
}

.service-block--upgrades,
.service-block--support {
  background: var(--color-light-silver);
}


/* =========================
   About Page – Hero (updated)
   ========================= */

.about-hero {
  background: var(--gradient-black-silver-v);
  color: var(--color-white);
  padding-block: 4.75rem 3.25rem;
}

.about-hero-inner {
  max-width: 980px; /* a touch wider now that a card is inside */
  text-align: center;
}

.about-kicker {
  font-family: var(--font-heading);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: var(--font-size-sm);
  opacity: 0.85;
  margin-bottom: 0.35rem;
}

.about-sub {
  color: rgba(255,255,255,0.86);
  font-size: var(--font-size-lg);
  margin-bottom: 1.6rem;
}

/* NEW: hero card */
.about-hero-card {
  margin-top: 1.25rem;
  text-align: left;

  background: var(--color-white);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 22px;
  padding: 1.1rem;
  backdrop-filter: blur(8px);

  display: grid;
  gap: 1.1rem;
}

/* Left */
.about-hero-card-left {
  display: flex;
  flex-direction: column;
  min-height: 320px; /* ensures CTA can sit bottom even with short copy */
  padding: 0.8rem 0.9rem;
}

.about-hero-card-title {
  margin: 0 0 0.45rem;
  font-family: var(--font-heading);
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  color: var(--color-charcoal-black);
}

.about-hero-card-text {
  margin: 0 0 0.8rem;
  color: var(--color-charcoal-black);
  font-size: var(--font-size-md);
}

/* CTA anchored */
.about-hero-card-cta {
  margin-top: auto;             /* ⬅ anchors the CTA */
  display: flex;
  gap: 0.85rem;
  flex-wrap: wrap;
  padding-top: 0.8rem;
}

/* Right */
.about-hero-card-right {
  border-radius: 18px;
  overflow: hidden;

  display: grid;
  place-items: center;
  padding: 1.2rem;
}

.about-hero-card-logo {
  width: min(420px, 92%);
  height: auto;
  display: block;
  filter: drop-shadow(0 18px 45px rgba(0,0,0,0.35));
  opacity: 0.98;
}

/* Desktop: 2 columns */
@media (min-width: 900px) {
  .about-hero-card {
    grid-template-columns: 1.15fr 0.85fr;
    padding: 1.25rem;
    gap: 1.25rem;
  }

  .about-hero-card-right {
    padding: 1.4rem;
  }
}

/* Mobile polish */
@media (max-width: 899px) {
  .about-hero-card-left {
    min-height: auto;
  }

  .about-hero-card-cta {
    justify-content: flex-start;
  }
}

/* =========================
   Meet the Founder
   ========================= */

.founder {
  background: var(--color-white);
  padding-block: 4rem;
}

.founder-inner {
  max-width: var(--max-content-width, 1100px);
}

.founder-grid {
  display: grid;
  gap: 2rem;
  align-items: start;
}

.founder-media {
  border-radius: 22px;
  overflow: hidden;
  border: 2px solid var(--color-cool-silver);
  background: var(--color-light-silver);
  box-shadow: var(--shadow-subtle);
}

.founder-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.founder-copy {
  padding-top: 0.25rem;
}

.founder-kicker {
  font-family: var(--font-heading);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: var(--font-size-sm);
  color: var(--color-mid-grey);
  margin: 0 0 0.4rem;
}

.founder-title {
  margin: 0 0 0.6rem;
}

.founder-sub {
  margin: 0 0 1.2rem;
  font-size: var(--font-size-md);
  color: var(--color-mid-grey);
  max-width: 60ch;
}

.founder-body p {
  margin: 0 0 0.95rem;
  color: var(--color-mid-grey);
  font-size: var(--font-size-md);
  max-width: 68ch;
}

.founder-note {
  color: var(--color-charcoal-black);
}


/* Desktop 2-column */
@media (min-width: 980px) {
  .founder-grid {
    grid-template-columns: 0.95fr 1.05fr;
    gap: 2.6rem;
  }

  .founder-media {
    position: sticky;
    top: var(--header-offset, 92px);
  }
}

/* =========================
   Founder – SVG Icon Links
   ========================= */

.founder-links {
  display: flex;
  gap: 0.9rem;
  flex-wrap: wrap;
  margin-top: 1.25rem;
}

.founder-link {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;

  padding: 0.45rem 0.75rem;
  border-radius: 999px;

  text-decoration: none;
  font-size: var(--font-size-sm);
  color: var(--color-white);

  background: var(--color-red-ochre);
  border: 1px solid var(--color-cool-silver);

  transition:
    background 0.2s ease,
    border-color 0.2s ease,
    transform 0.15s ease;
}

.founder-link:hover {
  background: var(--color-light-red-ochre);
  border-color: var(--color-deep-black);
  color: var(--color-deep-black);
  transform: translateY(-1px);
}

.founder-link-icon {
  width: 24px;
  height: 24px;

  display: grid;
  place-items: center;

  border-radius: 50%;
  background: rgba(0,0,0,0.06);
}

.founder-link-icon svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

.founder-link-label {
  line-height: 1;
  white-space: nowrap;
}


/* =========================
   Articles (Index)
   ========================= */

.articles-hero {
  background: var(--gradient-black-silver-top);
  color: var(--color-white);
  padding-block: 4.75rem 3rem;
}

.articles-hero-inner {
  max-width: 920px;
  text-align: center;
}

.articles-kicker {
  font-family: var(--font-heading);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: var(--font-size-sm);
  opacity: 0.85;
  margin-bottom: 0.35rem;
}

.articles-sub {
  color: rgba(255,255,255,0.86);
  font-size: var(--font-size-lg);
  margin-bottom: 1.35rem;
}

.articles-controls {
  display: grid;
  gap: 1rem;
  margin-top: 1.25rem;
}

.articles-search {
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
  padding: 0.85rem 1rem;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.08);
  color: var(--color-white);
  outline: none;
  backdrop-filter: blur(6px);
}

.articles-search::placeholder {
  color: rgba(255,255,255,0.65);
}

.articles-tags {
  display: flex;
  gap: 0.6rem;
  justify-content: center;
  flex-wrap: wrap;
}

.tag-chip {
  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.92);
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: var(--font-size-xs);
  cursor: pointer;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.tag-chip:hover {
  transform: translateY(-1px);
  background: rgba(255,255,255,0.12);
}

.tag-chip.is-active {
  background: rgba(156, 50, 47, 0.22);
  border-color: rgba(156, 50, 47, 0.38);
  color: var(--color-white);
}

.articles-feed {
  background: var(--color-white);
}

.articles-grid {
  display: grid;
  gap: 1.4rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.article-card {
  border-radius: 18px;
  border: 2px solid var(--color-cool-silver);
  background: var(--color-white);
  box-shadow: var(--shadow-subtle);
  overflow: hidden;
  position: relative;
}

.article-card.is-featured {
  border-color: rgba(156, 50, 47, 0.35);
  box-shadow: 0 18px 40px rgba(0,0,0,0.10);
}

.article-card-link {
  display: grid;
  gap: 0.75rem;
  padding: 1.25rem 1.2rem 1.15rem;
  color: inherit;
  text-decoration: none;
}

.article-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.article-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  font-size: var(--font-size-xs);
  font-weight: 800;
  background: rgba(156, 50, 47, 0.12);
  color: var(--color-red-ochre);
  border: 1px solid rgba(156, 50, 47, 0.18);
}

.article-pill--outline {
  background: transparent;
  color: var(--color-charcoal-black);
  border: 1px solid rgba(0,0,0,0.12);
}

.article-pill--muted {
  background: rgba(0,0,0,0.06);
  border: 1px solid rgba(0,0,0,0.10);
  color: var(--color-charcoal-black);
}

.article-date {
  color: var(--color-mid-grey);
  font-size: var(--font-size-xs);
  font-weight: 700;
}

.article-title {
  margin: 0;
  line-height: 1.15;
}

.article-excerpt {
  margin: 0;
  color: var(--color-mid-grey);
  font-size: var(--font-size-sm);
}

.article-tags-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.2rem;
}

.article-tag {
  display: inline-flex;
  align-items: center;
  padding: 0.28rem 0.55rem;
  border-radius: 999px;
  font-size: var(--font-size-xs);
  font-weight: 800;
  background: rgba(0,0,0,0.05);
  color: var(--color-charcoal-black);
}

.article-read {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 0.3rem;
  font-weight: 800;
  color: var(--color-charcoal-black);
}

.article-card-link:hover .arrow {
  transform: translateX(2px);
}

.arrow {
  display: inline-block;
  transition: transform 160ms ease;
}

.articles-empty {
  margin-top: 2rem;
  text-align: center;
  color: var(--color-mid-grey);
}

.articles-cta {
  background: var(--color-light-silver);
  padding-block: 4rem;
}

.articles-cta-inner {
  max-width: 860px;
  text-align: center;
}

.articles-cta-inner p {
  color: var(--color-mid-grey);
  font-size: var(--font-size-md);
}

.articles-cta-actions {
  display: flex;
  justify-content: center;
  gap: 0.9rem;
  flex-wrap: wrap;
  margin-top: 1.1rem;
}

/* =========================
   Article (Single)
   ========================= */

.article-hero {
  background: var(--gradient-black-silver-top);
  color: var(--color-white);
  padding-block: 4.5rem 3rem;
}

.article-hero__inner {
  display: grid;
  gap: 2rem;
}

/* Desktop layout */
@media (min-width: 900px) {
  .article-hero__inner {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    align-items: center;
  }
}

.article-back {
  display: inline-flex;
  color: rgba(255,255,255,0.82);
  text-decoration: none;
  font-weight: 800;
  margin-bottom: 1.2rem;
}

.article-back:hover { color: var(--color-white); }

.article-eyebrow {
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: var(--font-size-xs);
  opacity: 0.85;
  margin: 0 0 0.6rem;
}

.article-h1 {
  margin: 0 0 0.9rem;
  max-width: 18ch;
}

.article-lede {
  margin: 0 0 1.2rem;
  max-width: 70ch;
  color: rgba(255,255,255,0.86);
  font-size: var(--font-size-lg);
}

.article-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(255,255,255,0.14);
}

.article-meta-right {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: rgba(255,255,255,0.80);
  font-weight: 700;
  font-size: var(--font-size-sm);
}

.article-meta-dot {
  opacity: 0.6;
}

.article-body {
  background: var(--color-white);
  padding-block: 3.5rem 4.5rem;
}

.article-layout {
  display: grid;
  gap: 2rem;
  align-items: start;
}

@media (min-width: 980px) {
  .article-layout {
    grid-template-columns: 0.9fr 2.1fr;
    gap: 2.5rem;
  }
}

.article-toc {
  position: relative;
}

@media (min-width: 980px) {
  .article-toc-inner {
    position: sticky;
    top: var(--header-offset, 92px);
  }
}

.article-toc-inner {
  border-radius: 18px;
  border: 2px solid var(--color-cool-silver);
  background: var(--color-white);
  box-shadow: var(--shadow-subtle);
  padding: 1.1rem 1.1rem 1.2rem;
}

.article-toc-title {
  margin: 0 0 0.7rem;
  font-family: var(--font-heading);
}

.article-toc-links {
  display: grid;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.article-toc-links a {
  text-decoration: none;
  color: var(--color-charcoal-black);
  font-weight: 800;
  font-size: var(--font-size-sm);
  opacity: 0.88;
}

.article-toc-links a:hover {
  opacity: 1;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.article-toc-cta {
  display: grid;
  gap: 0.6rem;
}

.article-content {
  max-width: 78ch;
}

.article-content h2 {
  margin-top: 2rem;
}

.article-content p,
.article-content li {
  color: var(--color-mid-grey);
  font-size: var(--font-size-md);
  line-height: 1.65;
}

.article-content strong {
  color: var(--color-charcoal-black);
}

.article-callout {
  margin: 1.1rem 0 1.4rem;
  border-radius: 18px;
  padding: 1.05rem 1.15rem;
  background: var(--color-light-silver);
  border: 1px solid rgba(0,0,0,0.06);
}

.article-callout-title {
  font-family: var(--font-heading);
  margin: 0 0 0.4rem;
  color: var(--color-charcoal-black);
}

.article-checklist {
  list-style: none;
  padding: 0;
  margin: 0.75rem 0 0;
  display: grid;
  gap: 0.6rem;
}

.article-checklist li {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 0.6rem;
  align-items: start;
  color: var(--color-mid-grey);
}

.article-divider {
  border: none;
  height: 1px;
  background: rgba(0,0,0,0.10);
  margin: 2.5rem 0 1.5rem;
}

.article-end {
  padding-top: 0.4rem;
}

.article-end-actions {
  display: flex;
  gap: 0.9rem;
  flex-wrap: wrap;
  margin-top: 0.9rem;
}

.article-more {
  background: var(--color-light-silver);
  padding-block: 3.75rem 4.5rem;
}

/* =========================
   Article Content (Markdown)
   ========================= */

.article-body__inner {
  max-width: 78ch;
}

/* Headings */
.article-body__inner h2,
.article-body__inner h3,
.article-body__inner h4 {
  color: var(--color-charcoal-black);
  scroll-margin-top: calc(var(--header-offset, 92px) + 16px);
}

.article-body__inner h2 {
  margin: 2.6rem 0 1rem;
}

.article-body__inner h3 {
  margin: 2rem 0 0.75rem;
  font-size: 1.25rem;
}

.article-body__inner h4 {
  margin: 1.6rem 0 0.6rem;
  font-size: 1.1rem;
}

/* Paragraphs & lists */
.article-body__inner p,
.article-body__inner li {
  color: var(--color-mid-grey);
  line-height: 1.65;
}

.article-body__inner ul,
.article-body__inner ol {
  padding-left: 1.3rem;
  margin: 1.2rem 0 1.6rem;
}

.article-body__inner li {
  margin-bottom: 0.4rem;
}

/* Links */
.article-body__inner a {
  color: var(--color-red-ochre);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.article-body__inner a:hover {
  color: var(--color-light-red-ochre);
}

/* Dividers */
.article-body__inner hr {
  border: none;
  height: 1px;
  background: linear-gradient(
    to right,
    transparent,
    rgba(0,0,0,0.14),
    transparent
  );
  margin: 2.8rem 0;
}

/* Blockquotes */
.article-body__inner blockquote {
  margin: 1.6rem 0;
  padding: 1rem 1.2rem;
  border-left: 3px solid var(--color-red-ochre);
  background: var(--color-light-silver);
  border-radius: 16px;
  color: var(--color-mid-grey);
}

/* Images */
.article-body__inner img {
  border-radius: 18px;
  box-shadow: var(--shadow-subtle);
  margin: 1.8rem 0;
}

/* Inline code */
.article-body__inner code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  background: rgba(0,0,0,0.06);
  padding: 0.15rem 0.35rem;
  border-radius: 8px;
}

/* Code blocks */
.article-body__inner pre {
  background: #0f0f10;
  color: #ffffff;
  padding: 1.1rem 1.2rem;
  border-radius: 18px;
  overflow-x: auto;
  margin: 1.8rem 0;
}

.article-body__inner pre code {
  background: none;
  padding: 0;
}


/* Accessibility helper if you don't already have it */
.sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}



/* ------------------------------
   Mobile Layout
------------------------------- */

@media (min-width: 960px) {
  .hero-inner {
    align-items: stretch;
  }
}

@media (max-width: 959px) {
  .hero-bento {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    gap: 1rem;
    padding: 1.4rem;
  }

  .hero-icon-left,
  .hero-icon-right {
    display: none; /* hide side icons on small screens */
  }

  .hero-card-design,
  .hero-card-maintenance,
  .hero-card-cms,
  .hero-logo-circle {
    grid-column: 1 / -1;
    grid-row: auto;
    left: 0;
    top: 0;
  }

  .hero-logo-circle {
    pointer-events: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-card-cms,
  .cms-chip {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
  }
}

@media (max-width: 959px) {
  .hero-logo-circle {
    width: min(70%, 300px);
  }
}

@media (max-width: 720px) {
  .services-grid {
    grid-template-columns: 1fr; /* stack cards */
  }
}

/* =========================================
   Mobile Nav (Burger + Panel)
   ========================================= */

.nav-toggle {
  display: none; /* shown on mobile */
  justify-self: flex-end;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,0.14);
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  cursor: pointer;
  position: relative;
  transition: transform 120ms ease-out, box-shadow 160ms ease-out;
}

.nav-toggle:hover,
.nav-toggle:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(0,0,0,0.10);
  outline: none;
}

.nav-toggle__bars {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 18px;
  height: 2px;
  background: var(--color-charcoal-black);
  transform: translate(-50%, -50%);
  border-radius: 2px;
  transition: transform 180ms ease, background 180ms ease;
}

.nav-toggle__bars::before,
.nav-toggle__bars::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  background: var(--color-charcoal-black);
  border-radius: 2px;
  transition: transform 180ms ease, top 180ms ease, opacity 180ms ease;
}

.nav-toggle__bars::before { top: -6px; }
.nav-toggle__bars::after  { top:  6px; }

/* Mobile nav container (full-width dropdown area under header row) */
.mobile-nav {
  grid-column: 1 / -1;
  width: 100%;
}

.mobile-nav__panel {
  margin-top: 0.85rem;
  border-radius: 18px;
  border: 1px solid rgba(0,0,0,0.08);
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 18px 45px rgba(0,0,0,0.12);
  overflow: hidden;

  /* animation defaults (closed state) */
  transform: translateY(-6px);
  opacity: 0;
  pointer-events: none;
  transition: transform 200ms ease, opacity 200ms ease;
}

.mobile-nav__links {
  list-style: none;
  padding: 0.75rem 0.75rem 0.25rem;
  margin: 0;
  display: grid;
  gap: 0.25rem;
}

.mobile-nav__links a {
  display: block;
  padding: 0.85rem 0.9rem;
  border-radius: 14px;
  font-weight: 600;
  font-size: var(--font-size-md);
  text-decoration: none;
}

.mobile-nav__links a:hover,
.mobile-nav__links a:focus-visible {
  background: rgba(156, 50, 47, 0.08);
  outline: none;
}

.mobile-nav__cta {
  width: calc(100% - 1.5rem);
  margin: 0.5rem 0.75rem 0.9rem;
  justify-content: center;
}

/* Open state */
body.nav-open .mobile-nav__panel {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

/* Turn burger into X when open */
body.nav-open .nav-toggle__bars {
  background: transparent;
}

body.nav-open .nav-toggle__bars::before {
  top: 0;
  transform: rotate(45deg);
}

body.nav-open .nav-toggle__bars::after {
  top: 0;
  transform: rotate(-45deg);
}

/* Prevent background scroll when menu open */
body.nav-open {
  overflow: hidden;
}

/* Mobile header layout override */
@media (max-width: 720px) {
  .header-inner {
    grid-template-columns: 1fr auto;
    align-items: center;
    justify-items: stretch;
    row-gap: 0;
    padding-block: 0.75rem;
  }

  .logo-link { justify-self: flex-start; }
  .nav-toggle { display: inline-flex; }

  /* Hide desktop nav + CTA on mobile */
  .main-nav { display: none; }
  .header-cta { display: none; }

  /* Keep logo from dominating */
  .logo-img { 
    height: 96px;
    width: 96px; }

}

/* =========================================
   HERO — Mobile Accent Panel (A1)
   ========================================= */

.hero-accent {
  display: none; /* desktop off */
}

@media (max-width: 720px) {
  /* Hide the desktop bento collage on mobile */
  .hero-bento {
    display: none !important;
  }

  /* Show the mobile accent panel */
  .hero-accent {
    display: block;
    margin-top: 1rem;

    border-radius: 22px;
    overflow: hidden;

    /* clean frame + subtle depth */
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.14);
    box-shadow: 0 18px 45px rgba(0,0,0,0.22);
  }

  .hero-accent-img {
    display: block;
    width: 100%;
    height: auto;

    /* helps it feel like a “hero visual”, not a random image */
    aspect-ratio: 16 / 10;
    object-fit: cover;
  }

}

/* =========================================
   HERO — Mobile Capability Bridge
   ========================================= */

.hero-bridge {
  display: none;
}

@media (max-width: 720px) {
  .hero-bridge {
    display: block;
    margin-top: 0;   
  }

  /* Inner container — no section padding */
  .hero-bridge-inner {
    padding: 0;
  }

  /* Reuse hero accent label for heading */
  .hero-bridge .hero-accent-label {
    margin-bottom: 0.75rem;
  }

  /* Chips frame */
  .hero-bridge-chips {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-auto-rows: 56px;
    gap: 0.65rem;

    padding: 0.75rem;

    border-radius: 18px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.12);
  }

  .hero-bridge-chips .cms-chip{
    display: grid;
    place-items: center;
  }


  .hero-bridge-chips img{
    width: 80%;              /* ✅ don’t force full stretch */
    height: 80%;
    object-fit: contain;
    display: block;
  }

}

/* =========================================
   HERO — Bridge chips: scroll reveal
   ========================================= */

@media (max-width: 720px) {
  /* Start hidden until revealed */
  .hero-bridge-chips {
    opacity: 0;
    transform: translateY(14px);
    transition: opacity 700ms ease, transform 700ms ease;
    will-change: opacity, transform;
  }

  /* Reveal container */
  .hero-bridge-chips.is-visible {
    opacity: 1;
    transform: translateY(0);
  }

  /* Chips: settle in slightly after container */
  .hero-bridge .cms-chip {
    filter: none !important;
    box-shadow: none;
    background: transparent;
    opacity: 1;              /* base state handled by reveal on container */
    transform: none;         /* base state handled by reveal rules */
  }

  .hero-bridge .cms-chip img {
    filter: none !important;
  }

  .hero-bridge-chips.is-visible .cms-chip {
    opacity: 1;
    transform: translateY(0) scale(1);
  }

  /* Subtle stagger (keeps it premium, not “party”) */
  .hero-bridge-chips.is-visible .cms-chip:nth-child(1) { transition-delay: 120ms; }
  .hero-bridge-chips.is-visible .cms-chip:nth-child(2) { transition-delay: 200ms; }
  .hero-bridge-chips.is-visible .cms-chip:nth-child(3) { transition-delay: 280ms; }
  .hero-bridge-chips.is-visible .cms-chip:nth-child(4) { transition-delay: 360ms; }
  .hero-bridge-chips.is-visible .cms-chip:nth-child(5) { transition-delay: 440ms; }
  .hero-bridge-chips.is-visible .cms-chip:nth-child(6) { transition-delay: 520ms; }

  /* Reduced motion support */
  @media (prefers-reduced-motion: reduce) {
    .hero-bridge-chips,
    .hero-bridge-chips .cms-chip {
      transition: none !important;
      transform: none !important;
      opacity: 1 !important;
    }
  }
}
/* =========================================================
   MOBILE SCALING LAYER (mobile-first + sensible breakpoints)
   Drop this at END of styles.css
   ========================================================= */

/* Mobile-first: tighten global spacing & typography slightly */
:root{
  --max-width: 1600px;

  /* Mobile-friendly type (keeps your hierarchy but scales down) */
  --font-size-md: 1rem;
  --font-size-lg: 1.05rem;
  --font-size-xl: 1.35rem;
  --font-size-2xl: clamp(1.55rem, 5.4vw, 2.1rem);
  --font-size-3xl: clamp(2.0rem, 7.2vw, 3.1rem);
}

/* Sections: reduce “big desktop padding” on small screens */
section { padding-block: 3.25rem; }
@media (min-width: 960px){ section { padding-block: 5rem; } }

/* Container: slightly tighter on mobile */
.container{
  padding-inline: clamp(1rem, 4vw, 2.5rem);
}

/* Header / logo scaling */
@media (max-width: 720px){
  .logo-img{ width: 84px; height: 84px; }
  .header-inner{ padding-block: 0.6rem; }
}

/* HERO: mobile rhythm */
@media (max-width: 720px){
  .hero { padding-block: 2.25rem 0; }
  .hero-content{ max-width: 44ch; }
  .hero-subtitle{ margin-bottom: 1.15rem; }
  .hero-actions{ flex-wrap: wrap; }
}

/* Services grid already stacks at 720 — ensure spacing is mobile-friendly */
@media (max-width: 720px){
  .services-section{ padding-block: 3.25rem; }
  .services-subtitle{ margin-bottom: 2rem; }
  .service-card-header h3{ font-size: 1.6rem; }
  .service-card-body{ min-height: 0; }
}

/* Process v2: you already collapse at 960 — tighten card height on small screens */
@media (max-width: 960px){
  .process-v2{ padding-block: 3.25rem; }
  .process-v2__rail{ padding: 1rem; }
  .process-v2__card{ gap: 0.75rem; }
  .process-v2__card-title{ font-size: 1.35rem; }
}

/* Work tiles: reduce CTA circle a touch on mobile */
@media (max-width: 520px){
  .work-tile__cta{
    width: 78px;
    height: 78px;
    right: 12px;
    bottom: 12px;
  }
}

/* Articles grid: keep your auto-fit but reduce card padding on narrow screens */
@media (max-width: 520px){
  .article-card-link{ padding: 1.05rem; }
  .article-excerpt{ font-size: 0.9rem; }
}

/* Footer: you already center-align under 959; tighten vertical spacing */
@media (max-width: 959px){
  .site-footer{ padding-block: 2.5rem; }
  .footer-grid{ gap: 1.75rem; }
}
