/* =========================================
   AI Future Model Management — Stylesheet
   Theme: Light / Modern Editorial (2025)
   ========================================= */

/* --- Variables --- */
:root {
  /* Backgrounds */
  --bg:           #ffffff;
  --bg-warm:      #faf9f7;
  --bg-muted:     #f4f1ec;
  --bg-dark:      #0d0d0d;
  --bg-dark-card: #181818;

  /* Cards / surfaces */
  --card:         #f7f5f2;
  --card-hover:   #f0ede9;
  --card-border:  rgba(0, 0, 0, 0.07);
  --card-border-strong: rgba(0, 0, 0, 0.13);

  /* Shadows */
  --shadow-xs: 0 1px 4px rgba(0,0,0,0.05);
  --shadow-sm: 0 2px 14px rgba(0,0,0,0.07);
  --shadow-md: 0 6px 32px rgba(0,0,0,0.09);
  --shadow-lg: 0 16px 64px rgba(0,0,0,0.12);

  /* Text */
  --text-primary:   #111111;
  --text-secondary: #696460;
  --text-muted:     #b0aaa4;
  --text-accent:    #1a4fd6;   /* blue */

  /* Dark-section text */
  --dk-text:        #f0ede8;
  --dk-text-sub:    #8a8580;
  --dk-text-muted:  #4a4642;
  --dk-border:      rgba(255,255,255,0.08);

  /* Fonts */
  --font-serif: 'DM Serif Display', 'Georgia', serif;
  --font-sans:  'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* UI */
  --radius:    6px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 28px;
  --ease:      cubic-bezier(0.16, 1, 0.32, 1);
  --transition: 0.22s var(--ease);

  --max-width:   1200px;
  --section-pad: 120px;
  --gutter:      clamp(24px, 3.5vw, 56px);

  /* Aliases used by model-search and other components */
  --bg-primary:  var(--bg);
  --border:      rgba(0, 0, 0, 0.10);

  /* Stacking context hierarchy */
  --z-base:    1;
  --z-raised:  5;
  --z-sticky:  10;
  --z-nav:     200;
  --z-sidebar: 200;
  --z-menu:    500;
}

/* --- Reset --------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg);
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; transition: color var(--transition); }
ul[role="list"], ul { list-style: none; }
button { font-family: inherit; }

/* --- Container / Layout ------------------------------------- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 40px;
}

/* --- Typography utilities ----------------------------------- */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-accent);
  margin-bottom: 18px;
}
.section-label::before {
  content: '';
  display: block;
  width: 18px;
  height: 1px;
  background: var(--text-accent);
  flex-shrink: 0;
}

.section-header {
  text-align: center;
  max-width: 660px;
  margin: 0 auto 80px;
}

.section-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 900;
  font-size: clamp(42px, 5.5vw, 72px);
  line-height: 0.98;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  color: var(--text-primary);
  margin-bottom: 20px;
}
.section-title em {
  font-style: normal;
  color: var(--text-accent);
}

.section-subtitle {
  font-size: 17px;
  color: var(--text-secondary);
  line-height: 1.72;
  font-weight: 300;
}

/* Dark variant */
.section-title--dk   { color: var(--dk-text); }
.section-label--dk   { color: #7fa8ff; }
.section-label--dk::before { background: #7fa8ff; }
.section-subtitle--dk { color: var(--dk-text-sub); }

/* --- Buttons ------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  border: none;
  border-radius: var(--radius-xl);
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
  text-decoration: none;
}

.btn-primary {
  background: var(--text-primary);
  color: #ffffff;
}
.btn-primary:hover {
  background: #2a2a2a;
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-ghost {
  background: transparent;
  color: var(--text-secondary);
  border: 1px solid var(--card-border-strong);
}
.btn-ghost:hover {
  background: var(--card);
  color: var(--text-primary);
  border-color: rgba(0,0,0,0.2);
}

.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--card-border-strong);
  font-size: 13px;
}
.btn-outline:hover {
  background: var(--text-primary);
  color: #ffffff;
}

/* =============================================================
   NAVIGATION
============================================================= */
.nav-wrapper {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: var(--z-nav);
  border-bottom: 1px solid rgba(255,255,255,0.18);
  transition: background var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.nav-wrapper.scrolled {
  background: rgba(0,0,0,0.72);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-color: rgba(255,255,255,0.1);
}

.nav-container {
  max-width: 100%;
  padding: 0 40px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0;
  position: relative;
}

.nav-logo {
  font-family: var(--font-sans);
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #ffffff;
  white-space: nowrap;
  flex-shrink: 0;
  transition: color 0.25s ease;
}
.nav-logo:hover {
  color: var(--text-accent) !important;
}


/* MENU button */
.nav-menu-btn {
  flex-shrink: 0;
  background: none;
  border: none;
  cursor: pointer;
  color: #ffffff;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 8px 0;
  display: flex;
  align-items: center;
  gap: 4px;
  transition: transform 0.25s ease, color 0.25s ease;
}
.nav-menu-btn:hover {
  color: var(--text-accent) !important;
  transform: scale(1.12);
}
.nav-menu-plus {
  font-size: 18px;
  font-weight: 300;
  line-height: 1;
}

/* =============================================================
   FULL-SCREEN MENU OVERLAY  — services-section style
============================================================= */
.fs-menu {
  position: fixed;
  inset: 0;
  z-index: var(--z-menu);
  background: #0d0d0d;
  color: #fff;
  display: flex;
  flex-direction: column;
  transform: translateY(100vh);
  transition: transform 0.8s cubic-bezier(0.43, 0.2, 0.02, 1);
  will-change: transform;
}
.fs-menu.open { transform: translateY(0); }

/* ── Top bar ── */
.fs-menu-top {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 0 var(--gutter, 2vw);
  height: 60px;
  border-bottom: 0.1rem solid rgba(255,255,255,0.08);
  flex-shrink: 0;
}

.fs-menu-logo {
  font-family: var(--font-sans);
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: #ffffff;
  text-decoration: none;
}

/* Centered pill */
.fs-menu-tagline-btn {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  background: none;
  border: 1.5px solid rgba(255,255,255,0.35);
  border-radius: 999px;
  padding: 0.45rem 1.2rem;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  white-space: nowrap;
  cursor: default;
  pointer-events: none;
}

.fs-menu-close {
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
  display: flex;
  align-items: center;
  gap: 0.4rem;
  transition: opacity 0.2s ease;
}
.fs-menu-close:hover { opacity: 0.5; }
.fs-menu-close span { font-size: 1.3rem; font-weight: 300; line-height: 1; }

/* ── Social icons — grouped with close button on the right ── */
.fs-menu-social {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 20px;
  margin-left: auto;
  margin-right: 28px;
}

.fs-menu-social-link {
  color: rgba(255,255,255,0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.25s ease, transform 0.25s ease;
}

.fs-menu-social-link:hover {
  color: #fff;
  transform: translateY(-2px);
}

/* ── Nav rows ── */
.fs-menu-nav {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  overflow-x: hidden;
  scroll-behavior: smooth;
  scrollbar-width: none;     /* Firefox */
  position: relative;
}
.fs-menu-nav::-webkit-scrollbar { display: none; }  /* Chrome/Safari */

.fs-menu-link {
  flex-shrink: 0;
  height: calc((100vh - 60px) / 6);
  min-height: 72px;
  display: grid;
  grid-template-columns: 80px 1fr auto;
  align-items: center;
  padding: 0 var(--gutter, 2vw);
  font-size: clamp(52px, min(13vw, calc((100vh - 60px) / 6 * 0.78)), 200px);
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
  text-decoration: none;
  border-top: 0.1rem solid rgba(255,255,255,0.08);
  position: relative;
  cursor: pointer;
  /* background transition matches services: 0.25s ease — color on child spans */
  transition: background 0.25s ease;
  opacity: 0;
  transform: translateY(1.5rem);
}

/* ── Scroll progress track (custom scrollbar, right edge) ── */
.fs-menu-scroll-track {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: rgba(255,255,255,0.06);
  pointer-events: none;
  z-index: var(--z-sticky);
}
.fs-menu-scroll-thumb {
  width: 2px;
  background: var(--text-accent);
  border-radius: 2px;
  position: absolute;
  top: 0;
  left: 0;
  transition: height 0.05s linear, top 0.05s linear, opacity 0.3s ease;
  opacity: 0;
}
.fs-menu-scroll-track.visible .fs-menu-scroll-thumb { opacity: 1; }

/* ── Scroll hint (SCROLL label + bouncing chevron) ── */
.fs-menu-scroll-hint {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: calc((100vh - 60px) / 6);
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 0 calc(var(--gutter, 2vw) + 16px);
  pointer-events: none;
  opacity: 1;
  transition: opacity 0.4s ease;
  gap: 10px;
  z-index: var(--z-raised);
  background: linear-gradient(to top, rgba(13,13,13,0.6) 0%, transparent 100%);
}
.fs-menu-scroll-hint.hidden { opacity: 0; }
.fs-menu-scroll-hint-label {
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
}
.fs-menu-scroll-hint-icon {
  color: rgba(255,255,255,0.3);
  animation: menuScrollBounce 1.6s ease-in-out infinite;
}
@keyframes menuScrollBounce {
  0%, 100% { transform: translateY(0);   opacity: 0.3; }
  50%       { transform: translateY(5px); opacity: 0.7; }
}
.fs-menu-link:first-child { border-top: none; }
.fs-menu-link:last-child  { border-bottom: 0.1rem solid rgba(255,255,255,0.08); }
.fs-menu-link:hover { background: rgba(255,255,255,0.04); transition-delay: 0s; }

/* text label — own transition so stagger delay doesn't affect hover */
.fs-menu-link-text {
  color: rgba(255,255,255,0.75);
  transition: color 0.3s cubic-bezier(0.14, 1, 0.34, 1);
}
.fs-menu-link:hover .fs-menu-link-text { color: var(--text-accent); }

.fs-menu-link-num {
  font-size: 12px;
  font-weight: 500;
  font-family: var(--font-sans);
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.3);
  transition: color 0.3s cubic-bezier(0.14, 1, 0.34, 1);
}
.fs-menu-link:hover .fs-menu-link-num { color: var(--text-accent); transition-delay: 0s; }

.fs-menu-link-arrow {
  font-size: 22px;
  color: rgba(255,255,255,0.2);
  transition: transform 0.3s cubic-bezier(0.14, 1, 0.34, 1),
              color     0.3s cubic-bezier(0.14, 1, 0.34, 1);
}
.fs-menu-link:hover .fs-menu-link-arrow {
  color: var(--text-accent);
  transform: translateX(10px);
  transition-delay: 0s;
}

/* Staggered reveal when menu opens — delay only affects opacity/transform */
.fs-menu.open .fs-menu-link {
  opacity: 1;
  transform: translateY(0);
  transition: background 0.25s ease,
              opacity    0.5s ease,
              transform  0.65s cubic-bezier(0.16, 1, 0.32, 1);
}
.fs-menu.open .fs-menu-link:nth-child(1) { transition-delay: 0.28s; }
.fs-menu.open .fs-menu-link:nth-child(2) { transition-delay: 0.36s; }
.fs-menu.open .fs-menu-link:nth-child(3) { transition-delay: 0.44s; }
.fs-menu.open .fs-menu-link:nth-child(4) { transition-delay: 0.52s; }
.fs-menu.open .fs-menu-link:nth-child(5) { transition-delay: 0.60s; }
.fs-menu.open .fs-menu-link:nth-child(6) { transition-delay: 0.68s; }
.fs-menu.open .fs-menu-link:nth-child(7) { transition-delay: 0.76s; }
.fs-menu.open .fs-menu-link:nth-child(8) { transition-delay: 0.84s; }
/* reset delay the moment user interacts so hover is instant */
.fs-menu.open .fs-menu-link:hover { transition-delay: 0s; }

/* ── Active page link ── */
.fs-menu-link--active .fs-menu-link-text {
  color: #ffffff;
}
.fs-menu-link--active .fs-menu-link-num {
  color: var(--text-accent);
}
.fs-menu-link--active .fs-menu-link-arrow {
  color: var(--text-accent);
}
.fs-menu-link--active::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--text-accent);
}


/* =============================================================
   HERO — full-viewport editorial (Shed-inspired)
============================================================= */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
  background: #111;
  display: flex;
  flex-direction: column;
}

/* Background / carousel */
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1s cubic-bezier(0.9, 0, 0.1, 1);
}
.hero-slide--active { opacity: 1; }

.hero-slide video,
.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}
.hero-bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.28) 0%,
    rgba(0,0,0,0.04) 45%,
    rgba(0,0,0,0.42) 100%
  );
}

/* Content layer */
.hero-content {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

/* Massive condensed headline — JS fits font-size to fill viewport width */
.hero-headline {
  font-family: 'Barlow Condensed', Impact, 'Arial Narrow', sans-serif;
  font-weight: 900;
  font-size: 24vw;
  visibility: hidden; /* shown by JS after fit to avoid size-jump on load */
  line-height: 0.88;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  color: #ffffff;
  white-space: nowrap;
  display: block;
  width: 100%;
  text-align: center;
  margin: 0;
  padding: 0;
}

/* Subtitle */
.hero-subline {
  font-family: var(--font-sans);
  font-size: clamp(18px, 3.2vw, 48px);
  font-weight: 500;
  letter-spacing: 0.38em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.88);
  padding: 20px 0;
  text-align: center;
  width: 100%;
}

/* Bottom row: thumbnail + scroll button */
.hero-bottom {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 0 40px 40px;
}

.hero-thumb {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid rgba(255,255,255,0.35);
  flex-shrink: 0;
  cursor: pointer;
  transition: border-color 0.15s ease, transform 0.15s ease;
}
.hero-thumb:hover {
  border-color: rgba(255,255,255,0.9);
  transform: scale(1.08);
}
.hero-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-scroll {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: rgba(255,255,255,0.92);
  color: #111111;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  transition: all var(--transition);
  flex-shrink: 0;
}
.hero-scroll:hover {
  background: #ffffff;
  transform: scale(1.06);
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(34,197,94,0.22); }
  50%       { box-shadow: 0 0 0 8px rgba(34,197,94,0.06); }
}

/* =============================================================
   STATS STRIP (dark)
============================================================= */
.stats-strip {
  background: var(--text-accent);
  padding: 56px 0;
}

.stats-inner {
  display: flex;
  align-items: center;
  justify-content: center;
}

.stat-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
  padding: 0 48px;
}

.stat-pct {
  font-family: var(--font-serif);
  font-size: clamp(40px, 5vw, 60px);
  font-weight: 400;
  color: #fff;
  line-height: 1;
}

.stat-desc {
  font-size: 14px;
  color: rgba(255,255,255,0.8);
  font-weight: 300;
  max-width: 220px;
  line-height: 1.5;
}

.stat-divider {
  width: 1px;
  height: 72px;
  background: rgba(255,255,255,0.25);
  flex-shrink: 0;
}

/* =============================================================
   SERVICES — beige rows matching .hp-root hero DNA
============================================================= */
.svcs-section {
  background: #f7f7f5;
  color: #1a1a1a;
  position: relative;
  /* Two-track grid: main content on the left, sticky preview column on the
     right. The preview column spans the full section height so its inner
     panel can use position:sticky and scroll within the section bounds. */
  display: grid;
  grid-template-columns: 1fr 28vw;
  grid-template-rows: auto 1fr;
  align-items: start;
}

.svcs-header {
  grid-column: 1 / -1;   /* header spans the full width so the layout is unchanged */
  grid-row: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
  padding: 100px 56px 80px;
  background: #f7f7f5;
  border-bottom: 1px solid rgba(0,0,0,0.08);
}

.svcs-header-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.svcs-pill {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border: 1px solid rgba(0,0,0,0.25);
  border-radius: 100px;
  padding: 6px 16px;
  color: #1a1a1a;
  margin-bottom: 36px;
}

.svcs-heading {
  font-family: var(--font-serif);
  font-size: clamp(36px, 4vw, 58px);
  font-weight: 400;
  line-height: 1.1;
  color: #1a1a1a;
}

.svcs-header-right {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-top: 60px;
}

.svcs-intro {
  font-size: 17px;
  line-height: 1.8;
  color: rgba(26,26,26,0.75);
  font-weight: 300;
  margin-bottom: 44px;
  max-width: 500px;
}

.svcs-cta {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #1a1a1a;
  border-bottom: 1px solid rgba(0,0,0,0.4);
  padding-bottom: 6px;
  width: fit-content;
  transition: gap 0.25s ease;
}
.svcs-cta:hover { gap: 24px; }

/* ── Service rows — now a single column inside the section grid's left
   track; the sticky preview lives in the right track (see below). ── */
.svcs-rows-wrap {
  grid-column: 1 / 2;
  grid-row: 2;
}

.svcs-rows-list {
  /* nothing special — flex column implied by block stacking */
}

/* Sticky preview column. Lives in the section's right grid track and spans
   every row so its sticky child can float throughout the section. The panel
   is full viewport height so the model can stand flush with the bottom. */
.svcs-image-col {
  grid-column: 2 / -1;
  grid-row: 1 / -1;        /* spans header + rows area = full section height */
  position: sticky;
  top: 0;                  /* stick to top of viewport */
  align-self: start;       /* don't stretch — needed for sticky to engage */
  height: 100vh;           /* full viewport so the model reaches the bottom */
  padding: 0 32px;
  pointer-events: none;    /* hover is driven by the rows on the left */
  z-index: 2;              /* sits over header's right column if they overlap */
}

.svcs-row {
  display: grid;
  grid-template-columns: 80px 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 28px 56px;
  border-top: 1px solid rgba(0,0,0,0.08);
  text-decoration: none;
  transition: background 0.25s ease;
  cursor: pointer;
}
.svcs-rows-list .svcs-row:last-child { border-bottom: 1px solid rgba(0,0,0,0.08); }
.svcs-row:hover { background: rgba(0,0,0,0.04); }

.svcs-row-num {
  font-size: 12px;
  font-weight: 500;
  color: rgba(26,26,26,0.4);
  letter-spacing: 0.08em;
  transition: color 0.3s cubic-bezier(0.14, 1, 0.34, 1);
}
.svcs-row:hover .svcs-row-num { color: var(--text-accent); }

.svcs-row-name {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(42px, 6.5vw, 96px);
  font-weight: 900;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  color: rgba(26,26,26,0.78);
  transition: color 0.3s cubic-bezier(0.14, 1, 0.34, 1);
  line-height: 1;
}
.svcs-row:hover .svcs-row-name { color: var(--text-accent); }

.svcs-row-arrow {
  font-size: 22px;
  color: rgba(26,26,26,0.3);
  transition: transform 0.3s cubic-bezier(0.14, 1, 0.34, 1), color 0.3s ease;
}
.svcs-row:hover .svcs-row-arrow {
  color: var(--text-accent);
  transform: translateX(10px);
}

/* ── Image panel — fills the sticky column. No backdrop: the model is a
   transparent PNG that floats over whatever section is behind it. The
   clip-path reveal still drives the show/hide animation on row hover. ── */
.svcs-image-panel {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
  clip-path: inset(0 0 100% 0);
  transition: clip-path 0.5s cubic-bezier(0.9, 0, 0.1, 1);
}
.svcs-image-panel.active {
  clip-path: inset(0 0 0% 0);
}
.svcs-image-panel img {
  width: 100%;
  height: 100%;
  object-fit: contain;          /* always show the full model, never crop */
  object-position: center bottom; /* model stands flush with viewport bottom */
  transition: transform 0.8s cubic-bezier(0.9, 0, 0.1, 1);
}
.svcs-image-panel.active img {
  transform: scale(1.02);
  transform-origin: bottom center;
}

/* =============================================================
   INTRODUCTION STATEMENT — Shed-style full-bleed statement
============================================================= */
.intro-stmt {
  background: #fff;
  color: #0d0d0d;
  padding: 100px 56px;
}

.intro-stmt-label {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #0d0d0d;
  border: 1px solid rgba(0,0,0,0.28);
  border-radius: 999px;
  padding: 6px 14px;
  margin-bottom: 48px;
}

.intro-stmt-text {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(36px, 4vw, 58px);
  line-height: 1.1;
  color: #0d0d0d;
  margin: 0;
  max-width: 100%;
}

@media (max-width: 600px) {
  .intro-stmt { padding: 72px 24px; }
}

/* =============================================================
   ASSET GRID — Graswald-style capabilities showcase
============================================================= */
.asset-grid-section {
  background: #fff;
}

/* Heading row + 3-col card grid beneath */
.asset-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  column-gap: 24px;
  row-gap: 40px;
  align-items: start;
  padding: 72px 56px 88px;
}

/* Heading spans full width, row 1 */
.asset-grid-heading-cell {
  grid-column: 1 / -1;
  grid-row: 1;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(0,0,0,0.1);
  margin-bottom: 8px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
}

.asset-grid-heading {
  font-family: var(--font-serif);
  font-size: clamp(28px, 3.2vw, 48px);
  font-weight: 400;
  line-height: 1.1;
  color: #0d0d0d;
  margin: 0;
}

/* All 6 cards auto-placed in 3-col rows below heading */
.asset-card--feature {
  grid-column: auto;
  grid-row: auto;
}

/* ── Card ── */
.asset-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.asset-card-tag {
  display: inline-block;
  align-self: flex-start;
  background: var(--text-accent);
  color: #fff;
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 999px;
  padding: 6px 14px;
}

.asset-card-desc {
  font-family: var(--font-sans);
  font-size: 14px;
  line-height: 1.6;
  color: #555;
  margin: 0;
}

/* Images: portrait aspect ratio to show full model */
.asset-card-img-wrap {
  border-radius: 6px;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  width: 100%;
}

.asset-card-img-wrap img,
.asset-card-img-wrap video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.32, 1);
}
.asset-card:hover .asset-card-img-wrap img,
.asset-card:hover .asset-card-img-wrap video {
  transform: scale(1.04);
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .asset-grid { grid-template-columns: repeat(2, 1fr); padding: 60px 40px 80px; }
  .asset-grid-heading-cell { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .asset-grid { grid-template-columns: 1fr; padding: 48px 24px 64px; }
  .asset-grid-heading-cell { grid-column: 1; }
}

/* =============================================================
   SERVICES / TOOLSET (used on services.html)
============================================================= */
.services-section {
  padding: var(--section-pad) 0;
  background: var(--bg);
}

.service-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  padding: 72px 0;
  border-top: 1px solid var(--card-border);
}
.service-row:first-of-type { border-top: none; }

.service-row--reverse { direction: rtl; }
.service-row--reverse > * { direction: ltr; }

/* Service visual */
.service-visual {
  position: relative;
  aspect-ratio: 4/5;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--card);
  box-shadow: var(--shadow-md);
}

.service-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.9s var(--ease);
}
.service-row:hover .service-visual img { transform: scale(1.04); }

.service-img-label {
  position: absolute;
  top: 16px;
  left: 16px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-primary);
  background: rgba(255,255,255,0.88);
  backdrop-filter: blur(8px);
  border-radius: var(--radius-xl);
  padding: 5px 12px;
  box-shadow: var(--shadow-xs);
}

.service-video-badge {
  position: absolute;
  bottom: 16px;
  right: 16px;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--text-primary);
  background: rgba(255,255,255,0.88);
  backdrop-filter: blur(8px);
  border-radius: var(--radius-xl);
  padding: 7px 14px;
  box-shadow: var(--shadow-xs);
}

/* Service content */
.service-content {
  display: flex;
  flex-direction: column;
  padding: 8px 0;
}

.service-eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 20px;
  display: block;
}

.service-title {
  font-family: var(--font-serif);
  font-size: clamp(30px, 3.5vw, 44px);
  font-weight: 400;
  line-height: 1.12;
  color: var(--text-primary);
  margin-bottom: 20px;
}
.service-title em {
  font-style: italic;
  color: var(--text-accent);
}

.service-desc {
  font-size: 16px;
  line-height: 1.78;
  color: var(--text-secondary);
  font-weight: 300;
  margin-bottom: 28px;
}

.service-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 36px;
}
.service-features li {
  font-size: 14px;
  color: var(--text-secondary);
  padding-left: 20px;
  position: relative;
  line-height: 1.5;
}
.service-features li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--text-accent);
  font-size: 11px;
}

.service-link {
  display: inline-flex;
  align-items: center;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
  gap: 6px;
  transition: gap var(--transition), color var(--transition);
  width: fit-content;
}
.service-link::after {
  content: '→';
  transition: transform var(--transition);
}
.service-link:hover { color: var(--text-accent); }
.service-link:hover::after { transform: translateX(4px); }

/* =============================================================
   AUDIENCE
============================================================= */
.audience-section {
  background: #fff;
  border-top: 1px solid var(--card-border);
  padding: var(--section-pad) 0;
}

.audience-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.audience-card {
  background: var(--bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 36px 28px 32px;
  display: flex;
  flex-direction: column;
  transition: box-shadow var(--transition), transform var(--transition);
}
.audience-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.audience-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(26,79,214,0.08);
  border-radius: var(--radius-md);
  color: var(--text-accent);
  margin-bottom: 22px;
}

.audience-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 900;
  font-size: 22px;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  color: var(--text-primary);
  margin-bottom: 12px;
  line-height: 1.1;
}

.audience-desc {
  font-size: 14px;
  line-height: 1.72;
  color: var(--text-secondary);
  font-weight: 300;
  flex: 1;
  margin-bottom: 28px;
}

.audience-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  transition: color var(--transition);
}
.audience-card:hover .audience-link { color: var(--text-accent); }

/* =============================================================
   PROCESS / BEFORE & AFTER
============================================================= */

/* ── Part 1: 3-step flow (beige bg, matches .hp-root hero DNA) ── */
.process-section { background: #f7f7f5; color: #1a1a1a; }

.process-flow {
  padding: 120px 60px 100px;
  max-width: 1400px;
  margin: 0 auto;
}

.process-flow-header {
  max-width: 520px;
  margin-bottom: 80px;
}

.process-eyebrow {
  display: inline-block;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-accent);
  margin-bottom: 20px;
}

.process-headline {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 900;
  font-size: clamp(40px, 4.5vw, 64px);
  line-height: 0.95;
  text-transform: uppercase;
  color: #1a1a1a;
}
.process-headline em {
  font-family: 'DM Serif Display', Georgia, serif;
  font-style: italic;
  font-weight: 400;
  text-transform: none;
  color: var(--text-accent);
}

/* Steps row */
.process-steps {
  display: flex;
  align-items: flex-start;
  gap: 0;
}

.process-step {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.process-arrow {
  align-self: center;
  padding: 0 24px;
  padding-bottom: 120px; /* align to image centre */
  font-size: 28px;
  color: rgba(26,26,26,0.2);
  flex-shrink: 0;
}

/* Step visual */
.process-step-visual {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.process-step-num {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 900;
  font-size: 13px;
  letter-spacing: 0.18em;
  color: var(--text-accent);
}

.process-step-img {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 4;
  border-radius: 8px;
  overflow: hidden;
  background: #ece9e1;
}
.process-step-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 12%;
  display: block;
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.32, 1);
}
.process-step:hover .process-step-img img {
  transform: scale(1.04);
}

/* Corner tag on each image */
.process-step-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 100px;
  background: rgba(247, 247, 245, 0.92);
  backdrop-filter: blur(8px);
  color: #1a1a1a;
  border: 1px solid rgba(0,0,0,0.08);
}
.process-step-tag--blue {
  background: rgba(26, 79, 214, 0.85);
  border-color: var(--text-accent);
}
.process-step-tag--green {
  background: rgba(16, 185, 129, 0.85);
  border-color: rgba(16, 185, 129, 0.6);
}

/* Animated dots on step 2 */
.process-generating {
  position: absolute;
  bottom: 14px;
  left: 14px;
  display: flex;
  gap: 5px;
  align-items: center;
}
.process-generating span {
  display: block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--text-accent);
  animation: gen-pulse 1.4s ease-in-out infinite;
}
.process-generating span:nth-child(2) { animation-delay: 0.2s; }
.process-generating span:nth-child(3) { animation-delay: 0.4s; }

@keyframes gen-pulse {
  0%, 80%, 100% { opacity: 0.25; transform: scale(0.8); }
  40%           { opacity: 1;    transform: scale(1.2); }
}

/* Step body text */

.process-step-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 900;
  font-size: clamp(22px, 2vw, 28px);
  text-transform: uppercase;
  color: #1a1a1a;
  margin-bottom: 10px;
  line-height: 1;
}

.process-step-desc {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 14px;
  line-height: 1.7;
  color: rgba(26,26,26,0.65);
  margin-bottom: 16px;
}

.process-step-list {
  list-style: none;
  padding: 0; margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.process-step-list li {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 13px;
  color: rgba(26,26,26,0.55);
  padding-left: 16px;
  position: relative;
}
.process-step-list li::before {
  content: '';
  position: absolute;
  left: 0; top: 7px;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--text-accent);
  opacity: 0.7;
}

/* ── Part 2: Comparison table (white bg) ── */
.process-compare {
  background: #fff;
  border-top: 1px solid rgba(0,0,0,0.06);
}

.process-compare-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 100px 60px;
}

.process-compare-header {
  max-width: 560px;
  margin-bottom: 60px;
}

.process-eyebrow--dark { color: #0e1a3d; }

.process-compare-headline {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 900;
  font-size: clamp(36px, 4vw, 56px);
  line-height: 0.95;
  text-transform: uppercase;
  color: #0e1a3d;
  margin-top: 16px;
}

/* Table layout */
.process-compare-table {
  display: grid;
  grid-template-columns: 200px 1fr 1fr;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(0,0,0,0.08);
  margin-bottom: 40px;
}

.process-compare-col { display: contents; }

/* Column headers */
.process-compare-col-header {
  padding: 20px 28px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #f4f2ef;
  color: #444;
  border-bottom: 1px solid rgba(0,0,0,0.07);
}
.process-compare-col-header--ai {
  background: #0e1a3d;
  color: #fff;
}

.process-compare-col-icon { font-size: 16px; }

/* Spacer for labels column header */
.process-compare-spacer {
  background: #f9f8f6;
  border-bottom: 1px solid rgba(0,0,0,0.07);
}

/* Row labels */
.process-compare-row-label {
  padding: 16px 28px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: #888;
  background: #f9f8f6;
  border-bottom: 1px solid rgba(0,0,0,0.05);
  display: flex;
  align-items: center;
}
.process-compare-row-label:last-child { border-bottom: none; }

/* Data cells */
.process-compare-cell {
  padding: 16px 28px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 14px;
  font-weight: 500;
  border-bottom: 1px solid rgba(0,0,0,0.05);
  display: flex;
  align-items: center;
  gap: 8px;
}
.process-compare-cell:last-child { border-bottom: none; }

.process-compare-cell--bad {
  color: #999;
}
.process-compare-cell--bad::before {
  content: '✕' / '';   /* empty alt text hides from AT */
  font-size: 11px;
  color: #e0bfbf;
  flex-shrink: 0;
}

.process-compare-cell--good {
  color: #0e1a3d;
  font-weight: 600;
  background: rgba(26, 79, 214, 0.03);
}
.process-compare-cell--good::before {
  content: '✓' / '';   /* empty alt text hides from AT */
  font-size: 12px;
  color: var(--text-accent);
  font-weight: 700;
  flex-shrink: 0;
}

/* CTA */
.process-compare-cta {
  text-align: center;
}
.process-cta-btn {
  display: inline-block;
  background: var(--text-accent);
  color: #fff;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.04em;
  padding: 18px 40px;
  border-radius: 6px;
  text-decoration: none;
  transition: background 0.2s ease, gap 0.2s ease;
}
.process-cta-btn:hover { background: #1540b0; }

/* Responsive */
@media (max-width: 1024px) {
  .process-flow { padding: 80px 40px; }
  .process-compare-inner { padding: 80px 40px; }
  .process-steps { flex-direction: column; gap: 48px; }
  .process-step { flex-direction: row; gap: 32px; }
  .process-step-visual { flex: 0 0 200px; }
  .process-arrow { display: none; }
  .process-compare-table { grid-template-columns: 160px 1fr 1fr; }
}

@media (max-width: 768px) {
  .process-flow { padding: 60px 24px; }
  .process-compare-inner { padding: 60px 24px; }
  .process-step { flex-direction: column; }
  .process-step-visual { flex: none; }
  .process-compare-table {
    grid-template-columns: 1fr 1fr;
  }
  .process-compare-col--label { display: none; }
  .process-compare-spacer { display: none; }
  .process-compare-row-label { display: none; }
}

/* =============================================================
   PRICING
============================================================= */
.pricing-section {
  background: var(--bg);
  border-top: 1px solid var(--card-border);
  padding: var(--section-pad) 0;
}

/* Toggle */
.pricing-toggle {
  display: inline-flex;
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-xl);
  padding: 4px;
  margin-top: 32px;
  gap: 4px;
}

.ptoggle-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  background: transparent;
  border: none;
  border-radius: 20px;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}

.ptoggle-btn--active {
  background: var(--bg);
  color: var(--text-primary);
  box-shadow: var(--shadow-xs);
}

.ptoggle-save {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: var(--text-accent);
  color: #ffffff;
  padding: 3px 9px;
  border-radius: 10px;
}

/* Pricing grid */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  align-items: start;
}

.pricing-card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 36px 26px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 28px;
  transition: box-shadow var(--transition), transform var(--transition);
}
.pricing-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.pricing-card--featured {
  background: var(--text-accent);
  border-color: transparent;
  color: #ffffff;
  transform: none;
  z-index: 1;
}
.pricing-card--featured:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.pricing-badge {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  background: var(--text-accent);
  color: #ffffff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 5px 16px;
  border-radius: 0 0 8px 8px;
  white-space: nowrap;
}

.pricing-name {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 900;
  font-size: 30px;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  color: inherit;
  margin-bottom: 8px;
}

.pricing-desc {
  font-size: 13px;
  font-weight: 300;
  line-height: 1.55;
}
.pricing-card--featured .pricing-desc { color: rgba(255,255,255,0.65); }
.pricing-card:not(.pricing-card--featured) .pricing-desc { color: var(--text-muted); }

.pricing-price {
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.price-currency {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-accent);
}
.pricing-card--featured .price-currency { color: rgba(255,255,255,0.6); }

.price-amount {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 900;
  font-size: 60px;
  line-height: 1;
  color: inherit;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.price-custom { font-size: 38px; }

.price-period {
  font-size: 13px;
  font-weight: 300;
}
.pricing-card:not(.pricing-card--featured) .price-period { color: var(--text-muted); }
.pricing-card--featured .price-period { color: rgba(255,255,255,0.5); }

.pricing-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 11px;
  flex: 1;
}

.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  font-weight: 300;
  line-height: 1.48;
}
.pricing-card:not(.pricing-card--featured) .pricing-features li { color: var(--text-secondary); }
.pricing-card--featured .pricing-features li { color: rgba(255,255,255,0.8); }

.pricing-features svg { flex-shrink: 0; margin-top: 2px; }
.pricing-card:not(.pricing-card--featured) .pricing-features svg { color: var(--text-accent); }
.pricing-card--featured .pricing-features svg { color: rgba(255,255,255,0.7); }

.pricing-btn {
  width: 100%;
  padding: 14px;
}
.pricing-card--featured .pricing-btn {
  background: #ffffff;
  color: var(--text-primary);
}
.pricing-card--featured .pricing-btn:hover { background: #f0f0f0; }

.pricing-footer-note {
  text-align: center;
  margin-top: 40px;
  font-size: 13px;
  color: var(--text-muted);
}
.pricing-footer-note a {
  color: var(--text-accent);
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ── Pricing slider ── */
.pricing-slider-wrap {
  text-align: center;
  margin-bottom: 32px;
}
.pricing-slider-title {
  font-family: var(--ff-heading);
  font-size: 24px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 20px;
}
.pricing-slider-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--text-accent);
  color: #fff;
  border-radius: 8px;
  padding: 2px 12px;
  min-width: 48px;
}
.pricing-slider-track {
  max-width: 420px;
  margin: 0 auto;
  padding: 0 8px;
}
.pricing-range {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 8px;
  border-radius: 999px;
  outline: none;
  cursor: pointer;
}
.pricing-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--text-accent);
  border: 3px solid #fff;
  box-shadow: 0 1px 6px rgba(0,0,0,0.2);
  cursor: pointer;
}
.pricing-range::-moz-range-thumb {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--text-accent);
  border: 3px solid #fff;
  box-shadow: 0 1px 6px rgba(0,0,0,0.2);
  cursor: pointer;
}
.pricing-slider-labels {
  display: flex;
  justify-content: space-between;
  margin-top: 6px;
  font-size: 12px;
  color: var(--text-muted);
}

/* ── Credit badges ── */
.pricing-credits-badge {
  font-size: 12px;
  font-weight: 500;
  padding: 4px 10px;
  border-radius: 8px;
  background: rgba(0,0,0,0.06);
  color: #666;
}
.pricing-credits-badge--featured {
  background: rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.8);
}

/* ── Billed line ── */
.pricing-billed {
  font-size: 12px;
  color: var(--text-muted);
  margin: -4px 0 0;
}
.pricing-billed--featured {
  color: rgba(255,255,255,0.4);
}

/* ── Save link ── */
.pricing-save-link {
  text-align: center;
  font-size: 12px;
  font-weight: 500;
  color: var(--text-accent);
  margin: -4px 0 0;
}
.pricing-save-link--featured {
  color: rgba(255,255,255,0.65);
}

/* =============================================================
   BRANDS (dark)
============================================================= */
.brands-section {
  background: var(--bg-dark);
  padding: 56px 0;
  overflow: hidden;
}

.brands-label {
  text-align: center;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--dk-text-muted);
  margin-bottom: 36px;
}

.brands-marquee-wrap { overflow: hidden; }

.brands-track {
  display: flex;
  align-items: center;
  white-space: nowrap;
  animation: brandsScroll 40s linear infinite;
  will-change: transform;
}

.brands-track span {
  font-family: var(--font-serif);
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 0.1em;
  color: var(--dk-text-muted);
  padding: 0 20px;
  transition: color var(--transition);
}
.brands-track span:hover { color: var(--dk-text); }
.brand-sep { color: #c8922a !important; padding: 0 4px !important; }

@keyframes brandsScroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* =============================================================
   NEWSLETTER
============================================================= */
.newsletter-section {
  background: var(--bg-muted);
  border-top: 1px solid var(--card-border);
  padding: var(--section-pad) 0;
}

.newsletter-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.newsletter-title {
  font-family: var(--font-serif);
  font-size: clamp(30px, 3.5vw, 46px);
  font-weight: 400;
  line-height: 1.1;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.newsletter-desc {
  font-size: 16px;
  color: var(--text-secondary);
  font-weight: 300;
  line-height: 1.72;
}

.newsletter-form { display: flex; flex-direction: column; }

.newsletter-input-row {
  display: flex;
  gap: 10px;
  margin-bottom: 12px;
}

.newsletter-input {
  flex: 1;
  background: var(--bg);
  border: 1px solid var(--card-border-strong);
  border-radius: var(--radius-xl);
  padding: 14px 20px;
  font-family: var(--font-sans);
  font-size: 15px;
  color: var(--text-primary);
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.newsletter-input::placeholder { color: var(--text-muted); }
.newsletter-input:focus {
  border-color: var(--text-accent);
  box-shadow: 0 0 0 3px rgba(26,79,214,0.12);
}

.newsletter-submit { flex-shrink: 0; }

.newsletter-small {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 4px;
}

.newsletter-msg { font-size: 13px; margin-top: 8px; min-height: 18px; }
.newsletter-msg.success { color: #16a34a; }
.newsletter-msg.error   { color: #dc2626; }

/* =============================================================
   CONTACT
============================================================= */
.contact-section {
  background: var(--bg);
  border-top: 1px solid var(--card-border);
  padding: var(--section-pad) 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.contact-desc {
  font-size: 16px;
  line-height: 1.78;
  color: var(--text-secondary);
  font-weight: 300;
  margin-bottom: 40px;
  margin-top: 16px;
}

.contact-details { display: flex; flex-direction: column; gap: 24px; }

.contact-detail-item {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 14px;
  align-items: start;
  color: var(--text-accent);
}

.contact-detail-item > div { display: flex; flex-direction: column; gap: 4px; }
.contact-detail-item strong { font-size: 14px; font-weight: 600; color: var(--text-primary); }
.contact-detail-item span  { font-size: 13px; color: var(--text-muted); }

/* Contact form card */
.contact-form-wrap {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-sm);
}

.contact-form { display: flex; flex-direction: column; gap: 20px; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group { display: flex; flex-direction: column; gap: 8px; }

.form-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.form-input,
.form-textarea,
.form-select {
  background: var(--bg);
  border: 1px solid var(--card-border-strong);
  border-radius: var(--radius-md);
  padding: 13px 16px;
  font-family: var(--font-sans);
  font-size: 15px;
  color: var(--text-primary);
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
  width: 100%;
}
.form-input::placeholder,
.form-textarea::placeholder { color: var(--text-muted); }
.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  border-color: var(--text-accent);
  box-shadow: 0 0 0 3px rgba(26,79,214,0.12);
}

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

.form-select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23b0aaa4' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  cursor: pointer;
}
.form-select option { background: var(--bg); color: var(--text-primary); }

.form-submit { width: 100%; justify-content: center; padding: 16px; }

.form-success { font-size: 13px; text-align: center; min-height: 18px; }
.form-success.success { color: #16a34a; }
.form-success.error   { color: #dc2626; }

/* =============================================================
   CONTACT PAGE (contact.html)
============================================================= */
.ctpg-section {
  background: #fff;
  border-top: 1px solid rgba(0,0,0,0.07);
}

.ctpg-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  min-height: 80vh;
}

/* ── Left info panel — dark, mirrors svcspg-item--dark ── */
.ctpg-info {
  background: #0d0d0d;
  padding: 80px 56px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.ctpg-info .svcspg-item-num {
  display: block;
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: rgba(255,255,255,0.3);
  margin-bottom: 20px;
}

.ctpg-info-heading {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 900;
  font-size: clamp(56px, 6vw, 96px);
  line-height: 0.9;
  text-transform: uppercase;
  color: #fff;
  letter-spacing: -0.01em;
  margin-bottom: 32px;
}

.ctpg-info-desc {
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.7;
  color: rgba(255,255,255,0.55);
  max-width: 340px;
  margin-bottom: 56px;
}

.ctpg-details {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin-top: auto;
}

.ctpg-detail-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.ctpg-detail-item svg {
  flex-shrink: 0;
  margin-top: 3px;
  stroke: rgba(255,255,255,0.4);
}
.ctpg-detail-item strong {
  display: block;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,0.85);
  margin-bottom: 2px;
}
.ctpg-detail-item span {
  font-family: var(--font-sans);
  font-size: 12px;
  color: rgba(255,255,255,0.38);
}

/* ── Right form panel ── */
.ctpg-form-wrap {
  background: var(--text-accent);
  padding: 80px 64px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.ctpg-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 540px;
}

.ctpg-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.ctpg-field {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.ctpg-field-label {
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
}

.ctpg-field-input {
  font-family: var(--font-sans);
  font-size: 15px;
  color: #0d0d0d;
  background: #fff;
  border: 1.5px solid rgba(255,255,255,0.3);
  border-radius: 8px;
  padding: 14px 16px;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  appearance: none;
  width: 100%;
  box-sizing: border-box;
}
.ctpg-field-input:focus {
  border-color: #fff;
  box-shadow: 0 0 0 3px rgba(255,255,255,0.2);
}
.ctpg-field-input::placeholder { color: #aaa; }

.ctpg-field-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23aaa' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
  cursor: pointer;
}

.ctpg-field-textarea {
  resize: vertical;
  min-height: 140px;
  border-radius: 10px;
  line-height: 1.6;
}

.ctpg-submit {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: #0d0d0d;
  background: #fff;
  border: none;
  border-radius: 8px;
  padding: 18px 32px;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
  width: 100%;
  margin-top: 4px;
}
.ctpg-submit:hover:not(:disabled) { background: #0d0d0d; color: #fff; }
.ctpg-submit:disabled { opacity: 0.55; cursor: not-allowed; }

/* Field-level inline validation */
.ctpg-field--error .ctpg-field-input {
  border-color: #ef4444;
  box-shadow: 0 0 0 3px rgba(239,68,68,0.12);
}
.ctpg-field-error-msg {
  font-family: var(--font-sans);
  font-size: 11px;
  color: #ef4444;
  margin-top: 4px;
  display: none;
}
.ctpg-field--error .ctpg-field-error-msg {
  display: block;
}

.ctpg-form-msg {
  font-family: var(--font-sans);
  font-size: 13px;
  text-align: center;
  margin: 0;
  min-height: 18px;
}
.ctpg-form-msg.success { color: #a8f0c0; font-weight: 600; }
.ctpg-form-msg.error   { color: #ffc0b8; }

@media (max-width: 900px) {
  .ctpg-grid { grid-template-columns: 1fr; }
  .ctpg-info { padding: 60px 32px; min-height: auto; }
  .ctpg-details { margin-top: 40px; }
  .ctpg-form-wrap { padding: 56px 32px; }
}
@media (max-width: 560px) {
  .ctpg-form-row { grid-template-columns: 1fr; }
  .ctpg-form-wrap { padding: 40px 20px; }
  .ctpg-info { padding: 48px 20px; }
}

/* =============================================================
   CTA BANNER — Shed-style "GET IN CONTACT" full-width row
============================================================= */
.cta-banner {
  background: #fff;
  border-top: 1.5px solid #0d0d0d;
  border-bottom: 1.5px solid #0d0d0d;
  overflow: hidden;
}

.cta-banner-link {
  display: flex;
  align-items: center;
  padding: 28px 56px;
  text-decoration: none;
  gap: 0;
  transition: background 0.3s ease;
}
.cta-banner-link:hover {
  background: #f5f5f2;
}

/* Massive text — JS will fit it to viewport width */
.cta-banner-text {
  font-family: 'Barlow Condensed', Impact, 'Arial Narrow', sans-serif;
  font-weight: 900;
  font-size: clamp(32px, 11vw, 200px);
  line-height: 1;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: #0d0d0d;
  white-space: nowrap;
  flex: 1;
  transition: letter-spacing 0.4s cubic-bezier(0.16, 1, 0.32, 1);
}
.cta-banner-link:hover .cta-banner-text {
  letter-spacing: 0.01em;
}

/* Inline portrait image — flush to bottom border, enlarged */
.cta-banner-img-wrap {
  width: 18vw;
  max-width: 320px;
  min-width: 120px;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: 0;
  margin: 0 40px -28px;   /* negative bottom = link's bottom padding → flush to bottom line */
  align-self: flex-end;
  flex-shrink: 0;
  clip-path: inset(0 100% 0 0);
  transition: clip-path 0.65s cubic-bezier(0.16, 1, 0.32, 1);
}
.cta-banner-link:hover .cta-banner-img-wrap {
  clip-path: inset(0 0% 0 0);
}
.cta-banner-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  transform: scale(1.1);
  transition: transform 0.65s cubic-bezier(0.16, 1, 0.32, 1);
}
.cta-banner-link:hover .cta-banner-img-wrap img {
  transform: scale(1);
}

/* Arrow */
.cta-banner-arrow {
  font-family: 'Barlow Condensed', Impact, 'Arial Narrow', sans-serif;
  font-weight: 900;
  font-size: 9vw;
  line-height: 1;
  color: #0d0d0d;
  flex-shrink: 0;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.32, 1);
}
.cta-banner-link:hover .cta-banner-arrow {
  transform: translateX(12px);
}

@media (max-width: 768px) {
  .cta-banner-link { padding: 24px 28px; }
  .cta-banner-text { font-size: clamp(28px, 14vw, 120px); }
  .cta-banner-arrow { font-size: clamp(24px, 12vw, 100px); }
  .cta-banner-img-wrap { width: 24vw; max-width: 180px; margin: 0 20px -24px; }
}

/* =============================================================
   ON-BRAND FEATURE SECTION
   ============================================================= */

.onbrand-section {
  background: #fff;
  padding: 100px 0 0;
  overflow: hidden;
}

/* ── Header ── */
.onbrand-header {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 40px;
  text-align: center;
  margin-bottom: 64px;
}

.onbrand-eyebrow {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-accent);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.onbrand-eyebrow::before,
.onbrand-eyebrow::after {
  content: '';
  display: block;
  width: 28px;
  height: 1px;
  background: var(--text-accent);
}

.onbrand-headline {
  font-family: 'DM Serif Display', Georgia, serif;
  font-weight: 400;
  font-style: italic;
  font-size: clamp(32px, 3.5vw, 52px);
  line-height: 1.15;
  color: #0e1a3d;
  margin-bottom: 0;
}

/* ── Three feature columns ── */
.onbrand-features {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 40px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-bottom: 72px;
}

.onbrand-feature {
  padding: 40px 40px 40px 0;
  border-left: 1.5px solid rgba(0,0,0,0.09);
  padding-left: 36px;
}

.onbrand-feature:first-child {
  border-left: none;
  padding-left: 0;
}

.onbrand-feature-num {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 900;
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--text-accent);
  margin-bottom: 16px;
  display: block;
}

.onbrand-feature-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 900;
  font-size: 22px;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: #0e1a3d;
  margin-bottom: 12px;
  line-height: 1.1;
}

.onbrand-feature-desc {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.7;
  color: #696460;
}

/* ── Model portrait strip ── */
.onbrand-strip {
  display: flex;
  gap: 0;
  width: 100%;
  height: clamp(200px, 38vh, 520px);
}

.onbrand-strip-img {
  flex: 1 1 0;
  overflow: hidden;
  position: relative;
  text-decoration: none;
  cursor: pointer;
}

.onbrand-strip-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 10%;
  display: block;
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.32, 1);
}

.onbrand-strip-img:hover img {
  transform: scale(1.05);
}

/* Name label — appears on hover */
.onbrand-strip-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 36px 16px 14px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
  background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 100%);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  pointer-events: none;
}

.onbrand-strip-img:hover .onbrand-strip-label {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1024px) {
  .onbrand-features { grid-template-columns: 1fr 1fr; gap: 0; }
  .onbrand-feature:nth-child(3) { grid-column: 1 / -1; border-left: none; padding-left: 0; border-top: 1.5px solid rgba(0,0,0,0.09); padding-top: 36px; }
  .onbrand-strip { height: clamp(180px, 32vh, 400px); }
}

@media (max-width: 640px) {
  .onbrand-section { padding: 72px 0 0; }
  .onbrand-features { grid-template-columns: 1fr; }
  .onbrand-feature { border-left: none; padding-left: 0; border-top: 1.5px solid rgba(0,0,0,0.09); padding-top: 28px; }
  .onbrand-feature:first-child { border-top: none; padding-top: 0; }
  .onbrand-header { padding: 0 24px; margin-bottom: 40px; }
  .onbrand-features { padding: 0 24px; }
  .onbrand-strip { height: clamp(160px, 28vh, 280px); }
}

/* =============================================================
   FOOTER — light beige theme to match .hp-root hero section
============================================================= */
.footer {
  background: #f7f7f5;
  color: #1a1a1a;
}

.footer-top {
  display: flex;
  gap: 80px;
  padding: 64px 0 48px;
  align-items: flex-start;
}

.footer-brand {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: 220px;
}

.footer-logo {
  font-family: var(--font-serif);
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 0.14em;
  color: #1a1a1a;
  display: block;
  margin-bottom: 4px;
}

.footer-tagline  { font-size: 12px; color: rgba(26,26,26,0.65); letter-spacing: 0.04em; }
.footer-location { font-size: 12px; color: rgba(26,26,26,0.55); }

.footer-social { display: flex; gap: 8px; margin-top: 16px; }

/* ── Fixed social sidebar (homepage) — burger menu + social links ── */
.social-sidebar {
  position: fixed;
  right: 24px;
  top: 32px;
  z-index: var(--z-sidebar);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
}

/* Burger sitting at the top of the stack — colour adapts to the
   section behind it, mirroring the social-icon flip below. */
.social-sidebar .hp-menu-btn {
  background: #fff;
  color: #0a0a0a;
  border: 1px solid rgba(0,0,0,0.08);
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}
.social-sidebar .hp-menu-btn:hover { background: #f4f4f4; }

.social-sidebar-link {
  color: rgba(255,255,255,0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.3s ease, transform 0.25s ease;
}

.social-sidebar-link:hover {
  color: var(--text-accent);
  transform: translateX(-2px);
}

@media (max-width: 768px) {
  /* Hide the social icons on narrow viewports but keep the burger visible. */
  .social-sidebar { top: 20px; gap: 0; }
  .social-sidebar .social-sidebar-link { display: none; }
}

.social-link {
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(0,0,0,0.12);
  border-radius: var(--radius);
  color: rgba(26,26,26,0.65);
  transition: all var(--transition);
}
.social-link:hover {
  border-color: rgba(0,0,0,0.35);
  color: #1a1a1a;
  background: rgba(0,0,0,0.04);
}

.footer-nav {
  display: flex;
  gap: 60px;
  flex: 1;
  justify-content: flex-end;
}

.footer-nav-col { display: flex; flex-direction: column; gap: 12px; }

.footer-nav-title {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #1a1a1a;
  margin-bottom: 4px;
}

.footer-nav-col a {
  font-size: 13px;
  color: rgba(26,26,26,0.65);
  transition: color var(--transition);
}
.footer-nav-col a:hover { color: #1a1a1a; }

.footer-bottom {
  border-top: 1px solid rgba(0,0,0,0.08);
  padding: 20px 0;
}

.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.footer-copy { font-size: 12px; color: rgba(26,26,26,0.55); }

.footer-legal { display: flex; gap: 24px; }
.footer-legal a {
  font-size: 12px;
  color: rgba(26,26,26,0.65);
  transition: color var(--transition);
}
.footer-legal a:hover { color: #1a1a1a; }

/* =============================================================
   SCROLL FADE-IN
============================================================= */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.fade-in.visible { opacity: 1; transform: none; }

/* No-JS fallback: if JS is unavailable, never hide content */
.no-js .fade-in {
  opacity: 1;
  transform: none;
}

/* =============================================================
   RESPONSIVE — 1024px
============================================================= */
@media (max-width: 1024px) {
  :root { --section-pad: 80px; }

  .nav-links, .nav-cta { display: none; }
  .nav-hamburger { display: flex; }
  .nav-mobile.open { display: block; }

  .hero-side-card { display: none; }

  .svcs-section { grid-template-columns: 1fr; grid-template-rows: auto auto; }
  .svcs-header { grid-template-columns: 1fr; gap: 40px; padding-top: 72px; }
  .svcs-header-right { padding-top: 0; }
  .svcs-image-col { display: none; }
  .svcs-row { padding: 24px 32px; grid-template-columns: 60px 1fr auto; }

  .service-row {
    grid-template-columns: 1fr;
    gap: 40px;
    direction: ltr;
  }
  .service-row--reverse { direction: ltr; }
  .service-visual { aspect-ratio: 3/2; }

  .audience-grid { grid-template-columns: 1fr 1fr; gap: 14px; }

  .pricing-grid { grid-template-columns: 1fr 1fr; gap: 12px; }

  .newsletter-inner { grid-template-columns: 1fr; gap: 48px; }
  .contact-grid { grid-template-columns: 1fr; gap: 56px; }

  .footer-top { flex-direction: column; gap: 40px; }
  .footer-nav { justify-content: flex-start; flex-wrap: wrap; gap: 32px; }
}

/* =============================================================
   RESPONSIVE — 768px
============================================================= */
@media (max-width: 768px) {
  :root { --section-pad: 64px; }
  .container { padding: 0 24px; }
  .nav-container { padding: 0 24px; }
  .nav-mobile ul { padding: 16px 24px 24px; }

  .hero { padding-top: 120px; }
  .hero-title { font-size: clamp(40px, 10vw, 64px); }

  .svcs-header { padding: 56px 24px 48px; }
  .svcs-row { padding: 22px 24px; gap: 16px; }

  .stats-inner { flex-direction: column; gap: 32px; }
  .stat-divider { width: 80px; height: 1px; }
  .stat-item { padding: 0 16px; }

  .audience-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-nav { gap: 24px; }
  .footer-bottom-inner { flex-direction: column; align-items: flex-start; gap: 12px; }
}

/* =============================================================
   RESPONSIVE — 480px
============================================================= */
@media (max-width: 480px) {
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { text-align: center; }
  .newsletter-input-row { flex-direction: column; }
  .newsletter-submit { width: 100%; }
  .contact-form-wrap { padding: 24px 18px; }
  .footer-legal { flex-wrap: wrap; gap: 12px; }

  /* Tighter number column in full-screen menu on small phones */
  .fs-menu-link {
    grid-template-columns: 48px 1fr auto;
  }
  .fs-menu-link-num { font-size: 10px; }

  /* Let svcspg headings reflow freely — don't force a hard break */
  .svcspg-item-name br { display: none; }
}

/* =============================================================
   ACCESSIBILITY
============================================================= */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
}

:focus-visible {
  outline: 2px solid var(--text-accent);
  outline-offset: 3px;
  border-radius: 2px;
}

/* =============================================================
   MODEL SEARCH SECTION
============================================================= */
.model-search-section {
  padding: var(--section-pad) 0;
  background: var(--bg-primary);
}

.model-search-bar {
  display: flex;
  align-items: center;
  gap: 0;
  max-width: 680px;
  margin: 0 auto 52px;
  border: 1.5px solid var(--border);
  border-radius: 32px;
  background: #fff;
  box-shadow: 0 2px 16px rgba(0,0,0,0.06);
  transition: box-shadow .2s, border-color .2s;
}
.model-search-bar:focus-within {
  border-color: var(--text-primary);
  box-shadow: 0 4px 24px rgba(0,0,0,0.10);
}

.model-search-input {
  flex: 1;
  border: none;
  outline: none;
  background: transparent;
  font-family: var(--font-sans);
  font-size: 1rem;
  color: var(--text-primary);
  padding: 16px 6px 16px 24px;
}
.model-search-input::placeholder { color: #aaa; }

.model-search-btn {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  margin: 5px;
  border: none;
  border-radius: 50%;
  background: var(--text-primary);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s, transform .15s;
}
.model-search-btn:hover { background: #333; transform: scale(1.06); }
.model-search-btn:disabled { background: #ccc; transform: none; cursor: default; }

/* Skeleton loading cards */
.model-card-skeleton {
  border-radius: 16px;
  overflow: hidden;
  background: var(--bg-warm);
}
.model-card-skeleton-img {
  width: 100%;
  aspect-ratio: 3/4;
  background: linear-gradient(90deg, var(--bg-warm) 25%, var(--card-hover) 50%, var(--bg-warm) 75%);
  background-size: 200% 100%;
  animation: skeletonPulse 1.4s ease infinite;
}
.model-card-skeleton-body {
  padding: 18px 20px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.model-card-skeleton-line {
  height: 12px;
  border-radius: 6px;
  background: linear-gradient(90deg, var(--bg-warm) 25%, var(--card-hover) 50%, var(--bg-warm) 75%);
  background-size: 200% 100%;
  animation: skeletonPulse 1.4s ease infinite;
}
.model-card-skeleton-line--title { width: 60%; height: 16px; }
.model-card-skeleton-line--sub   { width: 80%; }
.model-card-skeleton-line--tag   { width: 40%; }
@keyframes skeletonPulse {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* Result cards */
.model-results-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
@media (max-width: 900px) { .model-results-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px)  { .model-results-grid { grid-template-columns: 1fr; } }

.model-card {
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  transition: box-shadow .25s, transform .25s;
}
.model-card:hover { box-shadow: 0 8px 32px rgba(0,0,0,0.12); transform: translateY(-3px); }

.model-card-img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  display: block;
  background: var(--bg-warm);
}
.model-card-img-placeholder {
  width: 100%;
  aspect-ratio: 3/4;
  background: linear-gradient(135deg, var(--bg-warm) 0%, #e8e0d4 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: #bbb;
}

.model-card-body {
  padding: 18px 20px 20px;
}
.model-card-name {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  margin: 0 0 4px;
}
.model-card-tagline {
  font-size: .85rem;
  color: var(--text-muted);
  margin: 0 0 12px;
  line-height: 1.4;
}
.model-card-meta {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.model-card-tag {
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .04em;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: 20px;
  background: var(--bg-warm);
  color: var(--text-secondary);
}
.model-card-similarity {
  margin-left: auto;
  font-size: .72rem;
  font-weight: 600;
  color: var(--text-accent);
}

.model-search-msg {
  text-align: center;
  font-size: .95rem;
  color: var(--text-muted);
  margin-top: 12px;
  min-height: 24px;
}
.model-search-msg.searching {
  color: var(--text-secondary);
}

/* =============================================================
   SERVICES PAGE (services.html)
============================================================= */

/* ── Light nav (services/contact pages — static) ── */
.nav-wrapper--light {
  background: #fff;
  border-bottom: 1px solid rgba(0,0,0,0.07);
}
.nav-wrapper--light .nav-logo,
.nav-wrapper--light .nav-menu-btn {
  color: #0e1a3d;
}
.nav-wrapper--light .nav-logo:hover,
.nav-wrapper--light .nav-menu-btn:hover {
  color: var(--text-accent) !important;
}
.nav-wrapper--light.scrolled {
  background: #fff;
  box-shadow: 0 2px 20px rgba(0,0,0,0.07);
}

/* ── Dynamic light-bg nav (homepage scroll detection) ── */
.nav-wrapper.nav--light-bg,
.nav-wrapper.nav--light-bg.scrolled {
  background: rgba(255,255,255,0.97) !important;
  border-bottom-color: rgba(0,0,0,0.08) !important;
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
  box-shadow: 0 1px 12px rgba(0,0,0,0.06) !important;
}
.nav-wrapper.nav--light-bg .nav-logo,
.nav-wrapper.nav--light-bg .nav-menu-btn,
.nav-wrapper.nav--light-bg .nav-menu-plus,
.nav-wrapper.nav--light-bg .nav-center-label {
  color: #111111 !important;
}
.nav-wrapper.nav--light-bg .nav-logo:hover,
.nav-wrapper.nav--light-bg .nav-menu-btn:hover {
  color: var(--text-accent) !important;
}

/* Social sidebar adapts to background */
.social-sidebar--light-bg .social-sidebar-link {
  color: rgba(0,0,0,0.35);
}
.social-sidebar--light-bg .social-sidebar-link:hover {
  color: var(--text-accent);
  transform: translateX(-2px);
}
/* Burger flips to the iconic black circle over light-bg sections */
.social-sidebar--light-bg .hp-menu-btn {
  background: #000;
  color: #fff;
  border-color: #000;
}
.social-sidebar--light-bg .hp-menu-btn:hover { background: #1a1a1a; }

.nav-center-label {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-accent);
  border: 1px solid rgba(26,79,214,0.35);
  border-radius: 100px;
  padding: 6px 18px;
  pointer-events: none;
}

/* ── Services page hero — white bg, full-width blue headline ── */
.svcspg-hero {
  background: #fff;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 100px 40px 80px;
  overflow: hidden;
  position: relative;
}

/* Reuse .hero-headline class for JS font-fit — override colour */
.svcspg-hero .hero-headline {
  color: var(--text-accent);
  text-align: center;
  white-space: nowrap;
  display: block;
  width: 100%;
  margin-bottom: 0;
}


.svcspg-scroll-pill {
  display: inline-block;
  margin-top: 48px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-accent);
  border: 1px solid rgba(26,79,214,0.4);
  border-radius: 100px;
  padding: 10px 22px;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease;
}
.svcspg-scroll-pill:hover {
  background: var(--text-accent);
  color: #fff;
}

/* ── Service items ── */
.svcspg-item {
  background: var(--bg);
  border-top: 1px solid var(--card-border);
}

.svcspg-item--dark {
  background: #0d0d0d;
  border-top-color: rgba(255,255,255,0.08);
}
.svcspg-item--dark .svcspg-item-num  { color: rgba(255,255,255,0.25); }
.svcspg-item--dark .svcspg-item-name { color: #fff; }
.svcspg-item--dark .svcspg-item-desc { color: rgba(255,255,255,0.55); }
.svcspg-item--dark .svcspg-item-features li { color: rgba(255,255,255,0.55); }
.svcspg-item--dark .svcspg-item-features li::before { color: rgba(255,255,255,0.3); }
.svcspg-item--dark .svcspg-item-cta  { color: #fff; border-bottom-color: rgba(255,255,255,0.35); }

.svcspg-item-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 640px;
}

.svcspg-item-inner--reverse { direction: rtl; }
.svcspg-item-inner--reverse > * { direction: ltr; }

.svcspg-item-visual {
  overflow: hidden;
  aspect-ratio: 3 / 4;  /* reserve space before image loads — prevents CLS */
}

.svcspg-item-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 1s var(--ease);
  display: block;
}
.svcspg-item:hover .svcspg-item-visual img { transform: scale(1.04); }

.svcspg-item-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px 72px;
}

.svcspg-item-num {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 20px;
  display: block;
}

.svcspg-item-name {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(56px, 7vw, 100px);
  font-weight: 900;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  line-height: 0.9;
  color: var(--text-primary);
  margin-bottom: 32px;
}

.svcspg-item-desc {
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-secondary);
  font-weight: 300;
  margin-bottom: 32px;
  max-width: 480px;
}

.svcspg-item-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 44px;
}

.svcspg-item-features li {
  font-size: 14px;
  color: var(--text-secondary);
  padding-left: 20px;
  position: relative;
}

.svcspg-item-features li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--text-muted);
  font-size: 11px;
}

.svcspg-item-cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-primary);
  border-bottom: 1px solid var(--card-border);
  padding-bottom: 6px;
  width: fit-content;
  transition: gap 0.2s ease;
}
.svcspg-item-cta:hover { gap: 20px; }

/* ── CTA strip ── */
.svcspg-cta-strip {
  background: var(--text-accent);
  padding: 120px var(--gutter);
  text-align: center;
}

.svcspg-cta-inner {
  max-width: 640px;
  margin: 0 auto;
}

.svcspg-cta-heading {
  font-family: var(--font-serif);
  font-size: clamp(36px, 4.5vw, 60px);
  font-weight: 400;
  line-height: 1.1;
  color: #fff;
  margin-bottom: 20px;
}

.svcspg-cta-sub {
  font-size: 17px;
  line-height: 1.7;
  color: rgba(255,255,255,0.85);
  font-weight: 300;
  margin-bottom: 44px;
}

.svcspg-cta-btn {
  background: #fff;
  color: #000;
  border-color: #fff;
}
.svcspg-cta-btn:hover {
  background: rgba(255,255,255,0.88);
  transform: translateY(-1px);
}

/* ── Responsive ── */
@media (max-width: 900px) {
  .svcspg-item-inner { grid-template-columns: 1fr; min-height: auto; }
  .svcspg-item-inner--reverse { direction: ltr; }
  .svcspg-item-visual { aspect-ratio: 4/3; }
  .svcspg-item-body { padding: 56px 32px; }
  .svcspg-hero-content { padding-bottom: 60px; }
}

@media (max-width: 600px) {
  .svcspg-item-body { padding: 40px 24px; }
  .svcspg-cta-strip { padding: 80px 24px; }
}

/* ── Footer Language Switcher ─────────────────────────────────────────────── */
.footer-lang-switch {
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-lang-sep {
  color: rgba(26,26,26,0.35);
  font-size: 11px;
  line-height: 1;
  user-select: none;
}

.footer-lang-btn {
  background: none;
  border: none;
  cursor: pointer;
  color: rgba(26,26,26,0.55);
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0;
  line-height: 1;
  transition: color 0.25s ease;
}
.footer-lang-btn:hover {
  color: #1a1a1a;
}
.footer-lang-btn--active {
  color: #C9A84C !important;
}
