/* =========================================================
   슬로우로켓 홈페이지 공통 디자인
   - 바탕: 따뜻한 아이보리 / 포인트: 로켓 오렌지 / 어두운 구간: 나이트 네이비
   - 한글: Pretendard, 영문·숫자 강조: Space Grotesk
   - 헤더·푸터는 assets/js/site.js 가 그립니다.
   ========================================================= */
@font-face { font-family: "Pretendard Variable"; font-weight: 45 920; font-display: swap; src: url("../fonts/PretendardVariable.woff2") format("woff2-variations"); }
/* 브랜드 첫 화면 영문 제목 전용 (Poppins Bold, 영문 글자만, SIL OFL 무료 글꼴 — 라이선스: assets/fonts/Poppins-OFL.txt) */
@font-face { font-family: "Poppins"; font-weight: 700; font-display: swap; src: url("../fonts/Poppins-Bold-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+2000-206F, U+20AC, U+2122; }
:root {
  --paper: #f4f4f3;
  --paper-2: #e8e8e7;
  --white: #fbfbfa;
  --ink: #141414;
  --text: #3e3e3e;
  --muted: #7e7e7e;
  --line: #dadada;
  --rocket: #262626;
  --rocket-soft: #e6e6e6;
  --pink: #e4e4e3;
  --pink-deep: #4a4a4a;
  --mint: #dcdcdb;
  --butter: #ececeb;
  --night: #141414;
  --kr: "Pretendard Variable", Pretendard, -apple-system, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  --en: "Pretendard Variable", Pretendard, -apple-system, "Malgun Gothic", sans-serif;
  --brand-en: "Poppins", "Pretendard Variable", Pretendard, sans-serif; /* 브랜드 첫 화면 영문 제목 */
  --accent: #8a8a8a;
  --r-lg: 28px;
  --r-md: 18px;

  /* 글자 크기 규칙 (모든 페이지 공통 — 새 글씨는 이 단계 중 하나를 씁니다. 휴대폰 → PC 로 자연스럽게 커짐)
     첫 화면 제목 > 구간 제목 > 부제목 > 카드 제목 > 소개 글 > 본문 16 · 작은 글 14 · 캡션 13
     숫자: 큰 숫자(성과) · 중간 숫자(카드 속) */
  --fs-hero: clamp(40px, 6vw, 84px);    /* 페이지 첫 화면 큰 제목 */
  --fs-title: clamp(30px, 3.6vw, 48px); /* 각 구간 제목 */
  --fs-sub: clamp(22px, 2.2vw, 30px);   /* 부제목 · 큰 인용문 · 기사 제목 · 큰 카드 제목 */
  --fs-card: clamp(19px, 1.6vw, 22px);  /* 카드 · 목록 제목 */
  --fs-lead: clamp(17px, 1.4vw, 19px);  /* 제목 아래 소개 글 */
  --fs-num: clamp(44px, 5vw, 68px);     /* 큰 숫자 */
  --fs-num-sm: clamp(28px, 3vw, 44px);  /* 카드 속 숫자 */
}
/* PC 기본 크기를 브라우저 90% 보기와 같게 (태블릿 · 휴대폰은 그대로) */
@media (min-width: 1081px) { html { zoom: .9; } }
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { background: var(--paper); color: var(--text); font-family: var(--kr); font-size: 16px; line-height: 1.65; word-break: keep-all; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }
ul, ol { list-style: none; }
img, video { display: block; max-width: 100%; }
strong, b { font-weight: 700; color: var(--ink); }
.wrap { max-width: 1280px; margin: 0 auto; padding: 0 40px; }

/* ---------- 글자 ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: 12px; font-family: var(--en); font-size: 18px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--ink); }
.eyebrow::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--rocket); }
.eyebrow.light { color: #fff; }
.eyebrow.light::before, .sec.night .eyebrow::before { background: var(--accent); }
.display { font-size: var(--fs-hero); line-height: 1.12; font-weight: 800; letter-spacing: -0.045em; color: var(--ink); }
.h2 { font-size: var(--fs-title); line-height: 1.25; font-weight: 800; letter-spacing: -0.035em; color: var(--ink); }
.h3 { font-size: var(--fs-card); line-height: 1.4; font-weight: 700; letter-spacing: -0.02em; color: var(--ink); }
.lead { font-size: var(--fs-lead); line-height: 1.75; color: var(--text); }
.en { font-family: var(--en); }
.accent { color: var(--accent); }
.hl { background: linear-gradient(transparent 62%, var(--rocket-soft) 62%); }

/* ---------- 버튼 ---------- */
.btn { display: inline-flex; align-items: center; gap: 14px; height: 56px; padding: 0 10px 0 24px; border-radius: 16px; font-size: 16px; font-weight: 700; background: var(--ink); color: #fff; transition: transform .2s, background .2s; }
.btn::after { content: "→"; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 11px; background: rgba(255,255,255,.14); font-family: var(--en); transition: transform .2s; }
.btn:hover { transform: translateY(-2px); }
.btn:hover::after { transform: translateX(3px); }
.btn.rocket { background: var(--rocket); }
.btn.white { background: #fff; color: var(--ink); }
.btn.white::after { background: var(--paper-2); }
.btn.line { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn.line::after { background: var(--paper-2); }
.btns { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- 구간 ---------- */
.sec { padding: 140px 0; }
.sec.tight { padding: 96px 0; }
.sec.white { background: var(--white); }
.sec.gray { background: var(--paper-2); }
.sec.night { background: var(--night); color: #c8c8c8; }
.sec.night .h2, .sec.night .h3, .sec.night strong, .sec.night .display { color: #fff; }
.sec-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; align-items: end; margin-bottom: 64px; }
.sec-head .eyebrow { margin-bottom: 20px; }

/* 인재풀 등록 · 커피챗 신청 팝업 (site.js 의 POPS) */
.sr-pop-dim { position: fixed; inset: 0; z-index: 120; background: rgba(12,12,12,.55); display: none; place-items: center; padding: 24px; }
.sr-pop-dim.show { display: grid; }
body.pop-open { overflow: hidden; }
.sr-pop { position: relative; width: min(560px, 100%); max-height: calc(100vh - 48px); overflow: auto; background: #fff; border-radius: 24px; padding: 44px 40px 32px; color: var(--text); }
.sr-pop .x { position: absolute; right: 18px; top: 18px; width: 36px; height: 36px; border: 0; border-radius: 50%; background: var(--paper-2); font-size: 20px; line-height: 36px; color: var(--ink); cursor: pointer; }
.sr-pop h3 { font-size: var(--fs-card); line-height: 1.4; font-weight: 800; letter-spacing: -0.03em; color: var(--ink); padding-right: 40px; }
.sr-pop .body { margin-top: 14px; font-size: 16px; line-height: 1.75; }
.sr-pop .body p + p { margin-top: 10px; }
.sr-pop .list { margin-top: 22px; padding: 20px 22px; border-radius: 16px; background: var(--paper-2); }
.sr-pop .list b { display: block; font-size: 14px; font-weight: 700; color: var(--ink); }
.sr-pop .list ul { margin: 10px 0 0; padding: 0; list-style: none; display: grid; gap: 6px; }
.sr-pop .list li { position: relative; padding-left: 14px; font-size: 15px; line-height: 1.6; }
.sr-pop .list li::before { content: ""; position: absolute; left: 0; top: .7em; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); }
.sr-pop .to { margin-top: 22px; }
.sr-pop .to .k { font-size: 13px; font-weight: 600; color: var(--muted); }
.sr-pop .to .mail { margin-top: 4px; font-size: var(--fs-card); font-weight: 800; letter-spacing: -0.02em; color: var(--ink); overflow-wrap: anywhere; }
.sr-pop .to .subj { margin-top: 4px; font-size: 14px; color: var(--muted); }
.sr-pop .btns { margin-top: 22px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.sr-pop .btns a, .sr-pop .btns button { display: flex; justify-content: center; align-items: center; height: 52px; border-radius: 14px; font: inherit; font-size: 16px; font-weight: 700; cursor: pointer; }
.sr-pop .btns .pri { background: var(--ink); color: #fff; }
.sr-pop .btns .alt { border: 1px solid var(--line); color: var(--ink); background: #fff; }
.sr-pop .note { margin-top: 18px; font-size: 13px; line-height: 1.6; color: var(--muted); }
.sr-pop .note a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
button.text-link { background: none; border: 0; border-bottom: 1.5px solid var(--ink); padding: 0; font: inherit; font-weight: 700; color: var(--ink); cursor: pointer; }
@media (max-width: 760px) {
  .sr-pop-dim.show { place-items: end center; padding: 0; }
  .sr-pop { width: 100%; max-height: 90vh; border-radius: 24px 24px 0 0; padding: 36px 22px 24px; }
  .sr-pop .body { font-size: 15px; }
  .sr-pop .list li { font-size: 14px; }
}

/* 글자 링크 (예: 회사 소개에서 더 보기 →) */
.text-link { font-weight: 700; color: var(--ink); border-bottom: 1.5px solid var(--ink); white-space: nowrap; }

/* 사진 */
.ph { position: relative; overflow: hidden; border-radius: var(--r-lg); background: var(--paper-2); }
.ph img, .ph video { width: 100%; height: 100%; object-fit: cover; }

/* ---------- 브랜드 페이지 첫 화면 (쉐이크베이비 · 올트루 · 쿠알로 공통, 쿠알로 구성 기준) ----------
   왼쪽: 브랜드 로고(또는 이름) · 큰 영문 제목 · 소개 글 / 오른쪽: 배경 없는 제품 사진
   바탕색은 각 페이지에서 --hero-bg 로, 사진 위치는 --img-pos 로 정합니다. */
.br-hero { padding: 24px 0 0; }
.br-hero .panel { position: relative; overflow: hidden; border-radius: 36px; background: var(--hero-bg, var(--paper-2)); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; min-height: 560px; }
.br-hero .txt { padding: 72px 0 72px 64px; position: relative; z-index: 1; }
.br-hero .logo { display: block; height: calc(var(--fs-sub) * .95); width: auto; }
.br-hero .word { font-family: var(--brand-en); font-size: var(--fs-sub); line-height: 1; font-weight: 700; letter-spacing: -0.02em; color: var(--ink); }
.br-hero h1 { margin-top: 36px; font-family: var(--brand-en); font-size: var(--fs-hero); line-height: 1.04; font-weight: 700; letter-spacing: -0.035em; color: var(--ink); }
.br-hero .lead { margin-top: 28px; max-width: 460px; }
.br-hero .pic { align-self: stretch; position: relative; }
.br-hero .pic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; object-position: var(--img-pos, 50% 50%); padding: 40px; }
@media (max-width: 960px) {
  .br-hero .panel { grid-template-columns: 1fr; }
  .br-hero .txt { padding: 48px 28px 32px; }
  /* 칸 모양(aspect-ratio)과 '늘려 채우기'(stretch)를 같이 쓰면 아이폰(사파리)은 칸 폭을 줄여 버림 → 폭을 직접 100%로 */
  .br-hero .pic { aspect-ratio: 4 / 3.4; align-self: start; width: 100%; }
}
@media (max-width: 760px) {
  .br-hero .panel { border-radius: 26px; }
  .br-hero .txt { padding: 40px 24px 12px; }
  /* 휴대폰: 세 브랜드 모두 사진 칸 높이를 같게(5:4), 사진은 칸을 꽉 채우도록 살짝 잘라냄. 어디를 남길지는 브랜드 페이지에서 정함 */
  .br-hero .pic { aspect-ratio: 5 / 4; }
  .br-hero .pic img { padding: 0; object-fit: cover; }
}

/* ---------- 페이지 상단 (사진 카드 + 큰 제목) ---------- */
.p-hero { padding: 72px 0 0; }
.p-hero .top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; align-items: end; }
.p-hero .eyebrow { margin-bottom: 26px; }
.p-hero .lead { max-width: 460px; }
.p-hero .pic { margin-top: 56px; aspect-ratio: 1200 / 520; }
.badge { position: absolute; z-index: 2; width: 132px; height: 132px; border-radius: 50%; background: var(--rocket); color: #fff; display: grid; place-items: center; }
.badge svg { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 18s linear infinite; }
.badge svg text { font-family: var(--en); font-size: 11.5px; font-weight: 600; letter-spacing: 2.6px; fill: #fff; }
.badge b { font-family: var(--en); font-size: 30px; color: #fff; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- 흐르는 띠 ---------- */
.ticker { overflow: hidden; background: var(--ink); color: #fff; padding: 18px 0; }
.ticker .track { display: flex; width: max-content; animation: tick 30s linear infinite; }
.ticker span { font-family: var(--en); font-size: 26px; font-weight: 700; letter-spacing: -0.01em; white-space: nowrap; padding: 0 28px; display: inline-flex; align-items: center; gap: 56px; }
.ticker span::after { content: "✦"; font-size: 18px; }
.ticker.ink { background: var(--ink); }
@keyframes tick { to { transform: translateX(-50%); } }

/* ---------- 마지막 합류 안내 ---------- */
.cta { padding: 0 0 120px; }
.cta .box { position: relative; overflow: hidden; border-radius: 36px; background: var(--rocket); color: #fff; padding: 88px 72px; display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.cta h2 { font-size: var(--fs-title); line-height: 1.28; font-weight: 800; letter-spacing: -0.035em; color: #fff; }
.cta .links { position: relative; z-index: 1; display: grid; gap: 10px; }
.cta .links a { display: flex; justify-content: space-between; align-items: center; padding: 20px 24px; border-radius: 16px; background: rgba(255,255,255,.14); font-size: 17px; font-weight: 700; transition: background .2s, color .2s; }
.cta .links a::after { content: "→"; font-family: var(--en); }
.cta .links a:hover { background: #fff; color: var(--ink); }

/* ---------- 헤더 ---------- */
.sr-header { position: sticky; top: 0; z-index: 60; padding: 14px 0; transition: background .25s, box-shadow .25s; }
.sr-header.scrolled { background: rgba(244, 244, 243, .88); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--line); }
.sr-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.sr-header .logo img { height: 24px; width: auto; }
.sr-nav { display: flex; align-items: center; gap: 4px; padding: 6px; border-radius: 999px; background: var(--white); box-shadow: 0 0 0 1px var(--line); }
.sr-nav > li { position: relative; }
.sr-nav .top { display: block; padding: 9px 18px; border-radius: 999px; font-size: 15px; font-weight: 600; color: var(--text); transition: background .15s, color .15s; }
.sr-nav > li:hover .top { background: var(--paper-2); color: var(--ink); }
.sr-nav .top.on { background: var(--ink); color: #fff; }
.sr-nav .sub { position: absolute; top: calc(100% + 14px); left: 50%; min-width: 240px; padding: 10px; border-radius: 20px; background: var(--white); box-shadow: 0 0 0 1px var(--line), 0 18px 40px rgba(20, 20, 20, .1); opacity: 0; visibility: hidden; transform: translate(-50%, -6px); transition: opacity .18s, transform .18s, visibility .18s; }
.sr-nav > li::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 16px; }
.sr-nav > li:hover .sub { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.sr-nav .sub a { display: flex; justify-content: space-between; align-items: center; padding: 12px 14px; border-radius: 12px; font-size: 15px; color: var(--text); }
.sr-nav .sub a::after { content: "→"; font-family: var(--en); opacity: 0; transform: translateX(-4px); transition: .15s; }
.sr-nav .sub a:hover { background: var(--paper); color: var(--ink); }
.sr-nav .sub a:hover::after { opacity: 1; transform: none; }
.sr-nav .sub a.soon { color: #a8a8a8; }
.sr-nav .sub a.soon::after { content: "준비 중"; font-family: var(--kr); font-size: 12px; opacity: 1; transform: none; }
.sr-apply { display: inline-flex; align-items: center; gap: 8px; height: 46px; padding: 0 20px; border-radius: 999px; background: var(--rocket); color: #fff; font-size: 15px; font-weight: 700; }
.sr-apply:hover { background: #000; }
.sr-menu { display: none; width: 46px; height: 46px; border-radius: 50%; background: var(--ink); color: #fff; font-family: var(--en); font-size: 12px; font-weight: 700; }

/* 모바일 전체 메뉴 */
.sr-sheet { position: fixed; inset: 0; z-index: 70; background: var(--night); color: #fff; padding: 22px 24px 40px; overflow-y: auto; opacity: 0; visibility: hidden; transition: opacity .25s, visibility .25s; }
body.menu-open .sr-sheet { opacity: 1; visibility: visible; }
body.menu-open { overflow: hidden; }
.sr-sheet .head { display: flex; justify-content: space-between; align-items: center; }
.sr-sheet .head img { height: 22px; filter: invert(1); }
.sr-sheet .close { width: 46px; height: 46px; border-radius: 50%; background: #fff; color: var(--ink); font-size: 22px; }
.sr-sheet .group { margin-top: 36px; }
.sr-sheet .group > a { font-size: 30px; font-weight: 800; letter-spacing: -0.03em; }
.sr-sheet .group .subs { margin-top: 10px; display: grid; gap: 6px; }
.sr-sheet .group .subs a { color: #a8a8a8; font-size: 16px; }

/* ---------- 푸터 ---------- */
.sr-footer { background: var(--night); color: #a8a8a8; padding: 96px 0 40px; font-size: 15px; overflow: hidden; }
.sr-footer .cols { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 40px 160px; } /* 왼쪽부터, 칸과 칸 사이 빈 간격을 똑같이 160px */
.sr-footer .cols h4 { font-family: var(--en); font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: #fff; margin-bottom: 18px; }
.sr-footer .cols p, .sr-footer .cols li, .sr-footer .kv { line-height: 1.9; }
/* 세 칸의 줄이 가로로 나란히 맞도록 줄 간격을 모두 같게, 연락처는 항목명·내용 두 칸으로 */
.sr-footer .kv { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 20px; }
.sr-footer .kv dt { color: #6f6f6f; }
.sr-footer .kv dd { overflow-wrap: anywhere; }
.sr-footer .cols a:hover { color: #fff; }
.sr-footer .bottom { margin-top: 72px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.12); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 13px; }

/* 준비 중 안내 */
.sr-toast { position: fixed; left: 50%; bottom: 40px; transform: translate(-50%, 20px); background: var(--ink); color: #fff; padding: 13px 22px; border-radius: 999px; font-size: 14px; opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; z-index: 130; }
.sr-toast.show { opacity: 1; transform: translate(-50%, 0); }

/* 스크롤하면 나타나기 */
.rv { opacity: 0; transform: translateY(36px); transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1); }
.rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .rv { opacity: 1; transform: none; }
  .ticker .track, .badge svg { animation: none; }
}

@media (max-width: 1080px) {
  .sr-nav, .sr-apply { display: none; }
  .sr-menu { display: block; }
  .sr-footer .cols { grid-template-columns: 1fr 1fr; justify-content: stretch; }
}
@media (max-width: 760px) {
  .wrap { padding: 0 20px; }
  .sec { padding: 88px 0; }
  .sec.tight { padding: 64px 0; }
  .sec-head { grid-template-columns: 1fr; gap: 18px; margin-bottom: 40px; }
  .p-hero { padding-top: 36px; }
  .p-hero .top { grid-template-columns: 1fr; gap: 20px; }
  .p-hero .pic { margin-top: 32px; aspect-ratio: 4 / 3.4; border-radius: 22px; }
  .badge { width: 96px; height: 96px; }
  .badge svg text { font-size: 10.5px; letter-spacing: 1.6px; }
  .badge b { font-size: 22px; }
  .ticker span { font-size: 19px; gap: 36px; padding: 0 18px; }
  .cta { padding-bottom: 72px; }
  .cta .box { grid-template-columns: 1fr; padding: 40px 24px; border-radius: 26px; }
  .btn { height: 52px; }
  .sr-footer { padding-top: 64px; }
  .sr-footer .cols { grid-template-columns: 1fr; justify-content: stretch; gap: 28px; }
  }

/* 원고가 아직 없는 자리 (주황 점선) */
.todo { outline: 2px dashed var(--rocket); outline-offset: 4px; border-radius: 6px; }

/* ---------- 왼쪽 고정 번호 + 오른쪽 내용 ---------- */
.chapter { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 56px; align-items: start; }
.chapter .side { position: sticky; top: 110px; }
.chapter .side .no { font-family: var(--en); font-size: 96px; line-height: .9; font-weight: 900; letter-spacing: -0.06em; color: var(--accent); }
.chapter .side .nm { margin-top: 14px; font-size: 18px; font-weight: 700; color: var(--ink); }
.chapter .side .en { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.big-quote { font-size: var(--fs-sub); line-height: 1.35; font-weight: 800; letter-spacing: -0.035em; color: var(--ink); }
.big-quote em { font-style: normal; color: var(--accent); }
@media (max-width: 960px) {
  .chapter { grid-template-columns: 1fr; gap: 28px; }
  .chapter .side { position: static; display: flex; align-items: baseline; gap: 16px; flex-wrap: wrap; }
  .chapter .side .no { font-size: 60px; }
  .chapter .side .nm { margin-top: 0; }
}

