/* ==========================================================================
   Understory — design tokens
   ========================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&family=DM+Sans:ital,opsz,wght@0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;1,9..40,400&display=swap');

:root{
  color-scheme: dark;

  /* surfaces */
  --bg: #0a0806;
  --bg-soft: #0e0b08;
  --surface: #161210;
  --surface-2: #1d1814;
  --border: rgba(255,255,255,0.09);
  --border-strong: rgba(255,255,255,0.16);

  /* text */
  --text: #f6f1ea;
  --text-muted: #ab9f92;
  --text-faint: #6e6459;

  /* accent — warm amber/orange glow */
  --accent: #ff7a33;
  --accent-light: #ffb37a;
  --accent-deep: #c75a1e;
  --accent-dim: rgba(255,122,51,0.14);
  --accent-glow: rgba(255,122,51,0.38);

  /* type */
  --font-display: "Space Grotesk", ui-sans-serif, system-ui, sans-serif;
  --font-body: "DM Sans", ui-sans-serif, system-ui, sans-serif;

  /* fluid type scale */
  --fs-hero: clamp(2.6rem, 2rem + 3.2vw, 5.2rem);
  --fs-h2: clamp(1.9rem, 1.55rem + 1.6vw, 3.1rem);
  --fs-h3: clamp(1.3rem, 1.15rem + 0.7vw, 1.75rem);
  --fs-lead: clamp(1.05rem, 0.97rem + 0.35vw, 1.3rem);
  --fs-body: 1rem;
  --fs-small: 0.875rem;
  --fs-micro: 0.75rem;

  /* spacing scale (standard density) */
  --sp-1: 0.5rem;
  --sp-2: 1rem;
  --sp-3: 1.5rem;
  --sp-4: 2rem;
  --sp-5: 3rem;
  --sp-6: 4rem;
  --sp-7: 6rem;
  --sp-8: 8rem;

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-pill: 999px;

  --ease-out: cubic-bezier(.16,1,.3,1);
  --ease-in-out: cubic-bezier(.65,0,.35,1);

  --container: 1240px;
}

/* ==========================================================================
   Reset
   ========================================================================== */
*, *::before, *::after{ box-sizing: border-box; }
html{
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
  max-width: 100%;
}
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
  *, *::before, *::after{
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
body{
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img{ max-width: 100%; display: block; }
a{ color: inherit; text-decoration: none; }
button{ font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
ul{ list-style: none; margin: 0; padding: 0; }
h1,h2,h3,h4,p{ margin: 0; }
input, textarea{ font: inherit; color: inherit; }

::selection{ background: var(--accent); color: #140a05; }

:focus-visible{
  outline: 2px solid var(--accent-light);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ==========================================================================
   Background texture — grain + glow
   ========================================================================== */
.grain{
  position: fixed;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  opacity: 0.05;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.glow-field{
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}
.glow-field::before,
.glow-field::after{
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.55;
}
.glow-field::before{
  width: 46vw;
  height: 46vw;
  background: radial-gradient(circle, var(--accent-glow), transparent 70%);
  top: -14vw;
  right: -10vw;
}
.glow-field::after{
  width: 30vw;
  height: 30vw;
  background: radial-gradient(circle, rgba(255,179,122,0.22), transparent 70%);
  bottom: -8vw;
  left: -6vw;
}

/* ==========================================================================
   Layout helpers
   ========================================================================== */
.wrap{
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--sp-3);
  position: relative;
  z-index: 1;
}
section{ position: relative; }
.section-pad{ padding-block: var(--sp-7); }
@media (max-width: 768px){
  .section-pad{ padding-block: var(--sp-6); }
}

.eyebrow{
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  font-family: var(--font-display);
  font-size: var(--fs-micro);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-light);
  font-weight: 500;
}
.eyebrow::before{
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px var(--accent-glow);
  flex: none;
}

.section-head{
  max-width: 620px;
  margin-bottom: var(--sp-5);
}
.section-head h2{
  font-family: var(--font-display);
  font-size: var(--fs-h2);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-top: var(--sp-2);
}
.section-head p{
  margin-top: var(--sp-2);
  color: var(--text-muted);
  font-size: var(--fs-lead);
}

.text-muted{ color: var(--text-muted); }

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn{
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  padding: 0.95em 1.7em;
  border-radius: var(--radius-pill);
  font-family: var(--font-display);
  font-size: var(--fs-small);
  font-weight: 500;
  letter-spacing: 0.01em;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out), background 0.3s ease, border-color 0.3s ease;
  min-height: 44px;
}
.btn-primary{
  background: linear-gradient(135deg, var(--accent), var(--accent-deep));
  color: #160b04;
  box-shadow: 0 8px 24px -8px var(--accent-glow);
}
.btn-primary:hover{
  box-shadow: 0 12px 32px -6px var(--accent-glow);
  transform: translateY(-2px);
}
.btn-ghost{
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border-strong);
  color: var(--text);
}
.btn-ghost:hover{
  background: rgba(255,255,255,0.07);
  border-color: rgba(255,255,255,0.3);
  transform: translateY(-2px);
}
.btn-small{
  padding: 0.65em 1.2em;
  font-size: var(--fs-micro);
}

/* ==========================================================================
   Header
   ========================================================================== */
.site-header{
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  padding-block: var(--sp-2);
  transition: background 0.4s ease, border-color 0.4s ease, padding 0.4s ease;
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled{
  background: rgba(10,8,6,0.78);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-bottom-color: var(--border);
  padding-block: 0.85rem;
}
.site-header .wrap{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-3);
}
.logo{
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.15rem;
  letter-spacing: -0.01em;
}
.logo-mark{
  width: 28px;
  height: 28px;
  flex: none;
  display: grid;
  place-items: center;
}
.logo-mark svg{ width: 100%; height: 100%; }

.main-nav{
  display: flex;
  align-items: center;
  gap: var(--sp-5);
}
.main-nav ul{
  display: flex;
  gap: var(--sp-4);
}
.main-nav a{
  font-size: var(--fs-small);
  color: var(--text-muted);
  transition: color 0.25s ease;
  position: relative;
}
.main-nav a:hover{ color: var(--text); }
.main-nav a::after{
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -6px;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s var(--ease-out);
}
.main-nav a:hover::after{ transform: scaleX(1); transform-origin: left; }

.nav-cta{ display: flex; align-items: center; gap: var(--sp-3); }

.nav-toggle{
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  flex: none;
}
.nav-toggle span{
  display: block;
  width: 20px;
  height: 1.5px;
  background: var(--text);
  position: relative;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.nav-toggle span::before,
.nav-toggle span::after{
  content: "";
  position: absolute;
  left: 0;
  width: 20px;
  height: 1.5px;
  background: var(--text);
  transition: transform 0.3s ease, top 0.3s ease;
}
.nav-toggle span::before{ top: -6px; }
.nav-toggle span::after{ top: 6px; }
.nav-open .nav-toggle span{ background: transparent; }
.nav-open .nav-toggle span::before{ top: 0; transform: rotate(45deg); }
.nav-open .nav-toggle span::after{ top: 0; transform: rotate(-45deg); }

@media (max-width: 860px){
  .main-nav{
    position: fixed;
    inset: 0 0 0 auto;
    width: min(78vw, 360px);
    height: 100dvh;
    background: var(--bg-soft);
    border-left: 1px solid var(--border);
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    padding: var(--sp-5) var(--sp-4);
    transform: translateX(100%);
    transition: transform 0.45s var(--ease-in-out);
  }
  .nav-open .main-nav{ transform: translateX(0); }
  .main-nav ul{
    flex-direction: column;
    gap: var(--sp-4);
  }
  .main-nav ul a{ font-size: 1.4rem; font-family: var(--font-display); color: var(--text); }
  .nav-cta{ margin-top: var(--sp-5); }
  .nav-toggle{ display: inline-flex; }
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero{
  padding-top: clamp(7rem, 6rem + 4vw, 10rem);
  padding-bottom: var(--sp-7);
  overflow: clip;
}

/* Hero entrance — plain CSS, no JS library required. Runs once .js-ready
   is set (see main.js); without JS it just falls back to visible/static. */
@media not all and (prefers-reduced-motion: reduce){
  @keyframes hero-in{
    from{ opacity: 0; transform: translateY(28px); }
    to{ opacity: 1; transform: translateY(0); }
  }
  .js-ready .hero-copy .eyebrow{ animation: hero-in 0.7s var(--ease-out) 0.05s both; }
  .js-ready .hero-copy h1{ animation: hero-in 0.9s var(--ease-out) 0.15s both; }
  .js-ready .hero-copy .lead{ animation: hero-in 0.7s var(--ease-out) 0.4s both; }
  .js-ready .hero-actions{ animation: hero-in 0.7s var(--ease-out) 0.5s both; }
  .js-ready .hero-stats{ animation: hero-in 0.7s var(--ease-out) 0.6s both; }
  .js-ready .hero-visual{ animation: hero-in 0.9s var(--ease-out) 0.35s both; }
  .js-ready .float-chip{ animation: hero-in 0.6s var(--ease-out) 0.85s both; }
  .js-ready .chip-mobile{ animation-delay: 1s; }
}
.hero-grid{
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: var(--sp-6);
  align-items: center;
}
.hero-grid > *{ min-width: 0; }
@media (max-width: 980px){
  .hero-grid{ grid-template-columns: 1fr; gap: var(--sp-5); }
}

.hero-copy h1{
  font-family: var(--font-display);
  font-size: var(--fs-hero);
  font-weight: 600;
  line-height: 1.03;
  letter-spacing: -0.03em;
  margin-top: var(--sp-3);
}
.hero-copy h1 em{
  font-style: normal;
  color: var(--accent-light);
}
.hero-copy .lead{
  margin-top: var(--sp-3);
  max-width: 46ch;
  font-size: var(--fs-lead);
  color: var(--text-muted);
}
.hero-actions{
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2);
  margin-top: var(--sp-4);
}

.hero-stats{
  display: flex;
  gap: var(--sp-5);
  margin-top: var(--sp-6);
  padding-top: var(--sp-4);
  border-top: 1px solid var(--border);
}
.hero-stats .stat{ min-width: 0; }
.hero-stats .stat-num{
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 1.3rem + 0.8vw, 2.1rem);
  font-weight: 600;
  color: var(--text);
}
.hero-stats .stat-label{
  font-size: var(--fs-micro);
  color: var(--text-faint);
  margin-top: 0.3em;
  letter-spacing: 0.02em;
}
@media (max-width: 520px){
  .hero-stats{ gap: var(--sp-4); flex-wrap: wrap; }
}

/* hero visual — glass browser mockup */
.hero-visual{
  position: relative;
  perspective: 1400px;
}
.browser-frame{
  position: relative;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--border-strong);
  box-shadow: 0 40px 80px -24px rgba(0,0,0,0.65), 0 0 0 1px rgba(255,255,255,0.02) inset;
  overflow: hidden;
  transform: rotateY(-8deg) rotateX(3deg);
  transform-style: preserve-3d;
}
.browser-bar{
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0.8rem 1rem;
  border-bottom: 1px solid var(--border);
  background: var(--surface-2);
}
.browser-bar span{
  width: 9px; height: 9px; border-radius: 50%;
  background: rgba(255,255,255,0.14);
}
.browser-body{
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}
.browser-body img{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  opacity: 0;
  transition: opacity 1.1s var(--ease-in-out);
}
.browser-body img.is-active{ opacity: 1; }

.float-chip{
  position: absolute;
  display: flex;
  align-items: center;
  gap: 0.6em;
  padding: 0.7em 1em;
  border-radius: var(--radius-md);
  background: rgba(22,18,16,0.82);
  border: 1px solid var(--border-strong);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 20px 40px -16px rgba(0,0,0,0.6);
  font-family: var(--font-display);
  font-size: var(--fs-small);
}
.float-chip .dot{
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent-glow);
  flex: none;
}
.float-chip small{
  display: block;
  font-family: var(--font-body);
  font-size: var(--fs-micro);
  color: var(--text-faint);
  font-weight: 400;
}
.chip-speed{ top: -6%; left: -9%; }
.chip-mobile{ bottom: -8%; right: -7%; }
@media (max-width: 980px){
  .browser-frame{ transform: none; }
  .chip-speed{ top: -4%; left: -2%; }
  .chip-mobile{ bottom: -6%; right: -2%; }
}
@media (max-width: 560px){
  .float-chip{ padding: 0.55em 0.8em; font-size: var(--fs-micro); }
}

.scroll-cue{
  position: absolute;
  bottom: var(--sp-3);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5em;
  font-size: var(--fs-micro);
  color: var(--text-faint);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.scroll-cue .line{
  width: 1px;
  height: 28px;
  background: linear-gradient(var(--accent), transparent);
}
@media (max-width: 980px){ .scroll-cue{ display: none; } }

/* ==========================================================================
   Industries strip
   ========================================================================== */
.industries{
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding-block: var(--sp-4);
}
.industries .wrap{
  display: flex;
  align-items: center;
  gap: var(--sp-5);
  flex-wrap: wrap;
  justify-content: space-between;
}
.industries p{
  font-size: var(--fs-small);
  color: var(--text-faint);
  flex: none;
}
.industry-tags{
  display: flex;
  gap: var(--sp-2);
  flex-wrap: wrap;
}
.industry-tags span{
  font-family: var(--font-display);
  font-size: var(--fs-small);
  padding: 0.5em 1.1em;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  color: var(--text-muted);
}

/* ==========================================================================
   Work / portfolio
   ========================================================================== */
.work-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-4);
}
@media (max-width: 980px){
  .work-grid{ grid-template-columns: 1fr; }
}
.work-card{
  position: relative;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--surface);
  overflow: hidden;
  transition: border-color 0.4s ease, transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
}
.work-card:hover{
  border-color: var(--border-strong);
  transform: translateY(-6px);
  box-shadow: 0 30px 60px -24px rgba(0,0,0,0.6);
}
.work-thumb{
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}
.work-thumb img{
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: top;
  transition: transform 0.7s var(--ease-out);
}
.work-card:hover .work-thumb img{ transform: scale(1.05); }
.work-thumb::after{
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(10,8,6,0.75));
}
.work-tag{
  position: absolute;
  top: 1rem; left: 1rem;
  z-index: 1;
  font-family: var(--font-display);
  font-size: var(--fs-micro);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.4em 0.8em;
  border-radius: var(--radius-pill);
  background: rgba(10,8,6,0.65);
  border: 1px solid var(--border-strong);
  backdrop-filter: blur(8px);
}
.work-body{ padding: var(--sp-3); }
.work-body h3{
  font-family: var(--font-display);
  font-size: var(--fs-h3);
  font-weight: 600;
}
.work-body p{
  margin-top: 0.5em;
  color: var(--text-muted);
  font-size: var(--fs-small);
}
.work-link{
  margin-top: var(--sp-2);
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  font-family: var(--font-display);
  font-size: var(--fs-small);
  color: var(--accent-light);
}
.work-link svg{ width: 14px; height: 14px; }

.work-note{
  margin-top: var(--sp-4);
  font-size: var(--fs-small);
  color: var(--text-faint);
  max-width: 60ch;
}

/* ==========================================================================
   Process
   ========================================================================== */
.process-grid{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-3);
  counter-reset: step;
}
@media (max-width: 980px){
  .process-grid{ grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px){
  .process-grid{ grid-template-columns: 1fr; }
}
.process-step{
  position: relative;
  padding: var(--sp-4) var(--sp-3);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: linear-gradient(180deg, var(--surface), var(--bg-soft));
}
.process-step .num{
  font-family: var(--font-display);
  font-size: var(--fs-small);
  color: var(--accent-light);
  letter-spacing: 0.04em;
}
.process-step h3{
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  margin-top: var(--sp-2);
}
.process-step p{
  margin-top: 0.6em;
  color: var(--text-muted);
  font-size: var(--fs-small);
}

/* ==========================================================================
   Services / included
   ========================================================================== */
.services-layout{
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: var(--sp-6);
  align-items: start;
}
.services-layout > *{ min-width: 0; }
@media (max-width: 980px){
  .services-layout{ grid-template-columns: 1fr; gap: var(--sp-4); }
}
.included-list{
  display: grid;
  gap: var(--sp-2);
}
.included-item{
  display: flex;
  align-items: flex-start;
  gap: var(--sp-2);
  padding: var(--sp-3);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: var(--surface);
  transition: border-color 0.3s ease, background 0.3s ease;
}
.included-item:hover{ border-color: var(--border-strong); background: var(--surface-2); }
.included-item .icon{
  flex: none;
  width: 36px; height: 36px;
  border-radius: 10px;
  background: var(--accent-dim);
  display: grid;
  place-items: center;
  color: var(--accent-light);
}
.included-item .icon svg{ width: 18px; height: 18px; }
.included-item h4{
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
}
.included-item p{
  margin-top: 0.3em;
  font-size: var(--fs-small);
  color: var(--text-muted);
}

.panel{
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-strong);
  background: linear-gradient(160deg, var(--surface) 0%, var(--bg-soft) 100%);
  padding: var(--sp-5);
  position: relative;
  overflow: hidden;
}
.panel::before{
  content: "";
  position: absolute;
  width: 220px; height: 220px;
  background: radial-gradient(circle, var(--accent-glow), transparent 70%);
  top: -60px; right: -60px;
  filter: blur(10px);
  opacity: 0.5;
}
.panel h3{
  font-family: var(--font-display);
  font-size: var(--fs-h3);
  font-weight: 600;
  position: relative;
}
.panel p{
  margin-top: var(--sp-2);
  color: var(--text-muted);
  position: relative;
}
.panel .btn{ margin-top: var(--sp-4); position: relative; }

/* ==========================================================================
   About
   ========================================================================== */
.about-grid{
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: var(--sp-6);
  align-items: center;
}
.about-grid > *{ min-width: 0; }
@media (max-width: 980px){
  .about-grid{ grid-template-columns: 1fr; gap: var(--sp-4); }
}
.about-copy p{
  color: var(--text-muted);
  font-size: var(--fs-lead);
  max-width: 54ch;
}
.about-copy p + p{ margin-top: var(--sp-2); }
.signature{
  margin-top: var(--sp-4);
  display: flex;
  align-items: center;
  gap: var(--sp-2);
}
.signature .name{
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
}
.signature .role{
  font-size: var(--fs-small);
  color: var(--text-faint);
}

.about-points{ display: grid; gap: var(--sp-2); }
.about-point{
  display: flex;
  gap: var(--sp-2);
  padding: var(--sp-3);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: var(--surface);
}
.about-point .mark{
  flex: none;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--accent-dim);
  color: var(--accent-light);
  display: grid;
  place-items: center;
}
.about-point .mark svg{ width: 14px; height: 14px; }
.about-point p{ font-size: var(--fs-small); color: var(--text-muted); }

/* ==========================================================================
   Contact
   ========================================================================== */
.contact-grid{
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: var(--sp-6);
}
.contact-grid > *{ min-width: 0; }
@media (max-width: 980px){
  .contact-grid{ grid-template-columns: 1fr; gap: var(--sp-4); }
}
.contact-info h2{
  font-family: var(--font-display);
  font-size: var(--fs-h2);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-top: var(--sp-2);
}
.contact-info p{
  margin-top: var(--sp-3);
  color: var(--text-muted);
  max-width: 44ch;
}
.contact-methods{
  margin-top: var(--sp-5);
  display: grid;
  gap: var(--sp-2);
}
.contact-method{
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: var(--fs-small);
}
.contact-method .icon{
  flex: none;
  width: 36px; height: 36px;
  border-radius: 10px;
  border: 1px solid var(--border);
  display: grid;
  place-items: center;
  color: var(--accent-light);
}
.contact-method .icon svg{ width: 16px; height: 16px; }
.contact-method a:hover{ color: var(--accent-light); }

.form-card{
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-strong);
  background: var(--surface);
  padding: var(--sp-4);
}
.field{
  margin-bottom: var(--sp-3);
}
.field label{
  display: block;
  font-size: var(--fs-micro);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 0.5em;
}
.field input,
.field textarea{
  width: 100%;
  padding: 0.85em 1em;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-strong);
  background: var(--bg-soft);
  color: var(--text);
  transition: border-color 0.25s ease, background 0.25s ease;
  min-height: 44px;
}
.field textarea{ min-height: 120px; resize: vertical; }
.field input::placeholder,
.field textarea::placeholder{ color: var(--text-faint); }
.field input:focus,
.field textarea:focus{
  outline: none;
  border-color: var(--accent);
  background: var(--surface-2);
}
.field-row{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-2);
}
@media (max-width: 560px){
  .field-row{ grid-template-columns: 1fr; }
}
.form-note{
  margin-top: var(--sp-2);
  font-size: var(--fs-micro);
  color: var(--text-faint);
}
.form-status{
  margin-top: var(--sp-2);
  font-size: var(--fs-small);
  min-height: 1.2em;
}
.form-status[data-state="success"]{ color: var(--accent-light); }
.form-status[data-state="error"]{ color: #ff9b7a; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer{
  border-top: 1px solid var(--border);
  padding-block: var(--sp-5);
}
.footer-top{
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: var(--sp-4);
  flex-wrap: wrap;
  padding-bottom: var(--sp-4);
  border-bottom: 1px solid var(--border);
}
.footer-brand p{
  margin-top: var(--sp-1);
  color: var(--text-faint);
  font-size: var(--fs-small);
  max-width: 34ch;
}
.footer-nav{
  display: flex;
  gap: var(--sp-5);
  flex-wrap: wrap;
}
.footer-nav h5{
  font-family: var(--font-display);
  font-size: var(--fs-micro);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: var(--sp-2);
}
.footer-nav ul{ display: grid; gap: 0.6em; }
.footer-nav a{
  font-size: var(--fs-small);
  color: var(--text-muted);
  transition: color 0.25s ease;
}
.footer-nav a:hover{ color: var(--accent-light); }

.footer-bottom{
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--sp-2);
  flex-wrap: wrap;
  padding-top: var(--sp-3);
  font-size: var(--fs-micro);
  color: var(--text-faint);
}

/* ==========================================================================
   Reveal utility (hidden only once JS runs; IntersectionObserver adds
   .is-visible when each element scrolls into view — see main.js)
   ========================================================================== */
.reveal{ opacity: 1; }
.js-ready .reveal{
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s cubic-bezier(.16,1,.3,1), transform 0.7s cubic-bezier(.16,1,.3,1);
}
.js-ready .reveal.is-visible{
  opacity: 1;
  transform: translateY(0);
}
/* Hero's reveal elements are animated directly by a GSAP timeline, not the
   IntersectionObserver — disable the CSS transition there so the two don't
   both try to animate the same properties. */
.hero .reveal{
  transition: none;
}
