/* =========================================================
   JISEI — site styles
   One stylesheet, mobile first. Breakpoints: 760px, 900px.
   Change the look by editing the tokens in :root.
   ========================================================= */

/* Anton (headings/buttons) is self-hosted — licence in assets/fonts/OFL.txt */
@font-face {
  font-family: "Anton";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/anton-latin.woff2") format("woff2");
}

:root {
  /* colours */
  --bg: #0b0b0b;
  --bg-deep: #050505;
  --panel: #121212;
  --panel-hover: #262626;
  --line: #2c2c2c;
  --line-strong: #3a3a3a;
  --text: #e9e6df;
  --text-soft: #d4d0c8;
  --muted: #a8a39a;
  --yellow: #ece414;        /* logo colour: buttons, links */
  --accent: #ff3d8b;        /* box headers, borders, kickers */
  --online: #7cff4f;

  /* type */
  --font-display: Anton, Impact, "Arial Narrow Bold", sans-serif;
  --font-body: Verdana, Tahoma, Geneva, sans-serif;
  --font-label: Tahoma, Verdana, sans-serif;

  /* layout */
  --max: 1120px;
  --gutter: 16px;
  --gap: 20px;
}

@media (min-width: 760px) {
  :root { --gutter: 24px; --gap: 24px; }
}

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

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 14px/1.6 var(--font-body);
}
@media (min-width: 760px) { body { font-size: 15px; } }

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

a { color: var(--yellow); }
a:hover { color: #fff; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; }

h1, h2, h3, h4, p { margin: 0; }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  padding: 10px 16px; background: var(--yellow); color: #0b0b0b; font-weight: 700;
}
.skip-link:focus { top: 12px; }

.container { max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.stack { display: flex; flex-direction: column; gap: var(--gap); }
.accent { color: var(--accent); }

.mobile-only { display: inline; }
.desktop-only { display: none; }
@media (min-width: 760px) {
  .mobile-only { display: none; }
  .desktop-only { display: inline; }
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px;
  border: 2px solid transparent;
  font-family: var(--font-display); font-size: 20px; line-height: 1.1;
  letter-spacing: 0.06em; text-transform: uppercase; text-align: center; text-decoration: none;
}
.btn--sm { min-height: 48px; padding: 0 22px; font-size: 18px; }
.btn--solid { background: var(--yellow); border-color: var(--yellow); color: #0b0b0b; }
.btn--solid:hover { background: #fff; border-color: #fff; color: #0b0b0b; }
.btn--ghost { border-color: #fff; color: #fff; }
.btn--ghost:hover { background: #fff; color: #0b0b0b; }

/* full-width buttons on phones */
@media (max-width: 759px) { .btn { width: 100%; } }

.actions { display: flex; flex-wrap: wrap; gap: 12px; width: 100%; }

/* ---------- header / nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: var(--bg-deep);
  border-bottom: 2px solid var(--accent);
}

.nav {
  max-width: 1280px; margin: 0 auto;
  padding: 8px var(--gutter) 4px;
  display: grid; align-items: center;
  grid-template-columns: 1fr auto;
  grid-template-areas: "logo ig" "links links";
}
.nav__logo { grid-area: logo; justify-self: start; }
.nav__logo img { height: 34px; width: auto; }

.nav__links {
  grid-area: links;
  list-style: none; margin: 0; padding: 0;
  display: flex; justify-content: center; align-items: center;
  font-family: var(--font-display); font-size: 18px;
  letter-spacing: 0.06em; text-transform: uppercase;
}
.nav__links li + li::before { content: "|"; color: #4a4a4a; margin-inline: 12px; }
.nav__links a { display: inline-block; padding: 10px 2px; color: var(--text); text-decoration: none; }
.nav__links a:hover { color: var(--yellow); }
.nav__links a[aria-current="page"] {
  color: var(--yellow);
  text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px;
}

.nav__ig {
  grid-area: ig;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-width: 44px; min-height: 44px;
  color: var(--text); text-decoration: none;
  font: 700 13px var(--font-label);
}
.nav__ig:hover { color: var(--yellow); }
.nav__ig-handle { display: none; }

@media (min-width: 760px) {
  .nav {
    grid-template-columns: auto 1fr auto;
    grid-template-areas: "logo links ig";
    gap: 24px; padding: 10px var(--gutter);
  }
  .nav__logo img { height: 40px; }
  .nav__links { font-size: 20px; }
  .nav__ig-handle { display: inline; }
}

/* ---------- hero ---------- */
.hero__logo { position: relative; z-index: 2; padding: 28px 20px 0; margin-bottom: -44px; line-height: 0; }
.hero__logo img { width: 100%; max-width: 780px; margin-inline: auto; }

.hero__photo { position: relative; height: 560px; overflow: hidden; }
.hero__photo > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.hero__photo::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, var(--bg) 0%, rgba(11,11,11,0) 20%, rgba(11,11,11,0) 32%, rgba(11,11,11,0.88) 58%, rgba(11,11,11,0.97) 100%);
}
.hero__content { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding-bottom: 28px; }
.hero__inner { display: flex; flex-direction: column; gap: 12px; }
.hero__kicker {
  margin-bottom: 10px;
  font: 700 12px/1.5 var(--font-label); letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--accent);
}
.hero__title {
  font-family: var(--font-display); font-weight: 400;
  font-size: 64px; line-height: 0.88; text-transform: uppercase; color: #fff;
}
.hero__actions { display: flex; flex-direction: column; gap: 12px; }

@media (min-width: 760px) {
  .hero__logo { padding: 48px 24px 0; margin-bottom: -110px; }
  .hero__photo { height: clamp(540px, 58vw, 840px); }
  .hero__photo > img { object-position: 50% 38%; }
  .hero__photo::after {
    background: linear-gradient(180deg, var(--bg) 0%, rgba(11,11,11,0.55) 16%, rgba(11,11,11,0) 34%, rgba(11,11,11,0) 55%, rgba(11,11,11,0.92) 100%);
  }
  .hero__content { padding-bottom: 48px; }
  .hero__inner { flex-direction: row; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px; }
  .hero__kicker { font-size: 13px; letter-spacing: 0.18em; }
  .hero__title { font-size: clamp(64px, 9vw, 136px); }
  .hero__actions { flex-direction: row; flex-wrap: wrap; }
}

/* ---------- sections ---------- */
.section { padding-block: 28px; }
.section--first { padding-top: 36px; }
.section--tight { padding-block: 0; }
.section--last { padding-bottom: 56px; }
@media (min-width: 760px) {
  .section { padding-block: 48px; }
  .section--first { padding-top: 64px; }
  .section--tight { padding-block: 0; }
  .section--last { padding-bottom: 96px; }
}

.page-title {
  padding-bottom: 12px; border-bottom: 2px solid var(--line);
  font-family: var(--font-display); font-weight: 400;
  font-size: 72px; line-height: 0.9; text-transform: uppercase; color: #fff;
}
@media (min-width: 760px) { .page-title { font-size: 120px; } }

.section-head {
  display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px 24px;
  margin-bottom: 16px; padding-bottom: 12px; border-bottom: 2px solid var(--line);
}
.section-head h2 {
  font-family: var(--font-display); font-weight: 400;
  font-size: 40px; line-height: 1; text-transform: uppercase; color: #fff;
}
@media (min-width: 760px) { .section-head { margin-bottom: 20px; } .section-head h2 { font-size: 56px; } }

.kicker {
  font: 700 12px var(--font-label); letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted);
}
.kicker--accent { color: var(--accent); margin-bottom: 6px; }
@media (min-width: 760px) { .kicker { font-size: 13px; } }

.grid-2 { display: grid; gap: var(--gap); }
@media (min-width: 760px) { .grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.split { display: grid; gap: var(--gap); align-items: start; }
.split__image { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border: 1px solid var(--line); }
@media (min-width: 900px) {
  .split { grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); }
  .split__image { aspect-ratio: 4 / 5; }
}

/* ---------- box (the one panel style) ---------- */
.box { border: 1px solid var(--line); background: var(--panel); }
.box__title {
  padding: 7px 12px;
  background: var(--accent); color: #0b0b0b;
  font: 700 13px/1.4 var(--font-label);
}
.box__body { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; padding: 16px 16px 18px; }
.box__body--flush { padding: 0; gap: 0; align-items: stretch; }
.box__body p { color: var(--text-soft); }
.box__lead {
  font-family: var(--font-display); font-size: 28px; line-height: 1.1; text-transform: uppercase;
}
.box__body .box__lead { color: #fff; }
.box__lead--xl { font-size: 36px; line-height: 1; }
@media (min-width: 760px) {
  .box__body { padding: 20px 22px 24px; }
  .box__body--flush { padding: 0; }
  .box__lead { font-size: 32px; }
  .box__lead--xl { font-size: 40px; }
}

/* ---------- MySpace profile ---------- */
.profile { display: grid; gap: var(--gap); align-items: start; }
.profile__side, .profile__main { display: flex; flex-direction: column; gap: var(--gap); min-width: 0; }
@media (min-width: 900px) { .profile { grid-template-columns: minmax(300px, 1fr) minmax(0, 2fr); } }

.profile-card { padding: 16px; }
.profile-card__name {
  margin-bottom: 12px;
  font-family: var(--font-display); font-weight: 400; font-size: 34px; line-height: 1; letter-spacing: 0.03em; color: #fff;
}
.profile-card__name span { font: 12px var(--font-body); letter-spacing: 0; color: var(--muted); }
.profile-card__row { display: flex; gap: 14px; align-items: flex-start; }
.profile-card__row img { width: 110px; height: 140px; object-fit: cover; flex: none; border: 1px solid var(--line-strong); }
.profile-card__details { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 3px; font-size: 12px; line-height: 1.45; color: var(--text-soft); }
.online { margin-top: 6px; display: inline-flex; align-items: center; gap: 6px; font: 700 12px var(--font-label); color: var(--online); }
.online::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--online); }
@media (min-width: 760px) {
  .profile-card { padding: 20px; }
  .profile-card__name { font-size: 40px; margin-bottom: 14px; }
  .profile-card__name span { font-size: 13px; }
  .profile-card__row { gap: 16px; }
  .profile-card__row img { width: 140px; height: 180px; }
  .profile-card__details { font-size: 13px; gap: 4px; }
}

.contact-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--line); }
.contact-grid a {
  display: flex; align-items: center; min-height: 52px; padding: 0 14px;
  background: var(--panel); color: var(--text); text-decoration: none; font-size: 13px;
}
.contact-grid a:hover { background: var(--panel-hover); color: #fff; }

.extended { padding: 14px 16px; font: 700 16px/1.4 var(--font-label); color: #fff; }
@media (min-width: 760px) { .extended { padding: 18px 20px; font-size: 18px; } }

.blurb-heading { font: 700 14px var(--font-label); color: var(--accent); }
.blurb-heading:not(:first-child) { margin-top: 4px; }

.friends__count { font-size: 13px; }
.friends__count strong { color: #fff; }
.friends__count strong.accent { color: var(--accent); }
.friends { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; width: 100%; }
.friends figure { margin: 0; display: flex; flex-direction: column; gap: 6px; text-align: center; }
.friends img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border: 1px solid var(--line-strong); }
.friends figcaption { font-size: 11px; line-height: 1.35; color: var(--muted); }
.friends figcaption strong { display: block; color: #fff; }
@media (min-width: 760px) {
  .friends { gap: 16px; }
  .friends figure { gap: 8px; }
  .friends figcaption { font-size: 12px; }
}

/* ---------- live video ---------- */
.video { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; border: 1px solid var(--line); background: #000; }
.video img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: brightness(0.7); }
.video__play {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  display: flex; align-items: center; justify-content: center;
  width: 64px; height: 64px; border-radius: 50%;
  background: var(--yellow); color: #0b0b0b;
  transition: transform 0.2s ease;
}
.video__play svg { width: 26px; height: 26px; }
.video:hover .video__play { transform: translate(-50%, -50%) scale(1.08); }
@media (min-width: 760px) {
  .video__play { width: 104px; height: 104px; }
  .video__play svg { width: 40px; height: 40px; }
}

/* ---------- instagram grid ---------- */
.ig-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; }
.ig-grid__item { position: relative; display: block; aspect-ratio: 1 / 1; overflow: hidden; background: #1a1a1a; }
.ig-grid__item img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: filter 0.25s ease; }
.ig-grid__item:hover img { filter: brightness(0.6); }
@media (min-width: 760px) { .ig-grid { gap: 6px; } }

/* ---------- links page ---------- */
.linkpage { max-width: 560px; margin: 0 auto; padding: 40px var(--gutter) 56px; }
.linkpage__logo { line-height: 0; }
.linkpage__logo img { width: 100%; max-width: 400px; margin-inline: auto; }
.linkpage__tagline {
  margin: 8px 0 20px; text-align: center;
  font: 700 12px var(--font-label); letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted);
}
.linkpage__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.linkbtn {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  min-height: 60px; padding: 0 18px;
  border: 2px solid var(--text); color: var(--text); text-decoration: none;
  font-family: var(--font-display); font-size: 19px; letter-spacing: 0.05em; text-transform: uppercase;
}
.linkbtn small { font: 11px var(--font-body); letter-spacing: 0; text-transform: none; text-align: right; }
.linkbtn:hover { background: #fff; border-color: #fff; color: #0b0b0b; }
.linkbtn--primary { background: var(--yellow); border-color: var(--yellow); color: #0b0b0b; }
@media (min-width: 760px) {
  .linkpage { padding: 64px var(--gutter) 96px; }
  .linkpage__tagline { font-size: 13px; letter-spacing: 0.18em; }
  .linkbtn { padding: 0 22px; font-size: 20px; }
  .linkbtn small { font-size: 12px; }
}

/* ---------- footer ---------- */
.site-footer { background: var(--bg-deep); border-top: 2px solid var(--accent); padding: 32px var(--gutter); }
.site-footer__inner {
  max-width: var(--max); margin: 0 auto;
  display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center;
}
.site-footer__logo { width: 140px; }
.site-footer__links {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 0 20px;
  font-family: var(--font-display); font-size: 17px; letter-spacing: 0.06em; text-transform: uppercase;
}
.site-footer__links a { padding: 10px 0; color: var(--text); text-decoration: none; }
.site-footer__links a:hover { color: var(--yellow); }
.site-footer__meta { font-size: 12px; color: var(--muted); }
@media (min-width: 760px) {
  .site-footer { padding: 40px var(--gutter); }
  .site-footer__inner { flex-direction: row; flex-wrap: wrap; justify-content: space-between; gap: 24px; text-align: left; }
  .site-footer__logo { width: 160px; }
  .site-footer__links { font-size: 18px; gap: 0 22px; }
}
