/* ============================================
   ZAFIRO — DESIGN SYSTEM v5
   Single font family. Unified type scale.
   Intentional spacing hierarchy.
   ============================================ */

/* One font family: DM Sans for all text.
   DM Serif Display for hero/display headings only. */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;1,9..40,300;1,9..40,400&family=DM+Serif+Display:ital@0;1&display=swap');

/* ============ TOKENS ============ */
:root {
  /* Colour */
  --white:           #ffffff;
  --off-white:       #f7f7f5;
  --cream:           #f0eeeb;
  --charcoal:        #111111;
  --charcoal-mid:    #2d2d2d;
  --charcoal-light:  #5c5c5c;
  --muted:           #8e8e8e;
  --border:          #e4e4e0;
  --border-dark:     #c8c8c2;
  --navy:            #0c2040;
  --navy-mid:        #1b3a60;
  --navy-light:      #2a527e;

  /* Typography */
  --font-display: 'DM Serif Display', Georgia, serif;
  --font-body:    'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Type scale — intentional, used consistently */
  --text-xs:    0.6875rem;  /* 11px — eyebrows, labels */
  --text-sm:    0.8125rem;  /* 13px — captions, disclaimers */
  --text-base:  0.9375rem;  /* 15px — body copy */
  --text-md:    1.0625rem;  /* 17px — lead / intro */
  --text-lg:    1.25rem;    /* 20px — card headings */
  --text-xl:    1.625rem;   /* 26px — display-3 mobile */

  /* Spacing — distinct steps so sections feel different */
  --space-2:  0.5rem;
  --space-3:  0.75rem;
  --space-4:  1rem;
  --space-6:  1.5rem;
  --space-8:  2rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-28: 7rem;   /* desktop section padding */

  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 14px;

  --shadow-sm: 0 1px 4px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 18px rgba(0,0,0,0.07);
  --shadow-lg: 0 10px 40px rgba(0,0,0,0.09);
  --shadow-xl: 0 20px 72px rgba(0,0,0,0.11);

  --ease:      cubic-bezier(0.4, 0, 0.2, 1);
  --transition: 0.26s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.50s cubic-bezier(0.4, 0, 0.2, 1);

  --max-width:  1240px;
  --nav-height: 68px;
}

/* ============ RESET ============ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 80px; }
body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.65;
  color: var(--charcoal);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
::selection { background: var(--navy); color: var(--white); }
img  { max-width: 100%; height: auto; display: block; }
a    { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea, select { font-family: inherit; }

/* Focus — accessible but unobtrusive */
:focus-visible {
  outline: 2px solid var(--navy);
  outline-offset: 2px;
  border-radius: 2px;
}

/* ============ TYPOGRAPHY ============ */

/* Display — DM Serif Display for large hero/section headings */
.display-1 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4.25rem);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.01em;
  color: var(--charcoal);
}
.display-2 {
  font-family: var(--font-display);
  font-size: clamp(1.875rem, 3.5vw, 3rem);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: -0.01em;
  color: var(--charcoal);
}
.display-3 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.5vw, 2.25rem);
  font-weight: 400;
  line-height: 1.18;
  letter-spacing: -0.005em;
  color: var(--charcoal);
}

/* Body headings — DM Sans, same family */
h1, h2, h3, h4 {
  font-family: var(--font-body);
  color: var(--charcoal);
}
h3 { font-size: var(--text-lg); font-weight: 600; letter-spacing: -0.01em; line-height: 1.3; }
h4 { font-size: var(--text-base); font-weight: 600; letter-spacing: -0.005em; }

/* Eyebrow labels */
.eyebrow {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--charcoal-light);
  display: block;
}
.eyebrow-navy {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--navy);
  display: block;
}

/* Body text */
.lead {
  font-size: var(--text-md);
  font-weight: 300;
  line-height: 1.72;
  color: var(--charcoal-light);
}
.body-sm {
  font-size: var(--text-sm);
  line-height: 1.6;
  color: var(--charcoal-light);
}

/* Italics — use DM Serif Display for em inside display headings */
.display-1 em, .display-2 em, .display-3 em,
.cta-headline em {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--navy);
}

/* ============ LAYOUT ============ */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
}

/* Section spacing — intentionally varied for hierarchy */
.section           { padding: var(--space-28) 0; }           /* 7rem — standard */
.section-secondary { padding: var(--space-20) 0; }           /* 5rem — supporting */
.section-tight     { padding: var(--space-16) 0; }           /* 4rem — dense */

.section-header        { margin-bottom: var(--space-12); }
.section-header .lead  { margin-top: var(--space-4); max-width: 520px; }
.section-header-center { text-align: center; margin-bottom: var(--space-12); }
.section-header-center .lead { max-width: 540px; margin: var(--space-4) auto 0; }

/* Utilities */
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.text-center  { text-align: center; }
.mt-2 { margin-top: var(--space-2); }
.mt-3 { margin-top: var(--space-3); }
.mt-4 { margin-top: var(--space-4); }
.mb-3 { margin-bottom: var(--space-3); }
.mb-4 { margin-bottom: var(--space-16); }
.divider { width: 36px; height: 1px; background: var(--navy); margin: var(--space-8) 0; }

/* ============ BUTTONS — unified system ============ */
/* Base */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: 0.8125rem 1.75rem;
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 500;
  letter-spacing: 0.02em;
  border-radius: var(--radius-sm);
  border: 1.5px solid transparent;
  transition: background var(--transition), border-color var(--transition),
              color var(--transition), transform var(--transition), box-shadow var(--transition);
  white-space: nowrap;
  cursor: pointer;
  text-decoration: none;
}
.btn-lg { padding: 1rem 2.125rem; font-size: var(--text-base); }

/* Primary — navy fill */
.btn-primary {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}
.btn-primary:hover {
  background: var(--navy-mid);
  border-color: var(--navy-mid);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(12,32,64,0.22);
}
.btn-primary:focus-visible {
  outline: 2px solid var(--navy-light);
  outline-offset: 2px;
}

/* Secondary — outline */
.btn-secondary {
  background: transparent;
  color: var(--charcoal);
  border-color: var(--border-dark);
}
.btn-secondary:hover {
  border-color: var(--charcoal);
  transform: translateY(-1px);
}

/* White — for use on dark/navy backgrounds */
.btn-white {
  background: var(--white);
  color: var(--navy);
  border-color: var(--white);
}
.btn-white:hover {
  background: var(--off-white);
  transform: translateY(-1px);
}

/* Ghost — no border, left-aligned, text-only feel */
.btn-ghost {
  background: transparent;
  color: var(--charcoal);
  border-color: transparent;
  padding-left: 0;
  padding-right: 0;
}
.btn-ghost:hover { color: var(--navy); }

/* Outline on dark bg */
.btn-outline-dark {
  background: transparent;
  color: rgba(255,255,255,0.75);
  border-color: rgba(255,255,255,0.28);
}
.btn-outline-dark:hover {
  background: rgba(255,255,255,0.08);
  color: var(--white);
  border-color: rgba(255,255,255,0.5);
}

/* Text links */
.text-link {
  font-size: var(--text-sm);
  color: var(--charcoal-light);
  transition: color var(--transition);
}
.text-link:hover { color: var(--navy); }
.text-link strong { color: var(--navy); font-weight: 500; }

.cta-text-link {
  font-size: var(--text-sm);
  font-weight: 500;
  color: rgba(255,255,255,0.6);
  transition: color var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}
.cta-text-link:hover { color: rgba(255,255,255,0.9); }

/* ============ NAV ============ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-height);
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.nav.scrolled {
  border-bottom-color: var(--border);
  box-shadow: 0 1px 16px rgba(0,0,0,0.04);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-height);
}

/* Logo — DM Serif Display, consistent with display headings */
.nav-logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 400;
  letter-spacing: -0.01em;
  color: var(--navy);
  text-decoration: none;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav-links a {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 400;
  color: var(--charcoal-light);
  text-decoration: none;
  position: relative;
  transition: color var(--transition);
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0; right: 0;
  height: 1px;
  background: var(--navy);
  transform: scaleX(0);
  transition: transform var(--transition);
}
.nav-links a:hover { color: var(--charcoal); }
.nav-links a:hover::after,
.nav-links a.active::after { transform: scaleX(1); }
.nav-links a.active { color: var(--charcoal); }

.nav-right { display: flex; align-items: center; gap: var(--space-6); }
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 5px;
  cursor: pointer;
}
.nav-toggle span {
  width: 21px; height: 1.5px;
  background: var(--charcoal);
  transition: var(--transition);
  display: block;
}

/* ============ MOBILE NAV ============ */
.mobile-nav {
  position: fixed;
  top: var(--nav-height); left: 0; right: 0;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: var(--space-6) 2rem var(--space-8);
  transform: translateY(-110%);
  opacity: 0;
  pointer-events: none;
  transition: transform var(--transition), opacity var(--transition);
  z-index: 99;
}
.mobile-nav.open { transform: translateY(0); opacity: 1; pointer-events: all; }
.mobile-nav a {
  display: block;
  padding: 0.8125rem 0;
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 400;
  color: var(--charcoal);
  border-bottom: 1px solid var(--border);
  text-decoration: none;
}
.mobile-nav a:last-of-type { border-bottom: none; }
.mobile-nav .btn { margin-top: var(--space-6); width: 100%; justify-content: center; }

/* ============ HERO ============ */
.hero {
  padding-top: calc(var(--nav-height) + 4.5rem);
  padding-bottom: 4.5rem;
  overflow: hidden;
  position: relative;
}
/* Subtle radial wash — adds depth without distraction */
.hero::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(12,32,64,0.025) 0%, transparent 70%);
  pointer-events: none;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: center;
}
.hero-content { max-width: 560px; }
.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  margin-bottom: var(--space-8);
}
.hero-eyebrow-line { width: 28px; height: 1px; background: var(--navy); flex-shrink: 0; }
.hero-headline { margin-bottom: var(--space-6); }
.hero-headline em { font-family: var(--font-display); font-style: italic; color: var(--navy); }
.hero-sub { margin-bottom: var(--space-8); max-width: 440px; }
.hero-actions {
  display: flex;
  gap: var(--space-4);
  align-items: center;
  flex-wrap: wrap;
}

/* Mockup */
.hero-visual { position: relative; }

/* ============ DEVICE CLUSTER ============ */
.device-cluster {
  position: relative;
  width: 100%;
  min-height: 420px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

/* ── LAPTOP ── */
.hero-laptop {
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 8px 16px rgba(0,0,0,0.08)) drop-shadow(0 24px 48px rgba(0,0,0,0.10));
  width: 100%;
  max-width: 520px;
}
.hlap-screen-wrap {
  background: #1a1a1e;
  border-radius: 10px 10px 0 0;
  padding: 6px 6px 0;
  border: 1px solid #3a3a3c;
  border-bottom: none;
  position: relative;
}
.hlap-bar {
  background: #2c2c2e;
  border-radius: 5px 5px 0 0;
  height: 26px;
  display: flex;
  align-items: center;
  padding: 0 10px;
  gap: 6px;
}
.hlap-dots {
  display: flex;
  gap: 4px;
  flex-shrink: 0;
}
.hlap-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  display: block;
}
.hlap-dots .hlap-dot:nth-child(1) { background: #ff5f57; }
.hlap-dots .hlap-dot:nth-child(2) { background: #febc2e; }
.hlap-dots .hlap-dot:nth-child(3) { background: #28c840; }
.hlap-url {
  flex: 1;
  background: #3a3a3c;
  border-radius: 4px;
  height: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-size: 8px;
  color: rgba(255,255,255,0.45);
  letter-spacing: 0.01em;
  max-width: 180px;
  margin: 0 auto;
}
.hlap-spacer { width: 44px; flex-shrink: 0; }
.hlap-screen {
  overflow: hidden;
  aspect-ratio: 16/10;
  background: #f8f8f6;
  border-radius: 0;
}
.hlap-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

/* Laptop body / base */
.hlap-body {
  position: relative;
}
.hlap-hinge {
  height: 5px;
  background: linear-gradient(to bottom, #2a2a2c, #1a1a1c);
  border-left: 1px solid #3a3a3c;
  border-right: 1px solid #3a3a3c;
}
.hlap-base {
  height: 14px;
  background: linear-gradient(to bottom, #d8d8da 0%, #b8b8bc 40%, #c8c8ca 100%);
  border-radius: 0 0 2px 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  margin: 0 -8px;
}
.hlap-base::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: rgba(255,255,255,0.6);
}
.hlap-base::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 10%;
  right: 10%;
  height: 4px;
  background: linear-gradient(to bottom, #b0b0b4, #a0a0a4);
  border-radius: 0 0 6px 6px;
}
.hlap-trackpad {
  width: 50px;
  height: 8px;
  background: rgba(0,0,0,0.06);
  border-radius: 2px;
  border: 1px solid rgba(0,0,0,0.04);
}

/* ── TABLET ── */
.hero-tablet {
  position: absolute;
  right: -30px;
  bottom: 30px;
  z-index: 2;
  transform: rotate(3deg);
  filter: drop-shadow(0 12px 32px rgba(0,0,0,0.14));
  animation: tabletFloat 6s ease-in-out infinite;
}
@keyframes tabletFloat {
  0%, 100% { transform: rotate(3deg) translateY(0); }
  50% { transform: rotate(3deg) translateY(-6px); }
}
.htab-bezel {
  width: 170px;
  height: 240px;
  background: #1a1a1e;
  border-radius: 14px;
  padding: 10px 8px;
  border: 1px solid #3a3a3c;
  position: relative;
}
/* Camera dot */
.htab-bezel::before {
  content: '';
  position: absolute;
  top: 5px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 4px;
  background: #2a2a2e;
  border-radius: 50%;
}
.htab-screen {
  width: 100%;
  height: 100%;
  background: var(--white);
  border-radius: 6px;
  overflow: hidden;
}
.htab-screen img {
  width: 100%;
  height: 100%;
  object-fit: fill;
  display: block;
}

/* ── PHONE ── */
.hero-phone {
  position: absolute;
  left: -16px;
  bottom: 20px;
  z-index: 3;
  transform: rotate(-4deg);
  filter: drop-shadow(0 16px 40px rgba(0,0,0,0.16));
  animation: phoneFloat 5s ease-in-out 0.5s infinite;
}
@keyframes phoneFloat {
  0%, 100% { transform: rotate(-4deg) translateY(0); }
  50% { transform: rotate(-4deg) translateY(-8px); }
}
.hphone-bezel {
  width: 110px;
  height: 224px;
  background: #1a1a1e;
  border-radius: 18px;
  padding: 4px;
  border: 1px solid #3a3a3c;
  position: relative;
}
.hphone-notch {
  position: absolute;
  top: 4px;
  left: 50%;
  transform: translateX(-50%);
  width: 32px;
  height: 4px;
  background: #000;
  border-radius: 4px;
  z-index: 2;
}
.hphone-screen {
  width: 100%;
  height: 100%;
  background: var(--white);
  border-radius: 14px;
  overflow: hidden;
}
.hphone-screen img {
  width: 100%;
  height: 100%;
  object-fit: fill;
  display: block;
}

/* ── Cluster responsive ── */
@media (max-width: 1200px) {
  .device-cluster { min-height: 360px; }
  .hero-laptop { max-width: 440px; }
  .hero-tablet { right: -20px; bottom: 20px; }
  .htab-bezel { width: 148px; height: 208px; }
  .hero-phone { left: -8px; bottom: 14px; }
  .hphone-bezel { width: 96px; height: 192px; }
}
@media (max-width: 900px) {
  .device-cluster { min-height: 320px; justify-content: center; }
  .hero-laptop { max-width: 380px; }
  .hero-tablet { right: -14px; bottom: 14px; }
  .htab-bezel { width: 124px; height: 174px; padding: 8px 6px; border-radius: 10px; }
  .hero-phone { left: -2px; bottom: 10px; }
  .hphone-bezel { width: 82px; height: 164px; border-radius: 18px; padding: 10px 6px 12px; }
}
@media (max-width: 600px) {
  .device-cluster { min-height: 260px; }
  .hero-laptop { max-width: 300px; }
  .hero-tablet { right: -8px; bottom: 8px; }
  .htab-bezel { width: 88px; height: 124px; padding: 6px 5px; border-radius: 8px; }
  .hero-phone { left: 4px; bottom: 4px; }
  .hphone-bezel { width: 62px; height: 124px; border-radius: 14px; padding: 6px 4px 8px; }
  .hphone-notch { width: 28px; height: 4px; top: 6px; }
}

/* ============ WORK SHOWCASE (homepage) ============ */
.work-showcase-section {
  background: var(--white);
  padding-top: 5rem;
  padding-bottom: 5.5rem;
}
.work-showcase-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 3rem;
}
.work-showcase-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.showcase-card {
  display: block;
  text-decoration: none;
  color: inherit;
  border-radius: 14px;
  overflow: visible;
  transition: transform 0.3s ease;
}
.showcase-card:hover { transform: translateY(-6px); }
.showcase-card-browser {
  background: var(--white);
  border-radius: 10px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06), 0 6px 20px rgba(0,0,0,0.08), 0 20px 40px rgba(0,0,0,0.07);
  border: 1px solid rgba(0,0,0,0.06);
  overflow: hidden;
  transition: box-shadow 0.3s ease;
}
.showcase-card:hover .showcase-card-browser {
  box-shadow: 0 2px 6px rgba(0,0,0,0.07), 0 12px 32px rgba(0,0,0,0.12), 0 32px 56px rgba(0,0,0,0.09);
}
.scb-bar {
  background: #f5f5f7;
  border-bottom: 1px solid rgba(0,0,0,0.06);
  height: 28px;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 0 10px;
}
.scb-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #d1d1d6;
  flex-shrink: 0;
  display: inline-block;
}
.scb-dot:nth-child(1) { background: #ff5f57; }
.scb-dot:nth-child(2) { background: #febc2e; }
.scb-dot:nth-child(3) { background: #28c840; }
.scb-url {
  flex: 1;
  font-family: var(--font-body);
  font-size: 9px;
  color: var(--muted);
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  letter-spacing: 0.01em;
}
.showcase-card-img {
  aspect-ratio: 16/10;
  overflow: hidden;
}
.showcase-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  transition: transform 0.5s ease;
}
.showcase-card:hover .showcase-card-img img { transform: scale(1.03); }
.showcase-card-info {
  padding: 1.25rem 0.25rem 0;
}
.showcase-card-meta {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 0.6rem;
}
.showcase-tag {
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}
.showcase-card-info h3 {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 400;
  color: var(--charcoal);
  margin-bottom: 0.3rem;
  letter-spacing: -0.01em;
}
.showcase-card-info p {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  color: var(--muted);
  line-height: 1.5;
}
@media (max-width: 900px) {
  .work-showcase-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .work-showcase-header { flex-direction: column; align-items: flex-start; gap: 1.25rem; }
}
@media (max-width: 600px) {
  .hlap-base { display: none; }
  .hlap-hinge { display: none; }
  .hlap-base::after { display: none; }
}

/* ============ TRUST STRIP ============ */
.trust-strip {
  padding: 1.75rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--off-white);
}
.trust-strip-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-8);
  flex-wrap: wrap;
}
.trust-label {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  flex-shrink: 0;
}
.trust-logos { display: flex; align-items: center; gap: 2.5rem; flex-wrap: wrap; }
.trust-logo-item {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 400;
  color: var(--border-dark);
  transition: color var(--transition);
  letter-spacing: 0;
  position: relative;
}
.trust-logo-item + .trust-logo-item::before {
  content: '';
  position: absolute;
  left: -1.25rem;
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--border);
}
.trust-logo-item:hover { color: var(--charcoal-light); }

/* ============ VALUE STRIP ============ */
.value-strip {
  padding: 3rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--off-white);
}
.value-strip-inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}
.value-strip-item {
  padding: 1rem;
}
.value-strip-item .value-number {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 400;
  color: var(--navy);
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 0.5rem;
}
.value-strip-item p {
  font-family: var(--font-body);
  font-size: 0.875rem;
  color: var(--charcoal-light);
  line-height: 1.5;
  margin: 0;
}

/* ============ SERVICE ROWS ============ */
.services-simple {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.service-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-8);
  padding: 1.625rem 2rem;
  border-bottom: 1px solid var(--border);
  background: var(--white);
  text-decoration: none;
  color: inherit;
  transition: background var(--transition);
}
.service-row:last-child { border-bottom: none; }
.service-row:hover { background: var(--off-white); }
.service-row:hover .service-row-num { color: var(--navy); }
.service-row-left { display: flex; align-items: flex-start; gap: var(--space-6); flex: 1; min-width: 0; }
.service-row-num {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 400;
  color: var(--muted);
  flex-shrink: 0;
  margin-top: 0.2rem;
  min-width: 22px;
}
.service-row-left h3 { font-size: var(--text-base); font-weight: 600; color: var(--charcoal); margin-bottom: 0.25rem; }
.service-row-left p  { font-size: var(--text-sm); color: var(--charcoal-light); line-height: 1.55; }
.service-row-right { display: flex; align-items: center; gap: var(--space-6); flex-shrink: 0; }
.service-row-price { font-family: var(--font-body); font-size: var(--text-sm); font-weight: 500; color: var(--charcoal-mid); white-space: nowrap; }
.service-row-arrow { font-size: var(--text-base); color: var(--border-dark); transition: color var(--transition), transform var(--transition); display: inline-block; }
.service-row:hover .service-row-arrow { color: var(--navy); transform: translateX(3px); }

/* ============ WORK PREVIEW CARDS ============ */
.work-preview-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.125rem; }
.work-card {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--white);
  display: block;
  text-decoration: none;
  color: inherit;
  transition: box-shadow var(--transition), transform var(--transition);
}
.work-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.work-card-image {
  aspect-ratio: 4/3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  overflow: hidden;
  transition: transform var(--transition-slow);
}
.work-card:hover .work-card-image { transform: scale(1.03); }
.work-card-name { font-family: var(--font-body); font-size: var(--text-base); font-weight: 400; color: rgba(255,255,255,0.5); }
.work-card-type { font-size: var(--text-xs); letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.28); }
.work-card-info { padding: 1.125rem 1.375rem 1.375rem; }
.work-card-info h3 { font-size: var(--text-base); font-weight: 600; color: var(--charcoal); margin-bottom: 0.25rem; }
.work-card-info p  { font-size: var(--text-sm); color: var(--charcoal-light); line-height: 1.5; }

/* Sample label */
.sample-label {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.625rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 0.2rem 0.55rem;
  margin-bottom: var(--space-3);
}

/* ============ WHY GRID ============ */
.why-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 5rem; align-items: center; }
.why-right {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.why-item {
  display: flex;
  gap: 1.125rem;
  padding: 1.375rem 1.625rem;
  border-bottom: 1px solid var(--border);
  align-items: flex-start;
  background: var(--white);
  transition: background var(--transition);
}
.why-item:last-child { border-bottom: none; }
.why-item:hover { background: var(--off-white); }
.why-check { font-family: var(--font-body); font-size: var(--text-sm); font-weight: 600; color: var(--navy); flex-shrink: 0; margin-top: 0.1rem; width: 18px; }
.why-item h4 { font-size: var(--text-base); font-weight: 600; color: var(--charcoal); margin-bottom: 0.25rem; }
.why-item p  { font-size: var(--text-sm); color: var(--charcoal-light); line-height: 1.6; }

/* ============ TESTIMONIALS ============ */
.testimonial-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.125rem; }
.testimonial-card {
  padding: 1.875rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--white);
  transition: box-shadow var(--transition), transform var(--transition);
}
.testimonial-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.testimonial-stars { font-size: 0.75rem; color: #c8942a; letter-spacing: 2px; margin-bottom: var(--space-4); }
.testimonial-quote {
  font-family: var(--font-display);
  font-size: var(--text-md);
  font-weight: 400;
  font-style: italic;
  line-height: 1.7;
  color: var(--charcoal-mid);
  margin-bottom: var(--space-6);
}
.testimonial-author { display: flex; align-items: center; gap: 0.75rem; }
.testimonial-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--navy);
  border: 1px solid var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 600;
  color: rgba(255,255,255,0.85);
  letter-spacing: 0.04em;
  flex-shrink: 0;
}
.testimonial-name { font-family: var(--font-body); font-size: var(--text-sm); font-weight: 600; color: var(--charcoal); letter-spacing: -0.005em; }
.testimonial-role { font-family: var(--font-body); font-size: var(--text-xs); color: var(--muted); margin-top: 0.125rem; }
.testimonial-disclaimer {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  color: var(--muted);
  font-style: italic;
  margin-top: var(--space-3);
  display: block;
}

/* ============ CTA SECTION ============ */
.cta-section {
  background: var(--navy);
  padding: var(--space-28) 0;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  top: -40%; right: -18%;
  width: 480px; height: 480px;
  border-radius: 50%;
  background: rgba(255,255,255,0.025);
  pointer-events: none;
}
.cta-section::after {
  content: '';
  position: absolute;
  bottom: -30%; left: -12%;
  width: 380px; height: 380px;
  border-radius: 50%;
  background: rgba(255,255,255,0.018);
  pointer-events: none;
}
.cta-inner { text-align: center; position: relative; z-index: 1; }
.cta-eyebrow {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: var(--space-6);
  display: block;
}
.cta-headline {
  font-family: var(--font-display);
  font-size: clamp(1.875rem, 3.5vw, 3rem);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: -0.01em;
  color: var(--white);
  margin-bottom: var(--space-4);
}
.cta-headline em { font-family: var(--font-display); font-style: italic; opacity: 0.65; }
.cta-sub {
  font-family: var(--font-body);
  font-size: var(--text-md);
  font-weight: 300;
  color: rgba(255,255,255,0.55);
  max-width: 460px;
  margin: 0 auto var(--space-8);
  line-height: 1.72;
}
.cta-actions { display: flex; align-items: center; justify-content: center; gap: var(--space-4); flex-wrap: wrap; }

/* ============ PAGE HEADER ============ */
.page-header {
  padding-top: calc(var(--nav-height) + 4.5rem);
  padding-bottom: 4rem;
  border-bottom: 1px solid var(--border);
}
.page-header-inner { max-width: 640px; }

/* ============ SERVICES DETAIL PAGE ============ */
.service-section-detail { padding: 4.5rem 0; border-bottom: 1px solid var(--border); }
.service-section-detail:last-child { border-bottom: none; }
.service-detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4.5rem; align-items: center; }
.service-detail-grid.reverse { direction: rtl; }
.service-detail-grid.reverse > * { direction: ltr; }
.service-detail-visual {
  background: var(--cream);
  border-radius: var(--radius-md);
  aspect-ratio: 4/3;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-size: var(--text-xs);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.service-intro-text { font-family: var(--font-body); font-size: var(--text-md); color: var(--charcoal-mid); line-height: 1.72; }
.service-includes { display: flex; flex-direction: column; gap: 0.55rem; margin-top: var(--space-6); }
.include-item {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  font-family: var(--font-body);
  font-size: var(--text-sm);
  color: var(--charcoal-mid);
}
.include-item::before { content: '✓'; color: var(--navy); font-weight: 600; font-size: var(--text-xs); flex-shrink: 0; margin-top: 0.15rem; }
.pricing-note {
  display: inline-block;
  margin-top: var(--space-6);
  padding: 0.7rem 1.125rem;
  background: var(--cream);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  color: var(--charcoal-mid);
  border: 1px solid var(--border);
}
.pricing-note strong { color: var(--charcoal); }

/* Not-sure strip */
.not-sure-strip { background: var(--cream); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 2.25rem 0; }
.not-sure-inner { display: flex; align-items: center; justify-content: space-between; gap: var(--space-8); flex-wrap: wrap; }
.not-sure-inner h3 { font-family: var(--font-body); font-size: var(--text-base); font-weight: 600; color: var(--charcoal); margin-bottom: 0.25rem; }
.not-sure-inner p  { font-family: var(--font-body); font-size: var(--text-sm); color: var(--charcoal-light); }

/* ============ ABOUT PAGE ============ */
.about-story { display: grid; grid-template-columns: 1fr; gap: 0; align-items: start; max-width: 760px; }
.about-visual { position: sticky; top: calc(var(--nav-height) + 2rem); }
.about-image-block {
  background: var(--cream);
  border-radius: var(--radius-lg);
  aspect-ratio: 3/4;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  color: var(--muted);
  font-size: var(--text-xs);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: var(--space-6);
  overflow: hidden;
}
.about-stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.about-stat { background: var(--white); padding: var(--space-6); }
.value-number {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 400;
  color: var(--navy);
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: var(--space-2);
}
.about-stat p { font-family: var(--font-body); font-size: var(--text-xs); color: var(--charcoal-light); }
.about-content h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.5vw, 2.25rem);
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.2;
  margin-bottom: var(--space-6);
}
.about-content p { font-family: var(--font-body); font-size: var(--text-base); color: var(--charcoal-mid); line-height: 1.75; margin-bottom: var(--space-4); }
.values-list { margin-top: var(--space-8); display: flex; flex-direction: column; gap: var(--space-4); }
.value-list-item {
  padding: 1.25rem var(--space-6);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  display: flex;
  gap: var(--space-4);
  align-items: flex-start;
  transition: background var(--transition);
}
.value-list-item:hover { background: var(--off-white); }
.value-list-icon { font-size: var(--text-xs); color: var(--navy); flex-shrink: 0; margin-top: 0.3rem; }
.value-list-item h4 { font-family: var(--font-body); font-size: var(--text-base); font-weight: 600; margin-bottom: 0.25rem; color: var(--charcoal); }
.value-list-item p  { font-family: var(--font-body); font-size: var(--text-sm); color: var(--charcoal-light); line-height: 1.6; margin: 0; }

/* Who grid */
.who-grid {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-top: var(--space-8);
}
.who-item {
  padding: 1.0625rem 1.25rem;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  color: var(--charcoal-mid);
  background: var(--white);
  transition: background var(--transition), color var(--transition);
}
.who-item:hover { background: var(--navy); color: var(--white); }
.who-item:nth-child(4n) { border-right: none; }
.who-item:nth-child(n+9) { border-bottom: none; }

/* ============ PROCESS PAGE ============ */
.process-page-list { display: flex; flex-direction: column; position: relative; }
.process-page-list::before {
  content: '';
  position: absolute;
  left: 27px; top: 52px; bottom: 52px;
  width: 1px;
  background: var(--border);
}
.process-page-item {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 2.25rem;
  padding: 2.75rem 0;
  border-bottom: 1px solid var(--border);
  position: relative;
}
.process-page-item:last-child { border-bottom: none; }
.process-page-num-wrap { display: flex; justify-content: center; padding-top: 0.2rem; }
.process-page-num {
  width: 54px; height: 54px;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: 400;
  color: var(--navy);
  flex-shrink: 0;
  z-index: 1;
  position: relative;
}
.process-page-body h3 { font-family: var(--font-display); font-size: var(--text-xl); font-weight: 400; letter-spacing: -0.01em; margin-bottom: 0.625rem; margin-top: 0.625rem; }
.process-page-body p  { font-family: var(--font-body); font-size: var(--text-base); color: var(--charcoal-light); line-height: 1.72; margin-bottom: var(--space-4); }
.process-page-body ul { display: flex; flex-direction: column; gap: 0.35rem; margin-top: var(--space-2); }
.process-page-body ul li { font-family: var(--font-body); font-size: var(--text-sm); color: var(--charcoal-light); padding-left: 1.125rem; position: relative; }
.process-page-body ul li::before { content: '—'; position: absolute; left: 0; color: var(--border-dark); }

/* FAQ */
.faq-list { display: flex; flex-direction: column; border: 1px solid var(--border); border-radius: var(--radius-md); overflow: hidden; max-width: 720px; }
.faq-item { padding: 1.625rem 1.875rem; border-bottom: 1px solid var(--border); background: var(--white); transition: background var(--transition); }
.faq-item:last-child { border-bottom: none; }
.faq-item:hover { background: var(--off-white); }
.faq-item h4 { font-family: var(--font-body); font-size: var(--text-base); font-weight: 600; color: var(--charcoal); margin-bottom: 0.5rem; }
.faq-item p  { font-family: var(--font-body); font-size: var(--text-sm); color: var(--charcoal-light); line-height: 1.65; }

/* ============ WORK / PORTFOLIO PAGE ============ */
.work-filter-bar { display: flex; gap: var(--space-2); flex-wrap: wrap; margin-bottom: var(--space-8); }
.work-filter-btn {
  padding: 0.4375rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: 100px;
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--charcoal-light);
  background: var(--white);
  cursor: pointer;
  transition: border-color var(--transition), color var(--transition), background var(--transition);
}
.work-filter-btn:hover, .work-filter-btn.active { border-color: var(--navy); color: var(--navy); background: rgba(12,32,64,0.04); }
.portfolio-full-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 1.75rem; }
.portfolio-full-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--white);
  display: block;
  text-decoration: none;
  color: inherit;
  transition: box-shadow var(--transition), transform var(--transition);
}
.portfolio-full-card:hover { box-shadow: var(--shadow-xl); transform: translateY(-4px); }
.portfolio-full-image {
  aspect-ratio: 16/10;
  background: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition: transform var(--transition-slow);
}
.portfolio-full-card:hover .portfolio-full-image { transform: scale(1.02); }
.pf-placeholder { text-align: center; color: var(--muted); }
.pf-placeholder p { font-family: var(--font-body); font-size: var(--text-xs); letter-spacing: 0.08em; text-transform: uppercase; margin-top: var(--space-2); }
.portfolio-full-info { padding: 1.625rem 1.875rem 1.875rem; }
.portfolio-tags { display: flex; gap: var(--space-2); flex-wrap: wrap; margin-bottom: var(--space-4); }
.tag {
  background: var(--cream);
  border: 1px solid var(--border);
  padding: 0.2rem 0.6rem;
  border-radius: 100px;
  font-family: var(--font-body);
  font-size: 0.625rem;
  font-weight: 500;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--charcoal-light);
}
.tag-sample { color: var(--muted); }
.portfolio-full-info h3 { font-family: var(--font-display); font-size: var(--text-xl); font-weight: 400; letter-spacing: -0.01em; margin-bottom: var(--space-2); color: var(--charcoal); }

/* ============ CONTACT PAGE ============ */
.contact-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 5.5rem; align-items: start; }
.contact-info { padding-top: var(--space-4); }
.contact-detail { margin-bottom: 2.125rem; }
.contact-detail h4 { font-family: var(--font-body); font-size: var(--text-xs); font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--charcoal-light); margin-bottom: 0.5rem; }
.contact-detail p, .contact-detail a { font-family: var(--font-body); font-size: var(--text-base); color: var(--charcoal); line-height: 1.6; }
.contact-detail a:hover { color: var(--navy); text-decoration: underline; }
.contact-assurance { margin-top: var(--space-8); padding: 1.25rem var(--space-6); background: var(--off-white); border-radius: var(--radius-md); border: 1px solid var(--border); }
.contact-assurance h4 { font-family: var(--font-body); font-size: var(--text-xs); font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--charcoal-light); margin-bottom: 0.625rem; }
.contact-assurance p  { font-family: var(--font-body); font-size: var(--text-sm); color: var(--charcoal-mid); line-height: 1.65; }
.contact-form { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 2.25rem; }
.contact-form h2 { font-family: var(--font-body); font-size: var(--text-lg); font-weight: 600; letter-spacing: -0.01em; margin-bottom: var(--space-8); color: var(--charcoal); }
.form-group { margin-bottom: 1.25rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-4); }
label { display: block; font-family: var(--font-body); font-size: var(--text-sm); font-weight: 500; color: var(--charcoal); margin-bottom: var(--space-2); }
input[type="text"], input[type="email"], input[type="tel"], select, textarea {
  width: 100%;
  padding: 0.8125rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--charcoal);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
  appearance: none;
  -webkit-appearance: none;
}
input:focus, select:focus, textarea:focus { border-color: var(--navy); box-shadow: 0 0 0 3px rgba(12,32,64,0.07); }
input::placeholder, textarea::placeholder { color: var(--muted); }
textarea { min-height: 128px; resize: vertical; }
.form-submit { width: 100%; justify-content: center; }
.form-note { font-family: var(--font-body); font-size: var(--text-sm); color: var(--charcoal-light); margin-top: 0.75rem; text-align: center; }

/* ============ FOOTER ============ */
footer { background: var(--charcoal); color: var(--white); padding: 4.5rem 0 2.25rem; }
.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3.5rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-brand .nav-logo { display: inline-block; color: var(--white); margin-bottom: var(--space-4); }
.footer-brand .nav-logo span { color: rgba(255,255,255,0.4); }
.footer-desc { font-family: var(--font-body); font-size: var(--text-sm); color: rgba(255,255,255,0.4); line-height: 1.7; margin-bottom: var(--space-6); max-width: 260px; }
.footer-cta-btn { display: inline-flex; font-size: var(--text-sm); padding: 0.7rem 1.375rem; }
.footer-contact-item { font-family: var(--font-body); font-size: var(--text-sm); color: rgba(255,255,255,0.5); margin-bottom: 0.375rem; }
.footer-contact-item a { transition: color var(--transition); }
.footer-contact-item a:hover { color: var(--white); }
.footer-col h4 { font-family: var(--font-body); font-size: var(--text-xs); font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255,255,255,0.28); margin-bottom: var(--space-4); }
.footer-col ul { display: flex; flex-direction: column; gap: 0.55rem; }
.footer-col a { font-family: var(--font-body); font-size: var(--text-sm); color: rgba(255,255,255,0.5); transition: color var(--transition); }
.footer-col a:hover { color: var(--white); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: var(--space-4); flex-wrap: wrap; }
.footer-copyright { font-family: var(--font-body); font-size: var(--text-xs); color: rgba(255,255,255,0.28); }
.footer-socials { display: flex; gap: var(--space-6); }
.footer-socials a { font-family: var(--font-body); font-size: var(--text-xs); color: rgba(255,255,255,0.28); transition: color var(--transition); }
.footer-socials a:hover { color: var(--white); }

/* ============ SCROLL ANIMATIONS ============ */
body:not(.loaded) .fade-up { transition: none; }
.fade-up { opacity: 0; transform: translateY(20px); transition: opacity 0.65s var(--ease), transform 0.65s var(--ease); }
.fade-up.visible { opacity: 1; transform: translateY(0); }
.fade-up-delay-1 { transition-delay: 0.12s; }
.fade-up-delay-2 { transition-delay: 0.24s; }
.fade-up-delay-3 { transition-delay: 0.36s; }

/* ============ RESPONSIVE ============ */
@media (max-width: 1100px) {
  .footer-top { grid-template-columns: 1fr 1fr; gap: 2.25rem; }
  .why-grid { gap: 3rem; }
}

@media (max-width: 900px) {
  :root { --space-28: 5rem; }
  .hero-inner { grid-template-columns: 1fr; gap: var(--space-12); }
  .hero-content { max-width: 100%; }
  .hero-visual { max-width: 440px; margin: 0 auto; }
  .service-detail-grid { grid-template-columns: 1fr; gap: var(--space-8); }
  .service-detail-grid.reverse { direction: ltr; }
  .about-story { grid-template-columns: 1fr; gap: var(--space-12); }
  .about-visual { position: static; max-width: 420px; }
  .contact-grid { grid-template-columns: 1fr; gap: var(--space-12); }
  .why-grid { grid-template-columns: 1fr; gap: var(--space-8); }
  .portfolio-full-grid { grid-template-columns: 1fr; }
  .work-preview-grid { grid-template-columns: 1fr 1fr; }
  .testimonial-grid { grid-template-columns: 1fr; gap: var(--space-4); }
}

@media (max-width: 768px) {
  :root {
    --space-28: 3.75rem;
    --space-20: 3rem;
  }

  .nav-links { display: none; }
  .nav-right .btn-primary { display: none; }
  .nav-toggle { display: flex; }
  .container { padding: 0 1.25rem; }

  .hero { padding-top: calc(var(--nav-height) + 2.75rem); padding-bottom: 3rem; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .hero-actions .btn { width: 100%; justify-content: center; }

  .display-1 { font-size: clamp(2rem, 7vw, 2.5rem); }
  .display-2 { font-size: clamp(1.625rem, 5vw, 2rem); }
  .display-3 { font-size: clamp(1.375rem, 4vw, 1.75rem); }

  .trust-strip-inner { flex-direction: column; align-items: flex-start; gap: var(--space-4); }
  .trust-logos { gap: var(--space-6); }

  .value-strip-inner { grid-template-columns: 1fr; gap: 2rem; }
  .value-strip-item { padding: 0.5rem 0; }

  .service-row { flex-direction: column; align-items: flex-start; gap: var(--space-4); padding: 1.25rem; }
  .service-row-right { gap: var(--space-4); }

  .work-preview-grid { grid-template-columns: 1fr; }

  .why-item { padding: 1.125rem 1.375rem; }

  .not-sure-inner { flex-direction: column; align-items: flex-start; }
  .not-sure-inner .btn { width: 100%; justify-content: center; }

  .cta-actions { flex-direction: column; align-items: center; }
  .cta-actions .btn, .cta-actions .btn-outline-dark { width: 100%; max-width: 300px; }

  .footer-top { grid-template-columns: 1fr; gap: 1.75rem; }
  .footer-desc { max-width: 100%; }

  .form-row { grid-template-columns: 1fr; }
  .contact-form { padding: 1.625rem; }

  .who-grid { grid-template-columns: 1fr 1fr; }
  .who-item:nth-child(4n) { border-right: 1px solid var(--border); }
  .who-item:nth-child(2n) { border-right: none; }
  .who-item:nth-child(n+9) { border-bottom: 1px solid var(--border); }
  .who-item:nth-child(n+11) { border-bottom: none; }

  .process-page-item { grid-template-columns: 48px 1fr; gap: var(--space-6); padding: 2rem 0; }
  .process-page-list::before { left: 23px; }
  .process-page-num { width: 48px; height: 48px; }
}

@media (max-width: 480px) {
  .portfolio-full-grid { grid-template-columns: 1fr; }
  .who-grid { grid-template-columns: 1fr 1fr; }
}

/* ── V5 PATCH ── */
/* 2-card work preview: center the two cards */
.work-preview-grid.two-cards {
  grid-template-columns: repeat(2, 1fr);
  max-width: 760px;
}
/* Remove italics from all display headings globally */
.display-1 em, .display-2 em, .display-3 em,
.cta-headline em, .page-header h1 em,
.hero-headline em, h1 em, h2 em {
  font-style: normal;
  color: inherit;
}

/* ── REAL PROJECT SCREENSHOTS ── */
/* 3-card grid on homepage */
.two-cards-three {
  grid-template-columns: repeat(3, 1fr);
}

/* Screenshot image cards */
.work-card-screenshot {
  position: relative;
  overflow: hidden;
}
.work-card-screenshot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  display: block;
  transition: transform var(--transition-slow);
}
.work-card:hover .work-card-screenshot img {
  transform: scale(1.04);
}
.work-card-fallback {
  position: absolute;
  inset: 0;
}

/* Portfolio screenshot frames on work page */
.portfolio-screenshot-link {
  display: block;
  overflow: hidden;
}
.portfolio-screenshot-frame {
  position: relative;
  overflow: hidden;
}
.portfolio-screenshot-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  display: block;
  transition: transform var(--transition-slow);
}
.portfolio-full-card:hover .portfolio-screenshot-frame img {
  transform: scale(1.03);
}

/* Responsive: 3-col to 1-col on mobile */
@media (max-width: 768px) {
  .two-cards-three {
    grid-template-columns: 1fr;
  }
}

/* ── SLIDESHOW ── */
.ss-slideshow {
  position: relative;
  overflow: hidden;
  background: var(--cream);
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-md) var(--radius-md) 0 0;
}

/* Track — hidden overflow, slides stacked */
.ss-track {
  position: relative;
  width: 100%;
  height: 100%;
}

.ss-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.85s ease;
  pointer-events: none;
}
.ss-slide.ss-active {
  opacity: 1;
  pointer-events: auto;
}
.ss-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  display: block;
}

/* Prev / Next buttons */
.ss-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.92);
  border: 1px solid var(--border);
  color: var(--charcoal);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition), box-shadow var(--transition), transform var(--transition);
  box-shadow: var(--shadow-md);
}
.ss-btn:hover {
  background: var(--white);
  box-shadow: var(--shadow-lg);
  transform: translateY(-50%) scale(1.06);
}
.ss-prev { left: 1rem; }
.ss-next { right: 1rem; }

/* Dot indicators */
.ss-dots {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.5rem;
  z-index: 10;
}
.ss-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  border: 1px solid rgba(255,255,255,0.6);
  cursor: pointer;
  padding: 0;
  transition: background var(--transition), transform var(--transition);
}
.ss-dot:hover    { background: rgba(255,255,255,0.8); }
.ss-dot-active   { background: var(--white); transform: scale(1.25); }

/* Mobile */
@media (max-width: 768px) {
  .ss-btn { width: 34px; height: 34px; }
  .ss-prev { left: 0.625rem; }
  .ss-next { right: 0.625rem; }
}

/* ============ MOBILE POLISH ============ */
@media (max-width: 768px) {
  /* Hero — center text on mobile */
  .hero-content {
    text-align: center;
    max-width: 100%;
  }
  .hero-headline {
    text-align: center;
  }
  .hero-sub {
    text-align: center;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
  }
  .hero-actions {
    align-items: center;
    justify-content: center;
  }
  
  /* Value strip — center items properly */
  .value-strip {
    padding: 2.5rem 0;
  }
  .value-strip-item {
    text-align: center;
  }
  .value-strip-item .value-number {
    font-size: 1.5rem;
  }
  .value-strip-item p {
    font-size: 0.8125rem;
    max-width: 280px;
    margin: 0 auto;
  }
  
  /* Section headers — center on mobile */
  .section-header {
    text-align: center;
  }
  .section-header .eyebrow {
    display: block;
    text-align: center;
  }
  .section-header .lead {
    text-align: center;
    max-width: 100%;
  }
  
  /* Work showcase header */
  .work-showcase-header {
    text-align: center;
    align-items: center;
  }
  .work-showcase-header > div {
    text-align: center;
  }
  .work-showcase-header .eyebrow {
    text-align: center;
  }
  
  /* Showcase cards — center info */
  .showcase-card-info {
    text-align: center;
    padding: 1.125rem 0.5rem 0;
  }
  .showcase-card-meta {
    justify-content: center;
  }
  .showcase-card-info p {
    max-width: 320px;
    margin: 0 auto;
  }
  
  /* Why section */
  .why-grid {
    text-align: center;
  }
  .why-grid > div:first-child {
    text-align: center;
  }
  .why-grid .lead {
    max-width: 100%;
  }
  .why-grid .btn {
    margin: 0 auto;
  }
  .why-right {
    text-align: left;
  }
  
  /* Testimonials */
  .section-header-center {
    text-align: center;
  }
  .testimonial-card {
    text-align: center;
  }
  .testimonial-author {
    justify-content: center;
  }
  .testimonial-quote {
    text-align: center;
  }
  
  /* CTA section */
  .cta-inner {
    padding: 0 0.5rem;
  }
  .cta-headline {
    font-size: clamp(1.5rem, 6vw, 2rem);
  }
  .cta-sub {
    font-size: 0.9375rem;
    max-width: 100%;
  }
  
  /* Page headers — center */
  .page-header-inner {
    text-align: center;
  }
  .page-header-inner .eyebrow {
    text-align: center;
  }
  .page-header-inner .lead {
    text-align: center;
    max-width: 100%;
  }
  
  /* Footer refinements */
  .footer-brand {
    text-align: center;
  }
  .footer-brand .nav-logo {
    margin-bottom: 1rem;
  }
  .footer-desc {
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
  }
  .footer-cta-btn {
    display: flex;
    justify-content: center;
    margin: 0 auto 1rem;
  }
  .footer-contact-item {
    text-align: center;
  }
  .footer-col {
    text-align: center;
  }
  .footer-col ul {
    align-items: center;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }
  .footer-socials {
    justify-content: center;
  }
  
  /* Contact page */
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .contact-info {
    text-align: center;
    order: 2;
  }
  .contact-detail {
    text-align: center;
  }
  .contact-assurance {
    text-align: center;
  }
  .contact-form {
    order: 1;
  }
  .contact-form h2 {
    text-align: center;
  }
  
  /* Service rows — better mobile spacing */
  .service-row-left {
    width: 100%;
  }
  .service-row-num {
    margin-bottom: 0.5rem;
  }
  .service-row-right {
    width: 100%;
    justify-content: space-between;
  }
  
  /* Services simple section */
  .services-simple {
    border-radius: var(--radius-md);
  }
  
  /* About page */
  .about-content {
    text-align: center;
  }
  .about-content h2 {
    text-align: center;
  }
  .about-content p {
    text-align: center;
  }
  .values-list {
    text-align: left;
  }
  .value-list-item {
    text-align: left;
  }
  
  /* Who we work with grid */
  .who-grid {
    gap: 0;
  }
  .who-item {
    padding: 1rem 0.75rem;
    font-size: 0.8125rem;
  }
  
  /* Portfolio cards on work page */
  .portfolio-full-info {
    text-align: center;
    padding: 1.25rem 1rem;
  }
  .portfolio-tags {
    justify-content: center;
  }
  .portfolio-full-info h3 {
    text-align: center;
  }
  .portfolio-full-info .body-sm {
    text-align: center;
    max-width: 100%;
  }
}

/* Smaller mobile refinements */
@media (max-width: 480px) {
  .container {
    padding: 0 1rem;
  }
  
  .hero {
    padding-top: calc(var(--nav-height) + 2rem);
    padding-bottom: 2.5rem;
  }
  
  .display-1 {
    font-size: clamp(1.75rem, 8vw, 2.25rem);
  }
  
  .hero-headline br {
    display: none;
  }
  
  .cta-headline br {
    display: none;
  }
  
  .btn-lg {
    padding: 0.875rem 1.5rem;
    font-size: 0.875rem;
  }
  
  .testimonial-card {
    padding: 1.5rem 1.25rem;
  }
  
  .testimonial-quote {
    font-size: 0.9375rem;
  }
  
  .footer-top {
    gap: 1.5rem;
  }
  
  .ss-btn {
    width: 30px;
    height: 30px;
  }
}


.form-status {
  margin-top: 1rem;
  min-height: 1.5rem;
  font-size: 0.95rem;
}

.hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
