/* ============================================================
   Keller Edmilson — design tokens
   Page theme: locked dark ("Black and Gold" family — true black + warm
   card surfaces + one amber/gold accent). No em-dashes anywhere in copy.
   One accent color, one corner-radius scale (14px soft / full-pill on
   interactive), applied identically across every section.
   ============================================================ */

:root{
  --bg: #050505;
  --bg-1: #0c0b09;
  --bg-2: #14110c;
  --ink: #f7f5f0;
  --ink-soft: #b6b0a4;
  --ink-faint: #6b6459;
  --line: rgba(242,185,12,0.14);
  --line-strong: rgba(242,185,12,0.30);
  --accent: #f2b90c;
  --accent-2: #d6960e;
  --accent-ink: #1b1300;
  --radius: 14px;
  --radius-pill: 999px;
  --shadow: 0 1px 0 rgba(255,255,255,0.04) inset, 0 24px 60px rgba(0,0,0,0.55);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

*{ box-sizing: border-box; }
html{ background: var(--bg); }
body{
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Plus Jakarta Sans",-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
::selection{ background: var(--accent); color: #fff; }
a{ color: inherit; text-decoration: none; }
img{ max-width: 100%; display: block; }
button{ font: inherit; }

h1,h2,h3{
  font-family: "Baloo 2","Plus Jakarta Sans",-apple-system,sans-serif;
  font-weight: 800;
  letter-spacing: -0.005em;
  line-height: 1.05;
  text-transform: uppercase;
  margin: 0;
  text-wrap: balance;
}
.mono{
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  font-variant-numeric: tabular-nums;
}

.wrap{ max-width: 1240px; margin: 0 auto; padding-inline: 28px; }
@media (max-width: 640px){ .wrap{ padding-inline: 20px; } }

section{ position: relative; padding-block: clamp(72px, 11vw, 160px); }

/* grain (fixed, pointer-events none — never on a scrolling container) */
.grain{
  position: fixed; inset: 0; z-index: 3; pointer-events: none; opacity: .035; mix-blend-mode: overlay;
}

/* progress */
.progress{ position: fixed; top: 0; left: 0; height: 2px; background: var(--accent); width: 0%; z-index: 100; }

.eyebrow{
  font-family: "JetBrains Mono", monospace; font-size: 12px; letter-spacing: .14em;
  text-transform: uppercase; color: var(--accent); margin: 0 0 18px;
  display: inline-flex; align-items: center; gap: 10px;
}
.eyebrow::before{
  content: ""; width: 7px; height: 7px; border-radius: 2px; background: var(--accent); display: inline-block;
}

/* ---------- nav ---------- */
header.site{
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  height: 72px; display: flex; align-items: center;
}
.nav-bg{
  position: absolute; inset: 0; background: rgba(8,9,11,0.0);
  border-bottom: 1px solid transparent; backdrop-filter: blur(0px);
  transition: background .35s var(--ease), border-color .35s var(--ease), backdrop-filter .35s var(--ease);
}
header.site.scrolled .nav-bg{
  background: rgba(8,9,11,0.72); border-color: var(--line); backdrop-filter: blur(16px);
}
.nav{ display: flex; align-items: center; justify-content: space-between; gap: 14px; width: 100%; position: relative; }
.brand{ display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 17px; letter-spacing: -0.01em; text-transform: none; }
.brand .mark{
  width: 30px; height: 30px; border-radius: 8px;
  background: linear-gradient(160deg, #ffd75e, var(--accent-2));
  display: flex; align-items: center; justify-content: center;
  font-family: "JetBrains Mono", monospace; font-weight: 700; font-size: 12px; color: var(--accent-ink);
}
.navlinks{ display: flex; align-items: center; font-size: 13px; font-weight: 600; letter-spacing: .03em; text-transform: uppercase; color: var(--ink-soft); }
.navlinks .links{ display: flex; align-items: center; gap: 32px; }
.navlinks a{ position: relative; }
.navlinks a::after{
  content: ""; position: absolute; left: 0; right: 0; bottom: -5px; height: 1px;
  background: var(--ink); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.navlinks a:hover{ color: var(--ink); }
.navlinks a:hover::after{ transform: scaleX(1); }
@media (max-width: 780px){ .navlinks .links{ display: none; } }
@media (max-width: 480px){
  .brand{ font-size: 13px; white-space: nowrap; flex-shrink: 0; }
  header.site .btn-primary{ padding: 0; width: 42px; height: 42px; border-radius: 50%; flex-shrink: 0; justify-content: center; }
  header.site .btn-primary span.label{ display: none; }
  header.site .btn-primary i{ font-size: 19px; }
}

.btn{
  display: inline-flex; align-items: center; gap: 9px;
  padding: 13px 26px; border-radius: var(--radius-pill);
  font-size: 13.5px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; white-space: nowrap;
  border: 1px solid transparent; cursor: pointer;
  transition: transform .18s var(--ease), box-shadow .18s var(--ease), background .18s var(--ease);
}
.btn:active{ transform: scale(0.97); }
.btn-primary{
  background: linear-gradient(180deg, #ffd75e, var(--accent) 45%, var(--accent-2));
  color: var(--accent-ink); box-shadow: 0 10px 26px rgba(242,185,12,0.28);
}
.btn-primary:hover{ box-shadow: 0 14px 34px rgba(242,185,12,0.4); }
.btn-primary i{ font-size: 17px; }
.btn-ghost{ border-color: var(--line-strong); color: var(--ink); }
.btn-ghost:hover{ border-color: var(--accent); color: var(--accent); }
.magnetic{ display: inline-block; }

/* ---------- hero ---------- */
.hero{
  min-height: 100dvh; display: flex; align-items: center; padding-top: 96px; padding-bottom: 64px;
}
.hero .wrap{ width: 100%; }
.hero-grid{ display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 64px; align-items: center; }
@media (max-width: 900px){ .hero-grid{ grid-template-columns: 1fr; gap: 40px; } }

.hero-copy .eyebrow{ opacity: 0; }
.split-line{ overflow: hidden; }
.split-line span{ display: inline-block; will-change: transform; }
.hero h1{ font-size: clamp(38px, 6vw, 68px); }
.hero h1 i{ font-style: normal; color: var(--accent); }
.hero p.lead{ margin-top: 24px; font-size: 18px; color: var(--ink-soft); max-width: 46ch; opacity: 0; }
.hero-cta{ margin-top: 36px; opacity: 0; }

.hero-visual{ position: relative; border-radius: 22px; overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 3/4; opacity: 0; }
.hero-visual img{ width: 100%; height: 112%; object-fit: cover; display: block; will-change: transform; }
.hero-visual::after{ content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8,9,11,0) 45%, rgba(8,9,11,0.55)); }
.hero-visual .cap{ position: absolute; left: 20px; bottom: 18px; font-size: 12.5px; color: rgba(255,255,255,.8); font-family: "JetBrains Mono", monospace; z-index: 2; }

/* ---------- marquee (max one per page) ---------- */
.marquee-band{ border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding-block: 26px; overflow: hidden; }
.marquee-track{ display: flex; gap: 64px; width: max-content; animation: scrollx 30s linear infinite; }
@media (prefers-reduced-motion: reduce){ .marquee-track{ animation-duration: 120s; } }
@keyframes scrollx{ from{ transform: translateX(0); } to{ transform: translateX(-50%); } }
.marquee-track .item{ display: flex; align-items: center; gap: 64px; font-size: 20px; color: var(--ink-faint); text-transform: uppercase; letter-spacing: .02em; }
.marquee-track .item b{ color: var(--ink-soft); font-weight: 700; font-family: "Baloo 2","Plus Jakarta Sans",sans-serif; }
.marquee-track .item i{ color: var(--accent); font-size: 8px; }

/* ---------- reveal ---------- */
.reveal{ opacity: 0; transform: translateY(30px); }

/* ---------- about (single split layout) ---------- */
.about-grid{ display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 64px; align-items: center; }
@media (max-width: 880px){ .about-grid{ grid-template-columns: 1fr; gap: 36px; } }
.about-photo{ border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 3/4; }
.about-photo img{ width: 100%; height: 100%; object-fit: cover; }
.about-copy h2{ font-size: clamp(28px, 4vw, 42px); }
.about-copy p{ margin-top: 20px; font-size: 17px; color: var(--ink-soft); max-width: 58ch; }
.tags{ display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.tag{ border: 1px solid var(--line-strong); padding: 9px 16px; border-radius: var(--radius-pill); font-size: 12px; font-family: "JetBrains Mono", monospace; letter-spacing: .02em; text-transform: uppercase; color: var(--ink-soft); }

/* ---------- services (bento, N cells = N items) ---------- */
.sec-head{ max-width: 620px; margin-bottom: 48px; }
.sec-head h2{ font-size: clamp(28px, 4vw, 42px); }
.bento{ display: grid; grid-template-columns: repeat(4, 1fr); grid-template-rows: repeat(2, minmax(200px,1fr)); gap: 16px; }
.bento .cell{
  border: 1px solid var(--line); border-radius: var(--radius); padding: 30px;
  display: flex; flex-direction: column; justify-content: flex-start; gap: 18px; position: relative; overflow: hidden;
}
.bento .cell > div{ display: flex; flex-direction: column; }
.bento .cell.c1{ grid-column: span 2; grid-row: span 2; background: linear-gradient(155deg, var(--bg-2), var(--bg-1)); }
.bento .cell.c2{ grid-column: span 2; grid-row: span 1; background: var(--bg-1); }
.bento .cell.c3{ grid-column: span 1; grid-row: span 1; background: var(--bg-1); }
.bento .cell.c4{ grid-column: span 1; grid-row: span 1; background: linear-gradient(155deg, rgba(242,185,12,0.10), var(--bg-1)); }
.bento .cell i.ico{
  width: 50px; height: 50px; display: inline-flex; align-items: center; justify-content: center;
  font-size: 21px; color: var(--accent); border: 1px solid var(--line-strong); border-radius: 12px;
  background: rgba(242,185,12,0.06);
}
.bento .cell h3{ font-size: 18px; margin-top: 18px; letter-spacing: 0; }
.bento .cell.c1 h3{ font-size: 23px; }
.bento .cell p{ margin: 10px 0 0; font-size: 14.5px; color: var(--ink-soft); text-transform: none; }
@media (max-width: 860px){
  .bento{ grid-template-columns: 1fr; grid-template-rows: none; }
  .bento .cell.c1, .bento .cell.c2{ grid-column: span 1; }
}

/* ---------- method (horizontal pan) ---------- */
.method-pin{ position: relative; }
.method-head{ margin-bottom: 44px; }
.method-viewport{ overflow: hidden; }
.method-track{ display: flex; gap: 24px; will-change: transform; padding-right: 28px; }
.m-card{
  flex: 0 0 auto; width: min(460px, 78vw); min-height: 320px;
  border: 1px solid var(--line); border-radius: var(--radius); padding: 40px;
  background: var(--bg-1); display: flex; flex-direction: column; justify-content: space-between;
}
.m-card .num{
  display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px;
  font-family: "JetBrains Mono", monospace; font-size: 13px; color: var(--accent);
  border: 1px solid var(--line-strong); border-radius: 11px; background: rgba(242,185,12,0.06);
}
.m-card h3{ font-size: 21px; margin-top: 22px; letter-spacing: 0; }
.m-card p{ margin-top: 14px; color: var(--ink-soft); font-size: 15.5px; }

/* ---------- gallery (asymmetric, real photos) ---------- */
.gallery{ display: grid; grid-template-columns: 1.3fr 1fr; grid-template-rows: repeat(2, minmax(180px,1fr)); gap: 16px; }
.gallery .shot{ position: relative; border-radius: var(--radius); overflow: hidden; }
.gallery .shot img{ width: 100%; height: 100%; object-fit: cover; }
.gallery .shot.g1{ grid-row: span 2; }
.gallery .shot.g2{ }
.gallery .shot.g3{ }
.gallery .shot .cap{
  position: absolute; left: 16px; bottom: 14px; font-size: 12.5px; color: rgba(255,255,255,.85);
}
.gallery .shot::after{ content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0,0,0,.5), rgba(0,0,0,0) 45%); }
@media (max-width: 780px){ .gallery{ grid-template-columns: 1fr; grid-template-rows: none; } .gallery .shot.g1{ grid-row: auto; } .gallery .shot{ aspect-ratio: 4/3; } }

/* ---------- credentials (plain row, no cards) ---------- */
.cred-row{ display: flex; gap: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.cred{ flex: 1; padding: 28px 24px; display: flex; flex-direction: column; gap: 10px; }
.cred + .cred{ border-left: 1px solid var(--line); }
.cred i{ font-size: 22px; color: var(--accent); }
.cred .t{ font-size: 15px; font-weight: 700; text-transform: uppercase; letter-spacing: .01em; }
.cred .s{ font-size: 13px; color: var(--ink-soft); }
@media (max-width: 780px){ .cred-row{ flex-direction: column; } .cred + .cred{ border-left: none; border-top: 1px solid var(--line); } }

/* ---------- final cta ---------- */
.final{
  position: relative; border-radius: 24px; margin-inline: 28px; overflow: hidden;
  padding: clamp(56px, 9vw, 120px) 28px; text-align: center;
  background: radial-gradient(circle at 50% -10%, rgba(242,185,12,0.24), transparent 60%), var(--bg-1);
  border: 1px solid var(--line);
}
@media (max-width: 640px){ .final{ margin-inline: 16px; } }
.final h2{ font-size: clamp(30px, 5vw, 52px); max-width: 18ch; margin: 0 auto; }
.final p{ margin: 18px auto 0; color: var(--ink-soft); font-size: 17px; max-width: 46ch; }
.final .hero-cta{ opacity: 1; margin-top: 34px; }

footer{ padding-block: 40px; border-top: 1px solid var(--line); }
.foot-row{ display: flex; justify-content: space-between; flex-wrap: wrap; gap: 14px; font-size: 13px; color: var(--ink-soft); }
.foot-row a:hover{ color: var(--ink); }
.foot-contacts{ display: flex; gap: 20px; flex-wrap: wrap; }

.wa-float{
  position: fixed; right: 22px; bottom: 22px; z-index: 60;
  width: 58px; height: 58px; border-radius: 50%;
  background: linear-gradient(160deg, #ffd75e, var(--accent-2));
  display: flex; align-items: center; justify-content: center; color: var(--accent-ink);
  box-shadow: 0 14px 30px rgba(242,185,12,0.4);
}
.wa-float i{ font-size: 26px; }

@media (prefers-reduced-motion: reduce){
  .marquee-track{ animation: none; }
}
