/* NUNAKI 2.0 shared stylesheet: brand tokens, layout, components and motion used by every page. */

/* ── Brand tokens ── */
:root {
  --cream: #F7F5F0;
  --cream-2: #EFEBE2;
  --line: #E4DED1;
  --graphite: #171C2B;
  --graphite-2: #1F2536;
  --graphite-3: #2A3146;
  --slate: #2A2F3A;
  --muted: #5E6472;
  --gold: #B8922A;
  --gold-deep: #8A6A1C;
  --champagne: #D4AF73;
  --white: #FFFFFF;
  --on-dark: rgba(247,245,240,0.92);
  --on-dark-muted: rgba(247,245,240,0.62);

  --container: 1200px;
  --section-y: clamp(72px, 9vw, 120px);
  --radius: 8px;
  --radius-sm: 6px;

  --font-heading: "Cormorant Garamond", Georgia, serif;
  --font-body: "DM Sans", "Segoe UI", Arial, sans-serif;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --shadow-sm: 0 2px 8px rgba(23,28,43,0.06);
  --shadow-md: 0 20px 45px rgba(23,28,43,0.10);
  --shadow-lg: 0 40px 80px rgba(0,0,0,0.35);
}

/* ── Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  background: var(--cream);
  color: var(--slate);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
.container { width: min(100% - 40px, var(--container)); margin-inline: auto; }
.section { padding-block: var(--section-y); }
.section-dark { background: var(--graphite); color: var(--on-dark); }
.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 2000;
  background: var(--champagne); color: var(--graphite);
  padding: 10px 16px; border-radius: 8px; font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

/* ── Typography ── */
.eyebrow {
  display: inline-block;
  font-size: 12px; font-weight: 700; letter-spacing: 3px; text-transform: uppercase;
  color: var(--gold-deep); margin-bottom: 18px;
}
.section-dark .eyebrow { color: var(--champagne); }
.h1, .h2, .h3 { font-family: var(--font-heading); font-weight: 500; line-height: 1.05; color: var(--graphite); letter-spacing: -0.01em; }
.section-dark .h1, .section-dark .h2, .section-dark .h3 { color: var(--white); }
.h1 { font-size: clamp(44px, 6vw, 76px); }
.h2 { font-size: clamp(36px, 4.4vw, 54px); }
.h3 { font-size: clamp(26px, 2.6vw, 32px); }
.h1 em, .h2 em, .h3 em { font-style: italic; color: var(--gold-deep); }
.section-dark .h1 em, .section-dark .h2 em, .section-dark .h3 em { color: var(--champagne); }
.lead { font-size: clamp(16px, 1.4vw, 18px); color: var(--muted); max-width: 560px; }
.section-dark .lead { color: var(--on-dark-muted); }
.section-head { max-width: 680px; margin-bottom: 56px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .lead { margin-inline: auto; }
.section-head .lead { margin-top: 18px; }

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 26px; border-radius: var(--radius-sm); border: 1px solid transparent;
  font: 600 15px/1 var(--font-body); text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease, box-shadow 180ms ease, color 180ms ease;
}
.btn svg { width: 16px; height: 16px; flex-shrink: 0; transition: transform 180ms ease; }
.btn-gold { background: var(--champagne); color: var(--graphite); }
.btn-gold:hover { background: #DDBC85; }
.btn-dark { background: var(--graphite); color: var(--white); }
.btn-dark:hover { background: var(--graphite-3); }
.btn-outline-light { border-color: rgba(247,245,240,0.28); color: var(--white); background: transparent; }
.btn-outline-light:hover { border-color: var(--champagne); color: var(--champagne); }
.btn-outline-dark { border-color: rgba(23,28,43,0.2); color: var(--graphite); background: transparent; }
.btn-outline-dark:hover { border-color: var(--graphite); }
@media (hover: hover) {
  .btn:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0,0,0,0.14); }
  .btn:hover svg { transform: translateX(3px); }
}

/* ── Navigation ── */
.site-header {
  position: sticky; top: 0; z-index: 900;
  background: rgba(23,28,43,0.97);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(212,175,115,0.10);
  transition: background-color 200ms ease, backdrop-filter 200ms ease, box-shadow 200ms ease, border-color 200ms ease;
}
.site-header.is-scrolled {
  background: rgba(23,28,43,0.88);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-bottom-color: rgba(212,175,115,0.18);
  box-shadow: 0 10px 30px rgba(0,0,0,0.25);
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; flex-shrink: 0; }
.brand svg { width: 40px; height: 40px; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-family: var(--font-heading); font-size: 24px; font-weight: 600; letter-spacing: 5px; color: var(--white); }
.brand-sub { font-size: 9px; font-weight: 600; letter-spacing: 3.6px; text-transform: uppercase; color: var(--champagne); margin-top: 5px; }
.nav-links { display: flex; align-items: center; gap: 34px; list-style: none; }
.nav-links a {
  position: relative; text-decoration: none; font-size: 15px; font-weight: 500;
  color: var(--on-dark-muted); padding: 6px 0; transition: color 180ms ease;
}
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--white); }
.nav-links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px;
  background: var(--champagne); transform: scaleX(0); transform-origin: left;
  transition: transform 250ms var(--ease);
}
.nav-links a:hover::after, .nav-links a[aria-current="page"]::after { transform: scaleX(1); }
.nav-actions { display: flex; align-items: center; gap: 12px; }
.nav-actions .btn { padding: 11px 18px; font-size: 14px; }
.nav-toggle {
  display: none; width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer;
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--champagne); border-radius: 2px; transition: transform 250ms ease, opacity 200ms ease; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.mobile-menu {
  display: none; position: fixed; inset: 76px 0 0 0; z-index: 899;
  background: var(--graphite); padding: 32px 24px; overflow-y: auto;
  flex-direction: column; gap: 6px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a:not(.btn) {
  font-family: var(--font-heading); font-size: 30px; color: var(--white); text-decoration: none;
  padding: 10px 0; border-bottom: 1px solid rgba(247,245,240,0.08);
}
.mobile-menu .btn { margin-top: 16px; padding: 16px; font-size: 16px; }
@media (max-width: 1080px) {
  .nav-links, .nav-actions { display: none; }
  .nav-toggle { display: flex; }
}

/* ── Hero ── */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  background:
    radial-gradient(ellipse 48% 65% at 75% 48%, rgba(212,175,115,0.19) 0%, rgba(184,146,42,0.07) 45%, transparent 80%),
    radial-gradient(ellipse 40% 50% at 5% 105%, rgba(184,146,42,0.08), transparent 70%),
    linear-gradient(135deg, #171C2B 0%, #202330 55%, #171C2B 100%);
  color: var(--on-dark);
  padding-block: clamp(64px, 8vw, 112px) clamp(72px, 9vw, 128px);
}
.hero-wave { position: absolute; inset: auto 0 0 0; width: 100%; height: 220px; pointer-events: none; opacity: 0.55; }
.hero-grid { position: relative; display: grid; grid-template-columns: 1fr 1.08fr; gap: 56px; align-items: center; }
.hero .lead { margin-top: 24px; font-size: 18px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 36px; font-size: 14px; color: var(--on-dark-muted); list-style: none; }
.hero-meta li { display: flex; align-items: center; gap: 8px; }
.hero-meta svg { width: 16px; height: 16px; color: var(--champagne); }
.hero-visual { position: relative; }
.hero-visual::before {
  content: ""; position: absolute; z-index: -1; inset: -12% -10% -18% -6%; pointer-events: none;
  background: radial-gradient(closest-side, rgba(212,175,115,0.22), rgba(184,146,42,0.06) 60%, transparent 100%);
  filter: blur(10px);
}
.hero-copy { animation: fadeUp 500ms var(--ease) both; }
.hero-visual { animation: fadeUp 650ms var(--ease) 120ms both; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.float-chip {
  position: absolute; left: -28px; bottom: 54px; z-index: 3;
  display: flex; align-items: center; gap: 12px;
  background: rgba(31,37,54,0.92); border: 1px solid rgba(212,175,115,0.3);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  padding: 14px 18px; border-radius: 14px; box-shadow: var(--shadow-lg); max-width: 260px;
}
.float-chip-icon { width: 38px; height: 38px; border-radius: 10px; background: rgba(212,175,115,0.14); display: grid; place-items: center; flex-shrink: 0; }
.float-chip-icon svg { width: 20px; height: 20px; color: var(--champagne); }
.float-chip strong { display: block; font-size: 14px; color: var(--white); line-height: 1.3; }
.float-chip span { font-size: 12.5px; color: var(--on-dark-muted); line-height: 1.4; }

/* ── Premium device frames ── */

.laptop {
  position: relative;
  width: 100%;
  filter:
    drop-shadow(0 28px 48px rgba(0,0,0,.38))
    drop-shadow(0 0 30px rgba(212,175,115,.10));
}

.laptop-screen {
  position: relative;
  padding: 1%;
  background:
    linear-gradient(
      140deg,
      #3A414D,
      #12161F 38%,
      #1E232D 80%,
      #4A515C
    );
  border: 1px solid rgba(222,227,234,.25);
  border-radius: 10px 10px 3px 3px;
  box-shadow:
    0 20px 50px rgba(0,0,0,.40),
    inset 0 1px rgba(255,255,255,.16);
}

.laptop-base {
  position: relative; height: 9px; margin: 0 -3.5%;
  background: linear-gradient(180deg,#e0e3e8 0%,#adb3bd 48%,#6e7580 100%);
  border: 1px solid rgba(255,255,255,.28); border-top: 0;
  border-radius: 1px 1px 55% 55% / 1px 1px 100% 100%;
  box-shadow: 0 12px 18px rgba(0,0,0,.19);
}
.laptop-base::before {
  content: ""; position: absolute; top: 0; left: 50%; width: 14%; height: 3px;
  background: linear-gradient(180deg,#848c97,#b7bdc6); border-radius: 0 0 7px 7px;
  transform: translateX(-50%);
}
.phone {
  position: relative; width: 100%; padding: 5px;
  background: linear-gradient(125deg,#626a77,#161b24 20%,#10141c 75%,#727b87);
  border: 1px solid rgba(224,228,235,.45);
  border-radius: 28px;
  box-shadow: 0 24px 45px rgba(0,0,0,.48), inset 0 0 0 1px rgba(255,255,255,.12);
  overflow: hidden;
}
.phone::before {
  content: ""; position: absolute; top: 9px; left: 50%; width: 24%; height: 9px; z-index: 2;
  background: #0b0e15; border-radius: 0 0 10px 10px; transform: translateX(-50%);
}
.phone::after {
  content: ""; position: absolute; inset: 5px; border-radius: 23px; pointer-events: none;
  box-shadow: inset 1px 0 rgba(255,255,255,.09);
}
.phone img { display: block; width: 100%; aspect-ratio: 9 / 18; height: auto; border-radius: 23px; object-fit: cover; object-position: top; }
.float-card {
  border-radius: 14px; overflow: hidden; border: 1px solid rgba(212,175,115,0.25); box-shadow: var(--shadow-lg);
}

/* ── Service cards ── */
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.service-card {
  display: flex; flex-direction: column; gap: 14px; text-decoration: none;
  background: var(--white); border: 1px solid rgba(23,28,43,0.08); border-radius: var(--radius);
  padding: 30px 26px 26px; box-shadow: var(--shadow-sm);
  transition: transform 250ms var(--ease), box-shadow 250ms var(--ease), border-color 250ms ease;
}
.icon-tile {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
  background: rgba(184,146,42,0.10); border: 1px solid rgba(184,146,42,0.22);
  transition: background-color 200ms ease, border-color 200ms ease;
}
.icon-tile svg { width: 24px; height: 24px; color: var(--gold-deep); transition: color 200ms ease; }
.service-card h3 { font-family: var(--font-body); font-size: 19px; font-weight: 700; color: var(--graphite); line-height: 1.3; }
.service-card p { font-size: 15px; color: var(--muted); flex: 1; }
.card-link { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--gold-deep); }
.card-link svg { width: 15px; height: 15px; transition: transform 250ms var(--ease); }
@media (hover: hover) {
  .service-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(23,28,43,0.08); border-color: rgba(184,146,42,0.35); }
  .service-card:hover .icon-tile { background: var(--gold); border-color: var(--gold); }
  .service-card:hover .icon-tile svg { color: var(--white); }
  .service-card:hover .card-link svg { transform: translateX(4px); }
}
.notice-bar {
  margin-top: 28px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 24px;
  padding: 18px 24px; border-radius: var(--radius); background: var(--cream-2); border: 1px dashed rgba(138,106,28,0.35);
}
.notice-bar p { font-size: 15px; color: var(--slate); }
.notice-bar strong { color: var(--graphite); }
.pill { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--gold-deep); background: rgba(184,146,42,0.12); padding: 4px 10px; border-radius: 100px; margin-right: 10px; }
.notice-bar a { font-size: 14px; font-weight: 600; color: var(--gold-deep); text-decoration: none; white-space: nowrap; }
.notice-bar a:hover { text-decoration: underline; }

/* ── Why NUNAKI ── */
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.check-list { list-style: none; display: grid; gap: 18px; margin-top: 32px; }
.check-list li { display: grid; grid-template-columns: 26px 1fr; gap: 14px; align-items: start; }
.check-list .tick { width: 26px; height: 26px; border-radius: 50%; background: var(--gold); display: grid; place-items: center; margin-top: 1px; }
.check-list .tick svg { width: 14px; height: 14px; color: var(--white); }
.check-list strong { display: block; color: var(--graphite); font-size: 16.5px; }
.check-list span { font-size: 15px; color: var(--muted); }

/* ── Featured work showcase ── */
.work-section { position: relative; overflow: hidden; }
.work-section {
  isolation: isolate;
  background:
    radial-gradient(ellipse 50% 60% at 72% 58%, rgba(212,175,115,0.12), transparent 75%),
    linear-gradient(180deg, #171C2B 0%, #1B2030 50%, #171C2B 100%);
}
.work-top { position: relative; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 48px; }
.work-top .section-head { margin-bottom: 0; }
.work-tabs { display: flex; gap: 8px; padding: 6px; border-radius: 100px; background: rgba(247,245,240,0.06); border: 1px solid rgba(247,245,240,0.1); }
.work-tab {
  border: 0; cursor: pointer; padding: 10px 20px; border-radius: 100px; background: transparent;
  font: 600 14px var(--font-body); color: var(--on-dark-muted); transition: background-color 200ms ease, color 200ms ease;
}
.work-tab:hover { color: var(--white); }
.work-tab[aria-selected="true"] { background: var(--champagne); color: var(--graphite); }
.work-slide { position: relative; display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 64px; align-items: center; }
.work-slide[hidden] { display: none; }
.work-slide.is-entering { animation: slideIn 450ms var(--ease); }
@keyframes slideIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.project-label { font-size: 12px; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; color: var(--champagne); }
.project-name { font-family: var(--font-heading); font-size: clamp(48px, 6vw, 72px); font-weight: 600; color: var(--white); line-height: 1; margin-top: 14px; letter-spacing: 0.01em; }
.project-type { font-size: 19px; font-weight: 500; color: var(--champagne); margin-top: 10px; }
.project-desc { margin-top: 18px; color: var(--on-dark-muted); max-width: 460px; }
.feature-list { list-style: none; display: grid; gap: 14px; margin-top: 28px; }
.feature-list li { display: flex; align-items: center; gap: 14px; font-size: 15.5px; color: var(--on-dark); }
.feature-list svg { width: 22px; height: 22px; color: var(--champagne); flex-shrink: 0; }
.stack { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; list-style: none; }
.stack li { font-size: 12.5px; font-weight: 500; color: var(--on-dark-muted); border: 1px solid rgba(247,245,240,0.14); padding: 5px 12px; border-radius: 100px; }
.project-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.devices { position: relative; isolation: isolate; padding: 0 0 12% 0; }
.devices::before {
  content: ""; position: absolute; z-index: -1; inset: -14% -8% -6% -10%; pointer-events: none;
  background: radial-gradient(closest-side, rgba(212,175,115,0.30), rgba(184,146,42,0.09) 55%, transparent 100%);
  filter: blur(12px);
}
.devices::after {
  content: ""; position: absolute; z-index: -1; left: 2%; width: 86%; bottom: 7%; height: 9%; pointer-events: none;
  background: radial-gradient(closest-side, rgba(0,0,0,0.55), transparent);
  filter: blur(6px);
}
.devices .laptop { width: 88%; }
.devices .float-card { position: absolute; right: 0; bottom: 0; width: 52%; }
.devices .phone { position: absolute; right: 0; bottom: 0; width: 22%; }
@media (hover: hover) {
  .devices .laptop, .devices .float-card, .devices .phone { transition: transform 400ms var(--ease); }
  .work-slide:hover .devices .laptop { transform: scale(1.015); }
  .work-slide:hover .devices .float-card, .work-slide:hover .devices .phone { transform: translateY(-8px); }
}

/* ── Cream ombré sections ── */
.section-cream { background: linear-gradient(145deg, #F7F5F0 0%, #FFFFFF 55%, #F0EBE3 100%); }

/* ── Process ── */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; list-style: none; }
.step { position: relative; padding: 28px 24px; border-radius: var(--radius); background: var(--white); border: 1px solid rgba(23,28,43,0.08); }
.step-num { font-family: var(--font-heading); font-size: 44px; font-weight: 500; line-height: 1; color: var(--gold); }
.step h3 { font-size: 18px; font-weight: 700; color: var(--graphite); margin: 14px 0 8px; }
.step p { font-size: 15px; color: var(--muted); }

/* ── Referral ── */
.referral {
  display: grid; grid-template-columns: auto 1fr; gap: 28px; align-items: center;
  padding: 32px 36px; border-radius: 20px; background: var(--white); border: 1px solid rgba(184,146,42,0.25);
}
.referral-amount { font-family: var(--font-heading); font-size: 64px; font-weight: 600; color: var(--gold-deep); line-height: 1; }
.referral h2 { font-family: var(--font-heading); font-size: 30px; font-weight: 500; color: var(--graphite); line-height: 1.15; }
.referral p { font-size: 15px; color: var(--muted); margin-top: 8px; }

/* ── CTA band ── */
.cta-band {
  position: relative; overflow: hidden; border-radius: 28px; padding: clamp(40px, 6vw, 72px);
  background:
    radial-gradient(600px 300px at 90% 0%, rgba(212,175,115,0.22), transparent 70%),
    linear-gradient(135deg, var(--graphite) 0%, #10141F 100%);
  display: grid; grid-template-columns: 1.3fr auto; gap: 32px; align-items: center;
}
.cta-band .lead { margin-top: 16px; }
.cta-band-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ── Footer ── */
.site-footer { background: #10141F; color: var(--on-dark-muted); padding-top: 72px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 48px; padding-bottom: 56px; }
.footer-brand p { font-size: 14.5px; margin-top: 18px; max-width: 300px; }
.footer-col h4 { font-size: 12px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--champagne); margin-bottom: 18px; }
.footer-col ul { list-style: none; display: grid; gap: 11px; }
.footer-col a { font-size: 14.5px; text-decoration: none; color: var(--on-dark-muted); transition: color 180ms ease; }
.footer-col a:hover { color: var(--white); }
.footer-bottom {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px;
  padding-block: 26px; border-top: 1px solid rgba(247,245,240,0.08); font-size: 13px;
}
.footer-bottom nav { display: flex; gap: 22px; }
.footer-bottom a { color: var(--on-dark-muted); text-decoration: none; }
.footer-bottom a:hover { color: var(--white); }
.payments { display: flex; align-items: center; gap: 10px; }
.payments span { font-size: 12px; font-weight: 600; letter-spacing: 0.5px; padding: 5px 10px; border-radius: 6px; border: 1px solid rgba(247,245,240,0.14); color: var(--on-dark); }

/* ── Scroll reveal (content stays visible without JavaScript) ── */
.reveal { opacity: 1; transform: none; }
.js-motion .reveal { opacity: 0; transform: translateY(16px); transition: opacity 550ms ease, transform 550ms var(--ease); }
.js-motion .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js-motion .reveal { opacity: 1; transform: none; transition: none; }
  .work-slide.is-entering, .hero-copy, .hero-visual { animation: none; }
  *, *::before, *::after { transition-duration: 0.01ms !important; }
}

/* ── Responsive ── */
@media (max-width: 1080px) {
  .services-grid, .steps { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .hero-grid, .why-grid, .work-slide { grid-template-columns: 1fr; gap: 48px; }
  .hero-visual { max-width: 640px; }
  .float-chip { left: 0; bottom: -10px; }
  .work-top { align-items: flex-start; }
  .cta-band { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .services-grid, .steps { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .referral { grid-template-columns: 1fr; text-align: left; padding: 28px 24px; }
  .hero-actions .btn, .project-actions .btn, .cta-band-actions .btn { width: 100%; }
  .float-chip { position: relative; left: auto; bottom: auto; margin-top: 28px; max-width: none; }
  .work-tabs { width: 100%; }
  .work-tab { flex: 1; padding: 10px 12px; }
}


/* =========================================
   NUNAKI 2.0 — PREMIUM MOTION SYSTEM
   Later rules here refine the earlier hover and reveal styles.
   ========================================= */

/* Hero: cinematic entrance, played once on load */
.hero-copy { animation: nunakiHeroText 850ms var(--ease) both; }
.hero-visual { animation: nunakiHeroDevice 1100ms var(--ease) 160ms both; }
@keyframes nunakiHeroText {
  from { opacity: 0; transform: translate3d(0, 30px, 0); filter: blur(5px); }
  to { opacity: 1; transform: none; filter: blur(0); }
}
@keyframes nunakiHeroDevice {
  from { opacity: 0; transform: translate3d(35px, 24px, 0) scale(0.94); filter: blur(7px); }
  to { opacity: 1; transform: none; filter: blur(0); }
}

/* Hero: stronger atmospheric gold light behind the laptop */
.hero-visual::before {
  background: radial-gradient(ellipse at center, rgba(212,175,115,0.34) 0%, rgba(184,146,42,0.13) 40%, transparent 75%);
  filter: blur(22px);
}

/* Scroll: smooth, staggered reveals */
.nunaki-motion .reveal {
  opacity: 0; transform: translate3d(0, 30px, 0);
  transition: opacity 750ms var(--ease), transform 750ms var(--ease);
}
.nunaki-motion .reveal.is-visible { opacity: 1; transform: none; }
.nunaki-motion .motion-stagger { transition-delay: var(--motion-delay, 0ms); }

/* Service cards: luminous hover with a light that follows the pointer */
.service-card {
  position: relative; isolation: isolate; overflow: hidden;
  transition: transform 420ms var(--ease), box-shadow 420ms var(--ease), border-color 420ms ease;
}
.service-card::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(circle 200px at var(--mx, 50%) var(--my, 0%), rgba(212,175,115,0.24), transparent 80%);
  opacity: 0; transition: opacity 400ms ease;
}
@media (hover: hover) and (pointer: fine) {
  .service-card:hover {
    transform: translateY(-8px);
    border-color: rgba(184,146,42,0.55);
    box-shadow: 0 24px 55px rgba(23,28,43,0.13), 0 0 0 1px rgba(212,175,115,0.12);
  }
  .service-card:hover::before { opacity: 1; }
}

/* Featured work: cinematic project lighting */
.devices::before {
  background: radial-gradient(ellipse at 55% 48%, rgba(212,175,115,0.38), rgba(184,146,42,0.13) 45%, transparent 75%);
  filter: blur(25px);
}
.devices .laptop, .devices .float-card, .devices .phone {
  transition: transform 650ms var(--ease), filter 650ms ease;
}
@media (hover: hover) and (pointer: fine) {
  .work-slide:hover .devices .laptop,
  .work-slide:hover .devices .float-card,
  .work-slide:hover .devices .phone { transform: none; }
  .devices .laptop:hover { transform: translate3d(0, -10px, 0) scale(1.025) !important; filter: brightness(1.10); }
  .devices .float-card:hover, .devices .phone:hover { transform: translate3d(0, -12px, 0) scale(1.035) !important; filter: brightness(1.08); z-index: 4; }
}

/* Featured work: project tab transition */
.work-slide.is-entering { animation: nunakiProjectEnter 650ms var(--ease) both; }
@keyframes nunakiProjectEnter {
  from { opacity: 0; transform: translate3d(0, 22px, 0); filter: blur(4px); }
  to { opacity: 1; transform: none; filter: blur(0); }
}

/* Accessibility: no decorative motion when the visitor has turned animations off */
@media (prefers-reduced-motion: reduce) {
  .hero-copy, .hero-visual, .work-slide.is-entering { animation: none !important; }
  .nunaki-motion .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  .service-card, .devices .laptop, .devices .float-card, .devices .phone { transition: none !important; }
  .service-card:hover, .devices .laptop:hover, .devices .float-card:hover, .devices .phone:hover { transform: none !important; }
}


/* =========================================
   NUNAKI 2.0 — REFINEMENT PASS
   Fewer containers, sharper corners, architectural diagram, browser mockup.
   ========================================= */

/* Sharper, less "template" shapes */
.icon-tile { border-radius: var(--radius-sm); }
.float-chip { border-radius: var(--radius); }
.float-card { border-radius: var(--radius); }
.cta-band { border-radius: 12px; }
.laptop-screen { border-radius: 12px 12px 3px 3px; }
.payments span { border-radius: 3px; }

.pill {
  display: inline;
  padding: 0;
  margin-right: 10px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--gold-deep);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

/* DataPrepper notice: a quiet divider line instead of a dashed box */
.notice-bar { background: none; border: 0; border-top: 1px solid var(--line); border-radius: 0; padding: 22px 0 0; margin-top: 36px; }

/* Process steps: open columns separated by a gold rule, no boxes */
.step { background: none; border: 0; border-top: 1px solid var(--line); border-radius: 0; padding: 26px 0 0; }
.step::before { content: ""; position: absolute; top: -1px; left: 0; width: 48px; height: 2px; background: var(--gold); }
.steps { gap: 36px; }

/* Referral: hairlines above and below instead of a bordered card */
.referral { background: none; border: 0; border-radius: 0; border-block: 1px solid var(--line); padding: 32px 0; }

/* Technology tags as clean inline text */
.stack { gap: 0; margin-top: 24px; }
.stack li { border: 0; padding: 0; border-radius: 0; font-size: 13px; letter-spacing: 0.4px; color: var(--on-dark-muted); }
.stack li + li::before { content: "·"; margin: 0 10px; color: var(--champagne); }

/* Project tabs: understated underline tabs */
.work-tabs { gap: 28px; padding: 0; background: none; border: 0; border-radius: 0; border-bottom: 1px solid rgba(247,245,240,0.12); }
.work-tab { border-radius: 0; padding: 12px 0; background: none; position: relative; color: var(--on-dark-muted); }
.work-tab::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--champagne); transform: scaleX(0); transition: transform 250ms var(--ease); }
.work-tab[aria-selected="true"] { background: none; color: var(--white); }
.work-tab[aria-selected="true"]::after { transform: scaleX(1); }

/* Project tab switch: brief crossfade with a slight rise */
.work-slide.is-entering { animation: nunakiProjectEnter 450ms var(--ease) both; }

/* Architecture diagram: compass at the centre, four services linked by fine champagne lines */
.arch { position: relative; aspect-ratio: 600 / 520; }
.arch-lines { position: absolute; inset: 0; width: 100%; height: 100%; }
.arch-core {
  position: absolute; left: 50%; top: 50%; width: 30%; aspect-ratio: 1; transform: translate(-50%, -50%);
  display: grid; place-items: center;
}
.arch-core::before {
  content: ""; position: absolute; inset: -55%; z-index: -1; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(212,175,115,0.30), rgba(212,175,115,0.08) 55%, transparent);
}
.arch-core svg { width: 100%; height: 100%; }
.arch-node { position: absolute; width: 34%; display: grid; gap: 4px; }
.arch-node svg { width: 22px; height: 22px; color: var(--gold-deep); margin-bottom: 8px; }
.arch-node strong { font-family: var(--font-heading); font-size: 24px; font-weight: 600; color: var(--graphite); line-height: 1.1; }
.arch-node span { font-size: 14px; color: var(--muted); line-height: 1.45; }
.arch-node.n1 { left: 0; top: 0; }
.arch-node.n2 { right: 0; top: 0; text-align: right; justify-items: end; }
.arch-node.n3 { left: 0; bottom: 0; }
.arch-node.n4 { right: 0; bottom: 0; text-align: right; justify-items: end; }

/* Browser mockup used for web software previews */
.browser {
  position: relative; overflow: hidden; border-radius: var(--radius);
  background: #0E1119; border: 1px solid rgba(255,255,255,0.09); box-shadow: var(--shadow-lg);
}
.browser-bar { display: flex; align-items: center; gap: 7px; padding: 11px 14px; background: #161A26; border-bottom: 1px solid rgba(255,255,255,0.06); }
.browser-bar span { width: 9px; height: 9px; border-radius: 50%; background: rgba(247,245,240,0.18); }
.browser-bar em { margin-left: 14px; font-style: normal; font-size: 11.5px; color: var(--on-dark-muted); background: rgba(255,255,255,0.05); padding: 4px 12px; border-radius: 4px; }
.devices-browser { padding-bottom: 6%; }
@media (hover: hover) and (pointer: fine) {
  .devices .browser { transition: transform 650ms var(--ease), filter 650ms ease; }
  .devices .browser:hover { transform: translate3d(0, -10px, 0) scale(1.02); filter: brightness(1.08); }
}

/* Responsive refinements */
@media (max-width: 900px) {
  .arch { max-width: 560px; }
}
@media (max-width: 600px) {
  .arch { aspect-ratio: auto; display: grid; grid-template-columns: 1fr 1fr; gap: 28px 20px; }
  .arch-lines { display: none; }
  .arch-core { position: relative; left: auto; top: auto; transform: none; grid-column: 1 / -1; width: 110px; margin: 0 auto 8px; }
  .arch-node { position: static; width: auto; text-align: left !important; justify-items: start !important; }
  .work-tabs { gap: 18px; overflow-x: auto; }
  .work-tab { flex: 0 0 auto; padding: 12px 0; white-space: nowrap; }
  .steps { gap: 28px; }
}
@media (prefers-reduced-motion: reduce) {
  .devices .browser { transition: none !important; }
  .devices .browser:hover { transform: none !important; }
}
.browser img { width: 100%; }
.work-slide > *, .hero-grid > *, .why-grid > * { min-width: 0; }

/* Why NUNAKI on graphite: the architecture diagram glows against a dark, atmospheric backdrop */
.why-section {
  position: relative; overflow: hidden; isolation: isolate;
  background:
    radial-gradient(ellipse 45% 70% at 26% 50%, rgba(212,175,115,0.16), transparent 75%),
    linear-gradient(135deg, #171C2B 0%, #1E2231 55%, #171C2B 100%);
}
.why-section .arch-lines path { stroke: #D4AF73; stroke-opacity: 0.55; }
.why-section .arch-lines circle[r="118"] { stroke: #D4AF73; stroke-opacity: 0.3; }
.why-section .arch-lines circle[r="3"] { fill: #D4AF73; }
.why-section .arch-core::before { background: radial-gradient(closest-side, rgba(212,175,115,0.38), rgba(212,175,115,0.10) 55%, transparent); }
.why-section .arch-core svg { filter: drop-shadow(0 0 18px rgba(212,175,115,0.45)); }
.why-section .arch-node svg { color: var(--champagne); }
.why-section .arch-node strong { color: var(--white); }
.why-section .arch-node span { color: var(--on-dark-muted); }
.why-section .check-list strong { color: var(--white); }
.why-section .check-list span { color: var(--on-dark-muted); }
.why-section .check-list .tick { background: var(--champagne); }
.why-section .check-list .tick svg { color: var(--graphite); }

/* NUNAKI v5: restrained enterprise refinements, scoped to existing components. */
.site-header .nav-actions .btn-outline-light { background: transparent; border: 0; border-radius: 0; padding-inline: 12px; box-shadow: none; }
.site-header .nav-actions .btn-outline-light:hover { background: transparent; color: var(--champagne); }
.site-header .nav-actions .btn-gold { border-radius: 3px; }
.why-section .check-list .tick { background: transparent; border: 0; border-radius: 0; width: 25px; height: 25px; display: flex; align-items: flex-start; justify-content: flex-start; margin-top: 2px; }
.why-section .check-list .tick svg { width: 23px; height: 23px; color: var(--champagne); stroke-width: 2.2; }
.work-tabs { border-radius: 0; }
.work-tab { border-radius: 0; }
.browser { position: relative; border-radius: 7px; overflow: hidden; box-shadow: 0 24px 70px rgba(0,0,0,.34), 0 0 42px rgba(212,175,115,.10); }
.devices-browser::before { content: ''; position: absolute; inset: 10% -8%; background: radial-gradient(ellipse,rgba(212,175,115,.19),transparent 67%); filter: blur(30px); pointer-events:none; }
.devices-browser { position: relative; }
.demo-disclosure { position:absolute; right:10px; bottom:10px; font: 500 10px/1.3 var(--font-body); color:#E6D3AD; background:rgba(15,18,27,.87); border:1px solid rgba(212,175,115,.28); padding:6px 9px; letter-spacing:.02em; }
@media (max-width: 640px) { .demo-disclosure { font-size:9px; padding:4px 6px; } }

/* NUNAKI v6 — approved architecture illustration + atmospheric lighting.
   Scoped styling only: no changes to forms, routing, tabs, auth, or dashboard logic. */
.why-section {
  background:
    radial-gradient(ellipse 58% 78% at 23% 52%, rgba(222,164,74,.23) 0%, rgba(212,175,115,.095) 40%, transparent 78%),
    radial-gradient(ellipse 52% 65% at 88% 18%, rgba(186,144,79,.095), transparent 78%),
    linear-gradient(115deg,#121724 0%,#202433 48%,#171c2b 100%);
}
.architecture-art {
  position: relative; width: 100%; isolation: isolate;
  filter: drop-shadow(0 12px 32px rgba(9,10,16,.25));
}
.architecture-art::before {
  content:""; position:absolute; z-index:-1; inset:-14% -10%; pointer-events:none;
  background:radial-gradient(ellipse at center,rgba(221,166,80,.21),rgba(195,133,54,.06) 44%,transparent 72%);
  filter:blur(23px);
}
.architecture-art img { width:100%; height:auto; display:block; border:0; border-radius:0; mix-blend-mode:screen; }
/* More visible, still restrained champagne illumination on the dark homepage sections. */

.hero {
  background:
    radial-gradient(
      ellipse 60% 75% at 78% 42%,
      rgba(212,175,115,.30) 0%,
      rgba(184,146,42,.12) 45%,
      transparent 78%
    ),
    radial-gradient(
      ellipse 50% 60% at 8% 92%,
      rgba(212,175,115,.13),
      transparent 70%
    ),
    linear-gradient(
      135deg,
      #141824 0%,
      #1D2231 55%,
      #141824 100%
    );
}

.work-section {
  background:
    radial-gradient(
      ellipse 55% 65% at 75% 55%,
      rgba(212,175,115,.24),
      transparent 75%
    ),
    linear-gradient(
      180deg,
      #141824 0%,
      #1A1F2D 50%,
      #141824 100%
    );
}

@media (max-width: 900px) {
  .architecture-art { max-width:680px; margin-inline:auto; }
  .architecture-art img { mix-blend-mode:normal; }
}
@media (prefers-reduced-motion: reduce) { .architecture-art { animation:none !important; } }

/* NUNAKI architecture — actual responsive HTML + SVG, not a background image. */
.architecture-live { position:relative; width:100%; aspect-ratio:600/580; min-height:0; isolation:isolate; }
.architecture-light { position:absolute; inset:12% 5%; z-index:-1; pointer-events:none; background:radial-gradient(ellipse at 50% 51%,rgba(243,188,98,.29) 0%,rgba(205,145,62,.15) 21%,rgba(189,133,61,.06) 46%,transparent 72%); filter:blur(16px); }
.architecture-wires { position:absolute; inset:0; width:100%; height:100%; overflow:visible; }
.architecture-compass { position:absolute; left:50%; top:50%; width:35%; max-width:230px; transform:translate(-50%,-50%); filter:drop-shadow(0 0 16px rgba(236,170,67,.5)); }
.architecture-compass svg { width:100%; height:auto; display:block; }
.architecture-node { position:absolute; width:38%; display:flex; flex-direction:column; gap:5px; color:#F7F5F0; }
.architecture-node svg { width:27px; height:27px; color:#E0AE61; margin-bottom:7px; }
.architecture-node strong { font:600 clamp(21px,2vw,30px)/1.05 var(--font-heading); color:#FFF9EF; }
.architecture-node span { font:400 clamp(12px,1vw,15px)/1.4 var(--font-body); color:#C8C8D0; }
.architecture-nw { left:0; top:0; align-items:flex-start; }
.architecture-ne { right:0; top:0; align-items:flex-end; text-align:right; }
.architecture-sw { left:0; bottom:0; align-items:flex-start; }
.architecture-se { right:0; bottom:0; align-items:flex-end; text-align:right; }
@media(max-width:600px) {
 .architecture-live { aspect-ratio:600/580; width:100%; max-width:500px; margin-inline:auto; }
 .architecture-node { width:41%; gap:3px; }
 .architecture-node svg { width:21px; height:21px; margin-bottom:2px; }
 .architecture-node strong { font-size:clamp(17px,4vw,23px); }
 .architecture-node span { font-size:clamp(10px,2.5vw,13px); }
 .architecture-compass { width:34%; }
}


/* NUNAKI finishing pass: layered champagne atmosphere (CSS, no assets or libraries). */
.hero, .why-section, .work-section { isolation:isolate; position:relative; }
/* Glow layers extend broadly across the background, without rectangular edges. */
.hero::after, .why-section::after, .work-section::after {
  content:""; position:absolute; inset:0; pointer-events:none; z-index:0;
  background:
    radial-gradient(ellipse 37% 50% at 70% 44%, rgba(240,180,90,.20) 0%, rgba(220,158,73,.075) 48%, transparent 83%),
    radial-gradient(ellipse 32% 44% at 17% 78%, rgba(205,148,77,.12) 0%, transparent 83%);
  mix-blend-mode:screen;
}
.hero > *, .why-section > *, .work-section > * { position:relative; z-index:1; }
/* Dedicated illumination behind the real coded compass, not a pasted illustration. */
.why-section .architecture-live::before {
  content:""; position:absolute; inset:7% 8%; pointer-events:none; z-index:-1;
  background:radial-gradient(ellipse at 50% 52%,rgba(245,184,89,.30) 0%,rgba(219,154,72,.13) 28%,rgba(196,140,75,.055) 52%,transparent 75%);
  filter:blur(25px);
}
.why-section .architecture-compass { filter:drop-shadow(0 0 15px rgba(245,188,90,.62)) drop-shadow(0 0 38px rgba(203,143,61,.24)); }
/* Calm editorial footer payment line: no individual outlined boxes. */
.site-footer .payments-refined { display:flex; flex-direction:column; align-items:center; justify-content:center; gap:7px; text-align:center; }
.site-footer .payments-refined .payments-label { display:block; padding:0; border:0; border-radius:0; background:none; color:#D4AF73; font-size:10px; font-weight:700; letter-spacing:.16em; }
.site-footer .payments-refined .payments-methods { display:block; padding:0; border:0; border-radius:0; background:none; color:#D6D6DA; font-size:13px; font-weight:500; letter-spacing:.01em; white-space:nowrap; }
.site-footer .payments-refined .payments-methods span { display:inline; padding:0 5px; border:0; border-radius:0; color:#B79A69; font-weight:400; }
@media (max-width:700px) {
  .site-footer .payments-refined { align-items:flex-start; text-align:left; }
  .site-footer .payments-refined .payments-methods { white-space:normal; line-height:1.7; }
}

/* NUNAKI footer: accepted cards vs. payment processor */
.payments.payments-refined {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  text-align: center;
  border: 0;
  background: none;
  box-shadow: none;
}
.payments-refined .payments-methods {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.025em;
  color: #f2eee7;
  white-space: normal;
}
.payments-refined .payment-separator {
  color: #d4af73;
  margin-inline: 0.45rem;
  font-weight: 400;
}
.payments-refined .payments-processor {
  display: block;
  font-size: 0.69rem;
  font-weight: 400;
  letter-spacing: 0.01em;
  line-height: 1.4;
  color: #a8aab3;
}

/* NUNAKI v5: tighten the opening hero and align both columns higher. */
@media (min-width: 901px) {
  .hero { padding-top: 42px; }
  .hero-grid { align-items: start; }
  .hero-copy { align-self: start; }
  .hero-visual { align-self: start; margin-top: 28px; }
}
/* Remove inherited payment-badge styling from the processor description. */
.site-footer .payments.payments-refined .payments-processor {
  display: block;
  padding: 0;
  margin: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  font-size: 0.69rem;
  font-weight: 400;
  letter-spacing: 0.01em;
  color: #a8aab3;
}


/* NUNAKI hero refinement — first-screen composition */
@media (min-width: 901px) {
  .hero {
    padding-block: 24px 52px;
  }

  .hero .container {
    width: min(100% - 72px, 1360px);
  }

  .hero-grid {
    grid-template-columns:
      minmax(0, 1fr)
      minmax(0, 1.08fr);
    gap: clamp(26px, 3vw, 48px);
    align-items: center;
  }

  .hero-copy,
  .hero-visual {
    align-self: center;
  }

  .hero-visual {
    margin-top: 0;
  }

  .hero .h1 {
    font-size: clamp(45px, 4.35vw, 66px);
    line-height: 1.02;
  }

  .hero .eyebrow {
    margin-bottom: 12px;
  }

  .hero .lead {
    margin-top: 15px;
    font-size: 16px;
    line-height: 1.52;
  }

  .hero-actions {
    margin-top: 22px;
    gap: 12px;
  }

  .hero-actions .btn {
    padding: 12px 20px;
  }

  .hero-meta {
    margin-top: 18px;
    gap: 7px 17px;
    font-size: 12px;
  }

  .hero-wave {
    height: 110px;
    opacity: .35;
  }
}

/* AI Briefing: elegant boxed label below the laptop, never over the screen. */
.hero .hero-visual { padding-bottom: 74px; }

.hero .float-chip {
  position: absolute;
  top: auto;
  bottom: 0;
  right: 0;
  left: auto;
  width: max-content;
  max-width: min(310px, 100%);
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0 10px 14px;
  border: 0;
  border-left: 2px solid var(--champagne);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  text-shadow: 0 2px 8px rgba(0,0,0,.7);
}

.hero .float-chip-icon {
  width: 34px; height: 34px; border-radius: 6px;
  background: rgba(212,175,115,.13);
}
.hero .float-chip-icon svg { width: 19px; height: 19px; }
.hero .float-chip strong { font-size: 13px; font-weight: 700; color: #fff; }
.hero .float-chip span { font-size: 11.5px; line-height: 1.45; color: rgba(247,245,240,.83); }
@media (max-width: 900px) {
  .hero { padding-block: 36px 64px; }
  .hero .hero-visual { padding-bottom: 0; }
  .hero .float-chip {
    position: relative; right: auto; left: auto; bottom: auto;
    margin: 20px 0 0 auto;
  }
}
@media (max-width: 600px) {
  .hero .float-chip { max-width: 100%; }
  .devices .phone { width: 26%; }
}

/* Shorter laptop screens */
@media (min-width: 901px) and (max-height: 760px) {
  .hero {
    padding-top: 14px;
    padding-bottom: 28px;
  }

  .hero .h1 {
    font-size: clamp(42px, 4vw, 58px);
  }

  .hero .lead {
    font-size: 15px;
    margin-top: 12px;
  }

  .hero-actions {
    margin-top: 15px;
  }

  .hero-meta {
    margin-top: 12px;
  }
}


/* =========================================
   NUNAKI 2.0 — INNER PAGES
   Services, About, FAQ, Contact, Thank You, Privacy and Terms share these patterns.
   ========================================= */

/* Plain service icons everywhere: no boxed tiles */
.icon-tile { width: auto; height: auto; background: none; border: 0; border-radius: 0; display: block; }
.icon-tile svg { width: 28px; height: 28px; }
@media (hover: hover) and (pointer: fine) {
  .service-card:hover .icon-tile { background: none; }
  .service-card:hover .icon-tile svg { color: var(--gold); }
}

/* Page hero: a shorter version of the homepage hero */
.page-hero {
  position: relative; overflow: hidden; isolation: isolate;
  padding-block: clamp(72px, 9vw, 120px) clamp(64px, 8vw, 104px);
  background:
    radial-gradient(ellipse 55% 80% at 82% 30%, rgba(212,175,115,0.24) 0%, rgba(184,146,42,0.08) 45%, transparent 78%),
    radial-gradient(ellipse 45% 60% at 5% 100%, rgba(212,175,115,0.10), transparent 70%),
    linear-gradient(135deg, #141824 0%, #1D2231 55%, #141824 100%);
}
.page-hero .hero-wave { opacity: 0.45; }
.page-hero-inner { position: relative; max-width: 780px; animation: nunakiHeroText 850ms var(--ease) both; }
.page-hero .lead { margin-top: 22px; font-size: 18px; max-width: 620px; }
.page-hero .lead a { color: var(--champagne); }

/* Two-column service sections */
.svc { scroll-margin-top: calc(-1 * clamp(32px, 5vw, 64px)); overflow-x: clip; }
.svc-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 80px; align-items: center; }
.svc-grid.flip > :first-child { order: 2; }
.svc-grid > * { min-width: 0; }
.svc-icon { display: block; width: 30px; height: 30px; color: var(--gold-deep); margin-bottom: 18px; }
.section-dark .svc-icon { color: var(--champagne); }
.svc .lead { margin-top: 20px; max-width: 560px; }
.tick-list { list-style: none; display: grid; gap: 12px; margin-top: 28px; }
.tick-list li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; font-size: 15.5px; color: var(--slate); }
.tick-list svg { width: 20px; height: 20px; color: var(--gold); margin-top: 2px; }
.section-dark .tick-list li { color: var(--on-dark); }
.section-dark .tick-list svg { color: var(--champagne); }
.price-line { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 12px; margin-top: 32px; }
.price-line small { font-size: 12px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--muted); }
.price-line strong { font-family: var(--font-heading); font-size: 44px; font-weight: 600; line-height: 1; color: var(--graphite); }
.price-line span { font-size: 14.5px; color: var(--muted); }
.section-dark .price-line small, .section-dark .price-line span { color: var(--on-dark-muted); }
.section-dark .price-line strong { color: var(--white); }
.svc-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

/* Specification list: label and value on hairlines, no box */
.spec { border-top: 1px solid var(--line); }
.spec-title { font-size: 12px; font-weight: 700; letter-spacing: 2.5px; text-transform: uppercase; color: var(--gold-deep); margin-bottom: 6px; padding-top: 22px; }
.spec dl { display: grid; }
.spec dl div { display: flex; justify-content: space-between; gap: 20px; padding: 15px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.spec dt { color: var(--muted); }
.spec dd { color: var(--graphite); font-weight: 600; text-align: right; }
.spec-note { margin-top: 18px; font-size: 14px; color: var(--muted); }
.section-dark .spec { border-color: rgba(247,245,240,0.12); }
.section-dark .spec-title { color: var(--champagne); }
.section-dark .spec dl div { border-color: rgba(247,245,240,0.12); }
.section-dark .spec dt, .section-dark .spec-note { color: var(--on-dark-muted); }
.section-dark .spec dd { color: var(--white); }

/* Subscription plans for the dashboard */
.plans { border-top: 1px solid rgba(247,245,240,0.14); }
.plan { display: grid; grid-template-columns: 1fr auto; gap: 6px 24px; align-items: center; padding: 26px 0; border-bottom: 1px solid rgba(247,245,240,0.14); }
.plan-name { font-family: var(--font-heading); font-size: 28px; font-weight: 600; color: var(--white); line-height: 1.1; }
.plan-name em { font-family: var(--font-body); font-style: normal; font-size: 11px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--champagne); margin-left: 12px; vertical-align: middle; }
.plan-price { font-family: var(--font-heading); font-size: 34px; font-weight: 600; color: var(--champagne); text-align: right; line-height: 1; }
.plan-price span { font-family: var(--font-body); font-size: 14px; color: var(--on-dark-muted); font-weight: 500; }
.plan-meta { font-size: 14px; color: var(--on-dark-muted); }
.plan .btn { justify-self: end; padding: 11px 18px; font-size: 14px; }
.plan-foot { margin-top: 18px; font-size: 14px; color: var(--on-dark-muted); }

/* Example caption under a project preview */
.example-cap { margin-top: 18px; font-size: 14px; color: var(--muted); }
.example-cap strong { color: var(--graphite); }
.section-dark .example-cap { color: var(--on-dark-muted); }
.section-dark .example-cap strong { color: var(--white); }

/* DataPrepper slideshow dialog */
.dp-dialog { width: min(760px, calc(100% - 32px)); max-height: 92vh; padding: 0; border: 1px solid rgba(212,175,115,0.25); border-radius: var(--radius); background: var(--graphite); color: var(--on-dark); box-shadow: var(--shadow-lg); }
.dp-dialog::backdrop { background: rgba(10,12,18,0.72); backdrop-filter: blur(4px); }
.dp-head { display: flex; justify-content: space-between; gap: 16px; padding: 28px 30px 0; }
.dp-head .h3 { color: var(--white); }
.dp-head p { font-size: 14.5px; color: var(--on-dark-muted); margin-top: 6px; }
.dp-close { flex-shrink: 0; width: 40px; height: 40px; border: 1px solid rgba(247,245,240,0.18); border-radius: var(--radius-sm); background: none; color: var(--white); font-size: 18px; cursor: pointer; }
.dp-close:hover { border-color: var(--champagne); color: var(--champagne); }
.dp-body { padding: 22px 30px 0; }
.dp-step { display: none; }
.dp-step.active { display: block; }
.dp-step span { font-size: 12px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--champagne); }
.dp-step p { font-size: 14.5px; color: var(--on-dark-muted); margin: 8px 0 14px; }
.dp-step img { width: 100%; border-radius: var(--radius-sm); border: 1px solid rgba(212,175,115,0.2); max-height: 52vh; object-fit: contain; background: #0E1119; }
.dp-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 30px 28px; }
.dp-dots { display: flex; gap: 8px; }
.dp-dots button { width: 26px; height: 3px; padding: 0; border: 0; background: rgba(247,245,240,0.2); cursor: pointer; }
.dp-dots button[aria-current="true"] { background: var(--champagne); }

/* About page */
.mission { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 80px; align-items: start; }
.pull { font-family: var(--font-heading); font-style: italic; font-size: clamp(30px, 3.4vw, 42px); line-height: 1.2; color: var(--gold-deep); }
.prose p { font-size: 17px; color: var(--slate); line-height: 1.75; }
.prose p + p { margin-top: 18px; }
.prose .emph { font-family: var(--font-heading); font-size: 26px; color: var(--graphite); line-height: 1.3; }
.section-dark .prose p { color: var(--on-dark-muted); }
.section-dark .prose .emph { color: var(--champagne); }
.principles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px 40px; list-style: none; }
.principle { position: relative; padding-top: 24px; border-top: 1px solid rgba(247,245,240,0.14); }
.principle::before { content: ""; position: absolute; top: -1px; left: 0; width: 48px; height: 2px; background: var(--champagne); }
.principle .step-num { color: var(--champagne); font-size: 40px; }
.principle h3 { font-size: 19px; font-weight: 700; color: var(--white); margin: 12px 0 8px; }
.principle p { font-size: 15px; color: var(--on-dark-muted); }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border-block: 1px solid var(--line); }
.stat { padding: 34px 24px; text-align: center; }
.stat + .stat { border-left: 1px solid var(--line); }
.stat strong { display: block; font-family: var(--font-heading); font-size: 52px; font-weight: 600; line-height: 1; color: var(--gold-deep); }
.stat span { display: block; margin-top: 10px; font-size: 13px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; color: var(--muted); }
.founder { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 80px; align-items: start; }
.founder-name { font-family: var(--font-heading); font-size: clamp(44px, 5vw, 60px); font-weight: 600; color: var(--white); line-height: 1; }
.founder-role { margin-top: 10px; font-size: 15px; color: var(--champagne); }
.founder-quote { margin-top: 32px; padding-left: 22px; border-left: 2px solid var(--champagne); font-family: var(--font-heading); font-style: italic; font-size: 24px; line-height: 1.45; color: var(--on-dark); }

/* FAQ page */
.faq-group { display: grid; grid-template-columns: 0.75fr 1.25fr; gap: 64px; padding-block: 56px; border-top: 1px solid var(--line); }
.faq-group:first-child { border-top: 0; padding-top: 0; }
.faq-group-head { position: sticky; top: 104px; align-self: start; }
.faq-group-head .h3 { margin-top: 4px; }
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 22px 0; font-size: 17.5px; font-weight: 600; color: var(--graphite); transition: color 180ms ease;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--gold-deep); }
.faq-item summary::after {
  content: ""; flex-shrink: 0; width: 12px; height: 12px; margin-right: 4px;
  border-right: 1.6px solid var(--gold-deep); border-bottom: 1.6px solid var(--gold-deep);
  transform: rotate(45deg) translateY(-3px); transition: transform 250ms var(--ease);
}
.faq-item[open] summary::after { transform: rotate(-135deg) translateY(-3px); }
.faq-item .faq-a { padding: 0 40px 24px 0; font-size: 16px; color: var(--muted); line-height: 1.75; }
.faq-item .faq-a a { color: var(--gold-deep); font-weight: 600; }

/* Contact page */
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 72px; align-items: start; }
.contact-info .spec { margin-top: 32px; }
.contact-info .spec dd a { color: var(--graphite); text-decoration: none; }
.contact-info .spec dd a:hover { color: var(--gold-deep); }
.contact-steps { list-style: none; display: grid; gap: 22px; margin-top: 36px; counter-reset: c; }
.contact-steps li { display: grid; grid-template-columns: 40px 1fr; gap: 14px; }
.contact-steps b { font-family: var(--font-heading); font-size: 28px; font-weight: 600; color: var(--gold); line-height: 1; }
.contact-steps strong { display: block; color: var(--graphite); font-size: 16px; }
.contact-steps span { font-size: 15px; color: var(--muted); }
.form-panel {
  position: relative; overflow: hidden; padding: clamp(28px, 4vw, 44px); border-radius: var(--radius);
  background:
    radial-gradient(ellipse 70% 50% at 90% 0%, rgba(212,175,115,0.16), transparent 70%),
    var(--graphite);
  color: var(--on-dark); box-shadow: var(--shadow-md);
}
.form-panel fieldset { border: 0; padding: 0; margin: 0 0 28px; }
.form-panel legend { font-size: 12px; font-weight: 700; letter-spacing: 2.5px; text-transform: uppercase; color: var(--champagne); margin-bottom: 16px; }
.check-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 20px; }
.check { display: flex; align-items: center; gap: 12px; font-size: 15px; color: var(--on-dark); cursor: pointer; }
.check input { appearance: none; -webkit-appearance: none; flex-shrink: 0; width: 18px; height: 18px; margin: 0; border: 1.5px solid rgba(212,175,115,0.55); border-radius: 3px; background: transparent; cursor: pointer; display: grid; place-items: center; transition: background-color 150ms ease, border-color 150ms ease; }
.check input:checked { background: var(--champagne); border-color: var(--champagne); }
.check input:checked::after { content: ""; width: 5px; height: 9px; border: solid var(--graphite); border-width: 0 2px 2px 0; transform: rotate(45deg) translate(-1px, -1px); }
.check input:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.field { display: grid; gap: 8px; }
.field label { font-size: 13px; font-weight: 600; color: var(--on-dark-muted); }
.field label b { color: var(--champagne); font-weight: 600; }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 14px; border-radius: var(--radius-sm);
  border: 1px solid rgba(247,245,240,0.16); background: rgba(255,255,255,0.04);
  color: var(--white); font: 400 15px var(--font-body); outline: none;
  transition: border-color 180ms ease, background-color 180ms ease;
}
.field textarea { min-height: 130px; resize: vertical; line-height: 1.6; }
.field select { appearance: none; -webkit-appearance: none; 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='%23D4AF73' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 38px; cursor: pointer; }
.field select option { background: var(--graphite); color: var(--white); }
.field input::placeholder, .field textarea::placeholder { color: rgba(247,245,240,0.32); }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--champagne); background: rgba(255,255,255,0.07); }
.form-error { display: none; margin-top: 14px; font-size: 14px; color: #F2B8A0; }
.form-error.show { display: block; }
.form-panel .btn { width: 100%; margin-top: 8px; padding: 16px; font-size: 16px; }
.form-panel .btn[disabled] { opacity: 0.6; cursor: wait; transform: none; }
.form-note { margin-top: 14px; text-align: center; font-size: 13px; color: var(--on-dark-muted); }

/* Thank you page */
.thanks { min-height: 72vh; display: grid; place-items: center; text-align: center; }
.thanks-inner { max-width: 620px; animation: nunakiHeroText 850ms var(--ease) both; }
.thanks svg.thanks-sigil { width: 96px; height: 96px; margin: 0 auto 28px; filter: drop-shadow(0 0 26px rgba(212,175,115,0.45)); }
.thanks .lead { margin: 20px auto 0; }
.thanks .svc-actions { justify-content: center; }

/* Legal pages */
.legal { max-width: 780px; }
.legal .updated { font-size: 14px; color: var(--muted); margin-bottom: 28px; }
.legal h2 { font-family: var(--font-heading); font-size: 30px; font-weight: 600; color: var(--graphite); margin: 44px 0 12px; line-height: 1.15; }
.legal p, .legal li { font-size: 16px; color: var(--slate); line-height: 1.75; }
.legal p + p { margin-top: 14px; }
.legal ul { margin: 12px 0 0 20px; display: grid; gap: 8px; }
.legal a { color: var(--gold-deep); font-weight: 600; }
.legal .scope { padding: 20px 0; border-block: 1px solid var(--line); margin-top: 20px; }

/* Inner page responsive */
@media (max-width: 900px) {
  .svc-grid, .mission, .founder, .contact-grid, .faq-group { grid-template-columns: 1fr; gap: 44px; }
  .svc-grid.flip > :first-child { order: 0; }
  .principles { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
  .faq-group { gap: 24px; }
  .faq-group-head { position: static; }
}
@media (max-width: 600px) {
  .principles, .check-grid, .field-row { grid-template-columns: 1fr; }
  .plan { grid-template-columns: 1fr; }
  .plan-price { text-align: left; }
  .plan .btn { justify-self: stretch; }
  .svc-actions .btn { width: 100%; }
  .faq-item .faq-a { padding-right: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .page-hero-inner, .thanks-inner { animation: none !important; }
}


/* Page hero with a right-hand panel (service index, topics, key facts or stats) */
.page-hero-grid { display: grid; grid-template-columns: 1.25fr 0.75fr; gap: 64px; align-items: center; }
.page-hero-grid > * { min-width: 0; }
.hero-index { position: relative; animation: nunakiHeroDevice 1000ms var(--ease) 160ms both; }
.hero-index::before {
  content: ""; position: absolute; z-index: -1; inset: -30% -20%; pointer-events: none;
  background: radial-gradient(closest-side, rgba(212,175,115,0.16), transparent); filter: blur(10px);
}
.hero-index-title { font-size: 12px; font-weight: 700; letter-spacing: 2.5px; text-transform: uppercase; color: var(--champagne); margin-bottom: 10px; }
.hero-index ol, .hero-index ul { list-style: none; border-top: 1px solid rgba(247,245,240,0.14); }
.hero-index li { border-bottom: 1px solid rgba(247,245,240,0.14); }
.hero-index a { display: grid; grid-template-columns: 34px 1fr 18px; align-items: center; gap: 10px; padding: 15px 0; text-decoration: none; color: var(--on-dark); font-size: 16px; font-weight: 500; transition: color 180ms ease, padding 250ms var(--ease); }
.hero-index a b { font-family: var(--font-heading); font-size: 20px; font-weight: 600; color: var(--champagne); }
.hero-index a svg { width: 16px; height: 16px; color: var(--champagne); opacity: 0.5; transition: transform 250ms var(--ease), opacity 200ms ease; }
.hero-index a:hover { color: var(--white); padding-left: 6px; }
.hero-index a:hover svg { opacity: 1; transform: translateX(4px); }
.hero-facts li { display: grid; grid-template-columns: 110px 1fr; align-items: baseline; gap: 14px; padding: 16px 0; }
.hero-facts b { font-family: var(--font-heading); font-size: 26px; font-weight: 600; color: var(--champagne); line-height: 1; }
.hero-facts span { font-size: 15px; color: var(--on-dark); }
.hero-stats { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid rgba(247,245,240,0.14); animation: nunakiHeroDevice 1000ms var(--ease) 160ms both; }
.hero-stats div { padding: 26px 8px 22px 0; border-bottom: 1px solid rgba(247,245,240,0.14); }
.hero-stats div:nth-child(odd) { padding-right: 20px; border-right: 1px solid rgba(247,245,240,0.14); }
.hero-stats div:nth-child(even) { padding-left: 24px; }
.hero-stats strong { display: block; font-family: var(--font-heading); font-size: 48px; font-weight: 600; line-height: 1; color: var(--champagne); }
.hero-stats span { display: block; margin-top: 8px; font-size: 12px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; color: var(--on-dark-muted); }
.faq-group { scroll-margin-top: 24px; }
@media (max-width: 900px) {
  .page-hero-grid { grid-template-columns: 1fr; gap: 40px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-index, .hero-stats { animation: none !important; }
}

/* Smooth fade between pages in browsers that support cross-page view transitions */
@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: 320ms; animation-timing-function: ease; }
@media (prefers-reduced-motion: reduce) {
  @view-transition { navigation: none; }
}

/* =========================================
   NUNAKI LOGO + ANIMATED ARCHITECTURE DIAGRAM
   ========================================= */
.brand img.brand-logo { width: 40px; height: auto; display: block; filter: drop-shadow(0 0 6px rgba(212,175,115,0.25)); }
.site-footer .brand img.brand-logo { width: 40px; }
img.thanks-sigil { width: 120px; height: auto; margin: 0 auto 28px; display: block; filter: drop-shadow(0 0 26px rgba(212,175,115,0.45)); }
.architecture-compass img { width: 100%; height: auto; display: block; }
.architecture-compass { width: 38%; max-width: 250px; }

/* Hover a service: its beam and endpoint light up */
.arch-beam, .arch-dot { transition: stroke-width 300ms ease, opacity 300ms ease, filter 300ms ease; }
.arch-beam { opacity: 0.85; }
.architecture-node { transition: transform 300ms var(--ease); }
.architecture-live:has(.architecture-nw:hover) .b1,
.architecture-live:has(.architecture-ne:hover) .b2,
.architecture-live:has(.architecture-sw:hover) .b3,
.architecture-live:has(.architecture-se:hover) .b4 { stroke-width: 2.2; opacity: 1; filter: drop-shadow(0 0 4px rgba(245,214,154,0.9)); }
.architecture-live:has(.architecture-nw:hover) .d1,
.architecture-live:has(.architecture-ne:hover) .d2,
.architecture-live:has(.architecture-sw:hover) .d3,
.architecture-live:has(.architecture-se:hover) .d4 { filter: drop-shadow(0 0 5px #FFE6B0); }

/* Entrance sequence: compass lights up, beams shoot out, each endpoint pops, then its label appears.
   Only applied once JavaScript is ready, so the diagram is fully visible without it. */
.arch-anim .architecture-compass { opacity: 0; transform: translate(-50%, -50%) scale(0.82) rotate(-20deg); transition: opacity 800ms var(--ease), transform 1100ms var(--ease); }
.arch-anim .architecture-light { opacity: 0; transition: opacity 1200ms ease; }
.arch-anim .arch-ring { opacity: 0; transition: opacity 900ms ease 300ms; }
.arch-anim .arch-beam { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 650ms cubic-bezier(0.65, 0, 0.35, 1); }
.arch-anim .arch-dot { opacity: 0; transform-box: fill-box; transform-origin: center; transform: scale(0); transition: opacity 200ms ease, transform 450ms cubic-bezier(0.34, 1.8, 0.64, 1); }
.arch-anim .architecture-node { opacity: 0; transform: translateY(14px); filter: blur(4px); transition: opacity 600ms var(--ease), transform 700ms var(--ease), filter 600ms ease; }

.arch-anim.arch-on .architecture-compass { opacity: 1; transform: translate(-50%, -50%) scale(1) rotate(0deg); }
.arch-anim.arch-on .architecture-light { opacity: 1; }
.arch-anim.arch-on .arch-ring:nth-of-type(1) { opacity: .38; }
.arch-anim.arch-on .arch-ring:nth-of-type(2) { opacity: .22; }
.arch-anim.arch-on .arch-beam { stroke-dashoffset: 0; }
.arch-anim.arch-on .arch-dot { opacity: 1; transform: scale(1); }
.arch-anim.arch-on .architecture-node { opacity: 1; transform: none; filter: blur(0); }

/* Stagger: beam 1 → 4, each label right after its beam lands */
.arch-anim.arch-on .b1 { transition-delay: 650ms; }  .arch-anim.arch-on .d1 { transition-delay: 1250ms; } .arch-anim.arch-on .architecture-nw { transition-delay: 1300ms; }
.arch-anim.arch-on .b2 { transition-delay: 850ms; }  .arch-anim.arch-on .d2 { transition-delay: 1450ms; } .arch-anim.arch-on .architecture-ne { transition-delay: 1500ms; }
.arch-anim.arch-on .b3 { transition-delay: 1050ms; } .arch-anim.arch-on .d3 { transition-delay: 1650ms; } .arch-anim.arch-on .architecture-sw { transition-delay: 1700ms; }
.arch-anim.arch-on .b4 { transition-delay: 1250ms; } .arch-anim.arch-on .d4 { transition-delay: 1850ms; } .arch-anim.arch-on .architecture-se { transition-delay: 1900ms; }
/* Once the entrance is done, hover responds instantly */
.arch-done .arch-beam, .arch-done .arch-dot, .arch-done .architecture-node { transition-delay: 0ms !important; }

/* After the entrance: the light behind the compass breathes very slowly */
.arch-done .architecture-light { animation: archBreathe 6s ease-in-out infinite; }
@keyframes archBreathe { 0%, 100% { opacity: 0.8; } 50% { opacity: 1; } }

@media (prefers-reduced-motion: reduce) {
  .arch-pulses { display: none; }
  .arch-done .architecture-light { animation: none; }
}

/* Plans page: three plan columns, the featured one on graphite */
.plan-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.plan-col { position: relative; display: flex; flex-direction: column; padding: 36px 30px 32px; border-top: 2px solid var(--line); background: rgba(255,255,255,0.55); border-radius: var(--radius); box-shadow: var(--shadow-sm); scroll-margin-top: 110px; }
.plan-col:target { box-shadow: 0 0 0 2px var(--gold), var(--shadow-md); }
.plan-col-featured { background: radial-gradient(ellipse 80% 50% at 80% 0%, rgba(212,175,115,0.20), transparent 70%), var(--graphite); border-top-color: var(--champagne); color: var(--on-dark); box-shadow: var(--shadow-md); }
.plan-col-flag { position: absolute; top: 18px; right: 24px; font-size: 11px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--champagne); }
.plan-col-name { font-family: var(--font-heading); font-size: 36px; font-weight: 600; color: var(--graphite); line-height: 1; }
.plan-col-for { margin-top: 10px; font-size: 15px; color: var(--muted); min-height: 46px; }
.plan-col-price { margin-top: 22px; display: flex; align-items: baseline; gap: 6px; }
.plan-col-price strong { font-family: var(--font-heading); font-size: 54px; font-weight: 600; line-height: 1; color: var(--graphite); }
.plan-col-price span { font-size: 15px; color: var(--muted); }
.plan-col-setup { font-size: 14px; color: var(--muted); margin-top: 6px; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.plan-col .tick-list { margin-top: 22px; flex: 1; align-content: start; }
.plan-col .tick-list strong { color: var(--graphite); }
.plan-col-actions { display: grid; gap: 12px; margin-top: 30px; }
.plan-col-actions .btn { width: 100%; }
.plan-col-link { text-align: center; font-size: 14px; font-weight: 600; color: var(--gold-deep); text-decoration: none; }
a.plan-col-link:hover { text-decoration: underline; }
.plan-col-note { font-weight: 500; color: var(--muted); }
.plan-col-featured .plan-col-name, .plan-col-featured .plan-col-price strong, .plan-col-featured .tick-list strong { color: var(--white); }
.plan-col-featured .plan-col-for, .plan-col-featured .plan-col-price span, .plan-col-featured .plan-col-setup { color: var(--on-dark-muted); }
.plan-col-featured .plan-col-setup { border-color: rgba(247,245,240,0.14); }
.plan-col-featured .tick-list li { color: var(--on-dark); }
.plan-col-featured .tick-list svg { color: var(--champagne); }
.plan-col-featured .plan-col-link { color: var(--champagne); }
.plan-fine { margin-top: 28px; text-align: center; font-size: 13.5px; color: var(--muted); }
.after-steps { list-style: none; display: grid; gap: 0; border-top: 1px solid rgba(247,245,240,0.14); }
.after-steps li { display: grid; grid-template-columns: 44px 1fr; gap: 14px; padding: 20px 0; border-bottom: 1px solid rgba(247,245,240,0.14); }
.after-steps b { font-family: var(--font-heading); font-size: 28px; font-weight: 600; color: var(--champagne); line-height: 1; }
.after-steps strong { display: block; color: var(--white); font-size: 16.5px; }
.after-steps span { font-size: 15px; color: var(--on-dark-muted); }
@media (max-width: 1000px) { .plan-cols { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; } .plan-col-for { min-height: 0; } }

/* Testimonials: two real client quotes, no boxes, gold rule and serif quote text */
.quote-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; }
.quote { position: relative; margin: 0; padding-top: 34px; border-top: 1px solid var(--line); }
.quote::before { content: ""; position: absolute; top: -1px; left: 0; width: 56px; height: 2px; background: var(--gold); }
.quote blockquote p { font-family: var(--font-heading); font-size: clamp(21px, 2vw, 25px); line-height: 1.5; color: var(--graphite); }
.quote figcaption { margin-top: 24px; display: grid; gap: 2px; }
.quote figcaption strong { font-size: 15px; color: var(--graphite); }
.quote figcaption span { font-size: 12px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--gold-deep); }
@media (max-width: 800px) { .quote-grid { grid-template-columns: 1fr; gap: 44px; } }
.project-name { font-size: clamp(42px, 5vw, 64px); }
