@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;400;500;600;700&family=Inter:wght@300;400;500;600&display=swap');

/* ============================================================
   DESIGN TOKENS
   ============================================================ */
:root {
  --bg:               #131313;
  --surface-dim:      #131313;
  --surface:          #1a1a1a;
  --sc-lowest:        #0e0e0e;
  --sc-low:           #1b1b1b;
  --sc:               #212121;
  --sc-high:          #2a2a2a;
  --sc-highest:       #333333;
  --surface-bright:   #2e2e2e;

  --primary:          #ffffff;
  --on-primary:       #131313;
  --primary-dim:      #c8c8c8;

  --on-surface:       #e2e2e2;
  --on-surface-var:   #8c8c8c;
  --on-surface-muted: #525252;

  --outline:          #5e5e5e;
  --outline-var:      #474747;
  --error:            #ffb4ab;
  --accent:           #2EEF85;
  --accent-10:        rgba(46, 239, 133, 0.10);
  --accent-glow:      rgba(46, 239, 133, 0.30);

  --font-display: 'Space Grotesk', system-ui, sans-serif;
  --font-body:    'Inter', system-ui, sans-serif;
  --font-mono:    'Courier New', monospace;

  --nav-h:        72px;
  --max-w:        1440px;
  --pad:          clamp(1.5rem, 5vw, 5rem);

  --t-fast: 150ms ease;
  --t-base: 280ms ease;
  --t-slow: 550ms ease;
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--on-surface);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { cursor: pointer; border: none; background: none; font-family: inherit; font-size: inherit; }
ul { list-style: none; }

/* ============================================================
   GRAIN TEXTURE OVERLAY
   ============================================================ */
.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.055;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 200px 200px;
}

/* ============================================================
   CONTAINER
   ============================================================ */
.container {
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--pad);
}

/* ============================================================
   TYPOGRAPHY SCALE
   ============================================================ */
.display-xl {
  font-family: var(--font-display);
  font-size: clamp(3.25rem, 9vw, 7.5rem);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -0.035em;
  color: var(--primary);
}

.display-lg {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6.5vw, 5.5rem);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--primary);
}

.display-md {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 3.25rem);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: var(--primary);
}

.display-sm {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.5vw, 1.875rem);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--primary);
}

.label-mono {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--on-surface-muted);
}

.body-lg {
  font-family: var(--font-body);
  font-size: clamp(1rem, 1.5vw, 1.0625rem);
  line-height: 1.7;
  color: var(--on-surface-var);
}

.body-md {
  font-family: var(--font-body);
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--on-surface-var);
}

.body-sm {
  font-family: var(--font-body);
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--on-surface-var);
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  border-radius: 0;
  cursor: pointer;
  transition: all var(--t-base);
  white-space: nowrap;
}

.btn-primary {
  background: var(--accent);
  color: var(--bg);
  padding: 0.8125rem 1.75rem;
  font-weight: 600;
}

.btn-primary:hover {
  background: #26d975;
  box-shadow: 0 0 22px rgba(46, 239, 133, 0.38);
}

.btn-secondary {
  background: transparent;
  color: var(--primary);
  padding: 0.8125rem 1.75rem;
  border: 1px solid rgba(71, 71, 71, 0.35);
}

.btn-secondary:hover {
  border-color: rgba(71, 71, 71, 0.7);
  background: rgba(255, 255, 255, 0.03);
}

.btn-tertiary {
  background: transparent;
  color: var(--on-surface-var);
  padding: 0;
}

.btn-tertiary:hover { color: var(--primary); }

.btn-tertiary .arrow { transition: transform var(--t-base); }
.btn-tertiary:hover .arrow { transform: translateX(5px); }

.btn-sm { padding: 0.5625rem 1.125rem; font-size: 0.8125rem; }

/* ============================================================
   NAVIGATION
   ============================================================ */
.nav {
  position: fixed;
  inset-block-start: 0;
  inset-inline: 0;
  height: var(--nav-h);
  z-index: 100;
  background: rgba(19, 19, 19, 0.72);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid rgba(71, 71, 71, 0.18);
  transition: background var(--t-base);
}

.nav.scrolled { background: rgba(19, 19, 19, 0.93); }

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.nav__logo {
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--primary);
  transition: opacity var(--t-fast);
}

.nav__logo:hover { opacity: 0.65; }

.nav__links {
  display: none;
  align-items: center;
  gap: 2.5rem;
}

@media (min-width: 768px) { .nav__links { display: flex; } }

.nav__links a {
  font-size: 0.875rem;
  color: var(--on-surface-var);
  letter-spacing: 0.005em;
  transition: color var(--t-fast);
}

.nav__links a:hover,
.nav__links a.active { color: var(--primary); }

.nav__cta { display: none; }
@media (min-width: 768px) { .nav__cta { display: inline-flex; } }

/* Hamburger */
.nav__burger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  padding: 4px;
  background: none;
  border: none;
}

.nav__burger span {
  display: block;
  width: 100%;
  height: 1px;
  background: var(--primary);
  transition: all var(--t-base);
}

.nav__burger.open span:nth-child(1) { transform: rotate(45deg) translate(4px, 4px); }
.nav__burger.open span:nth-child(2) { opacity: 0; }
.nav__burger.open span:nth-child(3) { transform: rotate(-45deg) translate(4px, -4px); }

@media (min-width: 768px) { .nav__burger { display: none; } }

/* Mobile menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: rgba(13, 13, 13, 0.97);
  z-index: 99;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--t-base);
}

.mobile-menu.open { opacity: 1; pointer-events: all; }

.mobile-menu a {
  font-family: var(--font-display);
  font-size: 2.25rem;
  font-weight: 500;
  letter-spacing: -0.025em;
  color: var(--on-surface-var);
  transition: color var(--t-fast);
}

.mobile-menu a:hover { color: var(--primary); }
.mobile-menu .btn-primary { font-size: 1rem; padding: 1rem 2.5rem; }

.mobile-menu__close {
  position: absolute;
  top: 1.5rem;
  right: var(--pad);
  font-family: var(--font-mono);
  font-size: 0.625rem;
  letter-spacing: 0.2em;
  color: var(--on-surface-muted);
  cursor: pointer;
  transition: color var(--t-fast);
}

.mobile-menu__close:hover { color: var(--primary); }

/* ============================================================
   SECTIONS
   ============================================================ */
.section {
  padding-block: clamp(5rem, 10vw, 9rem);
}

.section--sm {
  padding-block: clamp(3rem, 6vw, 5rem);
}

.section-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: clamp(3rem, 6vw, 5rem);
}

.section-header__left {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-top: calc(var(--nav-h) + clamp(3rem, 6vw, 6rem));
  padding-bottom: clamp(4rem, 8vw, 7rem);
  overflow: hidden;
}

.hero__ambient {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 90% 60% at 50% -5%, rgba(46, 46, 46, 0.65) 0%, transparent 68%),
    radial-gradient(ellipse 40% 30% at 20% 110%, rgba(30, 30, 30, 0.4) 0%, transparent 60%);
  pointer-events: none;
}

.hero__inner {
  position: relative;
  z-index: 1;
}

.hero__label { margin-bottom: 1.75rem; }

.hero__headline {
  font-family: var(--font-display);
  font-size: clamp(3.25rem, 9.5vw, 8rem);
  font-weight: 500;
  line-height: 1.0;
  letter-spacing: -0.038em;
  color: var(--primary);
  margin-bottom: 2rem;
}

.hero__headline .dim { color: var(--on-surface-var); }

.hero__body {
  max-width: 46ch;
  margin-bottom: 2.75rem;
}

.hero__actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.75rem;
}

.hero__scroll-hint {
  position: absolute;
  bottom: 2.5rem;
  right: var(--pad);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  opacity: 0.35;
}

.hero__scroll-hint::before {
  content: '';
  display: block;
  width: 36px;
  height: 1px;
  background: var(--outline-var);
}

/* ============================================================
   WORK CARDS
   ============================================================ */
.work-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 6px;
}

@media (min-width: 900px) {
  .work-grid {
    grid-template-columns: 3fr 2fr;
  }

  .work-card--main {
    grid-row: 1 / 3;
  }
}

.work-card {
  display: flex;
  flex-direction: column;
  background: var(--sc-low);
  overflow: hidden;
  transition: background var(--t-base);
  position: relative;
}

.work-card:hover { background: var(--sc); }

/* Thumbnail */
.work-card__visual {
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}

.work-card--main .work-card__visual {
  height: clamp(280px, 38vw, 520px);
}

.work-card--sub .work-card__visual {
  height: clamp(160px, 20vw, 250px);
}

/* Placeholder visual compositions */
.vc-axiom {
  background: linear-gradient(148deg, #1d1d1d 0%, #252525 55%, #1a1a1a 100%);
}

.vc-axiom::before {
  content: '';
  position: absolute;
  top: 18%;
  left: 8%;
  width: 42%;
  height: 52%;
  border: 1px solid rgba(255, 255, 255, 0.055);
}

.vc-axiom::after {
  content: 'AX';
  position: absolute;
  bottom: 8%;
  right: 6%;
  font-family: var(--font-display);
  font-size: clamp(4rem, 10vw, 9rem);
  font-weight: 700;
  letter-spacing: -0.05em;
  color: rgba(255, 255, 255, 0.035);
  line-height: 1;
}

.vc-vesper {
  background: linear-gradient(210deg, #202020 0%, #1a1a1a 100%);
}

.vc-vesper::before {
  content: '';
  position: absolute;
  top: 35%;
  left: 12%;
  right: 18%;
  height: 1px;
  background: rgba(255, 255, 255, 0.06);
  box-shadow:
    0 18px 0 rgba(255, 255, 255, 0.04),
    0 36px 0 rgba(255, 255, 255, 0.025),
    0 54px 0 rgba(255, 255, 255, 0.015);
}

.vc-forma {
  background: linear-gradient(165deg, #1e1e1e 0%, #1b1b1b 100%);
}

.vc-forma::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 36%;
  height: 42%;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.vc-forma::after {
  content: '';
  position: absolute;
  top: calc(50% + 14%);
  left: calc(50% + 14%);
  transform: translate(-50%, -50%);
  width: 26%;
  height: 30%;
  background: rgba(255, 255, 255, 0.025);
}

.work-card__reveal {
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.018);
  opacity: 0;
  transition: opacity var(--t-base);
}

.work-card:hover .work-card__reveal { opacity: 1; }

/* Card info */
.work-card__info {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1.5rem 1.75rem 2rem;
  flex: 1;
}

.work-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.work-card__num,
.work-card__cat {
  font-family: var(--font-mono);
  font-size: 0.5625rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--on-surface-muted);
}

.work-card__title {
  font-family: var(--font-display);
  font-size: clamp(1.375rem, 2.5vw, 1.875rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--primary);
  line-height: 1.15;
}

.work-card__desc {
  font-size: 0.875rem;
  color: var(--on-surface-var);
  line-height: 1.6;
}

.work-card--sub .work-card__desc { display: none; }

@media (min-width: 900px) {
  .work-card--sub .work-card__desc { display: block; font-size: 0.8125rem; }
}

.work-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.5625rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--on-surface-muted);
  margin-top: auto;
  padding-top: 1rem;
  transition: color var(--t-fast);
}

.work-card:hover .work-card__cta { color: var(--primary); }

/* ============================================================
   SERVICES LIST (Homepage)
   ============================================================ */
.svc-list {
  display: flex;
  flex-direction: column;
}

.svc-item {
  display: grid;
  grid-template-columns: 2.5rem 1fr auto;
  align-items: start;
  gap: 1.5rem;
  padding-block: 2rem;
  position: relative;
  cursor: default;
}

.svc-item + .svc-item::before {
  content: '';
  position: absolute;
  top: 0;
  inset-inline: 0;
  height: 1px;
  background: rgba(71, 71, 71, 0.14);
}

.svc-item__num {
  font-family: var(--font-mono);
  font-size: 0.5625rem;
  letter-spacing: 0.15em;
  color: var(--on-surface-muted);
  padding-top: 0.375rem;
}

.svc-item__body { display: flex; flex-direction: column; gap: 0.5rem; }

.svc-item__name {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.5vw, 1.875rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--on-surface);
  line-height: 1.2;
  transition: color var(--t-base);
}

.svc-item:hover .svc-item__name { color: var(--primary); }

.svc-item__desc {
  font-size: 0.875rem;
  color: var(--on-surface-muted);
  max-width: 52ch;
}

.svc-item__arrow {
  font-size: 0.9375rem;
  color: var(--on-surface-muted);
  padding-top: 0.25rem;
  transition: transform var(--t-base), color var(--t-base);
}

.svc-item:hover .svc-item__arrow {
  transform: translate(4px, -4px);
  color: var(--primary);
}

/* ============================================================
   PHILOSOPHY
   ============================================================ */
.philosophy__quote {
  font-family: var(--font-display);
  font-size: clamp(2rem, 6vw, 5rem);
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--on-surface-var);
  max-width: 17ch;
  margin-bottom: clamp(3rem, 6vw, 5rem);
}

.philosophy__quote strong {
  color: var(--primary);
  font-weight: 500;
}

.principles {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4px;
}

@media (min-width: 640px) { .principles { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .principles { grid-template-columns: repeat(4, 1fr); } }

.principle {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1.75rem;
  background: var(--sc-low);
}

.principle__tag {
  font-family: var(--font-mono);
  font-size: 0.5rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--on-surface-muted);
}

.principle__title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: -0.015em;
  color: var(--primary);
  line-height: 1.3;
}

.principle__desc {
  font-size: 0.8125rem;
  color: var(--on-surface-muted);
  line-height: 1.65;
}

/* ============================================================
   CTA SECTION
   ============================================================ */
.cta-band {
  text-align: center;
  padding-block: clamp(6rem, 12vw, 11rem);
}

.cta-band__label { margin-bottom: 1.5rem; }
.cta-band__head { margin-bottom: 1.75rem; }
.cta-band__body { max-width: 44ch; margin-inline: auto; margin-bottom: 2.75rem; }

.cta-band__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--sc-lowest);
  border-top: 1px solid rgba(71, 71, 71, 0.14);
  padding-block: clamp(3rem, 6vw, 5rem);
}

.footer__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

@media (min-width: 768px) {
  .footer__inner {
    grid-template-columns: 1fr 1fr;
    align-items: end;
  }
}

.footer__logo {
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 0.625rem;
}

.footer__tagline {
  font-size: 0.8125rem;
  color: var(--on-surface-muted);
  margin-bottom: 1.5rem;
}

.footer__copy {
  font-family: var(--font-mono);
  font-size: 0.5625rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--on-surface-muted);
}

.footer__right {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: flex-start;
}

@media (min-width: 768px) { .footer__right { align-items: flex-end; } }

.footer__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer__nav a {
  font-size: 0.8125rem;
  color: var(--on-surface-muted);
  transition: color var(--t-fast);
}

.footer__nav a:hover { color: var(--primary); }

.footer__email {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.06em;
  color: var(--on-surface-muted);
  transition: color var(--t-fast);
}

.footer__email:hover { color: var(--primary); }

/* ============================================================
   PAGE HEADER (inner pages)
   ============================================================ */
.page-hero {
  padding-top: calc(var(--nav-h) + clamp(4rem, 8vw, 7rem));
  padding-bottom: clamp(3rem, 6vw, 5rem);
  background:
    radial-gradient(ellipse 80% 50% at 50% -8%, rgba(46, 46, 46, 0.5) 0%, transparent 68%);
}

.page-hero__label { margin-bottom: 1.5rem; }

.page-hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 7vw, 5.5rem);
  font-weight: 500;
  letter-spacing: -0.032em;
  line-height: 1.05;
  color: var(--primary);
  margin-bottom: 1.5rem;
  max-width: 14ch;
}

.page-hero__body { max-width: 50ch; }

/* ============================================================
   WORK PAGE — full grid
   ============================================================ */
.work-full-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 6px;
}

@media (min-width: 640px) { .work-full-grid { grid-template-columns: repeat(2, 1fr); } }

@media (min-width: 1100px) { .work-full-grid { grid-template-columns: repeat(3, 1fr); } }

.work-full-grid .work-card--featured {
  grid-column: 1 / -1;
}

@media (min-width: 1100px) {
  .work-full-grid .work-card--featured { grid-column: 1 / 3; }
}

.work-full-grid .work-card .work-card__visual {
  height: clamp(200px, 26vw, 360px);
}

.work-full-grid .work-card--featured .work-card__visual {
  height: clamp(280px, 36vw, 500px);
}

/* ============================================================
   SERVICES PAGE — detailed
   ============================================================ */
.svc-detail {
  padding-block: clamp(3rem, 6vw, 5rem);
  position: relative;
}

.svc-detail + .svc-detail::before {
  content: '';
  position: absolute;
  top: 0;
  inset-inline: 0;
  height: 1px;
  background: rgba(71, 71, 71, 0.12);
}

.svc-detail__top {
  display: grid;
  grid-template-columns: 2.5rem 1fr;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.svc-detail__num {
  font-family: var(--font-mono);
  font-size: 0.5625rem;
  letter-spacing: 0.15em;
  color: var(--on-surface-muted);
  padding-top: 0.4rem;
}

.svc-detail__name {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  font-weight: 500;
  letter-spacing: -0.025em;
  color: var(--primary);
  line-height: 1.15;
}

.svc-detail__content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  padding-left: calc(2.5rem + 1.5rem);
}

@media (min-width: 768px) {
  .svc-detail__content { grid-template-columns: 3fr 2fr; gap: 4rem; }
}

.svc-detail__desc {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--on-surface-var);
}

.svc-includes__label {
  font-family: var(--font-mono);
  font-size: 0.5rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--on-surface-muted);
  margin-bottom: 1rem;
}

.svc-includes__list {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.svc-includes__item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.875rem;
  color: var(--on-surface-var);
}

.svc-includes__item::before {
  content: '—';
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--on-surface-muted);
  flex-shrink: 0;
  margin-top: 0.05rem;
}

/* ============================================================
   ABOUT PAGE
   ============================================================ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 5rem;
}

@media (min-width: 900px) {
  .about-grid { grid-template-columns: 1fr 1fr; align-items: start; }
}

.about-body p + p { margin-top: 1.25rem; }

.about-body p {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--on-surface-var);
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 4px;
  margin-top: 3rem;
}

.stat-block {
  padding: 1.75rem;
  background: var(--sc-low);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.stat-block__num {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 500;
  letter-spacing: -0.04em;
  color: var(--primary);
  line-height: 1;
}

.stat-block__label {
  font-family: var(--font-mono);
  font-size: 0.5rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--on-surface-muted);
}

.values-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.value-item {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding-block: 1.75rem;
  position: relative;
}

.value-item + .value-item::before {
  content: '';
  position: absolute;
  top: 0;
  inset-inline: 0;
  height: 1px;
  background: rgba(71, 71, 71, 0.12);
}

.value-item__title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--primary);
}

.value-item__desc {
  font-size: 0.875rem;
  color: var(--on-surface-muted);
  line-height: 1.7;
}

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 5rem;
}

@media (min-width: 900px) {
  .contact-grid { grid-template-columns: 5fr 7fr; align-items: start; }
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  position: sticky;
  top: calc(var(--nav-h) + 2rem);
}

.contact-info__item { display: flex; flex-direction: column; gap: 0.5rem; }

.contact-info__label {
  font-family: var(--font-mono);
  font-size: 0.5rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--on-surface-muted);
}

.contact-info__val {
  font-family: var(--font-display);
  font-size: 0.9375rem;
  color: var(--on-surface);
  letter-spacing: -0.01em;
}

.contact-info__val a {
  transition: color var(--t-fast);
}

.contact-info__val a:hover { color: var(--primary); }

/* Form */
.form {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.form-group { display: flex; flex-direction: column; gap: 0.75rem; }

.form-label {
  font-family: var(--font-mono);
  font-size: 0.5rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--on-surface-muted);
}

.form-input,
.form-textarea,
.form-select {
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(71, 71, 71, 0.35);
  color: var(--primary);
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 0.75rem 0;
  width: 100%;
  outline: none;
  transition: border-color var(--t-base);
  border-radius: 0;
  -webkit-appearance: none;
}

.form-input::placeholder,
.form-textarea::placeholder { color: var(--on-surface-muted); }

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  border-bottom-color: var(--primary);
}

.form-textarea { resize: none; min-height: 130px; }

.form-select { cursor: pointer; }
.form-select option { background: var(--sc); color: var(--primary); }

.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}

@media (min-width: 640px) { .form-row { grid-template-columns: 1fr 1fr; } }

/* Success state */
.form-success {
  display: none;
  text-align: center;
  padding: 3rem;
  background: var(--sc-low);
}

.form-success.show { display: block; }
.form-success__icon {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  letter-spacing: 0.2em;
  color: var(--on-surface-muted);
  margin-bottom: 1.5rem;
}
.form-success__title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--primary);
  margin-bottom: 0.75rem;
}
.form-success__body { font-size: 0.9375rem; color: var(--on-surface-muted); }

/* ============================================================
   SCROLL ANIMATIONS
   ============================================================ */
.fade-up {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.fade-up.in-view { opacity: 1; transform: translateY(0); }

.fade-in {
  opacity: 0;
  transition: opacity 0.65s ease;
}

.fade-in.in-view { opacity: 1; }

.d-1 { transition-delay: 0.08s; }
.d-2 { transition-delay: 0.16s; }
.d-3 { transition-delay: 0.24s; }
.d-4 { transition-delay: 0.32s; }
.d-5 { transition-delay: 0.40s; }

/* ============================================================
   UTILITIES
   ============================================================ */
.bg-surface { background: var(--sc-lowest); }
.bg-alt { background: var(--sc-low); }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* ============================================================
   SCROLL PROGRESS BAR
   ============================================================ */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--accent);
  z-index: 200;
  box-shadow: 0 0 10px var(--accent-glow);
  transition: width 0.08s linear;
}

/* ============================================================
   NAV — STATUS DOT
   ============================================================ */
.nav__status {
  display: none;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 0.5rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--on-surface-muted);
}

@media (min-width: 1024px) { .nav__status { display: flex; } }

.nav__status-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
  animation: dot-pulse 2.8s ease-in-out infinite;
}

/* ============================================================
   HERO — GRADIENT ORBS
   ============================================================ */
.hero__orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  will-change: transform;
}

.hero__orb--1 {
  width: 720px;
  height: 720px;
  background: radial-gradient(circle at center, rgba(46, 239, 133, 0.065) 0%, transparent 65%);
  top: -200px;
  left: -180px;
  animation: orb-drift 20s ease-in-out infinite;
}

.hero__orb--2 {
  width: 580px;
  height: 580px;
  background: radial-gradient(circle at center, rgba(255, 255, 255, 0.03) 0%, transparent 65%);
  top: 10%;
  right: -120px;
  animation: orb-drift 26s ease-in-out infinite reverse;
  animation-delay: -12s;
}

.hero__orb--3 {
  width: 380px;
  height: 380px;
  background: radial-gradient(circle at center, rgba(46, 239, 133, 0.04) 0%, transparent 65%);
  bottom: 0;
  left: 35%;
  animation: orb-drift 17s ease-in-out infinite;
  animation-delay: -6s;
}

@keyframes orb-drift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  25%       { transform: translate(35px, -28px) scale(1.04); }
  50%       { transform: translate(-22px, 18px) scale(0.97); }
  75%       { transform: translate(18px, 10px) scale(1.02); }
}

/* ============================================================
   HERO — AVAILABILITY INDICATOR
   ============================================================ */
.hero__available {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 2rem;
  padding: 0.5rem 1rem 0.5rem 0.75rem;
  background: rgba(46, 239, 133, 0.08);
  border: 1px solid rgba(46, 239, 133, 0.18);
  opacity: 0;
  animation: reveal-up 0.7s ease 0.1s forwards;
}

.hero__avail-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
  animation: dot-pulse 2.8s ease-in-out infinite;
}

.hero__available .label-mono { color: rgba(46, 239, 133, 0.8); }

/* ============================================================
   HERO — TEXT LINE REVEAL ANIMATIONS
   ============================================================ */
@keyframes reveal-up {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero__label {
  opacity: 0;
  animation: reveal-up 0.7s ease 0.3s forwards;
}

.hero__headline .line {
  display: block;
  opacity: 0;
}

.hero__headline .line--1 { animation: reveal-up 0.8s ease 0.45s forwards; }
.hero__headline .line--2 { animation: reveal-up 0.8s ease 0.6s forwards; }
.hero__headline .line--3 { animation: reveal-up 0.8s ease 0.75s forwards; }

.hero__body {
  opacity: 0;
  animation: reveal-up 0.7s ease 0.95s forwards;
}

.hero__actions {
  opacity: 0;
  animation: reveal-up 0.7s ease 1.1s forwards;
}

.hero__scroll-hint {
  opacity: 0;
  animation: reveal-up 0.6s ease 1.4s forwards;
}

/* ============================================================
   MARQUEE / TICKER
   ============================================================ */
.marquee {
  overflow: hidden;
  white-space: nowrap;
  background: var(--sc-lowest);
  border-top: 1px solid rgba(71, 71, 71, 0.12);
  border-bottom: 1px solid rgba(71, 71, 71, 0.12);
  padding-block: 0.9375rem;
  user-select: none;
}

.marquee__track {
  display: inline-flex;
  animation: marquee-scroll 28s linear infinite;
}

.marquee__track:hover { animation-play-state: paused; }

.marquee__item {
  display: inline-flex;
  align-items: center;
  gap: 1.5rem;
  padding-inline: 2.5rem;
  font-family: var(--font-mono);
  font-size: 0.5625rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--on-surface-muted);
}

.marquee__sep {
  color: var(--accent);
  font-size: 0.5rem;
}

@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ============================================================
   WORK CARDS — PHOTOS & ACCENT HOVER
   ============================================================ */
.work-card__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.75s ease, filter 0.4s ease;
  filter: brightness(0.55) saturate(0.65) contrast(1.05);
}

.work-card:hover .work-card__visual img {
  transform: scale(1.04);
  filter: brightness(0.68) saturate(0.8) contrast(1.05);
}

.work-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(170deg, rgba(19,19,19,0.08) 0%, rgba(19,19,19,0.52) 100%);
  pointer-events: none;
}

/* Accent left-edge reveal on hover */
.work-card::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--accent);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.45s ease;
  z-index: 10;
}

.work-card:hover::before { transform: scaleY(1); }

/* Accent color on card numbers */
.work-card__num { color: var(--accent) !important; }

/* ============================================================
   SERVICE ITEM — ACCENT NUMBERS
   ============================================================ */
.svc-item__num { color: var(--accent) !important; }
.svc-detail__num { color: var(--accent) !important; }

/* ============================================================
   STAT BLOCK — ACCENT NUMBER
   ============================================================ */
.stat-block__num { color: var(--accent); }

/* ============================================================
   CTA BAND — LIVE GLOW
   ============================================================ */
.cta-band { position: relative; overflow: hidden; }

.cta-band__glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 60% at 50% 50%, rgba(46, 239, 133, 0.055) 0%, transparent 70%);
  pointer-events: none;
  animation: cta-breathe 7s ease-in-out infinite;
}

@keyframes cta-breathe {
  0%, 100% { opacity: 0.6; transform: scale(1); }
  50%       { opacity: 1;   transform: scale(1.08); }
}

/* ============================================================
   FOOTER — ACCENT DOT ON EMAIL
   ============================================================ */
.footer__email::before {
  content: '● ';
  color: var(--accent);
  font-size: 0.4rem;
  vertical-align: middle;
  margin-right: 2px;
}

/* ============================================================
   PULSE KEYFRAME (shared)
   ============================================================ */
@keyframes dot-pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(46, 239, 133, 0.5); }
  50%       { opacity: 0.75; box-shadow: 0 0 0 5px rgba(46, 239, 133, 0); }
}

/* ============================================================
   PAGE HERO — PHOTO BANNER (About)
   ============================================================ */
.page-hero--with-img {
  position: relative;
  padding-bottom: 0;
}

.page-hero__img {
  width: 100%;
  height: clamp(260px, 38vw, 480px);
  object-fit: cover;
  display: block;
  filter: brightness(0.4) saturate(0.5) contrast(1.1);
  margin-top: clamp(3rem, 5vw, 5rem);
}

/* ============================================================
   PRINCIPLE TAG — ACCENT
   ============================================================ */
.principle__tag { color: var(--accent); }

