/* Theme Name: Back Office Simulations Complete V6
Theme URI: https://backofficesimulations.com
Author: Back Office: Simulations
Version: 6.0.3
Text Domain: back-office-simulations */

:root {
  --ink: #020b14;
  --navy: #041321;
  --panel: #071422;
  --blue: #109cf1;
  --gold: #f3b735;
  --gold-deep: #d99c27;
  --silver: #f4f7fa;
  --muted: #9bb4c9;
  --line: rgba(243, 183, 53, 0.32);
  --green: #02140f;
  --cream: #f3eee3;
  --cream-ink: #151d18;
  --measure: 1120px;
  --serif: "Palatino Linotype", Palatino, Georgia, serif;
  --sans: Inter, Arial, system-ui, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--silver);
  font-family: var(--sans);
}

::selection {
  background: var(--gold);
  color: #07101b;
}

a:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.wp-site-blocks {
  min-height: 100vh;
  background:
    radial-gradient(ellipse 70% 36% at 100% -8%, rgba(243, 183, 53, 0.09), transparent 52%),
    radial-gradient(ellipse 42% 28% at 0% 0%, rgba(16, 156, 241, 0.08), transparent 46%),
    linear-gradient(180deg, #071422 0%, #020b14 46%, #04111e 100%);
  color: var(--silver);
}

.alignwide {
  width: min(var(--measure), 100%);
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
}

img {
  max-width: 100%;
  height: auto;
}

figure {
  margin: 0;
  max-width: 100%;
}

/* Header */

.bos-header {
  position: sticky;
  top: 0;
  z-index: 99;
  padding: 0 24px;
  background: rgba(2, 8, 14, 0.94);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}

.bos-header-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 28px;
  min-height: 84px;
}

.bos-header-logo img {
  display: block;
  width: min(250px, 46vw);
  height: auto;
}

.bos-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 20px;
  margin-left: auto;
}

.bos-header .wp-block-navigation__container {
  gap: 6px 20px;
}

.bos-nav a,
.bos-header .wp-block-navigation-item__content {
  font-size: 0.74rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  color: #d5dee8 !important;
}

.bos-nav a:hover,
.bos-header .wp-block-navigation-item__content:hover,
.bos-nav a[aria-current="page"] {
  color: var(--gold) !important;
}

.bos-nav button {
  color: var(--silver);
}

/* Footer */

.bos-footer {
  padding: 56px 24px 28px;
  background: #01080f;
  border-top: 1px solid var(--line);
}

.bos-footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(140px, 0.7fr) minmax(180px, 0.9fr);
  gap: 36px 48px;
  align-items: start;
}

.bos-footer-logo img {
  display: block;
  width: min(240px, 70vw);
  height: auto;
}

.bos-footer-tag {
  max-width: 280px;
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.bos-footer-label {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

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

.bos-footer-links a {
  color: #d5dee8;
  font-size: 0.95rem;
  text-decoration: none;
}

.bos-footer-links a:hover {
  color: var(--gold);
}

.bos-footer-base {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 36px;
  padding-top: 18px;
  border-top: 1px solid rgba(243, 183, 53, 0.16);
  color: var(--muted);
  font-size: 0.82rem;
}

.bos-footer-base p {
  margin: 0;
}

.bos-footer-base a {
  color: var(--silver);
  text-decoration: none;
}

.bos-footer-base a:hover {
  color: var(--gold);
}

/* Type */

.bos-kicker,
.bos-tag {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 0.72rem !important;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.bos-kicker::before,
.bos-tag::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--gold);
  flex: none;
}

.bos-home-title,
.bos-inner-title,
.bos-page-title,
.bos-inner-hero h1,
.bos-inner-hero .wp-block-post-title {
  margin: 0;
  max-width: 100%;
  color: var(--silver);
  font-weight: 800;
  line-height: 0.96;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  overflow-wrap: break-word;
}

.bos-home-title {
  font-size: clamp(2.4rem, 4vw, 3.6rem) !important;
  max-width: 100%;
}

.bos-inner-title,
.bos-inner-hero h1,
.bos-inner-hero .wp-block-post-title {
  font-size: clamp(2.45rem, 5vw, 4.15rem) !important;
}

.bos-page-title {
  font-size: clamp(2.8rem, 5.4vw, 4.6rem) !important;
}

.bos-home-title mark {
  background: none;
  color: var(--gold);
}

.bos-section-title {
  margin: 0 0 12px;
  max-width: 100%;
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  overflow-wrap: break-word;
}

.bos-home-lead,
.bos-inner-lead,
.bos-page-lead,
.bos-section-lead {
  max-width: 640px;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 1.12rem;
  line-height: 1.6;
}

.bos-section-head {
  max-width: 680px;
  margin-bottom: 32px;
}

.bos-index {
  margin: 0 0 16px;
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.2em;
}

/* Heroes and sections */

.bos-v6-hero,
.bor-hero-image {
  display: block;
  padding: 56px 24px;
  background-color: #041018;
  border-bottom: 1px solid var(--line);
  overflow: visible;
}

.bor-hero-image {
  background-color: #02140f;
}

.bos-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 40px;
  align-items: center;
}

.bos-hero-grid > * {
  min-width: 0;
}

.bos-hero-figure {
  margin: 0;
}

.bos-hero-photo {
  display: block;
  position: static;
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

.bos-v6-hero-copy,
.bor-hero-content {
  max-width: none;
}

.bos-inner-hero {
  padding: 76px 24px 52px;
  background:
    radial-gradient(ellipse at 100% 0%, rgba(243, 183, 53, 0.1), transparent 42%),
    radial-gradient(ellipse at 0% 100%, rgba(16, 156, 241, 0.08), transparent 38%),
    var(--navy);
  border-bottom: 1px solid var(--line);
}

.bos-missing {
  min-height: 62vh;
  display: flex;
  align-items: center;
}

.bos-section,
.bos-inner-section,
.bor-band {
  padding: 88px 24px;
}

.bos-section-navy {
  background: linear-gradient(180deg, #061525 0%, #04111c 100%);
  border-block: 1px solid rgba(243, 183, 53, 0.2);
}

.bos-v6-strip {
  background: linear-gradient(90deg, #00251b 0%, #06382b 100%);
  border-block: 1px solid rgba(243, 183, 53, 0.4);
}

.bos-v6-strip .bos-section-lead {
  color: #d7e6e1;
}

.bos-systems-strip {
  padding: 0 24px;
  background: #01080f;
  border-bottom: 1px solid var(--line);
}

.bos-systems {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 0;
  padding: 16px 0;
}

.bos-systems span {
  color: #d7e1ea;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.bos-systems span + span::before {
  content: "·";
  margin: 0 16px;
  color: var(--gold);
  font-weight: 400;
}

/* Layouts */

.bos-feature,
.bos-contact-layout,
.bos-next-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 40px;
  align-items: center;
}

.bos-feature > *,
.bos-contact-layout > *,
.bos-next-inner > * {
  min-width: 0;
  max-width: 100%;
}

.bos-next-inner {
  grid-template-columns: minmax(0, 1.3fr) auto;
  align-items: end;
}

.bos-principle-grid,
.bos-journal-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

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

.bos-next {
  padding: 64px 24px;
  background:
    radial-gradient(ellipse at 0% 100%, rgba(16, 156, 241, 0.08), transparent 36%),
    linear-gradient(90deg, #071c2e, #03111d);
  border-top: 1px solid var(--line);
}

.bos-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

/* Cards, media, actions */

.bos-inner-card,
.bos-journal-card {
  height: 100%;
  background:
    linear-gradient(180deg, rgba(16, 156, 241, 0.05), rgba(243, 183, 53, 0.035)),
    var(--panel);
  border: 1px solid rgba(243, 183, 53, 0.28);
  border-radius: 2px;
}

.bos-inner-card {
  padding: 26px 24px 28px;
}

.bos-journal-card {
  display: block;
  padding: 0 0 22px;
  overflow: visible;
  color: inherit;
  text-decoration: none;
  scroll-margin-top: 96px;
}

.bos-journal-card .bos-devlog-cover {
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.bos-inner-card h3,
.bos-journal-card h3 {
  margin: 0 0 8px;
  font-size: 1.12rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  text-transform: uppercase;
}

.bos-journal-card h3 {
  margin: 18px 22px 8px;
}

.bos-inner-card p,
.bos-journal-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.bos-journal-card p {
  margin: 0 22px;
}

a.bos-journal-card:hover,
.bor-gallery-card:hover {
  border-color: var(--gold);
}

.bor-gallery-card {
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.bor-gallery-card:hover {
  transform: translateY(-3px);
}

.bos-cta {
  margin: 0 !important;
}

.bos-cta a {
  display: inline-block;
  padding: 14px 20px;
  border-radius: 2px;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none !important;
}

.bos-cta-gold a {
  background: linear-gradient(90deg, var(--gold-deep), #ffd66b 48%, var(--gold-deep));
  color: #07101b !important;
}

.bos-cta-gold a:hover {
  filter: brightness(1.05);
}

.bos-cta-outline a {
  border: 1px solid rgba(243, 183, 53, 0.75);
  background: transparent;
  color: var(--silver) !important;
}

.bos-cta-outline a:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: #07101b !important;
}

.bos-game-cover,
.bor-feature-shot,
.bos-devlog-cover {
  border: 1px solid rgba(243, 183, 53, 0.55);
  border-radius: 2px;
  overflow: visible;
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.28);
}

.bos-game-cover img,
.bor-feature-shot img,
.bos-devlog-cover img,
.bor-gallery-card img,
.bos-hero-photo {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
}

.bos-chuck {
  max-width: 360px;
  margin: 0 auto;
}

.bos-chuck img {
  display: block;
  width: 100%;
  height: auto;
}

.bos-quote {
  max-width: 780px;
  margin: 0 0 40px;
  padding: 4px 0 4px 22px;
  border-left: 2px solid var(--gold);
  color: var(--silver);
  font-size: clamp(1.35rem, 2.3vw, 1.9rem);
  line-height: 1.35;
  letter-spacing: -0.03em;
}

/* Retail */

.bor-page {
  background: var(--green);
}

.bor-hero-content .bos-page-title {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: 0.03em;
}

.bor-hero-content .bos-page-title mark {
  background: linear-gradient(90deg, var(--gold-deep), #ffd66b 46%, var(--gold-deep));
  color: #1a1408;
  padding: 0.04em 0.2em 0.08em;
  font-size: 0.62em;
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.bor-hero-content .bos-page-lead {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.35rem;
  color: #f0e2bc;
}

.bor-page .bos-section-title,
.bor-band h2 {
  font-family: var(--serif);
  font-weight: 600;
  letter-spacing: -0.02em;
  text-transform: none;
}

.bor-page > .bos-section,
.bor-page > .bor-band {
  border-top: 1px solid rgba(143, 116, 40, 0.35);
}

.bor-band {
  background: var(--cream);
  color: var(--cream-ink);
}

.bor-band h2,
.bor-band .bos-section-title {
  color: var(--cream-ink);
}

.bor-band p,
.bor-band .bos-section-lead {
  color: #485049;
}

.bor-band .bos-kicker,
.bor-band .bos-tag {
  color: #8a6914;
}

.bor-band .bos-kicker::before,
.bor-band .bos-tag::before {
  background: #8a6914;
}

.bor-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.bor-gallery-card {
  overflow: visible;
  background: #06291f;
  border: 1px solid rgba(143, 116, 40, 0.7);
  border-radius: 2px;
}

.bor-gallery-card img {
  width: 100%;
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
}

.bor-gallery-copy {
  padding: 18px 18px 20px;
}

.bor-gallery-copy h3 {
  margin: 0 0 6px;
  font-size: 1.05rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.bor-gallery-copy p {
  margin: 0;
  color: #c7d1ca;
}

.bos-email {
  margin: 0 0 22px;
  color: var(--gold);
  font-size: clamp(1.15rem, 2vw, 1.7rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.bos-inquiry-grid {
  display: grid;
  gap: 14px;
}

.bos-contact-layout .bos-inquiry-grid {
  margin-top: 8px;
}

.bos-contact-row {
  padding-top: 2px;
}

.bos-live-notes {
  margin-top: 56px;
}

/* Reading pages */

.bos-prose {
  width: min(740px, 100%);
  margin-left: auto;
  margin-right: auto;
}

.bos-prose p,
.bos-prose li {
  color: #d5e0ea;
  font-size: 1.05rem;
  line-height: 1.7;
}

.bos-prose h2,
.bos-prose h3 {
  letter-spacing: -0.03em;
  text-transform: uppercase;
}

.bos-prose a {
  color: var(--blue);
  text-underline-offset: 3px;
}

.bos-prose a:hover {
  color: var(--gold);
}

.wp-block-post-date {
  display: block;
  margin-top: 16px;
  color: var(--gold);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.bos-archive .wp-block-post-template {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.bos-archive .wp-block-post {
  padding: 22px;
  background: var(--panel);
  border: 1px solid rgba(243, 183, 53, 0.28);
}

.bos-archive .wp-block-post-title a {
  color: var(--silver);
  text-decoration: none;
}

.bos-archive .wp-block-post-title a:hover {
  color: var(--gold);
}

@media (max-width: 860px) {
  .bos-header {
    position: relative;
  }

  .bos-header-bar {
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 10px;
    min-height: 0;
    padding: 14px 0;
  }

  .bos-nav {
    margin-left: 0;
    gap: 8px 16px;
  }

  .bos-systems {
    justify-content: flex-start;
    column-gap: 16px;
    row-gap: 8px;
  }

  .bos-systems span + span::before {
    content: none;
  }

  .bos-footer-base,
  .bos-next-inner {
    align-items: flex-start;
  }

  .bos-feature,
  .bos-contact-layout,
  .bos-next-inner,
  .bos-principle-grid,
  .bos-journal-grid,
  .bor-gallery,
  .bos-footer-grid,
  .bos-archive .wp-block-post-template {
    grid-template-columns: 1fr;
  }

  .bos-v6-hero,
  .bor-hero-image {
    padding: 36px 20px 48px;
  }

  .bos-hero-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .bos-chuck {
    max-width: 260px;
  }

  .bos-section,
  .bos-inner-section,
  .bor-band,
  .bos-inner-hero {
    padding-left: 20px;
    padding-right: 20px;
  }

  .bos-section,
  .bos-inner-section,
  .bor-band {
    padding-top: 56px;
    padding-bottom: 56px;
  }

  .bos-footer-base {
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .bos-home-title {
    font-size: 2.15rem !important;
  }

  .bos-inner-title,
  .bos-page-title,
  .bos-inner-hero h1 {
    font-size: 2rem !important;
  }

  .bos-nav a,
  .bos-header .wp-block-navigation-item__content {
    font-size: 0.68rem !important;
    letter-spacing: 0.08em;
  }
}

.bos-hero-photo,
.bos-game-cover img,
.bor-feature-shot img,
.bos-devlog-cover img,
.bor-gallery-card img,
.bos-chuck img {
  width: 100%;
  max-width: 100%;
  height: auto !important;
  object-fit: contain;
  object-position: center;
}

.bos-header-logo img,
.bos-footer-logo img {
  width: min(250px, 70vw);
  max-width: 100%;
  height: auto !important;
}

@media (prefers-reduced-motion: reduce) {
  .bor-gallery-card {
    transition: none;
  }

  .bor-gallery-card:hover {
    transform: none;
  }
}

/* Signature systems showcase (VisionDeck + ShopperLife) */
.bos-signature-section {
  background: linear-gradient(180deg, rgba(4, 19, 33, 0.92), rgba(2, 11, 20, 0.98));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.bos-signature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}
.bos-signature-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.bos-signature-card:hover {
  transform: translateY(-2px);
  border-color: var(--gold);
}
.bos-signature-media {
  margin: 0;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #02140f;
}
.bos-signature-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.bos-signature-body {
  padding: 22px 24px 26px;
}
.bos-signature-body h3 {
  margin: 6px 0 10px;
  font-size: 1.4rem;
  color: var(--silver);
}
.bos-signature-body p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}
@media (max-width: 860px) {
  .bos-signature-grid {
    grid-template-columns: 1fr;
  }
}
