/* ============================================================
   Raife Dowley — Midnight Aurora homepage
   ============================================================ */

:root {
  --bg:       #05060c;
  --bg-2:     #090c16;
  --ink:      #eef2ff;
  --muted:    #9aa6c7;
  --faint:    #5b6483;
  --cyan:     #4fe6ff;
  --violet:   #9d7bff;
  --magenta:  #ff5fa2;
  --coral:    #ff9166;
  --glass:        rgba(255,255,255,0.045);
  --glass-strong: rgba(255,255,255,0.075);
  --hair:         rgba(255,255,255,0.12);
  --shadow:   0 30px 80px -30px rgba(0,0,0,0.85);
  --maxw:     1200px;
  --ease:     cubic-bezier(.22,.61,.36,1);

  --font-display: "Bricolage Grotesque", serif;
  --font-body:    "Manrope", system-ui, sans-serif;
  --font-mono:    "Space Mono", ui-monospace, monospace;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.02em;
  margin: 0;
}

a { color: inherit; text-decoration: none; }
em { font-style: normal; }

/* ---------- atmospheric background ---------- */
.bg { position: fixed; inset: 0; z-index: -2; overflow: hidden; background:
  radial-gradient(120% 90% at 50% -10%, #0c1124 0%, var(--bg) 55%); }

.aurora {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.55;
  will-change: transform;
  mix-blend-mode: screen;
}
.aurora--1 {
  width: 70vw; height: 70vw; top: -22vw; left: -10vw;
  background: radial-gradient(circle at 30% 30%, var(--violet), transparent 60%);
  animation: drift1 22s var(--ease) infinite alternate;
}
.aurora--2 {
  width: 60vw; height: 60vw; top: -8vw; right: -14vw; left: auto;
  background: radial-gradient(circle at 60% 40%, var(--cyan), transparent 62%);
  animation: drift2 26s var(--ease) infinite alternate;
}
.aurora--3 {
  width: 55vw; height: 55vw; top: 38vw; left: 28vw;
  background: radial-gradient(circle at 50% 50%, var(--magenta), transparent 60%);
  opacity: 0.35;
  animation: drift3 30s var(--ease) infinite alternate;
}
@keyframes drift1 { to { transform: translate(8vw, 6vw) scale(1.12); } }
@keyframes drift2 { to { transform: translate(-7vw, 9vw) scale(1.08); } }
@keyframes drift3 { to { transform: translate(4vw, -8vw) scale(1.15); } }

#particles { position: absolute; inset: 0; width: 100%; height: 100%; }

.grain {
  position: absolute; inset: 0; pointer-events: none; opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(/wp-content/themes/raife-aurora/assets/css/)'/%3E%3C/svg%3E");
}

/* ---------- glass primitive ---------- */
.glass {
  position: relative;
  background: var(--glass);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border: 1px solid var(--hair);
  border-radius: 20px;
}
.glass::after { /* top luminous edge */
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px;
  background: linear-gradient(135deg, rgba(255,255,255,.5), transparent 35%, transparent 70%, rgba(157,123,255,.4));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  pointer-events: none; opacity: .6;
}

/* ---------- shared ---------- */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cyan);
  margin: 0 0 1.1rem;
}
.sec-head { max-width: 680px; margin: 0 auto 3.5rem; text-align: center; }
.sec-head h2 { font-size: clamp(2rem, 4.5vw, 3.3rem); }
.sec-head em { color: var(--violet); }

section { padding: clamp(5rem, 11vw, 9rem) clamp(1.25rem, 5vw, 2rem); }
section > :where(.cards, .posts, .steps, .about__copy, .hero__inner, .about__media, .sec-head, .cta__panel) { }
.work, .writing, .about, .process, .cta { max-width: var(--maxw); margin: 0 auto; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .5em;
  font-family: var(--font-body); font-weight: 600; font-size: .95rem;
  padding: .85em 1.5em; border-radius: 100px; cursor: pointer;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), background .3s;
  white-space: nowrap;
}
.btn--solid {
  color: #060810;
  background: linear-gradient(120deg, var(--cyan), var(--violet));
  box-shadow: 0 8px 30px -8px rgba(79,230,255,.55);
}
.btn--solid:hover { transform: translateY(-2px); box-shadow: 0 14px 40px -8px rgba(157,123,255,.7); }
.btn--ghost {
  color: var(--ink);
  background: var(--glass);
  border: 1px solid var(--hair);
  backdrop-filter: blur(10px);
}
.btn--ghost:hover { transform: translateY(-2px); background: var(--glass-strong); border-color: rgba(79,230,255,.5); }

/* ---------- nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem; padding: 1rem clamp(1.25rem, 5vw, 2.5rem);
  transition: padding .35s var(--ease), background .35s, border-color .35s;
  border-bottom: 1px solid transparent;
}
.nav.is-stuck {
  padding-top: .6rem; padding-bottom: .6rem;
  background: rgba(6,8,16,.6);
  backdrop-filter: blur(16px) saturate(140%);
  border-bottom: 1px solid var(--hair);
}
.brand { display: inline-flex; align-items: center; gap: .6rem; }
.brand__mark {
  width: 26px; height: 26px; border-radius: 8px;
  background: conic-gradient(from 200deg, var(--cyan), var(--violet), var(--magenta), var(--cyan));
  box-shadow: 0 0 18px rgba(157,123,255,.6);
}
.brand__name { font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; letter-spacing: -.02em; }
.brand__name span { color: var(--cyan); }
.nav__links { display: flex; gap: 1.8rem; }
.nav__links a { font-size: .92rem; color: var(--muted); transition: color .25s; position: relative; }
.nav__links a:hover { color: var(--ink); }
.nav__links a::after {
  content: ""; position: absolute; left: 0; bottom: -6px; height: 2px; width: 0;
  background: linear-gradient(90deg, var(--cyan), var(--violet)); transition: width .3s var(--ease);
}
.nav__links a:hover::after { width: 100%; }

/* ---------- hero ---------- */
.hero {
  min-height: 100vh;
  display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 3rem;
  max-width: var(--maxw); margin: 0 auto;
  padding: 8rem clamp(1.25rem, 5vw, 2rem) 5rem;
  position: relative;
}
.hero__title { font-size: clamp(2.7rem, 7vw, 5.2rem); margin: 0 0 1.5rem; }
.hero__title span { display: block; }
.hero__title em {
  background: linear-gradient(110deg, var(--cyan), var(--violet) 55%, var(--magenta));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero__lede { max-width: 30rem; color: var(--muted); font-size: 1.12rem; margin: 0 0 2.2rem; }
.hero__cta { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 3rem; }
.hero__stats { display: flex; gap: 2.4rem; list-style: none; padding: 0; margin: 0; flex-wrap: wrap; }
.hero__stats strong { display: block; font-family: var(--font-display); font-size: 2rem; font-weight: 800; }
.hero__stats li:nth-child(1) strong { color: var(--cyan); }
.hero__stats li:nth-child(2) strong { color: var(--violet); }
.hero__stats li:nth-child(3) strong { color: var(--magenta); }
.hero__stats span { font-size: .82rem; color: var(--faint); letter-spacing: .02em; }

/* hero visual / 3D */
.hero__visual { position: relative; height: 460px; transform-style: preserve-3d; perspective: 1000px; }
.console {
  position: absolute; top: 50%; left: 50%; width: 360px; max-width: 92%;
  transform: translate(-50%,-50%);
  padding: 0; overflow: hidden; box-shadow: var(--shadow);
  transform-style: preserve-3d;
}
.console__bar {
  display: flex; align-items: center; gap: .5rem; padding: .8rem 1rem;
  border-bottom: 1px solid var(--hair); background: rgba(255,255,255,.03);
}
.console__bar span { width: 10px; height: 10px; border-radius: 50%; background: var(--faint); }
.console__bar span:nth-child(1){ background: var(--magenta); }
.console__bar span:nth-child(2){ background: var(--coral); }
.console__bar span:nth-child(3){ background: var(--cyan); }
.console__bar p { margin: 0 0 0 auto; font-family: var(--font-mono); font-size: .72rem; color: var(--faint); }
.console__body { padding: 1.1rem 1.2rem; font-family: var(--font-mono); font-size: .82rem; line-height: 2; color: var(--muted); }
.console__body .line { white-space: nowrap; }
.console__body .tok { font-style: normal; margin-right: .5rem; }
.tok--key { color: var(--violet); }
.tok--fn  { color: var(--cyan); }
.tok--str { color: var(--coral); }
.line--ok { color: #61f0c4; }
.console__pulse {
  position: absolute; bottom: -40%; left: -10%; width: 120%; height: 80%;
  background: radial-gradient(circle, var(--violet), transparent 65%);
  filter: blur(40px); opacity: .35; pointer-events: none;
}
.orb {
  position: absolute; width: 78px; height: 78px; border-radius: 22px;
  display: grid; place-items: center; box-shadow: var(--shadow);
  font-family: var(--font-mono); font-size: .8rem; letter-spacing: .02em;
}
.orb span { background: linear-gradient(120deg,var(--cyan),var(--violet)); -webkit-background-clip: text; background-clip: text; color: transparent; font-weight: 700; }
.orb--a { top: 4%;  right: 2%;  animation: float 7s ease-in-out infinite; }
.orb--b { bottom: 6%; left: 0;  animation: float 8.5s ease-in-out infinite .6s; }
.orb--c { bottom: 28%; right: 6%; animation: float 6s ease-in-out infinite 1.2s; }
@keyframes float { 0%,100%{ transform: translateY(0); } 50%{ transform: translateY(-14px); } }

.scroll-hint { position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%); width: 26px; height: 42px; border: 1px solid var(--hair); border-radius: 14px; display: grid; place-items: start center; padding-top: 7px; }
.scroll-hint span { width: 4px; height: 8px; border-radius: 4px; background: var(--cyan); animation: scrolly 1.6s infinite; }
@keyframes scrolly { 0%{ transform: translateY(0); opacity: 1;} 70%{ transform: translateY(12px); opacity: 0;} 100%{opacity:0;} }

/* ---------- marquee strip ---------- */
.strip { padding: 1.6rem 0; border-top: 1px solid var(--hair); border-bottom: 1px solid var(--hair); overflow: hidden; background: rgba(255,255,255,.015); }
.strip__track { display: flex; align-items: center; gap: 2.5rem; white-space: nowrap; width: max-content; animation: marquee 30s linear infinite; }
.strip__track span { font-family: var(--font-display); font-weight: 700; font-size: 1.35rem; color: var(--muted); }
.strip__track i { color: var(--violet); font-style: normal; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- cards (what I do) ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.card { padding: 2.2rem 1.8rem 2rem; overflow: hidden; transition: transform .25s var(--ease), border-color .3s; }
.card__icon { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; font-size: 1.5rem; margin-bottom: 1.4rem; background: linear-gradient(135deg, rgba(79,230,255,.18), rgba(157,123,255,.18)); border: 1px solid var(--hair); }
.card__icon::before { content: attr(data-glyph); background: linear-gradient(120deg,var(--cyan),var(--violet)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.card h3 { font-size: 1.4rem; margin-bottom: .7rem; }
.card p { color: var(--muted); font-size: .98rem; margin: 0; }
.card__edge { position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: linear-gradient(var(--cyan), var(--violet)); opacity: 0; transition: opacity .3s; }
.card:hover .card__edge { opacity: 1; }

/* ---------- writing ---------- */
.posts { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.4rem; }
.post { padding: 1.8rem; display: flex; flex-direction: column; gap: .8rem; transition: transform .3s var(--ease), border-color .3s; }
.post:hover { transform: translateY(-6px); border-color: rgba(79,230,255,.4); }
.post__tag { align-self: flex-start; font-family: var(--font-mono); font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; padding: .3em .8em; border-radius: 100px; color: var(--cyan); border: 1px solid var(--hair); background: rgba(79,230,255,.08); }
.post h3 { font-size: 1.25rem; line-height: 1.2; }
.post p { color: var(--muted); font-size: .94rem; margin: 0; flex: 1; }
.post__more { font-family: var(--font-mono); font-size: .8rem; color: var(--violet); transition: gap .3s; }

/* ---------- about ---------- */
.about { display: grid; grid-template-columns: .8fr 1.2fr; gap: 3.5rem; align-items: center; }
.portrait { padding: 1rem; }
.portrait__img { aspect-ratio: 4/5; border-radius: 14px;
  background:
    radial-gradient(120% 80% at 30% 10%, rgba(157,123,255,.5), transparent 55%),
    radial-gradient(120% 80% at 80% 90%, rgba(79,230,255,.45), transparent 55%),
    linear-gradient(160deg,#141a2e,#0a0e1c);
  position: relative; }
.portrait__img::after { content: "RD"; position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--font-display); font-weight: 800; font-size: 4rem; color: rgba(255,255,255,.14); }
.portrait__badge { position: absolute; bottom: 1.6rem; left: 1.6rem; padding: .5rem 1rem; font-family: var(--font-mono); font-size: .72rem; color: var(--ink); }
.about__copy h2 { font-size: clamp(1.9rem,3.6vw,2.8rem); margin-bottom: 1.3rem; }
.about__copy p { color: var(--muted); margin: 0 0 1.1rem; }
.about__copy .btn { margin-top: .6rem; }

/* ---------- process ---------- */
.steps { display: grid; grid-template-columns: repeat(4,1fr); gap: 1.2rem; list-style: none; padding: 0; margin: 0; position: relative; }
.steps::before { content: ""; position: absolute; top: 26px; left: 8%; right: 8%; height: 1px; background: linear-gradient(90deg, transparent, var(--violet), var(--cyan), transparent); opacity: .5; }
.step { position: relative; padding-top: 0; }
.step__no { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; font-family: var(--font-mono); font-size: .9rem; color: var(--cyan); background: var(--bg); border: 1px solid var(--hair); margin-bottom: 1.2rem; position: relative; z-index: 1; }
.step h3 { font-size: 1.25rem; margin-bottom: .4rem; }
.step p { color: var(--muted); font-size: .92rem; margin: 0; }

/* ---------- CTA ---------- */
.cta__panel { text-align: center; padding: clamp(2.5rem,6vw,4.5rem); max-width: 820px; margin: 0 auto; overflow: hidden; }
.cta__panel::before { content: ""; position: absolute; inset: -40% -10% auto; height: 120%; background: radial-gradient(circle at 50% 0%, rgba(157,123,255,.35), transparent 60%); pointer-events: none; }
.cta__panel h2 { font-size: clamp(2rem,5vw,3.4rem); margin-bottom: 1rem; position: relative; }
.cta__panel > p { color: var(--muted); position: relative; margin: 0 auto 2rem; max-width: 30rem; }
.cta__actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; position: relative; }

/* ---------- footer ---------- */
.foot { border-top: 1px solid var(--hair); padding: 3rem clamp(1.25rem,5vw,2rem); }
.foot__inner { max-width: var(--maxw); margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; }
.foot__links { display: flex; gap: 1.6rem; }
.foot__links a { color: var(--muted); font-size: .92rem; transition: color .25s; }
.foot__links a:hover { color: var(--cyan); }
.foot__note { color: var(--faint); font-size: .82rem; margin: 0; }

/* ---------- reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-d="1"]{ transition-delay: .08s;} .reveal[data-d="2"]{ transition-delay: .16s;}
.reveal[data-d="3"]{ transition-delay: .24s;} .reveal[data-d="4"]{ transition-delay: .32s;}
.reveal[data-d="5"]{ transition-delay: .40s;}

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; padding-top: 7rem; gap: 1rem; min-height: auto; }
  .hero__visual { height: 360px; order: 2; margin-top: 1rem; }
  .cards, .posts, .steps { grid-template-columns: 1fr; }
  .steps::before { display: none; }
  .about { grid-template-columns: 1fr; gap: 2rem; }
  .nav__links { display: none; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  h1, h2, h3 { overflow-wrap: break-word; }
  .hero__title { font-size: clamp(2.4rem, 12vw, 3.2rem); }
  .sec-head { margin-bottom: 2.6rem; }
  .sec-head h2 { font-size: clamp(1.7rem, 8vw, 2.4rem); }
  .about__copy h2, .cta__panel h2 { font-size: clamp(1.7rem, 8vw, 2.4rem); }
  .hero__stats { gap: 1.4rem; }
  .hero__stats strong { font-size: 1.7rem; }
  .console { width: 280px; }
  section { padding-left: 1.25rem; padding-right: 1.25rem; }
}

/* ============================================================
   Custom cursor (desktop / fine-pointer only)
   ============================================================ */
.cursor-dot, .cursor-ring {
  position: fixed; top: 0; left: 0; pointer-events: none; z-index: 9999;
  border-radius: 50%; transform: translate(-50%, -50%);
  opacity: 0; transition: opacity .35s var(--ease);
  mix-blend-mode: screen;
}
.cursor-dot {
  width: 7px; height: 7px;
  background: var(--cyan);
  box-shadow: 0 0 12px rgba(79,230,255,.9);
}
.cursor-ring {
  width: 34px; height: 34px;
  border: 1px solid rgba(157,123,255,.65);
  box-shadow: 0 0 26px rgba(157,123,255,.28), inset 0 0 14px rgba(79,230,255,.12);
  transition: width .28s var(--ease), height .28s var(--ease),
              border-color .28s, background .28s, opacity .35s var(--ease);
}
.cursor-ready .cursor-dot, .cursor-ready .cursor-ring { opacity: 1; }
.cursor-ring.is-hover {
  width: 58px; height: 58px;
  border-color: rgba(79,230,255,.9);
  background: rgba(79,230,255,.06);
}
.cursor-dot.is-hover { opacity: 0; }
.cursor-ring.is-down { width: 24px; height: 24px; border-color: var(--magenta); }
body.cursor-on,
body.cursor-on a, body.cursor-on button, body.cursor-on .btn,
body.cursor-on .chip, body.cursor-on .tilt-card, body.cursor-on .post { cursor: none; }
body.cursor-on input, body.cursor-on textarea { cursor: text; }
@media (hover: none), (pointer: coarse) {
  .cursor-dot, .cursor-ring { display: none; }
}

/* ============================================================
   Subpages — page hero, journey, blog, contact
   ============================================================ */
.page-hero {
  max-width: 820px; margin: 0 auto; text-align: center;
  padding: 11rem clamp(1.25rem,5vw,2rem) 1rem;
}
.page-hero h1 { font-size: clamp(2.6rem, 7vw, 4.6rem); margin: 0 0 1.3rem; }
.page-hero h1 em {
  background: linear-gradient(110deg, var(--cyan), var(--violet) 55%, var(--magenta));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.page-hero p { max-width: 42rem; margin: 0 auto; color: var(--muted); font-size: 1.14rem; }

/* journey / timeline */
.timeline { max-width: 760px; margin: 0 auto; display: grid; gap: 1.2rem; }
.tl { padding: 1.7rem 1.9rem; display: grid; grid-template-columns: 92px 1fr; gap: 1.6rem; align-items: start; transition: transform .3s var(--ease), border-color .3s; }
.tl:hover { transform: translateX(6px); border-color: rgba(79,230,255,.4); }
.tl__year { font-family: var(--font-mono); color: var(--cyan); font-size: .82rem; padding-top: .25rem; letter-spacing: .04em; }
.tl h3 { font-size: 1.2rem; margin-bottom: .35rem; }
.tl p { color: var(--muted); margin: 0; font-size: .96rem; }

/* blog */
.blog { max-width: var(--maxw); margin: 0 auto; }
.filters { display: flex; gap: .6rem; flex-wrap: wrap; justify-content: center; margin: 0 auto 3rem; }
.chip { font-family: var(--font-mono); font-size: .73rem; letter-spacing: .1em; text-transform: uppercase; padding: .55em 1.15em; border-radius: 100px; color: var(--muted); border: 1px solid var(--hair); background: var(--glass); transition: color .25s, border-color .25s, background .25s, transform .25s; }
.chip:hover { color: var(--ink); border-color: rgba(79,230,255,.5); transform: translateY(-2px); }
.chip.is-active { color: #060810; background: linear-gradient(120deg, var(--cyan), var(--violet)); border-color: transparent; }
.post.is-hidden { display: none; }
.post--feature { grid-column: 1 / -1; grid-template-columns: 1.15fr .85fr; display: grid; gap: 0; padding: 0; overflow: hidden; }
.post--feature .post__art { background:
    radial-gradient(120% 90% at 20% 10%, rgba(157,123,255,.55), transparent 55%),
    radial-gradient(120% 90% at 90% 90%, rgba(79,230,255,.5), transparent 55%),
    linear-gradient(160deg,#141a2e,#0a0e1c);
  min-height: 260px; position: relative; }
.post--feature .post__art::after { content: "★ featured"; position: absolute; bottom: 1.2rem; left: 1.4rem; font-family: var(--font-mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.85); }
.post--feature .post__inner { padding: 2.4rem; display: flex; flex-direction: column; gap: .9rem; justify-content: center; }
.post--feature h3 { font-size: 1.7rem; }

/* contact */
.contact { max-width: var(--maxw); margin: 0 auto; display: grid; grid-template-columns: 1.1fr .9fr; gap: 2.5rem; align-items: start; }
.form { padding: 2.3rem; display: grid; gap: 1.15rem; }
.field { display: grid; gap: .45rem; }
.field label { font-family: var(--font-mono); font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--faint); }
.field input, .field textarea {
  width: 100%; background: rgba(255,255,255,.03); border: 1px solid var(--hair);
  border-radius: 12px; padding: .85rem 1rem; color: var(--ink);
  font-family: var(--font-body); font-size: 1rem; transition: border-color .25s, background .25s, box-shadow .25s;
}
.field input::placeholder, .field textarea::placeholder { color: var(--faint); }
.field input:focus, .field textarea:focus { outline: none; border-color: rgba(79,230,255,.6); background: rgba(79,230,255,.04); box-shadow: 0 0 0 3px rgba(79,230,255,.08); }
.field textarea { min-height: 140px; resize: vertical; }
.form .btn { justify-content: center; }
.form__note { font-size: .8rem; color: var(--faint); margin: 0; }
.form__sent { display: none; text-align: center; padding: 1rem; font-family: var(--font-mono); font-size: .9rem; color: #61f0c4; }
.form.is-sent .field, .form.is-sent .btn, .form.is-sent .form__note { display: none; }
.form.is-sent .form__sent { display: block; }
.contact__aside { display: grid; gap: 1.2rem; }
.contact__card { padding: 1.7rem 1.9rem; }
.contact__card h3 { font-size: 1.1rem; margin-bottom: .55rem; }
.contact__card p { color: var(--muted); margin: 0 0 .4rem; font-size: .95rem; }
.contact__card a { color: var(--cyan); }
.contact__card a:hover { text-decoration: underline; }
.avail { display: inline-flex; align-items: center; gap: .55rem; font-family: var(--font-mono); font-size: .8rem; color: var(--ink); }
.avail .dot { width: 9px; height: 9px; border-radius: 50%; background: #61f0c4; box-shadow: 0 0 10px #61f0c4; animation: pulse 2.2s ease-in-out infinite; }
.socials { display: flex; gap: .7rem; flex-wrap: wrap; }
.socials a { font-family: var(--font-mono); font-size: .8rem; padding: .5em 1em; border-radius: 100px; border: 1px solid var(--hair); background: var(--glass); color: var(--muted); transition: color .25s, border-color .25s, transform .25s; }
.socials a:hover { color: var(--ink); border-color: rgba(79,230,255,.5); transform: translateY(-2px); }
@keyframes pulse { 50% { opacity: .35; } }

@media (max-width: 900px) {
  .contact { grid-template-columns: 1fr; }
  .post--feature { grid-template-columns: 1fr; }
  .post--feature .post__art { min-height: 180px; }
}

/* ---------- screenshot/QA mode ---------- */
.shot .hero { min-height: auto; padding-top: 9rem; padding-bottom: 6rem; }
.shot .scroll-hint { display: none; }

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}
