/* ============================================================
   REDLAND RP — rdr2rp.space
   Red Dead Redemption 2 Roleplay — Western landing page
   ============================================================ */

/* ---------- Custom fonts (provided) ---------- */
@font-face {
  font-family: 'Chinese Rocks';
  src: url('../assets/fonts/chinese rocks rg.otf') format('opentype');
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Rdr2rp Geo';
  src: url('../assets/fonts/Rdr2rp_geo_regular-Regular.ttf') format('truetype'),
       url('../assets/fonts/Rdr2rp_geo_regular-Regular.otf') format('opentype');
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

:root {
  /* surfaces */
  --ink:        #0c0908;
  --ink-2:      #100c0a;
  --ink-3:      #080605;

  /* parchment */
  --paper:      #e7dac0;
  --paper-ink:  #3a2c1d;
  --paper-mut:  #6f5c45;

  /* red */
  --red:        #9a241d;
  --red-bright: #c0392b;
  --red-deep:   #6c1813;

  /* accents */
  --gold:       #c39a52;
  --gold-soft:  #d8b878;
  --cream:      #ece2cf;
  --tan:        #a89a82;
  --faint:      #6f6557;
  --line:       rgba(195, 154, 82, 0.18);
  --line-dark:  rgba(255, 255, 255, 0.07);

  /* textures (provided PNGs) */
  --tex-parchment: url('../assets/images/texture1.png');
  --tex-map:       url('../assets/images/texture3.png');
  --tex-red:       url('../assets/images/texture2.png');
  --tex-riders:    url('../assets/images/footer.png');

  --display: 'Chinese Rocks', 'Cinzel', Georgia, serif;
  --body:    -apple-system, 'Segoe UI', Roboto, system-ui, sans-serif;
  --body-display: 'Rdr2rp Geo', 'EB Garamond', Georgia, serif;  /* old western body, kept for decorative use */
  --ui:      'Inter', system-ui, -apple-system, sans-serif;
  --script:  'Pinyon Script', cursive;

  --maxw: 1200px;
}

*,*::before,*::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--body);
  background: var(--ink);
  color: var(--cream);
  font-size: 18px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
svg { display: block; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }

/* body paragraphs render at Medium weight for readability */
p { font-weight: 500; }

/* ---------- shared type ---------- */
.display-title {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(34px, 4.6vw, 60px);
  line-height: 1;
  letter-spacing: 1px;
  color: var(--cream);
  text-transform: uppercase;
}
.display-title.dark { color: var(--paper-ink); }
.kicker {
  font-family: var(--ui);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.kicker.red { color: var(--red-bright); }
.rule {
  display: block;
  width: 90px; height: 2px;
  background: var(--red-bright);
  margin: 22px 0;
  position: relative;
}
.rule::after {
  content: "\2726";
  position: absolute; left: 104px; top: 50%;
  transform: translateY(-50%);
  color: var(--gold); font-size: 11px;
}
.rule.dark { background: var(--red); }

.link-arrow {
  font-family: var(--ui);
  font-size: 12px; font-weight: 600;
  letter-spacing: 2px;
  color: var(--red-bright);
  display: inline-flex; align-items: center; gap: 10px;
  transition: gap .25s ease, color .25s ease;
}
.link-arrow span { transition: transform .25s ease; }
.link-arrow:hover { color: var(--gold-soft); }
.link-arrow:hover span { transform: translateX(5px); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--ui);
  font-size: 13px; font-weight: 600;
  letter-spacing: 1.5px; text-transform: uppercase;
  padding: 15px 30px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all .25s ease;
  white-space: nowrap;
}
.btn-lg { padding: 17px 36px; }
.btn-primary {
  background: linear-gradient(180deg, var(--red-bright), var(--red));
  color: #fff;
  box-shadow: 0 8px 22px rgba(154, 36, 29, .4);
  border-radius: 2px;
}
.btn-primary:hover { background: linear-gradient(180deg, var(--red), var(--red-deep)); transform: translateY(-2px); }
.btn-primary .arr { font-size: 15px; }

.btn-text {
  background: none; color: var(--cream); padding: 12px 6px; letter-spacing: 2px;
}
.btn-text .play {
  width: 38px; height: 38px; border-radius: 50%;
  border: 1px solid var(--gold); color: var(--gold-soft);
  display: grid; place-items: center;
}
.btn-text .play svg { width: 14px; height: 14px; }
.btn-text:hover { color: var(--gold-soft); }

.btn-discord-outline {
  background: rgba(255,255,255,.02);
  border: 1px solid var(--line);
  color: var(--cream);
  border-radius: 3px;
  padding: 11px 22px;
}
.btn-discord-outline:hover { border-color: var(--gold); color: var(--gold-soft); }

.btn-outline-light {
  background: transparent;
  border: 1px solid rgba(255,255,255,.6);
  color: #fff;
  border-radius: 2px;
}
.btn-outline-light:hover { background: #fff; color: var(--red-deep); }

.ico-svg { width: 18px; height: 18px; }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  padding: 20px 0;
  transition: background .3s ease, padding .3s ease, border-color .3s ease;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(8, 6, 5, .94);
  backdrop-filter: blur(10px);
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.brand { display: inline-flex; align-items: center; }
.brand-logo { height: 56px; width: auto; transition: height .3s ease; }
.site-header.scrolled .brand-logo { height: 44px; }
.brand-fallback { display: none; }   /* logo.png present; fallback hidden */

.main-nav { display: flex; gap: 34px; margin-left: auto; }
.nav-link {
  font-family: var(--ui);
  font-size: 13px; font-weight: 500; letter-spacing: 1.5px;
  color: var(--cream); opacity: .82;
  position: relative; padding: 4px 0;
  transition: opacity .2s ease;
}
.nav-link:hover { opacity: 1; }
.nav-link.active { opacity: 1; }
.nav-link.active::after {
  content: "\2726";
  position: absolute; left: 50%; bottom: -14px;
  transform: translateX(-50%);
  color: var(--red-bright); font-size: 9px;
}
.header-cta { margin-left: 12px; }

/* ---- Language selector ---- */
.lang-selector {
  display: inline-flex; align-items: center; gap: 8px;
  margin-left: 18px; padding: 5px 12px;
  border: 1px solid var(--line); border-radius: 3px;
  background: rgba(255,255,255,.02);
}
.lang-btn {
  font-family: var(--ui); font-size: 12px; font-weight: 600; letter-spacing: 1px;
  color: var(--cream); opacity: .55;
  background: none; border: none; cursor: pointer; padding: 0;
  transition: opacity .2s ease, color .2s ease;
}
.lang-btn:hover { opacity: .85; }
.lang-btn.active { opacity: 1; color: var(--gold-soft); }
.lang-sep { width: 1px; height: 13px; background: var(--line); }

/* Georgian: swap the Latin display face for the Georgian one */
.lang-ka { --display: 'Rdr2rp Geo', 'Chinese Rocks', Georgia, serif; }
/* Georgian words are longer — keep role tags & names inside the narrow cards */
.lang-ka .path-tag { font-size: 8px; letter-spacing: 0; padding: 3px 6px; }
.lang-ka .path-info h4 { font-size: 14px; letter-spacing: 0; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; }
.nav-toggle span { width: 26px; height: 2px; background: var(--cream); transition: .3s; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex; align-items: center;
  background: var(--ink);
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background: url('../assets/images/hero-bg.png') center/cover no-repeat;
}
.hero-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(8,6,5,.94) 0%, rgba(8,6,5,.74) 34%, rgba(8,6,5,.30) 64%, rgba(8,6,5,.5) 100%),
    linear-gradient(0deg, var(--ink) 1%, transparent 32%);
}
.hero-inner {
  position: relative; z-index: 2;
  display: block;
  padding-top: 130px; padding-bottom: 90px;
}
.hero-copy { max-width: 640px; }

.hero-index {
  position: absolute; left: 4px; top: 50%; transform: translateY(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  font-family: var(--display); font-size: 12px; letter-spacing: 2px;
  color: var(--faint);
}
.hero-index-line { width: 1px; height: 90px; background: linear-gradient(var(--red-bright), transparent); }

.eyebrow {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--ui); font-size: 12px; font-weight: 600;
  letter-spacing: 2.5px; text-transform: uppercase;
  color: var(--gold-soft); margin-bottom: 22px;
}
.eyebrow .dash { width: 34px; height: 1px; background: var(--red-bright); }

.hero-title { margin-bottom: 8px; }
.hero-title span {
  display: block;
  font-family: var(--display); font-weight: 900;
  font-size: clamp(40px, 6.4vw, 88px);
  line-height: .98; letter-spacing: 1px; text-transform: uppercase;
}
.hero-title .cream { color: var(--cream); text-shadow: 0 4px 30px rgba(0,0,0,.5); }
.hero-title .red { color: var(--red-bright); }

.hero-mono {
  display: flex; align-items: center; gap: 14px;
  font-family: var(--display); color: var(--gold); letter-spacing: 3px;
  margin: 20px 0 22px; font-size: 13px;
}
.hero-mono span { height: 1px; width: 46px; background: var(--line); }

.hero-text { max-width: 440px; color: #c5b9a3; margin-bottom: 34px; }
.hero-actions { display: flex; align-items: center; gap: 26px; flex-wrap: wrap; }

.hero-seal {
  position: absolute; top: 4%; right: 2%;
  width: 128px; height: 128px;
  color: var(--red-bright);
  filter: drop-shadow(0 2px 10px rgba(0,0,0,.7));
}
.hero-script {
  position: absolute; bottom: 8%; right: 2%;
  font-family: var(--script); color: var(--gold-soft);
  font-size: 44px; line-height: .9; text-align: right;
  transform: rotate(-4deg);
  text-shadow: 0 2px 12px rgba(0,0,0,.85);
}

/* seal text */
.seal-text { font-family: var(--display); font-size: 8.5px; letter-spacing: 2px; fill: currentColor; }
.seal-mono { font-family: var(--display); font-weight: 900; font-size: 32px; fill: currentColor; }
.seal-est  { font-family: var(--display); font-size: 9px; letter-spacing: 3px; fill: currentColor; }

/* ============================================================
   PARCHMENT SECTIONS (torn textures)
   ============================================================ */
.paper-section {
  position: relative;
  z-index: 1;
  background-color: transparent;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 124% 100%;                /* overscale width so torn side-ends spill past the walls (no side gaps) */
  color: var(--paper-ink);
  padding: 96px 0;
  margin: -1px 0;
}
.foundation { background-image: var(--tex-parchment); padding: 104px 0; }
.how        { background-image: var(--tex-map); padding: 110px 0; }

/* ---- Foundation ---- */
.foundation-head { text-align: center; max-width: 600px; margin: 0 auto 60px; }
.foundation-head .kicker { margin-bottom: 14px; }
.foundation-head .display-title { margin-bottom: 0; }
.foundation-orn {
  display: flex; align-items: center; justify-content: center; gap: 14px;
  margin: 20px auto 22px;
}
.foundation-orn::before, .foundation-orn::after {
  content: ""; width: 58px; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(58,44,29,.4));
}
.foundation-orn::after { background: linear-gradient(90deg, rgba(58,44,29,.4), transparent); }
.foundation-orn span { color: var(--red); font-size: 13px; line-height: 1; }
.foundation-sub { font-size: 16px; color: var(--paper-mut); line-height: 1.6; }

.foundation-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 0;
  max-width: 1080px; margin: 0 auto;
}
.found-item {
  text-align: center; padding: 6px 30px; position: relative;
}
.found-item:not(:last-child)::after {
  content: ""; position: absolute; right: 0; top: 6%;
  height: 88%; width: 1px;
  background: linear-gradient(180deg, transparent, rgba(58,44,29,.22) 16%, rgba(58,44,29,.22) 84%, transparent);
}
.found-num {
  display: block;
  font-family: var(--display); font-weight: 700;
  font-size: 13px; letter-spacing: 3px;
  color: var(--red); margin-bottom: 16px;
}
.found-ico {
  color: var(--paper-ink);
  display: inline-flex; align-items: center; justify-content: center;
  width: 74px; height: 74px; margin-bottom: 22px;
  border: 1px solid rgba(58,44,29,.30);
  border-radius: 50%;
  position: relative;
  transition: color .3s ease, border-color .3s ease, transform .3s ease;
}
.found-ico::before {
  content: ""; position: absolute; inset: 5px;
  border: 1px solid rgba(58,44,29,.14);
  border-radius: 50%;
}
.found-ico svg { width: 32px; height: 32px; }
.found-item:hover .found-ico {
  color: var(--red); border-color: rgba(154,36,29,.55);
  transform: translateY(-3px);
}
.found-item h3 {
  font-family: var(--display); font-size: 17px; font-weight: 700;
  letter-spacing: 1.5px; color: var(--paper-ink); margin-bottom: 12px;
}
.found-item p { font-size: 16px; color: var(--paper-mut); line-height: 1.65; }

/* ============================================================
   CHOOSE YOUR PATH
   ============================================================ */
.paths { background: var(--ink); padding: 100px 0; }
.paths-inner { display: grid; grid-template-columns: 0.85fr 2.4fr; gap: 44px; align-items: center; }
.paths-head .display-title { margin-bottom: 4px; }
.paths-sub { font-size: 16.5px; color: #cabda7; line-height: 1.65; margin-bottom: 26px; max-width: 300px; }

/* role cards — hovered card widens, neighbours keep their size and slide aside */
.path-grid { display: flex; gap: 12px; justify-content: center; }
.path-card {
  position: relative; flex: 0 0 auto; width: 17%; height: 470px;
  background: #14100d;
  border: 1px solid var(--line);
  border-radius: 4px;
  overflow: hidden;
  z-index: 1;
  will-change: width;
  transition: width .7s cubic-bezier(.65,0,.35,1),
              border-color .45s ease, box-shadow .55s ease;
}
.path-card img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover; object-position: top center;
  filter: grayscale(.42) brightness(.74) contrast(1.05);
  transform: scale(1.04);
  transition: transform 1s cubic-bezier(.65,0,.35,1), filter .6s ease;
}
.path-card::before {                              /* cinematic scrim */
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg,
    rgba(12,9,8,.55) 0%, rgba(12,9,8,0) 26%,
    rgba(12,9,8,.18) 50%, rgba(12,9,8,.85) 78%, rgba(12,9,8,.97) 100%);
}
.path-card::after {                               /* gold inner frame (appears on hover) */
  content: ""; position: absolute; inset: 8px; z-index: 2;
  border: 1px solid rgba(195,154,82,0);
  border-radius: 2px; pointer-events: none;
  transition: border-color .45s ease;
}
/* top row — index + tag, vertically aligned */
.path-top {
  position: absolute; top: 0; left: 0; right: 0; z-index: 3;
  display: flex; align-items: center; justify-content: space-between;
  gap: 8px; padding: 14px 14px 0;
}
.path-index {
  font-family: var(--display); font-weight: 800; font-size: 28px; line-height: 1;
  color: rgba(236,226,207,.32);
  transition: color .45s ease;
}
.path-tag {
  font-family: var(--ui); font-size: 9px; font-weight: 600; letter-spacing: 1.4px;
  color: var(--gold-soft);
  border: 1px solid rgba(195,154,82,.45);
  padding: 4px 8px; border-radius: 2px;
  background: rgba(12,9,8,.5);
  white-space: nowrap;
}
.path-info {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 3;
  text-align: center; padding: 0 16px 26px;
}
.path-info h4 {
  font-family: var(--display); font-size: 17px; font-weight: 700; letter-spacing: .5px;
  color: var(--cream); margin-bottom: 0; white-space: nowrap;
  text-shadow: 0 2px 12px rgba(0,0,0,.75);
}
.path-rule { display: block; width: 0; height: 2px; background: var(--red-bright); margin: 12px auto 0; transition: width .5s cubic-bezier(.45,.05,.15,1) .05s; }
.path-info p {
  font-size: 15px; color: #d8cdb8; line-height: 1.6; font-family: var(--body); font-weight: 500;
  max-width: 280px; margin: 0 auto;
  opacity: 0; max-height: 0; overflow: hidden;
  transition: max-height .55s cubic-bezier(.45,.05,.15,1),
              opacity .4s ease, margin-top .55s cubic-bezier(.45,.05,.15,1);
}
/* ---- hover: widen + lift; neighbours keep size and glide aside ---- */
.path-card:hover {
  width: 31%;
  z-index: 5;
  border-color: rgba(195,154,82,.55);
  box-shadow: 0 26px 56px rgba(0,0,0,.6);
}
.path-card:hover img { transform: scale(1.07); filter: grayscale(0) brightness(.92) contrast(1.08); }
.path-card:hover::after { border-color: rgba(195,154,82,.4); }
.path-card:hover .path-index { color: var(--red-bright); }
.path-card:hover .path-rule { width: 42px; }
.path-card:hover .path-info p { opacity: 1; max-height: 90px; margin-top: 6px; transition-delay: 0s, .12s, 0s; }

/* ============================================================
   RED BANDS
   ============================================================ */
.red-band {
  position: relative;
  z-index: 2;                                /* sits above parchment so its torn edge overlaps cleanly */
  background-color: transparent;            /* no frame — torn edges reveal black page */
  background-repeat: no-repeat;
  background-position: center;
  background-size: 132% 100%;                /* overscale width so torn side-ends spill past the walls */
  color: #f3e7d6;
  margin: -1px 0;
}
/* red stats band overlaps DOWN onto the parchment below — interlocked torn edges */
.stats { background-image: var(--tex-red); padding: 74px 0; margin-bottom: -38px; }

.stat-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.stat { text-align: center; position: relative; padding: 0 10px; }
.stat:not(:last-child)::after {
  content: ""; position: absolute; right: 0; top: 16%;
  height: 68%; width: 1px; background: rgba(255,255,255,.14);
}
.stat-ico { color: #f0dcc4; display: inline-block; margin-bottom: 12px; }
.stat-ico svg { width: 30px; height: 30px; }
.stat-num {
  font-family: var(--display); font-weight: 700;
  font-size: clamp(30px, 3.6vw, 44px); line-height: 1;
  color: #fff; margin-bottom: 8px;
}
.stat-label { font-family: var(--ui); font-size: 11px; font-weight: 500; letter-spacing: 1.5px; color: rgba(255,255,255,.78); text-transform: uppercase; }

/* ============================================================
   HOW TO START
   ============================================================ */
.how-head { text-align: center; max-width: 600px; margin: 0 auto 64px; }
.how-head .kicker { margin-bottom: 14px; }
.how-head .display-title { margin-bottom: 0; }
.how-sub { font-size: 16px; color: var(--paper-mut); line-height: 1.6; }

.steps {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 0; max-width: 940px; margin: 0 auto;
}
.step { text-align: center; padding: 0 34px; position: relative; }
/* dotted trail linking the step badges */
.step:not(:last-child)::after {
  content: ""; position: absolute;
  top: 28px; left: 50%; width: 100%; height: 2px; z-index: 0;
  background-image: repeating-linear-gradient(90deg, rgba(154,36,29,.5) 0 7px, transparent 7px 16px);
}
.step-num {
  position: relative; z-index: 1;
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--red); color: var(--cream);
  font-family: var(--display); font-weight: 700; font-size: 24px;
  display: grid; place-items: center; margin: 0 auto 26px;
  border: 3px solid var(--paper);
  box-shadow: 0 6px 16px rgba(108,24,19,.35);
}
.step-ico {
  color: var(--paper-ink);
  display: inline-flex; align-items: center; justify-content: center;
  width: 60px; height: 60px; margin-bottom: 18px;
}
.step-ico svg { width: 38px; height: 38px; }
.step h4 { font-family: var(--display); font-size: 19px; font-weight: 700; letter-spacing: 1px; color: var(--paper-ink); margin-bottom: 12px; }
.step p { font-size: 16px; color: var(--paper-mut); line-height: 1.65; max-width: 250px; margin: 0 auto; }
.step p a { color: var(--red); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; transition: color .2s ease; }
.step p a:hover { color: var(--red-bright); }

/* Server IP line under the steps */
.how-ip {
  display: flex; align-items: center; justify-content: center; gap: 14px;
  margin: 54px auto 0;
}
.how-ip-label {
  font-family: var(--ui); font-size: 11px; font-weight: 600; letter-spacing: 2.5px;
  text-transform: uppercase; color: var(--paper-mut);
}
.how-ip-value {
  font-family: var(--display); font-size: 19px; letter-spacing: 1px; color: var(--red);
  padding: 7px 18px; border: 1px solid rgba(58,44,29,.32); border-radius: 3px;
  background: rgba(255,255,255,.05);
}

/* ============================================================
   REDLAND AWAITS (gallery)
   ============================================================ */
.awaits { background: var(--ink-2); padding: 72px 0; overflow: hidden; }
.awaits-inner {
  display: flex; align-items: center; gap: 30px;
  padding-left: max(28px, calc(50% - 600px + 28px));   /* align text to the site's content edge */
}
.awaits-text { flex: 0 0 260px; }
.awaits-text .display-title { margin: 6px 0 18px; line-height: 1; }
.awaits-strip { flex: 1 1 auto; display: flex; gap: 4px; min-width: 0; }
.awaits-item { flex: 0 0 322px; height: 300px; position: relative; overflow: hidden; }
.awaits-item img {
  width: calc(100% + 12px); height: calc(100% + 12px);   /* overscan crops the baked light edge */
  margin: -6px; object-fit: cover;
  transition: transform .5s ease;
}
.awaits-item::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 56%, rgba(8,6,5,.42));
}
.awaits-item:hover img { transform: scale(1.05); }

/* ============================================================
   FRONTIER IS CALLING
   ============================================================ */
.calling {
  background-image: var(--tex-riders);
  background-size: cover; background-position: center;
  padding: 70px 0; overflow: hidden;
}
.calling::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(108,24,19,.86) 30%, rgba(108,24,19,.35) 100%); }
.calling-inner {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: auto 1.3fr 1.2fr;
  align-items: center; gap: 38px;
}
.calling-seal { width: 132px; height: 132px; color: var(--gold-soft); flex-shrink: 0; }
.calling-logo { width: 150px; height: auto; flex-shrink: 0; filter: drop-shadow(0 6px 18px rgba(0,0,0,.45)); }
.calling-text h2 {
  font-family: var(--display); font-weight: 800;
  font-size: clamp(26px, 3.4vw, 42px); line-height: 1.05;
  color: #fff; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 10px;
}
.calling-sub { font-family: var(--display); letter-spacing: 3px; font-size: 13px; color: var(--gold-soft); }
.calling-text .rule { background: var(--gold); }
.calling-text .rule::after { color: #fff; }
.calling-aside p { color: rgba(255,255,255,.85); margin-bottom: 22px; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: var(--ink-3); padding: 64px 0 30px; border-top: 1px solid var(--line); }
.footer-grid {
  display: grid; grid-template-columns: 1.8fr 1fr 1fr 1fr 1.2fr;
  gap: 34px; padding-bottom: 40px; border-bottom: 1px solid var(--line-dark);
}
.footer-brand .brand-logo { height: 58px; margin-bottom: 18px; }
.footer-quote { font-family: var(--body); font-style: italic; color: #b3a78f; font-size: 16px; line-height: 1.5; }
.footer-quote-by { font-family: var(--display); font-size: 12px; letter-spacing: 2px; color: var(--gold); margin-top: 8px; }
.footer-col h5 { font-family: var(--ui); font-weight: 600; font-size: 12px; letter-spacing: 1.5px; color: var(--cream); margin-bottom: 18px; }
.footer-col ul li { margin-bottom: 11px; }
.footer-col ul li a { font-size: 15px; color: #9d917c; transition: color .2s ease; }
.footer-col ul li a:hover { color: var(--gold-soft); }
.socials { display: flex; gap: 12px; }
.socials a {
  width: 38px; height: 38px; border-radius: 50%;
  border: 1px solid var(--line); color: #9d917c;
  display: grid; place-items: center; transition: all .2s ease;
}
.socials a svg { width: 17px; height: 17px; }
.socials a:hover { border-color: var(--red); color: var(--gold-soft); }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; padding-top: 24px; font-family: var(--ui); font-size: 12px; letter-spacing: .5px; color: var(--faint); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-index { display: none; }
  .hero-art { order: -1; }
  .foundation-head { margin-bottom: 48px; }
  .foundation-grid { grid-template-columns: repeat(2, 1fr); gap: 44px 0; }
  .found-item:nth-child(2)::after { display: none; }
  .paths-inner { grid-template-columns: 1fr; gap: 30px; }
  .paths-sub { max-width: none; }
  /* touch / tablet: no hover-widen — wrap into rows, descriptions always shown */
  .path-grid { flex-wrap: wrap; }
  .path-card { width: 30%; height: 420px; }
  .path-card:hover { width: 30%; }
  .path-info p { opacity: 1; max-height: 90px; margin-top: 6px; }
  .path-rule { width: 38px; }
  .how-head { margin-bottom: 48px; }
  .awaits-item { flex: 0 0 280px; height: 260px; }
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
}

@media (max-width: 720px) {
  body { font-size: 17px; }
  .main-nav {
    position: fixed; inset: 0 -100% 0 auto; width: 78%; max-width: 320px;
    flex-direction: column; justify-content: center; gap: 26px;
    background: rgba(8,6,5,.98); backdrop-filter: blur(12px);
    padding: 40px; transition: right .35s ease; border-left: 1px solid var(--line);
    z-index: 99; margin: 0;
  }
  .main-nav.open { right: 0; }
  .nav-toggle { display: flex; z-index: 100; }
  .header-cta { display: none; }
  .lang-selector { margin-left: auto; padding: 4px 10px; gap: 6px; }

  .stat-grid { grid-template-columns: repeat(2, 1fr); gap: 34px 16px; }
  .stat::after { display: none; }
  .path-card { width: 46%; }
  .path-card:hover { width: 46%; }
  .path-info h4 { white-space: normal; }
  .steps { grid-template-columns: 1fr; gap: 40px; max-width: 360px; }
  .step:not(:last-child)::after { display: none; }
  .calling-inner { grid-template-columns: 1fr; text-align: center; justify-items: center; }
  .calling-text .rule { margin-left: auto; margin-right: auto; }
  .awaits-inner { flex-direction: column; align-items: stretch; padding-left: 0; gap: 22px; }
  .awaits-text { flex: none; padding: 0 28px; }
  .awaits-strip { overflow-x: auto; padding: 0 28px; }
  .awaits-item { flex: 0 0 72%; height: 220px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 460px) {
  .foundation-grid { grid-template-columns: 1fr; gap: 40px 0; }
  .found-item::after { display: none; }
  .path-grid { grid-template-columns: 1fr; }
  .awaits-item { flex: 0 0 86%; }
  .hero-actions { flex-direction: column; align-items: stretch; }
}
