/*
Theme Name: Rolex Repl Guide Landing
Theme URI: https://example.com/
Author: OpenAI
Author URI: https://openai.com/
Description: 클린공장·VS공장·ARF공장 및 시계 모델 비교를 위한 고급형 원페이지 워드프레스 랜딩 테마.
Version: 1.0.1
Requires at least: 6.2
Tested up to: 6.6
Requires PHP: 7.4
Text Domain: rolex-repl-guide
*/

:root {
  --rrg-bg: #0b0b0c;
  --rrg-bg-soft: #131315;
  --rrg-card: rgba(255,255,255,.055);
  --rrg-card-strong: #18181b;
  --rrg-line: rgba(255,255,255,.12);
  --rrg-text: #f7f4ed;
  --rrg-muted: #b9b5aa;
  --rrg-gold: #d9b66f;
  --rrg-gold-2: #f0d79d;
  --rrg-dark-gold: #8b6b31;
  --rrg-radius: 24px;
  --rrg-shadow: 0 24px 90px rgba(0,0,0,.38);
  --rrg-width: 1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--rrg-bg);
  color: var(--rrg-text);
  font-family: Pretendard, "Noto Sans KR", "Apple SD Gothic Neo", Arial, sans-serif;
  line-height: 1.7;
  letter-spacing: -.02em;
}
body.admin-bar .rrg-header { top: 32px; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, textarea, select { font: inherit; }

.rrg-wrap { width: min(calc(100% - 40px), var(--rrg-width)); margin: 0 auto; }
.rrg-section { position: relative; padding: 118px 0; overflow: hidden; }
.rrg-section--soft { background: var(--rrg-bg-soft); }
.rrg-section--line { border-top: 1px solid var(--rrg-line); }
.rrg-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  color: var(--rrg-gold-2);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.rrg-kicker::before { content: ""; width: 34px; height: 1px; background: currentColor; }
.rrg-title {
  margin: 0;
  font-family: "Noto Serif KR", Georgia, serif;
  font-size: clamp(36px, 5.2vw, 72px);
  line-height: 1.08;
  letter-spacing: -.05em;
}
.rrg-title span { color: var(--rrg-gold-2); }
.rrg-section-title {
  margin: 0;
  font-family: "Noto Serif KR", Georgia, serif;
  font-size: clamp(32px, 4vw, 56px);
  line-height: 1.16;
  letter-spacing: -.045em;
}
.rrg-lead { margin: 24px 0 0; max-width: 700px; color: var(--rrg-muted); font-size: 18px; }
.rrg-center { text-align: center; }
.rrg-center .rrg-lead { margin-left: auto; margin-right: auto; }

.rrg-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  transition: background .25s ease, border-color .25s ease, backdrop-filter .25s ease;
  border-bottom: 1px solid transparent;
}
.rrg-header.is-scrolled {
  background: rgba(9,9,10,.82);
  border-color: var(--rrg-line);
  backdrop-filter: blur(18px);
}
.rrg-header__inner { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.rrg-brand { display: flex; align-items: center; gap: 12px; font-weight: 900; letter-spacing: -.03em; }
.rrg-brand__mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(240,215,157,.55);
  border-radius: 50%;
  color: var(--rrg-gold-2);
  font-family: Georgia, serif;
  font-size: 17px;
}
.rrg-nav { display: flex; align-items: center; gap: 28px; color: #dedbd3; font-size: 14px; font-weight: 700; }
.rrg-nav a { position: relative; }
.rrg-nav a::after { content: ""; position: absolute; left: 0; bottom: -8px; width: 0; height: 1px; background: var(--rrg-gold); transition: width .2s ease; }
.rrg-nav a:hover::after { width: 100%; }
.rrg-mobile-toggle { display: none; border: 0; color: #fff; background: transparent; font-size: 24px; cursor: pointer; }

.rrg-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  min-height: 56px;
  padding: 0 28px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 900;
  letter-spacing: -.02em;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.rrg-btn:hover { transform: translateY(-2px); }
.rrg-btn--gold {
  background: linear-gradient(135deg, #f1d9a0, #c89a47);
  color: #16120a;
  box-shadow: 0 14px 40px rgba(200,154,71,.22);
}
.rrg-btn--ghost { border-color: var(--rrg-line); background: rgba(255,255,255,.03); }
.rrg-btn__arrow { font-size: 19px; transform: translateY(-1px); }

.rrg-hero {
  min-height: 100vh;
  padding: 150px 0 86px;
  display: flex;
  align-items: center;
  background:
    radial-gradient(circle at 16% 30%, rgba(217,182,111,.13), transparent 32%),
    radial-gradient(circle at 86% 12%, rgba(255,255,255,.08), transparent 27%),
    #0a0a0b;
}
.rrg-hero::after {
  content: "";
  position: absolute;
  right: -15%;
  bottom: -35%;
  width: 650px;
  height: 650px;
  border-radius: 50%;
  border: 1px solid rgba(217,182,111,.16);
  box-shadow: 0 0 0 80px rgba(217,182,111,.025), 0 0 0 160px rgba(217,182,111,.018);
}
.rrg-hero__grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1.04fr .96fr; gap: 70px; align-items: center; }
.rrg-hero__copy { max-width: 660px; }
.rrg-hero__desc { margin: 28px 0 0; max-width: 610px; color: var(--rrg-muted); font-size: 18px; }
.rrg-hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 38px; }
.rrg-hero__trust { display: flex; flex-wrap: wrap; gap: 18px 26px; margin-top: 34px; color: #a8a397; font-size: 13px; }
.rrg-hero__trust span { display: inline-flex; align-items: center; gap: 8px; }
.rrg-hero__trust span::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--rrg-gold); box-shadow: 0 0 0 4px rgba(217,182,111,.11); }
.rrg-hero__visual { position: relative; min-height: 590px; }
.rrg-hero-card {
  position: absolute;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 28px;
  background: #171719;
  box-shadow: var(--rrg-shadow);
}
.rrg-hero-card img { width: 100%; height: 100%; object-fit: cover; }
.rrg-hero-card--main { inset: 10px 0 60px 70px; transform: rotate(2.5deg); }
.rrg-hero-card--sub { width: 46%; height: 44%; left: 0; bottom: 0; transform: rotate(-5deg); z-index: 3; }
.rrg-hero-badge {
  position: absolute;
  right: 18px;
  bottom: 18px;
  z-index: 5;
  padding: 14px 18px;
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 16px;
  background: rgba(10,10,11,.78);
  backdrop-filter: blur(12px);
  box-shadow: 0 16px 40px rgba(0,0,0,.26);
}
.rrg-hero-badge strong { display: block; color: var(--rrg-gold-2); font-family: Georgia, serif; font-size: 19px; }
.rrg-hero-badge span { color: var(--rrg-muted); font-size: 12px; }

.rrg-factory-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 54px; }
.rrg-factory-card {
  position: relative;
  min-height: 360px;
  padding: 34px;
  overflow: hidden;
  border: 1px solid var(--rrg-line);
  border-radius: var(--rrg-radius);
  background: linear-gradient(155deg, rgba(255,255,255,.07), rgba(255,255,255,.025));
}
.rrg-factory-card::before {
  content: attr(data-index);
  position: absolute;
  right: 20px;
  top: -20px;
  color: rgba(255,255,255,.035);
  font-family: Georgia, serif;
  font-size: 140px;
  line-height: 1;
}
.rrg-factory-card__label { display: inline-block; color: var(--rrg-gold); font-size: 12px; font-weight: 900; letter-spacing: .14em; }
.rrg-factory-card h3 { margin: 16px 0 14px; font-family: Georgia, "Noto Serif KR", serif; font-size: 34px; }
.rrg-factory-card p { margin: 0; color: var(--rrg-muted); }
.rrg-factory-card ul { margin: 28px 0 0; padding: 0; list-style: none; display: grid; gap: 11px; }
.rrg-factory-card li { display: flex; gap: 10px; color: #e5e0d6; font-size: 14px; }
.rrg-factory-card li::before { content: "✦"; color: var(--rrg-gold); }

.rrg-gallery { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: 115px; gap: 16px; margin-top: 52px; }
.rrg-gallery__item {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--rrg-line);
  border-radius: 20px;
  background: #171719;
}
.rrg-gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.8,.2,1), filter .6s ease; }
.rrg-gallery__item:hover img { transform: scale(1.045); filter: contrast(1.03); }
.rrg-gallery__item::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.28), transparent 45%); pointer-events: none; }
.rrg-gallery__item:nth-child(1) { grid-column: span 7; grid-row: span 4; }
.rrg-gallery__item:nth-child(2) { grid-column: span 5; grid-row: span 3; }
.rrg-gallery__item:nth-child(3) { grid-column: span 5; grid-row: span 3; }
.rrg-gallery__item:nth-child(4) { grid-column: span 4; grid-row: span 3; }
.rrg-gallery__item:nth-child(5) { grid-column: span 4; grid-row: span 3; }
.rrg-gallery__item:nth-child(6) { grid-column: span 4; grid-row: span 3; }
.rrg-gallery__item:nth-child(7) { grid-column: span 5; grid-row: span 3; }
.rrg-gallery__item:nth-child(8) { grid-column: span 7; grid-row: span 3; }
.rrg-gallery__item:nth-child(9) { grid-column: span 12; grid-row: span 4; }

.rrg-comparison { margin-top: 50px; overflow: hidden; border: 1px solid var(--rrg-line); border-radius: var(--rrg-radius); background: rgba(255,255,255,.035); }
.rrg-comparison__row { display: grid; grid-template-columns: 1.2fr repeat(3, 1fr); }
.rrg-comparison__row > div { padding: 22px 24px; border-right: 1px solid var(--rrg-line); border-bottom: 1px solid var(--rrg-line); }
.rrg-comparison__row > div:last-child { border-right: 0; }
.rrg-comparison__row:last-child > div { border-bottom: 0; }
.rrg-comparison__head { background: rgba(217,182,111,.08); font-weight: 900; }
.rrg-comparison__label { color: var(--rrg-gold-2); font-weight: 900; }
.rrg-comparison__value { color: #d3cec3; }

.rrg-check-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-top: 48px; }
.rrg-check {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 24px;
  border: 1px solid var(--rrg-line);
  border-radius: 18px;
  background: rgba(255,255,255,.03);
}
.rrg-check__num { flex: 0 0 44px; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; background: rgba(217,182,111,.11); color: var(--rrg-gold-2); font-family: Georgia, serif; font-size: 17px; }
.rrg-check h3 { margin: 2px 0 6px; font-size: 18px; }
.rrg-check p { margin: 0; color: var(--rrg-muted); font-size: 14px; }

.rrg-cta {
  position: relative;
  padding: 72px;
  overflow: hidden;
  border: 1px solid rgba(217,182,111,.25);
  border-radius: 34px;
  background:
    linear-gradient(110deg, rgba(217,182,111,.16), rgba(255,255,255,.035) 48%, rgba(217,182,111,.06)),
    #141416;
  box-shadow: var(--rrg-shadow);
}
.rrg-cta::before { content: ""; position: absolute; width: 420px; height: 420px; right: -160px; top: -210px; border: 1px solid rgba(240,215,157,.18); border-radius: 50%; box-shadow: 0 0 0 55px rgba(240,215,157,.025), 0 0 0 110px rgba(240,215,157,.018); }
.rrg-cta__inner { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.rrg-cta h2 { margin: 0; max-width: 760px; font-family: "Noto Serif KR", Georgia, serif; font-size: clamp(34px, 4vw, 56px); line-height: 1.15; }
.rrg-cta p { margin: 16px 0 0; color: var(--rrg-muted); }

.rrg-footer { padding: 54px 0; border-top: 1px solid var(--rrg-line); background: #080809; }
.rrg-footer__inner { display: flex; align-items: flex-start; justify-content: space-between; gap: 40px; }
.rrg-footer__notice { max-width: 760px; color: #918d84; font-size: 12px; line-height: 1.8; }
.rrg-footer__copy { color: #77736c; font-size: 12px; white-space: nowrap; }

.rrg-reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.rrg-reveal.is-visible { opacity: 1; transform: none; }

@media (max-width: 1024px) {
  .rrg-nav { display: none; position: absolute; top: 82px; left: 20px; right: 20px; padding: 20px; flex-direction: column; align-items: stretch; border: 1px solid var(--rrg-line); border-radius: 18px; background: rgba(10,10,11,.97); }
  .rrg-nav.is-open { display: flex; }
  .rrg-nav .rrg-btn { width: 100%; }
  .rrg-mobile-toggle { display: block; }
  .rrg-hero__grid { grid-template-columns: 1fr; }
  .rrg-hero__copy { max-width: 820px; }
  .rrg-hero__visual { min-height: 560px; max-width: 760px; width: 100%; margin: 0 auto; }
  .rrg-factory-grid { grid-template-columns: 1fr; }
  .rrg-factory-card { min-height: 0; }
  .rrg-cta__inner { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 782px) { body.admin-bar .rrg-header { top: 46px; } }

@media (max-width: 720px) {
  .rrg-wrap { width: min(calc(100% - 28px), var(--rrg-width)); }
  .rrg-section { padding: 82px 0; }
  .rrg-header__inner { min-height: 72px; }
  .rrg-nav { top: 72px; }
  .rrg-hero { min-height: auto; padding: 126px 0 72px; }
  .rrg-hero__grid { gap: 46px; }
  .rrg-hero__desc, .rrg-lead { font-size: 16px; }
  .rrg-hero__actions { flex-direction: column; }
  .rrg-btn { width: 100%; }
  .rrg-hero__visual { min-height: 420px; }
  .rrg-hero-card--main { inset: 0 0 50px 38px; }
  .rrg-hero-card--sub { width: 48%; height: 40%; }
  .rrg-gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 150px; gap: 10px; }
  .rrg-gallery__item:nth-child(n) { grid-column: span 1; grid-row: span 2; border-radius: 14px; }
  .rrg-gallery__item:nth-child(1), .rrg-gallery__item:nth-child(9) { grid-column: span 2; grid-row: span 2; }
  .rrg-comparison { overflow-x: auto; }
  .rrg-comparison__row { min-width: 760px; }
  .rrg-check-grid { grid-template-columns: 1fr; }
  .rrg-cta { padding: 40px 28px; border-radius: 24px; }
  .rrg-footer__inner { flex-direction: column; }
  .rrg-footer__copy { white-space: normal; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .rrg-reveal { opacity: 1; transform: none; }
}
