/* ===================================================================
   PRONOW — styles.css
   Dark + orange brand theme. Single-page scroll site.
   =================================================================== */

:root {
  --bg: #2D2D2D;
  --bg-alt: #252525;
  --surface: #383838;
  --surface-2: #383838;
  --accent: #EC6D2C;
  --accent-soft: rgba(236, 109, 44, 0.14);
  --text: #FFFAF2;
  --text-muted: #D9D3C9;
  --text-dim: #AEA89E;
  --line: rgba(255, 255, 255, 0.12);
  --line-strong: rgba(255, 255, 255, 0.22);

  --maxw: 1180px;
  --pad: 24px;
  --header-h: 72px;
  --font-display: "Archivo", "Pretendard", system-ui, sans-serif;
  --font-body: "Pretendard", system-ui, -apple-system, sans-serif;

  /* fluid type scale: grows smoothly from phone (360px) to desktop (1280px) */
  --fs-xs: clamp(13px, 0.15vw + 12.5px, 14px);
  --fs-sm: clamp(14px, 0.2vw + 13.3px, 15px);
  --fs-body: clamp(15px, 0.25vw + 14.1px, 17px);
  --fs-lead: clamp(16px, 0.45vw + 14.4px, 19px);
  --fs-h3: clamp(18px, 0.45vw + 16.4px, 22px);
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  font-size: var(--fs-body);
  line-height: 1.7;
  letter-spacing: -0.01em;
  word-break: keep-all;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  overflow-x: hidden;
}
h1, h2, h3 { word-break: keep-all; text-wrap: balance; }
p { text-wrap: pretty; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--pad); }
.accent { color: var(--accent); }

/* ---------- header ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--header-h);
  display: flex; align-items: center;
  background: rgba(28, 28, 28, 0.55);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: background .3s ease, border-color .3s ease;
}
.site-header.scrolled {
  background: rgba(20, 20, 20, 0.9);
  border-bottom-color: var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: block; line-height: 0; }
.brand img { height: 50px; width: auto; margin-left: -12px; }
.nav { display: flex; gap: 30px; }
.nav a {
  font-size: 15px; font-weight: 500; color: var(--text-muted);
  position: relative; padding: 4px 0; transition: color .2s;
}
.nav a::after {
  content: ""; position: absolute; left: 0; bottom: -2px; height: 2px; width: 0;
  background: var(--accent); transition: width .25s ease;
}
.nav a:hover { color: var(--text); }
.nav a:hover::after { width: 100%; }

.header-actions { display: flex; align-items: center; gap: 16px; }
.lang-toggle { display: flex; align-items: center; gap: 6px; font-size: var(--fs-sm); }
.lang-sep { color: var(--text-dim); }
.lang-btn { color: var(--text-dim); font-weight: 600; letter-spacing: .5px; transition: color .2s; }
.lang-btn.is-active { color: var(--accent); }
.lang-btn:hover { color: var(--text); }

.hamburger { display: none; flex-direction: column; gap: 5px; width: 28px; padding: 4px; }
.hamburger span { display: block; height: 2px; width: 100%; background: var(--text); border-radius: 2px; transition: transform .3s, opacity .3s; }
.hamburger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.is-open span:nth-child(2) { opacity: 0; }
.hamburger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- buttons ---------- */
.btn {
  display: inline-block; font-weight: 700; font-size: 15px;
  padding: 14px 30px; border-radius: 999px; transition: transform .15s, background .2s, color .2s;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { transform: translateY(-2px); background: #ff7a3d; }

/* ---------- hero ---------- */
.hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(120% 120% at 70% 20%, rgba(236,109,44,.18), transparent 55%),
    linear-gradient(180deg, #1f1f1f 0%, #2a2a2a 100%);
  background-size: cover; background-position: center;
}
.hero-bg.has-img { /* set by JS when real image present */ }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(18,18,18,.82) 0%, rgba(18,18,18,.45) 60%, rgba(18,18,18,.25) 100%); }
.hero-content { position: relative; z-index: 2; max-width: 820px; }
.hero-eyebrow {
  font-family: var(--font-display); font-weight: 700; letter-spacing: 3px;
  text-transform: uppercase; color: var(--accent); font-size: var(--fs-sm); margin-bottom: 22px;
}
.hero-title {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(30px, 5.4vw + 10px, 68px); line-height: 1.18; letter-spacing: -0.02em;
  margin-bottom: 24px;
}
.hero-sub { font-size: var(--fs-lead); color: var(--text-muted); margin-bottom: 36px; max-width: 600px; }

.scroll-cue { position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%); width: 26px; height: 42px; border: 2px solid var(--line-strong); border-radius: 14px; z-index: 2; }
.scroll-cue span { position: absolute; top: 8px; left: 50%; transform: translateX(-50%); width: 4px; height: 8px; background: var(--accent); border-radius: 2px; animation: scrollcue 1.6s infinite; }
@keyframes scrollcue { 0% { opacity: 0; top: 8px; } 40% { opacity: 1; } 80% { opacity: 0; top: 22px; } 100% { opacity: 0; } }

/* ---------- generic section ---------- */
.section { padding: clamp(72px, 8vw, 110px) 0; }
.section-alt { background: var(--bg-alt); }
.section-label {
  font-family: var(--font-display); font-weight: 700; font-size: var(--fs-sm); letter-spacing: 2px;
  text-transform: uppercase; color: var(--text); padding-left: 14px; position: relative; margin-bottom: 28px;
}
.section-label::before { content: ""; position: absolute; left: 0; top: 2px; bottom: 2px; width: 4px; background: var(--accent); border-radius: 2px; }
.section-title {
  font-family: var(--font-display); font-weight: 800; font-size: clamp(24px, 2.6vw + 14px, 42px);
  line-height: 1.3; letter-spacing: -0.02em; margin-bottom: 20px;
}
.section-lead { font-size: var(--fs-lead); color: var(--text-muted); max-width: 760px; margin-bottom: 48px; }

/* ---------- about / biz ---------- */
.biz-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.biz-card { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 34px 28px; transition: transform .25s, border-color .25s; }
.biz-card:hover { transform: translateY(-6px); border-color: var(--accent); }
.biz-num { font-family: var(--font-display); font-weight: 800; font-size: 28px; color: var(--accent); display: block; margin-bottom: 16px; }
.biz-card h3 { font-size: var(--fs-h3); margin-bottom: 12px; }
.biz-card p { color: var(--text-muted); font-size: var(--fs-body); }

/* ---------- company profile ---------- */
.profile-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--line); }
.profile-item { padding: 36px 26px; border-bottom: 1px solid var(--line); border-left: 1px solid var(--line); display: flex; flex-direction: column; gap: 14px; }
.profile-item:first-child { border-left: none; }
.profile-key { font-weight: 700; font-size: var(--fs-h3); }
.profile-val { color: var(--text-muted); font-size: var(--fs-body); }
.profile-val em { font-style: normal; color: var(--text-muted); display: inline; }
.profile-list { display: flex; flex-direction: column; gap: 8px; }
.profile-list em { color: var(--text-muted); }

/* ---------- players ---------- */
.players-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.player-card { text-align: center; }
.player-photo {
  aspect-ratio: 264 / 290; border-radius: 14px; margin: 0 auto 18px; width: 100%;
  background:
    radial-gradient(circle at 50% 35%, var(--surface-2), var(--surface));
  border: 2px solid var(--line-strong);
  background-size: cover; background-position: center top;
  position: relative; transition: border-color .25s, transform .25s;
}
.player-photo::after { content: "PHOTO"; position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 11px; letter-spacing: 2px; color: var(--text-dim); }
.player-photo.has-img::after { display: none; }
.player-card:hover .player-photo { border-color: var(--accent); transform: translateY(-4px); }
.ceo-block { margin-top: 56px; padding-top: 40px; border-top: 1px solid var(--line); }
.ceo-label { font-size: var(--fs-sm); font-weight: 700; letter-spacing: 2px; color: var(--accent); margin-bottom: 18px; }
.ceo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.ceo-head h3 { font-size: clamp(24px, 1vw + 20px, 30px); margin-bottom: 6px; }
.ceo-role { color: var(--text-muted); font-size: var(--fs-body); margin-bottom: 16px; }
.ceo-intro { font-size: var(--fs-lead); line-height: 1.7; }
.ceo-career-t { font-size: var(--fs-body); font-weight: 700; margin-bottom: 12px; }
.ceo-career ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.ceo-career li { color: var(--text-muted); font-size: var(--fs-body); padding-left: 14px; position: relative; }
.ceo-career li::before { content: ""; position: absolute; left: 0; top: .7em; width: 6px; height: 2px; background: var(--accent); }
.player-card h3 { font-size: var(--fs-h3); margin-bottom: 8px; }
.player-team { font-size: var(--fs-body); color: var(--text); }
.player-meta { font-size: var(--fs-sm); color: var(--text-dim); }
.player-tag { font-size: var(--fs-sm); color: var(--accent); margin-top: 4px; font-weight: 700; }
.player-career { font-size: var(--fs-sm); color: var(--text-muted); margin-top: 8px; line-height: 1.55; }

/* ---------- services ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-bottom: 32px; }
.svc-card { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 38px 28px; text-align: center; transition: transform .25s, border-color .25s; }
.svc-card:hover { transform: translateY(-6px); border-color: var(--accent); }
.svc-num { font-family: var(--font-display); font-weight: 800; font-size: 28px; color: var(--accent); display: block; margin-bottom: 14px; }
.svc-card h3 { font-size: var(--fs-h3); margin-bottom: 10px; }
.svc-card p { color: var(--text-muted); font-size: var(--fs-body); }
.svc-banner { text-align: center; font-weight: 700; font-size: clamp(16px, 2.2vw, 22px); color: var(--accent); background: var(--accent-soft); border: 1px solid rgba(236,109,44,.3); border-radius: 14px; padding: 26px; }

/* ---------- network ---------- */
.net-block { padding: 40px 0; border-bottom: 1px solid var(--line); }
.net-block:last-child { border-bottom: none; }
.net-title { font-family: var(--font-display); font-weight: 800; font-size: clamp(20px, 2.6vw, 28px); margin-bottom: 14px; }
.net-desc { color: var(--text-muted); font-size: var(--fs-body); max-width: 820px; margin-bottom: 20px; }
.net-addr { font-size: var(--fs-body); font-weight: 600; color: var(--text); margin-bottom: 24px; }
.court-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.court-photo { aspect-ratio: 4 / 5; border-radius: 12px; border: 1px solid var(--line); background: linear-gradient(160deg, var(--surface-2), var(--surface)); background-size: cover; background-position: center; position: relative; }
.court-photo::after { content: "COURT"; position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 11px; letter-spacing: 2px; color: var(--text-dim); }
.court-photo.has-img::after { display: none; }

.logo-grid { --cols: 7; display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.logo-grid > .logo-cell { flex: 0 0 calc((100% - (var(--cols) - 1) * 14px) / var(--cols)); }
.logo-cell { background: #fff; color: #1a1a1a; border-radius: 12px; min-height: 78px; display: flex; align-items: center; justify-content: center; text-align: center; padding: 12px; font-weight: 700; font-size: var(--fs-sm); line-height: 1.35; transition: transform .2s; }
.logo-cell:hover { transform: translateY(-3px); }

.online-tags { display: flex; flex-wrap: wrap; gap: 12px; }
.chip { background: var(--surface); border: 1px solid var(--line-strong); border-radius: 999px; padding: 9px 20px; font-size: var(--fs-sm); color: var(--text); }

/* ---------- works ---------- */
.works-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.works-grid-recent { grid-template-columns: repeat(3, 1fr); margin-bottom: 24px; }
.work-date { font-size: var(--fs-sm); font-weight: 700; letter-spacing: 1px; color: var(--accent); margin-bottom: 8px; }
.work-card { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; transition: transform .25s, border-color .25s; }
.work-card:hover { transform: translateY(-6px); border-color: var(--accent); }
.work-photo { aspect-ratio: 16 / 9; background: linear-gradient(160deg, #3a3026, var(--surface)); background-size: cover; background-position: center; position: relative; }
.work-photo::after { content: "IMAGE"; position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 11px; letter-spacing: 2px; color: var(--text-dim); }
.work-photo.has-img::after { display: none; }
.work-body { padding: 26px 28px 30px; }
.work-body h3 { font-size: var(--fs-h3); line-height: 1.4; margin-bottom: 12px; }
.work-body p { color: var(--text-muted); font-size: var(--fs-body); }

/* ---------- contact ---------- */
.contact-inner { text-align: center; }
.contact-inner .section-label { display: inline-block; }
.contact-inner .section-lead { margin-left: auto; margin-right: auto; }
.contact-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin: 0 auto 36px; max-width: 820px; }
.contact-item { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 28px 22px; display: flex; flex-direction: column; gap: 10px; transition: border-color .25s, transform .25s; }
a.contact-item:hover { border-color: var(--accent); transform: translateY(-4px); }
.contact-key { font-size: var(--fs-sm); letter-spacing: 1px; text-transform: uppercase; color: var(--accent); font-weight: 700; }
.contact-val { font-size: var(--fs-lead); color: var(--text); overflow-wrap: anywhere; }
.contact-social { display: flex; gap: 16px; justify-content: center; margin-bottom: 14px; }
.social-link { border: 1px solid var(--line-strong); border-radius: 999px; padding: 10px 24px; font-weight: 600; font-size: var(--fs-sm); transition: background .2s, color .2s; }
.social-link:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.social-link-pending { opacity: .4; cursor: default; pointer-events: none; }
.contact-note { font-size: var(--fs-sm); color: var(--text-dim); }

/* ---------- footer ---------- */
.site-footer { background: #161616; padding: 56px 0; border-top: 1px solid var(--line); }
.footer-inner { text-align: center; display: flex; flex-direction: column; gap: 12px; }
.footer-brand { line-height: 0; }
.footer-brand img { height: clamp(64px, 4vw + 48px, 84px); width: auto; display: block; margin: 0 auto; }
.footer-tagline { color: var(--accent); font-weight: 600; }
.footer-info { color: var(--text-muted); font-size: var(--fs-sm); }
.footer-copy { color: var(--text-dim); font-size: var(--fs-xs); margin-top: 8px; }

/* ---------- reveal animation ----------
   Only hide when JS is enabled (html.js). Without JS, content shows normally. */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .biz-grid, .svc-grid { grid-template-columns: 1fr; }
  .players-grid { grid-template-columns: repeat(2, 1fr); }
  .ceo-grid { grid-template-columns: 1fr; gap: 24px; }
  .profile-grid { grid-template-columns: repeat(2, 1fr); }
  .profile-item:nth-child(odd) { border-left: none; }
  .logo-grid { --cols: 4; }
  .works-grid, .works-grid-recent { grid-template-columns: 1fr; }
  .hero-content { max-width: 640px; }
}

@media (max-width: 680px) {
  :root { --pad: 18px; }
  .section { padding: 76px 0; }
  .nav {
    position: fixed; top: var(--header-h); left: 0; right: 0;
    flex-direction: column; gap: 0;
    background: rgba(18, 18, 18, 0.98); border-bottom: 1px solid var(--line);
    transform: translateY(-130%); transition: transform .35s ease; padding: 8px 0;
  }
  .nav.is-open { transform: translateY(0); }
  .nav a { padding: 16px var(--pad); border-bottom: 1px solid var(--line); }
  .nav a::after { display: none; }
  .hamburger { display: flex; }
  .players-grid { grid-template-columns: repeat(2, 1fr); }
  .court-grid { grid-template-columns: 1fr; }
  .logo-grid { --cols: 2; }
  .contact-grid { grid-template-columns: 1fr; }
  .players-grid { gap: 16px; }
  .brand img { height: 42px; margin-left: -10px; }
  .section-title br, .hero-title br { display: none; }
  .biz-card, .svc-card { padding: 28px 22px; }
  .work-body { padding: 22px 20px 24px; }
  .profile-grid { grid-template-columns: 1fr; }
  .profile-item { border-left: none !important; }
}

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