/* ============ maarukage — editorial light theme ============ */

:root {
  --bg: #faf7f2;
  --bg-card: #ffffff;
  --ink: #16130f;
  --muted: #6f685e;
  --line: #e7e0d4;
  --accent: #b0803f;
  --accent-ink: #8a6023;
  --serif: "Instrument Serif", Georgia, serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; }

/* ============ nav ============ */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px clamp(20px, 5vw, 56px);
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.nav-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--serif);
  font-size: 22px;
  text-decoration: none;
  letter-spacing: 0.02em;
}

.nav-logo {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--line);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(14px, 3vw, 28px);
}

.nav-links a {
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--ink); }

.nav-cta {
  color: #fff !important;
  background: var(--ink);
  padding: 9px 18px;
  border-radius: 999px;
  transition: transform 0.2s, background 0.2s;
}

.nav-cta:hover { background: var(--accent-ink); transform: translateY(-1px); }

/* ============ stats ============ */

.stat { text-align: center; }

.stat-num {
  display: block;
  font-family: var(--serif);
  font-size: 30px;
  line-height: 1.1;
}

.stat-label {
  display: block;
  margin-top: 3px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.stat-divider { width: 1px; height: 40px; background: var(--line); }

.about-stats {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 20px;
  padding: 16px 18px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 14px;
}

/* ============ content: about + videos ============ */

.content {
  display: grid;
  grid-template-columns: minmax(300px, 380px) 1fr;
  gap: clamp(32px, 5vw, 72px);
  padding: clamp(48px, 8vh, 96px) clamp(20px, 5vw, 56px);
  max-width: 1280px;
  margin: 0 auto;
}

.about-sticky { position: sticky; top: 96px; }

.about-photo img {
  border-radius: 20px;
  aspect-ratio: 1;
  object-fit: cover;
  box-shadow: 0 18px 44px -18px rgba(22, 19, 15, 0.32);
}

.about-name {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 40px;
  margin-top: 26px;
}

.about-role {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-ink);
  margin-top: 2px;
}

.about-bio { color: var(--muted); font-size: 15px; margin-top: 16px; }
.about-bio strong { color: var(--ink); font-weight: 600; }

.about-socials {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 24px;
}

.social-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 11px 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--bg-card);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}

.social-btn:hover {
  border-color: var(--accent);
  transform: translateY(-1px);
  box-shadow: 0 8px 20px -12px rgba(22, 19, 15, 0.25);
}

.social-btn svg { flex-shrink: 0; color: var(--accent-ink); }

.about-cta {
  display: inline-block;
  margin-top: 18px;
  padding: 13px 24px;
  background: var(--ink);
  color: #fff;
  border-radius: 999px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  transition: background 0.2s, transform 0.2s;
}

.about-cta:hover { background: var(--accent-ink); transform: translateY(-1px); }

/* videos */

.videos-intro {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(34px, 4.5vw, 56px);
  line-height: 1.05;
  margin-bottom: clamp(30px, 5vh, 52px);
}

.videos-intro em { color: var(--accent); }

.videos-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(20px, 3vw, 40px);
  align-items: start;
}

.videos-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(24px, 3vw, 38px);
  margin-bottom: 22px;
}

.video + .video { margin-top: 28px; }

.video-frame {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  background: #0d0c0a;
  box-shadow: 0 16px 38px -18px rgba(22, 19, 15, 0.35);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.video-frame:hover {
  transform: translateY(-5px);
  box-shadow: 0 26px 52px -20px rgba(22, 19, 15, 0.45);
}

.video video {
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  display: block;
  cursor: pointer;
}

.video-stat {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(13, 12, 10, 0.62);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: #fff;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.03em;
  pointer-events: none;
}

.video-sound {
  position: absolute;
  bottom: 12px;
  right: 12px;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  background: rgba(13, 12, 10, 0.62) center / 18px no-repeat;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  cursor: pointer;
  transition: background-color 0.2s, transform 0.2s;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolygon points='11 5 6 9 2 9 2 15 6 15 11 19 11 5' fill='white'/%3E%3Cline x1='23' y1='9' x2='17' y2='15'/%3E%3Cline x1='17' y1='9' x2='23' y2='15'/%3E%3C/svg%3E");
}

.video-frame.sound-on .video-sound {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolygon points='11 5 6 9 2 9 2 15 6 15 11 19 11 5' fill='white'/%3E%3Cpath d='M15.54 8.46a5 5 0 0 1 0 7.07'/%3E%3Cpath d='M19.07 4.93a10 10 0 0 1 0 14.14'/%3E%3C/svg%3E");
}

.video-sound:hover { background-color: rgba(13, 12, 10, 0.85); transform: scale(1.08); }

.video-caption {
  display: inline-block;
  margin-top: 10px;
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
}

.video-caption:hover { color: var(--accent-ink); }

/* ============ contact ============ */

.contact {
  border-top: 1px solid var(--line);
  text-align: center;
  padding: clamp(64px, 12vh, 120px) clamp(20px, 5vw, 56px);
}

.contact-kicker {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent-ink);
  margin-bottom: 16px;
}

.contact-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(36px, 6.5vw, 68px);
  line-height: 1.1;
}

.contact-title em { color: var(--accent); }

.contact-cta {
  display: inline-block;
  margin-top: 34px;
  padding: 16px 34px;
  background: var(--ink);
  color: #fff;
  border-radius: 999px;
  text-decoration: none;
  font-size: clamp(15px, 2vw, 17px);
  font-weight: 600;
  transition: background 0.2s, transform 0.2s;
}

.contact-cta:hover { background: var(--accent-ink); transform: translateY(-2px); }

/* ============ footer ============ */

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px clamp(20px, 5vw, 56px);
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--muted);
}

.footer a { color: var(--muted); text-decoration: none; }
.footer a:hover { color: var(--ink); }

/* ============ reveal animation ============ */

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ============ mobile ============ */

@media (max-width: 900px) {
  .content { grid-template-columns: 1fr; }
  .about-sticky { position: static; }
  .about-sticky { text-align: center; }
  .about-photo { display: flex; justify-content: center; }
  .about-photo img { max-width: 260px; }
  .about-socials { align-items: center; }
  .videos-intro,
  .videos-title,
  .video { text-align: center; }
  .about-cta {
    display: block;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 480px) {
  .nav-links a:not(.nav-cta) { display: none; }
  .video + .video { margin-top: 16px; }
  .videos-columns { gap: 14px; }
  .video-caption { font-size: 11px; }
}
