/* Medhurst Communications - Website Mockup
   Design system derived from MCL Brand Standards v0.9.
   Colours, typography, logo rules and contrast follow the brand standard.
   This is a static mockup intended to feed Figma (Phase 1) and Webflow (Phase 2). */

:root {
  color-scheme: light;

  /* Primary palette */
  --blue: #1F487C;
  --teal: #76B5C2;
  --orange: #E18D47;
  --grey: #999999;

  /* Extended palette */
  --deep-navy: #0D2B4E;
  --sky-blue: #C5D8EC;
  --pale-blue: #EBF3FB;
  --dark-teal: #4A8E9B;
  --light-teal: #D8EFF3;
  --amber: #F5BC7D;
  --pale-orange: #FAE8D3;
  --charcoal: #2C2C2C;
  --off-white: #F8F9FA;
  --white: #FFFFFF;

  /* Roles */
  --text: var(--charcoal);
  --text-muted: #5d6b7a;
  --bg: var(--white);
  --line: #e4e9f0;

  --maxw: 1200px;
  --radius: 10px;
  --radius-lg: 16px;
  --shadow-sm: 0 1px 3px rgba(13,43,78,0.08), 0 1px 2px rgba(13,43,78,0.04);
  --shadow-md: 0 6px 24px rgba(13,43,78,0.10);
  --shadow-lg: 0 18px 48px rgba(13,43,78,0.16);

  /* Aptos is the brand primary font; Arial is the approved web fallback. */
  --font: "Aptos", "Segoe UI", Arial, system-ui, sans-serif;
}

* { box-sizing: border-box; }

/* Accessibility: skip link and visible focus */
.skip-link { position: absolute; left: -9999px; top: 0; z-index: 200; background: var(--blue); color: #fff; padding: 10px 16px; border-radius: 0 0 8px 0; font-weight: 600; }
.skip-link:focus { left: 0; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible, .nav-link:focus-visible {
  outline: 3px solid var(--orange); outline-offset: 2px; border-radius: 3px;
}

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--white);
  line-height: 1.55;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { color: var(--blue); line-height: 1.18; font-weight: 700; margin: 0 0 .5em; }
h1 { font-size: clamp(2rem, 4.4vw, 3.1rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
h3 { font-size: 1.3rem; }
h4 { font-size: 1.05rem; }
p { margin: 0 0 1rem; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section { padding: 54px 0; }
.section--tight { padding: 36px 0; }
.section--navy { background: var(--deep-navy); color: #dfe8f3; }
.section--navy h2, .section--navy h3 { color: #fff; }
.section--blue { background: var(--blue); color: #e7eef7; }
.section--blue h2, .section--blue h3 { color: #fff; }
.section--pale { background: var(--pale-blue); }
.section--offwhite { background: var(--off-white); }
.section--lightteal { background: var(--light-teal); }

.eyebrow {
  display: inline-block;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #2C6470;
  margin-bottom: .9rem;
}
.section--navy .eyebrow, .section--blue .eyebrow, .hero .eyebrow, .page-hero .eyebrow { color: #B7DDE6; }
.lead { font-size: 1.18rem; color: var(--text-muted); max-width: 60ch; }
.section--navy .lead, .section--blue .lead { color: #cdd9e8; }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }
.measure { max-width: 70ch; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  font-weight: 600; font-size: 1rem;
  padding: 13px 26px; border-radius: 8px;
  border: 2px solid transparent; cursor: pointer;
  transition: transform .12s ease, background .15s ease, box-shadow .15s ease;
  text-decoration: none;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn--primary { background: var(--blue); color: #fff; }
.btn--primary:hover { background: #18395f; box-shadow: var(--shadow-md); color:#fff; }
.btn--ghost { background: transparent; color: var(--blue); border-color: var(--blue); }
.btn--ghost:hover { background: var(--blue); color: #fff; }
.btn--on-dark { background: #fff; color: var(--blue); }
.btn--on-dark:hover { background: var(--pale-blue); color: var(--blue); }
.btn--ghost-dark { background: transparent; color: #fff; border-color: rgba(255,255,255,.6); }
.btn--ghost-dark:hover { background: rgba(255,255,255,.12); color:#fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 1.4rem; }
.arrow::after { content: "\2192"; font-weight: 600; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.94);
  backdrop-filter: saturate(150%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 16px; height: 92px; }
.brand-logo img { height: 76px; width: auto; }
.primary-nav { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.nav-item { position: relative; }
.nav-link {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 8px 9px; border-radius: 7px; white-space: nowrap;
  color: var(--charcoal); font-weight: 600; font-size: .84rem;
}
.nav-link:hover, .nav-item:hover .nav-link { background: var(--pale-blue); color: var(--blue); text-decoration: none; }
.nav-item.active > .nav-link { color: var(--blue); }
.nav-link .caret { font-size: .6rem; opacity: .6; transition: transform .15s ease; }
.nav-item:hover .nav-link .caret { transform: rotate(180deg); }
.dropdown {
  position: absolute; top: calc(100% + 6px); left: 0;
  min-width: 264px; background: #fff;
  border: 1px solid var(--line); border-radius: 12px;
  box-shadow: var(--shadow-md); padding: 8px;
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: all .16s ease;
}
.nav-item:hover .dropdown, .nav-item:focus-within .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown a { display: block; padding: 9px 12px; border-radius: 7px; color: var(--charcoal); font-size: .92rem; font-weight: 500; }
.dropdown a:hover { background: var(--pale-blue); color: var(--blue); text-decoration: none; }
.dropdown a small { display:block; color: var(--text-muted); font-weight: 400; font-size: .78rem; }
.header-cta { margin-left: 6px; padding: 9px 16px; font-size: .84rem; white-space: nowrap; }
.nav-toggle { display: none; margin-left: auto; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 26px; height: 2.5px; background: var(--blue); margin: 5px 0; border-radius: 2px; transition: .2s; }

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--deep-navy); color: #fff; overflow: hidden; }
.hero-carousel { position: absolute; inset: 0; }
.hero-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.1s ease; }
.hero-slide.is-active { opacity: 1; }
.hero-slide svg, .hero-slide img { width: 100%; height: 100%; object-fit: cover; }
.hero-scrim { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(13,43,78,.92) 0%, rgba(13,43,78,.78) 38%, rgba(13,43,78,.30) 70%, rgba(13,43,78,.12) 100%); }
.hero-inner { position: relative; z-index: 2; padding: 96px 0 104px; }
.hero-panel { max-width: 620px; text-align: left; }
.hero h1 { color: #fff; font-size: clamp(2.1rem, 4.6vw, 3.35rem); }
.hero .subhead { font-size: 1.16rem; color: #cdd9e8; max-width: 48ch; margin-bottom: 1.6rem; }
.hero-stats { display: flex; flex-wrap: wrap; gap: 32px; margin-top: 40px; }
.hero-stat .num { font-size: 2.3rem; font-weight: 700; color: var(--amber); line-height: 1; }
.hero-stat .lab { font-size: .9rem; color: #b9c7da; margin-top: 6px; max-width: 18ch; }
.hero-dots { position: absolute; bottom: 22px; right: 24px; z-index: 3; display: flex; gap: 8px; }
.hero-dots button { width: 9px; height: 9px; border-radius: 50%; border: 0; background: rgba(255,255,255,.35); cursor: pointer; padding: 0; }
.hero-dots button.is-active { background: var(--amber); }

/* page hero (interior, lighter) */
.page-hero { background: var(--blue); color: #fff; position: relative; overflow: hidden; }
.page-hero::after { content:""; position:absolute; right:-120px; top:-80px; width:520px; height:520px; border-radius:50%; background: radial-gradient(circle at 30% 30%, rgba(118,181,194,.45), transparent 60%); }
.page-hero .inner { position: relative; z-index: 2; padding: 48px 0 52px; max-width: 720px; text-align: left; }
.page-hero h1 { color: #fff; }
.page-hero .lead { color: #d4e0ef; }
.page-hero--navy { background: var(--deep-navy); }

/* Tier 1 hero carousel (D-105): photo carousel behind a navy scrim, left-aligned text */
.page-hero--carousel { background: var(--deep-navy); }
.page-hero--carousel::after { display: none; }
.page-hero--carousel .inner { padding: 72px 0 76px; min-height: 280px; }
.page-hero--carousel .hero-scrim { background: linear-gradient(90deg, rgba(13,43,78,.92) 0%, rgba(13,43,78,.80) 40%, rgba(13,43,78,.42) 72%, rgba(13,43,78,.22) 100%); }

/* breadcrumb */
.crumbs { font-size: .82rem; color: #bcccdf; margin-bottom: 14px; }
.crumbs a { color: #bcccdf; }
.crumbs a:hover { color: #fff; }
.crumbs span { opacity: .6; padding: 0 6px; }

/* ---------- Grid helpers ---------- */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.split { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }

/* ---------- Cards ---------- */
.card {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 26px;
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
  display: flex; flex-direction: column;
  position: relative;
}
/* Tile infographics (D-104): top-right corner, decorative (alt="") */
.card-info { position: absolute; top: 16px; right: 16px; width: 72px; height: 72px; object-fit: contain; }
.card--hasinfo h3 { padding-right: 78px; }
/* GCA Supplier credential (D-114): master artwork on white, clear space, blue on light */
.gca-credential { display:flex; align-items:center; gap:32px; background:#fff; border:1px solid var(--line); border-radius:12px; padding:30px 34px; max-width:720px; }
.gca-credential img { width:190px; height:auto; flex:0 0 auto; }
.gca-credential p { color: var(--text-muted); font-size:.96rem; margin:0; }
@media (max-width:560px){ .gca-credential{ flex-direction:column; align-items:flex-start; gap:18px; } }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--sky-blue); }
.card h3 { font-size: 1.18rem; margin-bottom: .4rem; }
.card p { color: var(--text-muted); font-size: .96rem; }
.card .card-link { margin-top: auto; font-weight: 600; color: var(--blue); padding-top: 12px; }
.card--link { cursor: pointer; }
.card .ico { width: 46px; height: 46px; border-radius: 11px; display: grid; place-items: center; background: var(--light-teal); margin-bottom: 16px; }
.card .ico svg { width: 24px; height: 24px; stroke: var(--dark-teal); fill: none; stroke-width: 1.8; }
.card-tag { display:inline-block; font-size:.7rem; font-weight:700; letter-spacing:.06em; text-transform:uppercase; color: #2C6470; background: var(--light-teal); padding: 3px 9px; border-radius: 999px; margin-bottom: 12px; align-self:flex-start; }

.org-card { background: #fff; border:1px solid var(--line); border-left: 4px solid var(--teal); border-radius: 12px; padding: 22px 24px; position: relative; }
.org-card.p1 { border-left-color: var(--orange); }
.org-info { position: absolute; top: 12px; right: 12px; width: 58px; height: 58px; object-fit: contain; }
.org-card.has-info h3, .org-card.has-info p { padding-right: 64px; }
.org-card h3 { font-size: 1.12rem; margin-bottom: .25rem; }
.org-card p { color: var(--text-muted); font-size: .92rem; margin-bottom: .6rem; }

/* ---------- Stat strip ---------- */
.stat-strip { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; }
.stat { padding: 8px 4px; }
.stat .num { font-size: 2.5rem; font-weight: 700; color: #B26824; line-height: 1; }
.section--navy .stat .num, .section--blue .stat .num { color: var(--amber); }
.stat .qual { font-weight: 600; margin-top: 8px; font-size: .98rem; }
.stat .ctx { font-size: .86rem; color: var(--text-muted); font-style: italic; }
.section--navy .stat .ctx, .section--blue .stat .ctx { color: #aebfd4; }

/* ---------- Kaizen ---------- */
.kaizen { display: grid; grid-template-columns: repeat(4,1fr); gap: 18px; }
.kz-stage { background:#fff; border:1px solid var(--line); border-radius:14px; padding: 22px; position: relative; }
.kz-stage .kz-num { font-size:.72rem; font-weight:700; letter-spacing:.1em; color: #2C6470; text-transform: uppercase; }
.kz-stage h3 { color: var(--blue); font-size:1.25rem; margin:.2rem 0 .5rem; }
.kz-stage p { font-size:.9rem; color: var(--text-muted); margin:0; }
.kz-stage .kz-out { margin-top:12px; font-size:.85rem; font-weight:600; color: #2C6470; }
.kaizen-intro { max-width: 1000px; margin: 0 auto 40px; align-items: center; }
.kaizen-split { display: grid; grid-template-columns: 1fr minmax(240px, 320px) 1fr; gap: 24px; align-items: center; max-width: 1100px; margin: 0 auto; }
.kaizen-col { display: flex; flex-direction: column; gap: 20px; }
.kaizen-mid { display: flex; justify-content: center; }
.kaizen-mid .kaizen-img { max-width: 320px; }
.kaizen-img { width: 100%; max-width: 360px; margin: 0 auto; display: block; }
.kaizen-circle { max-width: 560px; margin: 0 auto 12px; }
.kaizen-circle svg { width: 100%; height: auto; display: block; }
.kz-flow { display:flex; align-items:center; gap:10px; flex-wrap:wrap; justify-content:center; margin-top: 8px; }
.kz-pill { background: var(--blue); color:#fff; font-weight:600; padding:8px 18px; border-radius:999px; font-size:.95rem; }
.kz-arrow { color: var(--teal); font-weight:700; }

/* ---------- Pillars / feature list ---------- */
.feature { display:flex; gap:16px; align-items:flex-start; }
.feature .fico { flex:0 0 44px; width:44px; height:44px; border-radius:10px; background: var(--pale-blue); display:grid; place-items:center; }
.feature .fico svg { width:22px;height:22px; stroke: var(--blue); fill:none; stroke-width:1.8; }
.feature h4 { margin:.1rem 0 .3rem; color: var(--blue); }
.feature p { color: var(--text-muted); font-size:.95rem; margin:0; }

.tick-list { list-style:none; padding:0; margin: 1rem 0 0; }
.tick-list li { position:relative; padding-left: 30px; margin-bottom: 12px; color: var(--text); }
.tick-list li::before { content:""; position:absolute; left:0; top:3px; width:18px; height:18px; border-radius:50%; background: var(--light-teal); }
.tick-list li::after { content:""; position:absolute; left:6px; top:8px; width:6px; height:3px; border-left:2px solid var(--dark-teal); border-bottom:2px solid var(--dark-teal); transform: rotate(-45deg); }
.section--navy .tick-list li::before, .section--blue .tick-list li::before { background: rgba(118,181,194,.3); }
.section--navy .tick-list li, .section--blue .tick-list li { color:#dfe8f3; }

/* ---------- Testimonial ---------- */
.quote-block { background: var(--white); border-radius: var(--radius-lg); padding: 36px 40px; border:1px solid var(--line); border-left: 5px solid var(--teal); box-shadow: var(--shadow-sm); }
.quote-block .q { font-size: 1.3rem; line-height:1.45; color: var(--blue); font-weight: 600; }
.quote-block .attr { margin-top: 16px; font-size:.95rem; color: var(--text-muted); }
.quote-block .attr strong { color: var(--charcoal); display:block; }
.placeholder-note { font-size:.74rem; letter-spacing:.04em; text-transform:uppercase; color: #6E6E6E; font-weight:700; }

.pull { border-left: 4px solid var(--teal); padding: 4px 0 4px 20px; font-style: italic; color: var(--blue); font-size:1.1rem; margin: 24px 0; }
.pull cite { display:block; font-style:normal; font-size:.85rem; color: var(--text-muted); margin-top:8px; }

/* ---------- Operating commitments / table ---------- */
.spec-table { width:100%; border-collapse: collapse; font-size:.95rem; }
.spec-table th, .spec-table td { text-align:left; padding: 13px 16px; border-bottom:1px solid var(--line); vertical-align: top; }
.spec-table th { background: var(--blue); color:#fff; font-weight:600; }
.spec-table tr:nth-child(even) td { background: var(--pale-blue); }
.spec-table caption { caption-side: top; text-align:left; font-size:.8rem; color: #6E6E6E; margin-bottom:8px; }

.commit { display:grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.commit .c { background:#fff; border:1px solid var(--line); border-radius:12px; padding:20px; }
.commit .c .lab { font-size:.78rem; text-transform:uppercase; letter-spacing:.08em; color: var(--dark-teal); font-weight:700; }
.commit .c .val { font-size:1.05rem; font-weight:600; color: var(--blue); margin-top:6px; }

/* ---------- Kaizen tag ---------- */
.kz-tag { display:inline-flex; gap:6px; align-items:center; font-size:.74rem; font-weight:700; letter-spacing:.05em; text-transform:uppercase; color: var(--blue); background: var(--sky-blue); padding:4px 11px; border-radius:999px; }

/* ---------- Vendor / partner ---------- */
.vendor-row { display:flex; flex-wrap:wrap; gap:10px; }
.vendor-chip { background:#fff; border:1px solid var(--line); border-radius:8px; padding:8px 16px; font-weight:600; font-size:.9rem; color: var(--blue); }
.accred-row { display:flex; flex-wrap:wrap; gap:14px; margin-top:14px; }
.accred { background:#fff; border:1px solid var(--line); border-left:4px solid var(--orange); border-radius:10px; padding:12px 18px; }
.accred-name { display:block; font-weight:700; color: var(--blue); }
.accred-note { display:block; font-size:.8rem; color: var(--text-muted); margin-top:2px; }
.logo-wall { display:grid; grid-template-columns: repeat(5,1fr); gap:14px; }
.logo-wall .lw { background:#fff; border:1px solid var(--line); border-radius:10px; height:78px; display:grid; place-items:center; color: var(--blue); font-weight:700; font-size:.95rem; text-align:center; padding:8px; }

/* ---------- Process steps ---------- */
.steps { display:grid; grid-template-columns: repeat(5,1fr); gap:16px; }
.step { background:#fff; border:1px solid var(--line); border-radius:12px; padding:20px; position:relative; }
.step .n { width:34px;height:34px;border-radius:50%; background: var(--orange); color:#fff; font-weight:700; display:grid;place-items:center; margin-bottom:12px; }
.step h4 { margin:.1rem 0 .35rem; }
.step p { font-size:.86rem; color: var(--text-muted); margin:0; }

/* ---------- Phased delivery / timeline ---------- */
.timeline { border-left: 2px solid var(--sky-blue); margin-left: 8px; padding-left: 26px; }
.tl-item { position:relative; padding-bottom: 26px; }
.tl-item::before { content:""; position:absolute; left:-35px; top:2px; width:16px;height:16px;border-radius:50%; background: var(--blue); border:3px solid #fff; box-shadow:0 0 0 2px var(--sky-blue); }
.tl-badge { display:inline-block; font-size:.7rem; font-weight:700; text-transform:uppercase; letter-spacing:.05em; padding:3px 9px; border-radius:6px; background: var(--light-teal); color: var(--dark-teal); margin-bottom:6px; }
.tl-item h4 { margin:.1rem 0 .3rem; }
.tl-item p { font-size:.92rem; color: var(--text-muted); margin:0; }

/* ---------- Form ---------- */
.form-card { background:#fff; border:1px solid var(--line); border-radius: var(--radius-lg); padding: 32px; box-shadow: var(--shadow-md); }
.field { margin-bottom: 16px; }
.field label { display:block; font-size:.85rem; font-weight:600; color: var(--charcoal); margin-bottom:6px; }
.field input, .field textarea, .field select {
  width:100%; padding: 12px 14px; border:1.5px solid #7E8A99; border-radius:8px;
  font-family: inherit; font-size:1rem; color: var(--charcoal); background: var(--off-white);
}
.field input:focus, .field textarea:focus, .field select:focus { outline:none; border-color: var(--blue); background:#fff; }
.field-row { display:grid; grid-template-columns:1fr 1fr; gap:16px; }
.form-note { font-size:.8rem; color: var(--text-muted); margin-top: 10px; }
.form-success { background: var(--light-teal); border:1px solid var(--dark-teal); border-radius:10px; padding:16px; color: var(--dark-teal); font-weight:600; }
.form-error { background:#fbe6e6; border:1px solid #b3392f; border-radius:10px; padding:16px; color:#8a2a23; font-weight:600; }
.form-error a { color:#8a2a23; text-decoration: underline; }
[hidden] { display: none !important; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--blue); color:#fff; border-radius: 0; }
.cta-band .container { display:flex; align-items:center; justify-content:space-between; gap:32px; flex-wrap:wrap; padding-top:36px; padding-bottom:36px; }
.cta-band h2 { color:#fff; margin:0 0 .3rem; }
.cta-band p { color:#d4e0ef; margin:0; }

/* ---------- Footer ---------- */
.partner-carousel { background: var(--deep-navy); padding: 26px 0; overflow:hidden; border-top:1px solid rgba(255,255,255,.08); }
.partner-carousel .pc-label { color:#8ea4c2; font-size:.74rem; letter-spacing:.12em; text-transform:uppercase; text-align:center; margin-bottom:16px; font-weight:700; }
.pc-track { display:flex; gap:42px; align-items:center; animation: scroll-x 36s linear infinite; width:max-content; }
.partner-carousel:hover .pc-track { animation-play-state: paused; }
.pc-track .pc-item { display:flex; align-items:center; white-space:nowrap; }
.pc-track .pc-item img { height:38px; width:auto; display:block; opacity:.95; }
.pc-track .pc-item.pc-text { color:#e4ecf6; font-weight:700; font-size:1.05rem; letter-spacing:.02em; opacity:.85; border:1px solid rgba(255,255,255,.18); border-radius:8px; padding:9px 18px; }
@keyframes scroll-x { from { transform: translateX(0);} to { transform: translateX(-50%);} }
@media (prefers-reduced-motion: reduce) { .pc-track { animation: none; } .hero-slide { transition: none; } * { scroll-behavior: auto; } }

.pc-accreds { display:flex; flex-wrap:wrap; gap:12px; justify-content:center; padding:6px 24px 4px; }
.pc-accreds .pc-badge { color:#e4ecf6; font-weight:700; font-size:.86rem; border:1px solid rgba(255,255,255,.22); border-radius:8px; padding:8px 14px; display:flex; align-items:center; }
.pc-accreds .pc-badge img { height:44px; width:auto; display:block; background:#fff; border-radius:6px; padding:4px; }

.site-footer { background: var(--deep-navy); color:#aebfd4; padding: 56px 0 0; }
.footer-grid { display:grid; grid-template-columns: 1.4fr 1fr 1fr 1fr 1.2fr; gap: 32px; }
.site-footer h4 { color:#fff; font-size:.82rem; letter-spacing:.08em; text-transform:uppercase; margin-bottom:14px; }
.site-footer a { color:#aebfd4; font-size:.9rem; display:block; padding:4px 0; }
.site-footer a:hover { color:#fff; text-decoration:none; }
.footer-logo img { height:53px; margin-bottom:16px; }
.footer-about p { font-size:.9rem; color:#92a6c4; }
.legal-strip { border-top:1px solid rgba(255,255,255,.1); margin-top:40px; padding: 20px 0; font-size:.82rem; color:#8298b8; display:flex; justify-content:space-between; flex-wrap:wrap; gap:12px; }
.legal-strip a { display:inline; color:#8298b8; }

/* ---------- Misc ---------- */
.note-banner { background: var(--pale-orange); border:1px solid var(--amber); color:#8a5a23; border-radius:10px; padding:12px 18px; font-size:.85rem; }
/* Section alignment principle: left by default. A section heading is centred ONLY when it
   introduces a full-width symmetric grid of equal cards (an overview or browse set). Split,
   prose, stat, table, spec, process, timeline, and single-CTA sections stay left. */
.section-head { max-width: 64ch; margin-bottom: 36px; }
.section-head.center { margin-left:auto; margin-right:auto; }
.divider { height:1px; background: var(--line); border:0; margin: 0; }
.badge-grid { display:grid; grid-template-columns: repeat(3,1fr); gap:16px; }
.badge { background:#fff; border:1px solid var(--line); border-radius:12px; padding:20px; }
.badge .bt { font-weight:700; color: var(--blue); }
.badge p { font-size:.88rem; color: var(--text-muted); margin:.4rem 0 0; }
/* ISO certificate tiles link to the PDF (D-115) */
.badge--link { display:flex; flex-direction:column; text-decoration:none; transition:transform .15s ease, box-shadow .15s ease, border-color .15s ease; }
.badge--link:hover { transform:translateY(-3px); box-shadow:var(--shadow-md); border-color:var(--sky-blue); }
.badge-link { margin-top:12px; font-weight:600; color:var(--blue); font-size:.86rem; }

/* ---------- Legal content ---------- */
.legal-content { max-width: 800px; }
.legal-updated { font-size: .82rem; color: #6E6E6E; font-weight: 600; margin: 0 0 1.4rem; }
.legal-content h2 { font-size: 1.4rem; margin: 2rem 0 .8rem; padding-bottom: .4rem; border-bottom: 2px solid var(--teal); }
.legal-content h2:first-child { margin-top: 0; }
.legal-content h3 { font-size: 1.05rem; color: var(--dark-teal); margin: 1.4rem 0 .4rem; }
.legal-content p { font-size: .95rem; color: var(--text); margin: 0 0 .8rem; }
.legal-content ul { font-size: .95rem; color: var(--text); margin: 0 0 1rem; padding-left: 1.2rem; }
.legal-content li { margin-bottom: .4rem; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .grid-4 { grid-template-columns: repeat(2,1fr); }
  .grid-3 { grid-template-columns: repeat(2,1fr); }
  .split { grid-template-columns: 1fr; gap:32px; }
  .stat-strip { grid-template-columns: repeat(2,1fr); }
  .kaizen { grid-template-columns: repeat(2,1fr); }
  .steps { grid-template-columns: repeat(2,1fr); }
  .commit { grid-template-columns:1fr; }
  .logo-wall { grid-template-columns: repeat(3,1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap:28px; }
  .kaizen-split { grid-template-columns: 1fr; }
  .kaizen-mid { order: -1; }

  .primary-nav { display:none; position:fixed; inset:92px 0 0; background:#fff; flex-direction:column; align-items:stretch; gap:0; padding:14px 20px; overflow-y:auto; }
  .primary-nav.open { display:flex; }
  .nav-item { border-bottom:1px solid var(--line); }
  .nav-link { padding:16px 6px; font-size:1.05rem; justify-content:space-between; }
  .dropdown { position:static; opacity:1; visibility:visible; transform:none; box-shadow:none; border:0; padding:0 0 10px 14px; min-width:0; display:none; }
  .nav-item.expanded .dropdown { display:block; }
  .nav-item:hover .dropdown { } /* no hover open on mobile */
  .header-cta { display:none; }
  .nav-toggle { display:block; }
  .nav-item:hover .nav-link .caret { transform:none; }
  .nav-item.expanded .nav-link .caret { transform: rotate(180deg); }
}
@media (max-width: 620px) {
  body { font-size:16px; }
  .section { padding: 39px 0; }
  .grid-4, .grid-3, .grid-2, .stat-strip, .kaizen, .steps, .badge-grid, .logo-wall, .commit { grid-template-columns: 1fr; }
  .field-row { grid-template-columns:1fr; }
  .footer-grid { grid-template-columns:1fr; }
  .hero-inner { padding: 64px 0 76px; }
  .hero-stats { gap:22px; }
  .cta-band .container { flex-direction:column; align-items:flex-start; }
  .legal-strip { flex-direction:column; }
}

/* ---------- Linked vendor / accreditation / framework tiles (D-118) ---------- */
.pc-track a.pc-item { text-decoration: none; }
.pc-track a.pc-item:hover { opacity: 1; }
.pc-track a.pc-item.pc-text:hover { border-color: var(--teal); color: #fff; }
.pc-accreds a.pc-badge { text-decoration: none; cursor: pointer; }
.pc-accreds a.pc-badge:hover { border-color: var(--teal); color: #fff; }
.accred { text-decoration: none; display: inline-flex; flex-direction: column; transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease; }
.accred:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); border-left-color: var(--blue); }
.accred .accred-name { font-weight: 700; color: var(--blue); }
.accred .accred-note { color: var(--text-muted); font-size: .85rem; }

/* Vendor partner tile grid (D-118) */
.vendor-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 14px; margin-top: 24px; }
.vendor-tile { display: flex; align-items: center; justify-content: center; min-height: 74px; background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 14px 16px; text-decoration: none; color: var(--blue); font-weight: 700; font-size: .98rem; text-align: center; transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease; }
.vendor-tile:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); border-color: var(--sky-blue); }
.vendor-tile img { max-height: 42px; width: auto; display: block; }
