/* =========================================================
   RKNK Solutions - portfolio site
   Palette: deep green, ivory, champagne gold
   ========================================================= */

/* Self-hosted fonts (latin subset, variable weight) + metric-matched fallbacks so text doesn't jump when they load */
@font-face {
  font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("assets/fonts/inter-latin-var.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Sora"; font-style: normal; font-weight: 100 800; font-display: swap;
  src: url("assets/fonts/sora-latin-var.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter Fallback"; src: local("Arial"), local("ArialMT"), local("Helvetica"), local("Roboto");
  size-adjust: 106.5%; ascent-override: 90.9%; descent-override: 22.6%; line-gap-override: 0%;
}
@font-face {
  font-family: "Sora Fallback"; src: local("Arial Bold"), local("Arial-BoldMT"), local("Helvetica Bold"), local("Roboto Bold");
  size-adjust: 104.8%; ascent-override: 92.5%; descent-override: 27.7%; line-gap-override: 0%;
}

:root {
  /* Green */
  --green-950: #0a231a;
  --green-900: #0e2f23;
  --green-800: #154232;
  --green-700: #1e5a43;
  --green-600: #2a7457;
  --green-wa: #2f8a5f;

  /* Champagne gold */
  --gold-700: #7d5f33;
  --gold-600: #8f6f3f;
  --gold-500: #b8955c;
  --gold-400: #d4b483;
  --gold-300: #e6d3ad;
  --gold-200: #f1e6cf;

  /* Ivory + text */
  --bg: #fbf8f1;
  --tint: #f4eee0;
  --card: #fffdf8;
  --line: #e8dfcb;
  --ink: #16271f;
  --body: #46534c;
  --muted: #6b766d;
  --on-dark: #d6d9cc;
  --on-dark-muted: #a3ae9f;
  --ivory: #fbf8f1;

  --grad: linear-gradient(120deg, #ecd9b0 0%, #c9a464 100%);
  --grad-green: linear-gradient(120deg, var(--green-700) 0%, var(--green-600) 100%);
  --radius: 18px;
  --radius-sm: 12px;
  --shadow-sm: 0 1px 2px rgba(14, 47, 35, .06), 0 2px 8px rgba(14, 47, 35, .05);
  --shadow: 0 10px 30px -12px rgba(14, 47, 35, .25);
  --shadow-lg: 0 30px 60px -20px rgba(6, 22, 16, .5);

  --font-display: "Sora", "Sora Fallback", system-ui, sans-serif;
  --font-body: "Inter", "Inter Fallback", system-ui, -apple-system, "Segoe UI", sans-serif;
  --container: 1200px;
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--body);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--font-display); color: var(--ink); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.02em; }
h2 { font-size: clamp(1.9rem, 1.3rem + 2.2vw, 2.9rem); font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 600; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }

.ic { width: 1.15em; height: 1.15em; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
@media (max-width: 600px) { .container { padding: 0 16px; } }

.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 200; background: var(--green-800); color: var(--ivory); padding: 10px 16px; border-radius: 8px; }
.skip-link:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--gold-400); outline-offset: 3px; border-radius: 6px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  font: 600 .98rem/1 var(--font-body);
  padding: 15px 24px; border-radius: 999px; border: 1.5px solid transparent;
  cursor: pointer; transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-sm { padding: 11px 18px; font-size: .9rem; }
.btn-primary { background: var(--grad); color: var(--green-950); box-shadow: 0 10px 24px -10px rgba(184, 149, 92, .75); }
.btn-primary:hover { box-shadow: 0 14px 30px -10px rgba(184, 149, 92, .9); }
.btn-ghost-light { color: var(--ivory); border-color: rgba(230, 211, 173, .35); background: rgba(251, 248, 241, .05); backdrop-filter: blur(6px); }
.btn-ghost-light:hover { border-color: var(--gold-400); background: rgba(251, 248, 241, .1); }
.btn-outline { color: var(--green-700); border-color: var(--gold-300); background: var(--card); }
.btn-outline:hover { border-color: var(--gold-500); background: var(--gold-200); }
.btn-whatsapp { background: var(--green-wa); color: var(--ivory); box-shadow: 0 10px 24px -10px rgba(47, 138, 95, .7); }

/* ---------- Eyebrows / section heads ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font: 600 .78rem/1 var(--font-body); letter-spacing: .14em; text-transform: uppercase;
  color: var(--gold-600); margin-bottom: 16px;
}
.eyebrow-light { color: var(--gold-400); }
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: #7fd1a1; box-shadow: 0 0 0 4px rgba(127, 209, 161, .2); animation: pulse 2s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 8px rgba(127, 209, 161, 0); } }

.section { padding: clamp(72px, 9vw, 120px) 0; position: relative; }
.section-tint { background: var(--tint); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto clamp(40px, 5vw, 60px); }
.section-head.left { text-align: left; margin: 0; }
.section-sub { color: var(--muted); font-size: 1.08rem; margin: 0; }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 100; height: var(--header-h);
  display: flex; align-items: center;
  transition: background .3s ease, box-shadow .3s ease, backdrop-filter .3s ease;
}
.site-header.scrolled { background: rgba(251, 248, 241, .9); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); box-shadow: 0 1px 0 var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand img { height: 32px; width: auto; }
.brand .logo-dark { display: none; }
.site-header.scrolled .logo-light, .site-header.menu-open .logo-light { display: none; }
.site-header.scrolled .logo-dark, .site-header.menu-open .logo-dark { display: block; }
.brand-text { font: 800 1.2rem/1 var(--font-display); color: var(--ivory); letter-spacing: -.01em; transition: color .3s; }
.brand-text small { font-weight: 500; font-size: .7em; letter-spacing: .28em; text-transform: uppercase; margin-left: 2px; opacity: .85; color: var(--gold-400); }
.site-header.scrolled .brand-text { color: var(--green-900); }
.site-header.scrolled .brand-text small, .site-header.menu-open .brand-text small { color: var(--gold-600); }

.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a:not(.btn) { font-weight: 500; font-size: .95rem; color: rgba(251, 248, 241, .85); position: relative; transition: color .2s; }
.nav-links a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; background: var(--grad); transform: scaleX(0); transform-origin: left; transition: transform .25s; border-radius: 2px; }
.nav-links a:not(.btn):hover { color: var(--ivory); }
.nav-links a:not(.btn):hover::after, .nav-links a.active::after { transform: scaleX(1); }
.site-header.scrolled .nav-links a:not(.btn) { color: var(--body); }
.site-header.scrolled .nav-links a:not(.btn):hover { color: var(--ink); }

.nav-toggle { display: none; background: none; border: 0; color: var(--ivory); padding: 8px; cursor: pointer; font-size: 1.4rem; border-radius: 10px; }
.site-header.scrolled .nav-toggle { color: var(--ink); }

@media (max-width: 920px) {
  .nav-toggle { display: inline-flex; }
  .nav-links {
    position: fixed; top: var(--header-h); left: 12px; right: 12px;
    flex-direction: column; align-items: stretch; gap: 4px; padding: 14px;
    background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-lg);
    opacity: 0; transform: translateY(-10px); pointer-events: none; transition: opacity .2s, transform .2s;
  }
  .nav-links.open { opacity: 1; transform: none; pointer-events: auto; }
  .nav-links a:not(.btn) { color: var(--ink) !important; padding: 12px 14px; border-radius: 10px; }
  .nav-links a:not(.btn):hover { background: var(--tint); }
  .nav-links a:not(.btn)::after { display: none; }
  .nav-cta { margin-top: 6px; }
  .site-header.menu-open { background: var(--bg); }
  .site-header.menu-open .brand-text, .site-header.menu-open .nav-toggle { color: var(--green-900); }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; color: var(--on-dark);
  background: var(--green-900);
  padding: calc(var(--header-h) + clamp(48px, 7vw, 96px)) 0 clamp(72px, 9vw, 120px);
}
.hero-bg {
  position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background: var(--green-950);
}
.hero-video {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  opacity: .42;
  filter: saturate(1.1) brightness(.9);
  pointer-events: none;
  z-index: 1;
}
.hero-video-scrim {
  position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background:
    radial-gradient(900px 500px at 85% 20%, rgba(212, 180, 131, .22), transparent 60%),
    radial-gradient(700px 500px at 10% 90%, rgba(42, 116, 87, .5), transparent 60%),
    linear-gradient(180deg, rgba(10, 35, 26, .9) 0%, rgba(14, 47, 35, .78) 50%, rgba(10, 35, 26, .96) 100%);
}
.hero-bg::after {
  content: ""; position: absolute; inset: 0; z-index: 3;
  background-image: radial-gradient(rgba(230, 211, 173, .1) 1px, transparent 1px);
  background-size: 26px 26px;
  mask-image: linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent);
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent);
}
@media (prefers-reduced-motion: reduce) {
  .hero-video { display: none; }
}
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.hero h1 { color: var(--ivory); font-size: clamp(2.5rem, 1.4rem + 4.4vw, 4.4rem); font-weight: 800; letter-spacing: -.035em; line-height: 1.04; margin-bottom: 24px; }
.h1-kicker { display: block; margin-bottom: 18px; font: 600 clamp(.95rem, .85rem + .4vw, 1.15rem)/1.35 var(--font-display); letter-spacing: 0; color: var(--gold-300); }
.hero .lead { font-size: clamp(1.02rem, .95rem + .35vw, 1.18rem); max-width: 560px; color: var(--on-dark); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin: 32px 0 44px; }
.hero-stats { display: flex; flex-wrap: wrap; gap: 14px 40px; padding-top: 28px; border-top: 1px solid rgba(230, 211, 173, .18); }
.hero-stats li { display: flex; flex-direction: column; }
.hero-stats strong { font: 700 2rem/1.1 var(--font-display); color: var(--gold-400); }
.hero-stats span { font-size: .88rem; color: var(--on-dark-muted); }

.hero-visual { position: relative; aspect-ratio: 1 / .86; }
.frame { border-radius: 14px; overflow: hidden; background: var(--card); box-shadow: var(--shadow-lg); border: 1px solid rgba(230, 211, 173, .2); }
.frame-bar { display: flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; background: var(--tint); border-bottom: 1px solid var(--line); }
.frame-bar i { width: 9px; height: 9px; border-radius: 50%; background: #e0a091; }
.frame-bar i:nth-child(2) { background: var(--gold-400); }
.frame-bar i:nth-child(3) { background: #8cbf9f; }
.frame-bar span { margin-left: 10px; font-size: .72rem; color: var(--muted); background: var(--card); border-radius: 6px; padding: 2px 10px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.frame img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; }
.frame-dark .frame-bar { background: #13241d; border-color: #20372c; }
.frame-dark .frame-bar span { background: #1c3328; color: #9fae9f; }

.hero-visual .frame { position: absolute; width: 78%; transition: transform .6s cubic-bezier(.2,.8,.2,1); }
.frame-back { top: 0; right: 0; transform: rotate(4deg); opacity: .75; }
.frame-mid { top: 18%; left: 0; transform: rotate(-3deg); opacity: .9; }
.frame-front { bottom: 0; right: 6%; transform: rotate(1deg); }
.hero-visual:hover .frame-back { transform: rotate(6deg) translate(10px, -8px); }
.hero-visual:hover .frame-mid { transform: rotate(-5deg) translate(-10px, 0); }

.chip {
  position: absolute; display: inline-flex; align-items: center; gap: 8px; z-index: 3;
  padding: 10px 14px; border-radius: 999px; font-size: .84rem; font-weight: 600; color: var(--ink);
  background: rgba(251, 248, 241, .96); border: 1px solid var(--gold-300); box-shadow: var(--shadow); white-space: nowrap;
  animation: float 6s ease-in-out infinite;
}
.chip .ic { color: var(--gold-600); }
.chip-1 { top: 8%; left: -4%; }
.chip-2 { top: 52%; right: -3%; animation-delay: -2s; }
.chip-2 .ic { color: var(--green-600); }
.chip-3 { bottom: -4%; left: 4%; animation-delay: -4s; }
@keyframes float { 50% { transform: translateY(-8px); } }

@media (max-width: 920px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 560px; width: 100%; margin: 12px auto 0; }
}
@media (max-width: 520px) {
  .chip { font-size: .74rem; padding: 8px 11px; }
  .chip-1 { left: 0; }
  .chip-2 { right: 0; }
  .hero-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
  .hero-stats strong { font-size: 1.6rem; }
  .hero-stats span { font-size: .8rem; line-height: 1.35; }
  .hero-ctas .btn { flex: 1 1 100%; }
}

/* ---------- Rendering performance ----------
   Sections below the hero skip layout/paint until they are near the screen. The first in-page link click
   (or a URL with #hash) adds .cv-off so anchor jumps land exactly; see the inline script in <head>. */
html:not(.cv-off) main > .section, html:not(.cv-off) .footer { content-visibility: auto; contain-intrinsic-size: auto 900px; }

/* ---------- Behind-the-scenes video reel (hero) ---------- */
.bts-reel { position: relative; z-index: 1; margin-top: clamp(48px, 6vw, 80px); margin-bottom: calc(-1 * clamp(32px, 5vw, 64px)); }
.bts-label { display: flex; align-items: center; gap: 8px; margin-bottom: 16px; font: 600 .78rem/1 var(--font-display); letter-spacing: .14em; text-transform: uppercase; color: var(--gold-400); }
.bts-label .ic { width: 16px; height: 16px; }
.bts-viewport {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.bts-track { display: flex; gap: 14px; width: max-content; animation: bts-scroll 60s linear infinite; }
.bts-reel:hover .bts-track { animation-play-state: paused; }
.bts-item {
  flex: none; width: clamp(130px, 13vw, 190px); aspect-ratio: 9 / 16; margin: 0;
  border-radius: 14px; overflow: hidden; background: var(--green-800);
  border: 1px solid rgba(230, 211, 173, .22); box-shadow: var(--shadow-lg);
}
.bts-item video { width: 100%; height: 100%; object-fit: cover; display: block; }
/* moves right-to-left; the track holds the set twice, so -50% (plus half a gap) loops seamlessly */
@keyframes bts-scroll { to { transform: translateX(calc(-50% - 7px)); } }
@media (prefers-reduced-motion: reduce) {
  .bts-track { animation: none; }
  .bts-viewport { overflow-x: auto; }
}

/* ---------- Marquee ---------- */
.marquee { background: var(--grad); overflow: hidden; padding: 16px 0; border-block: 1px solid var(--gold-500); }
.marquee-track { display: flex; width: max-content; animation: marquee 40s linear infinite; }
.marquee span { font: 600 .9rem/1 var(--font-display); letter-spacing: .14em; text-transform: uppercase; color: var(--green-900); padding: 0 26px; position: relative; white-space: nowrap; }
.marquee span::after { content: "✦"; position: absolute; right: -6px; opacity: .6; font-size: .7em; top: 50%; transform: translateY(-50%); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Projects ---------- */
.filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 48px; }
.filter {
  font: 500 .92rem/1 var(--font-body); padding: 11px 18px; border-radius: 999px; cursor: pointer;
  background: var(--card); color: var(--body); border: 1px solid var(--line); transition: all .2s;
}
.filter:hover { border-color: var(--gold-400); color: var(--ink); }
.filter.is-active { background: var(--green-800); border-color: var(--green-800); color: var(--ivory); }

.projects { display: flex; flex-direction: column; gap: clamp(56px, 7vw, 96px); }
.project { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.project:nth-child(even of :not([hidden])) .project-media { order: 2; }
.project[hidden] { display: none; }
.project-media { display: block; position: relative; border-radius: 16px; }
.project-media::before {
  content: ""; position: absolute; inset: 8% -4% -6% 6%; border-radius: 24px; z-index: -1;
  background: linear-gradient(135deg, var(--gold-200), #e3ece2);
  transition: transform .4s ease;
}
.project-media .frame { box-shadow: var(--shadow); border-color: var(--line); transition: transform .4s ease, box-shadow .4s ease; }
.project-media:hover .frame { transform: translateY(-6px); box-shadow: 0 30px 60px -24px rgba(14, 47, 35, .4); }
.project-media:hover::before { transform: translate(6px, 6px); }
.project-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-bottom: 14px; }
.pill { font: 600 .74rem/1 var(--font-body); letter-spacing: .06em; text-transform: uppercase; padding: 7px 11px; border-radius: 999px; }
.pill-health { background: #e1ede4; color: var(--green-700); }
.pill-finance { background: var(--gold-200); color: var(--gold-700); }
.pill-creative { background: var(--green-800); color: var(--gold-300); }
.pill-new { background: var(--grad); color: var(--green-950); }
.pill-progress { display: inline-flex; align-items: center; gap: 6px; background: transparent; color: var(--gold-700); border: 1px solid var(--gold-400); }
.pill-progress .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gold-500); animation: pulse-gold 2s infinite; }
@keyframes pulse-gold { 50% { box-shadow: 0 0 0 5px rgba(184, 149, 92, .25); } }
.loc { font-size: .88rem; color: var(--muted); }
.loc::before { content: "📍 "; }
.project h3 { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); font-weight: 700; margin-bottom: 14px; }
.deliverables { display: grid; gap: 9px; margin: 20px 0; }
.deliverables li { display: flex; gap: 10px; align-items: flex-start; font-size: .96rem; color: var(--ink); }
.deliverables .ic { color: var(--ivory); background: var(--green-700); border-radius: 50%; padding: 3px; width: 20px; height: 20px; margin-top: 2px; stroke-width: 3; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.tags span, .skill-tags span { font-size: .8rem; font-weight: 500; padding: 6px 12px; border-radius: 8px; background: var(--tint); color: var(--body); border: 1px solid var(--line); }

@media (max-width: 860px) {
  .project { grid-template-columns: 1fr; }
  .project:nth-child(even of :not([hidden])) .project-media { order: 0; }
}

/* ---------- Services ---------- */
.services-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; }
.service {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 26px;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.service:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--gold-400); }
.service h3 { margin: 18px 0 8px; font-size: 1.1rem; }
.service p { margin: 0; font-size: .95rem; color: var(--muted); }

/* Icon tiles alternate between green and champagne-gold tones */
.s-icon { width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; font-size: 1.35rem; flex: none; }
.c-blue, .c-green, .c-teal { background: #e1ede4; color: var(--green-700); }
.c-violet, .c-amber { background: var(--gold-200); color: var(--gold-700); }
.c-rose, .c-indigo { background: var(--green-800); color: var(--gold-300); }

/* ---------- CRM ---------- */
.crm { background: linear-gradient(160deg, var(--green-950), var(--green-800)); color: var(--on-dark); overflow: hidden; }
.crm::before { content: ""; position: absolute; width: 700px; height: 700px; right: -200px; top: -200px; background: radial-gradient(circle, rgba(212, 180, 131, .16), transparent 65%); pointer-events: none; }
.crm-grid { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(36px, 6vw, 80px); align-items: center; }
.crm h2 { color: var(--ivory); }
.crm .lead { font-size: 1.08rem; }
.crm-list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 24px; margin: 28px 0 36px; }
.crm-list li { display: flex; gap: 10px; align-items: flex-start; color: #ece8db; font-size: .96rem; }
.crm-list .ic { color: var(--gold-400); margin-top: 4px; stroke-width: 3; }

.pipeline { background: rgba(251, 248, 241, .04); border: 1px solid rgba(230, 211, 173, .16); border-radius: 22px; padding: 26px; backdrop-filter: blur(6px); }
.pipe-step { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 14px; background: rgba(251, 248, 241, .06); border: 1px solid rgba(251, 248, 241, .08); }
.pipe-step strong { display: block; color: var(--ivory); font-family: var(--font-display); font-weight: 600; font-size: 1rem; }
.pipe-step small { color: var(--on-dark-muted); font-size: .85rem; }
.pipe-ic { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--grad); color: var(--green-950); font-size: 1.15rem; flex: none; }
.pipe-win { background: rgba(212, 180, 131, .14); border-color: rgba(212, 180, 131, .45); }
.pipe-win .pipe-ic { background: var(--green-600); color: var(--ivory); }
.pipe-line { width: 2px; height: 18px; margin-left: 36px; background: linear-gradient(var(--gold-400), transparent); }

@media (max-width: 920px) { .crm-grid { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .crm-list { grid-template-columns: 1fr; } }

/* ---------- Process ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: step; }
.step { position: relative; padding: 30px 26px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); }
.step-n { position: absolute; top: 22px; right: 24px; font: 800 2.2rem/1 var(--font-display); color: var(--gold-300); }
.step h3 { margin: 18px 0 8px; }
.step p { margin: 0; font-size: .95rem; color: var(--muted); }
@media (max-width: 960px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Why ---------- */
.why-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(36px, 6vw, 72px); align-items: center; }
.why-grid .section-sub { margin-bottom: 28px; }
.why-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.why { display: flex; gap: 16px; align-items: flex-start; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.why h3 { font-size: 1.02rem; margin: 2px 0 4px; }
.why p { margin: 0; font-size: .9rem; color: var(--muted); }
.why .s-icon { width: 44px; height: 44px; font-size: 1.2rem; }
@media (max-width: 920px) { .why-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .why-cards { grid-template-columns: 1fr; } }

/* ---------- About ---------- */
.about-wrap { max-width: 1100px; }
.about-card { background: linear-gradient(160deg, var(--card), var(--gold-200)); border: 1px solid var(--gold-300); border-radius: 24px; padding: clamp(28px, 4vw, 44px); }
.about-logo { width: 160px; margin-bottom: 24px; }
.about-card p { color: var(--body); }
.founders { display: grid; gap: 12px; margin: 22px 0 24px; }
.founder { display: flex; align-items: flex-start; gap: 16px; padding: 18px; background: var(--card); border: 1px solid var(--line); border-radius: 14px; }
.founder h3 { font-size: 1.05rem; margin: 0 0 2px; }
.founder p { margin: 0; font-size: .88rem; color: var(--muted); }
.founder .founder-role { color: var(--gold-700); font-weight: 600; }
.founder .founder-bio { margin-top: 8px; font-size: .92rem; color: var(--body); }
.founder-links { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 8px; }
.founder-links .founder-tel { display: inline-flex; align-items: center; gap: 6px; margin: 0; }
.founder-tel { display: inline-block; margin-top: 4px; font-size: .88rem; font-weight: 600; color: var(--green-700); }
.founder-tel:hover { text-decoration: underline; }
.avatar { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; flex: none; background: var(--grad); color: var(--green-950); font: 700 1rem/1 var(--font-display); letter-spacing: .02em; }
.avatar-alt { background: var(--grad-green); color: var(--gold-300); border: 2px solid var(--gold-400); }
.avatar-img { padding: 0; overflow: hidden; background: var(--green-900); border: 2px solid var(--gold-400); }
.avatar-img img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; display: block; }

.skill-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0 28px; }
.skill-tags span { background: var(--card); }

/* ---------- FAQ ---------- */
.faq-wrap { max-width: 860px; }
.faq { display: grid; gap: 12px; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 0 22px; transition: border-color .2s, box-shadow .2s; }
.faq details[open] { border-color: var(--gold-400); box-shadow: var(--shadow-sm); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 32px 20px 0; position: relative; font: 600 1.04rem/1.4 var(--font-display); color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); font-size: 1.5rem; font-weight: 400; color: var(--gold-600); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { margin: 0 0 20px; color: var(--muted); }

/* ---------- Contact ---------- */
.contact { background: linear-gradient(160deg, var(--green-950), var(--green-800)); color: var(--on-dark); overflow: hidden; }
.contact::before { content: ""; position: absolute; width: 800px; height: 800px; left: -300px; bottom: -400px; background: radial-gradient(circle, rgba(212, 180, 131, .18), transparent 65%); pointer-events: none; }
.contact-grid { position: relative; display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(36px, 6vw, 72px); align-items: start; }
.contact h2 { color: var(--ivory); }
.contact .lead { font-size: 1.08rem; margin-bottom: 32px; }
.contact-list { display: grid; gap: 12px; }
.contact-list a, .contact-list li > div { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 14px; background: rgba(251, 248, 241, .05); border: 1px solid rgba(230, 211, 173, .14); color: var(--ivory); font-weight: 500; transition: background .2s, border-color .2s; }
.contact-list a:hover { background: rgba(251, 248, 241, .1); border-color: rgba(212, 180, 131, .45); }
.contact-list small { display: block; font-size: .76rem; color: var(--gold-400); font-weight: 500; text-transform: uppercase; letter-spacing: .1em; }
.c-ic { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--grad); color: var(--green-950); font-size: 1.15rem; flex: none; }
.c-ic.wa { background: var(--green-wa); color: var(--ivory); }
.contact-list span:last-child { min-width: 0; overflow-wrap: anywhere; }

.contact-form { background: var(--card); border: 1px solid var(--gold-300); border-radius: 24px; padding: clamp(24px, 4vw, 40px); box-shadow: var(--shadow-lg); display: grid; gap: 16px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-form label { display: grid; gap: 7px; font-size: .88rem; font-weight: 600; color: var(--ink); }
.contact-form .opt { font-weight: 400; color: var(--muted); }
.contact-form input, .contact-form select, .contact-form textarea {
  font: 400 1rem/1.4 var(--font-body); color: var(--ink); width: 100%;
  padding: 13px 14px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--bg);
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.contact-form textarea { resize: vertical; min-height: 120px; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { outline: none; border-color: var(--gold-500); background: var(--card); box-shadow: 0 0 0 4px rgba(212, 180, 131, .25); }
.contact-form .invalid { border-color: #b4412f; }
.form-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 4px; }
.form-actions .btn { flex: 1 1 200px; }
.form-error { margin: 0; color: #b4412f; font-size: .9rem; font-weight: 500; }
.form-note { margin: 0; font-size: .82rem; color: var(--muted); text-align: center; }
@media (max-width: 920px) { .contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.footer { background: var(--green-950); color: var(--on-dark-muted); padding: 64px 0 28px; font-size: .94rem; border-top: 1px solid rgba(212, 180, 131, .25); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 36px; padding-bottom: 40px; border-bottom: 1px solid rgba(230, 211, 173, .12); }
.footer h4, .footer .footer-h { color: var(--gold-400); font-size: .95rem; margin-bottom: 16px; letter-spacing: 0; }
.footer ul { display: grid; gap: 10px; }
.footer a { transition: color .2s; }
.footer a:hover { color: var(--ivory); }
.brand-footer .brand-text { color: var(--ivory); }
.footer-tag { margin-top: 18px; line-height: 1.7; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding-top: 24px; font-size: .86rem; }
.footer-bottom p { margin: 0; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Floating WhatsApp ---------- */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 90;
  width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center;
  background: var(--green-wa); color: var(--ivory); font-size: 1.7rem;
  border: 2px solid var(--gold-400);
  box-shadow: 0 12px 28px -8px rgba(14, 47, 35, .6);
  transition: transform .2s;
}
.wa-float:hover { transform: scale(1.08); }

/* ---------- Reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.8,.2,1); }
.js .reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* =========================================================
   Conversion features: promises, planner, growth score, mobile CTA
   ========================================================= */

/* ---------- Promise strip (hero) ---------- */
.promise-strip { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: -22px 0 36px; }
.promise-strip li { display: inline-flex; align-items: center; gap: 7px; font-size: .9rem; color: var(--on-dark); }
.promise-strip .ic { color: var(--gold-400); stroke-width: 3; }

/* ---------- Project planner ---------- */
.planner-section { background: var(--bg); }
.planner { display: grid; grid-template-columns: 1.45fr 1fr; gap: 24px; align-items: start; }
.planner-form { background: var(--card); border: 1px solid var(--line); border-radius: 24px; padding: clamp(20px, 3.5vw, 36px); box-shadow: var(--shadow-sm); display: grid; gap: 20px; min-width: 0; }

.p-progress { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.p-progress li { display: flex; flex-direction: column; gap: 8px; font-size: .78rem; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.p-progress li::before { content: ""; height: 4px; border-radius: 4px; background: var(--line); transition: background .3s; }
.p-progress li span { display: none; }
.p-progress li.is-active, .p-progress li.is-done { color: var(--green-700); }
.p-progress li.is-active::before { background: var(--grad); }
.p-progress li.is-done::before { background: var(--green-600); }

.p-step { border: 0; margin: 0; padding: 0; min-width: 0; display: none; }
.p-step.is-active { display: grid; gap: 16px; animation: stepIn .35s ease; }
@keyframes stepIn { from { opacity: 0; transform: translateX(12px); } to { opacity: 1; transform: none; } }
.p-step legend { font: 700 clamp(1.25rem, 1.1rem + .6vw, 1.55rem)/1.25 var(--font-display); color: var(--ink); margin-bottom: 16px; padding: 0; }
.p-step legend small { display: block; font: 500 .88rem/1.4 var(--font-body); color: var(--muted); margin-top: 6px; }
.p-sub { margin: 8px 0 0; font: 600 1rem/1.3 var(--font-display); color: var(--ink); }

.opt-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.opt-grid-3 { grid-template-columns: repeat(3, 1fr); }
.opt-card { position: relative; display: flex; align-items: flex-start; gap: 12px; padding: 16px; border-radius: 16px; border: 1.5px solid var(--line); background: var(--bg); cursor: pointer; transition: border-color .2s, background .2s, transform .2s, box-shadow .2s; }
.opt-card:hover { border-color: var(--gold-400); transform: translateY(-2px); }
.opt-card input, .opt-chip input { position: absolute; opacity: 0; pointer-events: none; }
.opt-card:has(input:checked) { border-color: var(--green-700); background: #eef4ee; box-shadow: 0 0 0 3px rgba(30, 90, 67, .12); }
.opt-card:has(input:checked)::after { content: "✓"; position: absolute; top: 10px; right: 12px; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: .75rem; font-weight: 700; background: var(--green-700); color: var(--ivory); }
.opt-card:has(input:focus-visible), .opt-chip:has(input:focus-visible) { outline: 3px solid var(--gold-400); outline-offset: 2px; border-radius: 16px; }
.opt-ic { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; flex: none; background: var(--gold-200); color: var(--gold-700); font-size: 1.15rem; }
.opt-card:has(input:checked) .opt-ic { background: var(--green-700); color: var(--gold-300); }
.opt-txt strong { display: block; font: 600 1rem/1.3 var(--font-display); color: var(--ink); padding-right: 20px; }
.opt-txt small { display: block; margin-top: 3px; font-size: .85rem; line-height: 1.4; color: var(--muted); }

.chip-grid { display: flex; flex-wrap: wrap; gap: 10px; }
.opt-chip { position: relative; cursor: pointer; }
.opt-chip span { display: inline-flex; align-items: center; gap: 6px; padding: 10px 16px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--bg); font-size: .92rem; font-weight: 500; color: var(--body); transition: all .2s; }
.opt-chip:hover span { border-color: var(--gold-400); color: var(--ink); }
.opt-chip input:checked + span { background: var(--green-800); border-color: var(--green-800); color: var(--ivory); }
.opt-chip input[type="checkbox"]:checked + span::before { content: "✓"; color: var(--gold-400); font-weight: 700; }

.planner-form label:not(.opt-card):not(.opt-chip) { display: grid; gap: 7px; font-size: .88rem; font-weight: 600; color: var(--ink); }
.planner-form input[type="text"], .planner-form textarea {
  font: 400 1rem/1.4 var(--font-body); color: var(--ink); width: 100%;
  padding: 13px 14px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--bg);
  transition: border-color .2s, box-shadow .2s;
}
.planner-form input[type="text"]:focus, .planner-form textarea:focus { outline: none; border-color: var(--gold-500); box-shadow: 0 0 0 4px rgba(212, 180, 131, .25); }
.planner-form .invalid { border-color: #b4412f !important; }
.planner-form textarea { resize: vertical; }

.p-error { margin: 0; color: #b4412f; font-size: .92rem; font-weight: 500; }
.p-nav { display: flex; justify-content: space-between; gap: 12px; border-top: 1px solid var(--line); padding-top: 18px; }
.p-nav #p-next { margin-left: auto; }
.p-nav [hidden] { display: none; }

/* Summary card */
.planner-summary {
  position: sticky; top: calc(var(--header-h) + 20px);
  background: linear-gradient(165deg, var(--green-950), var(--green-800)); color: var(--on-dark);
  border: 1px solid rgba(212, 180, 131, .35); border-radius: 24px; padding: 26px; box-shadow: var(--shadow-lg);
}
.ps-head { display: flex; justify-content: space-between; align-items: center; font: 600 .8rem/1 var(--font-body); letter-spacing: .12em; text-transform: uppercase; color: var(--gold-400); }
.ps-ref { font-family: ui-monospace, "SFMono-Regular", Consolas, monospace; letter-spacing: .04em; color: var(--on-dark-muted); text-transform: none; }
.ps-time { margin: 18px 0; padding: 18px; border-radius: 16px; background: rgba(251, 248, 241, .06); border: 1px solid rgba(230, 211, 173, .18); }
.ps-time small { display: block; font-size: .8rem; color: var(--on-dark-muted); margin-bottom: 4px; }
.ps-time strong { display: block; font: 700 clamp(1.4rem, 1.2rem + .8vw, 1.85rem)/1.15 var(--font-display); color: var(--ivory); }
.ps-time strong.has-value { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ps-time.pop { animation: pop .35s ease; }
@keyframes pop { 50% { transform: scale(1.03); } }
.ps-list { margin: 0 0 18px; display: grid; gap: 10px; }
.ps-list div { display: grid; grid-template-columns: 76px 1fr; gap: 10px; font-size: .9rem; }
.ps-list dt { color: var(--on-dark-muted); }
.ps-list dd { margin: 0; color: var(--ivory); font-weight: 500; }
.ps-label { margin: 0 0 10px; font: 600 .74rem/1 var(--font-body); letter-spacing: .12em; text-transform: uppercase; color: var(--gold-400); }
.ps-promises { display: grid; gap: 8px; margin-bottom: 20px; }
.ps-promises li { display: flex; gap: 9px; align-items: flex-start; font-size: .9rem; color: #ece8db; }
.ps-promises .ic { color: var(--gold-400); margin-top: 3px; stroke-width: 3; }
.ps-next { display: grid; gap: 8px; counter-reset: nx; margin: 0; }
.ps-next li { counter-increment: nx; display: flex; gap: 10px; font-size: .88rem; color: var(--on-dark); }
.ps-next li::before { content: counter(nx); flex: none; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: .75rem; font-weight: 700; background: rgba(212, 180, 131, .2); color: var(--gold-300); }

@media (max-width: 980px) {
  .planner { grid-template-columns: 1fr; }
  .planner-summary { position: static; }
}
@media (max-width: 600px) {
  .opt-grid, .opt-grid-3 { grid-template-columns: 1fr; }
  .p-progress li { font-size: .66rem; letter-spacing: .02em; }
}

/* ---------- Growth Score ---------- */
.score-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(32px, 6vw, 72px); align-items: center; }
.score-intro .section-sub { margin-bottom: 24px; }
.score-perks { display: grid; gap: 10px; }
.score-perks li { display: flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 500; }
.score-perks .ic { color: var(--gold-600); }

.quiz { background: var(--card); border: 1px solid var(--gold-300); border-radius: 24px; padding: clamp(24px, 4vw, 40px); box-shadow: var(--shadow); min-height: 380px; display: grid; align-content: center; }
.quiz [hidden] { display: none; }
.quiz-start { text-align: center; display: grid; justify-items: center; gap: 6px; }
.quiz-start p { color: var(--muted); max-width: 340px; }
.quiz-gauge { width: 120px; height: 120px; border-radius: 50%; display: grid; place-content: center; text-align: center; margin-bottom: 14px; background: conic-gradient(var(--gold-400) 0 35%, var(--green-700) 35% 70%, var(--line) 70%); position: relative; }
.quiz-gauge::before { content: ""; position: absolute; inset: 10px; border-radius: 50%; background: var(--card); }
.quiz-gauge span, .quiz-gauge small { position: relative; }
.quiz-gauge span { font: 800 2.2rem/1 var(--font-display); color: var(--green-800); }
.quiz-gauge small { font-size: .8rem; color: var(--muted); }

.quiz-q { animation: stepIn .3s ease; }
.quiz-top { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; font-size: .82rem; font-weight: 600; color: var(--gold-700); white-space: nowrap; }
.quiz-bar { flex: 1; height: 6px; border-radius: 6px; background: var(--line); overflow: hidden; }
.quiz-bar i { display: block; height: 100%; width: 0; background: var(--grad); border-radius: 6px; transition: width .35s ease; }
.quiz-q h3 { font-size: clamp(1.25rem, 1.1rem + .6vw, 1.55rem); line-height: 1.3; margin-bottom: 8px; }
.quiz-hint { color: var(--muted); font-size: .92rem; min-height: 1.4em; }
.quiz-answers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 18px; }
.quiz-ans { font: 600 1rem/1 var(--font-body); padding: 16px 10px; border-radius: 14px; border: 1.5px solid var(--line); background: var(--bg); color: var(--ink); cursor: pointer; transition: all .18s; }
.quiz-ans:hover { border-color: var(--gold-400); transform: translateY(-2px); }
.quiz-ans[data-ans="yes"]:hover { background: #eef4ee; border-color: var(--green-600); }
.quiz-ans.picked { background: var(--green-800); border-color: var(--green-800); color: var(--ivory); }

.quiz-result { animation: stepIn .35s ease; }
.result-top { position: relative; width: 132px; height: 132px; margin-bottom: 14px; }
.ring { width: 132px; height: 132px; transform: rotate(-90deg); }
.ring circle { fill: none; stroke-width: 10; }
.ring-bg { stroke: var(--line); }
.ring-fg { stroke: var(--gold-500); stroke-linecap: round; stroke-dasharray: 326.7; stroke-dashoffset: 326.7; transition: stroke-dashoffset 1.2s cubic-bezier(.2,.8,.2,1), stroke .3s; }
.ring-fg.good { stroke: var(--green-600); }
.ring-fg.low { stroke: #b4412f; }
.ring-num { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.ring-num strong { font: 800 2.4rem/1 var(--font-display); color: var(--ink); }
.ring-num small { font-size: .8rem; color: var(--muted); }
.quiz-result h3 { font-size: 1.4rem; }
.quiz-result > p { color: var(--muted); }
.fix-list { display: grid; gap: 10px; margin: 18px 0 22px; counter-reset: fx; }
.fix-list li { counter-increment: fx; display: grid; grid-template-columns: 30px 1fr; gap: 12px; padding: 14px; border-radius: 14px; background: var(--bg); border: 1px solid var(--line); }
.fix-list li::before { content: counter(fx); width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: .85rem; background: var(--grad); color: var(--green-950); }
.fix-list strong { display: block; color: var(--ink); font-size: .98rem; }
.fix-list span { display: block; font-size: .86rem; color: var(--muted); margin-top: 2px; }
.fix-list em { font-style: normal; font-size: .76rem; font-weight: 600; color: var(--green-700); text-transform: uppercase; letter-spacing: .06em; }
.quiz-retake { margin-top: 14px; background: none; border: 0; color: var(--gold-700); font: 600 .9rem/1 var(--font-body); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; padding: 6px 0; justify-self: start; }
@media (max-width: 920px) { .score-grid { grid-template-columns: 1fr; } }
@media (max-width: 420px) { .quiz-answers { grid-template-columns: 1fr; } }

/* ---------- Mobile sticky CTA ---------- */
.mobile-cta { display: none; }
@media (max-width: 720px) {
  .mobile-cta {
    display: flex; gap: 10px; align-items: center;
    position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 95;
    padding: 8px; border-radius: 999px;
    background: rgba(10, 35, 26, .94); border: 1px solid rgba(212, 180, 131, .35);
    backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
    box-shadow: var(--shadow-lg);
    transform: translateY(140%); transition: transform .35s ease;
  }
  .mobile-cta.show { transform: none; }
  .mobile-cta .btn { flex: 1; padding: 13px 18px; }
  .mc-wa { width: 46px; height: 46px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--green-wa); color: var(--ivory); font-size: 1.35rem; }
  .wa-float { display: none; }
  .footer { padding-bottom: 96px; }
}

/* =========================================================
   Creative studio + team
   ========================================================= */
.team-label { margin: 26px 0 0 !important; font: 600 .76rem/1 var(--font-body); letter-spacing: .14em; text-transform: uppercase; color: var(--gold-700) !important; }
.founders { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 860px) { .founders { grid-template-columns: 1fr; } }
.founder-links a .ic { width: 1em; height: 1em; }

.creative { background: var(--bg); }
.creative-head { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: end; margin-bottom: 40px; }
.creative-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.creative-stats > div { padding: 18px 20px; border-radius: 18px; background: linear-gradient(160deg, var(--green-900), var(--green-700)); border: 1px solid rgba(212, 180, 131, .3); }
.creative-stats strong { display: block; font: 800 clamp(1.6rem, 1.3rem + 1vw, 2.1rem)/1.1 var(--font-display); background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.creative-stats span { display: block; margin-top: 4px; font-size: .84rem; color: var(--on-dark); line-height: 1.35; }
.creative-stats-note { grid-column: 1 / -1; margin: 2px 0 0; font-size: .8rem; color: var(--muted); }

.social-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 0 0 56px; counter-reset: ss; }
.social-steps li { counter-increment: ss; display: flex; gap: 12px; align-items: flex-start; padding: 18px; border-radius: 16px; background: var(--card); border: 1px solid var(--line); position: relative; }
.social-steps li::after { content: "0" counter(ss); position: absolute; top: 14px; right: 16px; font: 800 1.1rem/1 var(--font-display); color: var(--gold-300); }
.ss-ic { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; flex: none; background: var(--gold-200); color: var(--gold-700); font-size: 1.1rem; }
.social-steps strong { display: block; font: 600 1rem/1.3 var(--font-display); color: var(--ink); }
.social-steps small { display: block; margin-top: 3px; font-size: .86rem; line-height: 1.4; color: var(--muted); }

.cwork-title { font-size: clamp(1.3rem, 1.1rem + .7vw, 1.7rem); margin-bottom: 20px; }
.cwork-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.cwork { display: flex; flex-direction: column; border-radius: 20px; overflow: hidden; background: var(--card); border: 1px solid var(--line); transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.cwork:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--gold-400); }
.cwork-feature { grid-column: span 1; }
.cwork-grid .cwork-feature:first-child { grid-column: span 2; flex-direction: row; }
.cwork-grid .cwork-feature:first-child .frame { flex: 1.3; border-radius: 0; border: 0; box-shadow: none; }
.cwork-grid .cwork-feature:first-child .cwork-body { flex: 1; justify-content: center; }
.cwork-feature .frame img { aspect-ratio: 16 / 10; }
.cwork-grid .cwork-feature:first-child .frame { display: flex; flex-direction: column; }
.cwork-grid .cwork-feature:first-child .frame { background: #0b0e17; }
.cwork-grid .cwork-feature:first-child .frame img { flex: 1; min-height: 0; height: 100%; object-fit: contain; object-position: center; }
@media (max-width: 640px) { .cwork-grid .cwork-feature:first-child .frame img { height: auto; flex: none; } }
.cwork-thumb {
  height: 168px;
  position: relative;
  overflow: hidden;
  background: #0b0e17;
}
.cwork-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .4s cubic-bezier(.2, .8, .2, 1);
}
.cwork:hover .cwork-thumb img {
  transform: scale(1.06);
}
.cwork-play-badge {
  position: absolute;
  right: 12px;
  bottom: 12px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(11, 14, 23, 0.78);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: var(--gold-300);
  display: grid;
  place-items: center;
  transition: transform .25s ease, background .25s ease, color .25s ease, border-color .25s ease;
  pointer-events: none;
}
.cwork-play-badge .ic {
  width: 13px;
  height: 13px;
  margin-left: 2px;
  stroke-width: 2;
}
.cwork:hover .cwork-play-badge {
  transform: scale(1.1);
  background: var(--gold-400);
  color: var(--green-950);
  border-color: var(--gold-400);
}
.cwork-camera-badge {
  position: absolute;
  right: 12px;
  bottom: 12px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(11, 14, 23, 0.78);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: var(--gold-300);
  display: grid;
  place-items: center;
  transition: transform .25s ease, background .25s ease, color .25s ease, border-color .25s ease;
  pointer-events: none;
}
.cwork-camera-badge .ic {
  width: 15px;
  height: 15px;
  stroke-width: 1.8;
}
.cwork:hover .cwork-camera-badge {
  transform: scale(1.1);
  background: var(--gold-400);
  color: var(--green-950);
  border-color: var(--gold-400);
}
.cwork-feature.cwork-photo .frame { border-radius: 0; border: 0; box-shadow: none; }
.cwork-feature.cwork-photo .frame img { aspect-ratio: 16 / 10; width: 100%; object-fit: cover; }

.cwork-art { height: 132px; display: grid; place-items: center; font-size: 2.4rem; position: relative; overflow: hidden; }
.cwork-art::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.12) 1px, transparent 1px); background-size: 16px 16px; }
.cwork-art .ic { position: relative; stroke-width: 1.5; }
.art-1 { background: linear-gradient(135deg, var(--green-950), var(--green-700)); color: var(--gold-400); }
.art-2 { background: var(--grad); color: var(--green-900); }
.art-3 { background: linear-gradient(135deg, #2b2a26, #5a4a2e); color: var(--gold-300); }
.art-4 { background: linear-gradient(135deg, var(--green-800), #3c6b55); color: var(--ivory); }
.art-5 { background: linear-gradient(135deg, var(--gold-200), var(--gold-400)); color: var(--green-800); }
.art-6 { background: linear-gradient(135deg, #10261d, #263f33); color: var(--gold-400); }
.cwork-body { display: flex; flex-direction: column; gap: 6px; padding: 18px 20px 20px; flex: 1; }
.cwork-tags { font-size: .74rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--gold-700); }
.cwork h4 { font-size: 1.1rem; margin: 2px 0 2px; }
.cwork p { margin: 0; font-size: .9rem; color: var(--muted); flex: 1; }
.cwork-by { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; font-size: .86rem; font-weight: 600; color: var(--green-700); }

.photo-art { position: relative; height: 100%; min-height: 200px; display: grid; place-content: center; justify-items: center; gap: 12px; padding: 24px; overflow: hidden;
  background: radial-gradient(circle at 30% 20%, rgba(212, 180, 131, .35), transparent 55%), linear-gradient(150deg, var(--green-950), var(--green-800)); }
.photo-mono { font: 800 3.4rem/1 var(--font-display); letter-spacing: -.04em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.photo-cats { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.photo-cats b { font: 600 .72rem/1 var(--font-body); letter-spacing: .08em; text-transform: uppercase; padding: 6px 10px; border-radius: 999px; border: 1px solid rgba(212, 180, 131, .45); color: var(--gold-300); }
.photo-ic { position: absolute; right: -14px; bottom: -18px; font-size: 7rem; color: rgba(212, 180, 131, .12); stroke-width: 1.2; }

.creative-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px; margin-top: 36px; padding: 22px 26px; border-radius: 20px; background: var(--gold-200); border: 1px solid var(--gold-300); }
.creative-cta p { margin: 0; color: var(--ink); }

@media (max-width: 980px) {
  .creative-head { grid-template-columns: 1fr; }
  .social-steps { grid-template-columns: repeat(2, 1fr); }
  .cwork-grid { grid-template-columns: repeat(2, 1fr); }
  .cwork-grid .cwork-feature:first-child { grid-column: span 2; }
}
@media (max-width: 640px) {
  .social-steps, .cwork-grid { grid-template-columns: 1fr; }
  .cwork-grid .cwork-feature:first-child { grid-column: auto; flex-direction: column; }
  .cwork-thumb { height: 190px; }
}

/* Planner: odd last option spans the full row */
@media (min-width: 601px) { .opt-grid:not(.opt-grid-3) > .opt-card:last-child:nth-child(odd) { grid-column: 1 / -1; } }

/* ---------- Co-founder toolkit ---------- */
.founder-wide { grid-column: 1 / -1; }
.toolkit { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px 24px; margin-top: 14px; }
.tk-group { display: grid; gap: 8px; align-content: start; }
.tk-label { font: 600 .72rem/1 var(--font-body); letter-spacing: .12em; text-transform: uppercase; color: var(--gold-700); }
.tk-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tk-tags span { font-size: .8rem; font-weight: 500; padding: 5px 10px; border-radius: 8px; background: var(--bg); color: var(--body); border: 1px solid var(--line); }
@media (max-width: 700px) { .toolkit { grid-template-columns: 1fr; } }

@media (max-width: 520px) {
  .founder { flex-direction: column; gap: 12px; padding: 16px; }
  .about-card { padding: 22px 16px; }
}

/* ---------- Product photography: collage, gallery, lightbox ---------- */
.photo-collage { height: auto; aspect-ratio: 16 / 9; background: var(--green-900); }
.photo-collage img { width: 100%; height: 100%; object-fit: cover; }
.service-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; font-size: .88rem; font-weight: 600; color: var(--green-700); }
.service-link:hover { text-decoration: underline; text-underline-offset: 3px; }

.pgallery-wrap { margin-top: 64px; scroll-margin-top: calc(var(--header-h) + 16px); }
.pgallery-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 24px; margin-bottom: 22px; }
.pgallery-head h3 { font-size: clamp(1.3rem, 1.1rem + .7vw, 1.7rem); margin-bottom: 6px; }
.pgallery-head p:not(.eyebrow) { margin: 0; color: var(--muted); max-width: 560px; }
.pgallery-head .eyebrow { margin-bottom: 10px; }
.pgallery { columns: 4 220px; column-gap: 14px; }
.pg-item { display: block; margin-bottom: 14px; break-inside: avoid; border-radius: 14px; overflow: hidden; background: var(--tint); position: relative; cursor: zoom-in; }
.pg-item img { width: 100%; height: auto; transition: transform .5s ease; }
.pg-item::after { content: ""; position: absolute; inset: 0; border-radius: 14px; box-shadow: inset 0 0 0 1px rgba(14, 47, 35, .08); transition: box-shadow .25s; }
.pg-item:hover img { transform: scale(1.04); }
.pg-item:hover::after { box-shadow: inset 0 0 0 2px var(--gold-400); }
@media (max-width: 520px) { .pgallery { columns: 2; column-gap: 10px; } .pg-item { margin-bottom: 10px; } }

.lightbox { width: 100vw; height: 100vh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(6, 20, 15, .98); color: var(--ivory); }
.lightbox[open] { display: grid; grid-template-columns: 64px 1fr 64px; align-items: center; }
.lightbox::backdrop { background: rgba(6, 20, 15, .9); }
.lightbox figure { margin: 0; display: grid; justify-items: center; gap: 12px; padding: 56px 0 24px; min-width: 0; }
.lightbox img { max-width: 100%; max-height: calc(100vh - 120px); width: auto; height: auto; border-radius: 10px; box-shadow: var(--shadow-lg); }
.lightbox figcaption { font-size: .9rem; color: var(--gold-300); }
.lb-btn { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; justify-self: center; border: 1px solid rgba(212, 180, 131, .4); background: rgba(251, 248, 241, .06); color: var(--ivory); font-size: 1.3rem; cursor: pointer; transition: background .2s; }
.lb-btn:hover { background: rgba(212, 180, 131, .25); }
.lb-prev .ic { transform: rotate(180deg); }
.lb-close { position: absolute; top: 14px; right: 14px; }
@media (max-width: 600px) {
  .lightbox[open] { grid-template-columns: 1fr; }
  .lb-prev, .lb-next { position: absolute; bottom: 18px; }
  .lb-prev { left: calc(50% - 60px); }
  .lb-next { right: calc(50% - 60px); }
  .lightbox figure { padding: 60px 12px 90px; }
  .lightbox img { max-height: calc(100vh - 170px); }
}
