/* ============================================================
   OJC  |  OnlineJobCompany
   Yakuza Minimalist Corporate
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;1,400&family=IBM+Plex+Mono:wght@300;400;500&family=Zen+Kaku+Gothic+New:wght@300;400;500;700&display=swap');

/* --- Dark (default) --- */
:root {
  --red: #CC0000;
  --red-soft: rgba(204, 0, 0, 0.12);
  --red-glow: rgba(204, 0, 0, 0.2);
  --bg: #0A0A0A;
  --surface: #111111;
  --line: rgba(255, 255, 255, 0.05);
  --line-h: rgba(255, 255, 255, 0.1);
  --dim: #444444;
  --muted: #777777;
  --body: #B0B0B0;
  --strong: #DDDDDD;
  --code-bg: rgba(255, 255, 255, 0.03);

  --sans: 'Zen Kaku Gothic New', 'Helvetica Neue', sans-serif;
  --display: 'Cormorant Garamond', Georgia, serif;
  --mono: 'IBM Plex Mono', monospace;

  --max-w: 660px;
  --gutter: clamp(1.5rem, 6vw, 3.5rem);
}

/* --- Light --- */
[data-theme="light"] {
  --bg: #C5C3BC;
  --surface: #BAB8B1;
  --line: rgba(0, 0, 0, 0.08);
  --line-h: rgba(0, 0, 0, 0.15);
  --dim: #7A776E;
  --muted: #5C5950;
  --body: #3A3832;
  --strong: #161614;
  --code-bg: rgba(0, 0, 0, 0.05);
  --red-soft: rgba(204, 0, 0, 0.08);
  --red-glow: rgba(204, 0, 0, 0.12);
}


/* ======================== RESET ======================== */

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background: var(--bg);
  color: var(--body);
  font-family: var(--sans);
  font-weight: 400;
  font-size: 0.9375rem;
  line-height: 1.8;
  transition: background 0.4s ease, color 0.4s ease;
}

::selection { background: var(--red); color: #fff; }

a {
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s ease;
}
a:hover { color: var(--strong); }


/* ======================== LAYOUT ======================== */

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

.center { text-align: center; }

.gap { height: clamp(5rem, 12vw, 9rem); }
.gap-sm { height: clamp(3rem, 7vw, 5rem); }
.gap-xs { height: clamp(1.5rem, 4vw, 2.5rem); }


/* ======================== RED LINE ======================== */

.rl {
  display: block;
  width: 100%;
  height: 1px;
  background: var(--red);
  border: none;
  opacity: 0.6;
}

.rl--short {
  width: 36px;
  margin: 0 auto;
  opacity: 1;
}

.rl--full {
  max-width: none;
  margin-left: calc(-1 * var(--gutter));
  margin-right: calc(-1 * var(--gutter));
  width: calc(100% + var(--gutter) * 2);
}


/* ======================== TYPOGRAPHY ======================== */

/* Labels: navigation, section titles, metadata */
.label {
  font-family: var(--sans);
  font-size: 0.625rem;
  font-weight: 400;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--dim);
  transition: color 0.4s ease;
}

/* Display headings: only for hero titles and the pull quote */
.display {
  font-family: var(--display);
  font-weight: 400;
  color: var(--strong);
  line-height: 1.15;
  transition: color 0.4s ease;
}
.display--xl { font-size: clamp(2rem, 5vw, 2.75rem); }
.display--lg { font-size: clamp(1.625rem, 4vw, 2.125rem); }
.display--md { font-size: clamp(1.25rem, 3vw, 1.625rem); }

/* Body headings */
.heading {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 1.125rem;
  color: var(--strong);
  line-height: 1.35;
  transition: color 0.4s ease;
}

/* Monospace: numbers, dates, codes, addresses */
.mono {
  font-family: var(--mono);
  font-weight: 400;
  letter-spacing: 0.01em;
}

.red { color: var(--red); }


/* ======================== HEADER ======================== */

header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 90;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: background 0.4s ease;
}

header .w {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 52px;
}

.mark {
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
  text-decoration: none;
}
.mark__ojc {
  font-family: var(--sans);
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--red);
  letter-spacing: 0.04em;
}
.mark__sub {
  font-family: var(--sans);
  font-size: 0.4375rem;
  font-weight: 300;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--dim);
  transition: color 0.4s ease;
}

.nav-group {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

nav {
  display: flex;
  gap: 1.25rem;
}
nav a {
  font-family: var(--sans);
  font-size: 0.5625rem;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--dim);
  position: relative;
  transition: color 0.2s ease;
}
nav a::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 50%;
  width: 0;
  height: 1px;
  background: var(--red);
  transition: width 0.3s ease, left 0.3s ease;
}
nav a:hover::after,
nav a.on::after {
  width: 100%;
  left: 0;
}
nav a:hover,
nav a.on {
  color: var(--strong);
}

/* Theme toggle */
.theme-btn {
  background: none;
  border: 1px solid var(--line);
  cursor: pointer;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.3s ease, transform 0.3s ease;
  color: var(--muted);
}
.theme-btn:hover {
  border-color: var(--line-h);
  transform: scale(1.1);
}
.theme-btn svg {
  width: 12px;
  height: 12px;
  transition: transform 0.4s ease;
}
[data-theme="light"] .theme-btn svg {
  transform: rotate(180deg);
}

/* Mobile hamburger */
.burger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.4rem;
}
.burger span {
  display: block;
  width: 16px;
  height: 1px;
  background: var(--muted);
  margin: 4px 0;
  transition: background 0.4s ease;
}

@media (max-width: 600px) {
  .burger { display: block; }
  nav {
    position: fixed;
    top: 52px;
    left: 0;
    right: 0;
    background: color-mix(in srgb, var(--bg) 97%, transparent);
    backdrop-filter: blur(16px);
    flex-direction: column;
    align-items: center;
    padding: 1.75rem var(--gutter);
    gap: 1.25rem;
    transform: translateY(-110%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.3s ease, opacity 0.3s ease;
  }
  nav.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }
}


/* ======================== MON (CREST) ======================== */

.mon-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 280px;
  height: 280px;
  max-width: 280px;
  max-height: 280px;
  margin: 0 auto;
  overflow: hidden;
}

.mon-wrap--sm {
  width: 48px;
  height: 48px;
  max-width: 48px;
  max-height: 48px;
}

.mon-svg {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  max-width: inherit;
  max-height: inherit;
  display: block;
}

/* Breathing glow behind the mon */
.mon-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 70%;
  height: 70%;
  border-radius: 50%;
  background: radial-gradient(circle, var(--red-glow) 0%, transparent 70%);
  animation: mon-breathe 5s ease-in-out infinite;
}

@keyframes mon-breathe {
  0%, 100% { opacity: 0.3; transform: translate(-50%, -50%) scale(1); }
  50% { opacity: 0.7; transform: translate(-50%, -50%) scale(1.15); }
}

/* The SVG itself */
.mon-svg {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
}

/* Outer ring rotates slowly */
.mon-ring {
  transform-origin: center;
  animation: mon-spin 60s linear infinite;
}

@keyframes mon-spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* Stroke draw-in on load */
.mon-draw {
  stroke-dasharray: 1000;
  stroke-dashoffset: 1000;
  animation: mon-draw-in 2.2s cubic-bezier(0.23, 1, 0.32, 1) forwards;
}

.mon-draw--d1 { animation-delay: 0s; }
.mon-draw--d2 { animation-delay: 0.3s; }
.mon-draw--d3 { animation-delay: 0.5s; }
.mon-draw--d4 { animation-delay: 0.7s; }
.mon-draw--d5 { animation-delay: 0.9s; }
.mon-draw--d6 { animation-delay: 1.1s; }

@keyframes mon-draw-in {
  to { stroke-dashoffset: 0; }
}

/* Small footer mon: no draw animation, just static + glow */
.mon-wrap--sm .mon-draw {
  stroke-dasharray: none;
  stroke-dashoffset: 0;
  animation: none;
}
.mon-wrap--sm .mon-glow {
  width: 80%;
  height: 80%;
}


/* ======================== HERO ======================== */

.hero {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 4rem var(--gutter);
  text-align: center;
}

@keyframes hero-fade {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-enter {
  opacity: 0;
  animation: hero-fade 0.8s cubic-bezier(0.23, 1, 0.32, 1) forwards;
}
.hero-enter--d1 { animation-delay: 1.8s; }
.hero-enter--d2 { animation-delay: 2.0s; }
.hero-enter--d3 { animation-delay: 2.2s; }
.hero-enter--d4 { animation-delay: 2.4s; }


/* ======================== SCROLL REVEAL ======================== */

.r {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.6s cubic-bezier(0.23, 1, 0.32, 1),
              transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}
.r.v {
  opacity: 1;
  transform: none;
}


/* ======================== HOLDINGS ======================== */

.h-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 0.75rem;
  border-bottom: 1px solid var(--line);
  transition: background 0.2s ease, padding-left 0.25s ease;
  cursor: default;
  position: relative;
}
.h-row:first-child {
  border-top: 1px solid var(--line);
}
.h-row:hover {
  background: var(--code-bg);
  padding-left: 1rem;
}

.h-left {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
}
.h-name {
  font-family: var(--sans);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--strong);
  min-width: 52px;
  transition: color 0.4s ease;
}
.h-addr {
  font-family: var(--mono);
  font-size: 0.5625rem;
  font-weight: 300;
  color: var(--dim);
  max-width: 180px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  cursor: pointer;
  position: relative;
  transition: color 0.2s ease;
}
.h-addr:hover { color: var(--muted); }

.h-addr::after {
  content: 'Copied';
  position: absolute;
  top: -1.6rem;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--sans);
  font-size: 0.5rem;
  background: var(--red);
  color: #fff;
  padding: 0.15rem 0.5rem;
  border-radius: 2px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, top 0.2s ease;
}
.h-addr.copied::after {
  opacity: 1;
  top: -1.8rem;
}

.h-val {
  font-family: var(--mono);
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--strong);
  transition: color 0.4s ease;
}

/* Number blur-reveal */
@keyframes num-reveal {
  from { opacity: 0; filter: blur(4px); }
  to { opacity: 1; filter: blur(0); }
}
.h-row.v .h-val { animation: num-reveal 0.5s ease both; }
.h-row:nth-child(1).v .h-val { animation-delay: 0.1s; }
.h-row:nth-child(2).v .h-val { animation-delay: 0.18s; }
.h-row:nth-child(3).v .h-val { animation-delay: 0.26s; }
.h-row:nth-child(4).v .h-val { animation-delay: 0.34s; }
.h-row:nth-child(5).v .h-val { animation-delay: 0.42s; }


/* ======================== STATS ======================== */

.stats {
  display: flex;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
  padding: 1.25rem 0;
}
.stat { text-align: center; }
.stat__n {
  font-family: var(--mono);
  font-size: 0.9375rem;
  font-weight: 400;
  color: var(--strong);
  transition: color 0.4s ease;
}


/* ======================== PULL QUOTE ======================== */

.pull {
  border-left: 1px solid var(--red);
  padding-left: 1.25rem;
  max-width: 420px;
  margin: 0 auto;
}
.pull__q {
  font-family: var(--display);
  font-size: 1.375rem;
  font-style: italic;
  color: var(--strong);
  line-height: 1.5;
  transition: color 0.4s ease;
}
.pull__a {
  font-family: var(--sans);
  font-size: 0.5625rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--dim);
  margin-top: 0.5rem;
}


/* ======================== REPORT ROW ======================== */

.rr {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 0.75rem;
  border-bottom: 1px solid var(--line);
  transition: padding-left 0.25s ease, background 0.2s ease;
  text-decoration: none;
}
.rr:first-child { border-top: 1px solid var(--line); }
.rr:hover { padding-left: 1.25rem; background: var(--code-bg); }

.rr__c {
  font-family: var(--mono);
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--red);
}
.rr__d {
  font-family: var(--mono);
  font-size: 0.625rem;
  font-weight: 300;
  color: var(--dim);
}


/* ======================== REPORT CARD ======================== */

.report-card {
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 2rem 2rem;
  transition: background 0.4s ease, border-color 0.4s ease;
}

.report-card__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.report-stats {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.report-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
  min-width: 100px;
  text-align: center;
}

.report-btn {
  display: inline-block;
  font-family: var(--sans);
  font-size: 0.625rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--bg);
  background: var(--red);
  padding: 0.75rem 2rem;
  text-decoration: none;
  transition: background 0.2s ease, transform 0.2s ease;
}
.report-btn:hover {
  background: #AA0000;
  color: #fff;
  transform: translateY(-1px);
}


/* ======================== LIVESTREAM ======================== */

.embed {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  background: var(--surface);
  transition: background 0.4s ease;
}
.embed iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  border: none;
}
.embed__ph {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.live-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--red);
  margin-right: 0.35rem;
  vertical-align: middle;
  animation: live-pulse 2s ease-in-out infinite;
}

@keyframes live-pulse {
  0%, 100% { box-shadow: 0 0 0 0 var(--red-glow); }
  50% { box-shadow: 0 0 12px 3px var(--red-glow); }
}


/* ======================== PROSE ======================== */

.prose {
  max-width: 560px;
  margin: 0 auto;
}
.prose h2 {
  font-family: var(--sans);
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--strong);
  margin: 2.5rem 0 0.75rem;
  line-height: 1.35;
  transition: color 0.4s ease;
}
.prose h3 {
  font-family: var(--sans);
  font-size: 0.625rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 2rem 0 0.625rem;
  transition: color 0.4s ease;
}
.prose p {
  font-family: var(--sans);
  font-size: 0.9375rem;
  font-weight: 400;
  color: var(--body);
  line-height: 1.8;
  margin-bottom: 1rem;
  transition: color 0.4s ease;
}
.prose p strong {
  color: var(--strong);
  font-weight: 500;
  transition: color 0.4s ease;
}
.prose .fine {
  font-size: 0.8125rem;
  color: var(--muted);
}
.prose ul {
  list-style: none;
  padding: 0;
  margin: 0 0 1rem;
}
.prose ul li {
  font-family: var(--sans);
  font-size: 0.9375rem;
  color: var(--body);
  line-height: 1.8;
  padding: 0.3rem 0 0.3rem 1rem;
  border-left: 1px solid var(--red);
  margin-bottom: 0.25rem;
  transition: color 0.4s ease;
}
.prose a { color: var(--red); }
.prose a:hover { color: var(--strong); }

.prose hr {
  border: none;
  height: 1px;
  background: var(--red);
  margin: 3rem 0;
  opacity: 0.5;
}


/* ======================== POLICY NAV ======================== */

.policy-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem 1.5rem;
  margin-top: 1.5rem;
}
.policy-nav a {
  font-family: var(--sans);
  font-size: 0.5625rem;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--dim);
  padding-bottom: 2px;
  border-bottom: 1px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.policy-nav a:hover {
  color: var(--strong);
  border-color: var(--red);
}


/* ======================== CONTACT ROWS ======================== */

.c-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--line);
}
.c-row:first-child { border-top: 1px solid var(--line); }

.c-label {
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--muted);
  transition: color 0.4s ease;
}
.c-val {
  font-family: var(--mono);
  font-size: 0.8125rem;
  font-weight: 400;
  color: var(--strong);
  transition: color 0.4s ease;
}
.c-val a { color: var(--strong); }
.c-val a:hover { color: var(--red); }


/* ======================== FOOTER ======================== */

footer {
  padding: 4rem 0 2.5rem;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}
.footer-links a {
  font-family: var(--sans);
  font-size: 0.5625rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--dim);
  transition: color 0.2s ease;
}
.footer-links a:hover { color: var(--strong); }

footer .disc {
  font-family: var(--sans);
  font-size: 0.5625rem;
  font-weight: 400;
  color: var(--dim);
  line-height: 1.9;
  max-width: 400px;
  margin: 1.5rem auto 0;
  transition: color 0.4s ease;
}

footer .copy {
  font-family: var(--mono);
  font-size: 0.5625rem;
  font-weight: 300;
  color: var(--dim);
  margin-top: 2rem;
  transition: color 0.4s ease;
}


/* ======================== RESPONSIVE ======================== */

@media (max-width: 600px) {
  .rr { flex-direction: column; gap: 0.25rem; }
  .stats { gap: 2rem; }
  .h-addr { max-width: 110px; }
  .h-left { gap: 0.5rem; }
  .c-row { flex-direction: column; gap: 0.15rem; }
  .mon-wrap { width: 200px; height: 200px; }
}
