/* Pale Crow Studio — site styles. Plain CSS, no build. */

@font-face { font-family: "Lilita One"; src: url("../fonts/lilita-one-latin-400-normal.woff2") format("woff2"); font-display: swap; }
@font-face { font-family: "Inter"; font-weight: 400; src: url("../fonts/inter-latin-400-normal.woff2") format("woff2"); font-display: swap; }
@font-face { font-family: "Inter"; font-weight: 600; src: url("../fonts/inter-latin-600-normal.woff2") format("woff2"); font-display: swap; }
@font-face { font-family: "Marcellus"; src: url("../fonts/marcellus-latin-400-normal.woff2") format("woff2"); font-display: swap; }
@font-face { font-family: "EB Garamond"; font-weight: 400; src: url("../fonts/eb-garamond-latin-400-normal.woff2") format("woff2"); font-display: swap; }

:root {
  --black: #000;
  --white: #fff;
  --muted: #b5b5b5;
  --line: #2a2a2a;

  /* Studio fonts */
  --font-display: "Lilita One", "Arial Rounded MT Bold", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;

  /* Project Lazarus palette: cold slate, a touch of gold (Life) and void purple */
  --slate-900: #11151b;
  --slate-800: #1a2029;
  --slate-600: #4a5666;
  --slate-300: #aab4c2;
  --slate-100: #dde3ea;
  --gold: #c9a45c;
  --void: #1c1226;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 4.5rem; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--black);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--white); text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }

h1, h2, h3 { font-family: var(--font-display); font-weight: 400; line-height: 1.15; margin: 0 0 .6em; letter-spacing: .01em; }
h2 { font-size: clamp(2rem, 6vw, 3.25rem); }
h3 { font-size: 1.35rem; }
p { margin: 0 0 1.1em; }

.wrap { width: min(100% - 2rem, 62rem); margin-inline: auto; }
.section { padding: 5rem 0; }
.eyebrow { font-family: var(--font-body); text-transform: uppercase; letter-spacing: .18em; font-size: .8rem; color: var(--muted); margin-bottom: 1rem; }

.skip { position: absolute; left: -999px; top: 0; background: var(--white); color: var(--black); padding: .6rem 1rem; z-index: 100; }
.skip:focus { left: 0; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(0,0,0,.92); border-bottom: 1px solid var(--line); backdrop-filter: blur(6px); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 3.75rem; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: .6rem; text-decoration: none; font-family: var(--font-display); font-size: 1.15rem; }
.brand img { width: 2.25rem; height: 2.25rem; }
.nav { display: flex; gap: 1.25rem; flex-wrap: wrap; }
.nav a { text-decoration: none; font-size: .95rem; color: var(--muted); padding: .25rem 0; }
.nav a:hover { color: var(--white); text-decoration: underline; }

/* Hero */
.hero { text-align: center; padding: 4rem 0 6rem; position: relative; overflow: hidden; }
.hero img.logo { width: min(100%, 34rem); margin: 0 auto 2rem; }
.hero p.tagline { font-size: clamp(1.15rem, 3.5vw, 1.5rem); color: var(--slate-100); max-width: 36rem; margin: 0 auto 2rem; }
.cta { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.btn { display: inline-block; font-family: var(--font-display); font-size: 1.05rem; padding: .8rem 1.6rem; border-radius: 999px; border: 2px solid var(--white); text-decoration: none; background: var(--white); color: var(--black); cursor: pointer; }
.btn:hover { background: var(--black); color: var(--white); }
.btn.ghost { background: transparent; color: var(--white); }
.btn.ghost:hover { background: var(--white); color: var(--black); }

/* About */
.about p { max-width: 40rem; font-size: 1.15rem; }

/* Ink transition: black fades into slate */
.ink { height: 9rem; background: linear-gradient(to bottom, var(--black), var(--slate-900)); }

/* Project Lazarus */
.lazarus { background: var(--slate-900); color: var(--slate-100); font-family: "EB Garamond", Georgia, serif; font-size: 1.25rem; padding-top: 2rem; position: relative; }
.lazarus::after { content: ""; position: absolute; inset: auto 0 0 0; height: 8rem; background: linear-gradient(to bottom, transparent, var(--void)); pointer-events: none; }
.lazarus .wrap { position: relative; z-index: 1; }
.lazarus h2, .lazarus h3 { font-family: "Marcellus", Georgia, serif; letter-spacing: .04em; color: var(--white); }
.lazarus .eyebrow { font-family: "Marcellus", Georgia, serif; color: var(--gold); }
.lazarus .lede { font-style: italic; color: var(--gold); font-size: 1.4rem; }
.lazarus p { max-width: 40rem; }
.pillars { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); margin: 2.5rem 0; padding: 0; list-style: none; }
.pillars li { background: var(--slate-800); border: 1px solid var(--slate-600); border-radius: 6px; padding: 1.25rem; }
.pillars h3 { font-size: 1.15rem; color: var(--gold); margin-bottom: .4em; }
.pillars p { margin: 0; font-size: 1.1rem; }
.shots { margin: 2rem 0; min-height: 14rem; display: grid; place-items: center; text-align: center; border: 1px dashed var(--slate-600); border-radius: 6px; background: var(--slate-800); color: var(--slate-300); font-family: "Marcellus", Georgia, serif; letter-spacing: .08em; }
.status { border-left: 3px solid var(--gold); padding-left: 1rem; color: var(--slate-300); font-size: 1.05rem; }

/* Join the Flock */
.join { background: var(--void); color: var(--white); }
.join p.intro { max-width: 40rem; color: var(--slate-100); }
.join .placeholder { margin-top: 2rem; padding: 1.5rem; border: 1px dashed var(--slate-600); border-radius: 6px; color: var(--muted); }

/* Contact + footer */
.contact { text-align: center; }
.contact a { font-family: var(--font-display); font-size: clamp(1.2rem, 5vw, 2rem); }
.site-footer { border-top: 1px solid var(--line); padding: 2rem 0; color: var(--muted); font-size: .9rem; }
.site-footer .wrap { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.site-footer a { color: var(--muted); }

@media (max-width: 40rem) {
  .section { padding: 3.5rem 0; }
  .nav { gap: .9rem; }
}

/* Decorative ink splatters (never over text; hidden from screen readers) */
.about { position: relative; overflow: hidden; }
.splat { position: absolute; pointer-events: none; user-select: none; opacity: .9; z-index: 0; }
.hero .wrap, .about .wrap { position: relative; z-index: 1; }
.splat-a { width: clamp(7rem, 18vw, 14rem); left: -2rem; top: 1.5rem; transform: rotate(-12deg); }
.splat-b { width: clamp(5rem, 12vw, 9rem); right: 1rem; top: 0; }
.splat-c { width: clamp(6rem, 14vw, 11rem); right: -2rem; bottom: -1rem; transform: rotate(150deg); opacity: .5; }
@media (max-width: 40rem) { .splat { opacity: .35; } .splat-b { right: -1rem; } }

.join .terms { margin-top: 1.5rem; padding-left: 1rem; border-left: 3px solid var(--gold); color: var(--slate-300); font-size: 1rem; }

/* Collaboration form */
.form { margin-top: 2rem; max-width: 40rem; display: grid; gap: 1.25rem; }
.field label { display: block; margin-bottom: .35rem; font-weight: 600; }
.req { color: var(--gold); }
.opt, .hint { color: var(--slate-300); font-weight: 400; font-size: .9rem; }
.hint { margin: .3rem 0 0; }
.form input[type=text], .form input[type=email], .form input[type=url], .form select, .form textarea {
  width: 100%; font: inherit; color: var(--white); background: #0d0a12; border: 2px solid var(--slate-600); border-radius: 6px; padding: .7rem .8rem;
}
.form textarea { resize: vertical; min-height: 9rem; }
.form [aria-invalid="true"] { border-color: #ff8a8a; }
.err { color: #ffb0b0; font-size: .95rem; margin: .35rem 0 0; }
.err:empty { display: none; }
.field.check { display: grid; grid-template-columns: auto 1fr; gap: .2rem .7rem; align-items: start; }
.field.check input { width: 1.3rem; height: 1.3rem; margin-top: .2rem; accent-color: var(--gold); }
.field.check label { font-weight: 400; margin: 0; }
.field.check .err { grid-column: 2; }
.join a { color: var(--gold); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form .btn { justify-self: start; }
.form .btn[disabled] { opacity: .6; cursor: wait; }
.status-msg { margin: 0; font-size: 1.05rem; }
.status-msg.ok { color: #b9e8b9; }
.status-msg.fail { color: #ffb0b0; }

/* Privacy page */
.doc { min-height: 70vh; }
.doc h1 { font-size: clamp(2.2rem, 7vw, 3.5rem); }
.doc h2 { font-size: 1.5rem; margin-top: 2rem; }
.doc p { max-width: 42rem; }
.doc .updated { color: var(--muted); font-size: .95rem; }

/* 404 page */
.notfound { min-height: 100vh; display: grid; place-items: center; text-align: center; position: relative; overflow: hidden; }
.notfound .wrap { position: relative; z-index: 1; }
.notfound .logo { width: 8rem; margin: 0 auto 1rem; }
.notfound h1 { font-size: clamp(4rem, 20vw, 9rem); margin: 0; }

/* Project Lazarus: tech sheet and media gallery */
.spec-title { margin-top: 2.5rem; }
.specs { display: grid; gap: .75rem 2rem; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); margin: 0 0 2rem; padding: 1rem 0 0; border-top: 1px solid var(--slate-600); }
.specs div { display: grid; gap: .1rem; }
.specs dt { font-family: "Marcellus", Georgia, serif; letter-spacing: .08em; text-transform: uppercase; font-size: .85rem; color: var(--gold); }
.specs dd { margin: 0; font-size: 1.15rem; }
.gallery { list-style: none; margin: 2rem 0; padding: 0; display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr)); }
.gallery figure { margin: 0; background: var(--slate-800); border: 1px solid var(--slate-600); border-radius: 6px; overflow: hidden; }
.gallery img, .gallery video { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; display: block; }

.tech-list { list-style: none; margin: 1rem 0 2rem; padding: 0; display: grid; gap: .9rem; max-width: 44rem; }
.tech-list li { padding-left: 1rem; border-left: 2px solid var(--slate-600); font-size: 1.15rem; }
.tech-list strong { color: var(--gold); font-weight: 500; }

.media-note { color: var(--slate-300); font-size: 1rem; margin-top: -.4rem; }
.gallery-video { grid-template-columns: repeat(auto-fit, minmax(20rem, 1fr)); }
.gallery figcaption { padding: .7rem .9rem .9rem; font-size: 1rem; color: var(--slate-300); line-height: 1.4; }
.gallery a { display: block; }
.gallery a:hover img { filter: brightness(1.15); }
@media (min-width: 40rem) {
  .gallery, .gallery-video { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 39.99rem) {
  .gallery, .gallery-video { grid-template-columns: 1fr; }
}
