/* Nomad Camp – website styles */

@font-face { font-family: "Cinzel"; font-weight: 600; font-display: swap;
  src: url("fonts/cinzel-latin-600-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Cinzel"; font-weight: 600; font-display: swap;
  src: url("fonts/cinzel-latin-ext-600-normal.woff2") format("woff2");
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Cinzel"; font-weight: 700; font-display: swap;
  src: url("fonts/cinzel-latin-700-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Cinzel"; font-weight: 700; font-display: swap;
  src: url("fonts/cinzel-latin-ext-700-normal.woff2") format("woff2");
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Alegreya"; font-weight: 400; font-style: normal; font-display: swap;
  src: url("fonts/alegreya-latin-400-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Alegreya"; font-weight: 400; font-style: normal; font-display: swap;
  src: url("fonts/alegreya-latin-ext-400-normal.woff2") format("woff2");
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Alegreya"; font-weight: 400; font-style: italic; font-display: swap;
  src: url("fonts/alegreya-latin-400-italic.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Alegreya"; font-weight: 400; font-style: italic; font-display: swap;
  src: url("fonts/alegreya-latin-ext-400-italic.woff2") format("woff2");
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Alegreya"; font-weight: 700; font-style: normal; font-display: swap;
  src: url("fonts/alegreya-latin-700-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Alegreya"; font-weight: 700; font-style: normal; font-display: swap;
  src: url("fonts/alegreya-latin-ext-700-normal.woff2") format("woff2");
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --bg: #0c0906;
  --bg-2: #15100a;
  --panel: rgba(28, 20, 12, 0.92);
  --line: rgba(201, 162, 74, 0.35);
  --gold: #d9b45a;
  --gold-hi: #f3d98c;
  --gold-lo: #9a7428;
  --text: #eadfc6;
  --muted: #b9a988;
  --red: #b5452f;
  --head: "Cinzel", "Trajan Pro", Georgia, serif;
  --body: "Alegreya", Georgia, "Times New Roman", serif;
  --wrap: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--body); font-size: 19px; line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold-hi); }
a:hover { color: #fff3c9; }
.wrap { width: min(var(--wrap), 100% - 40px); margin: 0 auto; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  font-family: var(--head); font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  text-decoration: none; border-radius: 6px; cursor: pointer; white-space: nowrap;
  transition: transform .15s ease, box-shadow .15s ease, filter .15s ease;
}
.btn-gold {
  --tip: 20px; --bw: 3px;
  position: relative; isolation: isolate; color: #f8de96; padding: .95em 2.6em; font-size: 1.12rem;
  text-shadow: 0 1px 0 #2a1604, 0 0 12px rgba(255, 200, 90, .35);
  filter: drop-shadow(0 8px 18px rgba(0,0,0,.6)) drop-shadow(0 0 14px rgba(240, 180, 70, .28));
}
.btn-gold::before, .btn-gold::after {
  content: ""; position: absolute; z-index: -1;
  clip-path: polygon(0 50%, var(--tip) 0, calc(100% - var(--tip)) 0, 100% 50%, calc(100% - var(--tip)) 100%, var(--tip) 100%);
}
.btn-gold::before { inset: 0; background: linear-gradient(180deg, #fff0b5 0%, #e7bf5c 30%, #9c6d22 55%, #e2b85a 80%, #fbe39c 100%); }
.btn-gold::after {
  inset: var(--bw); --tip: calc(20px - 2px);
  background:
    radial-gradient(ellipse 70% 120% at 50% 0%, rgba(255, 200, 110, .38), rgba(255, 200, 110, 0) 60%),
    linear-gradient(180deg, #8a5418 0%, #5c3410 48%, #3a1f07 52%, #4d2b0b 100%);
}
.btn-gold .orn {
  position: absolute; left: 50%; width: 9px; height: 9px; margin-left: -4.5px; transform: rotate(45deg);
  background: linear-gradient(135deg, #fff0b5, #c9973a); box-shadow: 0 0 6px rgba(255, 210, 120, .7);
}
.btn-gold .orn.t { top: -4px; } .btn-gold .orn.b { bottom: -4px; }
.btn-gold:hover { color: #fff3c9; transform: translateY(-2px);
  filter: drop-shadow(0 10px 20px rgba(0,0,0,.65)) drop-shadow(0 0 22px rgba(255, 196, 80, .5)); }
.btn-gold:hover::after { background:
    radial-gradient(ellipse 70% 120% at 50% 0%, rgba(255, 210, 120, .5), rgba(255, 210, 120, 0) 62%),
    linear-gradient(180deg, #9a6020 0%, #6a3c12 48%, #44250a 52%, #5a330e 100%); }
.btn-gold .play-icon { width: .8em; height: .8em; color: #f8de96; filter: drop-shadow(0 1px 0 #2a1604); }
.btn-ghost {
  color: var(--gold-hi); padding: .5em 1.1em; font-size: .78rem;
  border: 1px solid var(--gold-lo); background: rgba(0,0,0,.35);
}
.btn-ghost:hover { border-color: var(--gold); background: rgba(60, 40, 10, .5); color: #fff3c9; }
.btn-small { padding: .6em 1.6em; font-size: .8rem; }
.btn-small.btn-gold { --tip: 12px; --bw: 2px; }
.btn-small.btn-gold::after { --tip: 11px; }
.btn-discord { color: #fff; background: #5865f2; border: 1px solid #8891f7; padding: .6em 1.3em; font-size: .85rem; }
.btn-discord:hover { color: #fff; filter: brightness(1.1); }
.btn-discord svg { width: 1.3em; height: 1.3em; }

/* ---------- header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  background: linear-gradient(180deg, rgba(8,5,2,.85), rgba(8,5,2,.55));
  backdrop-filter: blur(6px); border-bottom: 1px solid rgba(201,162,74,.18);
  transition: background .2s ease;
}
.site-header.scrolled { background: rgba(10, 7, 3, .96); }
.header-row { display: flex; align-items: center; gap: 22px; height: 64px; }
.brand { display: flex; align-items: center; text-decoration: none; }
.brand img { height: 30px; width: auto; }
.main-nav { display: flex; gap: 22px; margin-left: 14px; }
.main-nav a {
  font-family: var(--head); font-weight: 600; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--text); text-decoration: none; opacity: .85;
}
.main-nav a:hover { color: var(--gold-hi); opacity: 1; }
.header-actions { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.lang-switch { display: flex; border: 1px solid var(--gold-lo); border-radius: 5px; overflow: hidden; }
.lang-switch a {
  font-family: var(--head); font-weight: 700; font-size: .72rem; letter-spacing: .1em;
  padding: .45em .7em; text-decoration: none; color: var(--muted);
}
.lang-switch a[aria-current="true"] { background: var(--gold-lo); color: #1c1205; }

/* ---------- hero ---------- */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: grid; place-items: center; text-align: center; overflow: hidden;
  padding: 90px 20px 70px;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 40%; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background:
    radial-gradient(ellipse 55% 48% at 50% 50%, rgba(10,6,2,.62) 0%, rgba(10,6,2,.35) 55%, rgba(10,6,2,0) 100%),
    linear-gradient(180deg, rgba(8,5,2,.35) 0%, rgba(8,5,2,0) 22%, rgba(8,5,2,0) 70%, var(--bg) 100%);
}
.hero-inner { position: relative; z-index: 2; max-width: 860px; }
.hero-logo { width: min(640px, 86vw); margin: 0 auto; filter: drop-shadow(0 6px 22px rgba(0,0,0,.7)); }
.hero-camp {
  font-family: var(--head); font-weight: 700; color: var(--gold-hi);
  font-size: clamp(1rem, 2.2vw, 1.45rem); letter-spacing: .9em; text-transform: uppercase;
  margin: .2em 0 0 .9em; text-shadow: 0 2px 10px rgba(0,0,0,.9);
}
.hero-divider { display: flex; align-items: center; justify-content: center; gap: 14px; margin: 1.1em auto .9em; color: var(--gold); }
.hero-divider::before, .hero-divider::after { content: ""; height: 1px; width: min(160px, 22vw); background: linear-gradient(90deg, transparent, var(--gold)); }
.hero-divider::after { background: linear-gradient(90deg, var(--gold), transparent); }
.hero-slogan {
  font-style: italic; font-size: clamp(1.15rem, 2.4vw, 1.6rem); line-height: 1.4; margin: 0 auto 1.6em;
  color: #fff4dc; text-shadow: 0 2px 12px rgba(0,0,0,.95), 0 0 2px rgba(0,0,0,.9); max-width: 640px;
}
.hero-sub {
  margin-top: 1.4em; font-family: var(--head); font-weight: 600; font-size: .78rem; letter-spacing: .2em; text-transform: uppercase;
  color: var(--text); text-shadow: 0 2px 8px rgba(0,0,0,.95);
}
.hero-links { margin-top: 1em; font-size: 1rem; color: var(--text); text-shadow: 0 2px 8px rgba(0,0,0,.95); }
.hero-links a { color: var(--gold-hi); font-weight: 700; }
.scroll-hint { position: absolute; z-index: 2; bottom: 22px; left: 50%; transform: translateX(-50%); color: var(--gold); opacity: .8; animation: bob 2.2s ease-in-out infinite; }
.scroll-hint svg { width: 28px; height: 28px; }
@keyframes bob { 50% { transform: translate(-50%, 6px); } }

/* ---------- sections ---------- */
section { padding: 96px 0; position: relative; }
.section-head { text-align: center; margin-bottom: 52px; }
.eyebrow { font-family: var(--head); font-weight: 600; letter-spacing: .3em; text-transform: uppercase; font-size: .75rem; color: var(--gold); }
h2 {
  font-family: var(--head); font-weight: 700; font-size: clamp(1.8rem, 3.6vw, 2.6rem); line-height: 1.2; margin: .3em 0 0;
  background: linear-gradient(180deg, #fbe7a8, #d4a645 60%, #a97c2c); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.ornament { display: block; margin: 18px auto 0; width: 180px; height: 14px; color: var(--gold); }

/* story */
.story { background: radial-gradient(ellipse 70% 60% at 50% 0%, #20160c 0%, var(--bg) 70%); }
.story-text { max-width: 720px; margin: 0 auto; font-size: 1.12rem; }
.story-text p { margin: 0 0 1.15em; }
.story-text .lead { font-style: italic; font-size: 1.3rem; text-align: center; color: var(--gold-hi); margin-bottom: 1.6em; }
.story-text p.first::first-letter {
  float: left; font-family: var(--head); font-weight: 700; font-size: 3.6em; line-height: .85; margin: .06em .12em 0 0; color: var(--gold);
}
.story-text .closing { text-align: center; font-size: 1.22rem; color: #fff1d0; margin-top: 1.8em; }
.story-text .closing strong { color: var(--gold-hi); }
.story-cta { text-align: center; margin-top: 40px; }

/* classes */
.classes { background: var(--bg-2); border-top: 1px solid rgba(201,162,74,.12); border-bottom: 1px solid rgba(201,162,74,.12); }
.class-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.class-card {
  background: var(--panel); border: 1px solid var(--line); border-radius: 10px; overflow: hidden;
  display: flex; flex-direction: column; box-shadow: 0 18px 40px rgba(0,0,0,.45);
}
.class-card figure { margin: 0; position: relative; aspect-ratio: 320 / 380; overflow: hidden; }
.class-card figure img { width: 100%; height: 100%; object-fit: cover; object-position: center 12%; transition: transform .5s ease; }
.class-card:hover figure img { transform: scale(1.04); }
.class-card figure::after { content: ""; position: absolute; inset: auto 0 0 0; height: 45%; background: linear-gradient(180deg, transparent, rgba(28,20,12,1)); }
.class-name { position: absolute; z-index: 1; left: 0; right: 0; bottom: 10px; text-align: center; font-family: var(--head); font-weight: 700; font-size: 1.6rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-hi); text-shadow: 0 2px 10px #000; }
.class-body { padding: 8px 24px 26px; display: flex; flex-direction: column; gap: 14px; flex: 1; }
.class-body p { margin: 0; font-size: 1.02rem; }
.class-body .cta { font-style: italic; color: var(--gold-hi); }
.class-stats { list-style: none; margin: 4px 0 0; padding: 0; border-top: 1px solid var(--line); font-size: .95rem; }
.class-stats li { display: grid; grid-template-columns: 7.2em 1fr; gap: 10px; padding: 7px 0; border-bottom: 1px solid rgba(201,162,74,.14); }
.class-stats .k { font-family: var(--head); font-weight: 600; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); padding-top: .25em; }
.class-stats .skill { display: block; color: #9be08f; font-weight: 700; }

/* features */
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 22px; }
.feature {
  background: linear-gradient(180deg, rgba(36,26,14,.9), rgba(22,16,9,.9)); border: 1px solid var(--line); border-radius: 10px; padding: 26px 26px 24px;
  position: relative;
}
.feature::before { content: ""; position: absolute; top: -1px; left: 24px; right: 24px; height: 2px; background: linear-gradient(90deg, transparent, var(--gold), transparent); }
.feature h3 { font-family: var(--head); font-weight: 700; font-size: 1.08rem; letter-spacing: .05em; color: var(--gold-hi); margin: 0 0 .55em; display: flex; align-items: center; gap: .6em; }
.feature h3 .gem { flex: none; width: 10px; height: 10px; transform: rotate(45deg); background: linear-gradient(135deg, #fbe6a2, #b8862e); box-shadow: 0 0 10px rgba(240,190,80,.6); }
.feature p { margin: 0; font-size: 1rem; color: var(--text); }
.feature:last-child { grid-column: 1 / -1; text-align: center; }
.feature:last-child h3 { justify-content: center; }

/* gallery */
.gallery { background: var(--bg-2); border-top: 1px solid rgba(201,162,74,.12); }
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.gallery-grid .shot:first-child { grid-column: span 2; grid-row: span 2; }
.shot { position: relative; padding: 0; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; cursor: zoom-in; background: #000; aspect-ratio: 16 / 10; }
.shot img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease, filter .4s ease; }
.shot:hover img, .shot:focus-visible img { transform: scale(1.05); filter: brightness(1.1); }
.shot span { position: absolute; left: 0; right: 0; bottom: 0; padding: 22px 12px 8px; font-family: var(--head); font-weight: 600; font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--gold-hi); text-align: left; background: linear-gradient(180deg, transparent, rgba(0,0,0,.85)); }
.shot:focus-visible { outline: 2px solid var(--gold-hi); outline-offset: 2px; }
.shot-cta { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; text-align: center; padding: 16px;
  border: 1px dashed var(--gold-lo); border-radius: 8px; aspect-ratio: 16 / 10; text-decoration: none; color: var(--text);
  background: radial-gradient(ellipse at center, rgba(70,48,16,.55), rgba(20,14,8,.9)); }
.shot-cta:hover { border-color: var(--gold); color: var(--gold-hi); }
.shot-cta .t { font-style: italic; font-size: 1.02rem; }

.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(5,3,1,.94); display: none; align-items: center; justify-content: center; padding: 50px 70px; }
.lightbox.open { display: flex; }
.lightbox figure { margin: 0; max-width: 100%; max-height: 100%; display: flex; flex-direction: column; align-items: center; }
.lightbox img { max-width: 100%; max-height: calc(100vh - 140px); border: 1px solid var(--line); border-radius: 6px; box-shadow: 0 20px 60px #000; }
.lightbox figcaption { margin-top: 14px; font-family: var(--head); font-weight: 600; letter-spacing: .1em; text-transform: uppercase; font-size: .85rem; color: var(--gold-hi); text-align: center; }
.lb-btn { position: absolute; background: rgba(0,0,0,.5); color: var(--gold-hi); border: 1px solid var(--gold-lo); border-radius: 50%; width: 48px; height: 48px; font-size: 26px; line-height: 1; cursor: pointer; display: grid; place-items: center; }
.lb-btn:hover { border-color: var(--gold); background: rgba(60,40,10,.6); }
.lb-close { top: 16px; right: 16px; }
.lb-prev { left: 14px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 14px; top: 50%; transform: translateY(-50%); }

/* final call */
.final-call { text-align: center; padding: 110px 0; background:
  linear-gradient(180deg, rgba(12,9,6,.85), rgba(12,9,6,.6), rgba(12,9,6,.95)), url("img/hero-1024.webp") center 60% / cover no-repeat; }
.final-call p { font-size: 1.3rem; font-style: italic; max-width: 640px; margin: 18px auto 34px; color: #fff1d0; }

/* footer */
.site-footer { background: #070503; border-top: 1px solid rgba(201,162,74,.2); padding: 46px 0 34px; font-size: .92rem; color: var(--muted); }
.footer-row { display: flex; flex-wrap: wrap; gap: 30px; justify-content: space-between; align-items: flex-start; }
.footer-brand img { height: 34px; width: auto; margin-bottom: 10px; }
.footer-links { display: flex; flex-direction: column; gap: 6px; }
.footer-links a { color: var(--text); text-decoration: none; }
.footer-links a:hover { color: var(--gold-hi); text-decoration: underline; }
.footer-title { font-family: var(--head); font-weight: 700; font-size: .75rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); margin-bottom: 8px; }
.footer-bottom { margin-top: 32px; padding-top: 18px; border-top: 1px solid rgba(201,162,74,.12); font-size: .82rem; text-align: center; }
[hidden] { display: none !important; }

/* ---------- responsive ---------- */
@media (max-width: 1020px) {
  .main-nav { display: none; }
  .class-grid { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; }
  .class-card figure { aspect-ratio: 4 / 3; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  body { font-size: 18px; }
  section { padding: 72px 0; }
  .header-row { gap: 10px; height: 58px; }
  .brand img { height: 22px; }
  .header-actions .btn-ghost { display: none; }
  .btn-small { padding: .55em 1.3em; font-size: .72rem; }
  .hero-bg img { object-position: 22% 40%; }
  .hero::before { background:
    radial-gradient(ellipse 90% 45% at 50% 48%, rgba(10,6,2,.7) 0%, rgba(10,6,2,.35) 60%, rgba(10,6,2,0) 100%),
    linear-gradient(180deg, rgba(8,5,2,.35) 0%, rgba(8,5,2,0) 22%, rgba(8,5,2,0) 70%, var(--bg) 100%); }
  .hero-camp { letter-spacing: .6em; margin-left: .6em; }
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-grid .shot:first-child { grid-column: auto; grid-row: auto; }
  .lightbox { padding: 60px 10px; }
  .lb-prev, .lb-next { top: auto; bottom: 14px; transform: none; }
  .lb-prev { left: calc(50% - 60px); } .lb-next { right: calc(50% - 60px); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .scroll-hint { animation: none; }
  * { transition: none !important; }
}
