/* =========================================================
   LINXAS GROUP — SHARED STYLESHEET
   1. Tokens
   2. Base
   3. Header and footer
   4. Components
   5. Motion
   6. Page blocks
   7. Responsive
   ========================================================= */

/* ---------- 1. Tokens ---------- */
:root {
  --navy: #0E2340;
  --navy-deep: #09182C;
  --navy-raised: #16304F;
  --cream: #F6F4EF;
  --accent: #7A2F3B;
  --ink: #1C2430;
  --muted: #5C6570;
  --white: #FFFFFF;
  --line: rgba(14, 35, 64, 0.12);
  --line-strong: rgba(14, 35, 64, 0.22);
  --shadow: 0 12px 32px rgba(14, 35, 64, 0.07);
  --serif: "Source Serif 4", Georgia, serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --content: 1120px;
  --pad: 20px;
  --header-bar: 76px;
}

/* ---------- 2. Base ---------- */
* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-bar);
}

#main-content { scroll-margin-top: var(--header-bar); }

html, body { margin: 0; padding: 0; }

body {
  background: var(--white);
  font-family: var(--sans);
  font-size: 16.5px;
  line-height: 1.7;
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
}

.site-frame {
  width: 100%;
  background: var(--white);
}

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

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--navy);
  color: var(--white);
  padding: 12px 18px;
  font-size: 14px;
  font-family: var(--sans);
  text-decoration: none;
  z-index: 100;
}

.skip-link:focus { left: 12px; top: 12px; z-index: 240; }

/* Opening loader. CSS hides it even if site.js never runs. */
.page-loader {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--cream);
  animation: page-loader-life 1.6s linear forwards;
}

.page-loader img {
  width: min(240px, 64vw);
  height: auto;
  animation: page-loader-logo 900ms var(--ease) both;
}

.page-loader.is-done,
html.loader-seen .page-loader {
  animation: none;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

html.loader-seen .page-loader {
  display: none !important;
}

html.loader-seen .page-loader img {
  animation: none !important;
}

@keyframes page-loader-logo {
  from { opacity: 0; transform: scale(0.96); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes page-loader-life {
  0%, 68% {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  100% {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
  }
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

/* ---------- 3. Header and footer ---------- */
header.site {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
}

.header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: var(--header-bar);
  padding-inline: max(var(--pad), calc((100% - var(--content)) / 2));
}

.brand {
  display: flex;
  align-items: center;
  line-height: 0;
  text-decoration: none;
  flex: none;
}

.brand img {
  display: block;
  height: 36px;
  width: auto;
}

nav.site-nav {
  display: flex;
  align-items: center;
  gap: 26px;
}

nav.site-nav a {
  position: relative;
  font-size: 14.5px;
  color: var(--ink);
  text-decoration: none;
  padding: 8px 0;
}

nav.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 2px;
  width: 100%;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 280ms var(--ease);
}

nav.site-nav a:hover::after,
nav.site-nav a:focus-visible::after,
nav.site-nav a.current::after,
nav.site-nav a[aria-current="page"]::after {
  transform: scaleX(1);
}

nav.site-nav a.current,
nav.site-nav a[aria-current="page"] {
  color: var(--navy);
  font-weight: 600;
}

nav.site-nav a.nav-cta {
  margin-left: 6px;
  padding: 11px 18px;
  border-bottom: none;
  color: var(--white);
}

nav.site-nav a.nav-cta:hover,
nav.site-nav a.nav-cta:focus-visible {
  color: var(--white);
}

nav.site-nav a.nav-cta::after { display: none; }

nav.site-nav a.nav-cta[aria-current="page"] {
  background: var(--navy-deep);
}

.menu-icon {
  display: none;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-right: -10px;
  padding: 0;
  color: var(--navy);
  background: none;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  line-height: 0;
}

.menu-icon svg { display: block; }

.menu-icon .icon-close { display: none; }

.menu-icon[aria-expanded="true"] .icon-open { display: none; }

.menu-icon[aria-expanded="true"] .icon-close { display: block; }

.mobile-menu {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border-top: 1px solid var(--line);
  padding-bottom: 12px;
}

.mobile-menu[hidden] { display: none; }

.mobile-menu a {
  font-size: 16px;
  color: var(--ink);
  text-decoration: none;
  min-height: 48px;
  display: flex;
  align-items: center;
  padding: 12px max(var(--pad), calc((100% - var(--content)) / 2));
  border-top: 1px solid var(--line);
}

.mobile-menu a:first-child { border-top: none; }

.mobile-menu a.current,
.mobile-menu a[aria-current="page"] {
  color: var(--navy);
  font-weight: 600;
  box-shadow: inset 3px 0 0 var(--accent);
}

.mobile-menu a.mobile-cta {
  margin: 12px max(var(--pad), calc((100% - var(--content)) / 2)) 4px;
  padding-inline: 18px;
  border: none;
  border-radius: 6px;
  background: var(--navy);
  color: var(--white);
  font-weight: 500;
  justify-content: center;
  box-shadow: none;
}

.mobile-menu a.mobile-cta[aria-current="page"] {
  background: var(--navy-deep);
  color: var(--white);
}

footer.site {
  background: var(--white);
  border-top: 1px solid var(--line);
  padding: 56px max(var(--pad), calc((100% - var(--content)) / 2)) 28px;
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 32px 40px;
  font-size: 14px;
  color: var(--muted);
}

footer.site .brand { margin-bottom: 16px; }

footer.site .brand img { height: 32px; }

footer.site .footer-contact {
  font-style: normal;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

footer.site .footer-contact a {
  color: var(--muted);
  text-decoration: none;
}

footer.site .footer-contact a:hover { color: var(--navy); }

footer.site nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 8px;
}

footer.site nav a {
  color: var(--muted);
  text-decoration: none;
  min-height: 32px;
  display: inline-flex;
  align-items: center;
}

footer.site nav a:hover { color: var(--navy); }

footer.site .copyright {
  grid-column: 1 / -1;
  border-top: 1px solid var(--line);
  margin-top: 8px;
  padding-top: 18px;
  font-size: 13px;
  color: #8A9099;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  column-gap: 1.25rem;
  row-gap: 4px;
}

footer.site .site-credit {
  margin-left: auto;
  text-align: right;
  font-size: 13px;
  color: #8A9099;
  white-space: nowrap;
}

footer.site .site-credit a {
  color: inherit;
  text-decoration: none;
}

footer.site .site-credit a:hover { color: var(--navy); }

/* Cookie notice sits under the header (z-index 40) so an open mobile menu stays on top. */
.cookie-notice {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px 28px;
  padding: 16px max(var(--pad), calc((100% - var(--content)) / 2)) calc(16px + env(safe-area-inset-bottom, 0px));
  background: var(--cream);
  color: var(--navy);
  border-top: 3px solid var(--accent);
  box-shadow: 0 -10px 28px rgba(14, 35, 64, 0.08);
}

html.cookie-consent .cookie-notice {
  display: none !important;
}

html:not(.cookie-consent) {
  scroll-padding-bottom: calc(9.5rem + env(safe-area-inset-bottom, 0px));
}

html:not(.cookie-consent) .site-frame {
  padding-bottom: calc(8.75rem + env(safe-area-inset-bottom, 0px));
}

.cookie-notice p {
  flex: 1 1 auto;
  margin: 0;
  max-width: 68ch;
  font-size: 15px;
  line-height: 1.55;
  color: var(--navy);
}

.cookie-notice-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px 18px;
  flex: 0 0 auto;
}

.cookie-notice-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 48px;
  min-height: 48px;
  padding: 8px 12px;
  color: var(--navy);
  font-size: 15px;
  font-weight: 500;
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-underline-offset: 3px;
}

.cookie-notice-actions a:hover {
  color: var(--accent);
}

.cookie-notice .cookie-accept {
  min-width: 48px;
  min-height: 48px;
}

@media (max-width: 720px) {
  .cookie-notice {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  .cookie-notice p {
    flex: 0 1 auto;
  }

  .cookie-notice-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
  }

  .cookie-notice .cookie-accept {
    width: 100%;
  }

  html:not(.cookie-consent) {
    scroll-padding-bottom: calc(18.5rem + env(safe-area-inset-bottom, 0px));
  }

  html:not(.cookie-consent) .site-frame {
    padding-bottom: calc(18rem + env(safe-area-inset-bottom, 0px));
  }
}

@media (prefers-reduced-motion: reduce) {
  .cookie-notice,
  .cookie-notice .cookie-accept,
  .cookie-notice-actions a {
    animation: none;
    transform: none;
  }

  .cookie-notice .cookie-accept:hover {
    transform: none;
  }
}

/* ---------- 4. Components ---------- */
a.btn-primary,
button.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  background: var(--navy);
  color: var(--white);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.2;
  padding: 12px 26px;
  border-radius: 6px;
  text-decoration: none;
  border: 1px solid var(--navy);
  font-family: var(--sans);
  cursor: pointer;
  transition:
    background-color 300ms var(--ease),
    border-color 300ms var(--ease),
    color 300ms var(--ease),
    box-shadow 300ms var(--ease),
    transform 300ms var(--ease);
}

button.btn-primary { padding-inline: 28px; }

a.btn-primary:hover,
button.btn-primary:hover {
  background: var(--navy-deep);
  border-color: var(--navy-deep);
}

@media (prefers-reduced-motion: no-preference) {
  a.btn-primary:hover,
  button.btn-primary:hover:not(:disabled) {
    transform: translateY(-2px);
  }
}

button.btn-primary:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  min-height: 44px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--navy);
  text-decoration: none;
  border-bottom: 1.5px solid var(--accent);
  padding-bottom: 2px;
  transition:
    color 300ms var(--ease),
    border-color 300ms var(--ease),
    transform 300ms var(--ease);
}

.btn-secondary:hover { color: var(--accent); }

@media (prefers-reduced-motion: no-preference) {
  .btn-secondary:hover {
    transform: translateX(2px);
  }
}

section {
  padding-block: clamp(72px, 8vw, 104px);
  padding-inline: max(var(--pad), calc((100% - var(--content)) / 2));
}

body.page-home section {
  padding-block: clamp(88px, 9vw, 112px);
}

section.alt { background: var(--cream); }

section.on-white { background: var(--white); }

.kicker,
.section-head .kicker,
.page-hero .eyebrow,
.primary-service .kicker,
section.theme-banner .kicker,
section.boundary .kicker,
section.experience .kicker,
.service-lead .tag {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 12px;
}

.section-head { max-width: 680px; margin: 0 0 36px; }

.section-head h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(28px, 3vw, 36px);
  line-height: 1.15;
  color: var(--navy);
  margin: 0 0 14px;
}

.section-head p {
  font-size: 16.5px;
  line-height: 1.7;
  color: var(--muted);
  margin: 0;
}

body.page-about .section-head { max-width: 700px; }

body.page-how-we-work .section-head { margin-bottom: 12px; }

body.page-home .section-head { max-width: 640px; margin: 0 0 40px; }

body.page-home .section-head p { margin: 0; }

/* ---------- 5. Motion ---------- */
@keyframes fade-up {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: none; }
}

@keyframes fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

header.site {
  animation: fade-in 520ms var(--ease) both;
}

.hero-copy > *,
.hero-graphic,
.page-hero > * {
  animation: fade-up 680ms var(--ease) both;
}

.hero-copy > *:nth-child(1) { animation-delay: 70ms; }
.hero-copy > *:nth-child(2) { animation-delay: 150ms; }
.hero-copy > *:nth-child(3) { animation-delay: 230ms; }

.hero-graphic { animation-delay: 180ms; }

.page-hero > *:nth-child(2) { animation-delay: 90ms; }
.page-hero > *:nth-child(3) { animation-delay: 160ms; }

.js-reveal [data-reveal] {
  opacity: 0;
  transform: translateY(16px);
}

.js-reveal [data-reveal].is-visible {
  opacity: 1;
  transform: none;
  transition: opacity 640ms var(--ease), transform 640ms var(--ease);
  transition-delay: var(--d, 0ms);
}

.service-grid > [data-reveal]:nth-child(2),
.industry-strip > [data-reveal]:nth-child(2),
.audience-grid > [data-reveal]:nth-child(2) { --d: 70ms; }

.service-grid > [data-reveal]:nth-child(3),
.industry-strip > [data-reveal]:nth-child(3),
.audience-grid > [data-reveal]:nth-child(3) { --d: 140ms; }

.service-grid > [data-reveal]:nth-child(4),
.industry-strip > [data-reveal]:nth-child(4) { --d: 210ms; }

.service-grid > [data-reveal]:nth-child(5) { --d: 280ms; }

/* ---------- 6. Page blocks ---------- */
section.page-hero {
  background: var(--cream);
  padding-block: clamp(56px, 7vw, 84px);
}

.page-hero h1 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(34px, 4vw, 44px);
  line-height: 1.14;
  color: var(--navy);
  margin: 0 0 18px;
  max-width: 20ch;
}

.page-hero p {
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink);
  max-width: 62ch;
  margin: 0;
}

.page-hero p.lede-with-cta { margin: 0 0 28px; }

body.page-services .page-hero h1 { max-width: 18ch; }

body.page-about .page-hero h1 { max-width: 22ch; }

body.page-contact section.page-hero { padding-block: clamp(52px, 6vw, 72px); }

body.page-contact .page-hero h1 { max-width: 18ch; }

body.page-contact .page-hero p { max-width: 62ch; }

body.page-home section.hero {
  background: var(--cream);
  padding-block: clamp(64px, 8vw, 104px);
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(280px, 0.88fr);
  gap: clamp(36px, 5vw, 72px);
  align-items: center;
}

.hero h1 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(42px, 5vw, 64px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--navy);
  margin: 0 0 22px;
  max-width: 12ch;
}

.hero p {
  font-size: 17.5px;
  line-height: 1.7;
  color: var(--ink);
  max-width: 46ch;
  margin: 0 0 32px;
}

.hero-graphic {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 28px 20px;
  box-shadow: var(--shadow);
}

.hero-graphic svg { width: 100%; height: auto; max-width: 440px; }

section.services { background: var(--white); }

.service-lead {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  align-items: end;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 40px;
  margin-bottom: 28px;
}

.service-lead h3 {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 500;
  line-height: 1.2;
  color: var(--navy);
  margin: 0 0 12px;
}

.service-lead p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink);
  margin: 0;
}

.service-lead-note {
  margin: 0;
  padding-left: 18px;
  border-left: 2px solid var(--accent);
  font-size: 15.5px;
  line-height: 1.7;
  color: var(--muted);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
}

.service-card { grid-column: span 2; }

.service-grid .service-card:nth-child(4),
.service-grid .service-card:nth-child(5) { grid-column: span 3; }

.service-card {
  border: 1px solid var(--line);
  border-top: 2px solid var(--accent);
  border-radius: 12px;
  padding: 26px 24px 28px;
  background: var(--white);
  transition: border-color 280ms var(--ease), box-shadow 280ms var(--ease);
}

.service-card:hover {
  border-color: var(--line-strong);
  border-top-color: var(--accent);
  box-shadow: var(--shadow);
}

.service-card h4 {
  font-size: 16.5px;
  font-weight: 600;
  color: var(--navy);
  margin: 0 0 10px;
}

.service-card p {
  font-size: 15px;
  line-height: 1.65;
  color: var(--muted);
  margin: 0;
}

section.industries { background: var(--cream); }

.industry-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.industry-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 28px 22px 26px;
  transition: border-color 280ms var(--ease), box-shadow 280ms var(--ease);
}

.industry-item:hover {
  border-color: var(--line-strong);
  box-shadow: var(--shadow);
}

.industry-item .icon { margin-bottom: 16px; }

.industry-item h4 {
  font-size: 15.5px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--navy);
  margin: 0;
}

.industry-note {
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--muted);
  margin: 22px 0 0;
  max-width: 68ch;
}

section.audiences { background: var(--white); }

.audience-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.audience-card {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--white);
  transition: border-color 280ms var(--ease), box-shadow 280ms var(--ease);
}

.audience-card:hover {
  border-color: var(--line-strong);
  box-shadow: var(--shadow);
}

.audience-card h4 {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 500;
  line-height: 1.25;
  color: var(--navy);
  margin: 0 0 12px;
}

.audience-card p {
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--muted);
  margin: 0 0 22px;
  flex-grow: 1;
}

section.how { background: var(--cream); }

.how-inner {
  display: grid;
  grid-template-columns: 0.9fr 1.2fr;
  gap: 48px;
  align-items: start;
}

section.how .section-head { margin-bottom: 0; }

.how-inner p {
  font-size: 16.5px;
  line-height: 1.7;
  color: var(--ink);
  margin: 0 0 20px;
  max-width: 58ch;
}

section.approach {
  background: var(--navy);
  color: var(--cream);
}

section.approach .section-head h2 { color: var(--white); }

section.approach .section-head p { color: #D7DEE8; }

.approach-body {
  max-width: 68ch;
  font-size: 17px;
  line-height: 1.75;
  color: #DCE3EC;
  margin: 0;
}

section.primary-service {
  background: var(--navy);
  color: var(--cream);
  padding-block: clamp(64px, 7vw, 88px);
}

.primary-service h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(28px, 3vw, 36px);
  line-height: 1.15;
  color: var(--white);
  margin: 0 0 18px;
  max-width: 20ch;
}

.primary-service > p.lede {
  font-size: 16.5px;
  line-height: 1.7;
  color: #DCE3EC;
  max-width: 68ch;
  margin: 0 0 36px;
}

.primary-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px 56px;
}

.primary-grid ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.primary-grid li {
  padding: 14px 0;
  border-top: 1px solid rgba(245, 243, 238, 0.18);
  font-size: 15.5px;
  line-height: 1.55;
  color: #E6EAF1;
}

.primary-grid li:last-child { border-bottom: 1px solid rgba(245, 243, 238, 0.18); }

.terms-note {
  margin-top: 28px;
  font-size: 14.5px;
  line-height: 1.65;
  color: #B9C4D3;
  max-width: 70ch;
  border-left: 2px solid var(--accent);
  padding-left: 16px;
}

.service-block {
  display: grid;
  grid-template-columns: 0.9fr 1.6fr;
  gap: 40px;
  padding: 36px 0;
  border-top: 1px solid var(--line);
}

.service-block:last-child { border-bottom: 1px solid var(--line); }

.service-block h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 22px;
  color: var(--navy);
  margin: 0;
}

.service-block .num {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
  display: block;
  margin-bottom: 8px;
}

.service-block ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.service-block li {
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--ink);
  padding: 6px 0 6px 18px;
  position: relative;
}

.service-block li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 16px;
  width: 8px;
  height: 1.5px;
  background: var(--accent);
}

section.structure { background: var(--cream); }

.structure-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  margin-bottom: 28px;
}

.structure-item {
  background: var(--white);
  padding: 26px 22px;
}

.structure-item h4 {
  font-size: 15.5px;
  font-weight: 600;
  color: var(--navy);
  margin: 0 0 8px;
}

.structure-item p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted);
  margin: 0;
}

.structure-note {
  font-size: 15px;
  line-height: 1.65;
  color: var(--ink);
  max-width: 70ch;
  margin: 0;
}

.sector-block {
  display: grid;
  grid-template-columns: 0.9fr 1.6fr;
  gap: 40px;
  padding: 36px 0;
  border-top: 1px solid var(--line);
  align-items: start;
}

.sector-block:last-child { border-bottom: 1px solid var(--line); }

.sector-block .sector-label {
  display: flex;
  align-items: center;
  gap: 12px;
}

.sector-block .icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  flex: none;
  background: var(--white);
}

.sector-block h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 22px;
  color: var(--navy);
  margin: 0;
}

.sector-block .sector-copy p {
  font-size: 15.5px;
  line-height: 1.7;
  color: var(--ink);
  margin: 0 0 12px;
}

.sector-block .sector-copy p:last-child { margin-bottom: 0; }

.sector-block .relevance {
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
  margin: 0 0 8px;
}

section.theme-banner {
  background: var(--navy);
  color: var(--cream);
  text-align: left;
}

section.theme-banner .inner { max-width: 760px; }

section.theme-banner h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(26px, 3vw, 32px);
  line-height: 1.2;
  color: var(--white);
  margin: 0 0 16px;
  max-width: 24ch;
}

section.theme-banner p {
  font-size: 16.5px;
  line-height: 1.7;
  color: #DCE3EC;
  margin: 0;
}

.timeline {
  margin-top: 48px;
  position: relative;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 29px;
  top: 8px;
  bottom: 8px;
  width: 1px;
  background: var(--line);
}

.timeline-step {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 32px;
  padding: 0 0 48px;
  position: relative;
}

.timeline-step:last-child { padding-bottom: 0; }

.timeline-marker {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 500;
  color: var(--navy);
  position: relative;
  z-index: 1;
}

.timeline-content h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 22px;
  color: var(--navy);
  margin: 8px 0 10px;
}

.timeline-content p {
  font-size: 15.5px;
  line-height: 1.7;
  color: var(--ink);
  margin: 0;
  max-width: 62ch;
}

section.role-variation { background: var(--cream); }

.role-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  margin-bottom: 24px;
}

.role-item {
  background: var(--white);
  padding: 26px 22px;
}

.role-item h4 {
  font-size: 15.5px;
  font-weight: 600;
  color: var(--navy);
  margin: 0 0 8px;
}

.role-item p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted);
  margin: 0;
}

.role-note {
  font-size: 15px;
  line-height: 1.65;
  color: var(--ink);
  max-width: 70ch;
  margin: 0;
}

section.boundary {
  background: var(--navy);
  color: var(--cream);
  text-align: left;
}

section.boundary .inner { max-width: 760px; }

section.boundary h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(26px, 3vw, 32px);
  line-height: 1.2;
  color: var(--white);
  margin: 0 0 16px;
  max-width: 26ch;
}

section.boundary p {
  font-size: 16.5px;
  line-height: 1.7;
  color: #DCE3EC;
  margin: 0 0 14px;
}

section.boundary p:last-child { margin-bottom: 0; }

.who-body {
  max-width: 70ch;
  font-size: 16.5px;
  line-height: 1.75;
  color: var(--ink);
}

.who-body p { margin: 0 0 18px; }

.who-body p:last-child { margin-bottom: 0; }

section.experience {
  background: var(--navy);
  color: var(--cream);
}

section.experience .section-head h2 { color: var(--white); }

section.experience .section-head p { color: #D7DEE8; }

.experience-intro {
  max-width: 70ch;
  font-size: 16.5px;
  line-height: 1.75;
  color: #DCE3EC;
  margin: 0 0 36px;
}

.experience-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(246, 244, 239, 0.14);
  border: 1px solid rgba(246, 244, 239, 0.14);
}

.experience-item {
  background: var(--navy-raised);
  padding: 24px 22px;
}

.experience-item h4 {
  font-size: 15px;
  font-weight: 600;
  color: var(--white);
  margin: 0 0 8px;
}

.experience-item p {
  font-size: 13.5px;
  line-height: 1.55;
  color: #C4CEDB;
  margin: 0;
}

.experience-footnote {
  margin-top: 28px;
  font-size: 14px;
  line-height: 1.65;
  color: #B9C4D3;
  max-width: 70ch;
  border-left: 2px solid var(--accent);
  padding-left: 16px;
}

section.value { background: var(--white); }

.value-block {
  display: grid;
  grid-template-columns: 0.9fr 1.6fr;
  gap: 40px;
}

.value-block p {
  font-size: 16px;
  line-height: 1.75;
  color: var(--ink);
  margin: 0;
  max-width: 64ch;
}

section.principles { background: var(--cream); }

.principle-block {
  display: grid;
  grid-template-columns: 0.9fr 1.6fr;
  gap: 40px;
  padding: 28px 0;
  border-top: 1px solid var(--line);
}

.principle-block:last-child { border-bottom: 1px solid var(--line); }

.principle-block h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 20px;
  color: var(--navy);
  margin: 0;
}

.principle-block p {
  font-size: 15.5px;
  line-height: 1.7;
  color: var(--ink);
  margin: 0;
}

section.final-cta {
  background: var(--cream);
  text-align: center;
  padding-block: clamp(80px, 9vw, 112px);
}

.final-cta h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(26px, 3vw, 32px);
  line-height: 1.2;
  color: var(--navy);
  max-width: 34ch;
  margin: 0 auto 16px;
}

body.page-home .final-cta h2 {
  font-size: clamp(30px, 3.4vw, 40px);
  max-width: 18ch;
}

.final-cta p {
  font-size: 16.5px;
  line-height: 1.7;
  color: var(--muted);
  max-width: 48ch;
  margin: 0 auto 28px;
}

section.contact-main {
  background: var(--white);
  padding-block: clamp(56px, 7vw, 80px);
  display: grid;
  grid-template-columns: 0.82fr 1.35fr;
  gap: 56px;
  align-items: start;
}

.info-col h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 26px;
  color: var(--navy);
  margin: 0 0 18px;
}

.info-line {
  font-size: 15.5px;
  line-height: 1.7;
  color: var(--ink);
  margin: 0 0 4px;
}

.info-block { margin-bottom: 32px; }

.info-block:last-child { margin-bottom: 0; }

.useful-info h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 18px;
  color: var(--navy);
  margin: 0 0 12px;
}

.useful-info ul { margin: 0; padding: 0; list-style: none; }

.useful-info li {
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--ink);
  padding: 6px 0 6px 18px;
  position: relative;
}

.useful-info li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 16px;
  width: 8px;
  height: 1.5px;
  background: var(--accent);
}

form.inquiry {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 36px;
}

.field { margin-bottom: 20px; }

.field:last-of-type { margin-bottom: 0; }

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

label {
  display: block;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 8px;
}

label .optional {
  font-weight: 400;
  color: var(--muted);
  font-size: 12.5px;
}

label span[aria-hidden="true"] {
  color: var(--accent);
  font-weight: 600;
}

input[type="text"],
input[type="email"],
input[type="tel"],
select,
textarea {
  width: 100%;
  font-family: var(--sans);
  font-size: 15px;
  color: var(--ink);
  padding: 12px 14px;
  min-height: 48px;
  border: 1px solid rgba(14, 35, 64, 0.22);
  border-radius: 8px;
  background: var(--white);
  transition: border-color 200ms var(--ease);
}

textarea {
  resize: vertical;
  min-height: 140px;
  line-height: 1.55;
}

.field-hint {
  font-size: 13px;
  color: var(--muted);
  margin-top: 8px;
  line-height: 1.5;
}

.submit-row {
  margin-top: 28px;
  display: flex;
  align-items: center;
  gap: 18px;
}

.privacy-note {
  font-size: 13px;
  line-height: 1.6;
  color: var(--muted);
  margin: 18px 0 0;
}

section.reassure {
  background: var(--navy);
  color: var(--cream);
  text-align: left;
}

section.reassure .inner { max-width: 720px; }

section.reassure h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 26px;
  color: var(--white);
  margin: 0 0 12px;
}

section.reassure p {
  font-size: 15.5px;
  line-height: 1.7;
  color: #DCE3EC;
  margin: 0;
}

/* ---------- 7. Responsive ---------- */
@media (max-width: 1080px) {
  nav.site-nav { display: none; }

  .menu-icon { display: inline-flex; }

  .service-grid,
  .experience-grid { grid-template-columns: 1fr 1fr; }

  .service-card,
  .service-grid .service-card:nth-child(4),
  .service-grid .service-card:nth-child(5) { grid-column: auto; }

  .industry-strip,
  .structure-grid,
  .role-grid { grid-template-columns: 1fr 1fr; }

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

@media (max-width: 800px) {
  body.page-home section.hero {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .hero h1 { max-width: 14ch; }

  .service-lead,
  .how-inner,
  section.contact-main {
    grid-template-columns: 1fr;
    gap: 24px;
  }

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

@media (max-width: 680px) {
  .hero h1 { font-size: 36px; max-width: 100%; }

  .hero p { font-size: 16px; }

  a.btn-primary,
  button.btn-primary { width: 100%; text-align: center; }

  nav.site-nav a.nav-cta { width: auto; }

  .section-head h2,
  .final-cta h2,
  .primary-service h2,
  section.theme-banner h2,
  section.boundary h2 { font-size: 28px; }

  .page-hero h1 { font-size: 32px; }

  .service-lead { padding: 28px 22px; }

  .service-grid,
  .industry-strip,
  .structure-grid,
  .role-grid,
  .experience-grid { grid-template-columns: 1fr; }

  .primary-grid { grid-template-columns: 1fr; gap: 0; }

  .primary-grid ul:last-child li:first-child { border-top: none; }

  .service-block,
  .sector-block,
  .value-block,
  .principle-block {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .timeline::before { left: 21px; }

  .timeline-step {
    grid-template-columns: 44px 1fr;
    gap: 16px;
    padding-bottom: 32px;
  }

  .timeline-marker {
    width: 44px;
    height: 44px;
    font-size: 16px;
  }

  .timeline-content h3 { font-size: 18px; margin-top: 4px; }

  form.inquiry { padding: 24px 18px; }

  .field-row { grid-template-columns: 1fr; gap: 0; }

  .submit-row {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
  }

  footer.site {
    grid-template-columns: 1fr;
    gap: 28px;
    padding-top: 40px;
  }

  footer.site nav { padding-top: 0; }

  footer.site .site-credit {
    flex-basis: 100%;
    margin-left: 0;
    text-align: right;
  }
}

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

  *,
  *::before,
  *::after {
    animation: none !important;
    transition-property: color, background-color, border-color, border-top-color, border-bottom-color, outline-color !important;
  }

  .hero-copy > *,
  .hero-graphic,
  .page-hero > *,
  header.site {
    opacity: 1;
    transform: none;
  }

  .js-reveal [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
  }

  a.btn-primary:hover,
  button.btn-primary:hover,
  button.btn-primary:disabled:hover,
  .btn-secondary:hover {
    transform: none;
  }

  .page-loader {
    display: none !important;
    visibility: hidden !important;
    pointer-events: none !important;
  }
}
