/* ==========================================================================
   Anagard Studios — global stylesheet
   Plain CSS. No build step, no frameworks.
   Sections: tokens / reset / layout / header / footer / components / pages
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Design tokens
   -------------------------------------------------------------------------- */
:root {
  /* Colour */
  --bg:            #0a0a0c;
  --bg-elev:       #101014;
  --surface:       #14141a;
  --surface-2:     #1b1b23;
  --line:          #26262f;
  --line-soft:     #1d1d25;

  --text:          #ececf1;
  --text-dim:      #a3a3b2;
  --text-faint:    #6f6f7e;

  --accent:        #ff5a1f;
  --accent-soft:   #ffb057;
  --accent-2:      #b026ff;
  --mint:          #5eead4;

  --ok:            #4ade80;
  --warn:          #fbbf24;

  /* Type */
  --font-sans: "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, Helvetica, Arial, sans-serif;
  --font-mono: "Cascadia Mono", "JetBrains Mono", Consolas, "SF Mono", Menlo, monospace;

  /* Space + shape */
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --maxw: 1240px;
  --maxw-narrow: 780px;
  --radius: 14px;
  --radius-lg: 22px;

  --shadow: 0 20px 60px -20px rgba(0, 0, 0, .8);
  --shadow-accent: 0 18px 50px -18px rgba(255, 90, 31, .5);

  --ease: cubic-bezier(.22, .61, .36, 1);
  --dur: .45s;
}

/* --------------------------------------------------------------------------
   2. Reset / base
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: clamp(1rem, .96rem + .2vw, 1.075rem);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Ambient light + film grain, painted behind everything. */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(60rem 40rem at 12% -10%, rgba(255, 90, 31, .16), transparent 60%),
    radial-gradient(50rem 36rem at 92% 6%, rgba(176, 38, 255, .13), transparent 62%),
    radial-gradient(46rem 30rem at 50% 108%, rgba(94, 234, 212, .07), transparent 60%);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: .035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Everything real sits above the ambient layers. */
.site-header, main, .site-footer { position: relative; z-index: 2; }

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

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

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

h1, h2, h3, h4 {
  margin: 0 0 .5em;
  line-height: 1.08;
  letter-spacing: -.02em;
  font-weight: 800;
}

h1 { font-size: clamp(2.6rem, 1.6rem + 4.4vw, 5.2rem); }
h2 { font-size: clamp(1.9rem, 1.3rem + 2.4vw, 3.1rem); }
h3 { font-size: clamp(1.2rem, 1.05rem + .7vw, 1.6rem); }

ul, ol { margin: 0 0 1.1em; padding-left: 1.2em; }
li { margin-bottom: .35em; }

hr { border: 0; border-top: 1px solid var(--line); margin: 3rem 0; }

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

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

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 100;
  padding: .7rem 1.1rem;
  background: var(--accent);
  color: #fff;
  border-radius: 0 0 10px 10px;
  font-weight: 700;
  transition: top .2s var(--ease);
}
.skip-link:focus { top: 0; }

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* --------------------------------------------------------------------------
   3. Layout helpers
   -------------------------------------------------------------------------- */
.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.wrap--narrow { max-width: var(--maxw-narrow); }

.section { padding-block: clamp(4rem, 8vw, 7.5rem); }
.section--tight { padding-block: clamp(2.5rem, 5vw, 4.5rem); }
.section--line { border-top: 1px solid var(--line-soft); }

.section-head { max-width: 62ch; margin-bottom: clamp(2rem, 4vw, 3.25rem); }
.section-head p { color: var(--text-dim); font-size: 1.06rem; }
.section-head--center { margin-inline: auto; text-align: center; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  margin-bottom: 1rem;
  font-family: var(--font-mono);
  font-size: .74rem;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--accent-soft);
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: linear-gradient(90deg, var(--accent), transparent);
}
.section-head--center .eyebrow::before { display: none; }

.lead { font-size: clamp(1.05rem, 1rem + .35vw, 1.28rem); color: var(--text-dim); }

.grid { display: grid; gap: clamp(1.1rem, 2.2vw, 1.75rem); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 290px), 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
/* Team: keeps cards from stretching when the studio is only a couple of people. */
.grid--team {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  max-width: 720px;
}

.split {
  display: grid;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
  grid-template-columns: 1fr;
}
@media (min-width: 900px) {
  .split { grid-template-columns: 1.05fr .95fr; }
  .split--flip > :first-child { order: 2; }
}

.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }

/* --------------------------------------------------------------------------
   4. Buttons + small UI
   -------------------------------------------------------------------------- */
.btn {
  --btn-bg: var(--accent);
  --btn-fg: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  padding: .95rem 1.6rem;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font: inherit;
  font-weight: 700;
  font-size: .95rem;
  letter-spacing: .01em;
  cursor: pointer;
  white-space: nowrap;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease),
              background-color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-accent); }
.btn:active { transform: translateY(0); }

.btn--primary { background: linear-gradient(135deg, var(--accent-soft), var(--accent) 55%, var(--accent-2)); }

.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--text);
  border-color: var(--line);
  backdrop-filter: blur(6px);
}
.btn--ghost:hover { border-color: var(--accent); box-shadow: none; background: rgba(255, 90, 31, .08); }

.btn--paypal {
  background: linear-gradient(135deg, #0070ba, #003087);
  color: #fff;
}
.btn--paypal:hover { box-shadow: 0 18px 44px -18px rgba(0, 112, 186, .75); }

.btn--sm { padding: .65rem 1.15rem; font-size: .85rem; }
.btn--block { width: 100%; }

.btn-row { display: flex; flex-wrap: wrap; gap: .8rem; align-items: center; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  font-weight: 700;
  color: var(--accent-soft);
}
.link-arrow span { transition: transform var(--dur) var(--ease); }
.link-arrow:hover span { transform: translateX(5px); }

.tag {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .3rem .7rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, .03);
  font-family: var(--font-mono);
  font-size: .7rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.tag-row { display: flex; flex-wrap: wrap; gap: .45rem; }

.status {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .3rem .75rem;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.status::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 0 4px currentColor;
  opacity: .9;
}
.status--dev      { color: var(--accent-soft); background: rgba(255, 176, 87, .1); }
.status--demo     { color: var(--mint);        background: rgba(94, 234, 212, .1); }
.status--concept  { color: var(--accent-2);    background: rgba(176, 38, 255, .12); }
.status--released { color: var(--ok);          background: rgba(74, 222, 128, .1); }

/* --------------------------------------------------------------------------
   5. Header / navigation
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid transparent;
  transition: background-color .3s var(--ease), border-color .3s var(--ease), backdrop-filter .3s;
}
.site-header.is-stuck {
  background: rgba(10, 10, 12, .82);
  backdrop-filter: blur(14px) saturate(140%);
  border-bottom-color: var(--line-soft);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 74px;
}

.brand { display: inline-flex; align-items: center; gap: .7rem; }
.brand img { width: 34px; height: 34px; }
.brand-name {
  font-weight: 800;
  font-size: 1.02rem;
  letter-spacing: .02em;
  line-height: 1.1;
}
.brand-name small {
  display: block;
  font-family: var(--font-mono);
  font-size: .6rem;
  font-weight: 500;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--text-faint);
}

.nav { display: flex; align-items: center; gap: .35rem; }
.nav a {
  position: relative;
  padding: .55rem .85rem;
  border-radius: 8px;
  font-size: .93rem;
  font-weight: 600;
  color: var(--text-dim);
  transition: color .25s var(--ease);
}
.nav a:hover { color: var(--text); }
.nav a::after {
  content: "";
  position: absolute;
  left: .85rem; right: .85rem; bottom: .3rem;
  height: 2px;
  border-radius: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s var(--ease);
}
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav a[aria-current="page"] { color: var(--text); }

/* The CTA lives in .header-actions on desktop and inside the menu on mobile. */
.nav > .btn { display: none; }
.nav a.btn { color: #fff; }

.header-actions { display: flex; align-items: center; gap: .6rem; }

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255, 255, 255, .03);
  color: var(--text);
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 18px; height: 2px;
  margin: 4px auto;
  border-radius: 2px;
  background: currentColor;
  transition: transform .3s var(--ease), opacity .2s var(--ease);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .header-actions .btn { display: none; }

  .nav {
    position: fixed;
    inset: 74px 0 auto;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 1rem var(--gutter) 2rem;
    background: rgba(10, 10, 12, .97);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--line);
    transform: translateY(-120%);
    opacity: 0;
    visibility: hidden;
    transition: transform .35s var(--ease), opacity .3s var(--ease), visibility .3s;
  }
  .nav.is-open { transform: translateY(0); opacity: 1; visibility: visible; }
  .nav a { padding: .95rem .2rem; font-size: 1.1rem; border-bottom: 1px solid var(--line-soft); }
  .nav a::after { display: none; }
  .nav > .btn {
    display: inline-flex;
    margin-top: 1.2rem;
    padding: .95rem 1.6rem;
    border-bottom: 0;
    font-size: .98rem;
    justify-content: center;
  }
}

/* --------------------------------------------------------------------------
   6. Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  padding-block: clamp(3.5rem, 9vw, 7rem) clamp(3rem, 7vw, 5.5rem);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  gap: clamp(2.5rem, 5vw, 4rem);
  align-items: center;
  grid-template-columns: 1fr;
}
@media (min-width: 980px) { .hero-grid { grid-template-columns: 1.02fr .98fr; } }

.hero h1 { margin-bottom: 1.1rem; }
.hero h1 .accent {
  background: linear-gradient(120deg, var(--accent-soft), var(--accent) 45%, var(--accent-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero .lead { max-width: 54ch; margin-bottom: 2rem; }

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.6rem;
  margin-top: 2.5rem;
  padding-top: 1.6rem;
  border-top: 1px solid var(--line-soft);
}
.hero-meta div { min-width: 90px; }
.hero-meta dt {
  font-family: var(--font-mono);
  font-size: .68rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--text-faint);
}
.hero-meta dd {
  margin: .25rem 0 0;
  font-size: 1.05rem;
  font-weight: 700;
}

/* Key-art frame with a soft parallax tilt */
.art-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow);
}
.art-frame img { width: 100%; }
.art-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(10, 10, 12, .85));
  pointer-events: none;
}
.art-frame__caption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  padding: 1.2rem 1.4rem;
}
.art-frame__caption strong { font-size: 1.15rem; }

/* Scrolling ticker under the hero */
.ticker {
  border-block: 1px solid var(--line-soft);
  background: rgba(255, 255, 255, .015);
  overflow: hidden;
  padding-block: .85rem;
}
.ticker__track {
  display: flex;
  width: max-content;
  gap: 3rem;
  animation: ticker 34s linear infinite;
}
.ticker:hover .ticker__track { animation-play-state: paused; }
.ticker span {
  display: inline-flex;
  align-items: center;
  gap: 3rem;
  font-family: var(--font-mono);
  font-size: .78rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--text-faint);
  white-space: nowrap;
}
.ticker span::after { content: "◆"; color: var(--accent); font-size: .6rem; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* --------------------------------------------------------------------------
   7. Cards
   -------------------------------------------------------------------------- */
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, var(--surface), var(--bg-elev));
  overflow: hidden;
  transition: transform var(--dur) var(--ease), border-color var(--dur) var(--ease),
              box-shadow var(--dur) var(--ease);
}
.card:hover { transform: translateY(-6px); border-color: #3a3a48; box-shadow: var(--shadow); }

.card__body { padding: 1.4rem; display: flex; flex-direction: column; gap: .75rem; flex: 1; }
.card__body h3 { margin: 0; }
.card__body p { color: var(--text-dim); font-size: .95rem; margin: 0; }
.card__foot { margin-top: auto; padding-top: .4rem; }

/* Project card */
.project-card__media {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #0d0d11;
}
.project-card__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .7s var(--ease);
}
.project-card:hover .project-card__media img { transform: scale(1.06); }
.project-card__media::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,10,12,.15), rgba(10,10,12,.75));
}
.project-card__status { position: absolute; z-index: 2; top: .9rem; left: .9rem; }

.project-card__title-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
}
.project-card__genre {
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-faint);
  white-space: nowrap;
}

/* Feature card (numbered) */
.feature {
  padding: 1.6rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .015);
  transition: border-color var(--dur) var(--ease), background-color var(--dur) var(--ease);
}
.feature:hover { border-color: rgba(255, 90, 31, .45); background: rgba(255, 90, 31, .04); }
.feature__num {
  display: block;
  margin-bottom: .9rem;
  font-family: var(--font-mono);
  font-size: .8rem;
  letter-spacing: .2em;
  color: var(--accent);
}
.feature h3 { font-size: 1.15rem; }
.feature p { margin: 0; color: var(--text-dim); font-size: .95rem; }

/* Team card */
.member { text-align: center; padding: 1.6rem 1.2rem; }
.member__avatar {
  width: 84px; height: 84px;
  margin: 0 auto 1rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(140deg, rgba(255,90,31,.25), rgba(176,38,255,.25));
  border: 1px solid var(--line);
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: .04em;
  color: var(--accent-soft);
}
.member h3 { margin-bottom: .1rem; font-size: 1.1rem; }
.member__role {
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent-soft);
  margin-bottom: .7rem;
}
.member p { font-size: .92rem; color: var(--text-dim); margin: 0; }

/* --------------------------------------------------------------------------
   8. Support / donation blocks
   -------------------------------------------------------------------------- */
.support-card {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
  padding: clamp(1.4rem, 3vw, 2rem);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(38rem 18rem at 100% 0%, rgba(255, 90, 31, .09), transparent 65%),
    linear-gradient(180deg, var(--surface), var(--bg-elev));
}
.support-card__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.support-card h3 { margin: 0; }
.support-card p { margin: 0; color: var(--text-dim); font-size: .96rem; }

.support-card--highlight { border-color: rgba(255, 90, 31, .4); box-shadow: var(--shadow-accent); }

/* Funding progress */
.progress__meta {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: .55rem;
  font-family: var(--font-mono);
  font-size: .78rem;
  letter-spacing: .06em;
  color: var(--text-dim);
}
.progress__meta strong { color: var(--text); font-size: 1.15rem; letter-spacing: 0; }
.progress__bar {
  height: 10px;
  border-radius: 999px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  overflow: hidden;
}
.progress__fill {
  height: 100%;
  width: 0;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent-soft), var(--accent) 60%, var(--accent-2));
  transition: width 1.4s var(--ease);
}
.progress__note { margin-top: .55rem; font-size: .84rem; color: var(--text-faint); }

/* Donation amount picker */
.amounts { display: flex; flex-wrap: wrap; gap: .5rem; }
.amounts button {
  padding: .6rem 1.05rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, .03);
  color: var(--text);
  font: inherit;
  font-weight: 700;
  font-size: .92rem;
  cursor: pointer;
  transition: all .25s var(--ease);
}
.amounts button:hover { border-color: var(--accent); color: var(--accent-soft); }
.amounts button[aria-pressed="true"] {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.amount-custom {
  display: flex;
  align-items: center;
  gap: .5rem;
  padding: .35rem .35rem .35rem .9rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, .03);
}
.amount-custom span { color: var(--text-faint); font-weight: 700; }
.amount-custom input {
  width: 90px;
  padding: .3rem 0;
  border: 0;
  background: transparent;
  color: var(--text);
  font: inherit;
  font-weight: 700;
}
.amount-custom input:focus { outline: none; }

.tiers { display: grid; gap: .75rem; }
.tier {
  display: flex;
  align-items: flex-start;
  gap: .9rem;
  padding: 1rem 1.15rem;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .02);
}
.tier__amount {
  flex: 0 0 auto;
  min-width: 62px;
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--accent-soft);
}
.tier strong { display: block; font-size: .98rem; }
.tier p { margin: .15rem 0 0; font-size: .9rem; color: var(--text-dim); }

.fineprint { font-size: .82rem; color: var(--text-faint); }
.fineprint a { color: var(--text-dim); text-decoration: underline; text-underline-offset: 3px; }

/* --------------------------------------------------------------------------
   9. Devlog / timeline / roadmap
   -------------------------------------------------------------------------- */
.post-list { display: grid; gap: 1rem; }

.post {
  display: grid;
  gap: .35rem 1.6rem;
  padding: 1.4rem 0;
  border-bottom: 1px solid var(--line-soft);
  grid-template-columns: 1fr;
  transition: background-color .3s var(--ease);
}
@media (min-width: 760px) { .post { grid-template-columns: 160px 1fr; padding-inline: .6rem; } }
.post:hover { background: rgba(255, 255, 255, .02); }
.post time {
  font-family: var(--font-mono);
  font-size: .78rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-faint);
  padding-top: .2rem;
}
.post h3 { margin: 0 0 .3rem; font-size: 1.22rem; }
.post p { margin: 0; color: var(--text-dim); font-size: .96rem; }
.post__tag { margin-top: .6rem; }

.timeline { position: relative; padding-left: 1.6rem; }
.timeline::before {
  content: "";
  position: absolute;
  left: 5px; top: .5rem; bottom: .5rem;
  width: 2px;
  background: linear-gradient(180deg, var(--accent), rgba(176, 38, 255, .5), transparent);
}
.timeline li { position: relative; margin-bottom: 1.5rem; list-style: none; }
.timeline li::before {
  content: "";
  position: absolute;
  left: -1.6rem; top: .55rem;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--bg);
  border: 2px solid var(--accent);
}
.timeline li.is-done::before { background: var(--accent); }
.timeline h3 { font-size: 1.05rem; margin-bottom: .2rem; }
.timeline p { margin: 0; font-size: .93rem; color: var(--text-dim); }
.timeline .tag { margin-top: .5rem; }
.timeline ul { padding-left: 0; }

/* --------------------------------------------------------------------------
   10. Forms
   -------------------------------------------------------------------------- */
.form { display: grid; gap: 1.1rem; }
.field { display: grid; gap: .45rem; }
.field label { font-size: .88rem; font-weight: 700; letter-spacing: .01em; }
.field label .req { color: var(--accent); }

.field input, .field textarea, .field select {
  width: 100%;
  padding: .85rem 1rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, .03);
  color: var(--text);
  font: inherit;
  font-size: .96rem;
  transition: border-color .25s var(--ease), background-color .25s var(--ease);
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-color: var(--accent);
  background: rgba(255, 90, 31, .05);
}
.field input::placeholder, .field textarea::placeholder { color: var(--text-faint); }
.field small { color: var(--text-faint); font-size: .82rem; }

.form-note {
  padding: 1rem 1.15rem;
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  border-radius: 10px;
  background: rgba(255, 90, 31, .05);
  font-size: .9rem;
  color: var(--text-dim);
}

.newsletter {
  display: flex;
  flex-wrap: wrap;
  gap: .7rem;
  max-width: 520px;
}
.newsletter input {
  flex: 1 1 220px;
  padding: .9rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, .03);
  color: var(--text);
  font: inherit;
}
.newsletter input:focus { outline: none; border-color: var(--accent); }

/* --------------------------------------------------------------------------
   11. CTA band
   -------------------------------------------------------------------------- */
.cta-band {
  position: relative;
  padding: clamp(2.5rem, 6vw, 4.5rem);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(40rem 20rem at 15% 0%, rgba(255, 90, 31, .16), transparent 65%),
    radial-gradient(34rem 18rem at 90% 100%, rgba(176, 38, 255, .16), transparent 65%),
    linear-gradient(180deg, var(--surface), var(--bg-elev));
  overflow: hidden;
}
.cta-band h2 { max-width: 20ch; }
.cta-band p { max-width: 56ch; color: var(--text-dim); }

/* --------------------------------------------------------------------------
   12. Page header (inner pages)
   -------------------------------------------------------------------------- */
.page-head {
  padding-block: clamp(3rem, 7vw, 5.5rem) clamp(1.5rem, 3vw, 2.5rem);
  border-bottom: 1px solid var(--line-soft);
}
.page-head h1 { font-size: clamp(2.2rem, 1.5rem + 3vw, 4rem); margin-bottom: .6rem; }
.page-head p { max-width: 62ch; color: var(--text-dim); font-size: 1.06rem; }

.breadcrumb {
  display: flex;
  align-items: center;
  gap: .5rem;
  margin-bottom: 1.2rem;
  font-family: var(--font-mono);
  font-size: .74rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-faint);
}
.breadcrumb a:hover { color: var(--accent-soft); }

/* --------------------------------------------------------------------------
   13. Project detail
   -------------------------------------------------------------------------- */
.detail-hero { padding-block: clamp(2rem, 5vw, 3.5rem) 0; }

.fact-list {
  display: grid;
  gap: 0;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.fact-list > div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding: .85rem 1.15rem;
  border-bottom: 1px solid var(--line-soft);
  background: rgba(255, 255, 255, .015);
}
.fact-list > div:last-child { border-bottom: 0; }
.fact-list dt {
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--text-faint);
}
.fact-list dd { margin: 0; font-weight: 700; font-size: .95rem; text-align: right; }

.shot-grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.shot {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
}
.shot img { width: 100%; transition: transform .6s var(--ease); }
.shot:hover img { transform: scale(1.04); }

/* --------------------------------------------------------------------------
   14. Footer
   -------------------------------------------------------------------------- */
.site-footer {
  margin-top: clamp(3rem, 7vw, 6rem);
  border-top: 1px solid var(--line-soft);
  background: rgba(255, 255, 255, .012);
  padding-block: clamp(2.5rem, 5vw, 4rem) 1.75rem;
}
.footer-grid {
  display: grid;
  gap: 2.25rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 190px), 1fr));
  margin-bottom: 2.5rem;
}
.footer-brand { max-width: 34ch; }
.footer-brand p { margin-top: 1rem; font-size: .92rem; color: var(--text-dim); }

.footer-col h4 {
  margin-bottom: 1rem;
  font-family: var(--font-mono);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--text-faint);
}
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: .55rem; }
.footer-col a { font-size: .93rem; color: var(--text-dim); transition: color .25s var(--ease); }
.footer-col a:hover { color: var(--accent-soft); }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.6rem;
  border-top: 1px solid var(--line-soft);
  font-size: .84rem;
  color: var(--text-faint);
}
.footer-bottom nav { display: flex; flex-wrap: wrap; gap: 1.2rem; }
.footer-bottom a:hover { color: var(--text-dim); }

/* --------------------------------------------------------------------------
   15. Scroll reveal
   -------------------------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .09s; }
.reveal[data-delay="2"] { transition-delay: .18s; }
.reveal[data-delay="3"] { transition-delay: .27s; }
.reveal[data-delay="4"] { transition-delay: .36s; }

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