:root {
  --bg: #08111c;
  --bg-deep: #03070c;
  --panel: rgba(255, 255, 255, .052);
  --panel-strong: rgba(255, 255, 255, .078);
  --cream: #efe4cf;
  --muted: #b7aa94;
  --orange: #ff8a2b;
  --orange-soft: #ffb26d;
  --line: rgba(255, 138, 43, .26);
  --shadow: 0 24px 70px rgba(0, 0, 0, .38);
  --max: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 98px;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    linear-gradient(180deg, rgba(255, 138, 43, .045), transparent 440px),
    linear-gradient(180deg, var(--bg), var(--bg-deep));
  color: var(--cream);
  font-family: "Segoe UI", Arial, sans-serif;
  line-height: 1.65;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

img,
iframe {
  max-width: 100%;
}

a {
  color: inherit;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--orange-soft);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: 14px;
  left: 14px;
  z-index: 2000;
  transform: translateY(-150%);
  padding: 10px 14px;
  border-radius: 8px;
  background: var(--orange);
  color: var(--bg-deep);
  font-weight: 800;
  text-decoration: none;
  transition: transform .18s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: fixed;
  top: max(12px, env(safe-area-inset-top));
  left: 50%;
  z-index: 1000;
  width: min(calc(100% - 24px), 1180px);
  transform: translateX(-50%);
}

.nav-shell {
  min-height: 66px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 11px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(3, 7, 12, .86);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.brand {
  min-width: 0;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--cream);
  font-weight: 900;
  letter-spacing: .06em;
  text-decoration: none;
  text-transform: uppercase;
}

.brand-mark {
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

.brand-word {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nav-toggle {
  width: 44px;
  height: 44px;
  display: inline-grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: transparent;
  color: var(--orange);
  cursor: pointer;
}

.nav-toggle-line,
.nav-toggle-line::before,
.nav-toggle-line::after {
  width: 20px;
  height: 2px;
  display: block;
  border-radius: 999px;
  background: currentColor;
  transition: transform .18s ease, opacity .18s ease;
}

.nav-toggle-line {
  position: relative;
}

.nav-toggle-line::before,
.nav-toggle-line::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle-line::before {
  top: -7px;
}

.nav-toggle-line::after {
  top: 7px;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-line {
  background: transparent;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-line::before {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-line::after {
  transform: translateY(-7px) rotate(-45deg);
}

.nav-links {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  right: 0;
  display: grid;
  gap: 8px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(3, 7, 12, .98);
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
}

.nav-links.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-links a,
.nav-links button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: var(--cream);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .09em;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
}

.nav-links a:hover {
  color: var(--orange-soft);
}

.language-link {
  border: 1px solid rgba(239, 228, 207, .24);
  padding-inline: 16px;
}

.language-link[aria-current="true"] {
  border-color: rgba(255, 138, 43, .55);
  color: var(--orange-soft);
}

.nav-cta {
  background: var(--orange);
  color: var(--bg-deep) !important;
  box-shadow: 0 0 24px rgba(255, 138, 43, .25);
}

.hero {
  position: relative;
  min-height: 88svh;
  display: grid;
  align-items: end;
  padding: 120px 18px 52px;
  isolation: isolate;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(3, 7, 12, .52), rgba(8, 17, 28, .78) 54%, var(--bg) 100%),
    linear-gradient(90deg, rgba(3, 7, 12, .8), rgba(3, 7, 12, .34) 48%, rgba(3, 7, 12, .8));
}

.hero-image {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-inner {
  width: min(100%, var(--max));
  margin: 0 auto;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--orange-soft);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  font-family: Georgia, "Times New Roman", serif;
  letter-spacing: 0;
  overflow-wrap: normal;
  word-break: normal;
}

p {
  overflow-wrap: anywhere;
}

h1 {
  max-width: 100%;
  margin: 0;
  color: var(--orange);
  font-size: clamp(3rem, 10vw, 5.4rem);
  line-height: .92;
}

.hero-subtitle {
  max-width: 780px;
  margin: 18px 0 0;
  color: var(--cream);
  font: 400 clamp(1.45rem, 7vw, 3.1rem)/1.05 Georgia, "Times New Roman", serif;
}

.hero-text {
  max-width: 720px;
  margin: 20px 0 0;
  color: rgba(239, 228, 207, .92);
  font-size: clamp(1.02rem, 2.5vw, 1.22rem);
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border: 1px solid var(--orange);
  border-radius: 999px;
  color: var(--cream);
  font-size: .82rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 34px rgba(255, 138, 43, .2);
}

.button.primary {
  background: var(--orange);
  color: var(--bg-deep);
}

.button.subtle {
  border-color: rgba(239, 228, 207, .34);
}

.links-page {
  min-height: 100vh;
  padding: max(28px, env(safe-area-inset-top)) 18px 34px;
  background:
    radial-gradient(circle at top, rgba(255, 138, 43, .1), transparent 27rem),
    linear-gradient(180deg, rgba(3, 7, 12, .45), var(--bg-deep));
}

.links-shell {
  width: min(100%, 520px);
  margin: 0 auto;
}

.links-hero {
  display: grid;
  justify-items: center;
  text-align: center;
  padding: 18px 0 24px;
}

.links-logo {
  width: 118px;
  height: 118px;
  display: block;
  margin-bottom: 16px;
  object-fit: contain;
  filter: drop-shadow(0 0 28px rgba(255, 138, 43, .18));
}

.links-brand {
  margin: 0;
  color: var(--orange);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.2rem, 12vw, 4rem);
  line-height: .95;
}

.links-tagline {
  margin: 10px 0 0;
  color: var(--cream);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.35rem, 6vw, 2.15rem);
  line-height: 1.08;
}

.links-copy {
  max-width: 420px;
  margin: 16px auto 0;
  color: var(--muted);
  font-size: 1rem;
}

.links-list {
  display: grid;
  gap: 12px;
  margin-top: 10px;
}

.link-button {
  min-height: 62px;
  display: grid;
  grid-template-columns: 38px 1fr 24px;
  align-items: center;
  gap: 12px;
  padding: 13px 16px;
  border: 1px solid rgba(255, 138, 43, .35);
  border-radius: 8px;
  background: rgba(255, 255, 255, .055);
  color: var(--cream);
  text-decoration: none;
  box-shadow: 0 18px 42px rgba(0, 0, 0, .22);
  transition: transform .18s ease, border-color .18s ease, background .18s ease, box-shadow .18s ease;
}

.link-button:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 138, 43, .72);
  background: rgba(255, 255, 255, .082);
  box-shadow: 0 20px 54px rgba(255, 138, 43, .12);
}

.link-button-icon {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 138, 43, .28);
  border-radius: 50%;
  color: var(--orange);
  font-size: 1.25rem;
}

.link-button-label {
  font-weight: 900;
  letter-spacing: .04em;
}

.link-button-arrow {
  color: var(--orange-soft);
  font-size: 1.35rem;
  line-height: 1;
}

.links-note {
  margin: 20px 0 0;
  padding: 16px;
  border: 1px solid rgba(239, 228, 207, .18);
  border-radius: 8px;
  background: rgba(3, 7, 12, .5);
  color: var(--muted);
  text-align: center;
  font-size: .94rem;
}

.links-footer {
  margin-top: 28px;
  color: rgba(183, 170, 148, .78);
  text-align: center;
  font-size: .86rem;
}

.shop-hero {
  min-height: auto;
  padding: 132px 18px 58px;
  background:
    radial-gradient(circle at top left, rgba(255, 138, 43, .1), transparent 34rem),
    linear-gradient(180deg, rgba(3, 7, 12, .92), var(--bg));
}

.shop-hero-grid {
  width: min(100%, var(--max));
  display: grid;
  gap: 28px;
  align-items: center;
  margin: 0 auto;
  max-width: 880px;
}

.shop-note {
  max-width: 760px;
  margin: 18px 0 0;
  color: var(--muted);
}

.shop-grid {
  display: grid;
  gap: 18px;
  margin-top: 30px;
}

.shop-card {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: var(--panel);
  box-shadow: 0 18px 48px rgba(0, 0, 0, .22);
}

.shop-card-image {
  aspect-ratio: 4 / 3;
  background: #020509;
  overflow: hidden;
}

.shop-card-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform .25s ease;
}

.shop-card:hover .shop-card-image img {
  transform: scale(1.035);
}

.shop-card-body {
  display: grid;
  gap: 10px;
  padding: 20px;
}

.shop-card-top {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 12px;
}

.shop-card h3 {
  margin: 0;
  color: var(--orange);
  font-size: clamp(1.35rem, 4vw, 1.85rem);
}

.shop-card p {
  margin: 0;
  color: var(--muted);
}

.shop-price {
  color: var(--cream);
  font-weight: 900;
  white-space: nowrap;
}

.shop-badge {
  width: fit-content;
  padding: 5px 9px;
  border: 1px solid rgba(255, 138, 43, .35);
  border-radius: 999px;
  color: var(--orange-soft);
  font-size: .68rem;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.shop-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 6px;
}

.button.disabled,
.button[aria-disabled="true"] {
  cursor: not-allowed;
  opacity: .58;
  transform: none;
  box-shadow: none;
}

.shop-info-grid {
  display: grid;
  gap: 18px;
  margin-top: 30px;
}

.shop-info-card {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.shop-info-card h3 {
  margin: 0 0 8px;
  color: var(--orange);
  font-size: 1.35rem;
}

.shop-info-card p {
  margin: 0;
  color: var(--muted);
}

main {
  background: var(--bg);
}

.section {
  padding: clamp(64px, 9vw, 106px) 18px;
}

.section-dark {
  background: linear-gradient(180deg, rgba(3, 7, 12, .18), rgba(3, 7, 12, .72));
}

.section-compact {
  padding-top: clamp(8px, 2vw, 20px);
}

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

.section-kicker {
  margin: 0 0 10px;
  color: var(--orange-soft);
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.section-title {
  max-width: 820px;
  margin: 0;
  color: var(--orange);
  font-size: clamp(2rem, 8vw, 4.1rem);
  line-height: 1;
}

.section-lede {
  max-width: 760px;
  margin: 20px 0 0;
  color: rgba(239, 228, 207, .9);
  font-size: clamp(1.02rem, 2.5vw, 1.22rem);
}

.about-grid {
  display: grid;
  gap: 28px;
}

.about-text {
  max-width: 820px;
}

.about-text p {
  margin: 0 0 20px;
  color: rgba(239, 228, 207, .9);
  font-size: clamp(1.04rem, 2.5vw, 1.24rem);
}

.atmosphere-panel {
  align-self: start;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.atmosphere-panel p {
  margin: 0;
  color: var(--muted);
}

.atmosphere-panel h3 {
  margin: 0 0 14px;
  color: var(--orange);
  font-size: clamp(1.25rem, 4vw, 1.65rem);
  line-height: 1.1;
}

.atmosphere-panel ul,
.about-list {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.atmosphere-panel li,
.about-list li {
  position: relative;
  padding-left: 18px;
  color: var(--muted);
}

.atmosphere-panel li::before,
.about-list li::before {
  content: "";
  position: absolute;
  top: .72em;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 14px rgba(255, 138, 43, .45);
}

.platform-grid {
  display: grid;
  gap: 28px;
}

.video-card {
  margin-top: 30px;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.video-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #020509;
}

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

.video-poster {
  display: grid;
  place-items: end start;
  padding: clamp(18px, 4vw, 34px);
  background-position: center;
  background-size: cover;
}

.video-poster::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(3, 7, 12, .2), rgba(3, 7, 12, .86));
}

.video-poster-content {
  position: relative;
  max-width: 620px;
}

.video-poster-content strong {
  display: block;
  color: var(--orange);
  font: 700 clamp(1.7rem, 6vw, 3.3rem)/1 Georgia, serif;
}

.video-poster-content span {
  display: block;
  margin-top: 10px;
  color: var(--cream);
}

.video-meta {
  padding: clamp(22px, 4vw, 30px);
}

.video-meta h3 {
  margin: 0;
  color: var(--orange);
  font-size: clamp(1.45rem, 4vw, 2.1rem);
}

.video-meta p {
  max-width: 760px;
  margin: 10px 0 0;
  color: var(--muted);
}

.project-grid {
  display: grid;
  gap: 16px;
  margin-top: 30px;
  grid-template-columns: 1fr;
}

.project-card {
  min-height: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  text-decoration: none;
  transition: transform .18s ease, background .18s ease, border-color .18s ease;
}

.project-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 138, 43, .62);
  background: var(--panel-strong);
}

.project-card span {
  color: var(--orange-soft);
  font-size: .75rem;
  font-weight: 900;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.project-card h3 {
  margin: 0;
  color: var(--cream);
  font-size: clamp(1.35rem, 5vw, 1.85rem);
  line-height: 1.08;
  overflow-wrap: anywhere;
}

.project-card p {
  margin: 8px 0 0;
  color: var(--muted);
}

.cta {
  text-align: center;
  background:
    linear-gradient(180deg, rgba(255, 138, 43, .055), rgba(3, 7, 12, .7)),
    var(--bg-deep);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.cta .section-title,
.cta .section-lede,
.cta .button-row {
  margin-left: auto;
  margin-right: auto;
  justify-content: center;
}

.site-footer {
  padding: 34px 18px;
  background: var(--bg-deep);
  color: var(--muted);
}

.footer-inner {
  width: min(100%, var(--max));
  display: grid;
  gap: 18px;
  margin: 0 auto;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
}

.footer-links a {
  color: var(--cream);
  font-size: .82rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-decoration: none;
  text-transform: uppercase;
}

.footer-links a:hover {
  color: var(--orange-soft);
}

.copyright {
  margin: 0;
  font-size: .92rem;
}

.admin-body {
  min-height: 100vh;
  padding: 24px 16px 70px;
}

.admin-shell {
  width: min(100%, 1100px);
  margin: 0 auto;
}

.admin-topbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(3, 7, 12, .82);
}

.admin-title {
  margin: 0;
  color: var(--orange);
  font: 700 clamp(2rem, 8vw, 4rem)/1 Georgia, serif;
}

.admin-subtitle {
  margin: 6px 0 0;
  color: var(--muted);
}

.admin-card {
  padding: clamp(20px, 4vw, 30px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.admin-form {
  display: grid;
  gap: 18px;
}

.admin-grid {
  display: grid;
  gap: 18px;
}

.field {
  display: grid;
  gap: 7px;
}

.field label {
  color: var(--orange-soft);
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.field input,
.field textarea {
  width: 100%;
  border: 1px solid rgba(255, 138, 43, .34);
  border-radius: 8px;
  background: rgba(3, 7, 12, .68);
  color: var(--cream);
  font: inherit;
  padding: 12px 13px;
}

.field textarea {
  min-height: 118px;
  resize: vertical;
}

.admin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.form-message {
  margin: 0 0 18px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--cream);
  background: rgba(255, 138, 43, .08);
}

.form-message.error {
  border-color: rgba(255, 104, 92, .5);
  background: rgba(255, 104, 92, .12);
}

.button-input {
  cursor: pointer;
}

@media (min-width: 620px) {
  .button-row .button {
    min-width: 170px;
  }

  .project-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .shop-grid,
  .shop-info-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-inner {
    grid-template-columns: 1fr auto;
    align-items: center;
  }
}

@media (min-width: 900px) {
  .nav-toggle {
    display: none;
  }

  .nav-links {
    position: static;
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .nav-links a {
    min-height: auto;
  }

  .nav-links .nav-cta {
    min-height: 44px;
    padding: 0 16px;
  }

  .hero {
    min-height: 86svh;
    padding: 128px 28px 70px;
  }

  .section {
    padding-left: 28px;
    padding-right: 28px;
  }

  .about-grid {
    grid-template-columns: minmax(0, 1.35fr) minmax(300px, .65fr);
    align-items: start;
  }

  .platform-grid {
    grid-template-columns: minmax(0, 1fr) minmax(280px, .58fr);
    align-items: start;
  }

  .project-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .shop-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .project-card {
    min-height: 210px;
  }

  .admin-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .field.full {
    grid-column: 1 / -1;
  }
}

@media (max-width: 520px) {
  .brand-word {
    max-width: 190px;
  }

  h1 {
    font-size: clamp(2.35rem, 11vw, 3rem);
  }

  .button-row,
  .button {
    width: 100%;
  }

  .footer-links {
    display: grid;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
}
