/* ==========================================================================
   POC (Proof of Concept) — Brand tokens
   Source: POC Brand Guidelines (Color Palette, Typography, Logo System)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@500;700;900&family=Inter:wght@400;500&family=Allerta+Stencil&display=swap');

:root {
  /* Solid Constants — brand anchors */
  --onyx: #1A1A1A;
  --onyx-raised: #212527;
  --onyx-line: #333c3c;
  --slate: #2F4F4F;
  --white: #FFFFFF;
  --white-dim: rgba(255, 255, 255, 0.68);
  --white-faint: rgba(255, 255, 255, 0.4);

  /* Fluid Variables — service pillars */
  --code-1: #00FFFF;   /* Software & Technology */
  --code-2: #2E5BFF;
  --convert-1: #FF4E00; /* Growth & Marketing */
  --convert-2: #FF7F50;
  --chart-1: #8A2BE2;   /* Intelligence & Data */
  --chart-2: #008080;
  --create-1: #FF00FF;  /* Creative & Brand */
  --create-2: #32CD32;

  /* Master gradient — full-service signal, 45deg per brand spec */
  --gradient-master: linear-gradient(225deg, var(--code-1), var(--convert-1), var(--chart-1) 70%, var(--create-1));

  --font-head: 'Montserrat', sans-serif;
  --font-stencil: 'Allerta Stencil', sans-serif;
  --font-body: 'Inter', sans-serif;

  --container: 1120px;
  --edge: clamp(24px, 5vw, 64px);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}

body {
  margin: 0;
  background: var(--onyx);
  color: var(--white);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-head);
  margin: 0;
  line-height: 1.12;
  letter-spacing: 0.01em;
}

h1 { font-weight: 900; text-transform: uppercase; font-size: clamp(2.4rem, 5.4vw, 4.6rem); }
h2 { font-weight: 700; text-transform: uppercase; font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
h3 { font-weight: 700; font-size: clamp(1.15rem, 2vw, 1.4rem); }

p { max-width: 62ch; color: var(--white-dim); }

a { color: inherit; }

img { max-width: 100%; display: block; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--edge);
}

/* Focus visibility */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: 2px solid var(--code-1);
  outline-offset: 3px;
}

/* ---------- Logo ---------- */
.logo {
  display: inline-flex;
  align-items: baseline;
  gap: 2px;
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 1.5rem;
  text-decoration: none;
  color: var(--white);
  letter-spacing: 0.02em;
}
.logo .c-letter {
  font-family: var(--font-stencil);
  font-weight: 400;
  background: var(--gradient-master);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.logo .full-name {
  font-family: var(--font-body);
  font-weight: 400;
  text-transform: none;
  color: var(--white-faint);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  margin-left: 8px;
  padding-left: 8px;
  border-left: 1px solid var(--onyx-line);
}

/* ---------- Nav ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 22px 0;
  transition: background 0.3s ease, padding 0.3s ease, border-color 0.3s ease;
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  background: rgba(26, 26, 26, 0.88);
  backdrop-filter: blur(10px);
  padding: 14px 0;
  border-bottom: 1px solid var(--onyx-line);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav-links {
  display: flex;
  gap: 36px;
  list-style: none;
  margin: 0; padding: 0;
}
.nav-links a {
  text-decoration: none;
  font-size: 0.95rem;
  color: var(--white-dim);
  position: relative;
  padding-bottom: 4px;
}
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--white); }
.nav-links a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: var(--gradient-master);
}
.nav-right { display: flex; align-items: center; gap: 28px; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.95rem;
  text-decoration: none;
  padding: 12px 24px;
  border-radius: 2px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, opacity 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: var(--gradient-master);
  color: var(--onyx);
  font-weight: 700;
}
.btn-primary:hover { opacity: 0.92; }
.btn-outline {
  border-color: var(--onyx-line);
  color: var(--white);
}
.btn-outline:hover { border-color: var(--white-faint); }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--white);
  font-size: 1.6rem;
  cursor: pointer;
}

@media (max-width: 840px) {
  .nav-links { display: none; }
  .nav-right .btn-outline { display: none; }
  .nav-toggle { display: block; }
  .site-header.menu-open .nav-links {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 64px; left: 0; right: 0;
    background: var(--onyx);
    padding: 24px var(--edge) 32px;
    border-bottom: 1px solid var(--onyx-line);
    gap: 20px;
  }
}

/* ---------- Hero ---------- */
.hero {
  padding: 190px 0 120px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  top: -20%; right: -10%;
  width: 620px; height: 620px;
  background: var(--gradient-master);
  filter: blur(140px);
  opacity: 0.18;
  border-radius: 50%;
  pointer-events: none;
}
.hero-inner { position: relative; max-width: 880px; }
.hero .eyebrow {
  font-family: var(--font-stencil);
  color: var(--white-faint);
  font-size: 0.95rem;
  margin: 0 0 18px;
}
.hero h1 { margin-bottom: 26px; }
.hero .lede {
  font-size: 1.15rem;
  color: var(--white-dim);
  max-width: 56ch;
  margin-bottom: 40px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

.reveal {
  opacity: 0;
  transform: translateY(16px);
  animation: reveal-up 0.7s ease forwards;
}
.reveal-1 { animation-delay: 0.05s; }
.reveal-2 { animation-delay: 0.2s; }
.reveal-3 { animation-delay: 0.35s; }
@keyframes reveal-up {
  to { opacity: 1; transform: translateY(0); }
}

/* ---------- Sections ---------- */
section { padding: 100px 0; }
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
  margin-bottom: 56px;
  border-bottom: 1px solid var(--onyx-line);
  padding-bottom: 28px;
}
.section-head p { margin: 0; }
.section-tag {
  font-family: var(--font-stencil);
  color: var(--white-faint);
  font-size: 0.9rem;
  white-space: nowrap;
}

@media (max-width: 700px) {
  .section-head { flex-direction: column; align-items: flex-start; gap: 12px; }
}

/* ---------- Philosophy strip ---------- */
.philosophy {
  border-top: 1px solid var(--onyx-line);
  border-bottom: 1px solid var(--onyx-line);
}
.philosophy blockquote {
  margin: 0;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(1.3rem, 2.6vw, 2rem);
  line-height: 1.35;
  color: var(--white);
  max-width: 20ch;
}
.philosophy footer {
  margin-top: 24px;
  color: var(--white-faint);
  font-size: 0.9rem;
}

/* ---------- Pillars ---------- */
.pillars {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--onyx-line);
  border: 1px solid var(--onyx-line);
}
.pillar {
  background: var(--onyx);
  padding: 36px 28px;
  position: relative;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-decoration: none;
  color: var(--white);
  transition: background 0.25s ease;
}
.pillar:hover { background: var(--onyx-raised); }
.pillar .pillar-top { display: flex; justify-content: space-between; align-items: flex-start; }
.pillar .pillar-letter {
  font-family: var(--font-stencil);
  font-size: 2.6rem;
  line-height: 1;
}
.pillar .pillar-index { color: var(--white-faint); font-size: 0.85rem; }
.pillar h3 { margin-top: 20px; text-transform: uppercase; }
.pillar p { font-size: 0.92rem; margin: 10px 0 0; }
.pillar .pillar-arrow { margin-top: 20px; font-size: 1.1rem; }

.pillar.code .pillar-letter, .pillar.code .pillar-arrow { color: var(--code-1); }
.pillar.convert .pillar-letter, .pillar.convert .pillar-arrow { color: var(--convert-1); }
.pillar.chart .pillar-letter, .pillar.chart .pillar-arrow { color: var(--chart-1); }
.pillar.create .pillar-letter, .pillar.create .pillar-arrow { color: var(--create-1); }

@media (max-width: 900px) {
  .pillars { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .pillars { grid-template-columns: 1fr; }
}

/* ---------- Process ---------- */
.process {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.process-step .step-number {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 2.6rem;
  color: var(--onyx-line);
  margin-bottom: 12px;
}
.process-step h3 { text-transform: uppercase; margin-bottom: 10px; }
@media (max-width: 760px) {
  .process { grid-template-columns: 1fr; gap: 48px; }
}

/* ---------- Founders / people ---------- */
.people {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
.person {
  border: 1px solid var(--onyx-line);
  padding: 32px;
}
.person .role {
  font-family: var(--font-stencil);
  font-size: 0.85rem;
  margin-bottom: 14px;
}
.person.tech .role { color: var(--code-1); }
.person.growth .role { color: var(--convert-1); }
@media (max-width: 700px) {
  .people { grid-template-columns: 1fr; }
}

/* ---------- Two column layout ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; gap: 48px; }
}

/* ---------- Services detail ---------- */
.service-detail {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 48px;
  padding: 56px 0;
  border-top: 1px solid var(--onyx-line);
}
.service-detail:last-child { border-bottom: 1px solid var(--onyx-line); }
.service-detail .service-mark {
  font-family: var(--font-stencil);
  font-size: 4.2rem;
  line-height: 1;
}
.service-detail.code .service-mark { color: var(--code-1); }
.service-detail.convert .service-mark { color: var(--convert-1); }
.service-detail.chart .service-mark { color: var(--chart-1); }
.service-detail.create .service-mark { color: var(--create-1); }
.service-detail .service-name { color: var(--white-faint); font-size: 0.85rem; letter-spacing: 0.08em; margin-top: 8px; }
.service-detail ul {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 32px;
}
.service-detail li {
  color: var(--white-dim);
  font-size: 0.95rem;
  padding-left: 18px;
  position: relative;
}
.service-detail li::before {
  content: "";
  position: absolute;
  left: 0; top: 9px;
  width: 6px; height: 6px;
  background: currentColor;
}
.service-detail.code li { color: var(--code-1); }
.service-detail.convert li { color: var(--convert-1); }
.service-detail.chart li { color: var(--chart-1); }
.service-detail.create li { color: var(--create-1); }
.service-detail.code li span, .service-detail.convert li span, .service-detail.chart li span, .service-detail.create li span { color: var(--white-dim); }

@media (max-width: 760px) {
  .service-detail { grid-template-columns: 1fr; gap: 16px; }
  .service-detail ul { grid-template-columns: 1fr; }
}

/* ---------- Form ---------- */
.field { margin-bottom: 22px; }
.field label {
  display: block;
  font-size: 0.85rem;
  color: var(--white-faint);
  margin-bottom: 8px;
  letter-spacing: 0.03em;
}
.field input, .field select, .field textarea {
  width: 100%;
  background: var(--onyx-raised);
  border: 1px solid var(--onyx-line);
  color: var(--white);
  padding: 13px 14px;
  font-family: var(--font-body);
  font-size: 0.98rem;
  border-radius: 2px;
}
.field textarea { resize: vertical; min-height: 120px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }

.form-note { font-size: 0.85rem; color: var(--white-faint); margin-top: 16px; }
.form-status { font-size: 0.9rem; margin-top: 16px; display: none; }
.form-status.visible { display: block; }
.form-status.ok { color: var(--code-1); }
.form-status.err { color: var(--convert-1); }

.contact-info dt {
  font-family: var(--font-stencil);
  color: var(--white-faint);
  font-size: 0.8rem;
  margin-top: 28px;
}
.contact-info dt:first-child { margin-top: 0; }
.contact-info dd {
  margin: 8px 0 0;
  font-size: 1.05rem;
}
.contact-info dd a { text-decoration: none; border-bottom: 1px solid var(--onyx-line); }
.contact-info dd a:hover { border-color: var(--white); }
.social-row { display: flex; gap: 18px; margin-top: 8px; }
.social-row a { text-decoration: none; color: var(--white-dim); font-size: 0.95rem; border-bottom: 1px solid var(--onyx-line); }
.social-row a:hover { color: var(--white); }

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--onyx-line);
  padding: 56px 0 40px;
}
.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  flex-wrap: wrap;
  padding-bottom: 36px;
}
.footer-nav { display: flex; gap: 28px; list-style: none; padding: 0; margin: 0; flex-wrap: wrap; }
.footer-nav a { text-decoration: none; color: var(--white-dim); font-size: 0.92rem; }
.footer-nav a:hover { color: var(--white); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  padding-top: 24px;
  border-top: 1px solid var(--onyx-line);
  font-size: 0.82rem;
  color: var(--white-faint);
}

/* ---------- Page header (non-home) ---------- */
.page-hero {
  padding: 170px 0 70px;
  border-bottom: 1px solid var(--onyx-line);
}
.page-hero .eyebrow {
  font-family: var(--font-stencil);
  color: var(--white-faint);
  font-size: 0.95rem;
  margin-bottom: 16px;
}
.page-hero p { font-size: 1.08rem; margin-top: 20px; }
