/* ============================================================
   Justin's Web Studio — tokens
   ============================================================ */
:root{
  --bg:            #08090c;
  --bg-raised:     #101218;
  --panel:         #14161d;
  --panel-2:       #191c24;
  --border:        #24272f;
  --border-soft:   #1b1e26;
  --text:          #eceef2;
  --text-dim:      #9298a8;
  --text-faint:    #5c6272;

  --accent:        #7c89f9;   /* keyword violet-blue */
  --accent-dim:    #5a63b8;
  --accent-glow:   rgba(124,137,249,.35);

  --teal:          #4fd1a5;   /* string teal */
  --amber:         #f5a85c;   /* constant amber */
  --rose:          #f97583;   /* tag rose, used sparingly */

  --font-display:  'Space Grotesk', 'Segoe UI', sans-serif;
  --font-mono:     'JetBrains Mono', 'Consolas', monospace;

  --gutter-w: 56px;
  --content-max: 1180px;
  --edge: clamp(20px, 5vw, 64px);
}

@media (prefers-color-scheme: light){
  :root{ }
}

*,*::before,*::after{ box-sizing:border-box; }
html{ scroll-behavior:auto; } /* JS drives eased anchor scrolling; auto avoids double-animating it */
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior:auto; }
  *,*::before,*::after{ animation-duration:.001ms !important; animation-iteration-count:1 !important; transition-duration:.001ms !important; scroll-behavior:auto !important; }
}

body{
  margin:0;
  background:var(--bg);
  color:var(--text);
  font-family:var(--font-display);
  font-size:16px;
  line-height:1.5;
  -webkit-font-smoothing:antialiased;
}

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

a{ color:inherit; text-decoration:none; }

::selection{ background:var(--accent); color:#08090c; }

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

/* ---------- small-caps label utility ---------- */
.label{
  font-family:var(--font-mono);
  font-variant-caps: all-small-caps;
  letter-spacing:.06em;
  font-size:13px;
  color:var(--text-dim);
}

/* ---------- background grid texture ---------- */
.bg-grid{
  position:fixed;
  inset:0;
  z-index:0;
  pointer-events:none;
  background-image:
    linear-gradient(to right, var(--border-soft) 1px, transparent 1px);
  background-size: 96px 100%;
  background-position: 0 0;
  opacity:.18;
}
.bg-grid::before{
  content:"";
  position:absolute;
  inset:0;
  background:
    radial-gradient(680px 420px at 82% -6%, var(--accent-glow), transparent 60%),
    radial-gradient(560px 380px at 4% 78%, rgba(79,209,165,.16), transparent 62%);
  opacity:.6;
}

/* ---------- galaxy backdrop: drifting, twinkling dots ---------- */
.bg-canvas{
  position:fixed;
  inset:0;
  z-index:0;
  pointer-events:none;
}

/* ---------- gutter (line-number rail) ---------- */
.gutter{
  position:absolute;
  left:0; top:0; bottom:0;
  width:var(--gutter-w);
  border-right:1px solid var(--border-soft);
  display:none;
}
@media(min-width:900px){ .gutter{ display:block; } }

/* ============================================================
   Layout shell
   ============================================================ */
.shell{
  position:relative;
  max-width:1440px;
  margin:0 auto;
}

section{
  position:relative;
  padding-left:var(--edge);
  padding-right:var(--edge);
  scroll-margin-top:88px;
}
@media(min-width:900px){
  section{ padding-left: calc(var(--gutter-w) + var(--edge)); }
}

.inner{
  max-width:var(--content-max);
  margin:0 auto;
}

/* ============================================================
   Nav
   ============================================================ */
header.nav{
  position:sticky;
  top:0;
  z-index:50;
  background:rgba(8,9,12,.78);
  backdrop-filter:blur(10px);
  border-bottom:1px solid var(--border-soft);
}
.nav-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:16px var(--edge);
  max-width:1440px;
  margin:0 auto;
}
@media(min-width:900px){
  .nav-row{ padding-left: calc(var(--gutter-w) + var(--edge)); }
}
.nav-brand{
  display:flex;
  align-items:baseline;
  gap:10px;
  font-family:var(--font-mono);
  font-size:15px;
  font-weight:500;
}
.nav-brand .dot{ color:var(--teal); }
.nav-links{
  display:none;
  gap:28px;
  list-style:none;
  margin:0; padding:0;
}
@media(min-width:760px){ .nav-links{ display:flex; } }
.nav-links a{
  font-family:var(--font-mono);
  font-variant-caps: all-small-caps;
  letter-spacing:.06em;
  font-size:13px;
  color:var(--text-dim);
  transition:color .15s ease;
}
.nav-links a:hover{ color:var(--text); }
.nav-cta{
  font-family:var(--font-mono);
  font-variant-caps: all-small-caps;
  letter-spacing:.05em;
  font-size:13px;
  padding:9px 16px;
  border:1px solid var(--border);
  border-radius:6px;
  color:var(--text);
  transition:border-color .15s ease, background .15s ease;
  white-space:nowrap;
}
.nav-cta:hover{ border-color:var(--accent); background:rgba(124,137,249,.08); }

/* ============================================================
   Hero
   ============================================================ */
.hero{
  position:relative;
  padding-top:clamp(48px,8vw,88px);
  padding-bottom:clamp(48px,8vw,96px);
}

/* ---------- hero decoration: swoosh + sparkles (borrowed motion, native palette) ---------- */
.hero-decor{
  position:absolute;
  inset:0;
  overflow:hidden;
  pointer-events:none;
}
.hero-swoosh{
  position:absolute;
  top:2%;
  left:2%;
  width:min(40vw,420px);
  opacity:.5;
}
.spark{
  position:absolute;
  animation:sparkle 2.8s ease-in-out infinite;
}
.spark-1{ top:10%; left:46%; width:14px; height:14px; color:var(--teal); animation-delay:.1s; }
.spark-2{ top:66%; left:3%; width:11px; height:11px; color:var(--amber); animation-delay:1s; }
.spark-3{ top:20%; left:58%; width:18px; height:18px; color:var(--accent); animation-delay:1.8s; }
@keyframes sparkle{
  0%,100%{ opacity:.2; transform:scale(.7) rotate(0deg); }
  50%{ opacity:1; transform:scale(1) rotate(14deg); }
}
@media(max-width:979px){
  .hero-swoosh{ opacity:.3; }
  .spark-3{ display:none; }
}
@media (prefers-reduced-motion: reduce){
  .spark{ animation:none; opacity:.5; }
}
.hero-grid{
  display:grid;
  gap:48px;
  grid-template-columns:1fr;
}
@media(min-width:980px){
  .hero-grid{ grid-template-columns: 1.05fr .95fr; align-items:center; gap:56px; }
}

.hero-meta{
  font-family:var(--font-mono);
  font-variant-caps: all-small-caps;
  letter-spacing:.06em;
  font-size:13px;
  color:var(--text-dim);
  display:flex;
  align-items:center;
  gap:10px;
  margin-bottom:22px;
}
.hero-meta .pulse{
  width:7px; height:7px; border-radius:50%;
  background:var(--teal);
  box-shadow:0 0 0 0 rgba(79,209,165,.6);
  animation:pulse 2.4s ease-out infinite;
}
@keyframes pulse{
  0%{ box-shadow:0 0 0 0 rgba(79,209,165,.5); }
  70%{ box-shadow:0 0 0 8px rgba(79,209,165,0); }
  100%{ box-shadow:0 0 0 0 rgba(79,209,165,0); }
}

.hero-title{
  font-family:var(--font-display);
  font-weight:600;
  font-size:clamp(2.6rem, 6.2vw, 5.1rem);
  line-height:1.03;
  letter-spacing:-.02em;
  margin:0 0 26px;
}
.hero-title .ln{
  display:flex;
  gap:18px;
  align-items:baseline;
}
.hero-title .ln-num{
  font-family:var(--font-mono);
  font-size:.28em;
  font-weight:400;
  color:var(--text-faint);
  min-width:1.4em;
  text-align:right;
  transform:translateY(-.2em);
  flex-shrink:0;
}
.hero-title .ln-text{
  flex:1 1 auto;
  min-width:0;
}
.hero-title .accent-word{ color:var(--accent); text-shadow:0 0 34px var(--accent-glow); }
.hero-title .accent-word2{ color:var(--teal); text-shadow:0 0 34px rgba(79,209,165,.4); }

.hero-copy{
  font-size:clamp(1rem,1.6vw,1.15rem);
  color:var(--text-dim);
  max-width:46ch;
  margin:0 0 34px;
}

.hero-actions{
  display:flex;
  flex-wrap:wrap;
  gap:16px;
  align-items:center;
  margin-bottom:34px;
}

.btn{
  font-family:var(--font-mono);
  font-size:14.5px;
  padding:14px 24px;
  border-radius:7px;
  display:inline-flex;
  align-items:center;
  gap:10px;
  transition:transform .15s ease, box-shadow .15s ease, border-color .15s ease, background .15s ease;
}
.btn-primary{
  background:var(--accent);
  color:#0a0b12;
  font-weight:600;
  box-shadow:0 0 0 0 var(--accent-glow);
}
.btn-primary:hover{ box-shadow:0 8px 28px -8px var(--accent-glow); transform:translateY(-1px); }
.btn-primary .caret{
  display:inline-block;
  animation:blink 1.1s steps(1) infinite;
}
@keyframes blink{ 50%{ opacity:0; } }

.btn-ghost{
  border:1px solid var(--border);
  color:var(--text);
}
.btn-ghost:hover{ border-color:var(--text-dim); }

.hero-foot{
  font-family:var(--font-mono);
  font-size:13px;
  color:var(--text-faint);
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  align-items:center;
}
.hero-foot .sep{ color:var(--border); }
.hero-foot a{ color:var(--text-dim); transition:color .15s ease; }
.hero-foot a:hover{ color:var(--teal); }

/* ---------- hero mock browser ---------- */
.mock-window{
  border:1px solid var(--border);
  border-radius:12px;
  background:var(--panel);
  overflow:hidden;
  box-shadow:0 40px 90px -30px rgba(0,0,0,.65);
}
.mock-titlebar{
  display:flex;
  align-items:center;
  gap:8px;
  padding:11px 14px;
  border-bottom:1px solid var(--border-soft);
  background:var(--bg-raised);
}
.mock-titlebar .tf{ width:10px;height:10px;border-radius:50%; }
.tf-1{ background:#f97583; }
.tf-2{ background:#f5a85c; }
.tf-3{ background:#4fd1a5; }
.mock-url{
  margin-left:8px;
  font-family:var(--font-mono);
  font-size:11.5px;
  color:var(--text-faint);
  background:var(--panel-2);
  border:1px solid var(--border-soft);
  border-radius:5px;
  padding:4px 10px;
  flex:1;
  max-width:220px;
}
.mock-body{
  padding:20px;
  min-height:280px;
  position:relative;
}
.mock-nav{
  display:flex;
  justify-content:space-between;
  align-items:center;
  margin-bottom:22px;
}
.mock-logo{ width:64px; height:10px; border-radius:2px; background:var(--text-faint); opacity:.6; }
.mock-links{ display:flex; gap:10px; }
.mock-links span{ width:34px; height:7px; border-radius:2px; background:var(--border); }

.mock-hero{
  height:96px;
  border-radius:8px;
  background:linear-gradient(135deg, rgba(124,137,249,.25), rgba(79,209,165,.15));
  border:1px solid var(--border-soft);
  margin-bottom:16px;
  position:relative;
  overflow:hidden;
}
.mock-hero .bar{
  position:absolute; left:16px; top:16px;
  height:9px; border-radius:2px; background:rgba(236,238,242,.8);
  animation:draw 1.6s ease forwards;
  width:0;
}
.mock-hero .bar.b1{ width:0; animation-delay:.2s; --w:58%; }
.mock-hero .bar.b2{ top:32px; --w:38%; animation-delay:.5s; opacity:.55; }
.mock-hero .bar.b3{ top:56px; --w:26%; animation-delay:.8s; background:var(--amber); height:12px; }
@keyframes draw{ to{ width:var(--w); } }

.mock-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:10px;
}
.mock-card{
  height:58px;
  border-radius:6px;
  background:var(--panel-2);
  border:1px solid var(--border-soft);
  opacity:0;
  animation:fadeIn .5s ease forwards;
}
.mock-card:nth-child(1){ animation-delay:1.1s; }
.mock-card:nth-child(2){ animation-delay:1.25s; }
.mock-card:nth-child(3){ animation-delay:1.4s; }
@keyframes fadeIn{ to{ opacity:1; } }

/* ============================================================
   Marquee ticker (borrowed motion, native palette)
   ============================================================ */
.marquee{
  position:relative;
  overflow:hidden;
  background:var(--bg-raised);
  border-bottom:1px solid var(--border-soft);
  padding:16px 0;
  mask-image:linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  -webkit-mask-image:linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.marquee-track{
  display:flex;
  align-items:center;
  gap:26px;
  width:max-content;
  white-space:nowrap;
  font-family:var(--font-mono);
  font-size:13px;
  letter-spacing:.03em;
  color:var(--text-dim);
  animation:marquee-scroll 26s linear infinite;
}
.marquee:hover .marquee-track{ animation-play-state:paused; }
.marquee-sep{ color:var(--accent); font-size:10px; }
@keyframes marquee-scroll{
  from{ transform:translateX(0); }
  to{ transform:translateX(-50%); }
}
@media (prefers-reduced-motion: reduce){
  .marquee-track{ animation:none; }
}

/* ============================================================
   Section heading pattern
   ============================================================ */
.section-head{
  display:flex;
  flex-direction:column;
  gap:14px;
  margin-bottom:clamp(36px,5vw,56px);
  max-width:64ch;
}
.section-num{
  font-family:var(--font-mono);
  font-size:13px;
  color:var(--text-faint);
}
.section-title{
  font-family:var(--font-display);
  font-weight:600;
  font-size:clamp(1.9rem,3.6vw,2.9rem);
  letter-spacing:-.01em;
  line-height:1.08;
  margin:0;
}
.section-sub{
  color:var(--text-dim);
  font-size:1.02rem;
  margin:0;
  max-width:54ch;
}

.divider{
  border:0;
  border-top:1px solid var(--border-soft);
  margin:0;
}

/* ============================================================
   Services
   ============================================================ */
.services{ padding-top:96px; padding-bottom:96px; }
.service-list{
  display:grid;
  grid-template-columns:1fr;
  gap:0;
  border-top:1px solid var(--border-soft);
}
@media(min-width:760px){
  .service-list{ grid-template-columns:1fr 1fr; }
}
.service-item{
  padding:26px 0;
  border-bottom:1px solid var(--border-soft);
  display:flex;
  gap:16px;
}
@media(min-width:760px){
  .service-item:nth-child(odd){ padding-right:32px; border-right:1px solid var(--border-soft); }
  .service-item:nth-child(even){ padding-left:32px; }
}
.service-mark{
  font-family:var(--font-mono);
  color:var(--teal);
  font-size:15px;
  flex-shrink:0;
  padding-top:2px;
}
.service-item h3{
  font-family:var(--font-display);
  font-size:1.15rem;
  font-weight:600;
  margin:0 0 6px;
}
.service-item p{
  color:var(--text-dim);
  font-size:.96rem;
  margin:0;
  max-width:46ch;
}

/* ============================================================
   Process
   ============================================================ */
.process{ padding-top:96px; padding-bottom:96px; }
.process-list{
  display:flex;
  flex-direction:column;
}
.process-step{
  display:grid;
  grid-template-columns:56px 1fr;
  grid-template-areas:
    "num title"
    "num body";
  gap:4px 20px;
  padding:28px 0;
  border-top:1px solid var(--border-soft);
}
.process-step:last-child{ border-bottom:1px solid var(--border-soft); }
@media(min-width:700px){
  .process-step{
    grid-template-columns:56px 1fr 1.1fr;
    grid-template-areas:"num title body";
    gap:32px;
    align-items:start;
  }
}
.process-num{
  grid-area:num;
  font-family:var(--font-mono);
  font-size:14px;
  color:var(--accent);
  padding-top:4px;
}
.process-step h3{
  grid-area:title;
  font-family:var(--font-display);
  font-size:1.3rem;
  font-weight:600;
  margin:0;
}
.process-step p{
  grid-area:body;
  color:var(--text-dim);
  margin:8px 0 0;
  font-size:.98rem;
  max-width:52ch;
}
@media(min-width:700px){ .process-step p{ margin-top:4px; } }

/* ============================================================
   Work (concept builds)
   ============================================================ */
.work{ padding-top:96px; padding-bottom:96px; }
.work-grid{
  display:grid;
  grid-template-columns:1fr;
  gap:28px;
}
@media(min-width:760px){
  .work-grid{ grid-template-columns:repeat(3,1fr); }
}
.work-card{
  display:block;
  text-decoration:none;
  color:inherit;
  border:1px solid var(--border);
  border-radius:10px;
  overflow:hidden;
  background:var(--panel);
  transition:border-color .2s ease, transform .2s ease;
}
.work-card:hover{ border-color:var(--accent-dim); transform:translateY(-3px); }
.work-card:hover .work-link{ color:var(--accent); }
.work-preview{
  height:190px;
  position:relative;
  border-bottom:1px solid var(--border-soft);
  overflow:hidden;
}
.wp-1{ background:linear-gradient(160deg,#241a14,#14161d); }
.wp-2{ background:linear-gradient(160deg,#131e1c,#14161d); }
.wp-3{ background:linear-gradient(160deg,#1a1420,#14161d); }
.wp-chrome{
  position:absolute;
  top:0; left:0; right:0;
  display:flex;
  gap:6px;
  align-items:center;
  padding:10px 14px;
  background:linear-gradient(180deg,rgba(10,11,15,.55),rgba(10,11,15,0));
  z-index:2;
}
.wp-dot{ width:7px; height:7px; border-radius:50%; background:rgba(236,238,242,.4); }
.wp-shot{
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:top center;
  display:block;
  transition:transform .35s ease;
}
.work-card:hover .wp-shot{ transform:scale(1.05); }

.work-body{ padding:18px 18px 22px; }
.work-label{
  font-family:var(--font-mono);
  font-variant-caps: all-small-caps;
  letter-spacing:.05em;
  font-size:12px;
  color:var(--text-faint);
  margin-bottom:8px;
}
.work-body h3{
  font-family:var(--font-display);
  font-size:1.15rem;
  font-weight:600;
  margin:0 0 8px;
}
.work-body p{
  color:var(--text-dim);
  font-size:.92rem;
  margin:0;
}
.work-link{
  display:inline-block;
  margin-top:14px;
  font-family:var(--font-mono);
  font-size:12.5px;
  color:var(--text-dim);
  transition:color .15s ease;
}

.work-note{
  margin-top:32px;
  color:var(--text-faint);
  font-size:.88rem;
  font-family:var(--font-mono);
  max-width:60ch;
}

/* ============================================================
   Pricing
   ============================================================ */
.pricing{ padding-top:96px; padding-bottom:96px; }
.price-grid{
  display:grid;
  grid-template-columns:1fr;
  gap:22px;
}
@media(min-width:860px){
  .price-grid{ grid-template-columns:repeat(3,1fr); }
}
.price-card{
  border:1px solid var(--border);
  border-radius:10px;
  background:var(--panel);
  display:flex;
  flex-direction:column;
  overflow:hidden;
}
.price-card.is-highlight{
  border-color:var(--accent-dim);
  box-shadow:0 0 0 1px var(--accent-dim), 0 30px 60px -30px var(--accent-glow);
}
.price-tab{
  display:flex;
  align-items:center;
  gap:8px;
  padding:12px 16px;
  border-bottom:1px solid var(--border-soft);
  background:var(--bg-raised);
  font-family:var(--font-mono);
  font-size:12px;
  color:var(--text-faint);
}
.price-tab .tf{ width:8px;height:8px;border-radius:50%; background:var(--border); }
.price-card.is-highlight .price-tab .tf{ background:var(--accent); }
.price-content{ padding:26px 22px 30px; display:flex; flex-direction:column; flex:1; }
.price-name{
  font-family:var(--font-display);
  font-size:1.3rem;
  font-weight:600;
  margin:0 0 6px;
}
.price-value{
  font-family:var(--font-display);
  font-size:2.4rem;
  font-weight:600;
  margin:0 0 4px;
  letter-spacing:-.02em;
}
.price-value span{
  font-family:var(--font-mono);
  font-size:.9rem;
  color:var(--text-faint);
  font-weight:400;
  margin-left:6px;
}
.price-desc{
  color:var(--text-dim);
  font-size:.92rem;
  margin:0 0 22px;
}
.price-features{
  list-style:none;
  margin:0 0 26px;
  padding:0;
  display:flex;
  flex-direction:column;
  gap:11px;
  flex:1;
}
.price-features li{
  font-size:.92rem;
  color:var(--text-dim);
  display:flex;
  gap:10px;
  align-items:flex-start;
}
.price-features li::before{
  content:"›";
  color:var(--teal);
  font-family:var(--font-mono);
  flex-shrink:0;
}
.price-cta{
  text-align:center;
  padding:12px;
  border-radius:7px;
  font-family:var(--font-mono);
  font-size:13.5px;
  border:1px solid var(--border);
  transition:border-color .15s ease, background .15s ease;
}
.price-card.is-highlight .price-cta{
  background:var(--accent);
  color:#0a0b12;
  font-weight:600;
  border-color:var(--accent);
}
.price-cta:hover{ border-color:var(--accent-dim); }
.price-card.is-highlight .price-cta:hover{ opacity:.92; }

/* ============================================================
   About
   ============================================================ */
.about{ padding-top:96px; padding-bottom:96px; }
.about-grid{
  display:grid;
  grid-template-columns:1fr;
  gap:40px;
}
@media(min-width:900px){
  .about-grid{ grid-template-columns:1fr 1fr; }
}
.about-text p{
  color:var(--text-dim);
  font-size:1.02rem;
  max-width:56ch;
  margin:0 0 18px;
}
.about-text strong{ color:var(--text); font-weight:600; }

.about-card{
  border:1px solid var(--border);
  border-radius:10px;
  background:var(--panel);
  padding:26px;
}
.about-row{
  display:flex;
  justify-content:space-between;
  gap:16px;
  padding:14px 0;
  border-bottom:1px solid var(--border-soft);
  font-size:.92rem;
}
.about-row:last-child{ border-bottom:0; }
.about-row .k{
  font-family:var(--font-mono);
  font-variant-caps: all-small-caps;
  color:var(--text-faint);
  letter-spacing:.04em;
}
.about-row .v{ color:var(--text); text-align:right; }

/* ============================================================
   Contact
   ============================================================ */
.contact{ padding-top:96px; padding-bottom:64px; }
.contact-grid{
  display:grid;
  grid-template-columns:1fr;
  gap:48px;
}
@media(min-width:900px){
  .contact-grid{ grid-template-columns:1.1fr .9fr; }
}
.contact-title{
  font-family:var(--font-display);
  font-weight:600;
  font-size:clamp(2.2rem,4.6vw,3.6rem);
  letter-spacing:-.02em;
  line-height:1.06;
  margin:0 0 20px;
}
.contact-copy{ color:var(--text-dim); max-width:48ch; margin:0 0 30px; font-size:1.02rem; }

.contact-direct{ display:flex; flex-direction:column; gap:14px; }
.contact-link{
  display:flex;
  align-items:center;
  gap:14px;
  font-family:var(--font-mono);
  font-size:1.05rem;
  padding:14px 0;
  border-bottom:1px solid var(--border-soft);
  transition:color .15s ease;
}
.contact-link:hover{ color:var(--accent); }
.contact-link .k{
  font-variant-caps: all-small-caps;
  color:var(--text-faint);
  min-width:70px;
  font-size:.85rem;
}

.contact-form{
  border:1px solid var(--border);
  border-radius:10px;
  background:var(--panel);
  padding:26px;
  display:flex;
  flex-direction:column;
  gap:16px;
}
.form-row{ display:flex; flex-direction:column; gap:7px; }
.form-row label{
  font-family:var(--font-mono);
  font-variant-caps: all-small-caps;
  font-size:12px;
  color:var(--text-faint);
  letter-spacing:.05em;
}
.form-row input,
.form-row textarea{
  background:var(--bg-raised);
  border:1px solid var(--border);
  border-radius:6px;
  padding:11px 13px;
  color:var(--text);
  font-family:var(--font-display);
  font-size:.95rem;
  resize:vertical;
}
.form-row input:focus,
.form-row textarea:focus{ border-color:var(--accent); }
.form-submit{
  position:relative;
  margin-top:4px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  font-family:var(--font-mono);
  font-size:14px;
  font-weight:600;
  padding:13px;
  border-radius:7px;
  background:var(--accent);
  color:#0a0b12;
  border:0;
  cursor:pointer;
  transition:opacity .15s ease, background-color .25s ease;
}
.form-submit:hover{ opacity:.9; }
.form-submit:disabled{ opacity:.75; cursor:default; }
.form-submit .btn-check{
  width:16px;
  height:16px;
  flex-shrink:0;
  fill:none;
  stroke:currentColor;
  stroke-width:2.5;
  stroke-linecap:round;
  stroke-linejoin:round;
  stroke-dasharray:26;
  stroke-dashoffset:26;
}
.form-submit.is-sent{
  background:var(--teal);
  animation:submit-pulse .7s ease-out;
}
.form-submit.is-sent .btn-check{
  animation:draw-check .35s ease forwards .05s;
}
@keyframes draw-check{ to{ stroke-dashoffset:0; } }
@keyframes submit-pulse{
  0%{ box-shadow:0 0 0 0 rgba(79,209,165,.55); }
  100%{ box-shadow:0 0 0 14px rgba(79,209,165,0); }
}
.form-note{
  font-family:var(--font-mono);
  font-size:11.5px;
  color:var(--text-faint);
}
.form-status{
  font-family:var(--font-mono);
  font-size:12.5px;
  margin:0;
}
.form-status.is-success{ color:var(--teal); }
.form-status.is-error{ color:var(--rose); }
.form-status.is-error a{ color:inherit; text-decoration:underline; }
.form-status.is-success,
.form-status.is-error{ animation:status-in .35s ease; }
@keyframes status-in{
  from{ opacity:0; transform:translateY(-4px); }
  to{ opacity:1; transform:translateY(0); }
}
@media (prefers-reduced-motion: reduce){
  .form-submit.is-sent{ animation:none; }
  .form-submit .btn-check{ animation:none !important; stroke-dashoffset:0; }
  .form-status.is-success,
  .form-status.is-error{ animation:none; }
}

/* ============================================================
   Footer
   ============================================================ */
footer.site-footer{
  border-top:1px solid var(--border-soft);
  padding:28px var(--edge);
}
@media(min-width:900px){
  footer.site-footer{ padding-left: calc(var(--gutter-w) + var(--edge)); }
}
.footer-inner{
  max-width:var(--content-max);
  margin:0 auto;
  display:flex;
  flex-wrap:wrap;
  justify-content:space-between;
  gap:14px;
  align-items:center;
}
.footer-inner,
.footer-inner a{
  font-family:var(--font-mono);
  font-size:12.5px;
  color:var(--text-faint);
}
.footer-inner a:hover{ color:var(--text-dim); }
