/* ==========================================================================
   ShodashiGlobal — Design tokens
   Palette + type + spacing pulled 1:1 from the approved Claude Design handoff
   (ShodashiGlobal.dc.html). --gold-deep is a text-safe darker gold used only
   for small text/icons/borders on light backgrounds — #C6A15B on white fails
   WCAG AA (~2.5:1); on the navy sections the true brand gold is used as-is.
   ========================================================================== */
:root {
  --navy: #0E1A2B;
  --gold: #C6A15B;
  --gold-hover: #D4AF6A;
  --gold-deep: #7C5E28;
  --maroon: #9D0E2A; /* real logo wordmark color — light backgrounds only, ~2:1 on navy */
  --white: #FFFFFF;
  --off-white: #F5F6F8;
  --off-white-2: #FAFAFA;

  --ink: #1F2937;
  --slate: #374151;
  --slate-2: #4B5563;
  --gray-mid: #6B7280;
  --gray-light: #9CA3AF;
  --line: #D1D5DB;
  --border: #E5E7EB;
  --border-dark: rgba(255, 255, 255, 0.12);

  --font-serif: 'Source Serif 4', Georgia, serif;
  --font-sans: 'IBM Plex Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --space-1: 8px;
  --space-2: 16px;
  --space-3: 24px;
  --space-4: 32px;
  --space-6: 48px;
  --space-8: 64px;
  --space-12: 96px;
  --space-16: 128px;

  --page-pad: clamp(20px, 4.4vw, 48px);
  --sec-pad-v: clamp(56px, 9vw, 96px);
  --radius: 2px;

  --nav-height: 80px;
  --shadow-card: 0 2px 12px rgba(14, 26, 43, 0.05);
  --shadow-frame: 0 30px 80px rgba(14, 26, 43, 0.18);

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==========================================================================
   Reset
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--slate);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.6;
}
img, svg { display: block; max-width: 100%; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p { margin: 0; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
input, textarea, button { font-family: var(--font-sans); }
input, textarea { color: var(--navy); }
input::placeholder, textarea::placeholder { color: #9CA3AF; }

body.nav-locked { overflow: hidden; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -48px;
  background: var(--gold);
  color: var(--navy);
  padding: 12px 18px;
  font-weight: 600;
  border-radius: var(--radius);
  z-index: 1000;
  transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 12px; }

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

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  font-size: 14px;
  font-weight: 600;
  border-radius: var(--radius);
  border: 1px solid transparent;
  transition: background-color 0.2s var(--ease), border-color 0.2s var(--ease), color 0.2s var(--ease), transform 0.15s var(--ease);
  white-space: nowrap;
  min-height: 44px;
}
.btn:active { transform: translateY(1px); }
.btn-lg { padding: 16px 34px; font-size: 15px; }

.btn-gold {
  background: var(--gold);
  color: var(--navy);
}
.btn-gold:hover, .btn-gold:focus-visible { background: var(--gold-hover); }

.btn-outline-light {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.35);
}
.btn-outline-light:hover, .btn-outline-light:focus-visible {
  border-color: var(--gold);
  color: var(--gold);
}

/* ==========================================================================
   Header / Nav
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 500;
  background: var(--white);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--page-pad);
  height: var(--nav-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.wordmark-icon { height: 40px; width: auto; }
.wordmark-text-group {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}
.wordmark-text {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 600;
  color: var(--maroon);
  letter-spacing: 0.01em;
}
.wordmark-tagline {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 500;
  color: var(--gray-mid);
  letter-spacing: 0.02em;
  margin-top: 3px;
}
/* Same maroon as the rest of the wordmark, by request — note this is only
   ~2:1 contrast against the still-navy footer background (fails WCAG AA;
   the header repeats the same color on white, where it reads at ~8:1). */
.wordmark-accent { color: var(--maroon); }

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(20px, 3vw, 40px);
}
.nav-list {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.6vw, 40px);
}
.nav-link {
  position: relative;
  color: var(--slate);
  font-size: 14px;
  font-weight: 500;
  padding: 8px 2px;
  transition: color 0.2s var(--ease);
}
.nav-link::after {
  content: '';
  position: absolute;
  left: 2px;
  right: 2px;
  bottom: 0;
  height: 2px;
  background: var(--gold-deep);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s var(--ease);
}
.nav-link:hover, .nav-link:focus-visible { color: var(--gold-deep); }
.nav-link.is-active { color: var(--navy); }
.nav-link.is-active::after { transform: scaleX(1); }

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 8px;
  background: transparent;
  border: none;
  flex-shrink: 0;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--gold-deep);
  transition: transform 0.25s var(--ease), opacity 0.2s var(--ease);
}
.hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  background: var(--navy);
  padding: clamp(72px, 13vw, 140px) var(--page-pad);
  text-align: center;
}
.hero-inner { max-width: 860px; margin: 0 auto; }
.hero-kicker {
  color: var(--gold);
  font-size: clamp(13px, 1.4vw, 15px);
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-bottom: var(--space-3);
}
.hero-title {
  font-family: var(--font-serif);
  font-weight: 600;
  color: var(--white);
  font-size: clamp(32px, 5.4vw, 52px);
  line-height: 1.15;
  letter-spacing: -0.01em;
}
.hero-ctas {
  display: flex;
  gap: var(--space-2);
  justify-content: center;
  flex-wrap: wrap;
  margin-top: var(--space-6);
}

/* ==========================================================================
   Section shell
   ========================================================================== */
.section,
.hero { scroll-margin-top: var(--nav-height); }
.section { padding: var(--sec-pad-v) var(--page-pad); }
.section-white { background: var(--white); }
.section-tint { background: var(--off-white); }
.section-dark { background: var(--navy); }

.section-inner { max-width: 1200px; margin: 0 auto; }
.section-inner-narrow { max-width: 900px; }
.section-inner.center,
.section-inner-narrow.center { text-align: center; }

.section-head {
  max-width: 680px;
  margin: 0 auto var(--space-8);
}
.section-inner-narrow .section-head { max-width: 100%; }
.section-white .section-head,
.section-tint .section-head { text-align: center; }
.section-dark .section-head { text-align: center; }

.section-title {
  font-family: var(--font-serif);
  font-weight: 600;
  color: var(--navy);
  font-size: clamp(26px, 3.4vw, 32px);
  line-height: 1.3;
}
.section-title-inverse { color: var(--white); }

.section-lede {
  margin-top: var(--space-2);
  font-size: 18px;
  color: var(--slate-2);
  line-height: 1.6;
}
.section-lede-serif {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 500;
  color: var(--navy);
  font-size: clamp(20px, 2.4vw, 26px);
  line-height: 1.5;
}
.section-subheading {
  margin-top: var(--space-2);
  font-size: 13px;
  font-weight: 700;
  color: var(--gold-deep);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

/* ==========================================================================
   Reveal-on-scroll
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   The Enterprise Challenge — 7-item grid
   ========================================================================== */
.challenge-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}
.challenge-item {
  background: var(--white);
  padding: var(--space-4) var(--space-3);
  min-height: 120px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.challenge-icon { color: var(--gold-deep); width: 26px; height: 26px; flex-shrink: 0; }
.challenge-item span {
  font-size: 16px;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.5;
}

/* ==========================================================================
   Who We Are — pill list
   ========================================================================== */
.pill-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}
.pill {
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--navy);
  font-size: 14px;
  font-weight: 600;
  padding: 12px 24px;
  border-radius: var(--radius);
}

/* ==========================================================================
   Service Architecture
   ========================================================================== */
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-3);
}
.service-card {
  background: var(--navy);
  padding: var(--space-6) var(--space-4);
  min-height: 200px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px rgba(14, 26, 43, 0.25);
}
.service-index {
  font-family: var(--font-serif);
  color: var(--gold);
  font-size: 15px;
  font-weight: 600;
}
.service-title {
  font-size: 19px;
  font-weight: 600;
  color: var(--white);
  line-height: 1.4;
  margin-top: var(--space-4);
}

/* ==========================================================================
   Enterprise Transformation Framework
   ========================================================================== */
.framework-steps {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  row-gap: var(--space-6);
}
.framework-step {
  display: flex;
  align-items: center;
}
.framework-step:not(:last-child)::after {
  content: '\2192';
  color: var(--gold-deep);
  font-size: 20px;
  margin: 0 clamp(10px, 2vw, 20px);
}
.framework-step-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  min-width: 110px;
}
.framework-badge {
  width: 52px;
  height: 52px;
  border: 1px solid var(--gold-deep);
  color: var(--gold-deep);
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
  border-radius: 50%;
}
.framework-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
}

/* ==========================================================================
   Execution Models
   ========================================================================== */
.execution-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-3);
}
.execution-card {
  border: 1px solid var(--border);
  padding: var(--space-6) var(--space-4);
  background: var(--white);
  box-shadow: var(--shadow-card);
  transition: box-shadow 0.25s var(--ease), transform 0.25s var(--ease);
}
.execution-card:hover {
  box-shadow: 0 12px 28px rgba(14, 26, 43, 0.1);
  transform: translateY(-4px);
}
.execution-title {
  font-family: var(--font-serif);
  font-weight: 600;
  color: var(--navy);
  font-size: 19px;
  margin-bottom: var(--space-2);
}
.execution-desc { font-size: 15px; color: var(--slate-2); line-height: 1.6; }

/* ==========================================================================
   GCC Enablement & Scale-Up
   ========================================================================== */
.gcc-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border-dark);
}
.gcc-card {
  background: var(--navy);
  padding: var(--space-4) var(--space-3);
}
.gcc-label {
  display: block;
  color: var(--gold);
  font-family: var(--font-serif);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.gcc-title { display: block; color: var(--white); font-size: 17px; font-weight: 600; line-height: 1.4; }

/* ==========================================================================
   Industries We Serve
   ========================================================================== */
.industries-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}
.industry-item {
  background: var(--off-white);
  padding: var(--space-4) var(--space-3);
  min-height: 100px;
  display: flex;
  align-items: center;
  font-size: 15px;
  font-weight: 600;
  color: var(--navy);
}

/* ==========================================================================
   Why Organizations Choose ShodashiGlobal
   ========================================================================== */
.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px 40px;
}
.why-item { display: flex; align-items: center; gap: 14px; }
.check-icon { color: var(--gold-deep); width: 20px; height: 20px; flex-shrink: 0; }
.why-item span { font-size: 16px; font-weight: 600; color: var(--navy); }

/* ==========================================================================
   Leadership & Expert Network
   ========================================================================== */
.tag-network {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}
.tag-node {
  border: 1px solid var(--navy);
  color: var(--navy);
  font-size: 14px;
  font-weight: 600;
  padding: 11px 22px;
  border-radius: var(--radius);
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease);
}
.tag-node:hover { background: var(--navy); color: var(--white); }

/* ==========================================================================
   Business Impact
   ========================================================================== */
.impact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border-dark);
}
.impact-card {
  background: var(--navy);
  padding: var(--space-4) var(--space-3);
  min-height: 130px;
  display: flex;
  align-items: center;
  color: var(--white);
  font-size: 17px;
  font-weight: 600;
  line-height: 1.4;
}

/* ==========================================================================
   Contact
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: var(--space-6);
  align-items: start;
}

.contact-form {
  background: var(--white);
  border: 1px solid var(--border);
  padding: var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3);
}
.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-group label { font-size: 13px; font-weight: 600; color: var(--navy); }
.form-group input,
.form-group textarea {
  border: 1px solid var(--line);
  padding: 12px 14px;
  font-size: 14px;
  border-radius: var(--radius);
  outline: none;
  background: var(--white);
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--gold-deep);
  box-shadow: 0 0 0 3px rgba(124, 94, 40, 0.15);
}
.form-group input[aria-invalid="true"],
.form-group textarea[aria-invalid="true"] {
  border-color: #B3261E;
}
.field-error {
  font-size: 12.5px;
  color: #B3261E;
  min-height: 1em;
}
.form-honeypot { position: absolute; left: -9999px; }
.form-submit { margin-top: 8px; align-self: flex-start; }
.form-submit[disabled] { opacity: 0.7; cursor: not-allowed; }

.form-status {
  font-size: 14px;
  font-weight: 600;
  padding: 0;
  min-height: 1em;
}
.form-status.is-success { color: #1E7A3D; }
.form-status.is-error { color: #B3261E; }

.firm-details {
  background: var(--navy);
  padding: var(--space-6);
  border: 1px dashed var(--gold);
}
.firm-details-heading {
  color: var(--gold);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: var(--space-3);
}
.firm-detail { margin-bottom: var(--space-2); }
.firm-detail:last-child { margin-bottom: 0; }
.firm-detail-label {
  display: block;
  color: var(--gray-light);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 4px;
}
.firm-detail-value { display: block; color: var(--white); font-size: 15px; }
.firm-detail-value a:hover,
.firm-detail-value a:focus-visible { color: var(--gold); }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: var(--navy);
  border-top: 1px solid var(--border-dark);
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: var(--space-8) var(--page-pad) var(--space-4);
}
.footer-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: var(--space-6);
  padding-bottom: var(--space-6);
}
.footer-tagline {
  color: var(--gray-light);
  font-size: 14px;
  margin-top: var(--space-2);
}
.footer-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-1) var(--space-4);
}
.footer-nav a {
  color: #D1D5DB;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s var(--ease);
}
.footer-nav a:hover, .footer-nav a:focus-visible { color: var(--gold); }

.footer-social { display: flex; gap: var(--space-2); }
.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--border-dark);
  border-radius: 50%;
  color: var(--gray-light);
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.footer-social a:hover, .footer-social a:focus-visible { color: var(--gold); border-color: var(--gold); }
.footer-social svg { width: 18px; height: 18px; }

.footer-bottom {
  border-top: 1px solid var(--border-dark);
  padding-top: var(--space-4);
  color: var(--gray-mid);
  font-size: 13px;
}

/* ==========================================================================
   Responsive — laptop / tablet (<=1024px)
   ========================================================================== */
@media (max-width: 1024px) {
  .challenge-grid,
  .service-grid,
  .gcc-grid,
  .industries-grid,
  .impact-grid { grid-template-columns: repeat(2, 1fr); }

  .execution-grid { grid-template-columns: 1fr; }

  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  .main-nav { display: none; }
  .hamburger { display: inline-flex; }

  .main-nav.is-open {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: var(--space-3);
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--navy);
    padding: var(--space-4) var(--page-pad);
    box-shadow: 0 12px 24px rgba(14, 26, 43, 0.3);
    overflow-y: auto;
    z-index: 400;
  }
  .main-nav.is-open .nav-list {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-2);
  }
  .main-nav.is-open .nav-cta { align-self: flex-start; }

  /* Dropdown panel is still navy, so its links need the light-on-dark
     treatment even though the header bar itself is now white. */
  .main-nav.is-open .nav-link { color: #D1D5DB; }
  .main-nav.is-open .nav-link::after { background: var(--gold); }
  .main-nav.is-open .nav-link:hover,
  .main-nav.is-open .nav-link:focus-visible { color: var(--gold); }
  .main-nav.is-open .nav-link.is-active { color: var(--white); }
}

/* ==========================================================================
   Responsive — mobile (<=640px)
   ========================================================================== */
@media (max-width: 640px) {
  .challenge-grid,
  .service-grid,
  .gcc-grid,
  .industries-grid,
  .impact-grid,
  .why-grid { grid-template-columns: 1fr; }

  .form-row { grid-template-columns: 1fr; }

  .framework-steps { flex-direction: column; }
  .framework-step:not(:last-child)::after {
    content: '\2193';
    margin: 10px 0;
  }

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

  .section-head { margin-bottom: var(--space-6); }

  :root { --nav-height: 64px; }
}
