/* =========================================
   INNOVENTIX HUB (.tech) — inner page styles
   Loads after styles.css and tech.css.
   Colours come from the Netlify tokens.
   ========================================= */

/* ---------- PAGE HERO (service, about and contact pages) ---------- */
.page-hero { padding: 170px 0 80px; text-align: center; }
.page-hero h1 {
  margin: 26px auto 0;
  max-width: 900px;
  font-size: clamp(34px, 5.4vw, 60px);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.03em;
  text-wrap: balance;
  color: var(--text);
}
.page-hero .hero-sub {
  margin: 22px auto 0;
  max-width: 660px;
  font-size: clamp(16px, 1.8vw, 19px);
  font-weight: 300;
  line-height: 1.6;
  color: var(--text-dim);
}
.page-hero:not(.about-hero):not(.contact-hero) .hero-sub {
  color: var(--gold-2);
  font-weight: 400;
}
.page-hero .hero-cta {
  margin-top: 40px;
  display: flex; flex-wrap: wrap; justify-content: center; gap: 14px;
}
.page-hero .hero-phone { margin: 18px 0 0; font-size: 14px; color: var(--text-muted); }

/* ---------- SERVICE CARD LINK ---------- */
.svc-link {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 18px;
  font-size: 14px; font-weight: 500;
  color: var(--gold-1);
  transition: color .2s var(--ease);
}
.svc-link:hover { color: var(--text); }

/* ---------- TWO-UP LAYOUTS ---------- */
.duo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 72px; align-items: center;
}
.split h2 { margin: 16px 0 22px; }
.split p {
  margin: 0; max-width: 560px;
  font-size: 16px; line-height: 1.75; font-weight: 300;
  color: var(--text-dim);
}

/* ---------- CHECK LIST (no bullets, gold dot) ---------- */
.check-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.check-list li {
  position: relative;
  padding-left: 26px;
  font-size: 16px; line-height: 1.7; font-weight: 300;
  color: var(--text-dim);
}
.check-list li::before {
  content: ""; position: absolute; left: 0; top: .65em;
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--gold-2);
}

/* ---------- CONTACT PAGE (layout from the Figma frame; charcoal/gold palette, Playfair and Outfit kept) ---------- */
.contact-hero { position: relative; }
.contact-hero::before {
  content: ""; position: absolute; left: 0; right: 0; top: 80px; height: 560px; pointer-events: none;
  background: radial-gradient(ellipse 38% 50% at 50% 56%, rgba(232,198,116,.18), transparent 72%);
}
.contact-hero .container { position: relative; }

/* shared surface for the contact cards, form and steps */
.way-card, .book-card, .contact-form, .step-card {
  border-radius: 26px;
  background: linear-gradient(180deg, #202020, #181818);
  border: 1px solid var(--line-strong);
}

/* four ways to reach us */
.ways-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.way-card {
  display: flex; flex-direction: column; align-items: flex-start; gap: 14px;
  padding: 32px 28px 30px;
}
.way-card h3 { margin: 6px 0 0; font-size: 21px; font-weight: 600; letter-spacing: -0.02em; }
.way-card p { margin: 0; font-size: 15px; line-height: 1.7; font-weight: 300; color: var(--text-dim); }
.way-card .way-btn { margin-top: auto; }
.way-ico {
  position: relative; width: 56px; height: 56px; margin-bottom: 8px;
  display: grid; place-items: center; border-radius: 16px;
  background: #2a2a2a; border: 1px solid var(--line-strong); color: var(--gold-1);
}
.way-ico svg { position: relative; z-index: 1; }
.pulse-ring {
  position: absolute; inset: -1px; border-radius: 16px;
  border: 1px solid rgba(232,198,116,.55);
  pointer-events: none;
  animation: contact-pulse 2.6s var(--ease) infinite;
}
@keyframes contact-pulse {
  0%   { transform: scale(1);    opacity: .7; }
  100% { transform: scale(1.55); opacity: 0; }
}
.contact-value {
  font-size: 17px; font-weight: 500;
  color: var(--text);
  word-break: break-word;
  transition: color .2s var(--ease);
}
.contact-value:hover { color: var(--gold-1); }
.way-card .contact-value.is-email { font-size: 15px; overflow-wrap: anywhere; word-break: normal; }

/* booking card + message form */
.book-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 28px; align-items: stretch; }
.book-card, .contact-form { padding: 40px 40px 42px; }
.book-card { display: flex; flex-direction: column; align-items: flex-start; }
.book-card h2 { margin: 16px 0 16px; }
.book-lead { margin: 0; font-size: 16px; line-height: 1.7; font-weight: 400; color: var(--text-dim); }
/* Calendly inline embed: the iframe covers the fallback on the live site; the fallback shows where the embed is not loaded */
.book-card .book-points { margin: 14px 0 0; padding-left: 18px; color: var(--text); font-size: 15px; line-height: 1.7; font-weight: 400; }
.book-card .book-points li::marker { color: var(--gold-1); }
.book-card .book-points li { margin-bottom: 6px; color: #e4e6ec; }
.calendly-wrap, .book-slot {
  position: relative; align-self: stretch; flex: 0 0 auto; margin-top: 22px;
  width: 100%; max-width: 100%; height: 602px; min-height: 0;
  border-radius: 18px; overflow: hidden;
  background: linear-gradient(180deg, #161616, #111111);
  border: 1px solid var(--line-strong);
}
/* widget.js forces position:relative inline on the widget div, so !important keeps it pinned to the top (no blank band above the calendar) */
.calendly-embed, .calendly-inline-widget, .calendly-wrap iframe {
  position: absolute !important; inset: 0; width: 100% !important; height: 100% !important;
  min-width: 0 !important; max-width: 100% !important; border: 0;
}
.book-slot { height: auto; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 18px; padding: 28px 26px; min-height: 280px; }
.book-slot > p { margin: 0; font-size: 15px; line-height: 1.7; font-weight: 300; color: var(--text-dim); }
.calendly-fallback { position: relative; z-index: 0; padding: 24px; display: flex; flex-direction: column; align-items: flex-start; gap: 16px; background: transparent; }
.calendly-fallback p { margin: 0; font-size: 15px; line-height: 1.6; font-weight: 400; color: var(--text-dim); }
.calendly-wrap[data-loaded="1"] .calendly-fallback { position: absolute; inset: 0; visibility: hidden; pointer-events: none; }

.contact-form { color-scheme: dark; display: flex; flex-direction: column; }
.contact-form h2 { margin: 0 0 26px; font-size: clamp(24px, 2.6vw, 30px); font-weight: 600; letter-spacing: -0.02em; }
.contact-form label { display: block; margin-bottom: 18px; }
/* the message box grows to fill the card, so the button sits right under the consent line with no dead gap */
.contact-form .form-grow { flex: 1 1 auto; display: flex; flex-direction: column; }
.contact-form .form-grow textarea { flex: 1 1 auto; }
.contact-form label > span {
  display: block; margin-bottom: 8px;
  font-size: 13.5px; font-weight: 500; color: #eef0f4;
}
.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form select,
.contact-form textarea {
  display: block; width: 100%;
  padding: 13px 15px; border-radius: 12px;
  background: rgba(10,10,10,.6); border: 1px solid var(--line-strong);
  font: inherit; font-size: 15px; color: var(--text);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.contact-form input::placeholder,
.contact-form textarea::placeholder { color: var(--text-muted); }
.contact-form select { color-scheme: dark; opacity: 1; color: #F2F3F5; background-color: #141414; }
.contact-form select:invalid { color: var(--text-muted); }
/* native list fallback: options never inherit the muted placeholder colour */
.contact-form select option { background: #141414; color: #F2F3F5; opacity: 1; }
.contact-form select option[value=""] { color: #8A90A0; }

/* custom dropdown (JS-enhanced); the real <select> stays underneath for submit + validation */
.ix-select { position: relative; }
.ix-select > select {
  position: absolute; inset: 0; width: 100%; height: 100%;
  opacity: 0; pointer-events: none; margin: 0;
}
.ix-select-btn {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  width: 100%; padding: 13px 15px; border-radius: 12px; text-align: left;
  background: rgba(10,10,10,.6); border: 1px solid var(--line-strong);
  font: inherit; font-size: 15px; color: #F2F3F5; cursor: pointer;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.ix-select-btn.is-placeholder { color: #8A90A0; }
.ix-select-btn:focus-visible, .ix-select.is-open .ix-select-btn {
  outline: none; border-color: var(--line-gold); box-shadow: 0 0 0 3px rgba(201,168,76,.14);
}
.ix-select-btn svg { flex: none; color: #C9CDD6; transition: transform .2s var(--ease); }
.ix-select.is-open .ix-select-btn svg { transform: rotate(180deg); }
.ix-select-list {
  position: absolute; z-index: 30; left: 0; right: 0; top: calc(100% + 6px);
  margin: 0; padding: 6px; list-style: none;
  background: #141414; border: 1px solid rgba(232,184,74,.35); border-radius: 12px;
  box-shadow: 0 18px 40px -12px rgba(0,0,0,.8);
  max-height: 280px; overflow-y: auto;
}
.ix-select-list[hidden] { display: none; }
.ix-select-list li {
  padding: 11px 12px; border-radius: 8px; cursor: pointer;
  font-size: 15px; line-height: 1.35; color: #F2F3F5;
}
.ix-select-list li.is-active { background: rgba(232,184,74,.14); }
.ix-select-list li[aria-selected="true"] { color: #F0C96A; font-weight: 500; }
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none; border-color: var(--line-gold); box-shadow: 0 0 0 3px rgba(201,168,76,.14);
}
.contact-form textarea { resize: vertical; min-height: 120px; }
.contact-form .form-check { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 20px; }
.contact-form .form-check input { margin-top: 3px; width: 17px; height: 17px; flex: 0 0 auto; accent-color: var(--gold-2); }
.contact-form .form-check span { margin: 0; font-size: 13.5px; line-height: 1.6; font-weight: 400; color: var(--text-dim); }
.form-submit { width: 100%; justify-content: center; margin-top: 0; }
.form-submit:disabled { opacity: .6; cursor: wait; }
.form-status { min-height: 1.6em; margin: 14px 0 0; font-size: 14px; color: var(--gold-1); }
.form-status.is-success { color: var(--gold-1); }
.form-status.is-error { color: #f0b4b4; }
.contact-form .hp {
  position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden;
}

/* what happens next */
.steps-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.step-card { padding: 34px 30px 36px; }
.step-num { display: block; font-size: 30px; font-weight: 600; letter-spacing: -0.02em; color: var(--gold-1); }
.step-card h3 { margin: 22px 0 12px; font-size: 22px; font-weight: 600; letter-spacing: -0.02em; }
.step-card p { margin: 0; font-size: 16px; line-height: 1.7; font-weight: 300; color: var(--text-dim); }

@media (prefers-reduced-motion: reduce) {
  .pulse-ring { animation: none; opacity: 0; }
}
@media (max-width: 1100px) {
  .ways-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 960px) {
  .book-grid { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .ways-grid, .steps-grid { grid-template-columns: 1fr; }
  .way-card { padding: 26px 22px 24px; }
  .book-card, .contact-form { padding: 28px 22px; }
  .book-slot { min-height: 0; }
  .calendly-wrap { height: 602px; }
}
@media (max-width: 420px) {
  .book-card, .contact-form { padding: 24px 12px; }
  .calendly-wrap { height: 602px; border-radius: 14px; }
}

/* ---------- FAQ rich answers ---------- */
.faq-item ul {
  margin: 0 0 22px; padding-left: 20px;
  font-size: 15px; line-height: 1.7; font-weight: 300;
  color: var(--text-dim);
}
.faq-item li { margin-bottom: 8px; }
.faq-item li strong { color: var(--text); font-weight: 500; }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 960px) {
  .split { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 720px) {
  .page-hero { padding: 130px 0 56px; }
  .page-hero .hero-cta { flex-direction: column; }
  .page-hero .hero-cta .btn { width: 100%; justify-content: center; }
  .duo { grid-template-columns: 1fr; }
}

/* ---------- FLOATING WHATSAPP + CHAT BOT ---------- */
.wa-float {
  position: fixed;
  right: max(20px, env(safe-area-inset-right, 0px));
  bottom: max(20px, env(safe-area-inset-bottom, 0px));
  z-index: 60;
  width: 58px; height: 58px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: #25D366;
  color: #ffffff;
  box-shadow: 0 12px 30px rgba(0, 0, 0, .4);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.wa-float:hover { transform: translateY(-2px) scale(1.04); box-shadow: 0 16px 36px rgba(0, 0, 0, .5); }
.wa-float:focus-visible { outline: 2px solid var(--gold-1); outline-offset: 3px; }

.chat-float {
  position: fixed;
  right: max(12px, env(safe-area-inset-right, 0px));
  bottom: calc(max(20px, env(safe-area-inset-bottom, 0px)) + 58px + 6px);
  z-index: 61;
  width: 74px; height: 74px;
  padding: 0; border: 0; cursor: pointer;
  background: transparent;
  -webkit-tap-highlight-color: transparent;
  /* no circle: the 3D head floats freely with a soft shadow + faint gold glow */
  filter: drop-shadow(0 10px 12px rgba(0,0,0,.55)) drop-shadow(0 0 12px rgba(232,184,74,.22));
  transition: transform .2s var(--ease), filter .2s var(--ease);
}
.chat-float:hover { transform: translateY(-2px) scale(1.04); filter: drop-shadow(0 12px 14px rgba(0,0,0,.6)) drop-shadow(0 0 16px rgba(232,184,74,.38)); }
.chat-float:focus-visible { outline: 2px solid var(--gold-1); outline-offset: 2px; border-radius: 16px; }
.chat-float-canvas, .chat-float-fallback {
  position: absolute; inset: 0; width: 100%; height: 100%;
  display: block; object-fit: contain;
}
.chat-float-canvas { z-index: 1; }
.chat-float.is-3d .chat-float-fallback { opacity: 0; pointer-events: none; }
.chat-float-fallback { z-index: 0; }

@media (max-width: 720px) {
  .wa-float, .chat-float {
    right: max(14px, env(safe-area-inset-right, 0px));
  }
  .wa-float { bottom: max(14px, env(safe-area-inset-bottom, 0px)); }
  .chat-float { right: max(8px, env(safe-area-inset-right, 0px)); bottom: calc(max(14px, env(safe-area-inset-bottom, 0px)) + 58px + 4px); width: 70px; height: 70px; }
}

/* ---------- UGC CAROUSEL (Content Creation hero) ---------- */
.ugc-carousel { --ugc-w: clamp(190px, 24vw, 296px); position: relative; padding-top: 8px; }
.ugc-stage { position: relative; height: calc(var(--ugc-w) * 16 / 9 + 40px); overflow: hidden; }
.ugc-card {
  position: absolute; left: 50%; top: 50%;
  width: var(--ugc-w); aspect-ratio: 9 / 16;
  border-radius: 18px; overflow: hidden;
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.08);
  cursor: pointer; outline: none;
  transition: transform .6s cubic-bezier(.22,1,.36,1), opacity .6s ease, box-shadow .6s ease, border-color .6s ease;
}
.ugc-card img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ugc-card::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, transparent 55%, rgba(0, 0, 0, .45));
}
.ugc-card.is-ready::after { display: none; }
.ugc-card:focus-visible { box-shadow: 0 0 0 2px var(--gold-1); }
.ugc-card.is-active {
  border-color: rgba(232, 198, 116, .9);
  box-shadow: 0 0 0 1px rgba(232, 198, 116, .5), 0 30px 70px -18px rgba(201, 168, 76, .45);
}
.ugc-card video {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  z-index: 1; pointer-events: none; opacity: 0; transition: opacity .35s ease;
}
/* the poster stays until the player is actually playing, so cards never flash black */
.ugc-card.is-ready video { opacity: 1; }
.ugc-card img { position: relative; z-index: 0; }
.ugc-play {
  position: absolute; left: 50%; top: 50%;
  width: 56px; height: 56px; margin: -28px 0 0 -28px;
  border-radius: 50%; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--gold-1), var(--gold-2));
  color: var(--bg-0); box-shadow: 0 10px 30px rgba(0, 0, 0, .4);
  transition: opacity .3s ease;
}
.ugc-card .ugc-play, .ugc-card.is-playing .ugc-play { display: none; }
.ugc-nav {
  position: static; transform: none; z-index: 2; flex: none;
  width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(25, 25, 25, .85); color: var(--text);
  border: 1px solid rgba(255, 255, 255, .12); cursor: pointer;
  transition: background .3s ease, color .3s ease;
}
.ugc-nav:hover { background: var(--gold-2); color: var(--bg-0); }
.ugc-prev, .ugc-next { left: auto; right: auto; }
.ugc-foot { display: flex; justify-content: center; align-items: center; gap: 14px; margin-top: 20px; }
.ugc-pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 18px; border: 0; border-radius: 999px; cursor: pointer;
  background: linear-gradient(135deg, var(--gold-1), var(--gold-2));
  color: var(--bg-0); font: inherit; font-size: 13px; font-weight: 600;
}
.ugc-pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--bg-0); }
@media (max-width: 720px) { .ugc-nav { width: 38px; height: 38px; } }
@media (max-width: 520px) { .ugc-carousel { --ugc-w: 200px; } }

/* ---------- DISPLAY HEADINGS (serif from the reference, Playfair Display) ---------- */
.hero-title,
.page-hero h1,
.hero h1 .line-1 {
  font-family: 'Playfair Display', Georgia, 'Times New Roman', serif;
  font-weight: 600;
  letter-spacing: -0.012em;
}
/* Content Creation gold line: Gotham with Montserrat fallback */
.hero h1 .line-2 {
  font-family: 'Gotham', 'Montserrat', system-ui, sans-serif;
  font-weight: 700;
  letter-spacing: -0.01em;
}

/* ---------- SERVICE CARDS: looping GIF on top, feature rows below ---------- */
.svc-card {
  padding: 14px 14px 22px; display: flex; flex-direction: column;
  background: linear-gradient(180deg, #202020, #181818);
  border: 1px solid var(--line-strong); border-radius: var(--radius-lg);
}
.svc-media {
  position: relative; overflow: hidden;
  aspect-ratio: 16 / 9;
  border-radius: 18px;
  background: radial-gradient(120% 90% at 50% 0%, rgba(201,168,76,.16), transparent 62%), var(--bg-0);
  border: 1px solid var(--line);
}
.svc-media img, .svc-media video { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: center; display: block; }
.svc-body { display: flex; flex-direction: column; flex: 1; padding: 26px 14px 0; }
.svc-body h3 { margin: 0 0 8px; font-size: 22px; font-weight: 500; line-height: 1.25; letter-spacing: -0.015em; color: var(--text); }
.svc-body .svc-sub { margin: 0 0 22px; font-size: 15px; font-weight: 300; line-height: 1.6; color: var(--text-dim); }
.svc-rows { list-style: none; margin: 0 0 24px; padding: 0; border-top: 1px solid var(--line); }
.svc-rows li {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 14px 0; border-bottom: 1px solid var(--line);
  font-size: 15px; font-weight: 400; color: var(--text);
}
.svc-rows svg { width: 18px; height: 18px; flex: none; color: var(--gold-1); }
.svc-body .svc-link { margin-top: auto; }

/* ---------- AUTOMATION HERO FLOW (AI Automation page) ---------- */
.ahf-wrap { margin-top: 56px; }
.ahf {
  --amber: #e8c674;
  --amber-bright: #f3d88a;
  --node: rgba(28, 28, 28, 0.94);
  --hair: rgba(255, 255, 255, 0.1);
  position: relative; width: 100%; height: clamp(380px, 32vw, 460px); overflow: visible;
  background:
    radial-gradient(ellipse 40% 80% at 15% 50%, rgba(201, 168, 76, 0.10), transparent 60%),
    radial-gradient(ellipse 35% 70% at 85% 60%, rgba(232, 198, 116, 0.08), transparent 55%);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
}
.ahf-grid {
  position: absolute; inset: 0; opacity: 0.16; pointer-events: none;
  background-image: radial-gradient(rgba(255,255,255,0.35) 1px, transparent 1px);
  background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, #000 30%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, #000 30%, transparent 75%);
}
.ahf-desk, .ahf-mob { position: absolute; inset: 0; }
.ahf-mob { display: none; }
.ahf-node {
  position: absolute; z-index: 3; padding: 10px 14px; border-radius: 14px;
  background: var(--node); border: 1px solid var(--hair);
  box-shadow: 0 12px 32px rgba(0,0,0,.4), inset 0 1px 0 rgba(255,255,255,.04);
  backdrop-filter: blur(10px); min-width: 118px; opacity: .5;
  animation: ahf-node 8s ease-in-out infinite;
  font-family: 'Outfit', system-ui, sans-serif; text-align: left;
}
.ahf-node .lab { font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: #8a8a92; margin-bottom: 3px; font-weight: 600; }
.ahf-node .title { font-size: 13px; font-weight: 600; color: var(--text); display: flex; align-items: center; gap: 6px; }
.ahf-node .sub { font-size: 11px; color: var(--text-dim); margin-top: 3px; }
.ahf-node .chk {
  position: absolute; top: -7px; right: -7px; width: 18px; height: 18px; border-radius: 50%;
  background: #22c55e; color: #062; font-size: 11px; font-weight: 800; display: grid; place-items: center;
  opacity: 0; animation: ahf-chk 8s ease-in-out infinite;
}
.ahf-score {
  display: inline-flex; padding: 2px 7px; border-radius: 999px;
  background: rgba(232,198,116,.15); border: 1px solid rgba(232,198,116,.4);
  color: var(--amber); font-size: 10px; font-weight: 800;
}
.ahf-wa {
  margin-top: 6px; padding: 6px 8px; border-radius: 8px;
  background: rgba(232,198,116,.08); border: 1px solid rgba(232,198,116,.25);
  font-size: 10.5px; color: #f0e6cc; line-height: 1.3; max-width: 160px;
}
.ahf-done {
  padding: 8px 14px; border-radius: 999px;
  background: linear-gradient(90deg, var(--gold-1), var(--gold-2));
  color: #111; font-size: 12px; font-weight: 800; border: none; min-width: 0;
  box-shadow: 0 0 22px rgba(232,198,116,.35);
}
.ahf-wires { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; }
.ahf-wires path {
  fill: none; stroke: rgba(232,198,116,.3); stroke-width: 1.5; stroke-linecap: round;
  vector-effect: non-scaling-stroke;
}
.ahf-pkt {
  position: absolute; width: 10px; height: 10px; border-radius: 50%;
  background: var(--amber-bright); transform: translate(-50%, -50%);
  box-shadow: 0 0 14px rgba(243,216,138,.9), 0 0 28px rgba(232,198,116,.45);
  z-index: 4; opacity: 0;
}
.ahf-desk .ahf-pkt { animation: ahf-pkt-desk 8s ease-in-out infinite; }
.ahf-mob .ahf-pkt { animation: ahf-pkt-mob 8s ease-in-out infinite; }
@keyframes ahf-pkt-desk {
  0%   { opacity: 0; left: 5%;  top: 45%; }
  4%   { opacity: 1; }
  12%  { left: 17%; top: 45%; }
  30%  { left: 33%; top: 22%; }
  36%  { left: 33%; top: 62%; }
  50%  { left: 51%; top: 45%; }
  65%  { left: 66%; top: 45%; }
  80%  { left: 82%; top: 47%; }
  92%  { opacity: 1; left: 84%; top: 47%; }
  98%, 100% { opacity: 0; left: 84%; top: 47%; }
}
@keyframes ahf-pkt-mob {
  0%   { opacity: 0; left: 50%; top: 6%; }
  4%   { opacity: 1; }
  12%  { left: 50%; top: 14%; }
  30%  { left: 50%; top: 32%; }
  50%  { left: 50%; top: 50%; }
  72%  { left: 50%; top: 72%; }
  90%  { opacity: 1; left: 50%; top: 90%; }
  98%, 100% { opacity: 0; left: 50%; top: 90%; }
}
@keyframes ahf-node {
  0%, 2% { opacity: .45; border-color: var(--hair); box-shadow: 0 12px 32px rgba(0,0,0,.4); }
  8%, 72% {
    opacity: 1; border-color: rgba(232,198,116,.55);
    box-shadow: 0 0 0 1px rgba(232,198,116,.15), 0 0 28px rgba(232,198,116,.2), 0 12px 32px rgba(0,0,0,.4);
  }
  85%, 100% { opacity: .5; border-color: var(--hair); box-shadow: 0 12px 32px rgba(0,0,0,.4); }
}
@keyframes ahf-chk {
  0%, 5% { opacity: 0; transform: scale(.4); }
  15%, 70% { opacity: 1; transform: scale(1); }
  82%, 100% { opacity: 0; transform: scale(.5); }
}
.ahf-desk .n1 { left: 3.5%; top: 42%; animation-delay: .1s; }
.ahf-desk .n1 .chk { animation-delay: .5s; }
.ahf-desk .n2 { left: 17%; top: 39%; animation-delay: 1s; }
.ahf-desk .n2 .chk { animation-delay: 1.5s; }
.ahf-desk .n3 { left: 33%; top: 18%; animation-delay: 2.2s; }
.ahf-desk .n3 .chk { animation-delay: 2.8s; }
.ahf-desk .n4 { left: 33%; top: 60%; animation-delay: 2.6s; }
.ahf-desk .n4 .chk { animation-delay: 3.1s; }
.ahf-desk .n5 { left: 51%; top: 42%; animation-delay: 4s; }
.ahf-desk .n5 .chk { animation-delay: 4.5s; }
.ahf-desk .n6 { left: 66%; top: 42%; animation-delay: 5.2s; }
.ahf-desk .n6 .chk { animation-delay: 5.7s; }
.ahf-desk .n7 { left: 82%; top: 44%; animation-delay: 6.4s; }
@media (max-width: 1023px) {
  .ahf {
    height: 620px;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(180deg, transparent, #000 4%, #000 96%, transparent);
    mask-image: linear-gradient(180deg, transparent, #000 4%, #000 96%, transparent);
  }
  .ahf-desk { display: none; }
  .ahf-mob { display: block; }
  .ahf-mob .ahf-node { left: 50%; transform: translateX(-50%); width: min(280px, 78vw); min-width: 0; }
  .ahf-mob .n1 { top: 11%; animation-delay: .1s; }
  .ahf-mob .n1 .chk { animation-delay: .7s; }
  .ahf-mob .n2 { top: 29%; animation-delay: 1.3s; }
  .ahf-mob .n2 .chk { animation-delay: 1.9s; }
  .ahf-mob .n3 { top: 47%; animation-delay: 2.8s; }
  .ahf-mob .n3 .chk { animation-delay: 3.4s; }
  .ahf-mob .n4 { top: 70%; animation-delay: 4.5s; }
  .ahf-mob .n4 .chk { animation-delay: 5.1s; }
  .ahf-mob .n5 { top: 88%; animation-delay: 6.2s; width: auto; }
  .ahf-mob .ahf-node .title { font-size: 14px; }
  .ahf-mob .ahf-wa { font-size: 12px; max-width: none; }
}

/* Tablet and small laptop: spread the seven horizontal nodes so cards never touch */
@media (min-width: 1024px) and (max-width: 1279px) {
  .ahf-desk .n1 { left: 1%; }
  .ahf-desk .n2 { left: 17%; }
  .ahf-desk .n3 { left: 32%; }
  .ahf-desk .n4 { left: 32%; }
  .ahf-desk .n5 { left: 55%; }
  .ahf-desk .n6 { left: 70%; }
  .ahf-desk .n7 { left: 85%; }
  .ahf-desk .ahf-wa { max-width: 136px; }
}
@media (prefers-reduced-motion: reduce) {
  .ahf-pkt { animation: none !important; opacity: 0 !important; }
  .ahf-node, .ahf-node .chk {
    animation: none !important; opacity: 1 !important;
    border-color: rgba(232,198,116,.4) !important;
  }
  .ahf-node .chk { opacity: 1 !important; transform: none !important; }
}

/* ---------- VOICE HERO FLOW (AI Voice Agents page) ---------- */
.vhf-wrap { margin-top: 56px; }
.vhf {
  --amber: #e8c674;
  --amber-bright: #f3d88a;
  position: relative; width: 100%; height: clamp(380px, 32vw, 460px); overflow: visible;
  background:
    radial-gradient(ellipse 45% 90% at 50% 55%, rgba(232, 198, 116, 0.12), transparent 55%),
    radial-gradient(ellipse 35% 70% at 12% 40%, rgba(201, 168, 76, 0.10), transparent 60%);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
  font-family: 'Outfit', system-ui, sans-serif;
  color: var(--text);
  text-align: left;
}
.vhf-grid {
  position: absolute; inset: 0; opacity: 0.12; pointer-events: none;
  background-image: radial-gradient(rgba(255,255,255,0.4) 1px, transparent 1px);
  background-size: 24px 24px;
  -webkit-mask-image: radial-gradient(ellipse 65% 70% at 50% 50%, #000 25%, transparent 75%);
  mask-image: radial-gradient(ellipse 65% 70% at 50% 50%, #000 25%, transparent 75%);
}
.vhf-desk, .vhf-mob { position: absolute; inset: 0; }
.vhf-mob { display: none; }

/* Call card */
.vhf-call {
  position: absolute; left: 4%; top: 12%; width: min(264px, 24%); padding: 14px;
  border-radius: 20px;
  background: linear-gradient(160deg, rgba(34,34,34,.95), rgba(22,22,22,.98));
  border: 1px solid rgba(232,198,116,.28);
  box-shadow: 0 20px 50px rgba(0,0,0,.45), 0 0 40px rgba(232,198,116,.08);
  animation: vhf-card 7.5s ease-in-out infinite; z-index: 4;
}
@keyframes vhf-card {
  0%,3%{opacity:0; transform: translateY(12px)}
  10%,90%{opacity:1; transform: translateY(0)}
  97%,100%{opacity:.85}
}
.vhf-call-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.vhf-live {
  font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #4ade80;
  display: flex; align-items: center; gap: 6px;
}
.vhf-live i { width: 6px; height: 6px; border-radius: 50%; background: #4ade80; animation: vhf-blink 1s ease-in-out infinite; }
.vhf-clock { font-size: 11px; color: #8a8a92; font-weight: 600; }
.vhf-avwrap { display: flex; align-items: center; gap: 14px; }
.vhf-av {
  width: 52px; height: 52px; border-radius: 50%; flex-shrink: 0;
  background: linear-gradient(135deg, #e8c674, #8a6a28); position: relative;
}
.vhf-av::after {
  content: ""; position: absolute; inset: -8px; border-radius: 50%;
  border: 1.5px solid rgba(232,198,116,.45); animation: vhf-rip 1.4s ease-out infinite;
}
@keyframes vhf-rip { 0%{transform:scale(.85);opacity:.65} 70%{transform:scale(1.55);opacity:0} 100%{opacity:0} }
@keyframes vhf-blink { 0%,100%{opacity:1} 50%{opacity:.35} }
.vhf-who .n { font-size: 16px; font-weight: 600; color: var(--text); }
.vhf-who .s { font-size: 12px; color: var(--text-dim); margin-top: 3px; }
.vhf-timer {
  margin-top: 12px; padding: 8px 12px; border-radius: 12px;
  background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.08);
  display: flex; justify-content: space-between; align-items: center;
}
.vhf-timer .lab { font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: #8a8a92; font-weight: 600; }
.vhf-timer .t { font-size: 18px; font-weight: 600; color: var(--amber); font-variant-numeric: tabular-nums; }

/* Centre orb and spectrum */
.vhf-center {
  position: absolute; left: 50%; top: 10%; transform: translate(-50%, 0);
  width: min(440px, 40%); text-align: center; z-index: 3;
}
.vhf-orb {
  width: 72px; height: 72px; border-radius: 50%; margin: 0 auto 14px; position: relative;
  background: radial-gradient(circle at 35% 28%, #fff6d6 0%, #f3d88a 18%, #e8c674 45%, #8a6a28 78%, #1a150c 100%);
  box-shadow: 0 0 40px rgba(232,198,116,.45), 0 0 90px rgba(232,198,116,.2);
  animation: vhf-orb 7.5s ease-in-out infinite;
}
.vhf-orb::after {
  content: ""; position: absolute; inset: 16%; border-radius: 50%;
  background: radial-gradient(circle at 40% 35%, rgba(255,255,255,.4), transparent 65%);
}
@keyframes vhf-orb {
  0%,100%{transform:scale(1)}
  50%{transform:scale(1.07); box-shadow: 0 0 56px rgba(232,198,116,.55), 0 0 110px rgba(232,198,116,.26)}
}
.vhf-spectrum { display: flex; align-items: center; justify-content: center; gap: 4px; height: 56px; }
.vhf-spectrum i {
  width: 5px; border-radius: 3px; display: block; transform-origin: center;
  background: linear-gradient(180deg, #f3d88a, #e8c674 60%, rgba(232,198,116,.25));
  animation: vhf-spec 1.1s ease-in-out infinite;
}
@keyframes vhf-spec { 0%,100%{transform:scaleY(.28);opacity:.45} 50%{transform:scaleY(1);opacity:1} }
.vhf-spectrum i:nth-child(1){height:18px} .vhf-spectrum i:nth-child(2){height:32px;animation-delay:.05s}
.vhf-spectrum i:nth-child(3){height:48px;animation-delay:.1s} .vhf-spectrum i:nth-child(4){height:64px;animation-delay:.08s}
.vhf-spectrum i:nth-child(5){height:40px;animation-delay:.15s} .vhf-spectrum i:nth-child(6){height:70px;animation-delay:.03s}
.vhf-spectrum i:nth-child(7){height:52px;animation-delay:.12s} .vhf-spectrum i:nth-child(8){height:36px;animation-delay:.18s}
.vhf-spectrum i:nth-child(9){height:60px;animation-delay:.07s} .vhf-spectrum i:nth-child(10){height:44px;animation-delay:.14s}
.vhf-spectrum i:nth-child(11){height:68px;animation-delay:.02s} .vhf-spectrum i:nth-child(12){height:30px;animation-delay:.11s}
.vhf-spectrum i:nth-child(13){height:54px;animation-delay:.09s} .vhf-spectrum i:nth-child(14){height:42px;animation-delay:.16s}
.vhf-spectrum i:nth-child(15){height:22px;animation-delay:.2s} .vhf-spectrum i:nth-child(16){height:38px;animation-delay:.06s}
.vhf-spectrum i:nth-child(17){height:58px;animation-delay:.13s} .vhf-spectrum i:nth-child(18){height:46px;animation-delay:.04s}
.vhf-spectrum i:nth-child(19){height:28px;animation-delay:.17s} .vhf-spectrum i:nth-child(20){height:50px;animation-delay:.1s}
.vhf-listen {
  margin-top: 10px; font-size: 11px; letter-spacing: .14em; text-transform: uppercase;
  color: rgba(232,198,116,.75); font-weight: 600;
}

/* Transcript */
.vhf-transcript {
  position: absolute; left: 30%; bottom: 6%; width: min(420px, 32%);
  display: flex; flex-direction: column; gap: 8px; z-index: 4;
}
.vhf-bub {
  padding: 10px 12px; border-radius: 14px; font-size: 12.5px; line-height: 1.4; max-width: 92%;
  opacity: 0; transform: translateY(8px);
}
.vhf-bub .who {
  font-size: 9px; letter-spacing: .1em; text-transform: uppercase; color: #8a8a92; margin-bottom: 3px; font-weight: 700;
}
.vhf-bub.ai {
  align-self: flex-start; background: rgba(232,198,116,.1); border: 1px solid rgba(232,198,116,.3);
  color: #f0e6cc; border-bottom-left-radius: 4px; animation: vhf-bub 7.5s ease-in-out .8s infinite;
}
.vhf-bub.user {
  align-self: flex-end; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12);
  color: #d8d8d8; border-bottom-right-radius: 4px; animation: vhf-bub 7.5s ease-in-out 2.2s infinite;
}
@keyframes vhf-bub {
  0%,6%{opacity:0;transform:translateY(10px)}
  14%,72%{opacity:1;transform:translateY(0)}
  85%,100%{opacity:0;transform:translateY(-6px)}
}

/* Outcome chips */
.vhf-chips {
  position: absolute; right: 4%; top: 12%; width: min(240px, 20%);
  display: flex; flex-direction: column; gap: 10px; z-index: 4;
}
.vhf-chip {
  padding: 10px 14px; border-radius: 16px; background: rgba(24,24,24,.95);
  border: 1px solid rgba(255,255,255,.1); box-shadow: 0 14px 36px rgba(0,0,0,.4);
  opacity: 0; transform: translateX(16px) scale(.96);
}
.vhf-chip .lab { font-size: 9px; letter-spacing: .12em; text-transform: uppercase; color: #8a8a92; font-weight: 700; margin-bottom: 4px; }
.vhf-chip .val { font-size: 14px; font-weight: 600; color: var(--text); }
.vhf-chip .sub { font-size: 11px; color: var(--text-dim); margin-top: 3px; }
.vhf-chip .mark {
  float: right; width: 22px; height: 22px; border-radius: 50%; background: #22c55e; color: #062;
  font-size: 12px; font-weight: 800; display: grid; place-items: center; margin-top: -2px;
}
.vhf-chip.c1 { animation: vhf-chip 7.5s ease-in-out 3.2s infinite; border-color: rgba(232,198,116,.35); }
.vhf-chip.c2 { animation: vhf-chip 7.5s ease-in-out 4.2s infinite; border-color: rgba(74,222,128,.35); }
.vhf-chip.c3 { animation: vhf-chip 7.5s ease-in-out 5.2s infinite; border-color: rgba(232,198,116,.35); }
@keyframes vhf-chip {
  0%,8%{opacity:0;transform:translateX(18px) scale(.94)}
  18%,78%{opacity:1;transform:translateX(0) scale(1)}
  90%,100%{opacity:0;transform:translateX(8px) scale(.98)}
}

@media (max-width: 1023px) {
  .vhf {
    height: 480px;
    -webkit-mask-image: linear-gradient(180deg, transparent, #000 4%, #000 96%, transparent);
    mask-image: linear-gradient(180deg, transparent, #000 4%, #000 96%, transparent);
  }
  .vhf-desk { display: none; }
  .vhf-mob { display: block; }
  .vhf-mob .vhf-call {
    left: 50%; top: 2%; transform: translateX(-50%); width: min(320px, 86%);
    display: flex; align-items: center; gap: 12px; padding: 12px 14px;
    animation-name: vhf-card-m;
  }
  @keyframes vhf-card-m {
    0%,3%{opacity:0; transform: translateX(-50%) translateY(8px)}
    10%,90%{opacity:1; transform: translateX(-50%) translateY(0)}
    97%,100%{opacity:.9}
  }
  .vhf-mob .vhf-av { width: 36px; height: 36px; }
  .vhf-mob .vhf-av::after { inset: -5px; }
  .vhf-mob .vhf-who .n { font-size: 13px; }
  .vhf-mob .vhf-center { top: 22%; width: 80%; transform: translate(-50%, 0); }
  .vhf-mob .vhf-orb { width: 56px; height: 56px; margin-bottom: 10px; }
  .vhf-mob .vhf-spectrum { height: 40px; gap: 3px; }
  .vhf-mob .vhf-spectrum i { width: 3.5px; }
  .vhf-mob .vhf-transcript {
    left: 50%; top: 47%; bottom: auto; transform: translateX(-50%); width: min(320px, 86%);
  }
  .vhf-mob .vhf-bub { font-size: 12px; }
  .vhf-mob .vhf-chips {
    left: 50%; right: auto; top: auto; bottom: 4%; transform: translateX(-50%);
    width: min(320px, 86%); flex-direction: row; gap: 8px;
  }
  .vhf-mob .vhf-chip { flex: 1; padding: 8px; text-align: center; transform: translateY(8px); }
  .vhf-mob .vhf-chip .mark { display: none; }
  .vhf-mob .vhf-chip .val { font-size: 11px; }
  .vhf-mob .vhf-chip.c1,
  .vhf-mob .vhf-chip.c2,
  .vhf-mob .vhf-chip.c3 { animation-name: vhf-chip-m; }
  @keyframes vhf-chip-m {
    0%,8%{opacity:0;transform:translateY(8px)}
    18%,78%{opacity:1;transform:translateY(0)}
    90%,100%{opacity:0}
  }
}

@media (prefers-reduced-motion: reduce) {
  .vhf-live i, .vhf-av::after, .vhf-orb, .vhf-spectrum i,
  .vhf-call, .vhf-bub, .vhf-chip { animation: none !important; }
  .vhf-call, .vhf-bub, .vhf-chip { opacity: 1 !important; transform: none !important; }
  .vhf-spectrum i { transform: none !important; opacity: .7 !important; }
}


/* ---------- ABOUT PAGE (matched to the reference screenshots; site palette and Playfair kept) ---------- */
.about-hero { position: relative; }
.about-hero::before {
  content: ""; position: absolute; left: 0; right: 0; top: 90px; height: 560px; pointer-events: none;
  background: radial-gradient(ellipse 42% 55% at 50% 58%, rgba(232,198,116,.16), transparent 72%);
}
.about-hero .container { position: relative; }
.about-hero .hero-note { margin: 26px 0 0; font-size: 13px; letter-spacing: .02em; color: var(--text-muted); }

/* story: wide copy column, square achievements card */
.story-grid { display: grid; grid-template-columns: minmax(0, 1.9fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.story-copy { text-align: left; }
.story-copy h2 { margin: 18px 0 26px; }
.story-copy p { margin: 0; max-width: 62ch; color: var(--text-dim); font-size: 17px; line-height: 1.8; font-weight: 300; }
.ach-card {
  padding: 22px 22px 26px; border-radius: 28px;
  background: linear-gradient(180deg, #202020, #181818);
  border: 1px solid var(--line-strong); box-shadow: var(--shadow-lg);
}
.ach-label { color: var(--gold-1); font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 16px; }
.ach-carousel {
  position: relative; aspect-ratio: 1 / 1; overflow: hidden;
  border-radius: 18px; border: 1px solid var(--line); background: var(--bg-0);
}
.ach-slide {
  position: absolute; inset: 0; display: grid; place-items: center;
  opacity: 0; transition: opacity .6s ease;
  background: radial-gradient(120% 90% at 50% 0%, rgba(201,168,76,.16), transparent 62%), var(--bg-0);
  color: var(--text-muted); font-size: 14px;
}
.ach-slide.is-active { opacity: 1; }
.ach-slide img { width: 100%; height: 100%; object-fit: cover; }
.ach-dots { display: flex; justify-content: center; gap: 9px; margin-top: 18px; }
.ach-dots button {
  width: 9px; height: 9px; padding: 0; border: 0; border-radius: 50%;
  background: var(--gold-2); opacity: .35; cursor: pointer;
  transition: opacity .3s ease, transform .3s ease;
}
.ach-dots button.is-active { opacity: 1; transform: scale(1.2); }

/* values: four cards, larger icon tile and title */
.values-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; margin-top: 8px; }
.value-card {
  padding: 34px 30px 36px; border-radius: 26px;
  background: linear-gradient(180deg, #202020, #181818);
  border: 1px solid var(--line-strong);
}
.value-ico {
  width: 64px; height: 64px; margin-bottom: 30px; border-radius: 18px;
  display: grid; place-items: center; font-size: 26px; line-height: 1;
  background: #2a2a2a; border: 1px solid var(--line-strong); color: var(--gold-1);
}
.value-ico.ico-muted { color: #b9b9c0; }
.value-card h3 { margin: 0 0 14px; font-size: 22px; font-weight: 600; letter-spacing: -0.02em; }
.value-card p { margin: 0; font-size: 16px; line-height: 1.7; font-weight: 300; color: var(--text-dim); }

/* team: photo tiles, name and gold role */
.team-section { padding-top: 40px; }
.crew-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.crew-card {
  overflow: hidden; border-radius: 22px; width: auto; min-width: 0;
  background: linear-gradient(180deg, #202020, #181818);
  border: 1px solid var(--line-strong);
}
.crew-media {
  position: relative; aspect-ratio: 7 / 6; overflow: hidden;
  background: radial-gradient(120% 90% at 50% 0%, rgba(201,168,76,.14), transparent 62%), var(--bg-0);
}
.crew-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.crew-initials { display: grid; place-items: center; }
.crew-initials span {
  width: 56%; max-width: 190px; aspect-ratio: 1; border-radius: 50%;
  display: grid; place-items: center; font-size: clamp(30px, 3.4vw, 44px); font-weight: 600; color: var(--text);
  border: 2px solid transparent;
  background: linear-gradient(#1c1c1c, #1c1c1c) padding-box, linear-gradient(135deg, #e8c674, #8a6a28) border-box;
}
.crew-body { padding: 20px 24px 24px; }
.crew-body h3 { margin: 0; font-size: 20px; font-weight: 600; letter-spacing: -0.015em; }
.crew-role { margin: 6px 0 0; font-size: 15px; color: var(--gold-1); }

/* CTA card sized to the reference */
.cta-final .cta-card { padding: 88px 64px; border-radius: 36px; }
.cta-card .cta-phone { margin: 16px 0 0; font-size: 15px; color: var(--text-muted); }
.cta-card .cta-phone a { color: var(--text-dim); white-space: nowrap; }
.cta-card .cta-phone a:hover { color: var(--gold-1); }

/* responsive: about page */
@media (max-width: 960px) {
  .story-grid { grid-template-columns: 1fr; gap: 44px; }
  .values-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .crew-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cta-final .cta-card { padding: 64px 40px; }
}
@media (max-width: 600px) {
  .values-grid { grid-template-columns: 1fr; }
  .crew-grid { grid-template-columns: 1fr; }
  .ach-card { padding: 16px 16px 22px; }
  .cta-final .cta-card { padding: 48px 24px; }
}

/* ---------- FOOTER: end the page right after the copyright row ---------- */
.footer { padding-bottom: 28px; }
.footer-bottom > span { line-height: 1.6; overflow-wrap: anywhere; }
@media (max-width: 720px) {
  .footer { padding: 60px 0 24px; }
  .footer-bottom {
    flex-direction: column; align-items: center; text-align: center;
    gap: 8px; font-size: 12px;
  }
  .footer-bottom > span { max-width: 34ch; }
}

/* Content Creation pain cards: 4:3 loop panel */
.svc-media--43 { aspect-ratio: 4 / 3; }
.pain-card--media { padding: 14px 14px 28px; }
.pain-card--media h3 { margin-top: 4px; }
.pain-grid { align-items: stretch; }

/* ---------- CTA BACKGROUND (CtaBackground component from "05 - CTA BG", ported unchanged) ---------- */
/* CtaBackground — premium slow loop behind CTA content */

.ix-cta-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  border-radius: inherit;
  isolation: isolate;
}

.ix-cta-bg__base {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 80% at 12% 18%, rgba(40, 70, 140, 0.45), transparent 55%),
    radial-gradient(ellipse 65% 75% at 92% 55%, rgba(232, 184, 74, 0.28), transparent 58%),
    linear-gradient(135deg, #12141c 0%, #0e1016 45%, #14120e 100%);
}

/* Drifting mesh blobs */
.ix-cta-bg__blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(48px);
  will-change: transform, opacity;
  mix-blend-mode: screen;
}

.ix-cta-bg__blob--navy {
  width: 55%;
  height: 90%;
  left: -12%;
  top: -25%;
  background: radial-gradient(circle, rgba(70, 110, 200, 0.55) 0%, rgba(40, 70, 140, 0.2) 45%, transparent 70%);
  animation: ixCtaNavy 14s ease-in-out infinite;
}

.ix-cta-bg__blob--gold {
  width: 50%;
  height: 95%;
  right: -14%;
  top: -10%;
  background: radial-gradient(circle, rgba(232, 184, 74, 0.42) 0%, rgba(180, 130, 40, 0.18) 42%, transparent 70%);
  animation: ixCtaGold 16s ease-in-out infinite;
}

.ix-cta-bg__blob--soft {
  width: 40%;
  height: 55%;
  left: 35%;
  bottom: -20%;
  background: radial-gradient(circle, rgba(90, 120, 180, 0.18) 0%, transparent 70%);
  animation: ixCtaSoft 18s ease-in-out infinite;
  filter: blur(60px);
}

@keyframes ixCtaNavy {
  0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.9; }
  50% { transform: translate(6%, 8%) scale(1.08); opacity: 1; }
}
@keyframes ixCtaGold {
  0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.85; }
  50% { transform: translate(-5%, -6%) scale(1.1); opacity: 1; }
}
@keyframes ixCtaSoft {
  0%, 100% { transform: translate(0, 0); opacity: 0.6; }
  50% { transform: translate(-4%, -8%); opacity: 0.9; }
}

/* Keep center calm for headline readability */
.ix-cta-bg__veil {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 55% 60% at 50% 45%, rgba(10, 10, 14, 0.72) 0%, rgba(10, 10, 14, 0.35) 45%, transparent 70%),
    linear-gradient(180deg, transparent 0%, rgba(8, 8, 12, 0.25) 100%);
}

/* Faint dotted mesh */
.ix-cta-bg__grid {
  position: absolute;
  inset: 0;
  opacity: 0.22;
  background-image:
    radial-gradient(circle, rgba(232, 184, 74, 0.35) 0.7px, transparent 0.8px);
  background-size: 28px 28px;
  background-position: 0 0;
  mask-image: radial-gradient(ellipse 70% 70% at 50% 45%, transparent 25%, #000 70%);
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 50% 45%, transparent 25%, #000 70%);
  animation: ixCtaGrid 22s linear infinite;
}

@keyframes ixCtaGrid {
  0% { background-position: 0 0; }
  100% { background-position: 28px 28px; }
}

/* Slow light sweep */
.ix-cta-bg__sweep {
  position: absolute;
  inset: -20%;
  background: linear-gradient(
    105deg,
    transparent 35%,
    rgba(255, 255, 255, 0.035) 48%,
    rgba(232, 184, 74, 0.06) 50%,
    rgba(255, 255, 255, 0.03) 52%,
    transparent 65%
  );
  animation: ixCtaSweep 10s ease-in-out infinite;
  mix-blend-mode: soft-light;
}

@keyframes ixCtaSweep {
  0%, 100% { transform: translateX(-18%) rotate(0.5deg); opacity: 0.4; }
  50% { transform: translateX(18%) rotate(-0.5deg); opacity: 0.85; }
}

/* Tiny rising gold sparks */
.ix-cta-bg__particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.ix-cta-bg__spark {
  position: absolute;
  width: 2px;
  height: 2px;
  border-radius: 50%;
  background: #E8B84A;
  box-shadow: 0 0 6px rgba(232, 184, 74, 0.8);
  opacity: 0;
  bottom: 8%;
  animation: ixCtaSpark 9s ease-in-out infinite;
}

.ix-cta-bg__spark--1  { left: 8%;  animation-delay: 0s;    animation-duration: 8.5s; }
.ix-cta-bg__spark--2  { left: 18%; animation-delay: 1.2s;  animation-duration: 9.5s; width: 1.5px; height: 1.5px; }
.ix-cta-bg__spark--3  { left: 28%; animation-delay: 2.4s;  animation-duration: 8s; }
.ix-cta-bg__spark--4  { left: 42%; animation-delay: 0.8s;  animation-duration: 10s; width: 1.5px; height: 1.5px; }
.ix-cta-bg__spark--5  { left: 55%; animation-delay: 3.1s;  animation-duration: 9s; }
.ix-cta-bg__spark--6  { left: 68%; animation-delay: 1.7s;  animation-duration: 8.8s; }
.ix-cta-bg__spark--7  { left: 78%; animation-delay: 4s;    animation-duration: 9.2s; width: 1.5px; height: 1.5px; }
.ix-cta-bg__spark--8  { left: 88%; animation-delay: 2s;    animation-duration: 8.2s; }
.ix-cta-bg__spark--9  { left: 12%; animation-delay: 5s;    animation-duration: 10.5s; }
.ix-cta-bg__spark--10 { left: 35%; animation-delay: 3.6s;  animation-duration: 9.8s; width: 1.5px; height: 1.5px; }
.ix-cta-bg__spark--11 { left: 62%; animation-delay: 0.4s;  animation-duration: 8.6s; }
.ix-cta-bg__spark--12 { left: 92%; animation-delay: 4.5s;  animation-duration: 9.4s; }

@keyframes ixCtaSpark {
  0%   { transform: translateY(0) scale(0.6); opacity: 0; }
  12%  { opacity: 0.7; }
  55%  { opacity: 0.45; }
  100% { transform: translateY(-320%) scale(1); opacity: 0; }
}

/* Traveling border shimmer */
.ix-cta-bg__border {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.ix-cta-bg__border-path {
  fill: none;
  stroke: rgba(232, 184, 74, 0.55);
  stroke-width: 0.35;
  stroke-dasharray: 12 88;
  stroke-dashoffset: 0;
  animation: ixCtaBorder 10s linear infinite;
  vector-effect: non-scaling-stroke;
  filter: drop-shadow(0 0 3px rgba(232, 184, 74, 0.45));
}

@keyframes ixCtaBorder {
  to { stroke-dashoffset: -100; }
}

/* Static fallback */
@media (prefers-reduced-motion: reduce) {
  .ix-cta-bg__blob,
  .ix-cta-bg__grid,
  .ix-cta-bg__sweep,
  .ix-cta-bg__spark,
  .ix-cta-bg__border-path {
    animation: none !important;
  }
  .ix-cta-bg__spark { opacity: 0.25; transform: none; }
  .ix-cta-bg__border-path { stroke-dasharray: none; stroke: rgba(232, 184, 74, 0.35); }
  .ix-cta-bg__sweep { opacity: 0.35; transform: none; }
}

/* Soften on small screens */
@media (max-width: 640px) {
  .ix-cta-bg__blob { filter: blur(40px); }
  .ix-cta-bg__spark { opacity: 0; }
  .ix-cta-bg__grid { opacity: 0.14; }
}

/* CTA container: the component sits inside .cta-card and replaces the old gradient and corner glows */
.cta-card { background: var(--bg-0); }
.cta-card::before, .cta-card::after { content: none; }
.cta-card > .ix-cta-bg { position: absolute; inset: 0; max-width: none; z-index: 0; }


/* ---------- Insights / blog ---------- */
.blog-hero { padding-bottom: 40px; }
.blog-empty {
  max-width: 640px; margin: 0 auto; text-align: center;
  padding: 72px 32px; border-radius: 28px;
  background: linear-gradient(180deg, #202020, #181818);
  border: 1px solid var(--line-strong);
}
.blog-empty-kicker {
  margin: 0 0 12px; color: var(--gold-2); font-size: 12px; font-weight: 600;
  letter-spacing: .16em; text-transform: uppercase;
}
.blog-empty h2 { margin: 0 0 16px; font-size: clamp(28px, 4vw, 40px); }
.blog-empty p { margin: 0 auto 28px; max-width: 46ch; color: var(--text-dim); font-size: 17px; line-height: 1.7; font-weight: 300; }
.blog-empty .hero-cta { justify-content: center; }
.blog-list { display: grid; gap: 22px; max-width: 800px; margin: 0 auto; }
.blog-card {
  display: block; padding: 32px 34px; border-radius: 22px; text-decoration: none; color: inherit;
  background: linear-gradient(180deg, #202020, #181818);
  border: 1px solid var(--line-strong);
  transition: border-color .2s ease, transform .2s ease;
}
.blog-card:hover { border-color: var(--line-gold); }
.blog-card time { display: block; margin-bottom: 10px; color: var(--gold-2); font-size: 13px; letter-spacing: .04em; }
.blog-card h2 { margin: 0 0 10px; font-size: clamp(22px, 2.4vw, 28px); font-weight: 600; }
.blog-card p { margin: 0; color: var(--text-dim); font-size: 16px; line-height: 1.7; font-weight: 300; }
.blog-post { padding-top: 40px; }
.blog-post-inner { max-width: 720px; margin: 0 auto; }
.blog-back { display: inline-block; margin-bottom: 28px; color: var(--gold-1); font-size: 14px; text-decoration: none; }
.blog-back:hover { color: var(--gold-2); }
.blog-post time { display: block; margin-bottom: 12px; color: var(--gold-2); font-size: 13px; letter-spacing: .04em; }
.blog-post h1 { margin: 0 0 28px; font-size: clamp(32px, 5vw, 48px); }
.blog-body { color: var(--text-dim); font-size: 17px; line-height: 1.8; font-weight: 300; }
.blog-body h2, .blog-body h3 { color: var(--text); margin: 2em 0 .6em; }
.blog-body a { color: var(--gold-1); }
.blog-body a:hover { color: var(--gold-2); }
.blog-body p, .blog-body ul, .blog-body ol { margin: 0 0 1.1em; }
.blog-body code { font-size: .92em; background: #201c14; padding: .1em .35em; border-radius: 4px; }
.blog-body pre { overflow-x: auto; padding: 16px 18px; border-radius: 12px; background: #161616; border: 1px solid var(--line); }
@media (max-width: 720px) {
  .blog-empty { padding: 48px 22px; }
  .blog-card { padding: 24px 22px; }
}

/* =====================================================================
   2026-11 overhaul: nav state, hero services, service cards, why cards,
   portfolio + modal, legal pages. Existing palette/variables only.
   ===================================================================== */

/* Nav: active page + keyboard focus */
.nav-links a[aria-current="page"] { color: var(--text); }
.nav-links > a[aria-current="page"]::after { transform: scaleX(1); }
.nav-dd-btn.is-current { color: var(--text); }
.nav-dd-menu a[aria-current="page"] { color: var(--gold-1); background: var(--gold-tint); }
@media (min-width: 961px) { .nav-dd:focus-within .nav-dd-menu { opacity: 1; pointer-events: auto; transform: translate(-50%, 0); } }
:where(a, button, summary, [tabindex]):focus-visible { outline: 2px solid var(--gold-1); outline-offset: 3px; border-radius: 10px; }
.btn { transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease), border-color .25s var(--ease), color .25s var(--ease); }
.btn:focus-visible { outline-offset: 4px; }

/* Home hero: three service pills (UGC first and highlighted) */
.hero-title .grad-gold { display: inline; }
.hero-services { list-style: none; margin: 34px 0 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.hs-pill {
  display: inline-flex; align-items: center; gap: 9px; min-height: 40px; padding: 8px 16px;
  border: 1px solid var(--line-strong); border-radius: 999px; background: rgba(255,255,255,0.03);
  color: var(--text-dim); font-size: 13.5px; font-weight: 500; letter-spacing: .01em;
  transition: border-color .25s var(--ease), color .25s var(--ease), background .25s var(--ease), transform .25s var(--ease);
}
.hs-pill:hover { color: var(--text); border-color: var(--line-gold); transform: translateY(-1px); }
.hs-pill--main { color: var(--text); border-color: var(--line-gold); background: var(--gold-tint); font-size: 14.5px; padding: 9px 18px; }
.hs-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gold-1); box-shadow: 0 0 0 4px rgba(232,184,74,0.18); }

/* Home service cards: same dimensions, UGC card marked as the primary focus */
.svc-card { position: relative; transition: transform .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease); }
.svc-card:hover { transform: translateY(-4px); border-color: var(--line-gold); box-shadow: var(--shadow-card); }
.svc-card--main { border-color: var(--line-gold); box-shadow: 0 24px 48px -22px rgba(201,168,76,0.35); }
.svc-badge {
  position: absolute; top: 24px; left: 24px; z-index: 2; padding: 5px 11px; border-radius: 999px;
  background: rgba(16,16,16,0.82); border: 1px solid var(--line-gold); color: var(--gold-1);
  font-size: 10.5px; letter-spacing: .18em; text-transform: uppercase; font-weight: 600;
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.chips-label { margin: 0 0 12px; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--text-muted); font-weight: 500; }

/* Why / solution cards */
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.why-grid--3 { grid-template-columns: repeat(3, 1fr); }
.why-card {
  padding: 28px 26px; border-radius: var(--radius-lg); border: 1px solid var(--line-strong);
  background: linear-gradient(180deg, #1f1f1f, #171717);
  transition: transform .3s var(--ease), border-color .3s var(--ease);
}
.why-card:hover { transform: translateY(-4px); border-color: var(--line-gold); }
.why-card h3 { margin: 0 0 10px; font-size: 18px; font-weight: 500; line-height: 1.3; color: var(--text); }
.why-card h3::before { content: ''; display: block; width: 28px; height: 2px; margin-bottom: 18px; background: linear-gradient(90deg, var(--gold-1), var(--gold-3)); border-radius: 2px; }
.why-card p { margin: 0; color: var(--text-dim); font-size: 15px; line-height: 1.65; font-weight: 300; }
@media (max-width: 1100px) { .why-grid { grid-template-columns: repeat(2, 1fr); } .why-grid--3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .why-grid, .why-grid--3 { grid-template-columns: 1fr; } .why-card { padding: 24px 22px; } }

/* UGC page hero */
.hero-kicker { margin: 18px auto 0; font-family: 'Playfair Display', Georgia, serif; font-style: italic; font-size: clamp(19px, 2.2vw, 26px); color: var(--gold-1); max-width: 760px; }
.ugc-hero .hero-sub { margin-top: 18px; }

/* Client proof logos (static row) */
.proof-logos { list-style: none; margin: 0 auto 56px; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 18px 34px; max-width: 980px; }
.proof-logos img { height: 52px; width: auto; max-width: 180px; object-fit: contain; opacity: .9; }

/* ---------- Portfolio ---------- */
.pf-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.pf-item { min-width: 0; }
.pf-card {
  position: relative; display: block; width: 100%; aspect-ratio: 9 / 16; padding: 0; margin: 0; cursor: pointer;
  border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line-strong);
  background: #111 center / cover no-repeat; color: var(--text);
  transition: transform .35s var(--ease), border-color .35s var(--ease), box-shadow .35s var(--ease);
  -webkit-tap-highlight-color: transparent;
}
.pf-card::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 55%, rgba(0,0,0,0.55)); pointer-events: none; }
.pf-poster, .pf-preview { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.pf-preview { opacity: 0; transition: opacity .35s var(--ease); pointer-events: none; }
.pf-card.is-previewing .pf-preview { opacity: 1; }
.pf-play {
  position: absolute; left: 50%; top: 50%; z-index: 2; width: 58px; height: 58px; margin: -29px 0 0 -29px;
  display: grid; place-items: center; border-radius: 50%; color: #141414;
  background: linear-gradient(135deg, var(--gold-1), var(--gold-2)); box-shadow: 0 12px 28px -8px rgba(0,0,0,.6);
  transition: transform .3s var(--ease), opacity .3s var(--ease);
}
.pf-play svg { margin-left: 3px; }
.pf-card.is-previewing .pf-play { opacity: .0; transform: scale(.85); }
.pf-dur { position: absolute; right: 10px; bottom: 10px; z-index: 2; padding: 3px 8px; border-radius: 999px; background: rgba(0,0,0,.6); font-size: 12px; font-weight: 500; letter-spacing: .02em; }
@media (hover: hover) and (pointer: fine) {
  .pf-card:hover { transform: translateY(-4px); border-color: var(--line-gold); box-shadow: 0 26px 50px -20px rgba(201,168,76,0.35); }
  .pf-card:hover .pf-play { opacity: 1; transform: scale(1.08); }
}
.pf-card:focus-visible { outline: 2px solid var(--gold-1); outline-offset: 3px; }
.pf-more { display: flex; justify-content: center; margin-top: 34px; }
.pf-more[hidden], .pf-more-btn[hidden] { display: none; }
@media (max-width: 1000px) { .pf-list { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 640px) {
  .pf-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .pf-play { width: 46px; height: 46px; margin: -23px 0 0 -23px; }
  /* Home: horizontal rail with snap on phones */
  .pf-list--rail { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; margin: 0 -20px; padding: 4px 20px 14px; scrollbar-width: none; }
  .pf-list--rail::-webkit-scrollbar { display: none; }
  .pf-list--rail .pf-item { flex: 0 0 62%; scroll-snap-align: center; }
}

/* Modal */
html.pf-lock, html.pf-lock body { overflow: hidden; }
.pf-modal { position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; padding: 24px; }
.pf-modal[hidden] { display: none; }
.pf-modal-backdrop { position: absolute; inset: 0; background: rgba(8,8,8,0.86); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); opacity: 0; transition: opacity .25s var(--ease); }
.pf-modal-box { position: relative; display: flex; flex-direction: column; align-items: center; gap: 14px; opacity: 0; transform: translateY(12px) scale(.98); transition: opacity .28s var(--ease), transform .28s var(--ease-out); }
.pf-modal.is-open .pf-modal-backdrop { opacity: 1; }
.pf-modal.is-open .pf-modal-box { opacity: 1; transform: none; }
.pf-modal-frame { height: min(78vh, 820px); aspect-ratio: 9 / 16; max-width: calc(100vw - 48px); border-radius: var(--radius); overflow: hidden; background: #000; border: 1px solid var(--line-gold); box-shadow: var(--shadow-lg); }
.pf-modal-video { width: 100%; height: 100%; display: block; object-fit: contain; background: #000; }
.pf-modal-close {
  position: absolute; top: -6px; right: -60px; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; cursor: pointer;
  background: rgba(255,255,255,0.08); border: 1px solid var(--line-strong); color: var(--text); transition: background .2s var(--ease), border-color .2s var(--ease);
}
.pf-modal-close:hover { background: rgba(255,255,255,0.16); border-color: var(--line-gold); }
.pf-modal-nav { display: flex; align-items: center; gap: 16px; }
.pf-modal-nav button { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; cursor: pointer; background: rgba(255,255,255,0.06); border: 1px solid var(--line-strong); color: var(--text); }
.pf-modal-nav button:hover { border-color: var(--line-gold); }
.pf-modal-count { min-width: 64px; text-align: center; color: var(--text-dim); font-size: 14px; font-variant-numeric: tabular-nums; }
.pf-modal-note { margin: 0; max-width: 360px; text-align: center; color: var(--gold-1); font-size: 13px; }
@media (max-width: 640px) {
  .pf-modal { padding: 12px; }
  .pf-modal-frame { height: auto; width: calc(100vw - 24px); max-height: calc(100vh - 150px); max-height: calc(100dvh - 150px); }
  .pf-modal-close { top: auto; bottom: -2px; right: 0; position: relative; order: 3; align-self: center; display: none; }
  .pf-modal-box { padding-top: 54px; }
  .pf-modal-box .pf-modal-close { display: grid; position: absolute; top: 0; right: 0; bottom: auto; }
}
@media (prefers-reduced-motion: reduce) {
  .pf-card, .pf-play, .pf-preview, .pf-modal-box, .pf-modal-backdrop, .why-card, .svc-card, .hs-pill { transition: none !important; }
  .pf-card:hover, .why-card:hover, .svc-card:hover { transform: none !important; }
}

/* Legal pages */
.legal { max-width: 820px; margin: 0 auto; }
.legal h2 { font-size: clamp(22px, 2.6vw, 28px); margin: 48px 0 14px; }
.legal h3 { font-size: 18px; margin: 28px 0 10px; font-weight: 500; }
.legal p, .legal li { color: var(--text-dim); font-size: 16px; line-height: 1.75; font-weight: 300; }
.legal ul { padding-left: 20px; }
.legal a { color: var(--gold-1); text-decoration: underline; text-underline-offset: 3px; }
.legal-updated { color: var(--text-muted); font-size: 14px; }

/* GA4 consent bar (only rendered when a GA4 ID is configured in script.js) */
.ix-consent { position: fixed; left: 20px; bottom: 20px; z-index: 900; max-width: 420px; padding: 18px 20px; border-radius: var(--radius); background: rgba(20,20,20,0.97); border: 1px solid var(--line-strong); box-shadow: var(--shadow-card); }
.ix-consent p { margin: 0 0 12px; color: var(--text-dim); font-size: 14px; line-height: 1.6; }
.ix-consent a { color: var(--gold-1); text-decoration: underline; }
.ix-consent div { display: flex; gap: 10px; justify-content: flex-end; }
@media (max-width: 640px) { .ix-consent { left: 12px; right: 12px; bottom: 12px; max-width: none; } }
dialog.pf-modal { position: fixed; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; border: 0; background: transparent; color: var(--text); overflow: hidden; }
dialog.pf-modal:not([open]) { display: none; }
dialog.pf-modal::backdrop { background: transparent; }
.demo-note { margin: 12px auto 0; text-align: center; font-size: 13px; color: var(--text-dim); opacity: .85; }

/* contact form: field wrappers + inline validation (2026-11 overhaul) */
.contact-form .form-note { margin: -14px 0 20px; font-size: 13px; color: var(--text-dim); }
.contact-form .field { margin-bottom: 18px; }
.contact-form .field > label:not(.form-check) { display: block; margin: 0 0 8px; font-size: 13.5px; font-weight: 500; color: #eef0f4; }
.contact-form .field .form-check { margin-bottom: 0; }
.contact-form .form-check a { color: var(--gold-1); text-decoration: underline; text-underline-offset: 2px; }
.contact-form .field-error { margin: 7px 0 0; font-size: 13px; line-height: 1.45; color: #f3b0b0; }
.contact-form .field-error:empty { display: none; }
.contact-form .has-error input[type="text"], .contact-form .has-error input[type="email"],
.contact-form .has-error textarea, .contact-form .has-error .ix-select-btn { border-color: rgba(240,128,128,.75); }
.contact-form .has-error input:focus, .contact-form .has-error textarea:focus { box-shadow: 0 0 0 3px rgba(240,128,128,.16); }
.footer-legal { display: flex; gap: 18px; flex-wrap: wrap; }
.footer-legal a { color: #b0b0b8; font-size: 12px; transition: color .2s var(--ease); }
.footer-legal a:hover { color: var(--gold-1); }
.page-hero--legal { padding-bottom: 20px; }
.legal-section { padding-top: 20px; }

/* Perf: above-the-fold hero copy is visible from first paint (it is the LCP element); keep a transform-only entrance. */
html.js .hero .reveal, html.js .page-hero .reveal { opacity: 1; transform: none; transition: none; animation: heroRise .8s var(--ease-out) both; }
@keyframes heroRise { from { transform: translateY(16px); } to { transform: none; } }
@media (prefers-reduced-motion: reduce) { html.js .hero .reveal, html.js .page-hero .reveal { animation: none; } }
/* Home portfolio: 6 cards in the 3-column tablet range so the grid has no orphan row */
@media (min-width: 641px) and (max-width: 1000px) { .pf-list--rail .pf-item:nth-child(n+7) { display: none; } }
/* 2-column tablet range: centre a lone last card instead of leaving it stranded on the left */
@media (min-width: 721px) and (max-width: 960px) {
  .pain-grid > :last-child:nth-child(odd) { grid-column: 1 / -1; width: calc(50% - 11px); justify-self: center; }
}
