@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,400;9..144,500;9..144,600&family=Plus+Jakarta+Sans:wght@400;500;600;700&display=swap');

:root {
  --ink: #f8f7ff;
  --ink-soft: #cdc9df;
  --hot: #ff6a5f;
  --sun: #ffbf59;
  --sky: #61d3ff;
  --glass: rgba(255, 255, 255, 0.09);
  --glass-strong: rgba(255, 255, 255, 0.14);
  --line: rgba(255, 255, 255, 0.22);
  --shadow-soft: 0 24px 60px rgba(9, 5, 23, 0.5);
  --shadow-hard: 0 30px 90px rgba(6, 4, 19, 0.72);
}

* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 6% -6%, rgba(97, 211, 255, 0.22), transparent 42%),
    radial-gradient(circle at 88% 3%, rgba(244, 143, 177, 0.24), transparent 34%),
    radial-gradient(circle at 45% 82%, rgba(255, 106, 95, 0.22), transparent 38%),
    linear-gradient(160deg, #0f0b1a 0%, #1b1330 46%, #130f23 100%);
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }

.site-shell {
  position: relative;
  min-height: 100vh;
  isolation: isolate;
}

.atmosphere {
  position: fixed;
  inset: -10vh -5vw;
  z-index: -2;
  opacity: 0.9;
  filter: blur(80px) saturate(125%);
  background:
    radial-gradient(circle at 18% 30%, rgba(255, 106, 95, 0.35), transparent 48%),
    radial-gradient(circle at 82% 32%, rgba(97, 211, 255, 0.3), transparent 44%),
    radial-gradient(circle at 53% 84%, rgba(255, 191, 89, 0.24), transparent 44%);
}

.noise {
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image: radial-gradient(rgba(255,255,255,0.05) 0.7px, transparent 0.7px);
  background-size: 18px 18px;
  opacity: 0.25;
  pointer-events: none;
}

.glass {
  background: var(--glass);
  border: 1px solid var(--line);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 15px 45px rgba(10, 7, 29, 0.26);
}

.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 32px;
  z-index: 30;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.brand-mark {
  width: 48px;
  height: 48px;
  border-radius: 999px;
}

.brand-title {
  font-family: 'Fraunces', serif;
  font-size: 1.5rem;
  letter-spacing: 0.01em;
}

.header-meta {
  display: flex;
  gap: 16px;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: rgba(248, 247, 255, 0.8);
}

.side-ornament {
  position: fixed;
  left: 22px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 34px;
  opacity: 0.38;
}

.side-line {
  width: 1px;
  height: 110px;
  background: linear-gradient(to bottom, transparent, rgba(255,255,255,0.92), transparent);
}

.vertical-text {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  text-transform: uppercase;
  letter-spacing: 0.5em;
  font-size: 0.6rem;
  color: rgba(255, 255, 255, 0.86);
}

.page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 110px 26px 120px;
}

.home-wrap {
  width: min(1200px, 100%);
}

.guide-tabs {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  border-radius: 999px;
  padding: 6px;
  margin-bottom: 16px;
}

.guide-tab {
  padding: 10px 16px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.82);
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.guide-tab:hover {
  color: #fff;
  transform: translateY(-1px);
}

.guide-tab.active {
  background: linear-gradient(120deg, rgba(255, 191, 89, 0.95), rgba(255, 106, 95, 0.9));
  color: #1b1221;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border-radius: 999px;
  padding: 10px 16px;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: #fff2d7;
}

.hero-title {
  font-family: 'Fraunces', serif;
  font-weight: 500;
  font-size: clamp(3.4rem, 10vw, 7.2rem);
  line-height: 0.92;
  max-width: 10ch;
  margin: 20px 0 0;
  text-wrap: balance;
}

.hero-title .accent,
.step-title .accent {
  color: var(--sun);
  font-style: italic;
}

.hero-text {
  margin: 18px 0 0;
  max-width: 64ch;
  font-size: clamp(1.02rem, 2vw, 1.26rem);
  line-height: 1.72;
  color: var(--ink-soft);
}

.primary-btn,
.secondary-btn,
.ghost-btn,
.gallery-link {
  border: 0;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.primary-btn {
  margin-top: 34px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 24px;
  border-radius: 999px;
  font-weight: 700;
  color: #1b1221;
  background: linear-gradient(120deg, var(--sun), #ffd88a 52%, var(--hot));
  box-shadow: 0 16px 34px rgba(255, 106, 95, 0.32);
}

.primary-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 24px 40px rgba(255, 106, 95, 0.4);
}

.guide-slides {
  margin-top: 24px;
}

.guide-slides-title {
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 10px;
}

.guide-slides-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.guide-slide-card {
  border-radius: 16px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: var(--shadow-soft);
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.guide-slide-card:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.1);
}

.guide-slide-card.active {
  border-color: rgba(255, 191, 89, 0.8);
  background: linear-gradient(135deg, rgba(255, 191, 89, 0.16), rgba(255, 106, 95, 0.12));
}

.guide-slide-image {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  margin-bottom: 10px;
}

.guide-slide-meters {
  margin-top: 10px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.guide-slide-meters span {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.72rem;
  background: rgba(255, 255, 255, 0.14);
  color: #fff3df;
  border: 1px solid rgba(255, 255, 255, 0.22);
}
.guide-slide-label {
  font-family: 'Fraunces', serif;
  font-size: 1.06rem;
  color: #fff6df;
}

.guide-slide-text {
  margin: 6px 0 0;
  font-size: 0.86rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.82);
}

.home-grid {
  margin-top: 38px;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.gallery-link {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  min-height: 260px;
  box-shadow: var(--shadow-soft);
  isolation: isolate;
}

.gallery-link::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(11, 9, 22, 0.78), rgba(11, 9, 22, 0.12));
  z-index: 1;
}

.gallery-link img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1), filter 0.6s ease;
  filter: saturate(1.2) contrast(1.08);
}

.gallery-link:hover img {
  transform: scale(1.08);
  filter: saturate(1.34) contrast(1.16);
}

.gallery-link:hover { transform: translateY(-4px); }

.gallery-copy {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 14px;
  z-index: 2;
}

.gallery-step {
  font-size: 0.66rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
}

.gallery-title {
  margin-top: 6px;
  font-family: 'Fraunces', serif;
  font-size: 1.18rem;
  line-height: 1.1;
}

.step-grid {
  width: min(1200px, 100%);
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 44px;
  align-items: center;
}

.step-media {
  position: relative;
  border-radius: 30px;
  overflow: hidden;
  min-height: clamp(460px, 68vh, 720px);
  box-shadow: var(--shadow-hard);
  animation: drift 7s ease-in-out infinite;
}

@keyframes drift {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-9px); }
  100% { transform: translateY(0px); }
}

.step-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.25) contrast(1.12);
}

.step-media::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 80% 22%, rgba(97, 211, 255, 0.2), transparent 38%),
    radial-gradient(circle at 22% 78%, rgba(255, 106, 95, 0.22), transparent 36%),
    linear-gradient(to top, rgba(10, 8, 21, 0.84), transparent 48%);
}

.step-frame {
  position: absolute;
  inset: 16px;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  pointer-events: none;
}

.step-badge {
  position: absolute;
  left: 24px;
  bottom: 22px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 14px;
}

.step-icon {
  width: 50px;
  height: 50px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--sun);
  background: var(--glass-strong);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.step-icon svg { width: 24px; height: 24px; }

.step-num {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: rgba(255, 255, 255, 0.86);
}

.step-copy {
  padding-left: 8px;
}

.step-title {
  margin: 0;
  font-family: 'Fraunces', serif;
  font-size: clamp(3rem, 7.3vw, 5.3rem);
  font-weight: 500;
  line-height: 0.92;
  text-wrap: balance;
}

.step-text {
  margin-top: 20px;
  font-size: clamp(1.02rem, 2.1vw, 1.28rem);
  line-height: 1.78;
  color: #dfd8ef;
}

.tip-list {
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.tip-item {
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.05);
  color: #f0ecff;
  font-size: 0.93rem;
}

.cta-row {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.ghost-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-transform: uppercase;
  font-size: 0.74rem;
  letter-spacing: 0.18em;
  color: rgba(255, 255, 255, 0.78);
}

.ghost-btn:hover {
  color: #ffffff;
  transform: translateY(-1px);
}

.secondary-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 20px;
  border-radius: 999px;
  color: #fff8e8;
}

.secondary-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-1px);
}

.bottom-nav {
  position: fixed;
  left: 50%;
  bottom: 20px;
  transform: translateX(-50%);
  padding: 12px 16px;
  border-radius: 999px;
  z-index: 32;
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-dot {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  border: 0;
  background: rgba(255, 255, 255, 0.3);
}

.nav-dot:hover {
  background: rgba(255, 255, 255, 0.6);
  transform: scale(1.06);
}

.nav-dot.active {
  background: linear-gradient(120deg, var(--sun), var(--hot));
  box-shadow: 0 0 18px rgba(255, 106, 95, 0.6);
  transform: scale(1.18);
}

.fade-in {
  animation: fadeIn 0.48s ease both;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 1150px) {
  .side-ornament { display: none; }
  .guide-slides-grid { grid-template-columns: 1fr; }
  .home-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .step-grid { grid-template-columns: 1fr; gap: 26px; }
  .step-copy { padding-left: 0; }
}

@media (max-width: 760px) {
  .header {
    padding: 18px 16px;
    align-items: flex-start;
  }

  .header-meta { display: none; }
  .brand-title { font-size: 1.24rem; }

  .page {
    padding: 94px 14px 108px;
  }

  .hero-title { max-width: 12ch; }

  .guide-tabs {
    width: 100%;
    justify-content: space-between;
    gap: 6px;
  }

  .guide-tab {
    flex: 1 1 calc(33.33% - 6px);
    text-align: center;
    padding: 10px 8px;
    font-size: 0.64rem;
    letter-spacing: 0.08em;
  }

  .home-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .gallery-link { min-height: 180px; border-radius: 16px; }
  .step-media {
    border-radius: 20px;
    min-height: 390px;
  }

  .step-frame {
    inset: 10px;
    border-radius: 16px;
  }

  .step-badge {
    left: 14px;
    bottom: 14px;
  }

  .bottom-nav {
    bottom: 14px;
    padding: 10px 13px;
  }
}

