/* Stardust Odyssey — static site styles v2 */

/* English: Jura (Google Fonts, free). Thai: FC Palette (commercial font, self-hosted —
   see assets/fonts/README.txt), falling back to Prompt (Google Fonts, free) until the
   licensed FC Palette font files are added. */
@import url('https://fonts.googleapis.com/css2?family=Jura:wght@400;500;600;700&family=Prompt:wght@400;500;600;700&family=Caveat:wght@600;700&display=swap');

@font-face {
  font-family: 'FC Palette';
  src: url('../assets/fonts/FCPalette-Regular.woff2') format('woff2'),
       url('../assets/fonts/FCPalette-Regular.woff') format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'FC Palette';
  src: url('../assets/fonts/FCPalette-Bold.woff2') format('woff2'),
       url('../assets/fonts/FCPalette-Bold.woff') format('woff');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #07071a;
  --bg-2: #0d0e29;
  --panel: rgba(255, 255, 255, 0.04);
  --panel-solid: #12123a;
  --text: #eef0fb;
  --text-dim: #a4a6c4;
  --text-faint: #767a9e;
  --accent: #f7bb4c;
  --accent-2: #7c6bff;
  --accent-3: #4cc9f0;
  --border: rgba(247, 187, 76, 0.18);
  --border-soft: rgba(255, 255, 255, 0.08);
  --max-width: 1120px;
  --radius: 16px;
  --radius-sm: 10px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background:
    radial-gradient(ellipse 900px 500px at 15% -5%, rgba(124, 107, 255, 0.25), transparent 60%),
    radial-gradient(ellipse 700px 500px at 90% 10%, rgba(76, 201, 240, 0.15), transparent 55%),
    radial-gradient(ellipse 1000px 700px at 50% 100%, rgba(247, 187, 76, 0.08), transparent 60%),
    var(--bg);
  color: var(--text);
  font-family: 'Jura', -apple-system, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.7;
  position: relative;
  overflow-x: hidden;
}

h1, h2, h3, h4, .brand-word {
  font-family: 'Jura', -apple-system, "Helvetica Neue", Arial, sans-serif;
}

/* English pages: Jura throughout. */
html[lang="en"] body {
  font-family: 'Jura', -apple-system, "Helvetica Neue", Arial, sans-serif;
}
html[lang="en"] h1, html[lang="en"] h2, html[lang="en"] h3, html[lang="en"] h4, html[lang="en"] .brand-word {
  font-family: 'Jura', -apple-system, "Helvetica Neue", Arial, sans-serif;
}

/* Thai pages: FC Palette (licensed font — add files to assets/fonts/ to activate),
   falls back to Prompt until those files are supplied. */
html[lang="th"] body {
  font-family: 'FC Palette', 'Prompt', -apple-system, "Helvetica Neue", Arial, sans-serif;
}
html[lang="th"] h1, html[lang="th"] h2, html[lang="th"] h3, html[lang="th"] h4, html[lang="th"] .brand-word {
  font-family: 'FC Palette', 'Prompt', -apple-system, "Helvetica Neue", Arial, sans-serif;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

img { max-width: 100%; display: block; }

#starfield {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.6;
}

.wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Header / Nav ---------- */

header.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(7, 7, 26, 0.72);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid var(--border-soft);
}

.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: nowrap;
}

.brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 0.01em;
  color: var(--text);
  flex-shrink: 0;
  white-space: nowrap;
}

.brand img {
  height: 28px;
  width: 28px;
  object-fit: cover;
  border-radius: 7px;
}

nav.main-nav {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 4px 15px;
  font-size: 0.78rem;
  font-weight: 500;
  white-space: nowrap;
}

nav.main-nav a {
  color: var(--text-dim);
  padding: 6px 1px;
  border-bottom: 2px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
  white-space: nowrap;
}

nav.main-nav a:hover,
nav.main-nav a.active {
  color: var(--accent);
  text-decoration: none;
  border-bottom-color: var(--accent);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

.lang-switch {
  display: flex;
  align-items: center;
  gap: 2px;
  background: var(--panel);
  border: 1px solid var(--border-soft);
  border-radius: 999px;
  padding: 3px;
  font-size: 0.72rem;
  font-weight: 600;
  flex-shrink: 0;
}

.lang-switch a {
  padding: 4px 9px;
  border-radius: 999px;
  color: var(--text-faint);
  letter-spacing: 0.03em;
}

.lang-switch a:hover { text-decoration: none; color: var(--text); }

.lang-switch a.active {
  background: var(--accent);
  color: #1a1200;
}

.nav-toggle {
  display: none;
}

/* ---------- Hero ---------- */

.hero {
  padding: 96px 24px 56px;
  text-align: center;
  position: relative;
  z-index: 1;
}

.hero .eyebrow {
  display: inline-block;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.72rem;
  font-weight: 600;
  margin-bottom: 18px;
  padding: 6px 16px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(247, 187, 76, 0.06);
}

.hero h1 {
  font-size: clamp(1.9rem, 4.2vw, 2.9rem);
  margin: 0 0 22px;
  font-weight: 500;
  font-style: italic;
  line-height: 1.35;
  color: var(--text);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  background: linear-gradient(135deg, #ffffff 30%, var(--accent-2) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero h1.plain {
  font-style: normal;
  font-weight: 700;
  -webkit-text-fill-color: var(--text);
  background: none;
}

.hero p.tag {
  color: var(--text-dim);
  max-width: 660px;
  margin: 0 auto;
  font-size: 1.02rem;
}

/* ---------- How-To image lightbox ---------- */

.howto-lightbox-img {
  cursor: zoom-in;
}

.howto-hint {
  text-align: center;
  color: var(--text-dim);
  font-size: 0.85rem;
  margin-top: 12px;
}

.lightbox-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(10, 9, 6, 0.92);
  z-index: 999;
  align-items: center;
  justify-content: center;
  padding: 40px;
  cursor: zoom-out;
}

.lightbox-overlay.active {
  display: flex;
}

.lightbox-overlay img {
  max-width: 100%;
  max-height: 90vh;
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 32px;
  font-size: 2.4rem;
  color: #fff;
  cursor: pointer;
  line-height: 1;
}

/* ---------- Blog index (year-grouped list) ---------- */

.blog-year-group {
  margin-bottom: 48px;
}

.blog-year-group h2 {
  font-size: 2rem;
  color: var(--accent);
  margin-bottom: 20px;
}

.blog-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.blog-list-item {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 24px;
  align-items: center;
  padding: 20px 0;
  border-top: 1px solid var(--border-soft);
  text-decoration: none;
  color: inherit;
  transition: opacity 0.15s ease;
}

.blog-list-item:hover {
  opacity: 0.82;
}

.blog-list-thumb {
  width: 140px;
  height: 100px;
  object-fit: cover;
  border-radius: 10px;
}

.blog-list-date {
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.blog-list-body h3 {
  margin: 0 0 8px;
  font-size: 1.15rem;
}

.blog-list-body .meta {
  margin-bottom: 6px;
}

.blog-list-body p {
  color: var(--text-dim);
  font-size: 0.95rem;
}

@media (max-width: 640px) {
  .blog-list-item {
    grid-template-columns: 1fr;
  }
  .blog-list-thumb {
    width: 100%;
    height: 160px;
  }
}

/* ---------- Blog index layout (main + sidebar) ---------- */

.blog-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 48px;
  align-items: start;
}

.blog-main { min-width: 0; }

.blog-sidebar {
  position: sticky;
  top: 96px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.blog-submit-cta {
  background: var(--panel);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  padding: 24px 22px;
}

.blog-submit-cta h3 { margin: 0 0 8px; font-size: 1.05rem; }
.blog-submit-cta p { color: var(--text-dim); font-size: 0.86rem; margin-bottom: 18px; }
.blog-submit-cta .btn { width: 100%; justify-content: center; padding: 11px 20px; font-size: 0.82rem; }

.blog-index {
  background: var(--panel);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  padding: 24px 22px;
}

.blog-index h3 { margin: 0 0 16px; font-size: 1.05rem; }

.blog-index-year { margin-bottom: 18px; }
.blog-index-year:last-child { margin-bottom: 0; }

.blog-index-year-label {
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}

.blog-index-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.blog-index-list li { border-left: 2px solid var(--border-soft); padding-left: 10px; }

.blog-index-list a {
  color: var(--text-dim);
  font-size: 0.85rem;
  line-height: 1.4;
  text-decoration: none;
}

.blog-index-list a:hover { color: var(--accent); text-decoration: none; }

@media (max-width: 900px) {
  .blog-layout {
    grid-template-columns: 1fr;
  }
  .blog-sidebar {
    position: static;
    order: -1;
  }
}

/* ---------- Press scrapbook journal (horizontal timeline) ---------- */

.scrap-page-title {
  text-align: center !important;
  font-family: 'Caveat', 'Jura', cursive, sans-serif;
}

.scrap-caption {
  text-align: center;
  color: var(--text-faint);
  font-size: 0.82rem;
  font-style: italic;
  margin: -8px 0 8px;
}

.scrap-caption--hint { margin-bottom: 20px; }

.scrap-strip-wrap {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 24px;
}

.scrap-strip {
  position: relative;
  flex: 1;
  display: flex;
  align-items: flex-start;
  gap: 0;
  overflow-x: auto;
  overflow-y: visible;
  scroll-behavior: smooth;
  scroll-snap-type: x proximity;
  padding: 40px 30px 36px;
  border-radius: var(--radius);
  background:
    radial-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(160deg, #4a3620 0%, #2e2113 100%);
  background-size: 16px 16px, cover;
  box-shadow: inset 0 0 60px rgba(0, 0, 0, 0.45), 0 12px 30px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.06);
  scrollbar-width: thin;
  scrollbar-color: rgba(247, 187, 76, 0.5) transparent;
}

.scrap-strip::-webkit-scrollbar { height: 8px; }
.scrap-strip::-webkit-scrollbar-thumb { background: rgba(247, 187, 76, 0.45); border-radius: 999px; }

.scrap-strip-line {
  position: absolute;
  left: 0;
  right: 0;
  top: 48px;
  height: 0;
  border-top: 2px dashed rgba(247, 187, 76, 0.45);
}

.scrap-scroll-btn {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border-soft);
  background: var(--panel-solid);
  color: var(--accent);
  font-size: 1.1rem;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.15s ease;
}

.scrap-scroll-btn:hover { background: rgba(247, 187, 76, 0.16); transform: scale(1.08); }

.scrap-sticker {
  position: relative;
  z-index: 2;
  flex-shrink: 0;
  scroll-snap-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: fit-content;
  margin: -8px 26px 0;
  padding: 10px 18px;
  text-align: center;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #14110c;
  background: linear-gradient(135deg, #ffe9b0 0%, var(--accent) 100%);
  border-radius: 4px;
  transform: rotate(-2deg);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
  white-space: nowrap;
}

.scrap-sticker-icon { display: inline-block; }

.scrap-stop {
  position: relative;
  z-index: 2;
  flex-shrink: 0;
  scroll-snap-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 280px;
  margin: 0 16px;
}

.scrap-pin {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #ff8a8a, #c22 70%);
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.5), inset 0 -2px 2px rgba(0, 0, 0, 0.25);
  z-index: 3;
  margin-bottom: -8px;
}

.scrap-card {
  position: relative;
  width: 280px;
  background: #f7f1e3;
  border-radius: 6px;
  overflow: visible;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.4);
  transform: rotate(var(--rot, 0deg));
  transition: transform 0.2s ease, box-shadow 0.2s ease, z-index 0s;
}

.scrap-card:hover {
  transform: rotate(0deg) scale(1.04);
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.5);
  z-index: 4;
}

.scrap-tape {
  position: absolute;
  top: -8px;
  left: 50%;
  width: 80px;
  height: 24px;
  transform: translateX(-50%) rotate(-3deg);
  background: repeating-linear-gradient(
    45deg,
    var(--tape, var(--accent)),
    var(--tape, var(--accent)) 6px,
    rgba(255, 255, 255, 0.35) 6px,
    rgba(255, 255, 255, 0.35) 12px
  );
  opacity: 0.85;
  z-index: 3;
  border-radius: 2px;
}

.scrap-photo {
  position: relative;
  padding: 14px 14px 0;
  border-top-left-radius: 6px;
  border-top-right-radius: 6px;
  overflow: hidden;
  cursor: zoom-in;
}

.scrap-photo img,
.scrap-photo .press-photo-row { border-radius: 2px; display: block; }

.scrap-photo img { width: 100%; height: 190px; object-fit: cover; }

.scrap-stamp {
  position: absolute;
  z-index: 2;
  top: 24px;
  left: 26px;
  right: 26px;
  color: #fff8e8;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-align: center;
  text-transform: uppercase;
  background: rgba(20, 17, 12, 0.68);
  border: 1px dashed rgba(255, 233, 176, 0.7);
  border-radius: 999px;
  padding: 4px 10px;
  transform: rotate(-2deg);
}

.scrap-card .card-body { padding: 12px 16px 18px; }
.scrap-card h3 {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.35;
  color: #2a2013;
  font-weight: 700;
}
.scrap-card .meta { color: #6b5a3e; font-size: 0.72rem; margin-bottom: 8px; }
.scrap-card p.scrap-body-text {
  color: #4a3d28;
  font-size: 0.82rem;
  line-height: 1.5;
}
.scrap-card p.scrap-more { margin-top: 8px; }
.scrap-card a { color: #8a3b1f; font-weight: 600; }

/* Full text lives in the lightbox; the strip card shows only the title. */
.scrap-details { display: none; }

@media (max-width: 720px) {
  .scrap-scroll-btn { display: none; }
  .scrap-stop { width: 230px; margin: 0 10px; }
  .scrap-card { width: 230px; }
  .scrap-photo img { height: 160px; }
  .scrap-stamp { left: 14px; right: 14px; top: 16px; font-size: 0.6rem; }
}

/* ---------- Press photo lightbox (with full text) ---------- */

.press-lightbox-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(10, 9, 6, 0.88);
  z-index: 999;
  align-items: center;
  justify-content: center;
  padding: 24px;
  overflow-y: auto;
}

.press-lightbox-overlay.active { display: flex; }

.press-lightbox-inner {
  position: relative;
  background: #f7f1e3;
  border-radius: 12px;
  max-width: 720px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6);
  display: grid;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .press-lightbox-inner { grid-template-columns: 1fr 1fr; }
}

.press-lightbox-photo img,
.press-lightbox-photo .press-photo-row img {
  width: 100%;
  height: 100%;
  min-height: 220px;
  object-fit: cover;
  display: block;
}

.press-lightbox-photo .press-photo-row {
  display: grid;
  height: 100%;
}

.press-lightbox-body {
  padding: 28px 28px 32px;
  color: #2a2013;
}

.press-lightbox-body h3 { margin: 10px 0 10px; font-size: 1.25rem; color: #2a2013; }
.press-lightbox-body .meta { color: #6b5a3e; font-size: 0.85rem; margin-bottom: 12px; }
.press-lightbox-body p { color: #4a3d28; font-size: 0.96rem; line-height: 1.6; }
.press-lightbox-body a { color: #8a3b1f; font-weight: 600; }

.press-lightbox-close {
  position: absolute;
  top: 12px;
  right: 16px;
  font-size: 1.8rem;
  color: #2a2013;
  cursor: pointer;
  z-index: 5;
  line-height: 1;
}

/* ---------- Press tabs ---------- */

.press-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 8px;
}

.press-tab {
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-dim);
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 8px 20px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.press-tab:hover {
  color: var(--text);
  border-color: var(--accent);
}

.press-tab.active {
  color: #14110c;
  background: var(--accent);
  border-color: var(--accent);
}

/* ---------- Hero section-jump buttons ---------- */

.hero-nav-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 8px;
}

.star-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: none;
  color: #2a2107;
  background: linear-gradient(135deg, #ffd77a 0%, var(--accent) 100%);
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  padding: 9px 18px;
  box-shadow: 0 3px 0 rgba(180, 120, 20, 0.35), 0 6px 16px rgba(247, 187, 76, 0.18);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.star-btn-icon {
  display: inline-block;
  transition: transform 0.3s ease;
}

.star-btn:hover {
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 5px 0 rgba(180, 120, 20, 0.35), 0 10px 22px rgba(247, 187, 76, 0.28);
}

.star-btn:hover .star-btn-icon {
  transform: rotate(90deg) scale(1.2);
}

.star-btn:active {
  transform: translateY(0) scale(0.98);
  box-shadow: 0 2px 0 rgba(180, 120, 20, 0.35), 0 4px 10px rgba(247, 187, 76, 0.2);
}

@media (max-width: 640px) {
  .star-btn {
    font-size: 0.78rem;
    padding: 8px 14px;
  }
}

/* ---------- Sections ---------- */

section {
  padding: 64px 24px;
  border-top: 1px solid var(--border-soft);
  position: relative;
  z-index: 1;
  scroll-margin-top: 84px;
}

html {
  scroll-behavior: smooth;
}

section.no-border { border-top: none; }

section h2 {
  font-size: clamp(1.4rem, 2.6vw, 1.85rem);
  color: var(--text);
  margin-top: 0;
  text-align: center;
  letter-spacing: 0.01em;
  font-weight: 600;
}

section h2 .accent-dot { color: var(--accent); }

section h2.left { text-align: left; }

.section-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.section-inner.narrow { max-width: 760px; }

.lede {
  max-width: 700px;
  margin: 0 auto 36px;
  text-align: center;
  color: var(--text-dim);
}

/* ---------- Cards / grids ---------- */

.grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
}

.card {
  background: var(--panel);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

a.card, a.card:hover { text-decoration: none; display: block; }

.card:hover {
  transform: translateY(-4px);
  border-color: var(--border);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
}

.card img { width: 100%; height: 200px; object-fit: cover; }

.card .card-body { padding: 20px 22px; }

.card h3 { margin: 0 0 8px; font-size: 1.05rem; color: var(--text); font-weight: 600; }

.card .meta { color: var(--text-faint); font-size: 0.8rem; margin-bottom: 12px; }

.card p { color: var(--text-dim); font-size: 0.92rem; }

/* ---------- Services ---------- */

.service-card {
  text-align: center;
  padding: 30px 24px;
}

.service-card img {
  width: 120px;
  height: 120px;
  object-fit: cover;
  margin: 0 auto 18px;
  border-radius: 12px;
}

.service-card .stat-row {
  display: flex;
  justify-content: center;
  gap: 18px;
  margin: 14px 0;
  font-size: 0.78rem;
  color: var(--text-faint);
}

.service-card .stat-row strong { color: var(--accent); display: block; font-size: 0.9rem; }

/* Home page: Press Kit / Toolkit / Need Help — white so the source images blend in seamlessly */
.service-card--light {
  background: #ffffff;
  border-color: rgba(255, 255, 255, 0.6);
  cursor: pointer;
}
.service-card--light:hover {
  border-color: #ffffff;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(255, 255, 255, 0.4);
}
.service-card--light img {
  width: 140px;
  height: 140px;
  border-radius: 12px;
}
.service-card--light h3 { color: #1a1a2e; }
.service-card--light p { color: #4a4a5e; }

/* Services page offer cards — more vivid color tone + larger imagery */
.service-card--offer {
  background:
    linear-gradient(160deg, rgba(124, 107, 255, 0.28), rgba(76, 201, 240, 0.14)),
    var(--panel-solid);
  border-color: rgba(124, 107, 255, 0.4);
  padding: 0 0 30px;
}
.service-card--offer img {
  width: 100%;
  height: 220px;
  border-radius: 0;
  margin: 0 0 22px;
}
.service-card--offer h3,
.service-card--offer .stat-row,
.service-card--offer p {
  padding-left: 24px;
  padding-right: 24px;
}
.service-card--offer:hover {
  border-color: var(--accent-2);
  box-shadow: 0 16px 40px rgba(124, 107, 255, 0.35);
}
.service-card--offer .stat-row {
  gap: 36px;
  margin: 4px 0 20px;
}
.service-card--offer .stat-row strong {
  font-size: 2.4rem;
  line-height: 1.1;
  font-family: 'Jura', sans-serif;
}
.service-card--offer .stat-row div { font-size: 0.85rem; color: var(--text-dim); }

/* ---------- Press page: reel embed + multi-photo event card ---------- */

.fb-reel-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin: 20px auto;
}
.fb-reel-wrap { display: flex; justify-content: center; }
.fb-reel-wrap iframe { border-radius: var(--radius-sm); }

.press-photo-row {
  display: grid;
  gap: 2px;
}
.press-photo-row img { width: 100%; height: 280px; object-fit: cover; display: block; }

.press-date {
  display: inline-block;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 6px;
}

/* ---------- Press page: local/international section badges ---------- */
.section-inner.narrow > h2.left {
  border-left: 3px solid var(--accent);
  padding-left: 14px;
}

/* ---------- Cover banner (Home + Credits) ---------- */
.cover-banner {
  max-width: var(--max-width);
  margin: 8px auto 0;
  padding: 0 24px;
}
.cover-banner img {
  width: 100%;
  max-height: 480px;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--border-soft);
  display: block;
}

/* ---------- Home page gameplay gallery ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 200px;
  gap: 10px;
  margin-top: 24px;
}
.gallery-item {
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--border-soft);
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}
.gallery-item:hover img { transform: scale(1.08); }
.gallery-item:nth-child(1),
.gallery-item:nth-child(5) {
  grid-column: span 2;
  grid-row: span 2;
}
@media (max-width: 720px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 150px; }
  .gallery-item:nth-child(1),
  .gallery-item:nth-child(5) { grid-column: span 1; grid-row: span 1; }
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), #ffd27a);
  color: #1a1200;
  border: none;
}

.btn-primary:hover {
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(247, 187, 76, 0.3);
}

.btn-outline {
  border: 1px solid var(--border);
  color: var(--accent);
  background: transparent;
}

.btn-outline:hover {
  text-decoration: none;
  background: rgba(247, 187, 76, 0.08);
  transform: translateY(-2px);
}

/* ---------- Team / Credits ---------- */

.team-block { margin-bottom: 36px; }
.team-block h3 {
  color: var(--accent);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 700;
  border-bottom: 1px solid var(--border-soft);
  padding-bottom: 8px;
  margin-bottom: 16px;
}
.team-block .role { color: var(--text); font-weight: 600; margin-top: 16px; font-size: 0.95rem; }
.team-block .names { color: var(--text-dim); font-size: 0.92rem; }

/* ---------- Quotes ---------- */

.quote-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

blockquote {
  margin: 0;
  padding: 26px 24px;
  background: var(--panel);
  border: 1px solid var(--border-soft);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius-sm);
  font-style: italic;
  color: var(--text-dim);
  font-size: 0.92rem;
}

blockquote cite {
  display: block;
  margin-top: 14px;
  font-style: normal;
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 600;
}

/* ---------- Video embeds ---------- */

.video-embed {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border-soft);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
  background: #000;
}

.video-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-caption {
  text-align: center;
  color: var(--text-faint);
  font-size: 0.85rem;
  margin-top: 14px;
}

/* ---------- Article / blog post ---------- */

.article {
  max-width: 720px;
  margin: 0 auto;
}

.article .back-link { font-size: 0.85rem; color: var(--text-faint); }

.article .meta { color: var(--text-faint); font-size: 0.85rem; margin: 10px 0 30px; }

.article h1 { color: var(--text); font-size: clamp(1.6rem, 3.4vw, 2.1rem); margin-bottom: 6px; font-weight: 700; }

.article p { margin-bottom: 20px; color: var(--text); font-size: 1rem; }

.article img { border-radius: var(--radius); margin: 24px 0; }

.article h3 {
  color: var(--accent);
  font-size: 1.15rem;
  margin: 36px 0 12px;
}
.article h3:first-of-type { margin-top: 8px; }

/* ---------- Notes / callouts ---------- */

.note {
  max-width: 720px;
  margin: 0 auto 28px;
  padding: 16px 20px;
  background: rgba(124, 107, 255, 0.08);
  border: 1px solid rgba(124, 107, 255, 0.3);
  border-radius: var(--radius-sm);
  color: var(--text-dim);
  font-size: 0.85rem;
}

/* ---------- Contact CTA (replaces forms) ---------- */

.contact-cta {
  max-width: 560px;
  margin: 0 auto;
  text-align: center;
  background: var(--panel);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  padding: 40px 32px;
}

.contact-cta p { color: var(--text-dim); margin-bottom: 22px; }

.contact-cta .email-addr {
  display: block;
  margin-top: 14px;
  color: var(--text-faint);
  font-size: 0.85rem;
}

/* ---------- Facebook embed ---------- */

.fb-embed-wrap {
  max-width: 560px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
}

.fb-embed-wrap iframe {
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-soft);
  max-width: 100%;
}

/* ---------- Footer ---------- */

footer.site-footer {
  border-top: 1px solid var(--border-soft);
  padding: 56px 24px 40px;
  position: relative;
  z-index: 1;
}

.footer-grid {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 40px;
  text-align: left;
}

@media (max-width: 760px) {
  .footer-grid { grid-template-columns: 1fr; text-align: center; }
  .fb-embed-wrap { justify-content: center; }
}

.footer-grid h4 {
  color: var(--text);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin: 0 0 14px;
}

.footer-grid p, .footer-grid a { color: var(--text-dim); font-size: 0.88rem; }

.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }

.footer-bottom {
  max-width: var(--max-width);
  margin: 40px auto 0;
  padding-top: 28px;
  border-top: 1px solid var(--border-soft);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  color: var(--text-faint);
  font-size: 0.8rem;
}

.footer-bottom img { height: 48px; }

/* ---------- Mobile ---------- */

@media (max-width: 1040px) {
  .nav-inner { flex-wrap: wrap; }
  nav.main-nav {
    display: none;
    width: 100%;
    flex-direction: column;
    flex-wrap: nowrap;
    gap: 14px;
    padding-top: 16px;
    border-top: 1px solid var(--border-soft);
    margin-top: 14px;
    white-space: normal;
  }
  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    border: 1px solid var(--border-soft);
    background: transparent;
    color: var(--text);
    cursor: pointer;
    font-size: 1.1rem;
  }
  .nav-open nav.main-nav { display: flex; }
}
