/* ==========================================================
   Michael J. Kospiah — site styles
   Concept: a dark, cinematic one-pager. Near-black paper, warm
   off-white ink, one accent (dried blood red). Bodoni Moda for
   display type, Inter for body, Courier Prime for the small
   screenplay-style labels. Film grain over everything.
   ========================================================== */

:root {
  --bg: #0a0a0b;
  --bg-2: #101012;
  --bg-3: #161618;
  --ink: #ebe6dc;
  --ink-soft: #a29d93;
  --ink-dim: #6c675f;
  --line: #232326;
  --line-strong: #34343a;
  --blood: #a5101d;
  --blood-hi: #d11f2e;

  --display: "Bodoni Moda", "Didot", "Bodoni 72", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Courier Prime", "Courier New", Courier, monospace;

  --gutter: clamp(1rem, 5vw, 4rem);
  --max: 82rem;
  --measure: 60ch;

  --ease: cubic-bezier(.2, .7, .2, 1);

  box-sizing: border-box;
  color-scheme: dark;
}
*, *::before, *::after { box-sizing: inherit; }

html { scroll-behavior: smooth; scroll-padding-top: 5rem; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--ink); text-decoration: none; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--blood-hi); outline-offset: 4px; }
em { font-style: italic; }
figure { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

.skip {
  position: absolute; left: -999px; top: 0;
  background: var(--ink); color: var(--bg); padding: .5rem 1rem; z-index: 200;
}
.skip:focus { left: 1rem; top: 1rem; }

/* film grain over everything */
.grain {
  position: fixed; inset: -50%; z-index: 90; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .5 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: .16;
  animation: grain 1.2s steps(6) infinite;
}
@keyframes grain {
  0% { transform: translate(0,0); } 20% { transform: translate(-3%,2%); }
  40% { transform: translate(2%,-4%); } 60% { transform: translate(-4%,-1%); }
  80% { transform: translate(3%,3%); } 100% { transform: translate(0,0); }
}
@media (prefers-reduced-motion: reduce) { .grain { animation: none; } }

/* build-time notes for Edward — delete before launch */
.edit-note { color: var(--blood-hi); font-family: var(--mono); font-size: .8rem; letter-spacing: .01em; }
.edit-note::before { content: "[ "; }
.edit-note::after  { content: " ]"; }

/* ---------- type helpers ---------- */
.kicker {
  font-family: var(--mono); font-size: .78rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--ink-soft); margin: 0 0 1.25rem; display: flex; align-items: center; gap: .75rem;
}
.kicker__dot { width: 5px; height: 5px; background: var(--blood-hi); border-radius: 50%; display: inline-block; }

.section-title {
  font-family: var(--display); font-weight: 400; letter-spacing: -.01em;
  font-size: clamp(2.4rem, 6vw, 4.75rem); line-height: .98; margin: 0;
}
.section-lede { color: var(--ink-soft); max-width: var(--measure); margin: 1.5rem 0 0; }
.section-head { margin-bottom: clamp(2.5rem, 6vw, 4.5rem); }

.btn {
  display: inline-flex; align-items: center; gap: .6rem;
  font-family: var(--mono); font-size: .82rem; letter-spacing: .14em; text-transform: uppercase;
  padding: .95rem 1.5rem; border: 1px solid var(--line-strong); color: var(--ink);
  transition: border-color .3s var(--ease), background .3s var(--ease), color .3s var(--ease), transform .3s var(--ease);
}
.btn:hover { border-color: var(--ink); transform: translateY(-1px); }
.btn--primary { background: var(--blood); border-color: var(--blood); }
.btn--primary:hover { background: var(--blood-hi); border-color: var(--blood-hi); }

.link {
  font-family: var(--mono); font-size: .82rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--ink); display: inline-flex; align-items: center; gap: .5rem;
  border-bottom: 1px solid var(--line-strong); padding-bottom: .25rem;
  transition: border-color .3s var(--ease), color .3s var(--ease);
}
.link:hover { border-color: var(--blood-hi); color: #fff; }
.link span { transition: transform .3s var(--ease); }
.link:hover span { transform: translateX(3px); }

/* ---------- masthead ---------- */
.masthead {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.1rem var(--gutter);
  transition: background .4s var(--ease), border-color .4s var(--ease), padding .4s var(--ease);
  border-bottom: 1px solid transparent;
}
.masthead.is-scrolled {
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-color: var(--line); padding-block: .8rem;
}
.masthead__name { font-family: var(--display); font-size: 1.25rem; letter-spacing: .01em; white-space: nowrap; }
.masthead__nav { display: flex; gap: 2rem; align-items: center; font-family: var(--mono); font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; }
.masthead__nav a { color: var(--ink-soft); transition: color .3s var(--ease); position: relative; }
.masthead__nav a:hover { color: var(--ink); }
.masthead__nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -.35rem; height: 1px;
  background: var(--blood-hi); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.masthead__nav a:hover::after { transform: scaleX(1); }
.masthead__cta { color: var(--ink) !important; border: 1px solid var(--line-strong); padding: .5rem .9rem; }
.masthead__cta::after { display: none; }
.masthead__cta:hover { border-color: var(--blood-hi); }

.masthead__toggle {
  display: none; background: none; border: 0; padding: .5rem; cursor: pointer; width: 44px; height: 44px;
  flex-direction: column; justify-content: center; gap: 6px; align-items: center;
}
.masthead__toggle span { display: block; width: 24px; height: 1.5px; background: var(--ink); transition: transform .3s var(--ease), opacity .3s; }
.masthead__toggle[aria-expanded="true"] span:first-child { transform: translateY(3.75px) rotate(45deg); }
.masthead__toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.75px) rotate(-45deg); }

@media (max-width: 52rem) {
  .masthead__toggle { display: flex; }
  .masthead__nav {
    position: fixed; inset: 0; background: var(--bg); flex-direction: column; justify-content: center;
    gap: 2.25rem; font-size: 1.1rem; z-index: -1; opacity: 0; pointer-events: none; transition: opacity .3s var(--ease);
  }
  .masthead__nav.is-open { opacity: 1; pointer-events: auto; }
  .masthead.is-open { background: var(--bg); }
}

/* ---------- sections ---------- */
main > section { padding: clamp(4rem, 10vw, 8rem) var(--gutter); }
main > section > * { max-width: var(--max); margin-inline: auto; }

/* ---------- hero ---------- */
.hero {
  position: relative; min-height: 100svh;
  display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  align-items: center; gap: clamp(2rem, 6vw, 6rem);
  padding-top: clamp(6rem, 14vw, 9rem) !important;
  overflow: hidden;
}
.hero > * { max-width: none; margin-inline: 0; }
.hero::before {
  /* red bloom behind the photo */
  content: ""; position: absolute; right: -10%; top: 10%; width: 60vw; height: 60vw; max-width: 900px; max-height: 900px;
  background: radial-gradient(closest-side, rgba(165,16,29,.28), rgba(165,16,29,0) 70%);
  pointer-events: none; filter: blur(20px);
}
.hero__inner { position: relative; z-index: 1; }
.hero__title {
  font-family: var(--display); font-weight: 400; margin: 0 0 1.75rem; line-height: .9; letter-spacing: -.015em;
}
.hero__line { display: block; font-size: clamp(2.4rem, 6.5vw, 5rem); font-style: italic; font-weight: 400; color: var(--ink-soft); }
.hero__line--big { font-size: clamp(4.25rem, 13.5vw, 11rem); font-style: normal; color: var(--ink); margin-top: .05em; }
.hero__lede { font-size: clamp(1.1rem, 1.6vw, 1.3rem); line-height: 1.55; color: var(--ink-soft); max-width: 34rem; margin: 0 0 2.25rem; }
.hero__lede em { color: var(--ink); }
.hero__actions { display: flex; flex-wrap: wrap; gap: .75rem; }

.hero__photo {
  position: relative; aspect-ratio: 4 / 5; width: 100%; max-width: 30rem; justify-self: end;
  overflow: hidden; background: var(--bg-2); border: 1px solid var(--line);
}
.hero__photo img {
  width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%;
  filter: grayscale(1) contrast(1.15) brightness(.9);
  transform: scale(1.02); transition: transform 1.2s var(--ease), filter 1.2s var(--ease);
}
.hero__photo::after {
  /* red duotone + vignette */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(10,10,11,0) 55%, rgba(10,10,11,.85) 100%),
    linear-gradient(135deg, rgba(165,16,29,.35), rgba(165,16,29,0) 60%);
  mix-blend-mode: normal;
}
.hero__photo:hover img { filter: grayscale(.6) contrast(1.1) brightness(.95); transform: scale(1.05); }
.hero__photo .photo-cap {
  position: absolute; left: 1rem; bottom: 1rem; z-index: 2; margin: 0;
  font-family: var(--mono); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft);
}

.hero__scroll {
  position: absolute; left: var(--gutter); bottom: 2rem; width: 1px; height: 4rem; background: var(--line-strong); overflow: hidden;
}
.hero__scroll span { position: absolute; inset: 0; background: var(--blood-hi); transform: translateY(-100%); animation: drip 2.2s var(--ease) infinite; }
@keyframes drip { 0% { transform: translateY(-100%);} 60% { transform: translateY(100%);} 100% { transform: translateY(100%);} }

@media (max-width: 60rem) {
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero__photo { justify-self: start; max-width: 22rem; order: -1; aspect-ratio: 1; }
  .hero__scroll { display: none; }
}

/* ---------- image slots ---------- */
.placeholder-note { display: none; }
.is-empty img { display: none; }
.is-empty {
  display: grid; place-items: center; text-align: center;
  background: var(--bg-2);
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 24px 24px;
  border: 1px solid var(--line);
}
.is-empty .placeholder-note {
  display: block; padding: 1rem; font-family: var(--mono); font-size: .72rem; color: var(--ink-dim); letter-spacing: .06em;
}
.is-empty .placeholder-note span { display: block; color: var(--ink-soft); font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: .4rem; }

/* ---------- laurels ticker ---------- */
.ticker {
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  overflow: hidden; padding: 1rem 0; background: var(--bg-2);
  font-family: var(--mono); font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-soft);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.ticker__track { display: flex; gap: 0; width: max-content; animation: ticker 60s linear infinite; }
.ticker__track span { padding: 0 2.5rem; position: relative; white-space: nowrap; }
.ticker__track span::after { content: ""; position: absolute; right: -3px; top: 50%; width: 5px; height: 5px; background: var(--blood-hi); border-radius: 50%; transform: translateY(-50%); }
.ticker:hover .ticker__track { animation-play-state: paused; }
@keyframes ticker { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ticker__track { animation: none; flex-wrap: wrap; width: auto; } }

/* ---------- feature films ---------- */
.films { background: var(--bg); }
.film {
  display: grid; grid-template-columns: minmax(0, 20rem) minmax(0, 1fr);
  gap: clamp(1.75rem, 5vw, 5rem); align-items: start;
  padding: clamp(2.5rem, 6vw, 4.5rem) 0; border-top: 1px solid var(--line);
}
.film:last-of-type { border-bottom: 1px solid var(--line); }
.film:nth-of-type(even) { grid-template-columns: minmax(0, 1fr) minmax(0, 20rem); }
.film:nth-of-type(even) .film__poster { order: 2; }
@media (max-width: 52rem) {
  .film, .film:nth-of-type(even) { grid-template-columns: 1fr; }
  .film:nth-of-type(even) .film__poster { order: 0; }
  .film__poster { max-width: 16rem; }
}

.film__poster {
  position: relative; aspect-ratio: 2 / 3; background: var(--bg-2); overflow: hidden; border: 1px solid var(--line);
  box-shadow: 0 30px 60px -30px rgba(0,0,0,.9);
}
.film__poster img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.film__poster:hover img { transform: scale(1.04); }
.film__poster::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 0 1px rgba(255,255,255,.04); pointer-events: none; }

.film__slug { font-family: var(--mono); font-size: .78rem; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-soft); margin: 0 0 1rem; }
.film__slug i { font-style: normal; color: var(--ink-dim); padding: 0 .35rem; }
.film__slug b { color: var(--blood-hi); font-weight: 400; }
.film__title {
  font-family: var(--display); font-weight: 400; letter-spacing: -.01em;
  font-size: clamp(2.5rem, 5.5vw, 4.5rem); line-height: .98; margin: 0 0 1.25rem;
}
.film__log { font-family: var(--display); font-style: italic; font-size: clamp(1.2rem, 2vw, 1.5rem); line-height: 1.35; margin: 0 0 1.5rem; max-width: 34rem; color: var(--ink); }
.film__text { color: var(--ink-soft); max-width: var(--measure); margin: 0 0 1.5rem; }
.film__text em { color: var(--ink); }

.laurels { display: flex; flex-wrap: wrap; gap: .75rem 1.5rem; margin: 0 0 1.75rem; }
.laurels li {
  position: relative; padding: .35rem 1.35rem; text-align: center;
  font-family: var(--display); font-size: .95rem; line-height: 1.25; color: var(--ink);
}
.laurels li small { display: block; font-family: var(--mono); font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); margin-top: .15rem; }
.laurels li::before, .laurels li::after {
  content: ""; position: absolute; top: 0; bottom: 0; width: .8rem;
  border: 1px solid var(--line-strong); border-radius: 100% 0 0 100% / 50% 0 0 50%;
}
.laurels li::before { left: 0; border-right: 0; }
.laurels li::after { right: 0; border-left: 0; border-radius: 0 100% 100% 0 / 0 50% 50% 0; }

.film__meta { display: flex; flex-wrap: wrap; gap: 1rem 2.5rem; margin: 0 0 1.75rem; padding: 1.25rem 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.film__meta div { min-width: 8rem; }
.film__meta dt { font-family: var(--mono); font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-dim); margin-bottom: .2rem; }
.film__meta dd { margin: 0; font-size: .95rem; }

/* ---------- in development ---------- */
.dev { background: var(--bg-2); border-top: 1px solid var(--line); }
.dev__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.dev__item { background: var(--bg-2); padding: 2rem 1.75rem; transition: background .4s var(--ease); }
.dev__item:hover { background: var(--bg-3); }
.dev__item h3 { font-family: var(--display); font-weight: 400; font-size: 1.75rem; line-height: 1.1; margin: .75rem 0 .75rem; }
.dev__item p { color: var(--ink-soft); margin: 0 0 .75rem; font-size: .95rem; }
.dev__item .film__slug { margin-bottom: 0; font-size: .7rem; letter-spacing: .14em; }

/* ---------- shorts grid ---------- */
.shorts { background: var(--bg); }
.shorts__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(11.5rem, 1fr)); gap: 1.25rem; }
.short { position: relative; display: block; }
.short__poster {
  position: relative; aspect-ratio: 2 / 3; overflow: hidden; background: var(--bg-2); border: 1px solid var(--line);
}
.short__poster img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease), filter 1s var(--ease); filter: saturate(.85); }
/* 16:9 stills sit letterboxed inside the 2:3 frame instead of being cropped */
.short__poster--still { background: var(--bg-3); }
.short__poster--still img { object-fit: contain; }
.short:hover .short__poster img { transform: scale(1.06); filter: saturate(1); }
.short__poster::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(10,10,11,0) 50%, rgba(10,10,11,.7) 100%);
}
.short__body { padding: .9rem 0 0; }
.short__title { font-family: var(--display); font-size: 1.2rem; line-height: 1.15; margin: 0 0 .3rem; font-weight: 400; }
.short__meta { font-family: var(--mono); font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-dim); margin: 0; }
.short__log { color: var(--ink-soft); font-size: .88rem; line-height: 1.5; margin: .5rem 0 0; }
.short__badge {
  position: absolute; top: .75rem; left: .75rem; z-index: 2;
  font-family: var(--mono); font-size: .62rem; letter-spacing: .14em; text-transform: uppercase;
  background: var(--blood); color: #fff; padding: .3rem .55rem;
}
.short--text .short__poster { display: grid; place-items: center; padding: 1.25rem; text-align: center; }
.short--text .short__poster p { font-family: var(--display); font-style: italic; font-size: 1.4rem; line-height: 1.2; color: var(--ink-soft); margin: 0; }

.shorts__more { margin-top: 3rem; padding-top: 2rem; border-top: 1px solid var(--line); color: var(--ink-soft); max-width: none; }
.shorts__more p { max-width: var(--measure); margin: 0 0 1rem; }
.shorts__more strong { color: var(--ink); font-weight: 500; }

/* ---------- stage ---------- */
.stage { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stage__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: clamp(2rem, 6vw, 6rem); align-items: start; }
@media (max-width: 52rem) { .stage__grid { grid-template-columns: 1fr; } }
.credits li { padding: 1rem 0; border-top: 1px solid var(--line); }
.credits li:last-child { border-bottom: 1px solid var(--line); }
.credits strong { display: block; font-family: var(--display); font-weight: 400; font-size: 1.35rem; margin-bottom: .2rem; }
.credits span { color: var(--ink-soft); font-size: .95rem; }
.stage__note { color: var(--ink-soft); margin-top: 1.25rem; max-width: var(--measure); }

/* ---------- about ---------- */
.about { background: var(--bg); }
.about__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 6vw, 6rem); align-items: start; }
@media (max-width: 52rem) { .about__grid { grid-template-columns: 1fr; } }
.about__text p { color: var(--ink-soft); max-width: var(--measure); margin: 0 0 1.25rem; }
.about__text p em, .about__text p strong { color: var(--ink); font-weight: 500; }
.about__quote {
  position: sticky; top: 6rem;
  border-left: 2px solid var(--blood); padding-left: clamp(1.25rem, 3vw, 2.5rem); margin: 0;
}
.about__quote p { font-family: var(--display); font-style: italic; font-size: clamp(1.6rem, 3vw, 2.5rem); line-height: 1.2; margin: 0 0 1.25rem; color: var(--ink); }
.about__quote cite { font-family: var(--mono); font-style: normal; font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-soft); }
.services { display: grid; grid-template-columns: repeat(2, 1fr); gap: .75rem 1.5rem; margin-top: 2rem; max-width: 30rem; }
.services li { font-family: var(--mono); font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; padding: .8rem 0; border-top: 1px solid var(--line); display: flex; align-items: center; gap: .7rem; }
.services li::before { content: ""; width: 5px; height: 5px; background: var(--blood-hi); flex: none; }

/* ---------- scripts ---------- */
.scripts { background: var(--bg-2); border-top: 1px solid var(--line); }
.scripts__table { width: 100%; border-collapse: collapse; font-size: .95rem; margin: 0 0 2rem; }
.scripts__table th {
  text-align: left; font-family: var(--mono); font-weight: 400; font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-dim);
  padding: .6rem 1rem .6rem 0; border-bottom: 1px solid var(--line-strong);
}
.scripts__table td { padding: .9rem 1rem .9rem 0; border-bottom: 1px solid var(--line); vertical-align: top; color: var(--ink-soft); }
.scripts__table td:first-child { font-family: var(--display); font-size: 1.25rem; color: var(--ink); }
.scripts__table tr { transition: background .3s var(--ease); }
.scripts__table tbody tr:hover { background: rgba(255,255,255,.02); }
.scripts__table .type { font-family: var(--mono); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; white-space: nowrap; }
@media (max-width: 40rem) { .scripts__table th:nth-child(3), .scripts__table td:nth-child(3) { display: none; } }

/* ---------- contact ---------- */
.contact { background: var(--bg); position: relative; overflow: hidden; text-align: center; padding-block: clamp(6rem, 14vw, 11rem) !important; }
.contact::before {
  content: ""; position: absolute; left: 50%; top: 50%; width: 70vw; height: 70vw; max-width: 900px; max-height: 900px;
  transform: translate(-50%, -50%); pointer-events: none;
  background: radial-gradient(closest-side, rgba(165,16,29,.22), rgba(165,16,29,0) 70%); filter: blur(30px);
}
.contact__inner { position: relative; }
.contact .kicker { justify-content: center; }
.contact__title { font-family: var(--display); font-weight: 400; font-size: clamp(2.8rem, 8vw, 6.5rem); line-height: .95; margin: 0 0 1.25rem; letter-spacing: -.015em; }
.contact__sub { color: var(--ink-soft); margin: 0 0 2.25rem; }
.contact__mail {
  display: inline-block; font-family: var(--display); font-size: clamp(1.25rem, 3vw, 2rem); color: var(--ink);
  border-bottom: 1px solid var(--line-strong); padding-bottom: .2rem; word-break: break-all;
  transition: border-color .3s var(--ease);
}
.contact__mail:hover { border-color: var(--blood-hi); }
.contact__social { display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem 2rem; margin-top: 3rem; }
.contact__social a { font-family: var(--mono); font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-soft); transition: color .3s; }
.contact__social a:hover { color: var(--ink); }

/* ---------- footer ---------- */
.footer {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem;
  padding: 2rem var(--gutter); border-top: 1px solid var(--line);
  font-family: var(--mono); font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-dim);
}
.footer p { margin: 0; }

/* ---------- reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }
