/* ==========================================================================
   Igloo.se Theme & Layout Stylesheet
   Fonts: Questrial (headings/quotes), Noto Sans (body), Poppins (accents)
   Colors: #fcc500 (Accent Yellow), #000000 / #020202 / #161616 / #222222 (Dark)
   ========================================================================== */

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Noto Sans', Helvetica, Arial, Lucida, sans-serif;
  font-size: 1rem; /* 16px */
  font-weight: 400;
  line-height: 1.8;
  color: rgba(0, 0, 0, 0.87);
  background-color: #ffffff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-wrap: break-word;
}

/* Typography & Modern Web Guidance Text Wrapping */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Questrial', Helvetica, Arial, Lucida, sans-serif;
  color: #000000;
  font-weight: 500;
  line-height: 1.2;
  padding-bottom: 10px;
  text-wrap: balance;
}

p,
blockquote,
li {
  text-wrap: pretty;
}

p {
  padding-bottom: 1em;
}

p:last-of-type {
  padding-bottom: 0;
}

a {
  color: #161616;
  text-decoration: none;
}

img,
video,
iframe {
  max-width: 100%;
  height: auto;
  display: block;
}

.accent-yellow {
  color: #fcc500;
}

/* ==========================================================================
   Grid & Containers (Matching Divi 1280px Max-Width & Gutters)
   ========================================================================== */

.container,
.et_pb_row {
  width: 80%;
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
}

.et_pb_section {
  position: relative;
  padding: 54px 0;
  background-size: cover;
  background-position: 50%;
  background-repeat: no-repeat;
}

.et_pb_row {
  padding: 27px 0;
}

@media only screen and (min-width: 1600px) {
  .et_pb_section {
    padding: 64px 0;
  }
  .et_pb_row {
    padding: 32px 0;
  }
}

/* Flex Row & Column Proportions (Gutters 3 = 5.5%, Gutters 2 = 3%) */
.row-2col,
.row-kykm,
.row-matrix-content,
.row-poetry {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
}

.col-4-4 {
  width: 100%;
}

@media (min-width: 981px) {
  .col-1-2 {
    width: 47.25%;
    margin-right: 5.5%;
  }
  .col-1-2:last-child {
    margin-right: 0;
  }

  .col-3-5 {
    width: 57.8%;
    margin-right: 5.5%;
  }
  .col-2-5 {
    width: 36.7%;
    margin-right: 5.5%;
  }
  .col-3-5:last-child,
  .col-2-5:last-child {
    margin-right: 0;
  }

  /* Gutters 1 (row-kykm) */
  .row-kykm .col-3-5 {
    width: 60%;
    margin-right: 0;
  }
  .row-kykm .col-2-5 {
    width: 40%;
    margin-right: 0;
  }

  /* Gutters 2 (Matrix row) */
  .col-2-5_g2 {
    width: 38.2%;
    margin-right: 3%;
  }
  .col-3-5_g2 {
    width: 58.8%;
    margin-right: 0;
  }
}

@media (max-width: 980px) {
  .col-1-2,
  .col-3-5,
  .col-2-5,
  .col-2-5_g2,
  .col-3-5_g2 {
    width: 100%;
    margin-right: 0;
    margin-bottom: 30px;
  }
  .col-1-2:last-child,
  .col-3-5:last-child,
  .col-2-5:last-child,
  .col-3-5_g2:last-child {
    margin-bottom: 0;
  }
}

/* ==========================================================================
   Buttons (Divi Button Styling + Hover Arrow)
   ========================================================================== */

.et_pb_button {
  display: inline-block;
  position: relative;
  font-family: 'Questrial', Helvetica, Arial, Lucida, sans-serif;
  font-size: 1rem; /* 16px */
  font-weight: 600;
  line-height: 1.7 !important;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  color: #ffffff !important;
  background-color: #000000;
  border: 1px solid rgba(255, 255, 255, 0);
  border-radius: 30px;
  padding: 12px 35px;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.2);
  transition: all 300ms ease 0ms;
  cursor: pointer;
}

.et_pb_button::after {
  content: "›";
  font-size: 1.5em;
  line-height: 1;
  position: absolute;
  top: 50%;
  transform: translateY(-52%);
  margin-left: -0.6em;
  opacity: 0;
  transition: all 200ms ease;
}

.et_pb_button:hover {
  padding-right: 44px;
  padding-left: 28px;
  transform: translateY(-2px);
  box-shadow: 0 15px 35px rgba(15, 23, 42, 0.35);
}

.et_pb_button:hover::after {
  opacity: 1;
  margin-left: 0.35em;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */

/* Desktop Pill Header */
.desktop-header {
  padding-top: 3px;
  padding-bottom: 3px;
  background-color: transparent;
}

.header-row {
  padding-top: 11px !important;
  padding-bottom: 13px !important;
}

.header-pill-menu {
  background-color: #000000;
  border-radius: 262px;
  padding-left: 24px;
  padding-right: 24px;
}

.desktop-nav .nav-list {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: nowrap;
  gap: 2px;
}

.desktop-nav .menu-item {
  display: flex;
  align-items: stretch;
}

.desktop-nav .menu-item a {
  display: flex;
  align-items: center;
  padding: 31px 11px;
  font-family: 'Noto Sans', Helvetica, Arial, Lucida, sans-serif;
  font-weight: 600;
  font-size: 1rem; /* 16px */
  color: #ffffff !important;
  letter-spacing: 1px;
  white-space: nowrap;
  transition: color 300ms ease 0ms;
}

.desktop-nav .menu-item a:hover,
.desktop-nav .menu-item.current-menu-item a:hover {
  color: #fcc500 !important;
}

.desktop-nav .menu-logo-slot {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
}

.desktop-nav .header-logo {
  height: auto;
  max-height: 64px;
  width: auto;
}

/* Mobile Header */
.mobile-header {
  display: none;
  padding-top: 4px;
  padding-bottom: 2px;
}

.mobile-header-row {
  padding-top: 1px !important;
  padding-bottom: 3px !important;
}

.mobile-menu-container {
  position: relative;
  padding-bottom: 17px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.mobile-logo-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 10px;
}

.mobile-logo {
  height: auto;
  max-height: 64px;
  width: auto;
  filter: invert(90%);
  backface-visibility: hidden;
}

.mobile-nav-wrap {
  display: flex;
  justify-content: center;
  width: 100%;
}

.mobile-menu-toggle {
  background: none;
  border: 0;
  color: #000000;
  cursor: pointer;
  padding: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mobile-dropdown {
  width: 100%;
  background: #ffffff;
  border-top: 3px solid #000000;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  padding: 5%;
  margin-top: 8px;
  z-index: 9999;
}

.mobile-nav-list {
  list-style: none;
  text-align: left;
}

.mobile-nav-list li a {
  display: block;
  padding: 10px 5%;
  font-size: 1rem;
  color: #000000;
  border-bottom: 1px solid rgba(0, 0, 0, 0.03);
  transition: opacity 0.2s ease-in-out, background-color 0.2s ease-in-out;
}

.mobile-nav-list li a:hover {
  background-color: rgba(0, 0, 0, 0.03);
  opacity: 0.7;
}

@media only screen and (max-width: 980px) {
  .desktop-header {
    display: none !important;
  }
  .mobile-header {
    display: block !important;
  }
}

/* ==========================================================================
   Section 1: Hero Section
   ========================================================================== */

.section-hero {
  padding-top: 50px;
  padding-bottom: 50px;
}

.hero-heading-desktop {
  letter-spacing: 1px;
  margin-top: 8px;
}

.hero-heading-desktop h1 {
  font-family: 'Questrial', Helvetica, Arial, Lucida, sans-serif;
  font-weight: 500;
  font-size: 4.5rem; /* 72px */
  line-height: 1.2;
}

.hero-heading-tablet,
.hero-heading-phone {
  display: none;
  letter-spacing: 1px;
}

.hero-lead-desktop {
  font-weight: 300;
  font-size: 1.6875rem; /* 27px */
  line-height: 1.9;
  margin-top: 47px;
  margin-bottom: 65px;
}

.hero-lead-mobile {
  display: none;
  font-weight: 300;
  font-size: 1.4375rem; /* 23px */
  line-height: 1.8;
  margin-top: 35px;
  margin-bottom: 35px;
}

.hero-image-wrap {
  border-radius: 10px;
  overflow: hidden;
}

@media only screen and (min-width: 768px) and (max-width: 980px) {
  .section-hero {
    padding-top: 2px;
    padding-bottom: 2px;
  }
  .hero-heading-desktop,
  .hero-heading-phone,
  .hero-lead-desktop {
    display: none;
  }
  .hero-heading-tablet,
  .hero-lead-mobile {
    display: block;
  }
  .hero-heading-tablet h1 {
    font-family: 'Questrial', Helvetica, Arial, Lucida, sans-serif;
    font-weight: 500;
    font-size: 2.75rem; /* 44px */
    line-height: 1.1;
  }
}

@media only screen and (max-width: 767px) {
  .section-hero {
    padding-top: 2px;
    padding-bottom: 2px;
  }
  .hero-heading-desktop,
  .hero-heading-tablet,
  .hero-lead-desktop {
    display: none;
  }
  .hero-heading-phone,
  .hero-lead-mobile {
    display: block;
  }
  .hero-heading-phone h1 {
    font-family: 'Questrial', Helvetica, Arial, Lucida, sans-serif;
    font-weight: 500;
    font-size: 2.9375rem; /* 47px */
    line-height: 1.15;
  }
}

/* ==========================================================================
   Section 1B: Open Windows Game Showcase (Hero Images & Download Links)
   ========================================================================== */

.section-owg {
  background-color: #f8fafc;
  padding-top: 64px;
  padding-bottom: 96px;
}

.owg-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
}

.owg-content {
  flex: 1;
  max-width: 600px;
  z-index: 10;
}

.owg-eyebrow {
  font-family: 'Noto Sans', Helvetica, Arial, Lucida, sans-serif;
  font-size: 0.875rem; /* 14px */
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #000000;
  padding-bottom: 12px !important;
}

.owg-content h1,
.owg-content h2 {
  font-family: 'Questrial', Helvetica, Arial, Lucida, sans-serif;
  font-size: clamp(2.25rem, 4.5vw, 4rem);
  font-weight: 500;
  line-height: 1.15;
  color: #000000;
  padding-bottom: 24px;
}

.owg-content h1 {
  font-size: clamp(1.8rem, 3.6vw, 3.2rem);
}

.owg-lead {
  font-size: 1.25rem; /* 20px */
  font-weight: 300;
  line-height: 1.8;
  color: rgba(0, 0, 0, 0.8);
  margin-bottom: 32px;
}

.hero-buttons-container {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-top: 30px;
}

.app-store-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background-color: #0f172a;
  color: #ffffff !important;
  padding: 16px 28px;
  font-size: 1.125rem;
  font-weight: 600;
  border-radius: 30px;
  text-decoration: none;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.25);
  transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
  font-family: 'Questrial', Helvetica, Arial, Lucida, sans-serif;
  white-space: nowrap;
}

.app-store-btn:hover {
  transform: translateY(-2px);
  background-color: #1e293b;
  box-shadow: 0 15px 35px rgba(15, 23, 42, 0.4);
  color: #fcc500 !important;
}

.app-store-btn svg {
  flex-shrink: 0;
}

.hero-visual {
  flex: 1;
  display: flex;
  justify-content: center;
  position: relative;
  perspective: 1000px;
}

/* CSS Phone Mockup (from Open Windows Game) */
.phone-mockup {
  width: 320px;
  height: 650px;
  background: #000000;
  border-radius: 45px;
  padding: 12px;
  position: relative;
  box-shadow:
    0 0 0 2px #333333,
    inset 0 0 0 2px #111111,
    0 30px 60px rgba(0, 0, 0, 0.6),
    0 0 40px rgba(252, 197, 0, 0.2);
  transform: rotate3d(0, 0, 0, 0);
  transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.phone-notch {
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 30px;
  background: #000000;
  border-bottom-left-radius: 20px;
  border-bottom-right-radius: 20px;
  z-index: 10;
}

.phone-screen {
  width: 100%;
  height: 100%;
  background: #ffffff;
  border-radius: 35px;
  overflow: hidden;
  position: relative;
  user-select: none;
}

/* Slider inside phone */
.phone-screen .slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
  transform: translateX(100%);
}

.phone-screen .slide.slide-right {
  transform: translateX(-100%);
}

.phone-screen .slide.slide-left {
  transform: translateX(100%);
}

.phone-screen .slide.active {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

.slider-controls {
  position: absolute;
  bottom: -60px;
  left: 50%;
  transform: translateX(-50%);
  width: 140px;
  display: flex;
  justify-content: space-between;
  padding: 0;
  z-index: 100;
  pointer-events: auto;
}

.slider-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(15, 23, 42, 0.15);
  color: rgba(15, 23, 42, 0.75);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.2rem;
  pointer-events: auto;
  transition: background 0.3s, transform 0.2s;
}

.slider-btn:hover {
  background: #fcc500;
  color: #000000;
  transform: scale(1.1);
}

.pulse-anim-light {
  animation: floatingDevice 6s ease-in-out infinite alternate;
  @media (prefers-reduced-motion: reduce) {
    animation: none;
  }
}

@keyframes floatingDevice {
  0% {
    transform: translateY(0px) rotate3d(0, 0, 0, 0);
  }
  100% {
    transform: translateY(-20px) rotate3d(0, 0, 0, 0);
  }
}

.phone-mockup:hover.pulse-anim-light {
  animation: none;
}

@media only screen and (max-width: 980px) {
  .owg-row {
    flex-direction: column;
    text-align: center;
  }
  .owg-row .hero-visual {
    margin-bottom: 40px;
  }
  .owg-content {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .hero-buttons-container {
    justify-content: center;
  }
}

/* ==========================================================================
   Section 2: KYKM App Dark Showcase
   ========================================================================== */

.section-kykm-dark {
  background-color: #000000 !important;
  color: #ffffff;
}

.row-kykm {
  width: 90%;
  max-width: 90%;
  align-items: center;
}

.kykm-slide-content {
  padding: 6% 5px;
}

.kykm-title {
  font-family: 'Questrial', Helvetica, Arial, Lucida, sans-serif;
  font-weight: 600;
  font-size: 3.25rem; /* 52px */
  line-height: 1.3;
  color: #ffffff !important;
  text-align: left;
  padding-bottom: 14px;
}

.kykm-title a {
  color: #ffffff;
}

.kykm-description {
  font-size: 1.1875rem; /* 19px */
  line-height: 1.9;
  color: #ffffff;
  font-weight: 400;
  text-align: left;
}

.kykm-description p {
  line-height: 1.9;
  padding-bottom: 1em;
}

.kykm-free-badge {
  font-family: 'Questrial', Helvetica, Arial, Lucida, sans-serif;
  font-size: 1.375rem; /* 22px */
  font-weight: 500;
  text-align: left;
  padding-bottom: 16px;
}

.store-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  padding-top: 4px;
}

.store-badges img {
  width: 175px;
  height: 80px;
  object-fit: contain;
  display: inline-block;
}

.kykm-phone-wrap {
  padding-top: 24px;
  text-align: left;
}

.kykm-phone-wrap img {
  height: 700px;
  max-height: 700px;
  width: auto;
}

@media only screen and (max-width: 980px) {
  .kykm-title {
    font-size: 2.25rem; /* 36px */
  }
  .kykm-phone-wrap img {
    height: auto;
    max-height: 600px;
  }
}

@media only screen and (max-width: 767px) {
  .kykm-title {
    font-size: 2.5rem; /* 40px */
  }
}

/* ==========================================================================
   Section 3: Video Instructions & Abilene Paradox
   ========================================================================== */

.row-spacer {
  padding: 16px 0;
}

.video-heading {
  padding-bottom: 0;
  margin-bottom: 18px;
}

.video-heading h2 {
  font-size: 3.25rem; /* 52px */
  line-height: 1.3;
}

.video-desc {
  margin-bottom: 28px;
}

.video-desc p {
  font-family: 'Poppins', Helvetica, Arial, Lucida, sans-serif;
  font-size: 1.0625rem; /* 17px */
  font-weight: 300;
  line-height: 1.8;
  color: #666666;
}

.email-link {
  color: #f4c700;
  font-family: 'Poppins', Helvetica, Arial, Lucida, sans-serif;
  font-weight: 300;
}

.email-link:hover {
  text-decoration: underline;
}

.video-box {
  width: 100%;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0px 2px 18px 0px rgba(0, 0, 0, 0.3);
  line-height: 0;
  background-color: #000000;
}

.video-box video {
  width: 100%;
  height: auto;
}

.iframe-box {
  aspect-ratio: 16 / 9;
}

.iframe-box iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

@media only screen and (max-width: 980px) {
  .video-heading h2 {
    font-size: 2.25rem; /* 36px */
  }
}

@media only screen and (max-width: 767px) {
  .video-heading h2 {
    font-size: 1.625rem; /* 26px */
  }
}

/* ==========================================================================
   Section 4: The Igloo Matrix
   ========================================================================== */

.section-matrix {
  background-color: rgba(244, 244, 244, 0);
}

.matrix-header-row {
  padding-bottom: 3px !important;
}

.matrix-title {
  margin-bottom: 0;
}

.matrix-title h1 {
  font-size: 4.5rem; /* 72px */
  line-height: 1.2;
  text-align: center;
}

.matrix-subtitle {
  font-size: 1.3125rem; /* 21px */
  min-height: 73.8px;
  text-align: center;
  padding-top: 0;
  margin-top: 0;
}

.row-matrix-content {
  padding-top: 9px !important;
}

.matrix-body-text {
  font-size: 1.1875rem; /* 19px */
  line-height: 1.9;
  padding-top: 16px;
}

@media only screen and (max-width: 980px) {
  .matrix-title h1 {
    font-size: 2.75rem; /* 44px */
  }
}

@media only screen and (max-width: 767px) {
  .matrix-title h1 {
    font-size: 1.875rem; /* 30px */
  }
}

/* ==========================================================================
   Section 5: Workplace with Open Mindedness + Quote Banner
   ========================================================================== */

.section-workplace {
  padding-top: 0;
  padding-bottom: 0;
  background-color: #f2f2f2 !important;
}

.workplace-heading {
  letter-spacing: 1px;
  margin-top: 8px;
}

.workplace-heading h1 {
  font-family: 'Questrial', Helvetica, Arial, Lucida, sans-serif;
  font-weight: 500;
  font-size: 4.5rem; /* 72px */
  line-height: 1.2;
}

.workplace-text {
  font-weight: 300;
  font-size: 1.25rem; /* 20px */
  line-height: 1.9;
  margin-top: 35px;
  margin-bottom: 42px;
}

.workplace-image-wrap {
  padding-top: 39px;
}

.workplace-image-wrap img {
  border-radius: 10px;
  overflow: hidden;
}

/* Full-Bleed Quote Row */
.quote-banner-row {
  width: 100%;
  max-width: 100%;
  background-color: #020202;
  padding-top: 20px !important;
  padding-bottom: 10px !important;
  margin-top: 35px;
  margin-bottom: -4px;
  position: relative;
  overflow: hidden;
}

.quote-background-pattern {
  position: absolute;
  inset: 0;
  pointer-events: none;
  transform: scale(-1, 1);
  background-repeat: repeat;
  background-position: 0 0;
  background-image: url("data:image/svg+xml;base64,PHN2ZyAgZmlsbD0icmdiYSgyNTUsMjU1LDI1NSwwLjEyKSIgaGVpZ2h0PSIyNnB4IiB3aWR0aD0iMjAwcHgiIHZpZXdCb3g9IjAgMCAyMDAgMjYiIHByZXNlcnZlQXNwZWN0UmF0aW89Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTMzLjc3LDBDMjUuMDksMy44MSwxNC41Nyw2LjUsMCw2LjVWMFpNMjAwLDYuNVYwSDE2Ni4yM0MxNzQuOTEsMy44MSwxODUuNDMsNi41LDIwMCw2LjVaTTEzMy43NywwSDEwMGMyNCwwLDM1Ljc5LDcuNjQsNDguMjMsMTUuNzNhMTI1LDEyNSwwLDAsMCwxOCwxMC4yN0gyMDBjLTI0LDAtMzUuNzktNy42NC00OC4yMy0xNS43M0ExMjUsMTI1LDAsMCwwLDEzMy43NywwWk0xMDAsMEg2Ni4yM2ExMjUsMTI1LDAsMCwwLTE4LDEwLjI3QzM1Ljc5LDE4LjM2LDI0LDI2LDAsMjZIMzMuNzdhMTI1LDEyNSwwLDAsMCwxOC0xMC4yN0M2NC4yMSw3LjY0LDc2LDAsMTAwLDBaTTY2LjIzLDI2aDY3LjU0Yy04LjY4LTMuODEtMTkuMi02LjUtMzMuNzctNi41Uzc0LjkxLDIyLjE5LDY2LjIzLDI2WiIvPjwvc3ZnPg==");
}

.quote-banner-text {
  position: relative;
  z-index: 2;
  width: 80%;
  max-width: 1280px;
  margin: 0 auto;
}

.quote-banner-text blockquote {
  margin: 20px 0 30px;
  border-left: 5px solid #000000;
  padding-left: 20px;
  font-family: 'Questrial', Helvetica, Arial, Lucida, sans-serif;
  font-weight: 600;
}

.quote-banner-text blockquote h2 {
  font-size: 3.25rem; /* 52px */
  line-height: 1.3;
  color: #ffffff !important;
  text-align: center;
}

.quote-banner-text blockquote p {
  font-size: 1.875rem; /* 30px */
  line-height: 1.4;
  color: #ffffff;
  text-align: center;
  padding-bottom: 0;
}

@media only screen and (max-width: 980px) {
  .workplace-heading h1 {
    font-size: 2.75rem; /* 44px */
  }
  .quote-banner-text blockquote h2 {
    font-size: 2.25rem; /* 36px */
  }
  .quote-banner-text blockquote p {
    font-size: 1.5rem; /* 24px */
  }
}

@media only screen and (max-width: 767px) {
  .workplace-heading h1 {
    font-size: 2.6875rem; /* 43px */
  }
  .quote-banner-text blockquote h2 {
    font-size: 1.625rem; /* 26px */
  }
  .quote-banner-text blockquote p {
    font-size: 1.1875rem; /* 19px */
  }
}

/* ==========================================================================
   Section 6: Our Custom Trainings (Interactive Tabs)
   ========================================================================== */

.trainings-heading {
  padding-bottom: 7px;
  margin-bottom: 24px;
}

.trainings-heading h1 {
  font-size: 4.5rem; /* 72px */
  line-height: 1.2;
  text-align: center;
}

.dsm-advanced-tabs-container {
  display: flex;
  flex-direction: column;
}

.dsm-advanced-tabs-wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  margin-left: auto;
  margin-right: auto;
  border-radius: 10px 10px 0 0;
}

.dsm-tab {
  cursor: pointer;
  text-align: center;
  font-family: 'Noto Sans', Helvetica, Arial, Lucida, sans-serif;
  font-size: 1rem; /* 16px */
  font-weight: 400;
  color: rgba(0, 0, 0, 0.87);
  background: rgba(252, 197, 0, 0.23);
  border: 0;
  border-radius: 7px 7px 0 0;
  padding: 10px 15px;
  position: relative;
  transition: all 0.3s ease-in-out;
}

.dsm-tab.dsm-active {
  background: #fcc500;
  position: relative;
  overflow: visible;
  z-index: 1;
}

.dsm-tab.dsm-active::before {
  content: "";
  background: inherit;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 20px;
  clip-path: polygon(50% 58%, 0 0, 100% 0);
}

.mobile-tab-label {
  display: none;
}

@media only screen and (max-width: 980px) {
  .desktop-tab-label {
    display: none;
  }
  .mobile-tab-label {
    display: inline;
  }
  .trainings-heading h1 {
    font-size: 2.75rem; /* 44px */
  }
}

@media only screen and (max-width: 767px) {
  .trainings-heading h1 {
    font-size: 1.875rem; /* 30px */
  }
  .dsm-advanced-tabs-wrapper {
    width: 100%;
  }
}

.dsm-content-wrapper {
  border-radius: 10px;
  border: 1px solid #e2e2e2;
  background: #ffffff;
  padding: 30px;
}

.dsm-inner-content {
  width: 100%;
}

.dsm-panel-title {
  font-family: 'Questrial', Helvetica, Arial, Lucida, sans-serif;
  font-size: 1.625rem; /* 26px */
  line-height: 1.4;
  color: #000000;
  padding-bottom: 10px;
}

.dsm-content {
  padding-bottom: 15px;
}

.dsm-subheading {
  color: #000000;
  padding-bottom: 1em;
}

.dsm-list {
  list-style-type: disc;
  padding: 0 0 23px 1em;
  line-height: 26px;
  color: #000000;
}

.dsm-list li p {
  padding-bottom: 1em;
}

.dsm-outcome {
  color: #000000;
  padding-bottom: 1em !important;
}

.dsm_button {
  background-color: #161616;
  color: #ffffff !important;
  font-size: 0.875rem; /* 14px */
  border-radius: 30px;
  padding: 10px 26px;
}

.dsm_button:hover {
  padding: 10px 34px 10px 22px;
}

/* ==========================================================================
   Section 7: Swedish Poetry (Nils Ferlin)
   ========================================================================== */

.section-poetry {
  border-top: 3px solid #fcc500;
  padding-top: 21px;
  background-color: rgba(234, 234, 234, 0.25) !important;
}

.poem-stanza {
  text-align: center;
  line-height: 1.8;
}

.poem-prose {
  line-height: 2;
  padding-bottom: 24px !important;
}

.poem-author h2 {
  font-size: 3.25rem; /* 52px */
  line-height: 1.3;
  text-align: right;
}

@media only screen and (max-width: 980px) {
  .poem-author h2 {
    font-size: 2.25rem; /* 36px */
  }
}

@media only screen and (max-width: 767px) {
  .poem-author h2 {
    font-size: 3.1875rem; /* 51px */
  }
}

/* ==========================================================================
   Footer
   ========================================================================== */

#main-footer {
  background-color: #222222;
}

#footer-bottom {
  background-color: rgba(0, 0, 0, 0.32);
  padding: 15px 0 5px;
}

#footer-bottom .container {
  display: flex;
  flex-direction: row-reverse;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

#footer-info {
  text-align: left;
  color: #ffffff;
  padding-bottom: 10px;
  font-size: 0.875rem; /* 14px */
}

.et-social-icons {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 20px;
  padding-bottom: 10px;
}

.et-social-icon a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  transition: opacity 0.4s ease-in-out, color 300ms ease 0s;
}

.et-social-icon a:hover {
  opacity: 0.7;
}

@media all and (max-width: 980px) {
  #footer-bottom .container {
    flex-direction: column;
    justify-content: center;
    text-align: center;
  }
  #footer-info {
    text-align: center;
  }
  .et-social-icons {
    margin-bottom: 5px;
  }
}

/* ==========================================================================
   Open Windows Game Page (/owg.html) — Igloo Theme & Full Layout
   ========================================================================== */

.owg-secondary-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background-color: #fcc500;
  color: #000000 !important;
  padding: 15px 26px;
  font-family: 'Noto Sans', Helvetica, Arial, Lucida, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  border-radius: 30px;
  text-decoration: none;
  box-shadow: 0 10px 25px rgba(252, 197, 0, 0.35);
  transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
  white-space: nowrap;
  border: none;
  cursor: pointer;
}

.owg-secondary-link:hover {
  transform: translateY(-2px);
  background-color: #e6b200;
  box-shadow: 0 15px 35px rgba(252, 197, 0, 0.5);
  color: #000000 !important;
}

/* Social Proof Banner */
.owg-social-proof {
  background-color: #000000;
  color: #ffffff;
  text-align: center;
  padding: 32px 20px;
  border-top: 3px solid #fcc500;
  border-bottom: 3px solid #fcc500;
}

.owg-social-proof-main {
  font-family: 'Questrial', Helvetica, Arial, Lucida, sans-serif;
  font-size: clamp(1.25rem, 1rem + 1vw, 1.625rem);
  font-weight: 600;
  color: #fcc500;
  padding-bottom: 8px;
}

.owg-social-proof-sub {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.88);
  max-width: 80ch;
  margin: 0 auto;
  padding-bottom: 0;
}

/* Section Headers on OWG Page */
.owg-section-header {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 48px;
}

.owg-section-header .owg-eyebrow {
  margin-bottom: 8px;
}

.owg-section-header h2 {
  font-family: 'Questrial', Helvetica, Arial, Lucida, sans-serif;
  font-size: clamp(2rem, 1.25rem + 2.5vw, 3.25rem);
  line-height: 1.2;
  color: #000000;
  padding-bottom: 14px;
}

.owg-section-header p {
  font-size: 1.125rem;
  line-height: 1.8;
  color: rgba(0, 0, 0, 0.78);
  max-width: 72ch;
  margin: 0 auto;
}

.owg-section-alt {
  background-color: #f7f8fa;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.owg-section-dark {
  background-color: #0d0d0d;
  color: #ffffff;
}

.owg-section-dark .owg-section-header h2,
.owg-section-dark h2,
.owg-section-dark h3 {
  color: #ffffff;
}

.owg-section-dark .owg-section-header p {
  color: rgba(255, 255, 255, 0.82);
}

/* Cards Grid */
.owg-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 28px;
}

.owg-card {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-top: 4px solid #fcc500;
  border-radius: 16px;
  padding: 36px 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.owg-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.09);
}

.owg-card-icon {
  width: 54px;
  height: 54px;
  border-radius: 12px;
  background: rgba(252, 197, 0, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  margin-bottom: 20px;
}

.owg-card h3 {
  font-family: 'Questrial', Helvetica, Arial, Lucida, sans-serif;
  font-size: 1.5rem;
  color: #000000;
  margin-bottom: 10px;
  text-wrap: wrap;
}

.owg-card p {
  color: rgba(0, 0, 0, 0.8);
  font-size: 1rem;
  line-height: 1.75;
}

/* SEO Keyword Pillar Cards (Dark Theme) */
.owg-pillar-card {
  background: #181818;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-left: 4px solid #fcc500;
  border-radius: 14px;
  padding: 32px 28px;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.owg-pillar-card:hover {
  transform: translateY(-4px);
  border-color: #fcc500;
}

.owg-pillar-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #000000;
  background-color: #fcc500;
  padding: 4px 10px;
  border-radius: 4px;
  margin-bottom: 14px;
}

.owg-pillar-card h3 {
  font-family: 'Questrial', Helvetica, Arial, Lucida, sans-serif;
  font-size: 1.4rem;
  color: #ffffff;
  margin-bottom: 10px;
  text-wrap: wrap;
}

.owg-pillar-card p {
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.975rem;
  line-height: 1.75;
}

/* Testimonial Cards */
.owg-testimonial-stars {
  color: #fcc500;
  font-size: 1.25rem;
  letter-spacing: 2px;
  margin-bottom: 14px;
}

.owg-testimonial-quote {
  font-style: italic;
  font-size: 1.05rem;
  color: rgba(0, 0, 0, 0.85);
  margin-bottom: 20px;
  flex-grow: 1;
}

.owg-testimonial-author {
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  padding-top: 14px;
}

.owg-testimonial-author strong {
  display: block;
  color: #000000;
  font-size: 1rem;
}

.owg-testimonial-author span {
  font-size: 0.875rem;
  color: rgba(0, 0, 0, 0.65);
}

/* 2-Column Grid Layout for OWG Sections */
.owg-grid-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

@media (max-width: 980px) {
  .owg-grid-2col {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

/* Timeline (How It Works) */
.owg-timeline {
  display: flex;
  flex-direction: column;
  gap: 28px;
  position: relative;
}

.owg-timeline::before {
  content: "";
  position: absolute;
  top: 26px;
  bottom: 26px;
  left: 25px;
  width: 3px;
  background: linear-gradient(to bottom, #fcc500, #000000);
  z-index: 0;
}

.owg-timeline-step {
  display: flex;
  gap: 24px;
  position: relative;
  z-index: 1;
  align-items: flex-start;
}

.owg-step-number {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #000000;
  border: 3px solid #fcc500;
  color: #fcc500;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Questrial', Helvetica, Arial, Lucida, sans-serif;
  font-size: 1.375rem;
  font-weight: 700;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.owg-step-content {
  flex: 1;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 16px;
  padding: 24px 28px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
}

.owg-step-content h3 {
  font-size: 1.35rem;
  margin-bottom: 6px;
  text-wrap: wrap;
}

/* Auto-Slider inside How-It-Works Phone */
@keyframes owgFadeLoop {
  0%, 28% {
    opacity: 1;
  }
  33.33%, 94% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

.owg-auto-slider {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.owg-auto-slider > * {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  animation: owgFadeLoop 12s infinite;
  @media (prefers-reduced-motion: reduce) {
    animation: none;
  }
}

.owg-auto-slider > *:nth-child(1) {
  animation-delay: 0s;
  opacity: 1;
}

.owg-auto-slider > *:nth-child(2) {
  animation-delay: 4s;
}

.owg-auto-slider > *:nth-child(3) {
  animation-delay: 8s;
}

/* Callout Banner (Host-Guest Model & Results Flow) */
.owg-callout-box {
  margin-top: 44px;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 20px;
  padding: 36px 32px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
}

.owg-callout-box h3 {
  font-size: 1.625rem;
  color: #000000;
  margin-bottom: 12px;
}

/* Score Cards (Mathematics Behind the Game) */
.owg-score-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 36px;
}

.owg-score-card {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-top: 4px solid #000000;
  border-radius: 18px;
  padding: 36px 30px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.owg-score-card h3 {
  font-size: 1.4rem;
  margin-bottom: 10px;
  text-wrap: wrap;
}

.owg-score-subtitle {
  color: rgba(0, 0, 0, 0.72);
  font-size: 0.975rem;
  margin-bottom: 24px;
}

.owg-chart-img {
  width: 100%;
  max-width: 260px;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
  margin-top: auto;
}

/* Science List & Interactive Johari Window 2x2 Grid */
.owg-science-list {
  list-style: none;
  margin: 16px 0 24px;
}

.owg-science-list li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 14px;
  line-height: 1.75;
}

.owg-science-list li::before {
  content: "→";
  position: absolute;
  left: 0;
  top: 0;
  color: #d4a500;
  font-weight: 700;
}

.owg-johari-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 14px;
  aspect-ratio: 1;
  max-width: 480px;
  margin: 0 auto;
  background: #000000;
  padding: 16px;
  border-radius: 24px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}

.owg-j-cell {
  border-radius: 16px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-family: 'Questrial', Helvetica, Arial, Lucida, sans-serif;
  font-size: clamp(1.15rem, 1rem + 0.6vw, 1.5rem);
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.3s ease, background-color 0.3s ease, filter 0.3s ease;
}

.owg-j-cell span.j-sub {
  font-family: 'Noto Sans', Helvetica, Arial, Lucida, sans-serif;
  font-size: 0.8rem;
  font-weight: 400;
  margin-top: 6px;
  opacity: 0.85;
}

.owg-j-cell:hover,
.owg-j-cell:focus-visible {
  transform: scale(0.97);
}

.owg-open-area {
  background: #fcc500;
  color: #000000;
}

.owg-blind-spot {
  background: #ffffff;
  color: #000000;
}

.owg-hidden-area {
  background: #262626;
  color: #ffffff;
  border: 1px solid rgba(252, 197, 0, 0.4);
}

.owg-unknown-area {
  background: #161616;
  color: #fcc500;
  border: 1px dashed rgba(252, 197, 0, 0.5);
  filter: blur(1.5px);
}

.owg-unknown-area:hover,
.owg-unknown-area:focus-visible {
  filter: blur(0);
  background: #222222;
}

/* Creator (Olof Rehn) Section */
.owg-creator-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 48px;
  align-items: flex-start;
}

@media (max-width: 860px) {
  .owg-creator-grid {
    grid-template-columns: 1fr;
  }
}

.owg-creator-image img {
  width: 100%;
  max-width: 440px;
  margin: 0 auto;
  border-radius: 14px;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.14);
  border-bottom: 5px solid #fcc500;
}

/* Accessible FAQ Details/Summary Accordion */
.owg-faq-list {
  max-width: 920px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.owg-faq-item {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 12px;
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.owg-faq-item[open] {
  border-color: #fcc500;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.owg-faq-question {
  padding: 20px 24px;
  font-family: 'Questrial', Helvetica, Arial, Lucida, sans-serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: #000000;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.owg-faq-question::-webkit-details-marker {
  display: none;
}

.owg-faq-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(252, 197, 0, 0.25);
  color: #000000;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 700;
  flex-shrink: 0;
  transition: transform 0.25s ease, background-color 0.25s ease;
}

.owg-faq-item[open] .owg-faq-icon {
  transform: rotate(45deg);
  background: #fcc500;
}

.owg-faq-answer {
  padding: 0 24px 22px;
  color: rgba(0, 0, 0, 0.82);
  line-height: 1.8;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  padding-top: 16px;
}

/* Native Modal Dialog (<dialog closedby="any">) */
dialog.owg-modal {
  margin: auto;
  width: 92%;
  max-width: 720px;
  border: 2px solid #fcc500;
  border-radius: 20px;
  padding: 32px 24px 24px;
  background: #ffffff;
  color: #000000;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.35);
}

dialog.owg-modal:modal {
  overscroll-behavior: contain;
}

dialog.owg-modal::backdrop {
  background-color: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  overflow: hidden;
  overscroll-behavior: contain;
}

.owg-modal-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.owg-modal-close {
  background: #000000;
  color: #ffffff;
  border: none;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.owg-modal-close:hover {
  background: #fcc500;
  color: #000000;
}

