/* ================================================================
   GK Data Theme — main.css
   Terminal-editorial aesthetic: dark bg, Fraunces serif display,
   JetBrains Mono UI, signal-orange accent.
   ================================================================ */

:root {
  --bg:        #0a0a0a;
  --bg-2:      #111111;
  --bg-3:      #161616;
  --line:      #1f1f1f;
  --line-2:    #2a2a2a;
  --ink:       #e8e6e0;
  --ink-dim:   #8a8780;
  --ink-faint: #4a4842;
  --accent:    #d24d2d;
  --accent-2:  #8fb339;
  --warn:      #e8b84a;
  --mono:      'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  --serif:     'Fraunces', 'Iowan Old Style', 'Palatino', serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--mono);
  font-size: 14px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  position: relative;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    repeating-linear-gradient(
      0deg,
      rgba(255,255,255,0.015) 0px,
      rgba(255,255,255,0.015) 1px,
      transparent 1px,
      transparent 3px
    );
  z-index: 1000;
  mix-blend-mode: overlay;
}
a { color: inherit; text-decoration: none; }
code { font-family: var(--mono); color: var(--accent-2); background: rgba(143,179,57,0.08); padding: 1px 5px; border-radius: 2px; font-size: 0.9em; }

/* === NAV === */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 52px;
  background: rgba(10,10,10,0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 32px;
  font-size: 12px;
}
.nav__brand { display: flex; align-items: center; gap: 10px; font-weight: 700; letter-spacing: 0.04em; }
.nav__brand .dot {
  width: 8px; height: 8px;
  background: var(--accent-2);
  border-radius: 50%;
  box-shadow: 0 0 12px var(--accent-2);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.85); }
}
.nav__links { display: flex; gap: 28px; color: var(--ink-dim); }
.nav__links a { transition: color 0.2s; position: relative; }
.nav__links a::before { content: "./"; color: var(--ink-faint); margin-right: 2px; }
.nav__links a:hover { color: var(--accent); }
.nav__status { display: flex; align-items: center; gap: 8px; color: var(--ink-dim); }

/* === MOBILE NAV TOGGLE (hamburger) === */
.nav__toggle {
  display: none;  /* shown only on mobile via media query */
  width: 36px;
  height: 36px;
  background: transparent;
  border: 1px solid var(--line-2);
  cursor: pointer;
  padding: 0;
  position: relative;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
  transition: border-color 0.2s;
}
.nav__toggle:hover { border-color: var(--accent); }
.nav__toggle-bar {
  display: block;
  width: 16px;
  height: 1.5px;
  background: var(--ink);
  transition: transform 0.3s ease, opacity 0.2s ease;
  transform-origin: center;
}
/* Active (X) state */
body.nav-open .nav__toggle-bar:nth-child(1) { transform: translateY(5.5px) rotate(45deg); background: var(--accent); }
body.nav-open .nav__toggle-bar:nth-child(2) { opacity: 0; }
body.nav-open .nav__toggle-bar:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); background: var(--accent); }
body.nav-open .nav__toggle { border-color: var(--accent); }

/* === MOBILE NAV OVERLAY === */
.nav-mobile {
  position: fixed;
  inset: 0;
  background: var(--bg);
  z-index: 99;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  overflow-y: auto;
}
.nav-mobile::before {
  /* background grid matching the hero */
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 60px 60px;
  opacity: 0.3;
  pointer-events: none;
}
body.nav-open .nav-mobile {
  opacity: 1;
  pointer-events: auto;
}
.nav-mobile__inner {
  position: relative;
  min-height: 100%;
  padding: 80px 32px 40px;
  display: flex;
  flex-direction: column;
}
.nav-mobile__header {
  margin-bottom: 32px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}
.nav-mobile__links {
  display: flex;
  flex-direction: column;
  gap: 0;
  flex: 1;
}
.nav-mobile__links a {
  display: flex;
  align-items: baseline;
  gap: 20px;
  font-family: var(--serif);
  font-weight: 400;
  font-size: 32px;
  letter-spacing: -0.02em;
  color: var(--ink);
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  transition: color 0.2s, padding-left 0.2s;
  text-transform: lowercase;
  /* stagger in */
  opacity: 0;
  transform: translateY(10px);
}
body.nav-open .nav-mobile__links a {
  opacity: 1;
  transform: translateY(0);
  transition: color 0.2s, padding-left 0.2s, opacity 0.4s ease, transform 0.4s ease;
}
body.nav-open .nav-mobile__links a:nth-child(1) { transition-delay: 0.08s, 0.08s, 0.08s, 0.08s; }
body.nav-open .nav-mobile__links a:nth-child(2) { transition-delay: 0.12s, 0.12s, 0.12s, 0.12s; }
body.nav-open .nav-mobile__links a:nth-child(3) { transition-delay: 0.16s, 0.16s, 0.16s, 0.16s; }
body.nav-open .nav-mobile__links a:nth-child(4) { transition-delay: 0.20s, 0.20s, 0.20s, 0.20s; }
body.nav-open .nav-mobile__links a:nth-child(5) { transition-delay: 0.24s, 0.24s, 0.24s, 0.24s; }
body.nav-open .nav-mobile__links a:nth-child(6) { transition-delay: 0.28s, 0.28s, 0.28s, 0.28s; }
body.nav-open .nav-mobile__links a:nth-child(7) { transition-delay: 0.32s, 0.32s, 0.32s, 0.32s; }
body.nav-open .nav-mobile__links a:nth-child(8) { transition-delay: 0.36s, 0.36s, 0.36s, 0.36s; }
.nav-mobile__links a:hover,
.nav-mobile__links a:active {
  color: var(--accent);
  padding-left: 8px;
}
.nav-mobile__num {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--ink-faint);
  letter-spacing: 0.15em;
  font-weight: 400;
  flex-shrink: 0;
  width: 28px;
}
.nav-mobile__links a:hover .nav-mobile__num,
.nav-mobile__links a:active .nav-mobile__num {
  color: var(--accent);
}
.nav-mobile__footer {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

/* Lock body scroll when nav is open */
body.nav-open { overflow: hidden; }
/* Account for admin bar */
body.admin-bar .nav-mobile { top: 32px; }
@media (max-width: 782px) { body.admin-bar .nav-mobile { top: 46px; } }

/* === LAYOUT === */
main { padding-top: 52px; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 32px; }
.section { border-top: 1px solid var(--line); padding: 100px 0; position: relative; }
.section__label {
  display: flex; align-items: center; gap: 12px;
  font-size: 11px; letter-spacing: 0.2em; color: var(--ink-dim);
  margin-bottom: 40px; text-transform: uppercase;
}
.section__label::before { content: ""; width: 32px; height: 1px; background: var(--accent); }
.section__label .num { color: var(--accent); font-weight: 700; }

/* === HERO === */
.hero {
  min-height: calc(100vh - 52px);
  display: flex; flex-direction: column; justify-content: center;
  padding: 80px 32px 60px;
  position: relative; overflow: hidden;
}
.hero__grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 80px 80px;
  opacity: 0.4;
  mask-image: radial-gradient(ellipse at 30% 50%, black 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at 30% 50%, black 30%, transparent 80%);
}
.hero__inner { position: relative; max-width: 1200px; margin: 0 auto; width: 100%; }
.hero__pre {
  font-size: 11px; letter-spacing: 0.25em; color: var(--ink-dim);
  margin-bottom: 36px; display: flex; align-items: center; gap: 16px;
}
.hero__pre .live { display: inline-flex; align-items: center; gap: 6px; color: var(--accent-2); }
.hero__pre .live::before {
  content: ""; width: 6px; height: 6px;
  background: var(--accent-2); border-radius: 50%;
  box-shadow: 0 0 8px var(--accent-2);
  animation: pulse 1.5s infinite;
}
.hero h1 {
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(48px, 8vw, 112px); line-height: 0.95; letter-spacing: -0.03em;
  margin-bottom: 32px; max-width: 14ch;
}
.hero h1 em { font-style: italic; font-weight: 400; color: var(--accent); }
.hero h1 .strike { position: relative; display: inline-block; color: var(--ink-faint); }
.hero h1 .strike::after {
  content: ""; position: absolute; left: -2%; right: -2%; top: 52%;
  height: 3px; background: var(--accent); transform: rotate(-2deg);
}
.hero__sub { max-width: 54ch; color: var(--ink-dim); font-size: 14px; line-height: 1.75; margin-bottom: 48px; }
.hero__sub strong { color: var(--ink); font-weight: 500; }
.hero__meta {
  display: grid; grid-template-columns: repeat(4, auto); gap: 48px;
  padding: 24px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  max-width: 800px;
}
.hero__meta-item .k { font-size: 10px; letter-spacing: 0.2em; color: var(--ink-faint); text-transform: uppercase; margin-bottom: 6px; }
.hero__meta-item .v { font-family: var(--serif); font-size: 28px; font-weight: 400; color: var(--ink); }
.hero__meta-item .v .accent { color: var(--accent); }
.hero__cta { margin-top: 48px; display: flex; gap: 20px; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px; font-family: var(--mono); font-size: 12px;
  letter-spacing: 0.08em; text-transform: uppercase;
  border: 1px solid var(--line-2); color: var(--ink);
  background: transparent; transition: all 0.2s; cursor: pointer;
}
.btn:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-1px); }
.btn--primary { background: var(--accent); border-color: var(--accent); color: var(--bg); }
.btn--primary:hover { background: transparent; color: var(--accent); }
.btn .arrow { transition: transform 0.2s; }
.btn:hover .arrow { transform: translateX(3px); }

/* === ABOUT === */
.about__grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 80px; align-items: start; }
.about__headline {
  font-family: var(--serif); font-weight: 300;
  font-size: 36px; line-height: 1.2; letter-spacing: -0.01em;
}
.about__headline em { font-style: italic; color: var(--accent); }
.about__body p { margin-bottom: 20px; color: var(--ink-dim); font-size: 14px; line-height: 1.8; }
.about__body p strong { color: var(--ink); font-weight: 500; }
.about__body .about__callout { color: var(--ink); border-left: 2px solid var(--accent); padding-left: 16px; }
.about__tags { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 8px; }
.tag {
  font-size: 10px; letter-spacing: 0.1em; padding: 6px 12px;
  border: 1px solid var(--line-2); color: var(--ink-dim); text-transform: uppercase;
}
.tag.accent { border-color: var(--accent); color: var(--accent); }

/* === HALL OF FAME === */
.hof__intro {
  color: var(--ink-dim);
  max-width: 60ch;
  margin-bottom: 48px;
  line-height: 1.7;
  font-size: 14px;
}

.hof-grid {
  display: grid;
  /* auto-fit with a MAX ensures tiles stay a reasonable size even when there are few —
     a single tile won't stretch across the whole page. minmax(200px, 260px) means
     each tile is between 200px and 260px wide; grid wraps naturally. */
  grid-template-columns: repeat(auto-fit, minmax(200px, 260px));
  gap: 0;
  justify-content: start;   /* left-align; don't distribute extra space */
}
.hof-grid > .hof-item {
  /* Each tile draws its own border so the grid has no phantom empty space */
  border: 1px solid var(--line);
  margin: -1px 0 0 -1px;  /* collapse adjacent borders so they don't double-thick */
}

.hof-item {
  background: var(--bg);
  padding: 32px 24px 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  transition: background 0.25s ease, transform 0.25s ease;
  position: relative;
  min-height: 220px;
}
.hof-item:hover {
  background: var(--bg-2);
}

.hof-item__logo-wrap {
  flex: 1;
  width: 100%;
  max-width: 180px;
  min-height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hof-item__logo {
  max-width: 100%;
  max-height: 80px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  transition: transform 0.3s ease, filter 0.3s ease;
}
.hof-item:hover .hof-item__logo {
  transform: scale(1.05);
}

/* Placeholder when no logo is uploaded */
.hof-item__logo-placeholder {
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-size: 28px;
  color: var(--ink-faint);
  border: 1px dashed var(--line-2);
  letter-spacing: 0.05em;
}
.hof-item--no-logo:hover .hof-item__logo-placeholder {
  color: var(--accent);
  border-color: var(--accent);
}

.hof-item__meta {
  text-align: center;
  width: 100%;
}
.hof-item__name {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 17px;
  color: var(--ink);
  letter-spacing: -0.01em;
  margin-bottom: 6px;
  line-height: 1.3;
}
.hof-item__badge {
  font-size: 9px;
  letter-spacing: 0.18em;
  color: var(--ink-faint);
  text-transform: uppercase;
  padding-top: 8px;
  border-top: 1px solid var(--line);
  margin-top: 6px;
  display: inline-block;
  min-width: 60%;
}
.hof-item:hover .hof-item__badge {
  color: var(--accent);
  border-color: var(--line-2);
}

/* === FINDINGS === */
.finding {
  display: grid; grid-template-columns: 120px 1fr 200px; gap: 48px;
  padding: 36px 0; border-top: 1px solid var(--line);
  align-items: start; transition: background 0.2s, padding 0.2s;
  position: relative;
}
.finding:last-child { border-bottom: 1px solid var(--line); }
.finding:hover { background: var(--bg-2); padding-left: 16px; padding-right: 16px; }
.finding__severity { font-size: 11px; letter-spacing: 0.15em; font-weight: 700; }
.finding__severity.p1 { color: var(--accent); }
.finding__severity.p2 { color: var(--warn); }
.finding__severity.p3 { color: var(--accent-2); }
.finding__severity.p4 { color: var(--ink-dim); }
.finding__severity.p5 { color: var(--ink-faint); }
.finding__severity .dot {
  display: inline-block; width: 6px; height: 6px; border-radius: 50%;
  background: currentColor; margin-right: 8px; vertical-align: middle;
}
.finding__main h3 {
  font-family: var(--serif); font-weight: 400;
  font-size: 24px; margin-bottom: 10px; letter-spacing: -0.01em;
}
.finding__main p, .finding__main div.finding__desc { color: var(--ink-dim); font-size: 13px; line-height: 1.7; max-width: 60ch; }
.finding__main .impact { margin-top: 12px; font-size: 11px; color: var(--accent); letter-spacing: 0.05em; }
.finding__main .impact::before { content: "→ "; color: var(--ink-faint); }
.finding__meta { font-size: 11px; color: var(--ink-dim); text-align: right; }
.finding__meta .k { color: var(--ink-faint); letter-spacing: 0.1em; }
.finding__meta div + div { margin-top: 4px; }
.findings__note {
  margin-top: 48px; padding: 32px; border: 1px dashed var(--line-2);
  color: var(--ink-dim); font-size: 13px; line-height: 1.7;
}
.findings__note strong { color: var(--ink); }

/* === TOOLS === */
.tools { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.tool {
  padding: 32px; border: 1px solid var(--line); background: var(--bg-2);
  transition: all 0.3s; position: relative; overflow: hidden;
}
.tool::before {
  content: ""; position: absolute; top: 0; left: 0;
  height: 2px; width: 0%; background: var(--accent);
  transition: width 0.4s ease;
}
.tool:hover::before { width: 100%; }
.tool:hover { border-color: var(--line-2); transform: translateY(-2px); }
.tool__header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 20px; gap: 16px; }
.tool__name { font-family: var(--serif); font-weight: 400; font-size: 26px; letter-spacing: -0.01em; }
.tool__status {
  font-size: 10px; letter-spacing: 0.15em; padding: 4px 10px;
  border: 1px solid var(--accent-2); color: var(--accent-2);
  white-space: nowrap; flex-shrink: 0;
}
.tool__desc { color: var(--ink-dim); font-size: 13px; line-height: 1.7; margin-bottom: 20px; }
.tool__features { list-style: none; margin-bottom: 24px; }
.tool__features li {
  font-size: 12px; color: var(--ink); padding: 4px 0;
  padding-left: 18px; position: relative;
}
.tool__features li::before { content: "▸"; position: absolute; left: 0; color: var(--accent); }
.tool__link {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 11px; letter-spacing: 0.12em; color: var(--accent);
  text-transform: uppercase; padding-top: 16px; border-top: 1px solid var(--line);
}
.tool__link--static { color: var(--ink-faint); cursor: default; }

/* === ARSENAL === */
.arsenal { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; }
.arsenal__col h4 {
  font-family: var(--serif); font-weight: 400; font-size: 20px;
  margin-bottom: 20px; padding-bottom: 12px;
  border-bottom: 1px solid var(--line-2); color: var(--accent);
}
.arsenal__col ul { list-style: none; }
.arsenal__col li {
  font-size: 13px; padding: 8px 0; color: var(--ink-dim);
  border-bottom: 1px dashed var(--line);
  display: flex; justify-content: space-between;
}
.arsenal__col li:last-child { border-bottom: none; }
.arsenal__col li span { color: var(--ink-faint); font-size: 10px; letter-spacing: 0.1em; }

/* === WRITING === */
.writing { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; border: 1px solid var(--line); }
.post {
  padding: 36px; border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line); transition: background 0.2s;
  display: block;
}
.post:nth-child(2n) { border-right: none; }
.post:nth-last-child(-n+2) { border-bottom: none; }
.post:hover { background: var(--bg-2); }
.post__meta {
  font-size: 10px; letter-spacing: 0.15em; color: var(--ink-faint);
  margin-bottom: 16px; display: flex; gap: 14px;
}
.post__meta .cat { color: var(--accent); }
.post h3 {
  font-family: var(--serif); font-weight: 400; font-size: 26px;
  line-height: 1.25; letter-spacing: -0.01em; margin-bottom: 12px;
}
.post p { color: var(--ink-dim); font-size: 13px; line-height: 1.7; }

/* === CERTS === */
.certs { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }
.cert {
  padding: 20px; border: 1px solid var(--line); background: var(--bg-2);
  display: flex; flex-direction: column; gap: 6px;
}
.cert__name { font-family: var(--serif); font-weight: 400; font-size: 17px; }
.cert__meta { font-size: 10px; color: var(--ink-dim); letter-spacing: 0.08em; }
.cert__id { font-size: 10px; color: var(--ink-faint); margin-top: auto; padding-top: 8px; border-top: 1px solid var(--line); word-break: break-all; }

/* === CONTACT === */
.contact { padding: 140px 0; border-top: 1px solid var(--line); text-align: center; position: relative; }
.contact h2 {
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(40px, 6vw, 72px); line-height: 1.05; letter-spacing: -0.02em;
  margin-bottom: 32px; max-width: 18ch; margin-left: auto; margin-right: auto;
}
.contact h2 em { font-style: italic; color: var(--accent); }
.contact__sub { color: var(--ink-dim); max-width: 50ch; margin: 0 auto 48px; font-size: 14px; line-height: 1.7; }
.contact__email {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--mono); font-size: 18px; color: var(--ink);
  padding: 18px 28px; border: 1px solid var(--line-2); transition: all 0.2s;
}
.contact__email:hover { border-color: var(--accent); color: var(--accent); }
.contact__links {
  margin-top: 48px; display: flex; justify-content: center;
  gap: 32px; flex-wrap: wrap; color: var(--ink-dim);
  font-size: 12px; letter-spacing: 0.1em;
}
.contact__links a { transition: color 0.2s; }
.contact__links a:hover { color: var(--accent); }

/* === FOOTER === */
.site-footer {
  border-top: 1px solid var(--line); padding: 32px;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 11px; color: var(--ink-faint); letter-spacing: 0.1em;
}
.site-footer .ascii { font-size: 9px; line-height: 1.1; color: var(--ink-faint); white-space: pre; }

/* === SINGLE / ARCHIVE === */
.single-post-header, .archive-header { padding: 60px 0 40px; }
.single-post-header h1, .archive-header h1 {
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(32px, 5vw, 56px); line-height: 1.1;
  letter-spacing: -0.02em; max-width: 24ch;
}
.single-post-meta { font-size: 11px; letter-spacing: 0.15em; color: var(--ink-faint); margin-bottom: 20px; text-transform: uppercase; }
.post-content {
  max-width: 72ch; margin: 40px 0 80px;
  font-size: 15px; line-height: 1.8; color: var(--ink);
}
.post-content p { margin-bottom: 1.2em; }
.post-content h2, .post-content h3 {
  font-family: var(--serif); font-weight: 400;
  margin: 2em 0 0.5em; letter-spacing: -0.01em;
}
.post-content h2 { font-size: 32px; }
.post-content h3 { font-size: 24px; color: var(--accent); }
.post-content a { color: var(--accent); border-bottom: 1px solid currentColor; }
.post-content code { color: var(--accent-2); }
.post-content pre {
  background: var(--bg-2); padding: 20px; border: 1px solid var(--line);
  overflow-x: auto; margin: 1.5em 0; font-size: 13px;
}
.post-content blockquote {
  border-left: 2px solid var(--accent); padding-left: 20px;
  margin: 1.5em 0; color: var(--ink-dim); font-style: italic;
}

.archive-list { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); margin-bottom: 80px; }
.archive-item {
  padding: 32px; background: var(--bg); transition: background 0.2s; display: block;
}
.archive-item:hover { background: var(--bg-2); }
.archive-item h2 { font-family: var(--serif); font-weight: 400; font-size: 28px; margin-bottom: 10px; }
.archive-item .meta { font-size: 11px; color: var(--ink-faint); letter-spacing: 0.12em; margin-bottom: 12px; }
.archive-item p { color: var(--ink-dim); font-size: 13px; line-height: 1.7; }

/* === REVEAL ANIM ===
 *
 * Design intent: content fades up on scroll. But if JS doesn't run (LinkedIn
 * in-app webview, slow networks, JS errors elsewhere on the page, or users
 * with reduced motion preferences), content must stay visible.
 *
 * Pattern: visible by default, only hide once JS has marked the page as ready
 * via <html class="js-reveal-ready">. The JS-side guard adds this class
 * synchronously in the <head>, before paint, so there's no flash.
 *
 * If JS never runs, the class never gets added, the rules below never fire,
 * and content displays normally. If JS runs but the IntersectionObserver
 * stalls, a 1500ms timeout in main.js force-adds .in to any remaining
 * .reveal elements.
 */
.reveal { opacity: 1; transform: none; transition: opacity 0.8s ease, transform 0.8s ease; }

.js-reveal-ready .reveal { opacity: 0; transform: translateY(20px); }
.js-reveal-ready .reveal.in { opacity: 1; transform: translateY(0); }

/* Honor user motion preferences — always show content immediately */
@media (prefers-reduced-motion: reduce) {
  .reveal,
  .js-reveal-ready .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* ====================================================================
   v2.0 — MULTI-PAGE STYLES
   ==================================================================== */

/* Active nav state */
.nav__links a.is-active { color: var(--accent); }
.nav__links a.is-active::before { color: var(--accent); }

/* Brand version marker */
.nav__brand-version { color: var(--ink-faint); font-weight: 400; }
.nav__brand:hover .dot { box-shadow: 0 0 16px var(--accent-2); }

/* Page wrappers */
.page-wrap {
  padding: 100px 0 80px;
  min-height: 60vh;
}
@media (max-width: 900px) {
  .page-wrap { padding: 70px 0 60px; }
}

/* Breadcrumbs */
.breadcrumbs {
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--ink-faint);
  margin-bottom: 32px;
  text-transform: uppercase;
}
.breadcrumbs ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  align-items: center;
}
.breadcrumbs li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.breadcrumbs__sep { margin: 0 8px; color: var(--ink-faint); }
.breadcrumbs a {
  color: var(--ink-dim);
  transition: color 0.2s;
}
.breadcrumbs a:hover { color: var(--accent); }
.breadcrumbs span[aria-current] { color: var(--ink); }

/* Page header (used on About, Portfolio, Contact, Articles, Archive) */
.page-header {
  margin-bottom: 60px;
}
.page-header__kicker {
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 16px;
}
.page-header__title {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(48px, 8vw, 96px);
  line-height: 0.95;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
  max-width: 18ch;
}
.page-header__title em {
  font-style: italic;
  font-weight: 400;
  color: var(--accent);
}
.page-header__intro {
  color: var(--ink-dim);
  max-width: 60ch;
  font-size: 15px;
  line-height: 1.75;
}

/* Page content */
.page-content {
  max-width: 72ch;
  font-size: 15px;
  line-height: 1.85;
  color: var(--ink);
  margin-bottom: 60px;
}
.page-content p { margin-bottom: 1.4em; color: var(--ink-dim); }
.page-content p strong { color: var(--ink); font-weight: 500; }
.page-content a { color: var(--accent); border-bottom: 1px solid currentColor; }
.page-content h2, .page-content h3 {
  font-family: var(--serif); font-weight: 400; letter-spacing: -0.01em;
  margin: 1.5em 0 0.5em; color: var(--ink);
}
.page-content h2 { font-size: 32px; }
.page-content h3 { font-size: 24px; color: var(--accent); }

/* Page sections (sub-sections within a page like Certs on About) */
.page-section {
  margin: 80px 0 0;
  padding-top: 60px;
  border-top: 1px solid var(--line);
}
.page-section__intro {
  color: var(--ink-dim);
  max-width: 60ch;
  margin-bottom: 32px;
  font-size: 14px;
  line-height: 1.7;
}

/* Section as teaser (homepage) */
.section--teaser { padding: 80px 0; }

/* Teaser grid (homepage about) */
.teaser-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 64px;
  align-items: start;
}
.teaser__headline {
  font-family: var(--serif); font-weight: 300;
  font-size: 36px; line-height: 1.2; letter-spacing: -0.01em;
}
.teaser__headline em { font-style: italic; color: var(--accent); }
.teaser__body { margin-bottom: 24px; }
.teaser__body p { color: var(--ink-dim); margin-bottom: 18px; line-height: 1.8; font-size: 14px; }
.teaser__body p strong { color: var(--ink); }

/* CTA link */
.cta-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--accent);
  text-transform: uppercase;
  padding: 12px 0;
  border-bottom: 1px solid currentColor;
  transition: gap 0.2s;
}
.cta-link:hover { gap: 16px; }
.cta-link .arrow { transition: transform 0.2s; }
.cta-link:hover .arrow { transform: translateX(4px); }

/* Article list (homepage teaser + articles index + archive) */
.article-list {
  display: grid;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  margin-bottom: 60px;
}
.article-card {
  background: var(--bg);
  padding: 32px;
  display: flex;
  gap: 24px;
  transition: background 0.2s;
}
.article-card:hover { background: var(--bg-2); }
.article-card__thumb {
  flex: 0 0 200px;
  align-self: stretch;
  border: 1px solid var(--line);
  overflow: hidden;
}
.article-card__thumb img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
}
.article-card__inner { flex: 1; }
.article-card__meta {
  font-size: 10px; letter-spacing: 0.15em;
  color: var(--ink-faint);
  margin-bottom: 12px;
  display: flex; gap: 14px;
}
.article-card__meta .cat { color: var(--accent); }
.article-card__title {
  font-family: var(--serif); font-weight: 400;
  font-size: 26px; line-height: 1.25;
  letter-spacing: -0.01em; margin-bottom: 10px;
}
.article-card__excerpt {
  color: var(--ink-dim); font-size: 13px;
  line-height: 1.7; margin-bottom: 14px;
}
.article-card__more {
  font-size: 11px; letter-spacing: 0.1em;
  color: var(--accent); text-transform: uppercase;
}
.article-card__more .arrow { transition: transform 0.2s; }
.article-card:hover .article-card__more .arrow { transform: translateX(4px); }

/* Pagination */
.pagination {
  display: flex; justify-content: space-between;
  align-items: center;
  font-size: 12px; letter-spacing: 0.1em;
  margin-bottom: 60px;
}
.pagination .nav-links {
  display: flex; gap: 0;
  width: 100%;
  justify-content: space-between;
  align-items: center;
}
.pagination .page-numbers {
  padding: 10px 16px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.05em;
  color: var(--ink-dim);
  border: 1px solid var(--line-2);
  margin: 0 2px;
  transition: all 0.2s;
}
.pagination .page-numbers:hover { color: var(--accent); border-color: var(--accent); }
.pagination .page-numbers.current {
  color: var(--accent); border-color: var(--accent);
  background: rgba(210, 77, 45, 0.08);
}

/* Article single */
.article {
  max-width: 800px;
  margin: 0 auto 60px;
}
.article-header { margin-bottom: 40px; }
.article-header__meta {
  font-size: 11px; letter-spacing: 0.15em;
  color: var(--ink-faint);
  margin-bottom: 20px;
  text-transform: uppercase;
}
.article-header__title {
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(36px, 5vw, 56px);
  line-height: 1.05; letter-spacing: -0.02em;
  margin-bottom: 20px;
  color: var(--ink);
}
.article-header__excerpt {
  font-family: var(--serif); font-style: italic;
  font-size: 22px; line-height: 1.5; color: var(--ink-dim);
  border-left: 2px solid var(--accent);
  padding-left: 20px;
}
.article-thumb {
  margin: 40px 0;
  border: 1px solid var(--line);
  background: var(--bg-2);
}
.article-thumb img { width: 100%; height: auto; display: block; }

/* Share buttons */
.article-share {
  margin: 60px 0 40px;
  padding: 28px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.article-share__label {
  font-size: 10px; letter-spacing: 0.2em;
  color: var(--ink-faint); margin-bottom: 14px;
}
.article-share__buttons {
  display: flex; flex-wrap: wrap; gap: 8px;
}
.share-btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: 11px;
  letter-spacing: 0.08em; text-transform: uppercase;
  padding: 10px 16px;
  border: 1px solid var(--line-2);
  color: var(--ink); background: transparent;
  cursor: pointer; transition: all 0.2s;
}
.share-btn:hover { border-color: var(--accent); color: var(--accent); }
.share-btn--copy {
  font-family: var(--mono);
}

/* Article tags */
.article-tags {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin-bottom: 40px;
}
.article-tags .tag {
  display: inline-block;
  font-size: 10px; letter-spacing: 0.1em;
  padding: 6px 12px;
  border: 1px solid var(--line-2);
  color: var(--ink-dim);
  text-transform: uppercase;
  transition: all 0.2s;
}
.article-tags .tag:hover { border-color: var(--accent); color: var(--accent); }

/* Article prev/next nav */
.article-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  padding-top: 40px;
  border-top: 1px solid var(--line);
}
.article-nav__label {
  font-size: 10px; letter-spacing: 0.2em;
  color: var(--ink-faint); margin-bottom: 8px;
  text-transform: uppercase;
}
.article-nav__title {
  color: var(--ink);
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.3;
  transition: color 0.2s;
}
.article-nav__title:hover { color: var(--accent); }

/* Contact page channels */
.contact-channels { margin-top: 40px; }
.contact-channel {
  display: block;
  padding: 24px 28px;
  border: 1px solid var(--line);
  margin-bottom: 12px;
  transition: all 0.2s;
}
.contact-channel:hover {
  border-color: var(--accent);
  background: var(--bg-2);
  transform: translateX(4px);
}
.contact-channel__label {
  font-size: 10px; letter-spacing: 0.2em;
  color: var(--ink-faint); margin-bottom: 6px;
}
.contact-channel__value {
  font-family: var(--mono); font-size: 16px;
  color: var(--ink);
  word-break: break-all;
}
.contact-channel--primary { padding: 32px 28px; margin-bottom: 32px; }
.contact-channel--primary .contact-channel__value { font-size: 20px; }
.contact-socials {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px;
}
.contact-socials .contact-channel { margin-bottom: 0; }

/* Homepage contact CTA */
.contact-cta {
  padding: 100px 0 120px;
  text-align: center;
  border-top: 1px solid var(--line);
}
.contact-cta__headline {
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1.05; letter-spacing: -0.02em;
  margin-bottom: 32px;
  max-width: 18ch;
  margin-left: auto; margin-right: auto;
}
.contact-cta__headline em { font-style: italic; color: var(--accent); }

/* Mobile adjustments for v2 */
@media (max-width: 900px) {
  .teaser-grid { grid-template-columns: 1fr; gap: 32px; }
  .article-card { flex-direction: column; padding: 24px; }
  .article-card__thumb { flex: 0 0 auto; height: 180px; }
  .article-nav { grid-template-columns: 1fr; }
  .article-nav > div:nth-child(2) { text-align: left !important; }
  .page-header__title { font-size: clamp(36px, 9vw, 56px) !important; }
  .breadcrumbs ol { font-size: 10px; }
}

/* === EMPTY STATE (admin-only placeholder) === */
.gk-empty-state {
  padding: 48px 32px;
  border: 1px dashed var(--line-2);
  background: rgba(210, 77, 45, 0.04);
  text-align: center;
  max-width: 640px;
}
.gk-empty-state__icon {
  font-size: 32px; color: var(--warn); margin-bottom: 16px; line-height: 1;
}
.gk-empty-state h3 {
  font-family: var(--serif); font-weight: 400; font-size: 22px;
  color: var(--ink); margin-bottom: 12px; letter-spacing: -0.01em;
}
.gk-empty-state p {
  color: var(--ink-dim); font-size: 13px; line-height: 1.7; max-width: 48ch;
  margin: 0 auto 24px;
}
.gk-empty-state .button,
.gk-empty-state .button-primary {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 20px !important;
  background: var(--accent) !important; color: var(--bg) !important;
  border: 1px solid var(--accent) !important; border-radius: 0 !important;
  font-family: var(--mono) !important; font-size: 12px !important;
  font-weight: 500 !important; letter-spacing: 0.08em !important;
  text-transform: uppercase !important; text-decoration: none !important;
  box-shadow: none !important; height: auto !important; line-height: 1 !important;
  transition: all 0.2s !important;
}
.gk-empty-state .button:hover,
.gk-empty-state .button-primary:hover {
  background: transparent !important; color: var(--accent) !important;
}

/* Anchor offset so fixed nav doesn't cover headings when jumping to #id */
.section, .hero, .contact { scroll-margin-top: 60px; }

/* === RESPONSIVE === */
@media (max-width: 900px) {
  .nav__links { display: none; }
  .nav__status { display: none; }
  .nav__toggle { display: flex; }
  .nav { padding: 0 20px; }
  .wrap { padding: 0 20px; }
  .section { padding: 70px 0; }
  .hero { padding: 60px 20px 40px; }
  .hero__meta { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .about__grid { grid-template-columns: 1fr; gap: 32px; }
  .finding { grid-template-columns: 1fr; gap: 12px; }
  .finding:hover { padding-left: 0; padding-right: 0; }
  .finding__meta { text-align: left; }
  .tools { grid-template-columns: 1fr; }
  .arsenal { grid-template-columns: 1fr; gap: 32px; }
  .writing { grid-template-columns: 1fr; }
  .post { border-right: none; }
  .post:nth-last-child(2) { border-bottom: 1px solid var(--line); }
  .site-footer { flex-direction: column; gap: 16px; text-align: center; }
  .site-footer .ascii { display: none; }
}
@media (max-width: 500px) {
  .hof-item { min-height: 180px; }
  /* Shrink brand on tiny screens to make room for hamburger */
  .nav__brand > span:last-child { display: none; }
  .nav { padding: 0 16px; }
  .nav-mobile__links a { font-size: 26px; padding: 14px 0; }
  .nav-mobile__inner { padding: 72px 24px 32px; }
}

/* Admin bar offset */
body.admin-bar .nav { top: 32px; }
@media (max-width: 782px) {
  body.admin-bar .nav { top: 46px; }
}

/* ====================================================================
   v3.0 preview — service-first offensive security redesign
   ==================================================================== */

:root {
  --bg: #07090d;
  --bg-2: #0d1118;
  --bg-3: #131a24;
  --line: rgba(148, 163, 184, 0.14);
  --line-2: rgba(148, 163, 184, 0.28);
  --ink: #f3f7fb;
  --ink-dim: #a6b0c0;
  --ink-faint: #5d6878;
  --accent: #ff6b35;
  --accent-2: #46d7a7;
  --warn: #ffd166;
  --panel: rgba(13, 17, 24, 0.72);
  --panel-strong: rgba(19, 26, 36, 0.88);
  --shadow-soft: 0 24px 80px rgba(0, 0, 0, 0.35);
}

body {
  background:
    radial-gradient(circle at 18% 8%, rgba(70, 215, 167, 0.12), transparent 28%),
    radial-gradient(circle at 82% 20%, rgba(255, 107, 53, 0.11), transparent 30%),
    linear-gradient(180deg, #07090d 0%, #0a0e14 42%, #07090d 100%);
}

body::before {
  background-image:
    linear-gradient(rgba(148, 163, 184, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, 0.035) 1px, transparent 1px);
  background-size: 32px 32px;
  mix-blend-mode: normal;
  opacity: 0.7;
}

.nav {
  height: 68px;
  padding: 0 clamp(20px, 4vw, 56px);
  background: rgba(7, 9, 13, 0.78);
  border-bottom: 1px solid rgba(148, 163, 184, 0.16);
}

.nav__brand { letter-spacing: 0.08em; }
.nav__brand-version { display: none; }
.nav__links { gap: clamp(14px, 2vw, 26px); }
.nav__links a {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.nav__links a::before { content: ""; display: none; }
.nav__links a:hover,
.nav__links a.is-active { color: var(--accent-2); }
.nav__status {
  color: var(--accent-2);
  font-size: 10px;
  letter-spacing: 0.18em;
}

main { padding-top: 68px; }
.wrap { max-width: 1180px; }

.hero {
  min-height: calc(92vh - 68px);
  padding: clamp(72px, 10vw, 132px) 32px 70px;
}

.hero__grid {
  background-image:
    linear-gradient(rgba(148, 163, 184, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, 0.08) 1px, transparent 1px);
  background-size: 96px 96px;
  opacity: 0.45;
  mask-image: radial-gradient(ellipse at 42% 36%, black 20%, transparent 74%);
  -webkit-mask-image: radial-gradient(ellipse at 42% 36%, black 20%, transparent 74%);
}

.hero::after {
  content: "";
  position: absolute;
  right: clamp(24px, 9vw, 140px);
  top: clamp(90px, 16vw, 190px);
  width: clamp(220px, 28vw, 420px);
  height: clamp(220px, 28vw, 420px);
  border: 1px solid rgba(70, 215, 167, 0.22);
  border-radius: 32px;
  background:
    linear-gradient(135deg, rgba(70, 215, 167, 0.11), transparent 45%),
    linear-gradient(315deg, rgba(255, 107, 53, 0.12), transparent 48%),
    rgba(13, 17, 24, 0.58);
  box-shadow: var(--shadow-soft), inset 0 0 60px rgba(70, 215, 167, 0.05);
  transform: rotate(8deg);
  pointer-events: none;
}

.hero__inner { z-index: 1; }
.hero__pre {
  display: inline-flex;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(13, 17, 24, 0.58);
  backdrop-filter: blur(10px);
  margin-bottom: 30px;
}

.hero h1 {
  max-width: 12.5ch;
  font-size: clamp(52px, 8.4vw, 118px);
}
.hero h1 em { color: var(--accent-2); }
.hero h1 .strike { color: var(--ink); }
.hero h1 .strike::after {
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  height: 4px;
  opacity: 0.78;
}
.hero__sub {
  max-width: 66ch;
  font-size: 15px;
  color: var(--ink-dim);
}
.hero__meta {
  grid-template-columns: repeat(4, minmax(120px, 1fr));
  gap: 0;
  max-width: 880px;
  border: 1px solid var(--line);
  background: var(--panel);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(14px);
  padding: 0;
}
.hero__meta-item {
  padding: 22px 24px;
  border-right: 1px solid var(--line);
}
.hero__meta-item:last-child { border-right: 0; }
.hero__meta-item .v .accent { color: var(--accent-2); }

.btn {
  border-color: var(--line-2);
  border-radius: 999px;
  background: rgba(13, 17, 24, 0.58);
}
.btn--primary {
  background: linear-gradient(135deg, var(--accent), #ff8f5a);
  border-color: rgba(255, 107, 53, 0.8);
  color: #08100d;
  font-weight: 700;
}
.btn--primary:hover {
  background: linear-gradient(135deg, var(--accent-2), #8ff0cf);
  border-color: var(--accent-2);
  color: #06100c;
}

.section { border-top: 1px solid var(--line); }
.section__label::before { background: linear-gradient(90deg, var(--accent), var(--accent-2)); }
.section__label .num,
.teaser__headline em,
.page-header__title em,
.contact-cta__headline em { color: var(--accent-2); }

.section--services {
  padding: 96px 0;
  background:
    linear-gradient(180deg, rgba(13, 17, 24, 0.3), rgba(13, 17, 24, 0.08)),
    radial-gradient(circle at 70% 10%, rgba(70, 215, 167, 0.08), transparent 30%);
}
.services-intro {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 64px;
  align-items: end;
  margin-bottom: 34px;
}
.services-intro h2 {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(34px, 5vw, 62px);
  line-height: 1.02;
  letter-spacing: -0.03em;
  max-width: 13ch;
}
.services-intro p {
  color: var(--ink-dim);
  font-size: 15px;
  line-height: 1.8;
  max-width: 62ch;
}
.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--line);
  background: rgba(148, 163, 184, 0.08);
  box-shadow: var(--shadow-soft);
}
.service-card {
  min-height: 320px;
  padding: 30px;
  background: var(--panel);
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}
.service-card:last-child { border-right: 0; }
.service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 24% 12%, rgba(70, 215, 167, 0.14), transparent 32%),
    linear-gradient(180deg, transparent, rgba(255, 107, 53, 0.06));
  opacity: 0;
  transition: opacity 0.25s ease;
}
.service-card:hover {
  background: var(--panel-strong);
  transform: translateY(-6px);
  border-color: rgba(70, 215, 167, 0.34);
  z-index: 2;
}
.service-card:hover::before { opacity: 1; }
.service-card__num,
.service-card h3,
.service-card p,
.service-card span {
  position: relative;
  z-index: 1;
}
.service-card__num {
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--accent-2);
  margin-bottom: 44px;
}
.service-card h3 {
  font-family: var(--serif);
  font-size: 30px;
  font-weight: 400;
  letter-spacing: -0.02em;
  margin-bottom: 18px;
}
.service-card p {
  color: var(--ink-dim);
  font-size: 13px;
  line-height: 1.75;
  margin-bottom: 28px;
}
.service-card > span {
  margin-top: auto;
  font-size: 10px;
  letter-spacing: 0.16em;
  color: var(--accent);
  text-transform: uppercase;
}
.services-link { margin-top: 28px; }

.secured-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: 56px;
  align-items: end;
  margin-bottom: 32px;
}
.secured-intro h2 {
  font-family: var(--serif);
  font-size: clamp(32px, 4.6vw, 56px);
  font-weight: 300;
  line-height: 1.03;
  letter-spacing: -0.03em;
  max-width: 15ch;
}
.secured-intro p {
  color: var(--ink-dim);
  font-size: 14px;
  line-height: 1.8;
  max-width: 62ch;
}
.secured-marquee {
  overflow: hidden;
  border: 1px solid var(--line);
  background: rgba(13, 17, 24, 0.52);
  box-shadow: var(--shadow-soft);
  margin-bottom: 42px;
  mask-image: linear-gradient(90deg, transparent, black 9%, black 91%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, black 9%, black 91%, transparent);
}
.secured-marquee__track {
  width: max-content;
  display: flex;
  align-items: stretch;
  animation: gk-secured-scroll 42s linear infinite;
}
.secured-marquee:hover .secured-marquee__track {
  animation-play-state: paused;
}
.secured-logo {
  min-width: 210px;
  height: 104px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px 28px;
  border-right: 1px solid var(--line);
  filter: saturate(0.85);
  opacity: 0.82;
}
.secured-logo__image {
  max-width: 150px;
  max-height: 58px;
  width: auto;
  height: auto;
  object-fit: contain;
}
.secured-logo__text {
  font-family: var(--serif);
  font-size: 25px;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--ink);
  white-space: nowrap;
}
.secured-disclaimer {
  max-width: 760px;
  margin: -20px 0 0;
  color: var(--ink-faint);
  font-size: 11px;
  line-height: 1.7;
  letter-spacing: 0.03em;
}
@keyframes gk-secured-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.article-service-cta {
  margin: 52px 0 36px;
  padding: clamp(24px, 4vw, 38px);
  border: 1px solid rgba(224, 229, 236, 0.14);
  background:
    radial-gradient(circle at 15% 0%, rgba(150, 164, 184, 0.10), transparent 34%),
    rgba(10, 13, 18, 0.74);
  box-shadow: var(--shadow-soft);
}
.article-service-cta__kicker {
  color: var(--accent);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.article-service-cta h2 {
  max-width: 760px;
  margin: 0 0 14px;
  color: var(--ink-muted);
  font-size: clamp(24px, 3vw, 38px);
  line-height: 1.08;
  letter-spacing: -0.035em;
}
.article-service-cta p {
  max-width: 760px;
  color: var(--ink-dim);
  font-size: 14px;
  line-height: 1.8;
}
.article-service-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 24px;
}
.article-service-cta__actions a {
  color: var(--ink);
  border-bottom: 1px solid rgba(224, 229, 236, 0.44);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.article-service-cta__actions a:hover {
  color: var(--accent);
  border-color: var(--accent);
}

.section--process {
  padding: 96px 0;
  background:
    radial-gradient(circle at 20% 15%, rgba(255, 107, 53, 0.08), transparent 28%),
    rgba(7, 9, 13, 0.18);
}
.process-intro {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 64px;
  align-items: end;
  margin-bottom: 34px;
}
.process-intro h2 {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(34px, 5vw, 62px);
  line-height: 1.02;
  letter-spacing: -0.03em;
  max-width: 13ch;
}
.process-intro p {
  color: var(--ink-dim);
  font-size: 15px;
  line-height: 1.8;
  max-width: 62ch;
}
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.process-card {
  min-height: 240px;
  padding: 28px;
  border: 1px solid var(--line);
  background: var(--panel);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.18);
}
.process-card__k {
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--accent-2);
  margin-bottom: 36px;
}
.process-card h3 {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 400;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}
.process-card p {
  color: var(--ink-dim);
  font-size: 13px;
  line-height: 1.75;
}

.hof-item,
.tool,
.cert,
.article-card,
.archive-item,
.contact-channel {
  background: var(--panel);
}
.tool,
.article-list,
.hof-grid,
.contact-channel--primary {
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.22);
}
.tool:hover,
.article-card:hover,
.archive-item:hover,
.contact-channel:hover,
.hof-item:hover {
  background: var(--panel-strong);
}
.tool::before { background: linear-gradient(90deg, var(--accent), var(--accent-2)); }
.cta-link,
.article-card__more,
.tool__link,
.page-content a,
.post-content a {
  color: var(--accent-2);
}
.contact-cta {
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 107, 53, 0.12), transparent 32%),
    rgba(13, 17, 24, 0.24);
}

@media (max-width: 1100px) {
  .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .service-card:nth-child(2) { border-right: 0; }
  .service-card:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}

@media (max-width: 900px) {
  main { padding-top: 52px; }
  .hero { min-height: auto; }
  .hero::after {
    opacity: 0.28;
    right: -80px;
    top: 120px;
  }
  .hero__pre {
    flex-wrap: wrap;
    border-radius: 18px;
  }
  .hero__meta { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero__meta-item:nth-child(2) { border-right: 0; }
  .hero__meta-item:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .services-intro {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .process-intro {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .process-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .secured-intro {
    grid-template-columns: 1fr;
    gap: 18px;
  }
}

@media (max-width: 640px) {
  .service-grid,
  .hero__meta,
  .process-grid { grid-template-columns: 1fr; }
  .service-card,
  .service-card:nth-child(2),
  .hero__meta-item,
  .hero__meta-item:nth-child(2) {
    border-right: 0;
  }
  .service-card {
    min-height: auto;
    border-bottom: 1px solid var(--line);
  }
  .service-card:last-child { border-bottom: 0; }
  .hero__meta-item { border-bottom: 1px solid var(--line); }
  .hero__meta-item:last-child { border-bottom: 0; }
}

/* ====================================================================
   v4.0 preview — GK neon mark theme
   Black-glass, white neon edge-lighting, no grid background.
   ==================================================================== */

:root {
  --bg: #010101;
  --bg-2: #050505;
  --bg-3: #0b0c0f;
  --line: rgba(255, 255, 255, 0.13);
  --line-2: rgba(255, 255, 255, 0.28);
  --ink: #f7f7f3;
  --ink-dim: #b8bbc0;
  --ink-faint: #595e66;
  --accent: #ffffff;
  --accent-2: #d7dde8;
  --warn: #bfc7d8;
  --panel: rgba(255, 255, 255, 0.045);
  --panel-strong: rgba(255, 255, 255, 0.075);
  --edge-glow: 0 0 18px rgba(255, 255, 255, 0.42), 0 0 68px rgba(255, 255, 255, 0.18);
  --shadow-soft: 0 34px 120px rgba(0, 0, 0, 0.76);
}

html {
  background: #000;
}

body {
  background:
    radial-gradient(circle at 72% 18%, rgba(255, 255, 255, 0.12), transparent 18%),
    radial-gradient(circle at 12% 84%, rgba(255, 255, 255, 0.06), transparent 22%),
    linear-gradient(180deg, #000 0%, #050505 52%, #000 100%);
  color: var(--ink);
}

body::before {
  display: none;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 999;
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.06), transparent 32%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.025), transparent 26%, rgba(255, 255, 255, 0.018));
  opacity: 0.8;
}

.nav {
  height: 76px;
  padding: 0 clamp(22px, 4vw, 64px);
  background: rgba(0, 0, 0, 0.7);
  border-bottom: 1px solid rgba(255, 255, 255, 0.11);
  box-shadow: 0 20px 80px rgba(0, 0, 0, 0.35);
}

.nav__brand {
  gap: 12px;
  color: #fff;
  text-shadow: 0 0 18px rgba(255, 255, 255, 0.34);
}

.nav__brand .dot {
  background: #fff;
  box-shadow: var(--edge-glow);
}

.nav__links a {
  color: rgba(255, 255, 255, 0.64);
}

.nav__links a:hover,
.nav__links a.is-active {
  color: #fff;
  text-shadow: 0 0 16px rgba(255, 255, 255, 0.55);
}

.nav__status {
  color: #fff;
  text-shadow: 0 0 16px rgba(255, 255, 255, 0.35);
}

main {
  padding-top: 76px;
}

.hero {
  min-height: calc(100vh - 76px);
  padding: clamp(80px, 8vw, 128px) clamp(22px, 4vw, 64px) clamp(56px, 7vw, 96px);
  isolation: isolate;
}

.hero__grid,
.hero::after {
  display: none;
}

.hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
  gap: clamp(34px, 5vw, 86px);
  align-items: center;
  max-width: 1500px;
}

.hero__content {
  position: relative;
  z-index: 2;
}

.hero__pre {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.035);
  color: rgba(255, 255, 255, 0.68);
  box-shadow: inset 0 0 22px rgba(255, 255, 255, 0.035);
}

.hero__pre .live {
  color: #fff;
}

.hero__pre .live::before {
  background: #fff;
  box-shadow: var(--edge-glow);
}

.hero h1 {
  max-width: 11.4ch;
  font-family: var(--serif);
  font-size: clamp(60px, 7.8vw, 128px);
  line-height: 0.88;
  letter-spacing: -0.055em;
  text-shadow: 0 0 38px rgba(255, 255, 255, 0.14);
}

.hero h1 em {
  color: #fff;
  font-style: normal;
  text-shadow: var(--edge-glow);
}

.hero h1 .strike {
  color: rgba(255, 255, 255, 0.88);
}

.hero h1 .strike::after {
  display: none;
}

.hero__sub {
  max-width: 68ch;
  color: rgba(255, 255, 255, 0.66);
  font-size: 15.5px;
}

.hero__sub strong {
  color: #fff;
}

.hero__proof {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  max-width: 780px;
  margin: -14px 0 26px;
}

.hero__proof > div {
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.018));
  box-shadow: inset 0 0 26px rgba(255, 255, 255, 0.025);
}

.hero__proof span {
  display: block;
  margin-bottom: 8px;
  color: rgba(255, 255, 255, 0.52);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero__proof strong {
  display: block;
  color: #fff;
  font-size: 12px;
  line-height: 1.55;
  font-weight: 500;
}

.hero__meta {
  max-width: 780px;
  background: rgba(255, 255, 255, 0.035);
  border-color: rgba(255, 255, 255, 0.13);
  box-shadow: var(--shadow-soft), inset 0 0 34px rgba(255, 255, 255, 0.02);
}

.hero__meta-item .v .accent,
.hero__meta-item .v {
  color: #fff;
  text-shadow: 0 0 22px rgba(255, 255, 255, 0.34);
}

.hero__visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: clamp(460px, 54vw, 760px);
  border-radius: 36px;
  overflow: hidden;
}

.hero__visual::before {
  content: "";
  position: absolute;
  inset: 8% 2% 4% 0;
  background:
    radial-gradient(circle at 44% 44%, rgba(255, 255, 255, 0.18), transparent 20%),
    radial-gradient(circle at 78% 48%, rgba(255, 255, 255, 0.16), transparent 26%);
  filter: blur(28px);
  opacity: 0.82;
}

.hero__visual img {
  position: relative;
  z-index: 1;
  width: min(100%, 780px);
  height: auto;
  object-fit: contain;
  filter:
    drop-shadow(0 0 20px rgba(255, 255, 255, 0.45))
    drop-shadow(0 0 74px rgba(255, 255, 255, 0.18));
  transform: translateX(2%);
}

.hero__visual-caption {
  position: absolute;
  right: clamp(18px, 3vw, 44px);
  bottom: clamp(18px, 3vw, 44px);
  z-index: 2;
  max-width: 280px;
  padding: 18px 20px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(0, 0, 0, 0.58);
  backdrop-filter: blur(14px);
  box-shadow: 0 20px 70px rgba(0, 0, 0, 0.55);
}

.hero__visual-caption span {
  display: block;
  margin-bottom: 8px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.hero__visual-caption strong {
  display: block;
  color: #fff;
  font-size: 12px;
  line-height: 1.55;
  font-weight: 500;
}

.btn {
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.035);
  color: #fff;
  box-shadow: inset 0 0 22px rgba(255, 255, 255, 0.025);
}

.btn:hover {
  border-color: rgba(255, 255, 255, 0.7);
  color: #fff;
  box-shadow: var(--edge-glow);
}

.btn--primary {
  background: #fff;
  border-color: #fff;
  color: #000;
  box-shadow: var(--edge-glow);
}

.btn--primary:hover {
  background: transparent;
  color: #fff;
}

.section {
  border-top-color: rgba(255, 255, 255, 0.1);
}

.section__label {
  color: rgba(255, 255, 255, 0.52);
}

.section__label::before {
  background: #fff;
  box-shadow: 0 0 18px rgba(255, 255, 255, 0.42);
}

.section__label .num,
.teaser__headline em,
.page-header__title em,
.contact-cta__headline em,
.services-intro h2,
.process-intro h2,
.secured-intro h2 {
  color: #fff;
}

.section--services,
.section--process,
.contact-cta {
  background:
    radial-gradient(circle at 76% 0%, rgba(255, 255, 255, 0.07), transparent 24%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.018), transparent 64%);
}

.service-grid,
.process-grid {
  gap: 18px;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.service-card,
.process-card,
.hof-item,
.tool,
.cert,
.article-card,
.archive-item,
.contact-channel {
  border: 1px solid rgba(255, 255, 255, 0.13);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.065), rgba(255, 255, 255, 0.018));
  box-shadow: 0 28px 88px rgba(0, 0, 0, 0.36), inset 0 0 38px rgba(255, 255, 255, 0.018);
}

.service-card:hover,
.process-card:hover,
.article-card:hover,
.archive-item:hover,
.contact-channel:hover,
.hof-item:hover {
  border-color: rgba(255, 255, 255, 0.34);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.026));
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.45), 0 0 44px rgba(255, 255, 255, 0.08);
}

.service-card::before {
  background: radial-gradient(circle at 28% 12%, rgba(255, 255, 255, 0.2), transparent 28%);
}

.service-card__num,
.process-card__k,
.service-card > span,
.article-card__more,
.tool__link,
.cta-link,
.page-content a,
.post-content a {
  color: #fff;
}

.secured-marquee {
  background: rgba(255, 255, 255, 0.025);
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: inset 0 0 40px rgba(255, 255, 255, 0.018), 0 28px 90px rgba(0, 0, 0, 0.36);
}

.secured-logo {
  border-right-color: rgba(255, 255, 255, 0.1);
  opacity: 0.88;
}

.secured-logo__text {
  color: #fff;
  text-shadow: 0 0 18px rgba(255, 255, 255, 0.28);
}

.page-header__title,
.single-post-header h1,
.archive-header h1,
.article-header__title,
.contact-cta__headline,
.teaser__headline {
  text-shadow: 0 0 34px rgba(255, 255, 255, 0.12);
}

@media (min-width: 1180px) {
  .service-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .process-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 1180px) {
  .hero__inner {
    grid-template-columns: 1fr;
  }

  .hero__visual {
    min-height: auto;
    max-height: 620px;
  }

  .hero__visual img {
    max-width: 860px;
  }
}

@media (max-width: 900px) {
  main {
    padding-top: 52px;
  }

  .hero {
    padding: 56px 20px 48px;
  }

  .hero__inner {
    gap: 36px;
  }

  .hero h1 {
    font-size: clamp(48px, 14vw, 78px);
  }

  .hero__proof {
    grid-template-columns: 1fr;
  }

  .hero__visual {
    border-radius: 22px;
    margin: 0 -10px;
  }

  .hero__visual-caption {
    left: 18px;
    right: 18px;
    max-width: none;
  }
}

@media (max-width: 560px) {
  .hero__pre {
    display: flex;
    gap: 10px;
  }

  .hero__meta {
    grid-template-columns: 1fr;
  }

  .hero__meta-item {
    border-right: 0;
  }

  .hero__visual img {
    width: 118%;
    max-width: none;
    transform: translateX(0);
  }
}

/* ====================================================================
   v4.1 company landing pages
   Dedicated marketing pages for services and approach.
   ==================================================================== */

.company-page {
  padding: clamp(72px, 8vw, 128px) 0 96px;
  position: relative;
}

.company-page::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 74% 18%, rgba(255, 255, 255, 0.1), transparent 22%),
    radial-gradient(circle at 18% 78%, rgba(255, 255, 255, 0.055), transparent 24%);
  opacity: 0.9;
}

.company-page > .wrap {
  position: relative;
  z-index: 1;
}

.company-hero {
  max-width: 1040px;
  padding: clamp(42px, 7vw, 88px) 0 clamp(56px, 8vw, 104px);
}

.company-kicker {
  color: rgba(255, 255, 255, 0.62);
  font-size: 11px;
  letter-spacing: 0.24em;
  margin-bottom: 22px;
  text-transform: uppercase;
}

.company-hero h1 {
  max-width: 11.5ch;
  color: #fff;
  font-family: var(--serif);
  font-size: clamp(64px, 10vw, 148px);
  font-weight: 300;
  line-height: 0.88;
  letter-spacing: -0.06em;
  margin-bottom: 34px;
  text-shadow: 0 0 36px rgba(255, 255, 255, 0.14);
}

.company-hero p {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.76);
  font-size: clamp(16px, 1.35vw, 20px);
  line-height: 1.8;
}

.company-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 36px;
}

.company-section {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: clamp(62px, 8vw, 108px) 0;
}

.company-section__head {
  display: grid;
  grid-template-columns: 72px minmax(220px, 0.72fr) minmax(280px, 1fr);
  gap: clamp(24px, 4vw, 64px);
  align-items: start;
  margin-bottom: clamp(30px, 5vw, 56px);
}

.company-section__head span {
  color: rgba(255, 255, 255, 0.5);
  font-size: 11px;
  letter-spacing: 0.22em;
}

.company-section__head h2 {
  color: #fff;
  font-family: var(--serif);
  font-size: clamp(42px, 5.8vw, 88px);
  font-weight: 300;
  line-height: 0.95;
  letter-spacing: -0.045em;
}

.company-section__head p {
  max-width: 620px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 15px;
  line-height: 1.8;
}

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

.company-card-grid--services {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.company-card {
  min-height: 280px;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.018));
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.4), inset 0 0 38px rgba(255, 255, 255, 0.018);
  display: flex;
  flex-direction: column;
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.company-card--link:hover {
  border-color: rgba(255, 255, 255, 0.38);
  box-shadow: 0 34px 110px rgba(0, 0, 0, 0.48), 0 0 46px rgba(255, 255, 255, 0.08);
  transform: translateY(-3px);
}

.company-card__k {
  color: rgba(255, 255, 255, 0.48);
  font-size: 10px;
  letter-spacing: 0.2em;
  margin-bottom: 34px;
}

.company-card h3 {
  color: #fff;
  font-family: var(--serif);
  font-size: clamp(25px, 2.2vw, 34px);
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: -0.035em;
  margin-bottom: 16px;
}

.company-card p {
  color: rgba(255, 255, 255, 0.64);
  font-size: 13px;
  line-height: 1.75;
}

.company-card__more {
  color: #fff;
  display: inline-block;
  font-size: 11px;
  letter-spacing: 0.14em;
  margin-top: auto;
  padding-top: 28px;
  text-transform: uppercase;
}

.company-split {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(28px, 5vw, 76px);
  align-items: start;
}

.company-split--center {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.company-split h3 {
  color: #fff;
  font-family: var(--serif);
  font-size: clamp(34px, 4.2vw, 68px);
  font-weight: 300;
  line-height: 0.98;
  letter-spacing: -0.045em;
  margin-bottom: 22px;
}

.company-split p {
  color: rgba(255, 255, 255, 0.68);
  font-size: 15px;
  line-height: 1.85;
}

.company-proof-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.company-proof {
  border: 1px solid rgba(255, 255, 255, 0.13);
  background: rgba(255, 255, 255, 0.035);
  padding: 24px;
}

.company-proof h4 {
  color: #fff;
  font-size: 13px;
  letter-spacing: 0.12em;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.company-proof p {
  color: rgba(255, 255, 255, 0.62);
  font-size: 13px;
  line-height: 1.7;
}

.company-flow {
  border-top: 1px solid rgba(255, 255, 255, 0.13);
}

.company-flow__item {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: clamp(18px, 4vw, 52px);
  padding: 30px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.13);
}

.company-flow__num {
  color: rgba(255, 255, 255, 0.45);
  font-size: 11px;
  letter-spacing: 0.22em;
}

.company-flow h3 {
  color: #fff;
  font-family: var(--serif);
  font-size: clamp(28px, 3vw, 46px);
  font-weight: 300;
  line-height: 1;
  letter-spacing: -0.035em;
  margin-bottom: 10px;
}

.company-flow p {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.66);
  font-size: 14px;
  line-height: 1.75;
}

.company-cta {
  border: 1px solid rgba(255, 255, 255, 0.15);
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.11), transparent 34%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.018));
  box-shadow: 0 34px 120px rgba(0, 0, 0, 0.46), inset 0 0 48px rgba(255, 255, 255, 0.02);
  margin-top: 20px;
  padding: clamp(46px, 7vw, 86px);
  text-align: center;
}

.company-cta p {
  color: rgba(255, 255, 255, 0.56);
  font-size: 11px;
  letter-spacing: 0.18em;
  margin-bottom: 18px;
  text-transform: uppercase;
}

.company-cta h2 {
  max-width: 760px;
  color: #fff;
  font-family: var(--serif);
  font-size: clamp(42px, 6vw, 86px);
  font-weight: 300;
  line-height: 0.98;
  letter-spacing: -0.045em;
  margin: 0 auto 30px;
}

.company-cta--compact {
  margin: clamp(48px, 7vw, 88px) 0 0;
  padding: clamp(34px, 5vw, 58px);
}

.company-cta--compact h2 {
  max-width: 620px;
  font-size: clamp(34px, 5vw, 64px);
}

.company-actions--center {
  justify-content: center;
}

@media (max-width: 1180px) {
  .company-card-grid,
  .company-card-grid--services {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .company-section__head {
    grid-template-columns: 52px minmax(0, 1fr);
  }

  .company-section__head p {
    grid-column: 2;
  }
}

@media (max-width: 780px) {
  .company-page {
    padding: 52px 0 70px;
  }

  .company-hero {
    padding-top: 34px;
  }

  .company-hero h1 {
    font-size: clamp(54px, 18vw, 76px);
    max-width: 10.5ch;
  }

  .company-hero p,
  .company-section__head p,
  .company-split p {
    font-size: 14px;
  }

  .company-section__head,
  .company-split,
  .company-split--center,
  .company-proof-list {
    grid-template-columns: 1fr;
  }

  .company-section__head p {
    grid-column: auto;
  }

  .company-card-grid,
  .company-card-grid--services {
    grid-template-columns: 1fr;
  }

  .company-card {
    min-height: auto;
  }

  .company-flow__item {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}

/* ====================================================================
   v4.3 tone pass
   Align type and contrast with the neon GK mark: technical, lower glare,
   easier scanning, with glow reserved for real emphasis.
   ==================================================================== */

:root {
  --bg: #020304;
  --bg-2: #06070a;
  --bg-3: #0b0d12;
  --line: rgba(219, 229, 244, 0.11);
  --line-2: rgba(219, 229, 244, 0.22);
  --ink: #d8dde6;
  --ink-dim: #9aa3b1;
  --ink-faint: #5d6674;
  --accent: #e6ebf4;
  --accent-2: #aeb8c8;
  --panel: rgba(225, 235, 250, 0.035);
  --panel-strong: rgba(225, 235, 250, 0.06);
  --edge-glow: 0 0 16px rgba(230, 235, 244, 0.24), 0 0 46px rgba(230, 235, 244, 0.08);
  --shadow-soft: 0 26px 90px rgba(0, 0, 0, 0.68);
  --display: 'Space Grotesk', 'Inter', 'Segoe UI', system-ui, sans-serif;
  --sans: 'Space Grotesk', 'Inter', 'Segoe UI', system-ui, sans-serif;
  --serif: var(--display);
}

body {
  background:
    radial-gradient(circle at 75% 18%, rgba(205, 218, 238, 0.065), transparent 20%),
    radial-gradient(circle at 12% 84%, rgba(205, 218, 238, 0.035), transparent 24%),
    linear-gradient(180deg, #000 0%, #030407 52%, #000 100%);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15px;
}

body::after {
  opacity: 0.45;
}

.nav,
.nav-mobile__num,
.hero__pre,
.hero__proof span,
.hero__proof strong,
.hero__meta-item .k,
.btn,
.section__label,
.service-card__num,
.service-card > span,
.process-card__k,
.article-card__meta,
.article-card__more,
.company-kicker,
.company-section__head span,
.company-card__k,
.company-card__more,
.company-flow__num,
.company-cta p,
.contact-channel__label,
.breadcrumbs,
.footer {
  font-family: var(--mono);
}

.hero h1,
.company-hero h1,
.company-section__head h2,
.company-split h3,
.company-flow h3,
.company-cta h2,
.services-intro h2,
.process-intro h2,
.secured-intro h2,
.teaser__headline,
.contact-cta__headline,
.page-header__title,
.single-post-header h1,
.archive-header h1,
.article-header__title,
.service-card h3,
.process-card h3,
.company-card h3,
.article-card__title,
.archive-item h2,
.post-content h2,
.page-content h2,
.post-content h3,
.page-content h3 {
  font-family: var(--display);
  font-weight: 600;
  letter-spacing: -0.055em;
  color: rgba(226, 232, 242, 0.9);
  text-shadow: 0 0 22px rgba(225, 235, 250, 0.08);
}

.hero h1 {
  max-width: 12.5ch;
  line-height: 0.92;
}

.company-hero h1 {
  max-width: 13ch;
  line-height: 0.94;
}

.hero h1 em,
.teaser__headline em,
.page-header__title em,
.contact-cta__headline em {
  color: rgba(246, 248, 252, 0.96);
  font-style: normal;
  text-shadow: var(--edge-glow);
}

.hero__sub,
.about__body p,
.teaser__body p,
.services-intro p,
.process-intro p,
.secured-intro p,
.service-card p,
.process-card p,
.article-card__excerpt,
.company-hero p,
.company-section__head p,
.company-card p,
.company-split p,
.company-flow p,
.company-proof p,
.page-content,
.post-content,
.page-content p,
.post-content p,
.page-content li,
.post-content li,
.contact__sub,
.contactpage_body {
  color: rgba(166, 175, 190, 0.86);
}

.hero__visual::before,
.company-page::before {
  opacity: 0.48;
}

.hero__visual img {
  filter:
    drop-shadow(0 0 18px rgba(230, 235, 244, 0.32))
    drop-shadow(0 0 58px rgba(230, 235, 244, 0.12));
}

.hero__meta,
.hero__proof > div,
.service-card,
.process-card,
.company-card,
.company-proof,
.company-cta,
.hof-item,
.tool,
.cert,
.article-card,
.archive-item,
.contact-channel {
  border-color: rgba(210, 222, 240, 0.11);
  background: linear-gradient(145deg, rgba(215, 226, 244, 0.042), rgba(215, 226, 244, 0.012));
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.4), inset 0 0 30px rgba(230, 235, 244, 0.012);
}

.service-card:hover,
.process-card:hover,
.article-card:hover,
.archive-item:hover,
.contact-channel:hover,
.hof-item:hover,
.company-card--link:hover {
  border-color: rgba(225, 235, 250, 0.27);
  background: linear-gradient(145deg, rgba(225, 235, 250, 0.064), rgba(225, 235, 250, 0.018));
  box-shadow: 0 24px 82px rgba(0, 0, 0, 0.48), 0 0 30px rgba(225, 235, 250, 0.05);
}

.btn {
  border-color: rgba(225, 235, 250, 0.18);
  background: rgba(225, 235, 250, 0.028);
  color: rgba(226, 232, 242, 0.86);
  box-shadow: inset 0 0 18px rgba(225, 235, 250, 0.016);
}

.btn:hover {
  border-color: rgba(225, 235, 250, 0.42);
  color: rgba(246, 248, 252, 0.96);
  box-shadow: 0 0 20px rgba(225, 235, 250, 0.14);
}

.btn--primary {
  background: rgba(232, 238, 247, 0.92);
  border-color: rgba(232, 238, 247, 0.92);
  color: #030407;
  box-shadow: 0 0 20px rgba(232, 238, 247, 0.2), 0 0 54px rgba(232, 238, 247, 0.08);
}

.btn--primary:hover {
  background: rgba(246, 248, 252, 0.08);
  color: rgba(246, 248, 252, 0.96);
}

.nav__brand,
.nav__status {
  text-shadow: none;
}

.nav__brand .dot {
  box-shadow: 0 0 12px rgba(225, 235, 250, 0.42);
}

.section--services,
.section--process,
.contact-cta,
.company-cta {
  background:
    radial-gradient(circle at 76% 0%, rgba(206, 219, 240, 0.04), transparent 24%),
    linear-gradient(180deg, rgba(225, 235, 250, 0.01), transparent 64%);
}

.secured-marquee {
  background: rgba(215, 226, 244, 0.018);
  border-color: rgba(215, 226, 244, 0.09);
}

@media (max-width: 780px) {
  body {
    font-size: 14px;
  }

  .hero h1,
  .company-hero h1 {
    line-height: 0.96;
    letter-spacing: -0.06em;
  }

  .company-card,
  .service-card,
  .process-card {
    padding: 24px;
  }
}

/* v4.4 contrast restraint: less white mass, clearer scan hierarchy. */
.hero h1,
.company-hero h1 {
  color: rgba(202, 211, 225, 0.82);
  text-shadow: 0 0 16px rgba(215, 226, 244, 0.06);
}

.hero h1 {
  font-size: clamp(54px, 6.5vw, 104px);
}

.company-hero h1 {
  font-size: clamp(58px, 8vw, 120px);
  max-width: 13.8ch;
}

.company-section__head h2,
.services-intro h2,
.process-intro h2,
.secured-intro h2,
.teaser__headline,
.page-header__title,
.single-post-header h1,
.archive-header h1,
.article-header__title {
  color: rgba(194, 204, 220, 0.78);
  text-shadow: none;
}

.company-section__head h2 {
  font-size: clamp(38px, 4.9vw, 76px);
}

.service-card h3,
.process-card h3,
.company-card h3,
.company-flow h3,
.company-proof h4,
.article-card__title,
.archive-item h2,
.post-content h2,
.page-content h2,
.post-content h3,
.page-content h3 {
  color: rgba(217, 225, 238, 0.86);
  text-shadow: none;
}

.company-split h3,
.company-cta h2,
.contact-cta__headline {
  color: rgba(211, 220, 235, 0.84);
  text-shadow: 0 0 18px rgba(215, 226, 244, 0.055);
}

.company-cta h2 {
  font-size: clamp(38px, 5.2vw, 72px);
}

.hero h1 em,
.teaser__headline em,
.page-header__title em,
.contact-cta__headline em {
  color: rgba(230, 236, 246, 0.9);
  text-shadow: 0 0 14px rgba(230, 236, 246, 0.16);
}

.hero__sub,
.company-hero p,
.company-section__head p,
.services-intro p,
.process-intro p,
.secured-intro p {
  color: rgba(154, 165, 182, 0.82);
}

.service-card p,
.process-card p,
.company-card p,
.company-split p,
.company-flow p,
.company-proof p,
.article-card__excerpt,
.page-content p,
.post-content p,
.page-content li,
.post-content li {
  color: rgba(145, 157, 176, 0.82);
}

.section__label,
.company-kicker,
.company-section__head span,
.service-card__num,
.company-card__k,
.process-card__k,
.company-flow__num,
.article-card__meta {
  color: rgba(123, 136, 156, 0.72);
}

.hero__meta-item .v,
.hero__meta-item .v .accent {
  color: rgba(221, 229, 242, 0.88);
  text-shadow: 0 0 14px rgba(221, 229, 242, 0.12);
}

.hero__proof > div,
.service-card,
.process-card,
.company-card,
.company-proof,
.company-cta,
.article-card,
.archive-item {
  background: linear-gradient(145deg, rgba(215, 226, 244, 0.032), rgba(215, 226, 244, 0.009));
}

.company-cta {
  background:
    radial-gradient(circle at 50% 0%, rgba(215, 226, 244, 0.055), transparent 34%),
    linear-gradient(145deg, rgba(215, 226, 244, 0.035), rgba(215, 226, 244, 0.01));
}

.btn:not(.btn--primary) {
  color: rgba(172, 184, 202, 0.82);
}

@media (max-width: 780px) {
  .company-hero h1 {
    font-size: clamp(48px, 15vw, 64px);
  }

  .hero h1 {
    font-size: clamp(45px, 13vw, 66px);
  }

  .company-cta h2 {
    font-size: clamp(30px, 10vw, 44px);
  }

  .article,
  .post-content {
    width: calc(100vw - 72px);
    max-width: calc(100vw - 72px);
    min-width: 0;
  }

  .wrap {
    width: 100%;
    max-width: 100%;
  }

  .article-header__title,
  .page-header__title {
    width: calc(100vw - 72px);
    max-width: calc(100vw - 72px);
    font-size: clamp(28px, 7.4vw, 34px);
    line-height: 1.16;
    overflow-wrap: anywhere;
    word-break: break-word;
    white-space: normal;
    hyphens: auto;
  }

  .article-header__excerpt,
  .breadcrumbs,
  .post-content a {
    overflow-wrap: anywhere;
  }

  .article-header__excerpt {
    width: calc(100vw - 88px);
    max-width: calc(100vw - 88px);
    font-size: clamp(16px, 4.6vw, 18px);
    line-height: 1.55;
    padding-left: 16px;
  }

  .article-thumb,
  .article-thumb img {
    max-width: calc(100vw - 72px);
  }

  .breadcrumbs li:last-child {
    display: none;
  }
}
