/* Andreas Poupazis - site styles */

:root {
  --bg: #000;
  --bg-2: #0d0d0d;
  --panel: #151515;
  --head: #f2f2f2;
  --text: rgba(222, 220, 216, .8);
  --muted: rgba(205, 202, 198, .55);
  --line: rgba(255, 255, 255, .14);
  --accent: #c9a46a;

  --font: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 88px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 15px/1.75 var(--font);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; }
::selection { background: var(--head); color: #000; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: #fff; color: #000; padding: 10px 16px; }
.skip:focus { left: 8px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

h1, h2, h3 { margin: 0; color: var(--head); font-family: var(--font); }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 11px 24px;
  border: 1px solid rgba(255, 255, 255, .45); border-radius: 999px;
  background: transparent; color: var(--head);
  font: 600 12px/1 var(--font); letter-spacing: .12em; text-transform: uppercase;
  text-decoration: none; cursor: pointer;
  transition: background .3s, color .3s, border-color .3s;
}
.btn:hover { background: var(--head); border-color: var(--head); color: #000; }
.btn--solid { background: var(--head); border-color: var(--head); color: #000; }
.btn--solid:hover { background: transparent; color: var(--head); }
.btn svg { width: 11px; height: 11px; fill: currentColor; }

/* ---------- Header ---------- */

.site-header { position: sticky; top: 0; z-index: 50; }
/* Background on a pseudo-element: a backdrop-filter on the header itself would
   trap the fixed mobile menu inside the header bar. */
.site-header::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgba(0, 0, 0, .9);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.site-header__bar {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  width: 100%; min-height: var(--header-h);
  border-bottom: 1px solid var(--line);
}

.brand { position: relative; z-index: 2; display: flex; flex-direction: column; text-decoration: none; }
.brand__name { font: 700 clamp(19px, 2vw, 26px)/1.1 var(--font); color: var(--head); text-transform: uppercase; letter-spacing: .01em; white-space: nowrap; }
.brand__role { margin-top: 5px; font: 500 11px/1 var(--font); letter-spacing: .22em; text-transform: uppercase; color: var(--accent); }

.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: clamp(18px, 2.4vw, 32px); }
.nav a {
  position: relative; display: inline-block; padding: 6px 0;
  font: 500 13px/1 var(--font); letter-spacing: .08em; text-transform: uppercase;
  color: rgba(255, 255, 255, .72); text-decoration: none;
  transition: color .25s;
}
.nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 1px; background: var(--accent);
  transform: scaleX(0); transition: transform .35s var(--ease);
}
.nav a:hover, .nav a[aria-current="page"] { color: #fff; }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }

.nav-toggle { display: none; position: relative; z-index: 2; width: 44px; height: 44px; margin-right: -10px; border: 0; background: none; cursor: pointer; }
.nav-toggle span { position: absolute; left: 11px; right: 11px; height: 1.5px; background: #fff; transition: transform .35s var(--ease), top .35s var(--ease); }
.nav-toggle span:first-child { top: 17px; }
.nav-toggle span:last-child { top: 25px; }

@media (max-width: 860px) {
  :root { --header-h: 72px; }
  .nav-toggle { display: block; }
  .nav {
    position: fixed; inset: 0;
    display: flex; align-items: center; justify-content: center;
    background: #000;
    opacity: 0; visibility: hidden;
    transition: opacity .35s var(--ease), visibility .35s;
  }
  .nav ul { flex-direction: column; align-items: center; gap: 22px; }
  .nav a { font-size: 22px; font-weight: 600; letter-spacing: .1em; color: #fff; }
  body.nav-open { overflow: hidden; }
  body.nav-open .nav { opacity: 1; visibility: visible; }
  body.nav-open .nav-toggle span:first-child { top: 21px; transform: rotate(45deg); }
  body.nav-open .nav-toggle span:last-child { top: 21px; transform: rotate(-45deg); }
}

/* ---------- Hero (home) ---------- */

.hero {
  position: relative; isolation: isolate; overflow: hidden;
  display: grid; place-items: center; text-align: center;
  min-height: clamp(440px, 74vh, 780px);
  padding: 80px var(--gutter);
}
.hero__bg {
  position: absolute; inset: 0; z-index: -2;
  background: url("../img/hero.webp") center 45% / cover no-repeat;
  filter: grayscale(1);
  transform: scale(1.08);
  animation: hero-zoom 18s var(--ease) forwards;
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(0,0,0,.35) 0%, rgba(0,0,0,.45) 55%, #000 100%);
}
@keyframes hero-zoom { to { transform: scale(1); } }
.hero h1 { font-size: clamp(34px, 6.4vw, 82px); font-weight: 700; line-height: 1.05; letter-spacing: .02em; text-transform: uppercase; }
.hero__role { margin: 14px 0 0; font: 500 clamp(12px, 1.3vw, 15px)/1.4 var(--font); letter-spacing: .32em; text-transform: uppercase; color: var(--accent); }
.hero__lede { margin: 18px auto 0; max-width: 36em; font-size: clamp(16px, 1.8vw, 21px); font-weight: 300; line-height: 1.5; color: rgba(255, 255, 255, .88); }
.hero__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 32px; }
.hero > * { animation: fade-up 1.1s var(--ease) both; }
.hero__role { animation-delay: .15s; }
.hero__lede { animation-delay: .3s; }
.hero__actions { animation-delay: .45s; }
@keyframes fade-up { from { opacity: 0; transform: translateY(16px); } }

/* ---------- Page head (inner pages) ---------- */

.page-head { padding: clamp(48px, 7vw, 88px) 0 clamp(32px, 4vw, 48px); text-align: center; }
.page-head h1 { font-size: clamp(28px, 3.6vw, 44px); font-weight: 700; line-height: 1.15; letter-spacing: .02em; text-transform: uppercase; }
.page-head__lede { max-width: 44em; margin: 18px auto 0; font-size: clamp(15px, 1.4vw, 17px); }

/* ---------- Sections ---------- */

.section > .wrap { position: relative; padding-top: clamp(48px, 6vw, 80px); padding-bottom: clamp(48px, 6vw, 80px); }
/* Thin divider between sections, kept inside the gutters */
.section + .section > .wrap::before {
  content: ""; position: absolute; top: 0; left: var(--gutter); right: var(--gutter); height: 1px; background: var(--line);
}
.section-title {
  margin: 0 0 clamp(28px, 4vw, 44px);
  text-align: center;
  font-size: clamp(22px, 2.4vw, 30px); font-weight: 700; line-height: 1.2; letter-spacing: .02em; text-transform: uppercase;
}
.section-intro { max-width: 46em; margin: calc(-1 * clamp(12px, 2vw, 24px)) auto clamp(28px, 4vw, 44px); text-align: center; }
.section-foot { margin-top: clamp(32px, 4vw, 48px); display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; }
.muted { color: var(--muted); }
.prose p { margin: 0 0 1.1em; }
.prose p:last-child { margin-bottom: 0; }

/* ---------- Work grid ---------- */

.work-grid {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: clamp(28px, 3.4vw, 44px) clamp(16px, 2.4vw, 32px);
}
.work-grid > li { flex: 0 0 calc((100% - 2 * clamp(16px, 2.4vw, 32px)) / 3); min-width: 0; }
/* Home: the first two works (ADIMI Show, Look at Me) a little larger, two per row. */
.work-grid--lead > li:nth-child(-n+2) { flex-basis: calc((100% - clamp(16px, 2.4vw, 32px)) / 2); }
.work-grid--lead > li:nth-child(-n+2) .work__title { font-size: clamp(16px, 1.5vw, 19px); }
@media (max-width: 900px) {
  .work-grid > li { flex-basis: calc((100% - clamp(16px, 2.4vw, 32px)) / 2); }
}
@media (max-width: 600px) {
  .work-grid > li, .work-grid--lead > li:nth-child(-n+2) { flex-basis: 100%; }
}

.work { display: block; }
.work__media { display: block; position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--panel); }
.work__media img { width: 100%; height: 100%; object-fit: cover; }
.work__poster {
  position: absolute; inset: 0; display: grid; place-items: center; padding: 0 10%;
  text-align: center; text-transform: uppercase;
  font: 600 clamp(20px, 2.6vw, 34px)/1.1 var(--font); letter-spacing: .06em; color: rgba(255, 255, 255, .55);
  background: radial-gradient(120% 120% at 50% 0%, #2a2a2a 0%, #111 70%);
}
.work__info { display: block; padding-top: 14px; }
.work__title { display: block; color: var(--head); font-weight: 600; font-size: 15px; line-height: 1.35; }
.work__caption { display: block; margin-top: 3px; color: var(--muted); font-size: 13px; }

/* ---------- Studio gallery + lightbox ---------- */

.section--flush > .wrap { padding-top: 0; }
/* Square tiles in a 3 x 3 grid; clicking opens the full, uncropped photo. */
.gallery { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(8px, 1.2vw, 14px); }
@media (max-width: 600px) { .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.gallery a { display: block; aspect-ratio: 1 / 1; overflow: hidden; background: var(--panel); cursor: zoom-in; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.gallery a:hover img { transform: scale(1.04); }

.lightbox {
  max-width: 100vw; max-height: 100vh; max-height: 100dvh; width: 100vw; height: 100vh; height: 100dvh;
  margin: 0; padding: clamp(56px, 7vw, 72px) clamp(12px, 7vw, 88px); border: 0;
  background: transparent; display: none; place-items: center;
}
.lightbox[open] { display: grid; animation: fade-up .35s var(--ease); }
.lightbox::backdrop { background: rgba(0, 0, 0, .985); }
.lightbox__img { max-width: 100%; max-height: calc(100dvh - 2 * clamp(56px, 7vw, 72px)); width: auto; height: auto; object-fit: contain; user-select: none; -webkit-user-drag: none; }
.lightbox__img.is-changing { animation: fade-up .3s var(--ease); }
.lightbox__btn {
  position: fixed; z-index: 2;
  width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center;
  border: 1px solid rgba(255, 255, 255, .3); background: rgba(0, 0, 0, .55); color: #fff;
  font-size: 22px; line-height: 1; cursor: pointer; transition: background .25s, color .25s;
}
.lightbox__btn:hover { background: #fff; color: #000; }
.lightbox__close { top: 14px; right: 14px; }
.lightbox__prev, .lightbox__next { top: 50%; transform: translateY(-50%); }
.lightbox__prev { left: clamp(8px, 2vw, 24px); }
.lightbox__next { right: clamp(8px, 2vw, 24px); }
.lightbox__count { position: fixed; top: 24px; left: 50%; transform: translateX(-50%); color: rgba(255, 255, 255, .7); font-size: 13px; letter-spacing: .14em; }
@media (max-width: 600px) {
  .lightbox { padding-left: 8px; padding-right: 8px; }
  .lightbox__prev, .lightbox__next { top: auto; bottom: 16px; transform: none; }
  .lightbox__prev { left: calc(50% - 56px); }
  .lightbox__next { right: calc(50% - 56px); }
}

/* ---------- Tracks (boxed rows, two columns) ---------- */

.tracks { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 28px; }
@media (max-width: 760px) { .tracks { grid-template-columns: minmax(0, 1fr); gap: 10px; } }
.track {
  display: grid; grid-template-columns: 54px minmax(0, 1fr) auto; align-items: stretch;
  min-height: 58px;
  border: 1px solid var(--line); background: var(--bg-2);
  transition: border-color .3s, background .3s;
}
.track.is-clickable { cursor: pointer; }
.track.is-clickable:hover { border-color: rgba(255, 255, 255, .35); background: #141414; }
.track__play {
  display: grid; place-items: center;
  border: 0; border-right: 1px solid var(--line); background: transparent; color: #fff; cursor: pointer;
  transition: background .3s, color .3s;
}
.track__play svg { width: 14px; height: 14px; fill: currentColor; }
.track__play .i-pause { display: none; }
.track__play.is-muted { color: rgba(255, 255, 255, .6); }
.track__play:disabled { cursor: default; color: rgba(255, 255, 255, .3); }
.track.is-clickable:hover .track__play, .track.is-playing .track__play { background: #fff; color: #000; }
.track.is-playing .i-play { display: none; }
.track.is-playing .i-pause { display: block; }
.track__info { min-width: 0; padding: 10px 16px; display: flex; flex-direction: column; justify-content: center; }
.track__title { display: flex; align-items: center; gap: 10px; color: var(--head); font-weight: 600; font-size: 14px; line-height: 1.35; }
.track__project { color: var(--muted); font-size: 12px; line-height: 1.4; }
.track__bar { display: none; height: 2px; background: var(--line); margin-top: 8px; cursor: pointer; position: relative; }
.track__bar::before { content: ""; position: absolute; inset: -8px 0; }
.track__bar span { display: block; height: 100%; width: 0; background: var(--accent); }
.track.has-audio.is-active .track__bar { display: block; }
/* Waveform (precomputed bars): grey, with the played part in the accent colour. */
.track__wave { position: relative; display: block; height: 18px; margin-top: 6px; cursor: pointer; touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.wave__line { position: absolute; top: -3px; bottom: -3px; left: var(--x, 0); width: 1px; background: #fff; opacity: 0; pointer-events: none; transition: opacity .15s; }
.wave__tip {
  position: absolute; bottom: calc(100% + 6px); left: clamp(18px, var(--x, 0), calc(100% - 18px)); transform: translateX(-50%);
  padding: 4px 6px; border-radius: 3px; background: #fff; color: #000;
  font: 600 11px/1 var(--font); font-variant-numeric: tabular-nums; white-space: nowrap;
  opacity: 0; pointer-events: none; transition: opacity .15s;
}
.track__wave.is-hover .wave__line, .track__wave.is-hover .wave__tip { opacity: 1; }
.track__wave svg { display: block; width: 100%; height: 100%; }
.wave__base { fill: rgba(255, 255, 255, .2); transition: fill .3s; }
.track.is-clickable:hover .wave__base, .track.is-active .wave__base { fill: rgba(255, 255, 255, .34); }
.wave__played { fill: var(--accent); }
.track.has-wave .track__info { padding-top: 9px; padding-bottom: 9px; }
.track__side { display: flex; align-items: center; gap: 12px; padding-right: 16px; color: var(--muted); font-size: 12px; font-variant-numeric: tabular-nums; }
.track__side a {
  color: rgba(255, 255, 255, .75); text-decoration: none;
  font: 600 11px/1 var(--font); letter-spacing: .12em; text-transform: uppercase;
  transition: color .25s;
}
.track__side a:hover, .track.is-clickable:hover .track__side a { color: #fff; }
.track__soon { font: 500 11px/1 var(--font); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
@media (max-width: 420px) { .track__soon { display: none; } }

.eq { display: none; align-items: flex-end; gap: 2px; height: 12px; }
.eq i { width: 2px; height: 100%; background: var(--accent); transform-origin: bottom; animation: eq .9s ease-in-out infinite alternate; }
.eq i:nth-child(2) { animation-delay: -.3s; }
.eq i:nth-child(3) { animation-delay: -.6s; }
.eq i:nth-child(4) { animation-delay: -.15s; }
.track.is-playing .eq { display: inline-flex; }
@keyframes eq { from { transform: scaleY(.2); } to { transform: scaleY(1); } }


.listen { max-width: 760px; margin: clamp(44px, 6vw, 72px) auto 0; }
.listen__card {
  display: flex; align-items: center; gap: 16px; padding: 18px 22px;
  border: 1px solid var(--line); background: var(--bg-2); text-decoration: none;
  transition: border-color .3s;
}
.listen__card:hover { border-color: rgba(255, 255, 255, .4); }
.listen__icon svg { width: 32px; height: 32px; fill: #1db954; }
.listen__title { display: block; color: var(--head); font-weight: 600; }
.listen__note { display: block; color: var(--muted); font-size: 13px; }
.listen__go { margin-left: auto; color: var(--head); font: 600 12px/1 var(--font); letter-spacing: .12em; text-transform: uppercase; white-space: nowrap; }

/* ---------- About ---------- */

/* Two portraits side by side as a pair, then the bio as one centred column. */
.about__photos {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(10px, 1.6vw, 20px);
  max-width: 920px; margin: 0 auto clamp(40px, 5vw, 64px);
}
.portrait { margin: 0; aspect-ratio: 4 / 5; overflow: hidden; background: var(--panel); }
.portrait img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 25%; }
.about__text { max-width: 720px; margin: 0 auto; }
.about .prose p { font-size: 15.5px; }
.about__lead { margin: 0 0 22px; text-align: center; color: var(--head); font-size: clamp(19px, 2vw, 24px); font-weight: 300; line-height: 1.45; }

.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 4vw, 48px); }
@media (max-width: 860px) { .facts { grid-template-columns: 1fr; } }
.facts h3 { margin-bottom: 14px; font-size: 14px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.facts ul { list-style: none; margin: 0; padding: 0; }
.facts li { padding: 12px 0; border-bottom: 1px solid var(--line); color: var(--head); font-weight: 500; }
.facts li small { display: block; color: var(--muted); font-size: 13px; font-weight: 400; }

/* ---------- Studio ---------- */

.services { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 2vw, 24px); }
@media (max-width: 900px) { .services { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .services { grid-template-columns: 1fr; } }
.service { padding: clamp(22px, 3vw, 32px); border: 1px solid var(--line); background: var(--bg-2); transition: border-color .3s, transform .4s var(--ease); }
.service:hover { border-color: rgba(255, 255, 255, .35); transform: translateY(-3px); }
.service h3 { margin-bottom: 10px; font-size: 17px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.service p { margin: 0; font-size: 14px; }

.gear { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 32px; }
.gear h3 { margin-bottom: 12px; font-size: 14px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.gear ul { list-style: none; padding: 0; margin: 0; }
.gear li { padding: 8px 0; border-bottom: 1px solid var(--line); }

/* ---------- Projects ---------- */

.news { list-style: none; margin: 0 auto; padding: 0; max-width: 760px; display: grid; gap: 16px; }
.news__item { padding: clamp(22px, 3vw, 32px); border: 1px solid var(--line); background: var(--bg-2); }
.news__meta { margin: 0 0 6px; font: 500 11px/1.4 var(--font); letter-spacing: .18em; text-transform: uppercase; color: var(--accent); }
.news__item h3 { font-size: clamp(18px, 2vw, 22px); font-weight: 600; text-transform: uppercase; letter-spacing: .03em; }
.news__item p:last-child { margin: 10px 0 0; }
.news__item--album { display: grid; grid-template-columns: 190px minmax(0, 1fr); gap: clamp(18px, 3vw, 28px); align-items: center; }
.news__cover { width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; box-shadow: 0 10px 30px rgba(0, 0, 0, .5); }
@media (max-width: 560px) {
  .news__item--album { grid-template-columns: 1fr; }
  .news__cover { max-width: 260px; }
}


.insta { max-width: 540px; margin: clamp(28px, 4vw, 40px) auto 0; }
/* The embed is a profile header (~160px) plus two rows of three square posts, so its height
   follows its width; container units keep it from showing blank space or cutting posts off. */
.insta__frame { container-type: inline-size; background: #fff; margin-bottom: 12px; }
.insta__frame iframe { display: block; width: 100%; height: calc(162px + 66.7cqi); border: 0; }
.insta__card {
  display: flex; align-items: center; gap: 16px; padding: 18px 22px;
  border: 1px solid var(--line); background: var(--bg-2); text-decoration: none;
  transition: border-color .3s;
}
.insta__card:hover { border-color: rgba(255, 255, 255, .4); }
.insta__icon svg { width: 32px; height: 32px; fill: var(--head); }
.insta__handle { display: block; color: var(--head); font-weight: 600; }
.insta__note { display: block; color: var(--muted); font-size: 13px; }

.feature { max-width: 760px; margin: 0 auto; text-align: center; }
.feature h3 { font-size: clamp(30px, 4vw, 48px); font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.feature p { margin: 12px 0 0; }

/* ---------- Contact ---------- */

.contact { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
@media (max-width: 860px) { .contact { grid-template-columns: 1fr; } }
.contact__direct { margin: 0; display: grid; gap: 18px; }
.contact__direct dt { color: var(--muted); font-size: 11px; letter-spacing: .18em; text-transform: uppercase; }
.contact__direct dd { margin: 2px 0 0; color: var(--head); font-size: 16px; font-weight: 500; word-break: break-word; }
.contact__direct a { text-decoration: none; border-bottom: 1px solid var(--line); transition: border-color .25s; }
.contact__direct a:hover { border-color: var(--head); }

.form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form .full { grid-column: 1 / -1; }
@media (max-width: 560px) { .form { grid-template-columns: 1fr; } }
.field label { display: block; margin-bottom: 6px; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.field input, .field textarea {
  width: 100%;
  border: 1px solid var(--line); border-radius: 0; background: var(--bg-2); color: var(--head);
  padding: 12px 14px; font: 400 15px/1.5 var(--font);
  transition: border-color .25s;
}
.field textarea { min-height: 160px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: rgba(255, 255, 255, .5); }
.form__status { margin: 0; min-height: 1.4em; font-size: 14px; color: var(--accent); }
.form__trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form { position: relative; }
.form__captcha:empty { display: none; }

/* ---------- Footer ---------- */

.site-footer .wrap { padding-top: 36px; padding-bottom: 40px; position: relative; text-align: center; }
.site-footer .wrap::before { content: ""; position: absolute; top: 0; left: var(--gutter); right: var(--gutter); height: 1px; background: var(--line); }
.social { list-style: none; margin: 0; padding: 0; display: flex; justify-content: center; flex-wrap: wrap; gap: 6px; }
.social a { width: 40px; height: 40px; display: grid; place-items: center; color: rgba(255, 255, 255, .75); transition: color .25s, transform .3s var(--ease); }
.social a:hover { color: #fff; transform: translateY(-2px); }
.social svg { width: 20px; height: 20px; fill: currentColor; }
.footer__legal { margin: 14px 0 0; color: var(--muted); font-size: 12px; }
.footer__legal a { text-decoration: none; }
.footer__legal a:hover { color: var(--head); }

/* ---------- Reveal on scroll ---------- */

.js .reveal { opacity: 0; transform: translateY(20px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: calc(var(--i, 0) * 70ms); }
.js .reveal.is-in { opacity: 1; transform: none; }

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