/*
Theme Name: GSJ - Glocal Solutions Japan
Theme URI: https://glocal-solutions.jp/
Author: v0
Description: Glocal Solutions Japan コーポレートサイト用オリジナルテーマ。外需型地方創生・海外展開支援。多言語(Bogo)・会員管理(Members)・サブスク(Stripe)連携を前提に設計。
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 8.0
License: GNU General Public License v2 or later
Text Domain: gsj
*/

/* =========================================================
   Design Tokens
   ========================================================= */
:root {
  --navy: #051c4b;
  --navy-dark: #051c4b;
  --navy-deep: #051c4b;
  --navy-fg: #ffffff;
  --gold: #bf9040;
  --gold-dark: #a87c31;
  --gold-fg: #ffffff;
  --teal: #50a4bc;
  --teal-fg: #ffffff;

  --bg: #ffffff;
  --fg: #1c2430;
  --muted: #f4f6f9;
  --muted-fg: #667085;
  --border: #e2e7ee;
  --card: #ffffff;

  --radius: 15px;
  --radius-lg: 25px;
  --maxw: 1200px;

  --font-sans:
    "Noto Sans JP", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-serif: "Noto Serif JP", "Yu Mincho", serif;
}

.bgw {
  background-color: #fff;
}

/*.zen {
  font-family: "Zen Old Mincho", serif;
  font-style: normal;
}*/

.fw400 {
  font-weight: 400;
}

.fw500 {
  font-weight: 500;
}

.fw600 {
  font-weight: 600;
}

.fw700 {
  font-weight: 700;
}

.fw900 {
  font-weight: 900;
}

@media (min-width: 641px) {
  .sp_only {
    display: none;
  }
}
@media (max-width: 640px) {
  .pc_only {
    display: none;
  }
}

/* =========================================================
   Reset & Base
   ========================================================= */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--fg);
  background: var(--bg);
  line-height: 1.7;
  font-size: 15px;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
}
h1,
h2,
h3,
h4 {
  line-height: 1.4;
  margin: 0;
  font-weight: 700;
}
p {
  margin: 0;
}
ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 20px;
}
.section {
  padding: 64px 0;
}
.section--muted {
  background: var(--muted);
}
.text-navy {
  color: var(--navy);
}
.text-gold {
  color: var(--gold);
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* =========================================================
   Buttons
   ========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  border: 1px solid transparent;
  transition:
    background 0.2s,
    color 0.2s,
    border-color 0.2s;
  text-align: center;
}
.btn--gold {
  background: var(--gold);
  color: var(--gold-fg);
}
.btn--gold:hover {
  background: var(--gold-dark);
}
.btn--navy {
  background: var(--navy);
  color: var(--navy-fg);
}
.btn--navy:hover {
  background: var(--teal);
}
.btn--outline {
  background: #fff;
  border-color: var(--navy);
  color: var(--navy);
}
.btn--outline:hover {
  background: var(--navy);
  color: var(--navy-fg);
}
.btn--outline-light {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.5);
  color: #fff;
}
.btn--outline-light:hover {
  background: rgba(255, 255, 255, 0.12);
}
.btn--block {
  width: 100%;
}
.btn--lg {
  padding: 16px 28px;
  font-size: 16px;
}

.btn--navy-gradation {
  background: linear-gradient(
    128deg,
    #0f2d6c 0%,
    #11192a 35%,
    var(--teal) 65%,
    var(--teal) 100%
  );

  background-size: 300% 100%;
  background-position: 0% 50%;

  color: var(--navy-fg);

  transition:
    background-position 0.35s ease,
    color 0.2s,
    border-color 0.2s;
}

.btn--navy-gradation:hover {
  background-position: 100% 50%;
  color: var(--bg);
	border: 1px solid var(--teal);	
}

.btn--white-gradation {
  background: linear-gradient(
    128deg,
    #ffffff 0%,
    #ffffff 35%,
    var(--teal) 65%,
    var(--teal) 100%
  );

  background-size: 300% 100%;
  background-position: 0% 50%;

  color: var(--navy);

  transition:
    background-position 0.35s ease,
    color 0.2s,
    border-color 0.2s;
}

.btn--white-gradation:hover {
  background-position: 100% 50%;
  color: var(--bg);
	border: 1px solid var(--teal);	
}

/* =========================================================
   Top Utility Bar
   ========================================================= */
.topbar {
  position: relative; z-index: 50;
  background: var(--teal); color: var(--teal-fg);
  font-size: 12.5px;
}
.topbar__inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 36px; max-width: var(--maxw); margin: 0 auto; padding: 0 20px;
}
/* Language switcher — trigger + dropdown, toggled by assets/js/main.js.
   The topbar needs its own stacking context above the sticky .site-header
   (z-index 40), otherwise the open menu is clipped behind it. */
.lang-switch { position: relative; }
.lang-switch__trigger {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 9px; border: 0; border-radius: 999px;
  background: transparent; color: var(--teal-fg);
  font: inherit; font-weight: 700; line-height: 1.6;
  cursor: pointer; transition: background .15s;
}
.lang-switch__trigger:hover { background: rgba(255,255,255,.14); }
.lang-switch__caret {
  width: 0; height: 0;
  border-left: 4px solid transparent; border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
  transition: transform .15s;
}
.lang-switch[data-open="true"] .lang-switch__caret { transform: rotate(180deg); }

.lang-switch__menu {
  display: none;
  position: absolute; top: calc(100% + 6px); left: 0;
  min-width: 150px; margin: 0; padding: 6px; list-style: none;
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); box-shadow: 0 10px 28px rgba(10,42,82,.18);
}
.lang-switch[data-open="true"] .lang-switch__menu { display: block; }
.lang-switch__item {
  display: block; padding: 8px 10px; border-radius: 6px;
  color: var(--fg); font-size: 13px; font-weight: 600;
  text-decoration: none; white-space: nowrap;
}
.lang-switch__item:hover { background: var(--muted); color: var(--navy); }
.lang-switch__item.is-current { background: var(--muted); color: var(--navy); cursor: default; }

.topbar__social { display: flex; align-items: center; gap: 14px; }
.topbar__social a { display: inline-flex; opacity: .9; }
.topbar__social a:hover { opacity: 1; }
.topbar__brand { display: none; align-items: center; gap: 6px; font-weight: 700; }

/* Anchor targets sit below the 72px sticky header instead of behind it. */
.section[id] { scroll-margin-top: 88px; }
.pillar[id] { scroll-margin-top: 96px; }
/* Extra id on a section that already has one (keeps legacy links working). */
.anchor-alias { display: block; position: relative; top: -88px; height: 0; }


/* =========================================================
   Header
   ========================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: #fff;
  border-bottom: 1px solid var(--border);
}

.site-header {
  transition:
    transform 0.32s ease,
    box-shadow 0.25s ease;
  will-change: transform;
}

/* 下スクロール時 */
.site-header.is-hidden {
  transform: translateY(-100%);
}

/* 上スクロール時 */
.site-header.is-visible {
  transform: translateY(0);
}

/* 少しスクロールしたら影を追加 */
.site-header.is-scrolled {
  box-shadow: 0 6px 20px rgba(5, 28, 75, 0.08);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 20px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}
.brand__mark {
  width: 34px;
  height: 34px;
  flex: none;
}
.brand__text {
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 1.1;
}
.brand__text small {
  display: block;
  font-weight: 600;
  font-size: 11px;
  color: var(--teal);
  letter-spacing: 0.12em;
}
.brand__text b {
  color: var(--navy);
  font-size: 15px;
}
/* Full brand logo image */
.brand-logo {
  height: auto;
  width: 100%;
  display: block;
    object-fit: contain;
  padding: 0;
    max-width: 300px;
    margin: auto;	
}
@media (max-width: 898px) {
  .brand-logo {
    max-width: 250px;
  }
}
.brand-logo--white {
  filter: brightness(0) invert(1);
}
.drawer__head .brand-logo {
  height: 40px;
}
.footer-brand .brand-logo {
  height: 70px;
  max-width: 500px;
}

.main-nav {
  display: none;
  align-items: center;
  gap: 22px;
  position: relative;
}
/* Top-level menu list from wp_nav_menu — lay items out horizontally */
.main-nav > ul,
.main-nav > div > ul {
  display: flex;
  align-items: center;
  gap: 22px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.main-nav a {
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
  position: relative;
  white-space: nowrap;
}
.main-nav a:hover {
  color: var(--gold);
}
.main-nav .menu-item-has-children {
  border-bottom: none;
}
.main-nav .menu-item-has-children > a::after {
content: "";
    background-image: url(././assets/images/menu_arrow.svg);
    background-size: cover;
    background-position: right;
    width: 10px;
    height: 8px;
    position: absolute;
    top: 27px;
    background-repeat: no-repeat;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 0;
}
.main-nav .sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  min-width: 180px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 12px 30px rgba(10, 42, 82, 0.12);
  padding: 8px 0;
  z-index: 1;

  /* Fade + slide animation */
  display: block;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-8px);

  transition:
    opacity 0.22s ease,
    transform 0.3s cubic-bezier(0.22, 1, 0.36, 1),
    visibility 0s linear 0.3s;
}

.main-nav li {
  position: relative;
}

.main-nav li:hover > .sub-menu,
.main-nav li:focus-within > .sub-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);

  transition:
    opacity 0.22s ease,
    transform 0.3s cubic-bezier(0.22, 1, 0.36, 1),
    visibility 0s;
}
.main-nav .sub-menu a {
  display: block;
  padding: 8px 16px;
  font-weight: 500;
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.header__cta {
  display: none;
  padding: 8px 15px;
  font-size: 10px;
}
.menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
  cursor: pointer;
}

/* =========================================================
   Drawer (side menu)
   ========================================================= */
.drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(8, 20, 40, 0.5);
  z-index: 60;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s;
}
.drawer-overlay.is-open {
  opacity: 1;
  visibility: visible;
}
.drawer {
  position: fixed;
  top: 0;
  right: 0;
  height: 100%;
  width: min(420px, 90vw);
  background: #fff;
  z-index: 61;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}
.drawer.is-open {
  transform: translateX(0);
}
.drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px;
}
.drawer__body {
  padding: 0 20px;
}
.drawer__cta {
  display: grid;
  gap: 12px;
  margin-bottom: 20px;
}
.drawer-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px;
  border-radius: var(--radius);
  color: #fff;
}
.drawer-card small {
  display: block;
  font-weight: 400;
  font-size: 12px;
  opacity: 0.85;
}
.drawer-card b {
  font-size: 15px;
}
.drawer-card--navy {
  background: var(--navy);
}
.drawer-card--gold {
  background: var(--gold);
}
.drawer-card__icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
}

.drawer-nav > li > a,
.drawer-nav > li > .drawer-parent {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 4px;
  border-bottom: 1px solid var(--border);
  font-weight: 700;
  color: var(--navy);
  cursor: pointer;
}
.drawer-nav .sub-menu {
  padding: 6px 0 0 14px;
  border-bottom: none;
  margin-bottom: 0x;
}
.drawer-nav .sub-menu a {
  display: block;
  padding: 8px 0;
  font-weight: 500;
  color: var(--fg);
  position: relative;
  padding-left: 16px;
}
.drawer-nav .sub-menu a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 8px;
  height: 1px;
  background: var(--border);
}
.drawer-nav li {
  margin: 25px 0 0 0;
  border-bottom: 1px solid var(--border);
  padding: 0 0 25px 0;
}
.drawer-nav .sub-menu li {
  padding: 0;
  border-bottom: none;
  margin: 0px;
}
.drawer__follow {
  margin-top: 24px;
}
.drawer__follow-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--navy);
  margin-bottom: 12px;
}
.drawer__social {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.drawer__social a {
  color: var(--navy);
}

.drawer__contact {
  margin: 24px -20px 0;
  padding: 24px 20px;
  background: var(--navy);
  color: #fff;
}
.drawer__contact b {
  font-size: 16px;
}
.drawer__contact .tel {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 22px;
  font-weight: 800;
  margin: 10px 0 4px;
}
.drawer__contact small {
  opacity: 0.8;
  font-size: 12px;
}
.drawer__footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  padding: 20px;
  font-size: 12px;
  color: var(--muted-fg);
}

/* =========================================================
   Hero
   ========================================================= */
.hero {
  position: relative;
  overflow: hidden;
  background: #fff;
}
.hero__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 40px 20px 56px;
  display: grid;
  gap: 32px;
}
.hero__title {
  color: var(--navy);
  font-weight: 800;
  letter-spacing: 0.01em;
  text-shadow: 1px 1px 4px #fff;
}
.hero__title .num {
  color: var(--teal);
}
.hero__lead {
  color: var(--fg);
  margin-top: 18px;
  font-size: 15px;
  text-shadow: 1px 1px 4px #fff;
  font-weight: bold;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}
.hero__media {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}
.hero__media img {
  object-fit: cover;
  height: 100%;
  width: 100%;
  display: block;
}
.hero__media .tall {
  grid-row: span 2;
}
/* Single-image hero */
.hero__media--single {
  display: block;
}
.hero__media--single img {
  border-radius: var(--radius-lg);
  aspect-ratio: 4 / 3;
}
@media (min-width: 900px) {
  .hero__media--single img {
    aspect-ratio: 5 / 4;
    height: 100%;
  }
}
@media (max-width: 898px) {
}
@media (min-width: 1330px) {
  .hero__title {
    font-size: clamp(30px, 6vw, 54px);
  }
  .hero {
    background-image: url(././assets/images/hero_top_pc.jpg);
    background-size: cover;
    background-position: right;
  }
}
@media (max-width: 1329px) {
  .hero__title {
    font-size: clamp(30px, 6vw, 43px);
  }
  .hero {
    background-image: url(././assets/images/hero_top_sp.jpg?1);
    background-size: cover;
    background-position: right;
  }
}
.hero__follow {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 20px;
}
.hero__follow-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--navy);
}

/* =========================================================
   Feature cards
   ========================================================= */
.feature-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}
.feature-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: 0 2px 8px rgba(10, 42, 82, 0.04);
  display: flex;
  flex-direction: column;
  padding: 20px;
}
.feature-card__top {
  display: flex;
  align-items: stretch;
  gap: 12px;
	position:relative;
}
.feature-card__icon {
    flex: none;
    color: #fff;
    border-radius: 25px;
    position: absolute;
    top: -25px;
    left: -25px;
    background: var(--teal);
    width: 45px;
    height: 45px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.feature-card__media {
  flex: 1;
  height: 95px;
  border-radius: 8px;
  overflow: hidden;
  background: var(--muted);
}
.feature-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.feature-card__body {
  padding-top: 16px;
}
.feature-card h3 {
  color: var(--navy);
  font-size: 16px;
  margin-bottom: 8px;
}
.feature-card p {
  color: var(--muted-fg);
  font-size: 13.5px;
  line-height: 1.6;
}

.top-features {
	  background-image: url(././assets/images/footer_bg4.jpg);
    background-size: cover;
    background-position: top;
}

@media (max-width: 640px) {
.feature-card__media img {
	min-height: 120px;
}
}

/* =========================================================
   Section heading
   ========================================================= */
.sec-head {
  text-align: center;
  margin-bottom: 40px;
}
.sec-head h2 {
  font-size: clamp(22px, 4vw, 30px);
  color: var(--navy);
    line-height: 1.55;
}
.sec-head p {
  color: var(--muted-fg);
  margin-top: 10px;
  font-size: 13px;
}
.sec-head--row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
}
.sec-head--row h2 {
  font-size: clamp(18px, 3vw, 26px);
}
.link-more {
color: var(--navy);
    font-weight: 300;
    font-size: 12px;
    border: 1px solid var(--navy);
    padding: 2px 5px;
    border-radius: var(--radius);
    transition: transform .22s ease, box-shadow .22s ease;
}
.link-more:hover {
  color: var(--bg);
    border: var(--gold);
	background: var(--gold);
	transform: translateY(-2px);
}

/* =========================================================
   Home news
   ========================================================= */

.home-news {
  padding-top: 48px;
  padding-bottom: 56px;
	  background-image: url(././assets/images/news_bg2.jpg);
    background-size: cover;
    background-position: bottom;
	
}

.home-news__head {
  margin-bottom: 20px;
}

.home-news__list {
  border-top: 1px solid var(--border);
}

.home-news__item {
  border-bottom: 1px solid var(--border);
}

.home-news__link {
    display: grid;
    grid-template-columns: 64px 70px 90px minmax(0, 1fr) 24px;
    gap: 13px;
    align-items: center;
    min-height: 50px;
    padding: 3px 8px;
    transition: background 0.2s, color 0.2s;
}

.home-news__link:hover {
  background: var(--muted);
}

.home-news__date {
  color: var(--muted-fg);
  font-size: 11px;
  white-space: nowrap;
}

.home-news__category {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--teal);
  font-size: 11.5px;
  font-weight: 200;
  white-space: nowrap;
}

.home-news__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgb(29 106 140 / 0%);
  color: var(--teal);
  flex: none;
	margin-right: -5px;
}

.home-news__title {
    min-width: 0;
    color: var(--navy);
    font-size: 12.5px;
    font-weight: 400;
    line-height: 1.6;
    transition: color 0.2s;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.home-news__link:hover .home-news__title {
  color: var(--teal);
}

.home-news__arrow {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  color: var(--navy);
  transition:
    transform 0.2s,
    color 0.2s;
}

.home-news__link:hover .home-news__arrow {
  color: var(--teal);
  transform: translateX(3px);
}

.home-news__empty {
  padding: 24px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  color: var(--muted-fg);
  font-size: 14px;
}

.home-news__thumb {
  display: block;
  width: 44px;
  height: 44px;
  overflow: hidden;
  border-radius: 6px;
  background: var(--muted);
}

.home-news__thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .3s ease;
}

.home-news__link:hover .home-news__thumb img {
  transform: scale(1.05);
}

/* Tablet */
@media (max-width: 800px) {
  .home-news__link {
grid-template-columns: 64px 70px 90px minmax(0, 1fr) 24px;
    gap: 12px;
  }
}

/* Smartphone */
@media (max-width: 640px) {
  .home-news {
    padding-top: 40px;
    padding-bottom: 44px;
  }

  .home-news__head {
    margin-bottom: 16px;
  }

  .home-news__thumb {
    grid-column: 1;
    grid-row: 1 / 4;
    width: 44px;
    height: 44px;
    align-self: center;
  }	
	
  .home-news__link {
        position: relative;
        display: grid;
        grid-template-columns: 45px minmax(0, 1fr) 20px;
        gap: 2px 0px;
        padding: 6px 4px;
        min-height: 0;
  }

  .home-news__date {
	  grid-column: 1;
        grid-row: 1;
        font-size: 10px;
        margin-left: 146px;
	}

  .home-news__category {
        grid-column: 1;
        grid-row: 1;
        margin-top: 0px;
        font-size: 11.5px;
        margin-left: 70px;
  }

  .home-news__icon {
    width: 14px;
    height: 14px;
  }

  .home-news__title {
        grid-column: 1;
        grid-row: 3;
        margin-top: 8px;
        font-size: 12px;
        line-height: 1.2;
        position: absolute;
        margin-left: 70px;
        top: -15px;
        max-width: 65%;
        font-weight: 500;
  }

  .home-news__arrow {
    grid-column: 2;
    grid-row: 1 / 4;
    align-self: center;
  }
}

/* =========================================================
   Roadmap
   ========================================================= */
.roadmap {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px 16px;
  position: relative;
}
.roadmap__step {
  text-align: center;
}
/* Icon circle with a small numbered badge on the upper-left */
.roadmap__icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  border: 2px solid var(--teal);
  color: var(--teal);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  position: relative;
  background: #fff;
  z-index: 1;
}
.roadmap__icon > svg {
  display: block;
}
.roadmap__badge {
  position: absolute;
  top: -6px;
  left: -6px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--teal);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}
.roadmap__step h3 {
  color: var(--navy);
  font-size: 15px;
  margin-bottom: 6px;
}
.roadmap__step p {
  color: var(--muted-fg);
  font-size: 12.5px;
}
.roadmap__cta {
  text-align: center;
  margin-top: 36px;
}

.attention {
    width: 90%;
    margin: 100px auto 0 auto;
    font-size: 10px;
}

.attention span {
	display:block;
    font-size: 11px;
}



/* =========================================================
   Cards grid (cases / media)
   ========================================================= */
.card-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
.info-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition:
    box-shadow 0.15s,
    transform 0.15s;
}
.info-card__thumb {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
}
.info-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.info-card__badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--navy);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 4px;
}
.info-card__badge--gold {
  background: var(--gold);
}
.info-card__body {
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}
.info-card__body h3 {
  color: var(--navy);
  font-size: 16px;
}
.info-card__body p {
  color: var(--muted-fg);
  font-size: 13.5px;
  flex: 1;
}
.info-card__date {
  color: var(--muted-fg);
  font-size: 12px;
}
.info-card__link {
  color: var(--navy);
  font-weight: 700;
  font-size: 13.5px;
  margin-top: 4px;
  text-align: end;
}
.info-card:hover {
  box-shadow: 0 10px 24px rgba(10, 42, 82, 0.12);
  transform: translateY(-2px);
}
.info-card:hover .info-card__link {
  color: var(--gold-dark);
}

/* =========================================================
   Community CTA
   ========================================================= */
.community {
    background-image: url(././assets/images/community-top.jpg?1);
	    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
	color: #fff;
}
.community__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: center;
}
.community h2 {
    font-size: clamp(18px, 6vw, 38px);
    margin: 15px 0 30px 0;
}
.community p {
  opacity: 0.85;
  margin-top: 14px;
  font-size: 14px;
}
.community__box {
	background: rgb(5 28 75 / 60%);
    border: 1px solid rgb(255 255 255 / 50%);
    border-radius: var(--radius-lg);
    padding: 28px;
}
.community__box h3 {
  font-size: 18px;
  margin-bottom: 8px;
}
.community__features {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  margin-top: 18px;
  font-size: 13px;
  opacity: 0.9;
}

/* =========================================================
   Page hero (sub pages)
   ========================================================= */

/* Break helpers for hero/heading copy. <br class="br-pc"> only breaks on wide
   screens, <br class="br-sp"> only on narrow ones: a break chosen to balance a
   desktop headline otherwise leaves a stray one-word line on mobile. A plain
   <br> (no class) always breaks. */
.br-pc { display: none; }
.br-sp { display: inline; }
@media (min-width: 768px) {
  .br-pc { display: inline; }
  .br-sp { display: none; }
}


.page-hero {
  background: linear-gradient(
    86deg,
    rgb(80 164 188) 0%,
    rgb(80 164 188 / 60%) 55%,
    rgb(80 164 188 / 80%) 100%
  );
  border-bottom: 1px solid var(--border);
  background-size: cover;
  background-position: right center;
}
@media (max-width: 898px) {
  .page-hero {
    background-blend-mode: lighten;
  }
}
.page-hero__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 90px 20px;
}
.breadcrumb {
  font-size: 12.5px;
  color: var(--muted-fg);
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.breadcrumb a:hover {
  color: var(--navy);
}
.page-hero h1 {
  font-size: clamp(22px, 5vw, 30px);
  color: var(--navy-fg);
  margin-top: 14px;
  font-family: var(--font-sans);
  text-shadow: 1px 1px 0px #051d4b;
}
.page-hero p {
  color: var(--muted-fg);
  margin-top: 8px;
  text-shadow: 1px 1px 0px #051d4b;
}

/* Breadcrumb-only hero: no title/lead, so it collapses to a slim bar
   (used where the page body supplies its own heading). */
.page-hero--crumbs {
  background: transparent;
}
.page-hero--crumbs .page-hero__inner {
  padding-top: 20px;
  padding-bottom: 20px;
}

/* Section hero with a dedicated background image.
   A navy scrim keeps the white text readable on any photo. */
.page-hero--bg {
  position: relative;
  background-color: var(--navy);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-bottom: none;
}
.page-hero--bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(86deg, rgb(80 164 188) 0%, rgb(80 164 188 / 40%) 75%, rgb(80 164 188 / 40%) 100%);
}
.page-hero--bg .page-hero__inner {
  position: relative;
  padding-top: 120px;
  padding-bottom: 120px;
}
.page-hero--bg h1 {
  color: #fff;
  text-shadow: 1px 1px 0px #051d4b;
}
.page-hero--bg p {
  color: #fff;
  max-width: 46rem;
  text-shadow: 1px 1px 0px #051d4b;
}
.page-hero--bg .breadcrumb {
  color: #fff;
  text-shadow: 1px 1px 0px #051d4b;
  transition: transform .3s ease;
}
.page-hero--bg .breadcrumb a {
    color: var(--navy);
    text-shadow: 1px 1px 0px #b8b8b8;	
}
.page-hero--bg .breadcrumb a:hover {
  color: #fff;
  text-shadow: 1px 1px 0px #051d4b;
}
@media (min-width: 900px) {
  .page-hero--bg .page-hero__inner {
    padding-top: 120px;
    padding-bottom: 120px;
  }
}

/* =========================================================
   Media Tabs - Gradient Hover Animation
   ========================================================= */

.tabs--media .tab {
  color: var(--navy);

  background: linear-gradient(
    128deg,
    rgba(80, 164, 188, 0.10) 0%,
    rgba(80, 164, 188, 0.32) 35%,
    var(--navy) 65%,
    var(--navy) 100%
  );

  background-size: 300% 100%;
  background-position: 0% 50%;

  transition:
    background-position 0.35s ease,
    color 0.25s ease,
    box-shadow 0.25s ease;

  cursor: pointer;
}

.tabs--media .tab:hover {
  background-position: 100% 50%;
  color: #fff;
}

.tabs--media .tab.is-active {
  background: linear-gradient(128deg, #76c5db 0%, #3a8195 100%);
  color: #fff;
}

.tabs--media .tab.is-active:hover {
  background: linear-gradient(128deg, #76c5db 0%, #3a8195 100%);
  color: #fff;
}

.tabs {
  display: flex;
  gap: 8px;
  background: var(--muted);
  padding: 6px;
  border-radius: var(--radius);
  margin-bottom: 28px;
}
.tab {
  flex: 1;
  text-align: center;
  padding: 12px;
  border-radius: var(--radius);
  font-weight: 700;
  color: var(--navy);
  cursor: pointer;
  border: none;
  background: transparent;
  font-size: 14px;
}
.tab.is-active {
  background: var(--teal);
  color: #fff;
}

.tab-panel {
  display: none;
}

.tab-panel.is-active {
  display: block;
  animation: mediaTabFadeIn 0.38s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes mediaTabFadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .tab-panel.is-active {
    animation: none;
  }
}

.media-row {
  display: flex;
  gap: 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 14px;
  background: #fff;
  margin-bottom: 16px;
  align-items: center;
}
.media-row__thumb {
  width: 120px;
  aspect-ratio: 1;
  border-radius: var(--radius);
  overflow: hidden;
  flex: none;
}
.media-row__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.media-row__tag {
  font-size: 12px;
  color: var(--gold);
  font-weight: 700;
}
.media-row h3 {
  color: var(--navy);
  font-size: 15px;
  margin: 4px 0;
}
.media-row p {
  color: var(--muted-fg);
  font-size: 13px;
}
.media-row__play {
  margin-left: auto;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
}

/* =========================================================
   Pricing (community)
   ========================================================= */
/* Monthly and yearly sit side by side as two cards (no toggle), so both prices
   are comparable without interacting. Stacks to one column on narrow screens. */
.price-grid { display: grid; grid-template-columns: 1fr; gap: 20px; max-width: 760px; margin: 0 auto; }
.price-card { border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 28px; background: #fff; position: relative; }
.price-card--featured { border-color: var(--gold); box-shadow: 0 10px 30px rgba(191,144,64,.15); }
.price-card h3 { color: var(--navy); font-size: 18px; }
/* flex-wrap lets the saving badge drop below the figure instead of squeezing it
   when the yearly amount and badge together exceed the card width. */
.price-card .amount { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px; font-size: 34px; font-weight: 800; color: var(--navy); margin: 12px 0 4px; }
.price-card .amount small { font-size: 14px; font-weight: 500; color: var(--muted-fg); }
.badge--save { background: #eaf6ef; color: #1f7a4d; font-size: 12px; padding: 2px 10px; border-radius: 999px; font-weight: 700; }
.price-footnote { text-align: center; color: var(--muted-fg); font-size: 13px; margin-top: 24px; }
.price-card ul { margin: 18px 0; display: grid; gap: 10px; }
.price-card li { display: flex; gap: 8px; font-size: 13.5px; }
.price-card li svg { color: var(--gold); flex: none; }

/* =========================================================
   Forms (contact / login)
   ========================================================= */

.contact__grid { display: grid; grid-template-columns: 1fr; gap: 40px; align-items: start; }
@media (min-width: 900px) {
  .contact__grid { grid-template-columns: 1fr 1fr; }
}
.contact__title { font-size: 20px; color: var(--navy); margin-bottom: 16px; }
.contact__divider { border: 0; border-top: 1px solid var(--border); margin: 32px 0 28px; }
.contact__phone {
  background: var(--navy); color: #fff;
  border-radius: var(--radius-lg); padding: 28px;
}
.contact__phone-num {
  display: flex; align-items: center; gap: 8px;
  font-size: 26px; font-weight: 800; margin: 12px 0 4px;
}
.contact__phone small { opacity: .8; }
/* The form owns the whole column here, so drop form-grid's narrow default. */
.form-grid--wide { max-width: none; }
.form-note { font-size: 12px; color: var(--muted-fg); }

/* FAQ — answers always visible, no accordion.
   The #faq target is this aside rather than a .section, so it needs its own
   offset or the footer's /contact#faq link lands under the sticky header. */
.contact__faq { scroll-margin-top: 88px; }
.faq-list { display: flex; flex-direction: column; }
.faq-item { padding: 20px 0; border-bottom: 1px dashed var(--border); }
.faq-item:first-child { padding-top: 0; }
.faq-item h3 {
  font-size: 15px; color: var(--navy);
  line-height: 1.6; margin-bottom: 8px;
}
.faq-item p { margin: 0; color: var(--fg); font-size: 14px; line-height: 1.8; }



.form-grid {
  display: grid;
  gap: 18px;
  max-width: 720px;
}
.form-row {
  display: grid;
  gap: 6px;
}
.form-row label {
  font-weight: 700;
  font-size: 13.5px;
  color: var(--navy);
}
.form-row .req {
  color: #c0392b;
  font-size: 12px;
  margin-left: 4px;
}
.form-row input,
.form-row textarea,
.form-row select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 15px;
  background: #fff;
}
.form-row input:focus,
.form-row textarea:focus {
  outline: 2px solid var(--teal);
  border-color: var(--teal);
}

/* ---- Contact Form 7 ----
   CF7 wraps every field in span.wpcf7-form-control-wrap, so the .form-row rules
   above still apply. These rules handle the plugin's own elements. */
.cf7-wrap .wpcf7-form-control-wrap {
  display: block;
}
.cf7-wrap .form-grid {
  max-width: none;
}
/* Checkbox / radio lists */
.cf7-wrap .wpcf7-list-item {
  display: block;
  margin: 0 0 25px;
}
.cf7-wrap .wpcf7-list-item-label {
  font-size: 14px;
}
.cf7-wrap .form-row input[type="checkbox"],
.cf7-wrap .form-row input[type="radio"] {
  width: auto;
  padding: 0;
  margin-right: 8px;
  accent-color: var(--navy);
}
/* Submit button reuses the theme's gold CTA */
.cf7-wrap .wpcf7-submit {
  width: 100%;
  padding: 16px 28px;
  border: 0;
  border-radius: var(--radius);
  background: var(--gold);
  color: var(--gold-fg);
  font-family: inherit;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s;
}
.cf7-wrap .wpcf7-submit:hover {
  background: var(--gold-dark);
}
/* Inactive until the privacy policy is accepted */
.cf7-wrap .wpcf7-submit:disabled,
.cf7-wrap .wpcf7-submit:disabled:hover {
  background: var(--border);
  color: var(--muted-fg);
  cursor: not-allowed;
}
/* Validation + response messages */
.cf7-wrap .wpcf7-not-valid-tip {
  color: #c0392b;
  font-size: 12.5px;
  margin-top: 4px;
}
.cf7-wrap .wpcf7-response-output {
  margin: 18px 0 0;
  padding: 14px 16px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  font-size: 13.5px;
  line-height: 1.7;
}
.cf7-wrap form.invalid .wpcf7-response-output,
.cf7-wrap form.unaccepted .wpcf7-response-output,
.cf7-wrap form.failed .wpcf7-response-output {
  border-color: #c0392b;
  background: rgba(192, 57, 43, 0.06);
  color: #a5281c;
}
.cf7-wrap form.sent .wpcf7-response-output {
  border-color: var(--teal);
  background: rgba(29, 106, 140, 0.07);
  color: var(--navy);
}
.cf7-wrap .wpcf7-spinner {
  margin: 0 auto;
  display: block;
}
/* Privacy consent row sits flush with the button */
.cf7-wrap .form-row--consent {
  padding: 16px;
  background: var(--muted);
  border-radius: var(--radius);
}
.cf7-wrap .form-row--consent a {
  color: var(--teal);
  text-decoration: underline;
}
.cf7-wrap select:invalid {
  color: var(--muted-fg);
}

/* ---- Thanks page ---- */
.thanks {
  text-align: center;
}
.thanks__icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  margin: 0 auto 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(29, 106, 140, 0.1);
  color: var(--teal);
}
.thanks h2 {
  font-size: clamp(21px, 3.6vw, 28px);
  color: var(--navy);
  font-family: var(--font-sans);
}
.thanks__lead {
  margin-top: 18px;
  font-size: 15px;
  line-height: 2;
  color: var(--fg);
}
.thanks__body {
  margin-top: 18px;
  text-align: left;
}
.thanks__note {
  margin-top: 20px;
  font-size: 13px;
  color: var(--muted-fg);
  line-height: 1.8;
}
.thanks__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 32px;
}

.auth-wrap {
  max-width: 440px;
  margin: 0 auto;
}
.auth-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  background: #fff;
}
/* WordPress native login form */
.auth-card .login-username,
.auth-card .login-password {
  margin-bottom: 14px;
}
.auth-card label {
  display: block;
  font-weight: 700;
  font-size: 13.5px;
  color: var(--navy);
  margin-top: 17px;
  margin-bottom: -17px;
}
.auth-card input[type="text"],
.auth-card input[type="password"],
.auth-card input[type="email"] {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 15px;
}
.auth-card .login-remember {
  font-weight: 500;
  font-size: 13px;
  margin: 4px 0 16px;
}
.auth-card .login-remember label {
  display: inline;
  font-weight: 500;
  color: var(--fg);
}
.auth-card .login-submit input {
  width: 100%;
  padding: 14px;
  background: var(--navy);
  color: #fff;
  border: none;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
}
.auth-card .login-submit input:hover {
  background: var(--navy-dark);
}

/* Content gate + lock badge (membership) */
.gate-card__actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}
.gate-card__actions--stack {
  flex-direction: column;
  align-items: center;
  max-width: 320px;
  margin: 0 auto;
}
.gate-card__actions--stack .btn {
  width: 100%;
}
.lock-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-left: 8px;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  background: rgba(191, 144, 64, 0.14);
  color: var(--gold-dark, #8a6a2e);
  vertical-align: middle;
}

/* Case study fields */
.case-kpi {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin: 4px 0 12px;
}
.case-kpi__value {
  font-family: var(--font-sans);
  font-size: 22px;
  font-weight: 700;
  color: var(--gold-dark);
  line-height: 1;
}
.case-kpi__note {
  font-size: 13px;
  color: var(--muted-fg);
}
.case-highlight {
  display: flex;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
  padding: 24px 28px;
  margin: 0 0 28px;
  border-radius: var(--radius-lg);
  background: var(--navy);
  color: #fff;
}
.case-highlight__value {
  font-family: var(--font-sans);
  font-size: 40px;
  font-weight: 500;
  color: var(--gold);
  line-height: 1;
}
.case-highlight__note {
  font-size: 15px;
  opacity: 0.9;
}
.case-table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 0 32px;
  border-bottom: 1px solid var(--border);
}
.case-table th,
.case-table td {
  text-align: left;
  padding: 14px 16px;
  border-top: 1px solid var(--border);
  font-size: 15px;
  vertical-align: top;
}
.case-table th {
  width: 34%;
  background: none;
  color: var(--navy);
  font-weight: 700;
  white-space: nowrap;
  vertical-align: middle;
}
@media (max-width: 640px) {
  .case-table th {
    width: 40%;
  }
  .case-highlight__value {
    font-size: 32px;
  }
}

/* Podcast player */
.podcast-duration {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--muted-fg);
  font-size: 14px;
  font-weight: 600;
  margin: 0 0 16px;
}
.podcast-duration svg {
  color: var(--gold);
}
.podcast-player {
  margin: 0 0 32px;
}
.podcast-player__embed {
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 16px;
}
.podcast-player__embed--spotify iframe {
  display: block;
  border: 0;
  border-radius: 12px;
}
.podcast-player__embed--video {
  position: relative;
  padding-top: 56.25%;
}
.podcast-player__embed--video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.podcast-player__audio audio {
  width: 100%;
}
.podcast-player__links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.podcast-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
  background: #fff;
  transition:
    background 0.15s,
    border-color 0.15s;
}
.podcast-link:hover {
  background: var(--muted);
  border-color: var(--navy);
}
.podcast-link svg {
  flex: none;
}
a.media-row__play {
  transition: background 0.15s;
}
a.media-row__play:hover {
  background: var(--gold);
}

/* Experts / members */
.expert-group {
  margin-top: 40px;
}
.expert-group__title {
  border-left: 4px solid var(--teal);
  padding-left: 12px;
  margin: 0 0 20px;
  font-family: var(--font-sans);
  font-size: 18px;
  font-weight: 700;
  color: var(--navy);
}
.expert-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}
@media (min-width: 640px) {
  .expert-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 960px) {
  .expert-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
.expert-card {
  display: flex;
  gap: 16px;
  padding: 16px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  text-decoration: none;
  transition:
    box-shadow 0.15s,
    transform 0.15s;
}
.expert-card:not(.expert-card--static):hover {
  box-shadow: 0 10px 24px rgba(10, 42, 82, 0.12);
  transform: translateY(-2px);
}
.expert-card__photo {
  flex: none;
  width: 84px;
  height: 84px;
  border-radius: 8px;
  overflow: hidden;
  background: none;
}
.expert-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.expert-card__body {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.expert-card__role {
  font-size: 12px;
  font-weight: 700;
  color: var(--teal);
}
.expert-card__name {
  margin-top: 2px;
  font-size: 16px;
  font-weight: 700;
  color: var(--navy);
}
.expert-card__specialty {
  margin-top: 6px;
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--muted-fg);
}
.expert-card__specialty-label {
  display: inline-block;
  margin-right: 6px;
  padding: 1px 6px;
  border-radius: 3px;
  background: var(--muted);
  color: var(--navy);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  vertical-align: 1px;
}
.expert-card__more {
  margin-top: auto;
  padding-top: 8px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--navy);
}
.expert-card:hover .expert-card__more {
  color: var(--gold-dark);
}

/* Single expert */
.expert-single {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  max-width: 900px;
  margin: 0 auto;
}
@media (min-width: 768px) {
  .expert-single {
    grid-template-columns: 250px 1fr;
  }
}
.expert-single__photo {
  width: 100%;
  border-radius: var(--radius-lg);
  display: block;
}
.expert-single__role {
  font-size: 14px;
  font-weight: 700;
  color: var(--teal);
  margin: 0;
}
.expert-single__name {
  font-family: var(--font-sans);
  font-size: 26px;
  font-weight: 700;
  color: var(--navy);
  margin: 4px 0 20px;
}
.expert-single__subhead {
  border-left: 4px solid var(--teal);
  padding-left: 12px;
  margin: 60px 0 16px;
  font-family: var(--font-sans);
  font-size: 18px;
  font-weight: 700;
  color: var(--navy);
}
@media (max-width: 767px) {
  .expert-single__aside img {
    max-width: 50%;
    margin: auto;
  }
  .expert-single__role {
    text-align: center;
  }
  .expert-single__name {
    text-align: center;
    margin: 4px 0 45px;
  }
}

/* =========================================================
   Info panels (about / services)
   ========================================================= */
.prose h2 {
  color: var(--navy);
  font-size: 22px;
  margin: 32px 0 14px;
  font-family: var(--font-sans);
}
.prose p {
  margin-bottom: 14px;
  color: var(--fg);
  border-bottom: 1px dashed #ccc;
  padding: 20px 10px;
}
.stat-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.stat-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 22px;
  text-align: center;
}
.stat-card b {
  display: block;
  font-size: 30px;
  color: var(--teal);
  font-weight: 800;
}
.stat-card span {
  color: var(--muted-fg);
  font-size: 13px;
}
.service-block {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-bottom: 18px;
}
.service-block h3 {
  color: var(--navy);
  margin-bottom: 8px;
}
.service-block p {
  color: var(--muted-fg);
  font-size: 14px;
}

/* =========================================================
   About: vision / mission / values / profile
   ========================================================= */
.about-intro {
  font-size:clamp(17px, 5vw, 20px);
  line-height: 2;
  color: var(--fg);
  text-align: center;
}
@media (max-width: 640px) {
	.about-intro {font-size:clamp(13px, 4vw, 16px);}
}


/* Vision — the page's signature block */
.vision {
  background: linear-gradient(128deg, rgb(15 45 108) 0%, rgb(17 25 42) 100%);
  color: #fff;
}
.vision__head {
  text-align: center;
  margin-bottom: 44px;
}
.vision__label {
  font-size: 12px;
  letter-spacing: 0.18em;
  color: var(--gold);
  font-weight: 700;
}
.vision__head h2 {
  font-size: clamp(24px, 4vw, 32px);
  color: #fff;
  margin-top: 10px;
}
.vision__head p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 14px;
  margin-top: 10px;
}
.vision__grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 20px;
}
@media (max-width: 898px) {
  .vision__grid {
    grid-template-columns: 1fr;
  }
}
.vision__item {
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-lg);
  padding: 30px 24px;
  text-align: center;
  background: rgba(255, 255, 255, 0.04);
}
.vision__item b {
  display: block;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: clamp(30px, 5vw, 40px);
  color: var(--gold);
  line-height: 1.2;
  letter-spacing: -0.01em;
}
.vision__item b small {
  font-size: 17px;
  margin-left: 4px;
  font-family: var(--font-sans);
}
.vision__item p {
  color: rgba(255, 255, 255, 0.88);
  font-size: 14px;
  line-height: 1.8;
  margin-top: 14px;
}

/* Mission / Philosophy pillars */
.pillar-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
@media (max-width: 898px) {
  .pillar-grid {
    grid-template-columns: 1fr;
  }
}
.pillar {
  border: 1px solid var(--border);
  border-left: 3px solid var(--teal);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
    background: linear-gradient(128deg, rgb(36 165 191 / 0%) 0%, rgb(36 165 191 / 20%) 100%);
}
.pillar__icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(29, 106, 140, 0.1);
  color: var(--teal);
}
.pillar__label {
  font-size: 11.5px;
  letter-spacing: 0.16em;
  color: var(--teal);
  font-weight: 700;
}
.pillar h2 {
  font-size: 21px;
  color: var(--navy);
  margin: 6px 0 14px;
}
.pillar p {
  color: var(--fg);
  font-size: 15px;
  line-height: 1.9;
}

/* Core values */
.value-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.value-grid > *:last-child {
  grid-column: 1 / -1;
}
@media (max-width: 898px) {
  .value-grid {
    grid-template-columns: 1fr;
  }
}
.value-card {
  display: flex;
  gap: 16px;
	align-items: center;
	background: var(--navy-fg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 22px;
}
.value-card__icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--navy);
  color: var(--teal-fg);
}
.value-card h3 {
  font-size: 15.5px;
  color: var(--navy);
  margin-bottom: 6px;
}
.value-card p {
  color: var(--muted-fg);
  font-size: 13.5px;
  line-height: 1.75;
}

.section--core {
  background: linear-gradient(0deg, rgb(5 28 75) 0%, rgb(5 28 75 / 30%) 40%, rgb(5 28 75 / 0%) 100%);
}

/* Profile table */
.profile-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14.5px;
}
.profile-table th,
.profile-table td {
  text-align: left;
  padding: 16px 12px;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
  line-height: 1.8;
}
.profile-table th {
  width: 150px;
  color: var(--navy);
  font-weight: 700;
  background: var(--muted);
}
.profile-table td {
  color: var(--fg);
}

/* =========================================================
   Services: catalogue cards + detail page
   ========================================================= */
.container--narrow {
  max-width: 860px;
}

.svc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
@media (max-width: 898px) {
  .svc-grid {
	  grid-template-columns: 1fr;
        gap: 24px;
        padding: 0 10px;
  }
}
.svc-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: linear-gradient(128deg, #ffffff 0%, rgb(80 164 188 / 10%) 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 26px 24px;
  transition:
    border-color 0.2s,
    box-shadow 0.2s,
    transform 0.2s;
    position: relative;
}
.svc-card:hover {
  border-color: var(--teal);
  box-shadow: 0 8px 24px rgba(10, 42, 82, 0.09);
  transform: translateY(-2px);
}
.svc-card__icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    flex: none;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgb(255 255 255);
    color: var(--teal);
    position: absolute;
    top: -17px;
    left: -17px;
    box-shadow: 0 5px 14px rgba(5, 28, 75, .18);
}
.svc-card h3 {
  color: var(--navy);
  font-size: 17px;
  line-height: 1.5;
}
.svc-card p {
  color: var(--muted-fg);
  font-size: 13.5px;
  line-height: 1.7;
  flex: 1;
}
.svc-card__more {
  color: var(--teal);
  font-weight: 700;
  font-size: 13px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.svc-card:hover .svc-card__more {
  color: var(--gold-dark);
}

/* Compact variant used for the "other services" list */
.svc-grid--compact {
  gap: 12px;
}
.svc-card--compact {
  flex-direction: row;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
}
.svc-card--compact .svc-card__icon {
  width: 40px;
  height: 40px;
}
.svc-card--compact h3 {
  font-size: 15px;
}

/* Detail page */
.svc-lead {
  font-size: 15.5px;
  line-height: 1.9;
  color: var(--fg);
}
.svc-pains {
  margin-top: 32px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  background: var(--muted);
}
.svc-pains__title {
  font-size: 18px;
  color: var(--navy);
  font-family: var(--font-sans);
  margin-bottom: 16px;
}
.svc-pains ul {
  list-style: none;
  display: grid;
  gap: 12px;
}
.svc-pains li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 14.5px;
  line-height: 1.7;
}
.svc-pains li svg {
  color: var(--teal);
  flex: none;
  margin-top: 3px;
}
.svc-pains__note {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
}

.svc-feature {
  display: flex;
  gap: 18px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-bottom: 16px;
}
.svc-feature__no {
  font-family: var(--font-sans);
  font-size: 22px;
  font-weight: 700;
  color: var(--teal);
  line-height: 1.2;
  flex: none;
}
.svc-feature h3 {
  color: var(--navy);
  font-size: 16.5px;
  margin-bottom: 8px;
}
.svc-feature p {
  color: var(--muted-fg);
  font-size: 14px;
  line-height: 1.8;
}

.svc-cta {
  text-align: center;
}
.svc-cta h2 {
  font-size: clamp(20px, 3.4vw, 26px);
  color: var(--navy);
  font-family: var(--font-sans);
}
.svc-cta p {
  color: var(--muted-fg);
  margin-top: 10px;
  font-size: 14px;
}
.svc-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 22px;
}
.svc-cta__hours {
  font-size: 12.5px;
  margin-top: 14px;
}

/* =========================================================
   Footer
   ========================================================= */
.site-footer {
	background: var(--navy-dark);
  color: rgba(255, 255, 255, 0.85);
  padding: 48px 0 0;
}
.footer-top {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}
.footer-brand__text {
  font-size: 13px;
  opacity: 0.8;
  margin-top: 14px;
}
.footer-social {
  display: flex;
  gap: 16px;
  margin-top: 18px;
}
.footer-social a {
  color: #fff;
  opacity: 0.85;
}
.footer-cols {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.footer-col h4 {
  color: #fff;
  font-size: 14px;
  margin-bottom: 12px;
}
.footer-col a {
  display: block;
  font-size: 13px;
  padding: 4px 0;
  opacity: 0.8;
}
.footer-col a:hover {
  opacity: 1;
  color: var(--gold);
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  margin-top: 40px;
  padding: 20px 0;
  font-size: 12px;
}
.footer-bottom__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 20px;
  opacity: 0.75;
}
.footer-bottom__links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

/* =========================================================
   Responsive
   ========================================================= */
@media (min-width: 640px) {
  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .card-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .price-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-cols {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (min-width: 900px) {
  .topbar__brand {
    display: flex;
  }
  .main-nav {
    display: flex;
  }
  .header__cta {
    display: inline-flex;
  }
  .menu-toggle {
    display: none;
  }
  .feature-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .hero__inner {
    grid-template-columns: 1fr 1fr;
    align-items: center;
    padding: 56px 20px 72px;
  }
  .roadmap {
    grid-template-columns: repeat(4, 1fr);
  }
  .roadmap::before {
    content: "";
    position: absolute;
    top: 28px;
    left: 12%;
    right: 12%;
    height: 2px;
    background: var(--border);
    z-index: 0;
  }
  .community__grid {
    grid-template-columns: 1.2fr 1fr;
  }
  .footer-top {
    grid-template-columns: 1.4fr 3fr;
  }
  .footer-cols {
    grid-template-columns: repeat(6, 1fr);
  }
  .stat-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .section {
    padding: 80px 0;
  }
}

/* =========================================================
   Home Pickup Cards (Cases / Media)
   ========================================================= */
.home-pickup__grid {
		display: grid;
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 24px;
	}

	.home-pickup__card {
		overflow: hidden;
		background: #fff;
		border: 1px solid rgba( 7, 35, 82, .11 );
		border-radius: 8px;
		box-shadow: 0 5px 18px rgba( 7, 35, 82, .035 );
		transition: transform .22s ease, box-shadow .22s ease;
	}

	.home-pickup__card:hover {
		transform: translateY(-2px);
		box-shadow: 0 10px 28px rgba( 7, 35, 82, .08 );
	}

	.home-pickup__visual {
		display: grid;
		grid-template-columns: 40% 60%;
		min-height: 136px;
		text-decoration: none;
	}

	.home-pickup__meta-panel {
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
		gap: 8px;
		padding: 18px 12px;
		color: #fff;
		text-align: center;background: linear-gradient(128deg,#0f2d6c 0%,#11192a 45%,#79c4d5 50%,#50a4bc 100%);
  background-size: 300% 100%;
  background-position: 0% 50%;
  transition:
    background-position 0.4s ease,
    color 0.25s ease;
}

.home-pickup__card:hover .home-pickup__meta-panel {
  background-position: 100% 50%;
}

	.home-pickup__meta-panel--case {
		gap: 0;
	}

	.home-pickup__meta-icon {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		color: #fff;
	}

	.home-pickup__meta-icon svg {
		width: 24px;
		height: 24px;
	}

	.home-pickup__meta-label {
		font-size: 14px;
		font-weight: 700;
		line-height: 1.45;
		letter-spacing: .02em;
	}

	.home-pickup--cases .home-pickup__meta-label {
		font-size: 15px;
	}

	.home-pickup__image {
		min-width: 0;
		overflow: hidden;
		background: #eef3f7;
	}

	.home-pickup__image img {
		display: block;
    width: 100%;
    height: 100%;
    min-height: 120px;
    transition: transform .35s ease;
    aspect-ratio: 16 / 9;
    object-fit: cover;
	}

	.home-pickup__card:hover .home-pickup__image img {
		transform: scale(1.025);
	}

	.home-pickup__body {
    padding: 16px 18px 17px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
	}

	.home-pickup__body h3 {
		margin: 0;
		color: var(--navy);
		font-size: 16px;
		line-height: 1.55;
	}

	.home-pickup__body h3 a {
		color: inherit;
		text-decoration: none;
	}

	.home-pickup__body p {
    margin: 5px 0 0;
    color: var(--muted-fg);
    font-size: 13px;
    line-height: 1.75;
    height: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
	}

	.home-pickup__footer {
		display: flex;
		align-items: center;
		justify-content: space-between;
		gap: 12px;
		margin-top: 15px;
	}

	.home-pickup--media .home-pickup__footer {
		margin-top: 13px;
	}

	.home-pickup__date {
		color: var(--muted-fg);
		font-size: 12px;
		white-space: nowrap;
	}

	.home-pickup__link {
		display: inline-flex;
		align-items: center;
		gap: 5px;
		color: var(--navy);
		font-size: 13px;
		font-weight: 700;
		text-decoration: none;
		white-space: nowrap;
	}

	.home-pickup__link:hover {
		opacity: .72;
	}

	@media (max-width: 900px) {
		.home-pickup__grid {
			grid-template-columns: repeat(2, minmax(0, 1fr));
		}
	}

	@media (max-width: 640px) {
		.home-pickup__grid {
			grid-template-columns: 1fr;
			gap: 16px;
		}

		.home-pickup__visual {
			grid-template-columns: 38% 62%;
			min-height: 120px;
		}

		.home-pickup__image img {
			min-height: 120px;
		}

		.home-pickup__body {
			padding: 14px 15px 15px;
		}

		.home-pickup__body h3 {
			font-size: 15px;
		}
	}

.single-post__back {
  display: flex;
  justify-content: center;
  margin-top: 38px;
}

.single-post__back .btn svg {
  transform: rotate(180deg);
}

/* =========================================================
   Single Podcast
   ========================================================= */
.single-podcast {
  background:
    linear-gradient(to bottom, #fff 0, #fff 180px, rgba(244,246,249,.55) 100%);
}

.single-podcast__article {
  width: min(860px, 100%);
  margin: 0 auto;
}

.single-podcast__header {
  margin-bottom: 28px;
}

.single-podcast__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 12px;
  color: var(--teal);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.single-podcast__eyebrow svg {
  flex: none;
}

.single-podcast__title {
  color: var(--navy);
  font-size: clamp(24px, 4vw, 24px);
  line-height: 1.45;
  letter-spacing: .01em;
}

.single-podcast__meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  color: var(--muted-fg);
  font-size: 13px;
}

.single-podcast__thumb {
    margin: 0 auto 28px auto;
    overflow: hidden;
    border-radius: var(--radius-lg);
    background: var(--muted);
    box-shadow: 0 8px 26px rgba(5, 28, 75, .07);
    max-width: 640px;
}

.single-podcast__thumb img {
display: block;
    width: 100%;
    height: auto;
    max-height: 2000px;
    object-fit: cover;
    margin: auto;
}

.single-podcast__player {
  margin: 0 0 34px;
  padding: 22px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 26px rgba(5,28,75,.055);
}

.single-podcast__player .podcast-player {
  margin: 0;
}

.single-podcast__player .podcast-player__embed {
  margin-bottom: 14px;
}

.single-podcast__player .podcast-player__embed--spotify iframe {
  width: 100%;
  min-height: 152px;
}

.single-podcast__player .podcast-player__links {
  margin-top: 14px;
}

.single-podcast__content {
  padding: 30px 34px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}

.single-podcast__content > :first-child {
  margin-top: 0;
}

.single-podcast__content > :last-child {
  margin-bottom: 0;
}

.single-podcast__content p {
  margin: 0 0 1.35em;
  font-size: 15px;
  line-height: 1.95;
}

.single-podcast__content h2 {
  margin: 2.1em 0 .8em;
  padding-bottom: 10px;
  color: var(--navy);
  font-size: 22px;
  border-bottom: 1px solid var(--border);
}

.single-podcast__content h3 {
  margin: 1.8em 0 .7em;
  color: var(--navy);
  font-size: 18px;
}

.single-podcast__content ul,
.single-podcast__content ol {
  margin: 0 0 1.4em 1.4em;
}

.single-podcast__content ul {
  list-style: disc;
}

.single-podcast__content ol {
  list-style: decimal;
}

.single-podcast__content li + li {
  margin-top: .45em;
}

.single-podcast__back {
  display: flex;
  justify-content: center;
  margin-top: 36px;
}

.single-podcast__back .btn svg {
  transform: rotate(180deg);
}

/* Platform buttons */
.single-podcast .podcast-link {
  min-height: 42px;
  padding: 9px 15px;
  background: #fff;
  border-color: var(--border);
}

.single-podcast .podcast-link:hover {
  color: #fff;
  background: var(--navy);
  border-color: var(--navy);
}

.single-podcast .prose p {
  margin-bottom: 10px;
  color: var(--fg);
  border-bottom: none;
  padding: 0;
}

/* Spotify iframe leaves a tiny baseline gap in some browsers */
.single-podcast iframe {
  vertical-align: top;
}

@media (max-width: 640px) {
  .single-podcast {
    padding-top: 44px;
    padding-bottom: 48px;
  }

  .single-podcast__header {
    margin-bottom: 22px;
  }

  .single-podcast__title {
        font-size: clamp(17px, 5vw, 19px);
  }

  .single-podcast__thumb {
    margin-bottom: 22px;
    border-radius: 6px;
  }

  .single-podcast__player {
    margin-bottom: 24px;
    padding: 14px;
  }

  .single-podcast__content {
    padding: 22px 18px;
  }

  .single-podcast__content p {
    font-size: 14px;
    line-height: 1.9;
  }

  .single-podcast__content h2 {
    font-size: 20px;
  }

  .single-podcast__content h3 {
    font-size: 17px;
  }

  .single-podcast__player .podcast-player__links {
    display: grid;
    grid-template-columns: 1fr;
  }

  .single-podcast .podcast-link {
    justify-content: center;
    width: 100%;
  }
}


/* =========================================================
   Media page - Podcast whole-card link
   ========================================================= */
.media-row {
  padding: 0;
  overflow: hidden;
  transition: box-shadow .2s ease, transform .2s ease, border-color .2s ease;
}

.media-row__link {
  display: flex;
  width: 100%;
  gap: 16px;
  padding: 14px;
  align-items: center;
  color: inherit;
  text-decoration: none;
}

.media-row__content {
  min-width: 0;
  flex: 1;
}

.media-row:hover,
.media-row:focus-within {
  border-color: rgba(5, 28, 75, .22);
  box-shadow: 0 10px 24px rgba(10, 42, 82, .10);
  transform: translateY(-2px);
}

.media-row__link:focus-visible {
  outline: 3px solid rgba(80, 164, 188, .35);
  outline-offset: -3px;
}

.media-row__play {
  transition: background .2s ease, transform .2s ease;
}

.media-row__link:hover .media-row__play,
.media-row__link:focus-visible .media-row__play {
  background: var(--gold);
  transform: scale(1.05);
}

@media (max-width: 640px) {
  .media-row__link {
    gap: 12px;
    padding: 12px;
  }

  .media-row__thumb {
    width: 92px;
  }

  .media-row__play {
    width: 38px;
    height: 38px;
  }
}


/* =========================================================
   Media page - Newsletter signup
   ========================================================= */
.media-page .tab-panel[data-tab-panel="mailmag"],
.tab-panel[data-tab-panel="mailmag"] {
  padding-top: 8px;
}

.mailmag-signup {
  padding: 46px 20px 48px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}

.mailmag-signup__inner {
  width: min(780px, 100%);
  margin: 0 auto;
}

.mailmag-signup__title {
  margin: 0;
  color: var(--navy);
  font-size: clamp(21px, 2.4vw, 26px);
  line-height: 1.45;
}

.mailmag-signup__lead {
  margin: 10px 0 34px;
  color: var(--muted-fg);
  font-size: 14px;
  line-height: 1.8;
}

.mailmag-form {
  display: grid;
  gap: 24px;
}

.mailmag-form__row {
  display: grid;
  gap: 8px;
}

.mailmag-form__row label {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  color: var(--navy);
  font-size: 15px;
  font-weight: 700;
}

.mailmag-form__row .req {
  color: #d94132;
  font-size: 12px;
  font-weight: 700;
}

.mailmag-form__row input {
  width: 100%;
  min-height: 52px;
  padding: 11px 14px;
  background: #fff;
  color: var(--fg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  outline: 0;
  font: inherit;
  transition: border-color .2s ease, box-shadow .2s ease;
}

.mailmag-form__row input:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(80, 164, 188, .12);
}

.mailmag-form__submit {
  min-height: 62px;
  margin-top: 0;
  font-size: 17px;
}

.mailmag-form__submit {
  color: #fff;
  border-color: transparent;

  background: linear-gradient(
    128deg,
    #e0bd70 0%,
    var(--gold) 35%,
    var(--gold-dark) 65%,
    #76531a 100%
  );

  background-size: 300% 100%;
  background-position: 0% 50%;

  transition:
    background-position 0.4s ease,
    box-shadow 0.3s ease,
    transform 0.25s ease;
}

.mailmag-form__submit:hover {
  background-position: 100% 50%;
  color: #fff;
  box-shadow: 0 8px 22px rgba(191, 144, 64, 0.28);
  transform: translateY(-1px);
}

@media (max-width: 640px) {
  .mailmag-signup {
    padding: 30px 18px 32px;
  }

  .mailmag-signup__lead {
    margin-bottom: 26px;
    font-size: 13px;
  }

  .mailmag-form {
    gap: 20px;
  }

  .mailmag-form__row input {
    min-height: 50px;
  }

  .mailmag-form__submit {
    min-height: 56px;
    font-size: 15px;
  }
}

/* =========================================================
   Single Case Study
   ========================================================= */
.single-case {
  background: #fff;
}

.single-case__article {
  width: min(860px, 100%);
  margin: 0 auto;
}

.single-case__visual {
  position: relative;
  overflow: hidden;
  margin-bottom: 26px;
  border-radius: 9px;
  background: var(--muted);
  box-shadow: 0 8px 26px rgba(5, 28, 75, .06);
}

.single-case__visual img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 520px;
  object-fit: cover;
}

.single-case__country-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 5px 11px;
  border-radius: 4px;
  background: var(--navy);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
}

.single-case .case-highlight {
  gap: 14px;
  margin: 0 0 26px;
  padding: 22px 26px;
  border-radius: 8px;
}

.single-case .case-highlight__value {
    font-size: clamp(21px, 4vw, 30px);
  line-height: 1.15;
}

.single-case .case-highlight__note {
  flex: 100%;
  font-size: 14px;
  line-height: 1.7;
}

.single-case__lead {
  margin: 0 0 28px;
  color: var(--muted-fg);
  font-size: 14px;
  line-height: 1.9;
}

.single-case__table-wrap {
  overflow: hidden;
  margin: 0 0 36px;
  border: 1px solid var(--border);
  border-radius: 9px;
  background: #fff;
}

.single-case .case-table {
  margin: 0;
  border-bottom: 0;
}

.single-case .case-table th,
.single-case .case-table td {
  padding: 15px 18px;
  border-top: 1px solid var(--border);
  font-size: 14px;
  line-height: 1.75;
}

.single-case .case-table tr:first-child th,
.single-case .case-table tr:first-child td {
  border-top: 0;
}

.single-case .case-table th {
  width: 25%;
  min-width: 150px;
  background: #fff;
  color: var(--navy);
}

.single-case__content {
  margin-top: 40px;
}

.single-case .prose p {
  margin: 0 0 1.5em;
  padding: 0;
  border-bottom: 0;
  color: var(--fg);
  font-size: 15px;
  line-height: 2;
}

.single-case__content h2 {
  position: relative;
  margin: 42px 0 16px;
  padding: 0 0 0 14px;
  border: 0;
  color: var(--navy);
  font-size: 20px;
  line-height: 1.5;
}

.single-case__content h2::before {
  content: "";
  position: absolute;
  top: .18em;
  bottom: .18em;
  left: 0;
  width: 4px;
  border-radius: 999px;
  background: var(--teal);
}

.single-case__content h3 {
  margin: 30px 0 12px;
  color: var(--navy);
  font-size: 17px;
}

.single-case__content ul,
.single-case__content ol {
  margin: 0 0 1.5em 1.4em;
}

.single-case__content ul {
  list-style: disc;
}

.single-case__content ol {
  list-style: decimal;
}

.single-case__content li {
  line-height: 1.9;
}

.single-case__cta {
  margin-top: 48px;
  padding: 30px 28px;
  border: 1px solid #dbe4ef;
  border-radius: 9px;
  background: #f2f6fc;
  text-align: center;
}

.single-case__cta h2 {
  color: var(--navy);
  font-size: 19px;
}

.single-case__cta p {
  margin: 10px auto 18px;
  color: var(--muted-fg);
  font-size: 13.5px;
  line-height: 1.8;
}

.single-case__related {
  margin-top: 48px;
  padding-top: 38px;
  border-top: 1px solid var(--border);
}

.single-case__related > h2 {
  margin-bottom: 18px;
  color: var(--navy);
  font-size: 18px;
}

.single-case__related-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.single-case__related-card {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  min-height: 96px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 9px;
  background: #fff;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.single-case__related-card:hover {
  transform: translateY(-2px);
  border-color: rgba(80, 164, 188, .55);
  box-shadow: 0 8px 22px rgba(5, 28, 75, .07);
}

.single-case__related-thumb {
  display: block;
  min-height: 96px;
  background: var(--muted);
}

.single-case__related-thumb img {
  width: 100%;
  height: 100%;
  min-height: 96px;
  object-fit: cover;
}

.single-case__related-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  padding: 14px 16px;
  min-width: 0;
}

.single-case__related-body small {
  color: var(--muted-fg);
  font-size: 11px;
}

.single-case__related-body strong {
  color: var(--navy);
  font-size: 14px;
  line-height: 1.55;
}

.single-case__back {
  display: flex;
  justify-content: center;
  margin-top: 38px;
}

.single-case__back .btn svg {
  transform: rotate(180deg);
}

@media (max-width: 640px) {
  .single-case {
    padding-top: 44px;
    padding-bottom: 50px;
  }

  .single-case__visual {
    margin-bottom: 20px;
    border-radius: 6px;
  }

  .single-case .case-highlight {
    display: block;
    padding: 19px 20px;
  }

  .single-case .case-highlight__note {
    display: block;
    margin-top: 8px;
  }

  .single-case__table-wrap {
    overflow-x: auto;
  }

  .single-case .case-table th,
  .single-case .case-table td {
    padding: 13px 12px;
    font-size: 13px;
  }

  .single-case .case-table th {
    width: 38%;
    min-width: 118px;
    white-space: normal;
  }

  .single-case__content {
    margin-top: 32px;
  }

  .single-case__content h2 {
    margin-top: 34px;
    font-size: 18px;
  }

  .single-case .prose p {
    font-size: 14px;
    line-height: 1.9;
  }

  .single-case__cta {
    margin-top: 40px;
    padding: 24px 18px;
  }

  .single-case__related-grid {
    grid-template-columns: 1fr;
  }

  .single-case__related-card {
    grid-template-columns: 96px minmax(0, 1fr);
  }
}

/* =========================================================
   GSJ Community page styles
   Moved from template-community.php
   ========================================================= */
/* =========================================================
   GSJ Community landing page — scoped styles
   ========================================================= */
.community-page {
	--gc-navy: var(--navy, #051c4b);
	--gc-teal: var(--teal, #50a4bc);
	--gc-gold: var(--gold, #bf9040);
	--gc-muted: var(--muted, #f4f6f9);
	--gc-border: var(--border, #e2e7ee);
	--gc-text: var(--fg, #1c2430);
	--gc-radius: var(--radius-lg, 25px);
	overflow: hidden;
}
.community-page .gc-kicker {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 12px;
	color: var(--gc-teal);
	font-size: 12px;
	font-weight: 800;
	letter-spacing: .14em;
	text-transform: uppercase;
}
.community-page .gc-section-head {
	max-width: 760px;
	margin: 0 auto 34px;
	text-align: center;
}
.community-page .gc-section-head h2 {
	color: var(--gc-navy);
	font-size: clamp(26px, 3.6vw, 42px);
	letter-spacing: .01em;
}
.community-page .gc-section-head p {
	margin-top: 12px;
	color: var(--muted-fg);
	font-size: 15px;
}
.community-page .gc-lead {
	font-size: 16px;
	line-height: 2;
}
.community-page .gc-accent {
	color: var(--gc-teal);
}

/* Intro / key visual */
.gc-intro {
	padding: 72px 0 84px;
	background:
		radial-gradient(circle at 15% 12%, rgba(80,164,188,.08), transparent 28%),
		#fff;
}
.gc-intro__grid {
	display: grid;
	grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
	gap: 56px;
	align-items: center;
}
.gc-intro__logo {
    width: min(100%, 510px);
    max-height: 100px;
    object-fit: contain;
    object-position: left center;
    margin-bottom: 50px;
}
.gc-intro h1 {
    color: var(--gc-navy);
    font-size: clamp(25px, 4.2vw, 50px);
    line-height: 1.28;
    letter-spacing: -.025em;
}
.gc-intro__sub {
margin-top: 18px;
    color: var(--gc-navy);
    font-size: clamp(21px, 2.2vw, 29px);
    font-weight: 800;
    line-height: 1.55;
}
.gc-intro__body {
	margin-top: 22px;
	max-width: 650px;
	color: #364152;
	font-size: 15px;
	line-height: 2;
}
.gc-intro__microcta {
	margin-top: 28px;
}
.gc-intro__microcta-copy {
	margin-bottom: 12px;
	color: var(--gc-navy);
	font-size: 17px;
	font-weight: 800;
}
.gc-intro__visual {
	position: relative;
	min-height: 560px;
}
.gc-intro__visual::before {
	content: "";
	position: absolute;
	inset: -18px -90px 18px 9%;
	background: linear-gradient(145deg, rgba(80,164,188,.16), rgba(5,28,75,.06));
	clip-path: polygon(18% 0,100% 0,100% 100%,5% 100%,17% 73%,7% 50%,20% 22%);
}
.gc-intro__visual img {
    position: relative;
    width: 100%;
    height: auto;
    object-fit: cover;
    object-position: center;
}

@media (max-width: 640px) {
.gc-intro__microcta .btn {
	width: 100%;
}
}

/* Why */
.gc-why {
	padding: 0 0 60px;
	background: linear-gradient(180deg,#fff 0%,#f7fbfd 100%);
}
.gc-why__grid {
	display: grid;
	grid-template-columns: .85fr 1.15fr;
	gap: 0;
	align-items: center;
}
.gc-why__copy h2 {
	color: var(--gc-navy);
	font-size: clamp(28px, 3vw, 38px);
}
.gc-why__copy p {
	margin-top: 18px;
	font-size: 15px;
	line-height: 2;
}
.gc-why__copy .gc-why__statement {
	color: var(--gc-navy);
	font-weight: 800;
	font-size: 18px;
}
.gc-relationship-flow {
	display: flex;
	align-items: flex-start;
	gap: 28px;
	width: 100%;
}

.gc-relationship-card {
	position: relative;
	flex: 1 1 0;
	min-width: 0;
	text-align: center;
}
	
	
.gc-relationship-card__arrow {
	position: absolute;
	top: 50%;
	right: -23px;
	z-index: 3;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 18px;
	height: 18px;
	color: var(--gc-navy);
	transform: translateY(-100%);
}

.gc-relationship-card__arrow svg {
	display: block;
	width: 18px;
	height: 18px;
}

.gc-relationship-card__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 54px;
	height: 54px;
	margin-bottom: 11px;
	border-radius: 50%;
	background: rgba(80,164,188,.11);
	color: var(--gc-navy);
}
.gc-relationship-card__icon svg { width: 28px; height: 28px; }
.gc-relationship-card b { display:block; color:var(--gc-navy); font-size:16px; }

/* 写真 */
.gc-relationship-card__image {
	width: 100%;
	aspect-ratio: 1 / 1;
	overflow: hidden;
	border-radius: 28px;
	background: var(--teal);
	box-shadow: 0 10px 30px rgba(5, 28, 75, 0.08);
}

.gc-relationship-card__image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	display: block;
	transition: transform .4s ease;
}
	
/* 名称 */
.gc-relationship-card__label {
	display: block;
	margin-top: 14px;

	color: var(--navy);
	font-size: clamp(18px, 1.8vw, 28px);
	font-weight: 700;
	line-height: 1.35;
}	
	
/* Purpose cards */
.gc-purpose {
	padding: 80px 0;
	background: #fff;
}
.gc-purpose__grid {
	display: grid;
	grid-template-columns: repeat(3,1fr);
	gap: 24px;
}
.gc-purpose-card {
	position: relative;
	isolation: isolate;
	overflow: visible;
	min-height: 350px;
	background: #fff;
	border: 1px solid rgba(80, 164, 188, .28);
	border-radius: 24px;
	box-shadow: 0 10px 30px rgba(5, 28, 75, .04);
}

/*
 * Symbolic background image.
 * The source artwork is already high-key, so keep it visible enough to read
 * as an idea while suppressing colour/contrast so the copy remains dominant.
 */
.gc-purpose-card__bg {
	position: absolute;
	inset: 0;
	z-index: 0;
	border-radius: inherit;
	background-image: var(--gc-purpose-bg);
	background-repeat: no-repeat;
	background-position: center 35%;
	background-size: cover;
	pointer-events: none;
}

/*
 * White veil: keep the symbolic motif visible in the upper area, then fade it
 * into an almost-white reading surface behind the title and body text.
 */
.gc-purpose-card::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
	border-radius: inherit;
	pointer-events: none;
}

.gc-purpose-card__no {
	position: absolute;
	top: -18px;
	left: 22px;
	z-index: 3;
	display: grid;
	place-items: center;
	width: 54px;
	height: 54px;
	clip-path: polygon(25% 7%,75% 7%,100% 50%,75% 93%,25% 93%,0 50%);
    background: var(--gc-teal);
	color: #fff;
	font-size: 16px;
	font-weight: 800;
}

.gc-purpose-card__inner {
	position: relative;
	z-index: 2;
	display: flex;
	flex-direction: column;
	align-items: center;
	min-height: 350px;
	padding: 68px 34px 34px;
}

.gc-purpose-card__icon {
	display: flex;
	justify-content: center;
	margin: 8px 0 20px;
	color: var(--gc-navy);
}
.gc-purpose-card__icon svg { width: 52px; height: 52px; stroke-width:1.45; }
.gc-purpose-card h3 {
	width: 100%;
	color: var(--gc-navy);
	font-size: 18px;
	line-height: 1.55;
	text-align: center;
}
.gc-purpose-card p {
	width: 100%;
	margin-top: 14px;
	color: #4a5565;
	font-size: 13.5px;
	line-height: 1.9;
}

/* Benefits */
.gc-benefits {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	padding: 92px 0 104px;
	background:
		linear-gradient(180deg, rgba(248,252,255,.94) 0%, rgba(255,255,255,.95) 52%, rgba(242,248,253,.98) 100%);
}

.gc-benefits::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -2;
	background-image: var(--gc-benefits-bg-pc);
	background-repeat: no-repeat;
	background-position: center center;
	background-size: cover;
	opacity: .62;
	pointer-events: none;
}

.gc-benefits::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background:
		linear-gradient(180deg, rgba(255,255,255,.38) 0%, rgba(255,255,255,.72) 44%, rgba(255,255,255,.86) 100%),
		radial-gradient(circle at 50% 24%, rgba(255,255,255,.95) 0%, rgba(255,255,255,.28) 45%, transparent 70%);
	pointer-events: none;
}

.gc-benefits .container {
	position: relative;
	z-index: 1;
}

.gc-benefits .gc-section-head {
	max-width: 900px;
	margin-bottom: 46px;
}

.gc-benefits .gc-section-head h2 {
	font-size: clamp(30px, 4vw, 48px);
}

.gc-benefits .gc-section-head p {
	max-width: 760px;
	margin-left: auto;
	margin-right: auto;
	color: #506078;
	font-size: 15px;
	line-height: 1.9;
}

.gc-benefits__grid {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 18px;
}

.gc-benefit-card {
	position: relative;
	display: flex;
	flex-direction: column;
	min-height: 390px;
	padding: 28px 22px 26px;
	border-radius: 22px;
	background: rgba(255,255,255,.92);
	box-shadow:
		0 14px 34px rgba(5,28,75,.075),
		0 2px 6px rgba(5,28,75,.03);
	backdrop-filter: blur(7px);
	-webkit-backdrop-filter: blur(7px);
	transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.gc-benefit-card h3::after {
    content: "";
    position: absolute;
    left: 50%;
    width: 90%;
    height: 1px;
    border-radius: 999px;
    background: var(--gc-teal);
    transform: translateX(-50%);
    bottom: -15px;
}

.gc-benefit-card__visual {
    display: grid;
    place-items: center;
    margin: 0 auto 15px;
}

.gc-benefit-card__visual svg {
	width: 62px;
	height: 62px;
	overflow: visible;
}

.gc-benefit-card h3 {
	margin: 0;
	color: var(--gc-navy);
	font-size: 16px;
	font-weight: 800;
	line-height: 1.65;
	text-align: center;
    position: relative;
    display: block;
	}

.gc-benefit-card p {
	margin: 34px 0 0;
	color: #4e5d72;
	font-size: 13px;
	line-height: 1.9;
}

@media (hover:hover) {
	.gc-benefit-card:hover {
		border-color: rgba(80,164,188,.38);
		box-shadow:
			0 20px 40px rgba(5,28,75,.11),
			0 3px 7px rgba(5,28,75,.04);
	}
}

/* Steps */
.gc-steps {
	padding: 82px 0;
	background: #fff;
}

.gc-steps .gc-section-head {
	margin-bottom: 46px;
}

/*
 * The heading above intentionally keeps the existing layout.
 * Only the five-step visual area is rebuilt to match WHY GSJ COMMUNITY.
 */
.gc-steps__scroll {
	width: 100%;
}

.gc-steps__grid {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 28px;
	align-items: start;
}

.gc-step {
	position: relative;
	min-width: 0;
	text-align: center;
}

/* Photo */
.gc-step__image {
	position: relative;
	width: 100%;
	aspect-ratio: 1 / 1;
	overflow: hidden;
	border-radius: 22px;
	background: #eef5f8;
	box-shadow: 0 10px 28px rgba(5, 28, 75, .08);
}

.gc-step__image img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	transition: transform .45s ease;
}


/* SVG arrow between photos */
.gc-step__arrow {
	position: absolute;
	top: calc((100% - 76px) / 2);
	right: -23px;
	z-index: 3;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 18px;
	height: 18px;
	color: var(--gc-navy);
	transform: translateY(-50%);
}

.gc-step__arrow svg {
	display: block;
	width: 18px;
	height: 18px;
}

/* Number badge under photo */
.gc-step__number {
	display: inline-grid;
	place-items: center;
	width: 36px;
	height: 36px;
	margin-top: 16px;
	border-radius: 50%;
	background: var(--gc-teal);
	color: #fff;
	font-size: 14px;
	font-weight: 800;
	line-height: 1;
}

/* Step name */
.gc-step h3 {
	margin: 11px 0 0;
	color: var(--gc-navy);
	font-size: clamp(14px, 1.2vw, 18px);
	font-weight: 800;
	line-height: 1.55;
}

@media (hover:hover) {
	.gc-step:hover .gc-step__image img {
		transform: scale(1.035);
	}
}

/* Expectations */
.gc-expect {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	padding: 92px 0 40px;
	background: #fff;
}

/*
 * A high-energy visual at the top of the section.
 * It remains vivid near the heading, then naturally disappears into white
 * before the following FOR YOU / LOYAL MEMBER BENEFITS section.
 */
.gc-expect::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -2;
	background-image: var(--gc-expect-bg-pc);
	background-repeat: no-repeat;
	background-position: center top;
	background-size: cover;
	pointer-events: none;
    opacity: .4;	
}

/*
 * White veil:
 * top    = retain the energy and blue motion
 * middle = soften behind the cards
 * bottom = become completely white
 */
.gc-expect::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background:
		linear-gradient(
			180deg,
			rgba(255,255,255,.05) 0%,
			rgba(255,255,255,.12) 16%,
			rgba(255,255,255,.46) 42%,
			rgba(255,255,255,.82) 70%,
			#fff 94%,
			#fff 100%
		);
	pointer-events: none;
}

.gc-expect .container {
	position: relative;
	z-index: 1;
}

.gc-expect .gc-section-head {
	margin-bottom: 42px;
}

.gc-expect .gc-section-head h2 {
	text-shadow: 0 2px 18px rgba(255,255,255,.72);
}

.gc-expect__grid {
	display: grid;
	grid-template-columns: repeat(4,1fr);
	gap: 18px;
}

.gc-expect-card {
	position: relative;
	padding: 26px 22px 28px;
	border-radius: 20px;
	background: rgba(255,255,255,.90);
	box-shadow:
		0 14px 32px rgba(5,28,75,.07),
		0 2px 7px rgba(5,28,75,.025);
	backdrop-filter: blur(7px);
	-webkit-backdrop-filter: blur(7px);
	transition:
		transform .25s ease,
		box-shadow .25s ease,
		border-color .25s ease;
}

.gc-expect-card__icon {
    display: grid;
    place-items: center;
    width: 58px;
    height: 58px;
    margin: 0 auto 16px auto;
    border-radius: 60px;
    background: linear-gradient(145deg, rgb(189 220 229), rgb(33 147 180));
    color: #ffffff;
    box-shadow: 0 6px 18px rgba(5, 28, 75, .06);
}

.gc-expect-card__icon svg {
	width: 31px;
	height: 31px;
}

.gc-expect-card h3 {
	color: var(--gc-navy);
	font-size: 16px;
	line-height: 1.6;
}

.gc-expect-card p {
	margin-top: 9px;
	color: #596579;
	font-size: 13px;
	line-height: 1.8;
}

@media (hover:hover) {
	.gc-expect-card:hover {
		transform: translateY(-4px);
		border-color: rgba(80,164,188,.38);
		box-shadow:
			0 19px 38px rgba(5,28,75,.10),
			0 3px 8px rgba(5,28,75,.03);
	}
}

/* Audience + loyalty */
.gc-target {
	padding:40px 0;
	background:#fff;
}
.gc-target__grid {
	display:grid;
	grid-template-columns:.8fr 1.2fr;
	gap:28px;
	align-items:stretch;
}
.gc-panel {
	padding:30px;
	border:1px solid var(--gc-border);
	border-radius:22px;
	background:#fff;
	box-shadow:0 12px 32px rgba(5,28,75,.045);
}
.gc-panel h2 { color:var(--gc-navy); font-size:24px; }
.gc-audience-list { display:grid; gap:14px; margin-top:22px; }
.gc-audience-list li { display:flex; gap:10px; align-items:flex-start; font-size:14px; }
.gc-audience-list svg { flex:none; margin-top:3px; color:var(--gc-navy); }
.gc-loyalty-copy { margin-top:8px; color:var(--muted-fg); font-size:13px; }
.gc-loyalty-table {
	width:100%;
	margin-top:20px;
	border-collapse:collapse;
	font-size:14px;
    background: #fff;
}
.gc-loyalty-table th,
.gc-loyalty-table td {
	padding:15px 16px;
	border:1px solid #e5dccb;
	text-align:center;
}
.gc-loyalty-table th {
	background:#f6efdf;
	color:var(--gc-navy);
	font-weight:800;
}
.gc-loyalty-table td:nth-child(2) { color:#aa7629; font-weight:800; }

/* Visual story */
.gc-story {
	padding: 0 0 84px;
	background:#fff;
}
.gc-story__visual {
	position:relative;
	overflow:hidden;
	min-height:420px;
	border-radius:26px;
	background:var(--gc-navy);
}
.gc-story__visual img {
	position:absolute;
	inset:0;
	width:100%;
	height:100%;
	object-fit:cover;
	object-position:right;
	filter:saturate(.9) brightness(.62);
}
.gc-story__visual::after {
	content:"";
	position:absolute;
	inset:0;
	background:linear-gradient(90deg,rgba(5,28,75,.93) 0%,rgba(5,28,75,.56) 46%,rgba(5,28,75,.22) 100%);
}
.gc-story__copy {
	position:relative;
	z-index:2;
	max-width:650px;
	padding:58px 54px;
	color:#fff;
}
.gc-story__copy h2 { font-size: clamp(20px, 4vw, 35px); }
.gc-story__copy p { margin-top:15px; font-size:15px; line-height:1.9; opacity:.9; }
.gc-story__stages {
	display:grid;
	grid-template-columns:repeat(4,1fr);
	gap:10px;
	margin-top:28px;
}
.gc-story__stage {
	padding:14px 10px;
	border:1px solid rgba(255,255,255,.25);
	border-radius:12px;
	background:rgba(255,255,255,.09);
	text-align:center;
	backdrop-filter:blur(4px);
}
.gc-story__stage b { display:block; font-size:20px; }
.gc-story__stage small { display:block; margin-top:3px; opacity:.75; }

/* CTA */
.gc-cta {
	position:relative;
	padding:56px 0;
	background:
		radial-gradient(circle at 12% 25%,rgba(255,255,255,.13) 0 2px,transparent 3px),
		radial-gradient(circle at 76% 55%,rgba(80,164,188,.65) 0 3px,transparent 4px),
		linear-gradient(125deg,#041b49 0%,#07347e 55%,#096b9d 100%);
	background-size:120px 120px,180px 180px,auto;
	color:#fff;
}
.gc-cta__grid {
	display:grid;
	grid-template-columns:1fr auto;
	gap:30px;
	align-items:center;
}
.gc-cta h2 { font-size: clamp(32px, 4vw, 44px); }
.gc-cta p { margin-top:10px; max-width:720px; opacity:.88; }
.gc-cta .btn--gold {
	min-width:280px;
	padding:18px 30px;
	font-size:17px;
	box-shadow:0 10px 26px rgba(0,0,0,.18);
}

/* Pricing polish */
.community-page + #pricing,
#pricing.gc-pricing {
	padding-top:80px;
}
#pricing.gc-pricing .price-grid {
	max-width:860px;
}
#pricing.gc-pricing .price-card {
	box-shadow:0 12px 32px rgba(5,28,75,.06);
}



/* Mobile horizontal scroll hint */
.gc-scroll-hint {
	display: none;
	align-items: center;
	justify-content: flex-end;
	gap: 10px;
	margin: 20px 0 5px 0;
	color: #50a4bc;
	font-size: 12px;
	font-weight: 800;
	letter-spacing: .12em;
	text-transform: uppercase;
}
.gc-scroll-hint__label {
	line-height: 1;
}
.gc-scroll-hint__swipe {
	position: relative;
	display: block;
	width: 44px;
	height: 18px;
	border: 1.5px solid currentColor;
	border-radius: 999px;
	opacity: .9;
	overflow: hidden;
}
.gc-scroll-hint__swipe::before {
	content: "";
	position: absolute;
	top: 50%;
	left: 6px;
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: currentColor;
	transform: translateY(-50%);
	animation: gc-scroll-swipe 1.6s ease-in-out infinite;
}
.gc-scroll-hint__arrows {
	display: inline-flex;
	align-items: center;
	gap: 1px;
}
.gc-scroll-hint__arrows svg {
	display: block;
	width: 14px;
	height: 14px;
	animation: gc-scroll-arrow 1.2s ease-in-out infinite;
}
.gc-scroll-hint__arrows svg:nth-child(2) {
	animation-delay: .18s;
}
@keyframes gc-scroll-swipe {
	0%, 100% {
		transform: translate(0, -50%);
		opacity: .65;
	}
	50% {
		transform: translate(20px, -50%);
		opacity: 1;
	}
}
@keyframes gc-scroll-arrow {
	0%, 100% {
		transform: translateX(0);
		opacity: .45;
	}
	50% {
		transform: translateX(4px);
		opacity: 1;
	}
}

@media (max-width: 1080px) {
	.gc-benefits__grid { grid-template-columns:repeat(4,minmax(0,1fr)); }
}

@media (max-width: 820px) {
	.gc-scroll-hint--steps {
		display: flex;
	}
	.gc-intro { padding:54px 0 0; }
	.gc-intro__grid,
	.gc-why__grid,
	.gc-target__grid,
	.gc-cta__grid { grid-template-columns:1fr; }
	.gc-intro__visual { min-height:420px; }
	.gc-intro__visual img { height:auto; }
	.gc-relationship-flow { grid-template-columns:repeat(2,1fr); }
	.gc-purpose__grid { grid-template-columns:1fr; gap:34px; }
	.gc-purpose-card,
	.gc-purpose-card__inner { min-height:250px; }
	.gc-purpose-card__inner { padding:40px 28px 30px; }
	.gc-benefits__grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
	.gc-expect__grid { grid-template-columns:repeat(2,1fr); }
	.gc-cta .btn--gold { min-width:0; width:100%; }
}

@media (max-width: 820px) {
	.gc-steps__scroll {
		overflow-x: auto;
		overflow-y: hidden;
		width: calc(100vw - 40px);
		margin-right: calc((100vw - 100%) / -2);
		padding: 4px 0 14px;
		-webkit-overflow-scrolling: touch;
		scroll-snap-type: x proximity;
		scrollbar-width: thin;
	}

	.gc-steps__grid {
		display: flex;
		width: max-content;
		gap: 28px;
		padding-right: 20px;
	}

	.gc-step {
		flex: 0 0 220px;
		width: 220px;
		scroll-snap-align: start;
	}

	.gc-step__arrow {
		top: 110px;
		right: -21px;
	}
}

@media (max-width: 640px) {
	.gc-why {
		padding:0 0 40px 0;
	}
	.gc-scroll-hint--why {
		display: flex;
	}
	.gc-expect {
		padding: 68px 0 0;
	}
	.gc-expect::before {
		background-image: var(--gc-expect-bg-sp);
		background-position: center top;
		background-size: cover;
	}

	.gc-expect::after {
		background:
			linear-gradient(
				180deg,
				rgba(255,255,255,.04) 0%,
				rgba(255,255,255,.16) 14%,
				rgba(255,255,255,.52) 32%,
				rgba(255,255,255,.84) 54%,
				#fff 78%,
				#fff 100%
			);
	}

	.gc-expect .gc-section-head {
		margin-bottom: 32px;
	}

	.gc-expect-card {
		padding: 22px 20px;
		background: rgba(255,255,255,.93);
	}


	.gc-step__arrow {
		top: 94px;
		right: -20px;
		width: 16px;
		height: 16px;
	}

	.gc-step__arrow svg {
		width: 16px;
		height: 16px;
	}

	.gc-relationship-card__arrow {
		top: 90px;
		right: -20px;
		width: 16px;
		height: 16px;
		transform: translateY(-50%);
	}

	.gc-relationship-card__arrow svg {
		width: 16px;
		height: 16px;
	}


	.gc-steps {
		padding: 68px 0 72px;
	}

	.gc-steps .gc-section-head {
		margin-bottom: 34px;
	}

	.gc-steps__grid {
		gap: 24px;
	}

	.gc-step {
		flex-basis: 188px;
		width: 188px;
	}

	.gc-step__image {
		border-radius: 20px;
	}

	.gc-step__number {
		width: 32px;
		height: 32px;
		margin-top: 13px;
		font-size: 13px;
	}

	.gc-step h3 {
		margin-top: 9px;
		font-size: 15px;
	}

	.gc-benefits {
		padding: 68px 0 74px;
		background: #f7fbfe;
	}

	.gc-benefits::before {
		background-image: var(--gc-benefits-bg-sp);
		background-position: center top;
        background-size: contain;
	}

	.gc-benefits .gc-section-head {
		margin-bottom: 34px;
	}

	.gc-benefits .gc-section-head h2 {
        font-size: clamp(26px, 3.6vw, 42px);
		line-height: 1.35;
	}

	.gc-benefits .gc-section-head p {
		font-size: 14px;
		line-height: 1.8;
	}

	.gc-benefits__grid {
		display: grid;
		grid-template-columns: 1fr;
		gap: 14px;
	}

	.gc-benefit-card {
		display: grid;
        grid-template-columns: 92px minmax(0, 1fr);
        grid-template-areas:         "icon title"        "icon body";
        column-gap: 15px;
        row-gap: 15px;
        align-items: center;
        min-height: 0;
        padding: 20px 22px 20px 18px;
        border-radius: 18px;
        text-align: left;
	}
	
	.gc-benefit-card h3::after	
	{
		width: 100%;
    bottom: -7px;
	}
	
	.gc-benefit-card::after {
		display: none;
	}

	.gc-benefit-card__visual {
		grid-area: icon;
		width: 82px;
		height: 82px;
		margin: 0;
	}

	.gc-benefit-card__visual svg {
		width: 56px;
		height: 56px;
	}

	.gc-benefit-card h3 {
		grid-area: title;
		align-self: end;
		font-size: 16px;
		line-height: 1.55;
		text-align: left;
	}

	.gc-benefit-card p {
		grid-area: body;
		align-self: start;
		margin: 0;
		font-size: 12.5px;
		line-height: 1.75;
	}
	.gc-intro h1 { font-size:34px; }
	.gc-intro__sub { font-size:20px; }
	.gc-intro__visual { min-height:330px; }
	.gc-intro__visual img { height:auto; }
	.gc-expect__grid { grid-template-columns:repeat(2,1fr); padding:0 0 40px 0;}
	.gc-story__copy { padding:36px 24px; }
	.gc-story__stages { grid-template-columns:repeat(2,1fr); }
	.gc-panel { padding:24px 18px; }
	.gc-loyalty-table th,
	.gc-loyalty-table td { padding:12px 8px; font-size:12.5px; }

	.gc-relationship-flow {
		overflow-x: auto;
		overflow-y: hidden;

		width: calc(100vw - 40px);

		gap: 24px;
		padding: 4px 4px 12px;

		-webkit-overflow-scrolling: touch;
		scroll-snap-type: x proximity;

		scrollbar-width: thin;
	}

	.gc-relationship-card {
		flex: 0 0 180px;
		width: 180px;

		scroll-snap-align: start;
	}

	.gc-relationship-card__image {
		width: 180px;
		height: 180px;

		aspect-ratio: auto;
		border-radius: 22px;
	}

	.gc-relationship-card__label {
		margin-top: 10px;
		font-size: 20px;
	}
	}


/* =========================================================
   Roadmap — Pattern B / image version
   ========================================================= */
.roadmap.roadmap--image {
  gap: 28px 22px;
  align-items: start;
}

.roadmap.roadmap--image::before {
  display: none;
}

.roadmap--image .roadmap__step {
  position: relative;
  min-width: 0;
}

.roadmap--image .roadmap__media {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  margin: 0 auto 18px;
  overflow: visible;
  border-radius: 8px;
  background: var(--muted);
  box-shadow: 0 7px 22px rgba(5, 28, 75, .07);
}

.roadmap--image .roadmap__media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  border-radius: inherit;
}

.roadmap--image .roadmap__badge {
  top: -12px;
  left: -12px;
  width: 42px;
  height: 42px;
  font-size: 13px;
  box-shadow: 0 5px 14px rgba(5, 28, 75, .18);
  z-index: 2;
}

.roadmap--image .roadmap__step h3 {
  font-size: 16px;
  margin-bottom: 7px;
}

.roadmap--image .roadmap__step p {
  font-size: 13px;
  line-height: 1.75;
}

/* Connector line / arrow between image cards on desktop */
@media (min-width: 900px) {
  /*
	.roadmap--image .roadmap__step:not(:last-child)::after {
    content: "";
    position: absolute;
    top: calc((100% / 4) + 8px);
    right: -22px;
    width: 22px;
    height: 2px;
    background: var(--teal);
    transform: translateY(-50%);
    z-index: 1;
  }

.roadmap--image .roadmap__step:not(:last-child)::before {
    content: "";
    position: absolute;
    top: calc((100% / 4) + 8px);
    right: -22px;
    width: 8px;
    height: 8px;
    border-top: 2px solid var(--teal);
    border-right: 2px solid var(--teal);
    transform: translateY(-50%) rotate(45deg);
    z-index: 2;
  }
	*/
}

@media (max-width: 899px) {
  .roadmap.roadmap--image {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 34px 18px;
  }

  .roadmap--image .roadmap__media {
    margin-bottom: 15px;
  }
}

@media (max-width: 640px) {
  .roadmap.roadmap--image {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px;
  }

  .roadmap--image .roadmap__step {
    max-width: 520px;
    margin-inline: auto;
    width: 100%;
  }

  .roadmap--image .roadmap__media {
    aspect-ratio: 16 / 8.7;
    margin-bottom: 14px;
  }

  .roadmap--image .roadmap__badge {
    top: -10px;
    left: -8px;
    width: 38px;
    height: 38px;
    font-size: 12px;
  }

  .roadmap--image .roadmap__step h3 {
    font-size: 17px;
  }

  .roadmap--image .roadmap__step p {
    font-size: 13px;
  }
}


/* =========================================================
   Case study country flags / filters
   Sample assets: /assets/images/flags/*.svg
   ========================================================= */
.gsj-country-flag {
  display: inline-block;
  width: 30px;
  height: 20px;
  flex: 0 0 auto;
  object-fit: cover;
  border-radius: 3px;
  box-shadow: 0 0 0 1px rgba(5, 28, 75, .12);
}

/* Home pickup: keep the navy visual language and let the flag show softly. */
.home-pickup--cases .home-pickup__meta-panel--case {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: linear-gradient(
    128deg,
    #0f2d6c 0%,
    #11192a 45%,
    #79c4d5 50%,
    #50a4bc 100%
  );
  background-size: 300% 100%;
  background-position: 0% 50%;
}

.home-pickup--cases .home-pickup__meta-panel--case::before {
  content: "";
  position: absolute;
  inset: -8%;
  z-index: -2;
  background-image: var(--case-flag);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  opacity: .22;
  filter: saturate(.85) contrast(.9);
  transform: scale(1.08);
}

.home-pickup--cases .home-pickup__meta-panel--case::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(135deg, rgba(5,28,75,.62), rgba(5,28,75,.32));
}

.home-pickup__case-flag {
  display: inline-flex;
  margin-bottom: 8px;
}

.gsj-country-flag--home {
  width: 32px;
  height: 21px;
  box-shadow: 0 0 0 1px rgba(255,255,255,.42), 0 3px 10px rgba(0,0,0,.12);
}

.home-pickup--cases .home-pickup__meta-label {
  position: relative;
  z-index: 1;
  text-shadow: 0 1px 5px rgba(0,0,0,.28);
}

/* Country filter above the case-study grid. */
.case-country-filter {
  margin: 0 0 34px;
}

.case-country-filter__title {
  margin: 0 0 12px;
  color: var(--navy);
  font-size: 13px;
  font-weight: 700;
}

.case-country-filter__items {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.case-country-filter__item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 7px 12px 7px 8px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #fff;
  color: var(--navy);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.25;
  transition:
    transform .18s ease,
    border-color .18s ease,
    box-shadow .18s ease,
    background .18s ease;
}

.case-country-filter__item:hover {
  transform: translateY(-1px);
  border-color: rgba(80,164,188,.7);
  box-shadow: 0 6px 16px rgba(5,28,75,.07);
}

.case-country-filter__item.is-active {
  border-color: var(--navy);
  background: #f2f6fb;
  box-shadow: inset 0 0 0 1px var(--navy);
}

.case-country-filter__all-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 20px;
  color: var(--teal);
}

.gsj-country-flag--filter {
  width: 30px;
  height: 20px;
}

/* Flag + region name on each case card. */
.info-card__badge--country {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 4px 10px 4px 6px;
}

.gsj-country-flag--badge {
    width: 25px !important;
    height: 16px !important;
    border-radius: 2px;
}

.cases-index__empty {
  grid-column: 1 / -1;
  padding: 34px 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--muted);
  color: var(--muted-fg);
  text-align: center;
}

/* Centralized pagination style for the cases page. */
.gsj-pagination {
  margin-top: 34px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

.gsj-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 42px;
  margin: 0 4px;
  padding: 0 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
  color: var(--navy);
  font-weight: 700;
  text-decoration: none;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}

.gsj-pagination a.page-numbers:hover {
  background: #eef7fa;
  border-color: var(--teal);
  color: var(--teal);
}

.gsj-pagination .page-numbers.current {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
}

.gsj-pagination .page-numbers.dots {
  border-color: transparent;
  background: transparent;
}

@media (max-width: 640px) {
  .case-country-filter {
    margin-bottom: 26px;
  }

  .case-country-filter__items {
    gap: 8px;
  }

  .case-country-filter__item {
    min-height: 38px;
    padding: 6px 9px 6px 6px;
    font-size: 11px;
  }

  .gsj-country-flag--filter {
    width: 27px;
    height: 18px;
  }
}

