/* ==========================================================================
   JENCONS ENTERPRISES LIMITED — Core Stylesheet
   Design tokens derived from brand logo: deep navy structure, amber accent,
   warm off-white paper tone. Typographic system: Sora (display) + Inter (body).
   ========================================================================== */

:root {
  /* Color tokens */
  --navy-950: #0A1A26;
  --navy-900: #0F2A3F;
  --navy-800: #163C57;
  --charcoal: #1A1D21;
  --amber-600: #C97A1D;
  --amber-500: #E8942C;
  --amber-300: #F4BA6E;
  --paper: #F7F6F1;
  --paper-dim: #EFEDE6;
  --steel-600: #5C6570;
  --steel-400: #8992A0;
  --line: rgba(15, 42, 63, 0.12);
  --line-dark: rgba(247, 246, 241, 0.14);
  --white: #FFFFFF;

  /* Type */
  --font-display: 'Sora', 'Segoe UI', sans-serif;
  --font-body: 'Inter', 'Segoe UI', sans-serif;

  /* Layout */
  --max-width: 1240px;
  --section-pad: clamp(64px, 9vw, 128px);
  --radius: 3px;
  --ease: cubic-bezier(0.2, 0.65, 0.3, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--charcoal);
  background: var(--paper);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { font-family: var(--font-display); margin: 0; line-height: 1.15; font-weight: 700; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
button { font-family: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--amber-500); outline-offset: 3px; }

.container { max-width: var(--max-width); margin: 0 auto; padding: 0 28px; }
.section { padding: var(--section-pad) 0; }
.section--tight { padding: clamp(48px, 6vw, 80px) 0; }
.section--navy { background: var(--navy-900); color: var(--paper); }
.section--navy h2, .section--navy h3 { color: var(--white); }
.section--charcoal { background: var(--charcoal); color: var(--paper); }
.section--dim { background: var(--paper-dim); }
.section--white { background: var(--white); }

/* ---------- Eyebrow / Labels ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--amber-600);
  margin-bottom: 14px;
}
.section--navy .eyebrow,
.section--charcoal .eyebrow { color: var(--amber-500); }
.eyebrow::before {
  content: '';
  width: 26px;
  height: 2px;
  background: var(--amber-500);
  display: inline-block;
}

.section-head { max-width: 720px; margin-bottom: 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { font-size: clamp(1.7rem, 3.4vw, 2.6rem); margin-bottom: 14px; }
.section-head p { color: var(--steel-600); font-size: 1.05rem; max-width: 60ch; }
.section--navy .section-head p, .section--charcoal .section-head p { color: rgba(247,246,241,0.72); }
.section-head.center p { margin-left: auto; margir-right: auto; }

/* ---------- Icons (base sizing — fixes unsized SVG rendering huge/0px in different browsers) ---------- */
.icon {
  width: 18px;
  height: 18px;
  display: inline-block;
  vertical-align: -0.15em;
  flex: none;
}
.btn .btn-arrow, a.btn-ghost .btn-arrow { width: 15px; height: 15px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 30px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: var(--radius);
  border: 1px solid transparent;
  transition: all 0.25s var(--ease);
  white-space: nowrap;
}
.btn-primary { background: var(--amber-500); color: var(--navy-950); }
.btn-primary:hover { background: var(--amber-300); transform: translateY(-1px); }
.btn-outline { background: transparent; border-color: rgba(255,255,255,0.4); color: var(--white); }
.btn-outline:hover { background: rgba(255,255,255,0.1); border-color: var(--white); }
.btn-outline-dark { background: transparent; border-color: var(--navy-900); color: var(--navy-900); }
.btn-outline-dark:hover { background: var(--navy-900); color: var(--white); }
.btn-ghost { padding: 0; border-bottom: 1px solid currentColor; border-radius: 0; font-weight: 600; }
.btn-ghost:hover { color: var(--amber-600); }
.btn-arrow { transition: transform 0.25s var(--ease); }
.btn:hover .btn-arrow { transform: translateX(4px); }
.btn-block { width: 100%; justify-content: center; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: static;
  background: #E8E9EB;
  border-bottom: 1px solid var(--line);
}
.nav-wrap { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { height: 140px; width: auto; display: block; }

.primary-nav { display: flex; align-items: center; gap: 6px; }
.primary-nav > ul { display: flex; align-items: center; gap: 2px; }
.primary-nav a.nav-link {
  display: flex; align-items: center; gap: 4px;
  padding: 10px 14px; font-size: 0.9rem; font-weight: 600; color: var(--navy-900);
  border-radius: var(--radius);
}
.primary-nav a.nav-link:hover, .primary-nav a.nav-link.active { color: var(--amber-600); }
.has-dropdown { position: relative; }
.dropdown {
  position: absolute; top: calc(100% + 8px); left: 0;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  min-width: 260px; padding: 10px; box-shadow: 0 18px 40px rgba(15,42,63,0.14);
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: all 0.2s var(--ease);
}
.has-dropdown:hover .dropdown, .has-dropdown:focus-within .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown-group-label { font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--steel-400); font-weight: 700; padding: 8px 12px 4px; }
.dropdown a { display: block; padding: 9px 12px; font-size: 0.88rem; font-weight: 500; color: var(--navy-900); border-radius: 2px; }
.dropdown a:hover { background: var(--paper-dim); color: var(--amber-600); }
.nav-cta { margin-left: 10px; }
.contact-nav-item { display: none; }
.nav-toggle { display: none; background: none; border: none; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--navy-900); margin: 5px 0; transition: 0.25s; }

@media (max-width: 980px) {
  .primary-nav { position: fixed; z-index: 60; inset: 169px 0 0 0; background: var(--paper); flex-direction: column; align-items: stretch; padding: 10px 20px 40px; overflow-y: auto; transform: translateX(100%); transition: transform 0.3s var(--ease); }
  .primary-nav.open { transform: translateX(0); }
  .primary-nav > ul { flex-direction: column; align-items: stretch; gap: 0; width: 100%; }
  .primary-nav a.nav-link { padding: 14px 6px; border-bottom: 1px solid var(--line); width: 100%; }
  .dropdown { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: none; display: none; padding-left: 10px; }
  .has-dropdown.open .dropdown { display: block; }
  .nav-cta { margin: 16px 6px 0; display: none; }
  .contact-nav-item { display: block; }
  .nav-toggle { display: block; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 86vh;
  display: flex;
  align-items: flex-end;
  color: var(--white);
  background: var(--navy-950);
  overflow: hidden;
  padding-top: 60px;
}
.hero-bg {
  position: absolute; inset: 0;
  background: var(--navy-950);
}
.hero-bg svg { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0.5; }
.hero-content { position: relative; z-index: 2; padding-bottom: clamp(56px, 8vw, 96px); max-width: 760px; }
.hero-tag { font-family: var(--font-body); font-size: 0.8rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--amber-300); margin-bottom: 20px; }
.hero h1 { font-size: clamp(2.3rem, 5.4vw, 4rem); margin-bottom: 20px; }
.hero p.lead { font-size: clamp(1.02rem, 1.6vw, 1.2rem); color: rgba(247,246,241,0.8); max-width: 54ch; margin-bottom: 34px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; }
.hero-scroll { position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); z-index: 2; width: 1px; height: 46px; background: linear-gradient(to bottom, rgba(255,255,255,0.6), transparent); }

.page-title-bar {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  padding: 40px 0 32px;
}
.page-title-bar .container { max-width: 820px; }
.page-title-bar .breadcrumb { font-size: 0.82rem; color: var(--steel-600); margin-bottom: 14px; }
.page-title-bar .breadcrumb a:hover { color: var(--amber-600); }
.page-title-bar h1 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); color: var(--navy-900); margin: 0 0 10px; }
.page-title-bar p.lead { color: var(--steel-600); font-size: 1.02rem; max-width: 62ch; margin: 0; }
.breadcrumb { font-size: 0.82rem; color: rgba(247,246,241,0.55); margin-bottom: 18px; }
.breadcrumb a:hover { color: var(--amber-300); }

/* ---------- Trust bar ---------- */
.trust-bar { background: var(--navy-900); color: rgba(247,246,241,0.85); padding: 18px 0; border-top: 1px solid var(--line-dark); }
.trust-bar .container { display: flex; flex-wrap: wrap; gap: 14px 34px; align-items: center; justify-content: center; font-size: 0.85rem; font-weight: 600; letter-spacing: 0.02em; }
.trust-bar .trust-item { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.trust-bar .dot { color: var(--amber-500); }
@media (max-width: 700px) {
  .trust-bar .container { flex-direction: column; align-items: flex-start; gap: 12px; }
  .trust-bar .trust-item { white-space: normal; }
}

/* ---------- Grid utilities ---------- */
.grid { display: grid; gap: 28px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.split { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 60px; align-items: center; }
.split > * { min-width: 0; }
.split.split-top { align-items: start; }
.split.split-top .split-media { align-self: center; }
.split.reverse { grid-template-columns: 1.15fr 0.85fr; }
.split.reverse .split-media { order: 2; }
.split.media-left { grid-template-columns: 1.15fr 0.85fr; }
.split.media-left .split-media { order: -1; }
@media (max-width: 900px) {
  .split, .split.reverse, .split.media-left { grid-template-columns: 1fr; gap: 32px; }
  .split.reverse .split-media, .split.media-left .split-media { order: 0; }
}
@media (min-width: 901px) {
  #safety-standard.split.reverse { grid-template-columns: 0.85fr 1.15fr; }
  #technical-innovation.split,
  #engineering-discipline.split { grid-template-columns: 1.15fr 0.85fr; }
}

/* ---------- Cards ---------- */
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: 0 20px 40px rgba(15,42,63,0.10); }

.service-card { background: rgba(255,255,255,0.04); border: 1px solid var(--line-dark); border-radius: var(--radius); padding: 28px; transition: 0.3s var(--ease); }
.section--navy .service-card:hover, .section--charcoal .service-card:hover { background: rgba(255,255,255,0.07); border-color: rgba(232,148,44,0.4); transform: translateY(-3px); }
.service-card .icon { width: 46px; height: 46px; margin-bottom: 18px; color: var(--amber-500); }
.service-card h3 { font-size: 1.12rem; margin-bottom: 10px; color: var(--white); }
.service-card p { color: rgba(247,246,241,0.68); font-size: 0.94rem; margin-bottom: 16px; }
.service-cluster-label { font-family: var(--font-body); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--amber-500); margin: 44px 0 18px; }
.service-cluster-label:first-of-type { margin-top: 0; }

.stat-card { text-align: center; }
.stat-card .num { font-family: var(--font-display); font-size: clamp(2.1rem, 4vw, 3rem); font-weight: 700; color: var(--amber-500); line-height: 1; }
.stat-card .label { font-size: 0.86rem; color: rgba(247,246,241,0.65); margin-top: 8px; letter-spacing: 0.02em; }

.value-card .icon { width: 40px; height: 40px; color: var(--amber-600); margin-bottom: 16px; }
.value-card h3 { font-size: 1.05rem; margin-bottom: 8px; }
.value-card p { color: var(--steel-600); font-size: 0.94rem; }

.project-card { background: var(--white); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.project-card .media { aspect-ratio: 16/10; background: linear-gradient(135deg, var(--navy-900), var(--navy-800)); position: relative; overflow: hidden; }
.project-card .media svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.project-card .body { padding: 24px; }
.project-card .tag { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--amber-600); }
.project-card h3 { font-size: 1.15rem; margin: 8px 0 6px; }
.project-card .meta { color: var(--steel-600); font-size: 0.88rem; margin-bottom: 12px; }
.project-card.flagship { grid-column: span 2; }
.project-card.flagship .media { aspect-ratio: 16/8; }
@media (max-width: 900px) { .project-card.flagship { grid-column: span 1; } }
.status-pill { display: inline-block; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; padding: 4px 10px; border-radius: 20px; }
.status-pill.completed { background: rgba(76,145,90,0.12); color: #2E7D42; }
.status-pill.ongoing { background: rgba(232,148,44,0.14); color: var(--amber-600); }

/* ---------- Process ---------- */
.process-track { display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px; position: relative; }
.process-track::before { content: ''; position: absolute; top: 26px; left: 5%; right: 5%; height: 1px; background: rgba(232,148,44,0.3); }
.process-step { position: relative; padding: 0 14px; text-align: left; }
.process-step .num { font-family: var(--font-display); font-size: 1.4rem; font-weight: 700; color: var(--amber-500); background: var(--navy-900); position: relative; z-index: 2; display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px; border: 1px solid rgba(232,148,44,0.4); border-radius: 50%; margin-bottom: 20px; }
.process-step h3 { font-size: 1.02rem; margin-bottom: 8px; color: var(--white); }
.process-step p { font-size: 0.88rem; color: rgba(247,246,241,0.65); }
@media (max-width: 900px) {
  .process-track { grid-template-columns: 1fr; gap: 34px; }
  .process-track::before { left: 25px; top: 0; bottom: 0; width: 1px; height: auto; right: auto; }
  .process-step { padding-left: 70px; }
  .process-step .num { position: absolute; left: 0; top: -2px; }
}

/* ---------- Safety badge ---------- */
.floating-badge { background: var(--navy-900); color: var(--white); padding: 20px 26px; border-radius: var(--radius); box-shadow: 0 20px 40px rgba(15,42,63,0.25); }
.floating-badge .num { font-family: var(--font-display); font-size: 1.9rem; font-weight: 700; color: var(--amber-500); }
.floating-badge .label { font-size: 0.8rem; color: rgba(247,246,241,0.7); margin-top: 2px; }
.media-frame { position: relative; }
.media-frame .badge-overlap { position: absolute; bottom: -24px; right: -18px; }
@media (max-width: 900px) { .media-frame .badge-overlap { position: static; margin-top: 18px; display: inline-block; } }
.media-art { aspect-ratio: 4/3; border-radius: var(--radius); background: var(--navy-950); position: relative; overflow: hidden; }
.media-art svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.media-art img.photo-cover { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.project-card .media img.photo-cover { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
/* Rounded-corner treatment for homepage local images (15px), scoped so other pages are unaffected */
.media-art.rounded-15 { border-radius: 15px; }
.media-art.rounded-15 img { border-radius: 15px; }
.project-card.rounded-15 { border-radius: 15px; }
.project-card.rounded-15 .media { border-radius: 15px; }
.project-card.rounded-15 .media img { border-radius: 15px; }
.hero-bg img.hero-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 45%; }
.hero-bg .hero-overlay {
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 82% 18%, rgba(232,148,44,0.25), transparent 45%),
    linear-gradient(180deg, rgba(10,26,38,0.35) 0%, rgba(10,26,38,0.82) 78%, rgba(10,26,38,0.96) 100%);
}

.check-list { display: grid; gap: 16px; margin-top: 24px; }
.check-list li { display: flex; gap: 14px; align-items: flex-start; }
.check-list .ico { flex: none; width: 22px; height: 22px; color: var(--amber-600); margin-top: 2px; }
.check-list strong { display: block; margin-bottom: 2px; }
.check-list span.desc { color: var(--steel-600); font-size: 0.92rem; }
.section--navy .check-list span.desc, .section--charcoal .check-list span.desc { color: rgba(247,246,241,0.65); }

/* ---------- Clients / logos ---------- */
.industry-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.industry-chip { display: flex; align-items: center; gap: 10px; padding: 12px 20px; border: 1px solid var(--line); border-radius: 30px; font-size: 0.9rem; font-weight: 600; color: var(--navy-900); background: var(--white); }
.industry-chip .ico { width: 18px; height: 18px; color: var(--amber-600); }

/* ---------- CTA band ---------- */
.cta-band { text-align: center; }
.cta-band h2 { font-size: clamp(1.8rem, 3.6vw, 2.7rem); margin-bottom: 16px; }
.cta-band .lead { color: rgba(247,246,241,0.72); max-width: 56ch; margin: 0 auto 34px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 18px; justify-content: center; align-items: center; }
.contact-inline { display: flex; flex-wrap: wrap; gap: 22px; justify-content: center; margin-top: 30px; font-size: 0.92rem; }
.contact-inline a { display: flex; align-items: center; gap: 8px; color: rgba(247,246,241,0.85); }
.contact-inline a:hover { color: var(--amber-300); }
.contact-inline svg { width: 16px; height: 16px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-950); color: rgba(247,246,241,0.75); padding: 72px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr 1.1fr; gap: 36px; padding-bottom: 50px; border-bottom: 1px solid var(--line-dark); }
.footer-brand img { height: 80px; width: auto; margin-bottom: 16px; }
.footer-brand p { font-size: 0.88rem; max-width: 30ch; }
.footer-col h4 { color: var(--white); font-size: 0.82rem; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 18px; }
.footer-col ul li { margin-bottom: 11px; }
.footer-col a { font-size: 0.9rem; }
.footer-col a:hover { color: var(--amber-400, var(--amber-500)); }
.footer-contact li { display: flex; gap: 10px; font-size: 0.88rem; margin-bottom: 14px; align-items: flex-start; }
.footer-contact svg { width: 16px; height: 16px; flex: none; margin-top: 3px; color: var(--amber-500); }
.social-row { display: flex; gap: 12px; margin-top: 18px; }
.social-row a { width: 36px; height: 36px; border: 1px solid var(--line-dark); border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.social-row a:hover { border-color: var(--amber-500); color: var(--amber-500); }
.footer-bottom { display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; align-items: center; padding: 22px 0; font-size: 0.8rem; }
.footer-bottom .legal-links { display: flex; gap: 20px; }
.footer-bottom .credit-link { transition: color 0.2s var(--ease); }
.footer-bottom .credit-link:hover { color: var(--amber-500); }
@media (max-width: 980px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: span 2; } }
@media (max-width: 600px) { .footer-grid { grid-template-columns: 1fr; } .footer-brand { grid-column: span 1; } }

/* ---------- Forms ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-grid .full { grid-column: span 2; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } .form-grid .full { grid-column: span 1; } }
.field label { display: block; font-size: 0.84rem; font-weight: 600; margin-bottom: 8px; color: var(--navy-900); }
.section--navy .field label { color: rgba(247,246,241,0.85); }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 14px; border: 1px solid var(--line); border-radius: 2px;
  font-family: var(--font-body); font-size: 0.95rem; background: var(--white); color: var(--charcoal);
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--amber-500); outline-offset: 1px; }

/* ---------- FAQ ---------- */
.faq-group { margin-bottom: 46px; }
.faq-group h2 { font-size: 1.3rem; margin-bottom: 20px; padding-bottom: 12px; border-bottom: 2px solid var(--navy-900); display: inline-block; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 20px 0; background: none; border: none; width: 100%; text-align: left; font-family: var(--font-display); font-size: 1.02rem; font-weight: 600; color: var(--navy-900); }
.faq-q .plus { flex: none; width: 22px; height: 22px; position: relative; }
.faq-q .plus::before, .faq-q .plus::after { content: ''; position: absolute; background: var(--amber-600); transition: transform 0.25s var(--ease); }
.faq-q .plus::before { top: 50%; left: 0; width: 100%; height: 2px; transform: translateY(-50%); }
.faq-q .plus::after { left: 50%; top: 0; width: 2px; height: 100%; transform: translateX(-50%); }
.faq-item.open .plus::after { transform: translateX(-50%) rotate(90deg); opacity: 0; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.3s var(--ease); }
.faq-a-inner { padding: 0 0 22px; color: var(--steel-600); font-size: 0.96rem; max-width: 74ch; }
.faq-item.open .faq-a { max-height: 400px; }

/* ---------- Timeline (about/company) ---------- */
.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 900px) { .value-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .value-grid { grid-template-columns: 1fr; } }

.leader-card { text-align: left; background: var(--white); border: 1px solid var(--line); border-top: 3px solid var(--amber-500); border-radius: var(--radius); padding: 26px; transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease); }
.leader-card:hover { transform: translateY(-4px); box-shadow: 0 20px 40px rgba(15,42,63,0.10); }
.leader-card h3 { font-size: 1.05rem; margin-bottom: 4px; }
.leader-card .role { color: var(--amber-600); font-weight: 600; font-size: 0.86rem; margin-bottom: 4px; }
.leader-card .credential { color: var(--navy-800); font-size: 0.86rem; margin-bottom: 2px; }
.leader-card .location { color: var(--steel-600); font-size: 0.86rem; font-style: italic; margin: 2px 0 8px; }
.leader-card p { color: var(--steel-600); font-size: 0.88rem; }
.leader-card .leader-link { display: inline-block; margin-top: 10px; color: var(--navy-800); font-size: 0.86rem; font-weight: 600; }

/* ---------- Table (projects, certifications) ---------- */
.info-table { width: 100%; border-collapse: collapse; }
.info-table th, .info-table td { text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--line); font-size: 0.92rem; }
.info-table th { font-family: var(--font-display); font-size: 0.76rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--steel-600); font-weight: 700; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
.table-wrap .info-table { min-width: 640px; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.in { opacity: 1; transform: translateY(0); }

/* ---------- Misc ---------- */
.divider { height: 1px; background: var(--line); margin: var(--section-pad) 0 0; }
.tag-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.tag-chip { font-size: 0.8rem; font-weight: 600; padding: 7px 14px; border: 1px solid var(--line); border-radius: 20px; color: var(--navy-900); }
.section--navy .tag-chip, .section--charcoal .tag-chip { border-color: var(--line-dark); color: rgba(247,246,241,0.85); }
.two-col-list { columns: 2; column-gap: 40px; }
@media (max-width: 640px) { .two-col-list { columns: 1; } }
.two-col-list li { break-inside: avoid; margin-bottom: 10px; display: flex; gap: 10px; }
.two-col-list li .ico { flex: none; width: 16px; height: 16px; margin-top: 5px; color: var(--amber-600); }

.notice-box { background: var(--paper-dim); border-left: 3px solid var(--amber-500); padding: 18px 22px; font-size: 0.92rem; color: var(--steel-600); border-radius: 0 3px 3px 0; }

/* ---------- Long-form legal content ---------- */
.legal-content { max-width: 820px; }
.legal-content .updated-tag { display: inline-block; font-size: 0.82rem; font-weight: 600; color: var(--amber-600); background: var(--paper-dim); padding: 6px 14px; border-radius: 20px; margin-bottom: 22px; }
.legal-content .legal-toc { background: var(--paper-dim); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 26px; margin-bottom: 40px; }
.legal-content .legal-toc h2 { font-size: 1.05rem; margin: 0 0 14px; }
.legal-content .legal-toc ol { columns: 2; column-gap: 30px; padding-left: 20px; margin: 0; }
.legal-content .legal-toc li { break-inside: avoid; margin-bottom: 8px; font-size: 0.92rem; }
.legal-content .legal-toc a { color: var(--steel-600); }
.legal-content .legal-toc a:hover { color: var(--amber-600); }
.legal-content section { margin-bottom: 40px; scroll-margin-top: 24px; }
.legal-content h2 { font-size: 1.4rem; color: var(--navy-900); margin-bottom: 14px; padding-bottom: 10px; border-bottom: 2px solid var(--line); }
.legal-content h3 { font-size: 1.1rem; color: var(--navy-900); margin: 22px 0 8px; }
.legal-content p { color: var(--steel-600); margin-bottom: 14px; line-height: 1.75; }
.legal-content ul.plain-list { margin: 0 0 14px; padding-left: 20px; color: var(--steel-600); }
.legal-content ul.plain-list li { margin-bottom: 8px; line-height: 1.6; }
.legal-content .check-list, .legal-content .two-col-list { margin-top: 16px; margin-bottom: 20px; }

/* ---------- Cookie consent banner ---------- */
.cookie-banner {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 999;
  background: var(--navy-950);
  border-top: 3px solid var(--amber-500);
  box-shadow: 0 -6px 28px rgba(0,0,0,0.28);
  transform: translateY(100%);
  transition: transform 0.45s var(--ease);
  font-family: var(--font-body);
}
.cookie-banner.is-visible { transform: translateY(0); }
.cookie-banner .container { display: flex; align-items: center; justify-content: space-between; gap: 22px; padding: 20px 0; flex-wrap: wrap; }
.cookie-banner p { margin: 0; font-size: 0.9rem; line-height: 1.6; color: rgba(247,246,241,0.85); max-width: 640px; }
.cookie-banner p a { color: var(--amber-500); text-decoration: underline; }
.cookie-banner p a:hover { color: var(--amber-300); }
.cookie-banner .cookie-actions { display: flex; gap: 12px; flex-wrap: wrap; flex: none; }
.cookie-banner .btn { padding: 12px 22px; font-size: 0.86rem; }
@media (max-width: 720px) {
  .cookie-banner .container { flex-direction: column; align-items: stretch; padding: 18px 0; }
  .cookie-banner .cookie-actions { justify-content: stretch; }
  .cookie-banner .cookie-actions .btn { flex: 1; justify-content: center; }
}
