@charset "UTF-8";

@font-face {
  font-family: Futura;
  src: url("original/assets/FuturaPTMedium.otf") format("opentype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: Futura;
  src: url("original/assets/FuturaPTBold.otf") format("opentype");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: Futura;
  src: url("original/assets/FuturaPTMediumOblique.otf") format("opentype");
  font-style: italic;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: Futura;
  src: url("original/assets/FuturaPTBoldOblique.otf") format("opentype");
  font-style: italic;
  font-weight: 700;
  font-display: swap;
}

:root {
  --orange: #ef8409;
  --orange-dark: #bd5d00;
  --wheat: #f5c485;
  --panel: #fff1cb;
  --panel-alt: #f1d6a3;
  --ink: #463935;
  --lavender: #9d73c7;
  --shadow: 0 5px 5px rgba(0, 0, 0, 0.32);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  color: var(--ink);
  background-color: var(--wheat);
  background-image: url("original/assets/bg.png");
  background-size: 60px 60px;
  font-family: Futura, "Trebuchet MS", sans-serif;
  font-size: 1.08rem;
  line-height: 1.55;
}

body.no-js .sidebar {
  display: block;
}

h1,
h2,
h3 {
  color: var(--orange-dark);
  line-height: 1.15;
}

h1 {
  margin: 0 0 1.25rem;
  font-size: clamp(2rem, 4vw, 3rem);
}

h2 {
  margin-top: 2rem;
  font-size: clamp(1.35rem, 2.8vw, 1.85rem);
}

a {
  color: var(--orange-dark);
  font-weight: 700;
}

a:hover,
a:focus-visible {
  color: var(--lavender);
}

button,
.button-link {
  font: inherit;
}

button:focus-visible,
a:focus-visible {
  outline: 3px solid var(--lavender);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -5rem;
  z-index: 10;
  padding: 0.5rem 0.8rem;
  color: var(--ink);
  background: var(--panel);
  border: 3px ridge var(--orange);
  border-radius: 0.6rem;
}

.skip-link:focus {
  top: 1rem;
}

.site-frame {
  width: min(1100px, calc(100% - 1.5rem));
  margin: 1rem auto 2rem;
}

.site-header,
.sidebar,
.content-card,
.site-footer {
  border: 8px ridge var(--orange);
  border-radius: 15px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 132px;
  padding: 1rem 1.25rem;
}

.brand-block {
  min-width: 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  min-width: 0;
  gap: 0.35rem;
  color: var(--orange-dark);
  line-height: 1;
  text-decoration: none;
}

.brand-logo {
  display: block;
  width: min(620px, 100%);
  max-width: 100%;
  height: auto;
}

.language-badge {
  align-self: flex-start;
  padding: 0.2rem 0.45rem;
  color: var(--ink);
  background: var(--panel-alt);
  border: 2px ridge var(--orange);
  border-radius: 0.35rem;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
}

.tagline {
  margin: 0.65rem 0 0;
  font-style: italic;
}

.menu-toggle {
  display: none;
  padding: 0.55rem 0.8rem;
  color: var(--ink);
  background: var(--panel-alt);
  border: 3px ridge var(--orange);
  border-radius: 0.7rem;
  box-shadow: var(--shadow);
  cursor: pointer;
}

.page-layout {
  display: grid;
  grid-template-columns: minmax(165px, 1fr) minmax(0, 5fr);
  gap: 0.7rem;
  align-items: start;
  margin-top: 0.7rem;
}

.sidebar {
  padding: 0.9rem;
}

.sidebar-heading {
  margin: 0 0 0.7rem;
  color: var(--orange-dark);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.menu {
  display: grid;
  gap: 0.35rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.navlink {
  display: block;
  padding: 0.38rem 0.55rem;
  color: var(--ink);
  background: var(--panel-alt);
  border: 2px ridge var(--orange);
  border-radius: 0 0.7rem 0.7rem 0;
  box-shadow: 3px 3px 3px rgba(0, 0, 0, 0.2);
  text-decoration: none;
}

.navlink:hover,
.navlink:focus-visible,
.navlink[aria-current="page"] {
  color: var(--ink);
  background: #ffd98f;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.9);
}

.navlink.premium {
  color: #7a3c00;
  background: #f7c566;
}

.menu-divider {
  height: 0.8rem;
}

.content-card {
  min-width: 0;
  padding: clamp(1rem, 3vw, 2rem);
}

.eyebrow,
.slot-label {
  margin: 0 0 0.45rem;
  color: var(--lavender);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.lead {
  font-size: 1.2rem;
}

.responsiveimg {
  max-width: 100%;
  height: auto;
}

.resourcetable {
  width: 90%;
  margin: 1rem auto;
  border-spacing: 0.5rem;
}

.resourcetable td {
  vertical-align: top;
}

.updates {
  height: 300px;
  margin: 1rem 0;
  padding: 0.5rem 1rem;
  overflow: auto;
  background: rgba(234, 201, 141, 0.58);
  border: 5px ridge var(--orange);
  border-radius: 0.9rem;
  box-shadow: inset 5px 5px 5px rgba(0, 0, 0, 0.12);
}

.hero-panel {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: 130px;
  margin: 1.5rem 0;
  padding: 1.2rem;
  color: var(--ink);
  background: linear-gradient(135deg, #f3d99e, #eab06f);
  border: 5px ridge var(--orange);
  border-radius: 1rem;
  box-shadow: inset 5px 5px 5px rgba(0, 0, 0, 0.12);
}

.hero-panel strong,
.hero-panel span {
  display: block;
}

.hero-spark {
  color: var(--orange);
  font-size: 3rem;
}

.updates-box,
.slot-card,
.next-batch {
  margin: 1rem 0;
  padding: 1rem 1.15rem;
  background: rgba(234, 201, 141, 0.58);
  border: 5px ridge var(--orange);
  border-radius: 0.9rem;
  box-shadow: inset 5px 5px 5px rgba(0, 0, 0, 0.12);
}

.updates-box .slot-label,
.slot-card .slot-label {
  margin-bottom: 0.15rem;
}

.mapping-list {
  margin: 1.25rem 0 0;
}

.mapping-list div + div {
  margin-top: 0.8rem;
}

.mapping-list dt {
  color: var(--orange-dark);
  font-weight: 700;
}

.mapping-list dd {
  margin: 0;
}

code {
  padding: 0.1rem 0.3rem;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 0.25rem;
  font-size: 0.95em;
}

.button-link {
  display: inline-block;
  padding: 0.55rem 0.85rem;
  color: var(--ink);
  background: var(--panel-alt);
  border: 3px ridge var(--orange);
  border-radius: 0.65rem;
  box-shadow: var(--shadow);
  text-decoration: none;
}

.button-link:active {
  transform: translateY(2px);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 0.7rem;
  padding: 0.8rem 1rem;
  font-size: 0.88rem;
}

@media (max-width: 760px) {
  .site-frame {
    width: min(100% - 0.75rem, 680px);
    margin-top: 0.4rem;
  }

  .site-header {
    min-height: 105px;
    padding: 0.8rem;
  }

  .menu-toggle {
    display: inline-block;
    flex: 0 0 auto;
  }

  body:not(.no-js) .sidebar {
    display: none;
  }

  body:not(.no-js) .sidebar.is-open {
    display: block;
  }

  .page-layout {
    display: block;
  }

  .sidebar {
    margin-bottom: 0.7rem;
  }

  .content-card {
    padding: 1rem;
  }

  .site-footer {
    flex-direction: column;
  }
}

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