/* Rinald Eden — portfolio
   Plain CSS, no build step. Colours and type live in :root. */

:root {
  --bg: #0C0A09;
  --bg-2: #15120F;
  --ink: #F3EEE7;
  --ink-2: #CFC7BD;
  --muted: #A8A098;
  --line: rgba(243, 238, 231, .12);
  --accent: #FF7A2F;
  --pad: clamp(20px, 4vw, 80px);
  --max: 1760px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --display: "Archivo", system-ui, sans-serif;
  --body: "Inter", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 17px/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
::selection { background: var(--accent); color: var(--bg); }
/* Decorative or UI text is not selectable; real content (bio, names, highlights, contact) stays selectable */
.marquee, .eyebrow, .btn, .nav, .card__tag, .stat__label, .cities__label, .lightbox__count, .list--num li::before { -webkit-user-select: none; user-select: none; }
img { -webkit-user-drag: none; }
a { color: var(--ink); text-decoration: none; transition: color .25s; }
a:hover { color: var(--accent); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.disp {
  font-family: var(--display);
  font-stretch: 125%;
  text-transform: uppercase;
  letter-spacing: -.01em;
}
.wrap { max-width: var(--max); margin: 0 auto; padding-inline: var(--pad); }
.eyebrow {
  margin: 0 0 16px;
  font-size: 13px;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--accent);
}
.h2 { margin: 0; font-size: clamp(40px, 5vw, 72px); font-weight: 800; line-height: .95; }
.section { padding-block: clamp(88px, 10vw, 140px); }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--accent); color: var(--bg); padding: 10px 16px; border-radius: 8px; }
.skip:focus { left: 8px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 48px; padding: 14px 26px;
  border-radius: 999px; font-weight: 600; font-size: 16px;
  border: 1px solid rgba(243, 238, 231, .35);
  transition: background .3s, color .3s, border-color .3s, transform .3s var(--ease);
}
.btn:hover { transform: translateY(-2px); border-color: var(--accent); }
.btn--solid { background: var(--accent); color: var(--bg); border-color: var(--accent); }
.btn--solid:hover { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.btn svg { flex: none; }

/* ---------- Nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  transition: background .4s, border-color .4s, backdrop-filter .4s;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: rgba(12, 10, 9, .78);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-color: rgba(243, 238, 231, .08);
}
.nav__in { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 76px; }
.nav__logo { display: inline-flex; align-items: center; gap: 12px; font-weight: 800; font-size: 18px; letter-spacing: .04em; }
.nav__mark { width: 46px; height: 46px; flex: none; display: flex; align-items: center; justify-content: center; border-radius: 12px; background: #15120F; box-shadow: 0 0 0 1px rgba(243,238,231,.12); overflow: hidden; transition: transform .5s var(--ease); }
.nav__mark svg { width: 30px; height: 34px; overflow: visible; }
.nav__logo:hover .nav__mark { transform: rotate(-6deg) scale(1.06); }
.nav__links { display: flex; align-items: center; gap: 28px; font-size: 14px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; }
.nav__links a:not(.btn) { position: relative; padding-block: 6px; }
.nav__links a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease);
}
.nav__links a:not(.btn):hover::after, .nav__links a.is-active::after { transform: scaleX(1); }
.nav__links .btn { min-height: 44px; padding: 10px 22px; font-size: 14px; }
.nav__pdf { display: inline-flex; align-items: center; gap: 6px; }
.nav__toggle {
  display: none; width: 48px; height: 48px; border: 1px solid var(--line); border-radius: 50%;
  background: transparent; color: var(--ink); cursor: pointer; align-items: center; justify-content: center;
}
.nav__toggle span, .nav__toggle span::before, .nav__toggle span::after {
  content: ""; display: block; width: 18px; height: 1.5px; background: currentColor; position: relative; transition: transform .3s, background .3s;
}
.nav__toggle span::before { position: absolute; top: -6px; }
.nav__toggle span::after { position: absolute; top: 6px; }
.nav.is-open .nav__toggle span { background: transparent; }
.nav.is-open .nav__toggle span::before { transform: translateY(6px) rotate(45deg); }
.nav.is-open .nav__toggle span::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1100px) {
  .nav__toggle { display: inline-flex; }
  .nav__links {
    position: fixed; inset: 76px 0 auto 0; flex-direction: column; align-items: flex-start; gap: 4px;
    padding: 16px var(--pad) 32px; background: rgba(12, 10, 9, .97);
    border-bottom: 1px solid var(--line); font-size: 20px;
    transform: translateY(-12px); opacity: 0; visibility: hidden; transition: opacity .3s, transform .3s var(--ease), visibility .3s;
  }
  .nav.is-open .nav__links { transform: none; opacity: 1; visibility: visible; }
  .nav.is-open { background: rgba(12, 10, 9, .97); }
  .nav__links a:not(.btn) { padding-block: 12px; }
  .nav__links .btn { margin-top: 12px; }
}

/* ---------- Hero ---------- */
.hero { --mq: 92px; position: relative; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; padding-top: 88px; overflow: hidden; }
.hero__media { position: absolute; inset: 0 0 0 38%; overflow: hidden; -webkit-mask-image: linear-gradient(180deg, #000 70%, transparent 100%); mask-image: linear-gradient(180deg, #000 70%, transparent 100%); }
.hero__media img {
  width: 100%; height: 115%; object-fit: cover; object-position: 50% 30%;
  animation: kenburns 6s var(--ease) both;
}
.hero__media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, var(--bg) 0%, rgba(12,10,9,.55) 35%, rgba(12,10,9,0) 70%),
    linear-gradient(0deg, var(--bg) 0%, rgba(12,10,9,0) 40%);
}
.hero__content { position: relative; z-index: 2; width: 100%; margin-top: auto; padding-bottom: clamp(130px, 22svh, 280px); }
.hero__kicker { animation: rise 1s .1s var(--ease) both; text-shadow: 0 1px 14px rgba(0,0,0,.65); }
.hero__title { margin: 0; font-size: clamp(44px, min(12vw, 13.5svh), 188px); font-weight: 900; line-height: .86; }
.hero__title .ln { display: block; overflow: hidden; }
.hero__title .ln span { display: block; animation: rise 1.1s var(--ease) both; }
.hero__title .ln:nth-child(1) span { animation-delay: .2s; }
.hero__title .ln:nth-child(2) span { animation-delay: .35s; }
.hero__lede { margin: clamp(16px, 3svh, 32px) 0 0; max-width: 460px; font-size: 19px; color: var(--ink-2); animation: rise 1s .6s var(--ease) both; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: clamp(20px, 3.5svh, 36px); animation: rise 1s .75s var(--ease) both; }

@media (max-width: 760px) {
  .hero { --mq: 68px; padding-top: 76px; }
  .hero__media { inset: 0 0 auto 0; height: 74%; }
  .hero__media img { height: 100%; object-position: 50% 6%; }
  .hero__media::after { background: linear-gradient(0deg, var(--bg) 8%, rgba(12,10,9,.86) 38%, rgba(12,10,9,.25) 62%, rgba(12,10,9,0) 74%), linear-gradient(180deg, rgba(12,10,9,.5) 0%, rgba(12,10,9,0) 20%); }
  .hero__content { padding-bottom: 132px; }
  .hero__lede { margin-top: 18px; font-size: 16px; }
  .hero__ctas { margin-top: 24px; gap: 10px; }
  .hero__ctas .btn { flex: 1 1 auto; justify-content: center; padding-inline: 18px; }
  .hero__ctas .btn:last-child { flex-basis: 100%; }
}
@media (max-width: 760px) and (max-height: 760px) {
  /* short phones (most real phone browsers once the address bar is counted): keep his face clear;
     the portfolio is still in the menu and the Contact section */
  .hero__lede, .hero__dl { display: none; }
  .hero__media { height: 66%; }
}

/* Bass strings (drawn on a canvas by js/main.js) */
.strings { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; width: 100%; height: min(900px, 96%); display: block; pointer-events: none; }

/* ---------- Marquee ---------- */
.marquee { border-block: 1px solid var(--line); padding: 28px 0; overflow: hidden; }
.hero__marquee { position: relative; z-index: 2; height: var(--mq); box-sizing: border-box; display: flex; align-items: center; padding: 0; background: rgba(12,10,9,.72); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); border-bottom: 0; }
.marquee__track {
  display: flex; width: max-content; white-space: nowrap;
  font-size: clamp(30px, 3.4vw, 44px); font-weight: 700;
  color: transparent; -webkit-text-stroke: 1px rgba(243, 238, 231, .55);
  animation: marquee 42s linear infinite;
}
.marquee:hover .marquee__track { animation-play-state: paused; }

/* ---------- About ---------- */
.about { display: flex; flex-wrap: wrap; gap: 64px; align-items: center; }
.about__photo { flex: 1 1 460px; max-width: 540px; aspect-ratio: 4 / 5; border-radius: 24px; overflow: hidden; }
.about__photo img { width: 100%; height: 100%; object-fit: cover; }
.about__text { flex: 999 1 480px; min-width: 0; }
.about__text .h2 { margin-bottom: 32px; }
.about__text p { margin: 0 0 20px; color: var(--ink-2); max-width: 640px; }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; max-width: 640px; margin-top: 40px; border-top: 1px solid var(--line); padding-top: 28px; }
.stat__num { font-size: clamp(24px, 6.5vw, 44px); font-weight: 800; color: var(--accent); line-height: 1.1; }
.stat__label { font-size: 14px; color: var(--muted); }

/* ---------- Highlights ---------- */
.hl { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; }
.hl__feature { grid-column: span 7; position: relative; min-height: 600px; border-radius: 24px; overflow: hidden; background: var(--bg-2); display: flex; align-items: flex-end; }
.hl__feature img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 70%; }  /* keeps his face in the clear upper part */
.hl__feature::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(12,10,9,.96) 22%, rgba(12,10,9,.6) 52%, rgba(12,10,9,0) 82%); }
.hl__feature .card__tag { text-shadow: 0 1px 10px rgba(0,0,0,.7); }
.hl__feature-text { position: relative; z-index: 1; padding: 36px; max-width: 760px; }
.hl__feature-text p, .hl__card p { margin: 10px 0 0; color: var(--ink-2); font-size: 16px; }
.hl__feature .hl__title { font-size: clamp(34px, 4vw, 56px); }
.hl__side { grid-column: span 5; display: flex; flex-direction: column; gap: 24px; }
.hl__card { flex: 1; padding: 28px; border-radius: 20px; background: var(--bg-2); border: 1px solid rgba(243,238,231,.08); transition: border-color .4s, transform .5s var(--ease); }
.hl__card:hover { border-color: rgba(255,122,47,.4); transform: translateY(-3px); }
.hl__title { margin: 6px 0 0; font-size: clamp(22px, 2vw, 26px); font-weight: 800; line-height: 1.05; }
.venues { list-style: none; margin: 22px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.venues li { display: flex; flex-direction: column; gap: 2px; padding: 14px 16px; border-radius: 14px; background: rgba(12,10,9,.62); border: 1px solid rgba(243,238,231,.14); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.venues__country { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); }
.venues__name { font-size: 17px; font-weight: 800; line-height: 1.15; }
.venues__city { font-size: 13px; color: var(--muted); }
@media (max-width: 560px) { .venues { grid-template-columns: minmax(0, 1fr); } .venues li { flex-direction: row; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; } .venues__country { flex-basis: 100%; } }
.cities { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 32px; }
.cities__label { font-size: 13px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin-right: 8px; }
.city { padding: 10px 18px; border-radius: 999px; border: 1px solid var(--line); font-weight: 500; font-size: 15px; transition: border-color .3s, color .3s; }
.city:hover { border-color: var(--accent); color: var(--accent); }
.city small { color: var(--muted); font-size: 12px; margin-left: 4px; }
@media (max-width: 900px) {
  .clips__row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .follow { grid-column: 1 / -1; }
  .hl__feature, .hl__side { grid-column: 1 / -1; }
  .hl__feature { min-height: 420px; }
}
@media (max-width: 760px) {
  .hl { gap: 16px; }
  .hl__side { gap: 16px; }
  .hl__feature { min-height: 380px; border-radius: 20px; }
  .hl__feature-text { padding: 24px; }
  .hl__card { padding: 22px; }
  .hl__feature { min-height: 0; flex-direction: column; align-items: stretch; }
  .hl__feature img { position: relative; height: 230px; flex: none; object-position: 50% 56%; }
  .hl__feature::after { inset: 0 0 auto 0; height: 230px; background: linear-gradient(0deg, var(--bg-2) 0%, rgba(21,18,15,0) 55%); }
  .hl__feature-text { margin-top: -40px; }
  .cities__label { flex-basis: 100%; margin: 0 0 4px; }
}

/* ---------- Collaborations ---------- */
.collab { display: flex; flex-wrap: wrap; gap: 48px 80px; }
.collab__col { flex: 1 1 420px; min-width: 0; }
.collab__head { margin: 0 0 20px; font-size: 22px; font-weight: 700; color: var(--muted); }
.list { list-style: none; margin: 0; padding: 0; counter-reset: n; }
.list li {
  display: flex; gap: 24px; align-items: baseline; padding: 18px 0; border-bottom: 1px solid var(--line);
  transition: padding .4s var(--ease), background .4s;
}
.list li:hover { padding-left: 16px; background: rgba(255, 122, 47, .06); }
.list--num li::before { counter-increment: n; content: counter(n, decimal-leading-zero); font-size: 13px; color: var(--muted); width: 28px; flex: none; }
.list__name { font-size: clamp(22px, 2.4vw, 34px); font-weight: 700; line-height: 1.15; }
.list--bands li { display: block; padding: 22px 0; }
.list--bands .list__name { font-size: clamp(24px, 2.4vw, 30px); }
.list__meta { font-size: 15px; color: var(--muted); }
.collab__photo { margin-top: 40px; aspect-ratio: 16 / 10; border-radius: 20px; overflow: hidden; }
.collab__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%; }

/* ---------- Gear ---------- */
.gear { background: var(--bg-2); }
.gear .h2 { margin-bottom: 56px; }
.gear__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); gap: 24px; }
.card { border-radius: 20px; overflow: hidden; background: var(--bg); border: 1px solid rgba(243, 238, 231, .08); transition: border-color .4s, transform .5s var(--ease); }
.card:hover { border-color: rgba(255, 122, 47, .4); transform: translateY(-4px); }
.card__media { aspect-ratio: 4 / 5; overflow: hidden; }
.card__media img { width: 100%; height: 100%; object-fit: cover; }
.card__body { padding: 24px 28px 28px; }
.card__tag { font-size: 13px; color: var(--accent); letter-spacing: .14em; text-transform: uppercase; }
.card__title { margin: 6px 0 0; font-size: 26px; font-weight: 700; }
.card__meta { margin: 6px 0 0; font-size: 15px; color: var(--muted); }

/* ---------- Media ---------- */
.media__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 48px; }
.link-underline { font-weight: 500; border-bottom: 1px solid var(--accent); padding-bottom: 4px; }
.media__feature { display: flex; flex-wrap: wrap; gap: 24px; margin-bottom: 24px; align-items: stretch; }
.vid { position: relative; flex: 0 0 clamp(280px, 27vw, 440px); aspect-ratio: 9 / 16; border-radius: 20px; overflow: hidden; background: var(--bg-2); }
.vid__el { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; background: #000; }
.vid__play {
  position: absolute; inset: 0; display: flex; flex-direction: row; justify-content: space-between; align-items: flex-end; gap: 16px;
  padding: 24px; border: 0; color: var(--ink); text-align: left; cursor: pointer; font: inherit;
  background: linear-gradient(0deg, rgba(12,10,9,.85) 0%, rgba(12,10,9,0) 45%);
  transition: opacity .35s;
}
.vid__btn {
  order: 2; flex: none; width: 80px; height: 80px; border-radius: 50%;
  background: var(--accent); color: var(--bg); display: flex; align-items: center; justify-content: center;
  box-shadow: 0 0 0 0 rgba(255,122,47,.5); animation: pulse 2.4s ease-out infinite; transition: transform .3s var(--ease);
}
.vid__btn svg { display: block; }
.vid__play:hover .vid__btn { transform: scale(1.08); }
.vid__meta { display: flex; flex-direction: column; gap: 4px; }
.vid__title { font-size: 26px; font-weight: 800; }
.vid__len { font-size: 13px; color: var(--muted); }
.vid.is-playing .vid__play { opacity: 0; pointer-events: none; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(255,122,47,.45); } 70%, 100% { box-shadow: 0 0 0 22px rgba(255,122,47,0); } }
.media__right { flex: 1 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.media__big { flex: 1; min-height: 300px; }
.media__pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.media__pair .tile { aspect-ratio: 16 / 11; }
.tile { flex: 1; min-height: 220px; }
.tile {
  position: relative; display: block; width: 100%; padding: 0; border: 0; border-radius: 20px; overflow: hidden;
  background: var(--bg-2); cursor: zoom-in;
}
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.clips { margin: 8px 0 40px; }
.clips__head { margin: 0 0 18px; font-size: 22px; font-weight: 700; color: var(--muted); }
.clips__row { display: grid; grid-template-columns: repeat(2, minmax(0, 280px)) minmax(0, 1fr); gap: 24px; }
.follow { display: flex; flex-direction: column; justify-content: flex-end; gap: 10px; padding: clamp(24px, 3vw, 44px); border-radius: 18px; background: var(--bg-2); border: 1px solid rgba(243,238,231,.08); }
.follow .card__tag { margin: 0; }
.follow__title { margin: 0; font-size: clamp(28px, 3vw, 44px); font-weight: 800; line-height: 1; }
.follow__text { margin: 0 0 14px; color: var(--ink-2); max-width: 420px; }
.follow__links { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; }
.follow__link { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 14px; border: 1px solid var(--line); transition: border-color .3s, background .3s, color .3s; }
.follow__link:hover { border-color: var(--accent); background: rgba(255,122,47,.08); }
.follow__link span { display: flex; flex-direction: column; line-height: 1.25; }
.follow__link small { color: var(--muted); font-size: 13px; }
.clip { position: relative; aspect-ratio: 9 / 16; border-radius: 18px; overflow: hidden; background: var(--bg-2); }
.clip__btn { position: absolute; inset: 0; display: block; width: 100%; padding: 0; border: 0; color: var(--ink); cursor: pointer; font: inherit; text-align: left; }
.clip__poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.clip__btn:hover .clip__poster { transform: scale(1.06); }
.clip__shade { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(12,10,9,.9) 0%, rgba(12,10,9,.1) 55%); }
.clip__play { position: absolute; right: 16px; bottom: 16px; width: 52px; height: 52px; border-radius: 50%; background: var(--accent); color: var(--bg); display: flex; align-items: center; justify-content: center; transition: transform .3s var(--ease); }
.clip__play svg { display: block; }
.clip__btn:hover .clip__play { transform: scale(1.08); }
.clip__meta { position: absolute; left: 18px; bottom: 18px; right: 80px; display: flex; flex-direction: column; gap: 4px; }
.clip__title { font-size: 18px; font-weight: 800; }
.clip iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.gallery { columns: 4 260px; column-gap: 24px; }
.gallery .tile { margin-bottom: 24px; break-inside: avoid; border-radius: 16px; }
.gallery .tile img { position: static; height: auto; }

/* Hover zoom used on photos */
.zoom img { transition: transform 1.2s var(--ease); }
.zoom:hover img { transform: scale(1.06); }

/* ---------- Lightbox ---------- */
.lightbox {
  width: 100vw; height: 100vh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0;
  background: rgba(8, 7, 6, .96); color: var(--ink);
}
.lightbox[open] { display: flex; align-items: center; justify-content: center; animation: fade .3s ease both; }
.lightbox::backdrop { background: transparent; }
.lightbox img { max-width: min(92vw, 1400px); max-height: 86vh; width: auto; height: auto; border-radius: 12px; animation: pop .4s var(--ease) both; transition: opacity .25s, filter .35s; }
.lightbox img.is-loading { opacity: .35; filter: blur(6px); }
.lightbox__btn {
  position: absolute; width: 52px; height: 52px; border-radius: 50%; border: 1px solid rgba(243,238,231,.25);
  background: rgba(12,10,9,.6); color: var(--ink); cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: background .25s, border-color .25s;
}
.lightbox__btn:hover { background: var(--accent); border-color: var(--accent); color: var(--bg); }
.lightbox__close { top: 20px; right: 20px; }
.lightbox__prev { left: 20px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 20px; top: 50%; transform: translateY(-50%); }
.lightbox__count { position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%); font-size: 14px; color: var(--muted); }

/* ---------- Contact ---------- */
.contact { position: relative; overflow: hidden; border-top: 1px solid var(--line); }
.contact__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .28; }
.contact__in { position: relative; display: flex; flex-wrap: wrap; gap: 64px; padding-block: clamp(88px, 10vw, 140px) 80px; }
.contact__info { flex: 1 1 420px; min-width: 0; }
.contact__title { margin: 0 0 32px; font-size: clamp(44px, 6vw, 96px); font-weight: 900; line-height: .9; }
.contact__lede { margin: 0 0 32px; color: var(--ink-2); max-width: 460px; }
.contact__lines { display: flex; flex-direction: column; gap: 10px; font-size: 18px; }
.contact__lines span { color: var(--muted); }
.contact__info .btn { margin-top: 28px; }
.socials { display: flex; gap: 12px; margin-top: 32px; }
.socials a {
  width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(243, 238, 231, .3);
  display: flex; align-items: center; justify-content: center; transition: border-color .3s, background .3s, color .3s;
}
.socials a:hover { background: var(--accent); border-color: var(--accent); color: var(--bg); }

.form {
  flex: 1 1 400px; min-width: 0; display: flex; flex-direction: column; gap: 16px; padding: 36px;
  border-radius: 24px; background: rgba(21, 18, 15, .82); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(243, 238, 231, .1); align-self: flex-start;
}
.form label { display: flex; flex-direction: column; gap: 8px; font-size: 14px; color: var(--muted); }
.form input, .form textarea {
  font: inherit; font-size: 16px; padding: 14px 16px; border-radius: 12px;
  border: 1px solid rgba(243, 238, 231, .18); background: var(--bg); color: var(--ink);
  transition: border-color .25s;
}
.form input:focus, .form textarea:focus { outline: none; border-color: var(--accent); }
.form textarea { resize: vertical; min-height: 120px; }
.form .btn { justify-content: center; margin-top: 8px; border: 0; cursor: pointer; font-family: var(--body); }
.form .btn[disabled] { opacity: .6; cursor: progress; }
.form__hp { position: absolute; left: -9999px; }
.form__status { margin: 0; min-height: 1.6em; font-size: 15px; }
.form__status.is-ok { color: #8FD694; }
.form__status.is-err { color: #FF8A80; }

.footer { position: relative; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-block: 28px; font-size: 13px; color: var(--muted); border-top: 1px solid var(--line); }
.footer a { color: var(--muted); }
.footer a:hover { color: var(--accent); }

/* ---------- Scroll reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(48px); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- Keyframes ---------- */
@keyframes rise { from { opacity: 0; transform: translateY(60px); } to { opacity: 1; transform: none; } }
@keyframes kenburns { from { transform: scale(1.18); } to { transform: scale(1); } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes pop { from { opacity: 0; transform: scale(.96); } to { opacity: 1; transform: none; } }

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

/* ---------- Small screens ---------- */
@media (max-width: 760px) {
  body { font-size: 16px; }
  .about { gap: 40px; }
  .about__photo { max-width: none; }
  .collab { gap: 48px; }
  .stats { gap: 14px; }
  .media__feature, .media__right, .media__pair, .gear__grid { gap: 16px; }
  .vid { flex: 1 1 100%; max-width: 440px; margin-inline: auto; }
  .media__big { flex: none; min-height: 0; aspect-ratio: 4 / 3; }
  .media__pair .tile { aspect-ratio: 1; }
  .clips__row { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .follow { grid-column: 1 / -1; }
  .clip__play { width: 44px; height: 44px; right: 12px; bottom: 12px; }
  .clip__meta { left: 12px; bottom: 12px; right: 62px; }
  .clip__title { font-size: 15px; }
  .gallery { columns: 2 120px; column-gap: 12px; }
  .gallery .tile { margin-bottom: 12px; border-radius: 12px; }
  .contact__in { gap: 40px; }
  .form { padding: 24px; }
  .card__body { padding: 20px 22px 24px; }
  .list li { gap: 16px; padding: 14px 0; }
  .list li:hover { padding-left: 0; }
  .lightbox__prev, .lightbox__next { top: auto; bottom: 16px; transform: none; }
  .lightbox__count { bottom: 32px; }
  .strings { height: 480px; }
}
@media (max-width: 400px) {
  .nav__mark { width: 40px; height: 40px; border-radius: 10px; }
  .nav__mark svg { width: 26px; height: 30px; }
  .nav__logo { gap: 9px; font-size: 16px; }
  .stat__label { font-size: 13px; line-height: 1.35; }
}

/* ---------- Very wide screens ---------- */
@media (min-width: 1800px) {
  body { font-size: 18px; }
  .about__photo { flex-basis: 560px; max-width: 620px; }
  .hero__lede { max-width: 520px; font-size: 20px; }
  .about__text p, .stats { max-width: 760px; }
}
