/* ============================================================
   Merkur Casino Holdings UK Limited — Corporate Holding Website
   British Corporate Holding Group · Design System
   ============================================================ */

/* ---------- Design Tokens ---------- */
:root {
  --navy: #0e1f3d;
  --navy-deep: #0a1626;
  --navy-mid: #14294a;
  --graphite: #23272e;
  --ink: #1b1f26;
  --steel: #8fa3b8;
  --steel-soft: #c7d2dd;
  --steel-faint: #e8edf3;
  --paper: #f7f8fa;
  --white: #ffffff;
  --line: #e4e9ef;
  --gold: #b08d57;
  --gold-soft: #c9a96a;
  --gold-bright: #e4c483;
  --font-display: "Playfair Display", "Georgia", "Times New Roman", serif;
  --font-body: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  --shadow-soft: 0 18px 50px -18px rgba(14, 31, 61, 0.18);
  --shadow-lift: 0 26px 60px -20px rgba(14, 31, 61, 0.28);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ---------- Reset & Base ---------- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--graphite);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  cursor: pointer;
}

::selection {
  background: var(--gold);
  color: var(--white);
}

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

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.14;
  color: var(--navy);
}

p {
  color: #4a5361;
}

.container {
  width: min(1180px, calc(100% - 48px));
  margin-inline: auto;
}

/* ---------- Typography Helpers ---------- */
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
}

.kicker::before {
  content: "";
  width: 34px;
  height: 1px;
  background: var(--gold);
}

.kicker--light {
  color: var(--gold-soft);
}

.kicker--light::before {
  background: var(--gold-soft);
}

.lead {
  font-size: 17px;
  line-height: 1.7;
  color: #556070;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 32px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border: 1px solid transparent;
  transition: all 0.3s var(--ease);
  white-space: nowrap;
}

.btn .arrow {
  transition: transform 0.3s var(--ease);
  font-size: 14px;
  line-height: 1;
}

.btn:hover .arrow {
  transform: translateX(5px);
}

.btn-gold {
  background: var(--gold);
  color: #10233f;
}

.btn-gold:hover {
  background: #9d7a47;
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 14px 30px -12px rgba(176, 141, 87, 0.55);
}

.btn-outline-light {
  border-color: rgba(255, 255, 255, 0.45);
  color: var(--white);
}

.btn-outline-light:hover {
  border-color: var(--gold-soft);
  color: var(--gold-soft);
  transform: translateY(-2px);
}

.btn-outline-dark {
  border-color: rgba(14, 31, 61, 0.28);
  color: var(--navy);
}

.btn-outline-dark:hover {
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 11px 22px;
  font-size: 11.5px;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--navy);
  border-bottom: 1px solid var(--gold);
  padding-bottom: 5px;
  transition: color 0.25s var(--ease), border-color 0.25s var(--ease);
}

.link-arrow .arrow {
  transition: transform 0.25s var(--ease);
}

.link-arrow:hover {
  color: var(--gold);
}

.link-arrow:hover .arrow {
  transform: translateX(4px);
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.3s var(--ease);
}

.site-header.is-scrolled {
  box-shadow: 0 10px 30px -18px rgba(14, 31, 61, 0.25);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 86px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
}

.brand-mark {
  width: 46px;
  height: 46px;
  flex-shrink: 0;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.brand-name {
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--navy);
}

.brand-sub {
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--gold);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 34px;
}

.main-nav a {
  position: relative;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--graphite);
  padding: 6px 0;
  transition: color 0.25s var(--ease);
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}

.main-nav a:hover {
  color: var(--gold);
}

.main-nav a:hover::after,
.main-nav a.active::after {
  transform: scaleX(1);
}

.main-nav a.active {
  color: var(--gold);
}

.header-cta {
  display: inline-flex;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 46px;
  height: 46px;
  background: none;
  border: 1px solid var(--line);
  padding: 12px 11px;
}

.nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--navy);
  transition: all 0.3s var(--ease);
}

.nav-toggle.is-open span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.nav-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.is-open span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* ---------- Hero (Home) ---------- */
.hero {
  position: relative;
  min-height: min(92vh, 860px);
  display: flex;
  align-items: flex-end;
  background:
    linear-gradient(105deg, rgba(10, 22, 38, 0.88) 8%, rgba(11, 27, 51, 0.55) 55%, rgba(11, 27, 51, 0.35) 100%),
    url("../images/hero-facade.svg") center / cover no-repeat;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(7, 15, 30, 0.85), transparent 42%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 150px 0 160px;
  max-width: 780px;
}

.hero-content .kicker {
  margin-bottom: 26px;
}

.hero h1 {
  font-size: clamp(2.7rem, 5.6vw, 4.5rem);
  color: var(--white);
  margin-bottom: 28px;
}

.hero h1 em {
  font-style: normal;
  color: var(--gold-soft);
}

.hero-lead {
  font-size: 18px;
  line-height: 1.75;
  color: var(--steel-soft);
  max-width: 620px;
  margin-bottom: 40px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.hero-rule {
  width: 72px;
  height: 2px;
  background: var(--gold);
  margin-bottom: 34px;
}

/* ---------- Stats Bar ---------- */
.stats-bar {
  position: relative;
  z-index: 5;
  margin-top: -74px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}

.stat {
  padding: 38px 34px;
  border-right: 1px solid var(--line);
  transition: background 0.3s var(--ease);
}

.stat:last-child {
  border-right: none;
}

.stat:hover {
  background: var(--paper);
}

.stat-value {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3vw, 2.6rem);
  font-weight: 600;
  color: var(--navy);
  line-height: 1;
  margin-bottom: 10px;
}

.stat-value sup {
  font-size: 0.45em;
  color: var(--gold);
  margin-left: 4px;
}

.stat-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--steel);
}

.stat-note {
  display: block;
  font-size: 11px;
  color: var(--steel);
  margin-top: 2px;
  letter-spacing: 0.02em;
  text-transform: none;
}

/* ---------- Sections ---------- */
.section {
  padding: 104px 0;
}

.section--paper {
  background: var(--paper);
}

.section--navy {
  background: var(--navy-deep);
  color: var(--steel-soft);
}

.section--navy h2,
.section--navy h3 {
  color: var(--white);
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 40px;
  align-items: end;
  margin-bottom: 64px;
}

.section-head .kicker {
  margin-bottom: 18px;
}

.section-head h2 {
  font-size: clamp(1.9rem, 3.4vw, 2.9rem);
}

.section-head .lead {
  max-width: 480px;
}

.section-note {
  margin-top: 36px;
  font-size: 13.5px;
  color: var(--steel);
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.section-note::before {
  content: "";
  width: 6px;
  height: 6px;
  margin-top: 7px;
  flex-shrink: 0;
  background: var(--gold);
  transform: rotate(45deg);
}

/* ---------- Merged Section Head (single block) ---------- */
.contact-head {
  margin-bottom: 56px;
}

.contact-head .kicker {
  margin-bottom: 18px;
}

.contact-head h2 {
  font-size: clamp(1.9rem, 3.4vw, 2.9rem);
  margin-bottom: 18px;
}

.contact-head .lead {
  max-width: 640px;
}

/* ---------- Activity Cards ---------- */
.activities-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.activity-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  padding: 44px 38px 40px;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
  overflow: hidden;
}

.activity-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-bright));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
}

.activity-card:hover {
  transform: translateY(-7px);
  box-shadow: var(--shadow-lift);
}

.activity-card:hover::before {
  transform: scaleX(1);
}

.activity-num {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 22px;
}

.activity-card h3 {
  font-size: 1.3rem;
  margin-bottom: 12px;
}

.activity-card p {
  font-size: 14.5px;
}

.activity-tag {
  display: inline-block;
  margin-top: 20px;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--steel);
}

/* ---------- Portfolio Cards ---------- */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.portfolio-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  padding: 42px 40px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
  overflow: hidden;
}

.portfolio-card::after {
  content: "";
  position: absolute;
  right: 0;
  top: 0;
  width: 4px;
  height: 100%;
  background: var(--navy);
  transition: background 0.35s var(--ease);
}

.portfolio-card:hover {
  transform: translateY(-7px);
  box-shadow: var(--shadow-lift);
}

.portfolio-card:hover::after {
  background: var(--gold);
}

.portfolio-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.portfolio-id {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--gold);
}

.status-chip {
  display: inline-block;
  padding: 6px 14px;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: var(--navy);
  color: var(--white);
}

.status-chip--associate {
  background: transparent;
  color: var(--navy);
  border: 1px solid var(--navy);
}

.portfolio-card h3 {
  font-size: 1.45rem;
}

.portfolio-sector {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--steel);
}

.portfolio-card p {
  font-size: 14.5px;
  flex-grow: 1;
}

.portfolio-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.portfolio-share {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--navy);
}

.portfolio-share small {
  display: block;
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--steel);
  margin-top: 3px;
}

.portfolio-card .link-arrow {
  font-size: 11.5px;
}

/* ---------- Structure Diagram ---------- */
.diagram-frame {
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
  padding: clamp(24px, 4vw, 56px);
  position: relative;
}

.diagram-frame::before {
  content: "";
  position: absolute;
  top: 18px;
  left: 18px;
  width: 44px;
  height: 44px;
  border-top: 2px solid var(--gold);
  border-left: 2px solid var(--gold);
  pointer-events: none;
}

.diagram-frame::after {
  content: "";
  position: absolute;
  bottom: 18px;
  right: 18px;
  width: 44px;
  height: 44px;
  border-bottom: 2px solid var(--gold);
  border-right: 2px solid var(--gold);
  pointer-events: none;
}

.diagram-frame svg {
  width: 100%;
  height: auto;
}

.diagram-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
  margin-top: 34px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: #556070;
}

.legend-swatch {
  width: 26px;
  height: 0;
  border-top: 2px solid var(--navy);
}

.legend-swatch--gold {
  border-color: var(--gold);
}

.legend-swatch--dashed {
  border-top-style: dashed;
  border-color: var(--steel);
}

.legend-box {
  width: 16px;
  height: 16px;
  background: var(--navy);
}

.legend-box--gold {
  background: var(--gold);
}

/* ---------- Principles ---------- */
.principles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.principle-card {
  padding: 40px 36px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.03);
  transition: background 0.35s var(--ease), transform 0.35s var(--ease), border-color 0.35s var(--ease);
}

.principle-card:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(201, 169, 106, 0.5);
  transform: translateY(-6px);
}

.principle-icon {
  width: 44px;
  height: 44px;
  margin-bottom: 24px;
  color: var(--gold-soft);
}

.principle-card h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.principle-card p {
  font-size: 14px;
  color: var(--steel-soft);
}

/* ---------- Timeline ---------- */
.timeline {
  position: relative;
  padding-left: 40px;
  max-width: 760px;
}

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

.timeline-item {
  position: relative;
  padding-bottom: 44px;
}

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

.timeline-item::before {
  content: "";
  position: absolute;
  left: -36px;
  top: 8px;
  width: 11px;
  height: 11px;
  background: var(--white);
  border: 2px solid var(--gold);
  transform: rotate(45deg);
}

.timeline-year {
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 600;
  color: var(--navy);
  line-height: 1;
  margin-bottom: 8px;
}

.timeline-title {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
}

.timeline-item p {
  font-size: 15px;
  max-width: 640px;
}

/* ---------- Corporate Overview ---------- */
.overview-wrap {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 64px;
  align-items: start;
}

.overview-list {
  border-top: 2px solid var(--navy);
}

.overview-row {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 24px;
  padding: 20px 4px;
  border-bottom: 1px solid var(--line);
  transition: background 0.25s var(--ease);
}

.overview-row:hover {
  background: var(--paper);
}

.overview-row dt {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--steel);
  padding-top: 4px;
}

.overview-row dd {
  font-size: 15px;
  font-weight: 500;
  color: var(--navy);
}

.overview-side p {
  font-size: 15.5px;
  margin-bottom: 20px;
}

/* ---------- FAQ ---------- */
.faq-wrap {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 64px;
  align-items: start;
}

.faq-list {
  border-top: 2px solid var(--navy);
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 4px;
  background: none;
  border: none;
  text-align: left;
  font-size: 16.5px;
  font-weight: 600;
  color: var(--navy);
  transition: color 0.25s var(--ease);
}

.faq-question:hover {
  color: var(--gold);
}

.faq-icon {
  position: relative;
  width: 30px;
  height: 30px;
  flex-shrink: 0;
  border: 1px solid var(--gold);
}

.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 1.5px;
  background: var(--gold);
  transform: translate(-50%, -50%);
  transition: transform 0.3s var(--ease);
}

.faq-icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.faq-item.is-open .faq-icon::after {
  transform: translate(-50%, -50%) rotate(0deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease);
}

.faq-answer p {
  padding: 0 44px 26px 4px;
  font-size: 14.5px;
}

/* ---------- CTA Panel ---------- */
.cta-panel {
  position: relative;
  background:
    linear-gradient(100deg, rgba(10, 22, 38, 0.94) 20%, rgba(11, 27, 51, 0.72) 100%),
    url("../images/portfolio-banner.svg") center / cover no-repeat;
  color: var(--steel-soft);
  padding: 96px 0;
  overflow: hidden;
}

.cta-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: 48px;
  align-items: center;
}

.cta-panel h2 {
  font-size: clamp(1.9rem, 3.4vw, 2.9rem);
  color: var(--white);
  margin: 18px 0 20px;
}

.cta-panel p {
  color: var(--steel-soft);
  max-width: 540px;
}

.cta-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 16px;
}

.cta-contact-line {
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--steel);
}

.cta-contact-line a {
  color: var(--gold-soft);
  border-bottom: 1px solid rgba(201, 169, 106, 0.5);
  transition: color 0.25s var(--ease);
}

.cta-contact-line a:hover {
  color: var(--white);
}

/* ---------- Contact Strip (Home) ---------- */
.contact-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.contact-card {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 38px 34px;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.contact-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-soft);
}

.contact-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}

.contact-value {
  font-size: 16px;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.5;
}

.contact-value a {
  transition: color 0.25s var(--ease);
}

.contact-value a:hover {
  color: var(--gold);
}

.contact-sub {
  font-size: 13.5px;
  color: var(--steel);
  margin-top: 8px;
}

.hours-card {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 18px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-left: 3px solid var(--gold);
  padding: 28px 34px;
}

.hours-line {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  font-size: 14px;
}

.hours-line span b {
  font-weight: 600;
  color: var(--navy);
}

.hours-line .closed {
  color: var(--steel);
}

/* ---------- Page Hero (Inner Pages) ---------- */
.page-hero {
  position: relative;
  background:
    linear-gradient(110deg, rgba(10, 22, 38, 0.95) 15%, rgba(20, 41, 74, 0.82) 100%),
    url("../images/hero-facade.svg") center / cover no-repeat;
  padding: 120px 0 96px;
  overflow: hidden;
}

.page-hero::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), transparent 60%);
}

.page-hero .kicker {
  margin-bottom: 20px;
}

.page-hero h1 {
  font-size: clamp(2.3rem, 4.4vw, 3.6rem);
  color: var(--white);
  max-width: 820px;
  margin-bottom: 22px;
}

.page-hero .lead {
  color: var(--steel-soft);
  max-width: 640px;
  font-size: 17px;
}

.breadcrumbs {
  margin-top: 34px;
  font-size: 11.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--steel);
}

.breadcrumbs a {
  color: var(--gold-soft);
  transition: color 0.25s var(--ease);
}

.breadcrumbs a:hover {
  color: var(--white);
}

/* ---------- About Split ---------- */
.about-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 72px;
  align-items: center;
}

.about-media {
  position: relative;
}

.about-media img {
  width: 100%;
  height: auto;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}

.about-media::before {
  content: "";
  position: absolute;
  top: -22px;
  left: -22px;
  width: 110px;
  height: 110px;
  border-top: 2px solid var(--gold);
  border-left: 2px solid var(--gold);
}

.about-media figcaption {
  margin-top: 16px;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--steel);
}

.about-copy h2 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  margin: 16px 0 22px;
}

.about-copy p {
  font-size: 15.5px;
  margin-bottom: 18px;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.value-card {
  border: 1px solid var(--line);
  padding: 36px 32px;
  background: var(--white);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.value-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-soft);
}

.value-num {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.26em;
  color: var(--gold);
  margin-bottom: 16px;
}

.value-card h3 {
  font-size: 1.15rem;
  margin-bottom: 10px;
}

.value-card p {
  font-size: 14px;
}

/* ---------- Goals / Approach ---------- */
.approach-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.approach-card {
  display: flex;
  gap: 22px;
  padding: 34px 32px;
  border: 1px solid var(--line);
  background: var(--white);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.approach-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-soft);
}

.approach-icon {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  color: var(--gold);
}

.approach-card h3 {
  font-size: 1.12rem;
  margin-bottom: 8px;
}

.approach-card p {
  font-size: 14px;
}

/* ---------- Contact Page ---------- */
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 56px;
  align-items: start;
}

.contact-info-card {
  border: 1px solid var(--line);
  background: var(--white);
  padding: 30px 32px;
  margin-bottom: 20px;
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 20px;
  align-items: start;
  transition: box-shadow 0.3s var(--ease), transform 0.3s var(--ease);
}

.contact-info-card:hover {
  box-shadow: var(--shadow-soft);
  transform: translateY(-4px);
}

.contact-info-icon {
  width: 42px;
  height: 42px;
  color: var(--gold);
}

.contact-info-card h3 {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--steel);
  margin-bottom: 8px;
}

.contact-info-card p,
.contact-info-card a {
  font-size: 15.5px;
  font-weight: 500;
  color: var(--navy);
  line-height: 1.55;
}

.contact-info-card a:hover {
  color: var(--gold);
}

.contact-info-card small {
  display: block;
  margin-top: 6px;
  font-size: 13px;
  font-weight: 400;
  color: var(--steel);
}

.contact-form-frame {
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
  padding: clamp(30px, 4vw, 52px);
  position: relative;
}

.contact-form-frame::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--navy) 55%, var(--gold));
}

.form-title {
  font-size: 1.6rem;
  margin-bottom: 8px;
}

.form-sub {
  font-size: 14px;
  color: var(--steel);
  margin-bottom: 34px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-field--full {
  grid-column: 1 / -1;
}

.form-field label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--navy);
}

.form-field label .req {
  color: var(--gold);
}

.form-field input,
.form-field select,
.form-field textarea {
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--graphite);
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 14px 16px;
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease);
  border-radius: 0;
  width: 100%;
}

.form-field textarea {
  min-height: 150px;
  resize: vertical;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--gold);
  background: var(--white);
}

.form-field.has-error input,
.form-field.has-error select,
.form-field.has-error textarea {
  border-color: #b4533a;
}

.form-error {
  font-size: 12px;
  color: #b4533a;
  min-height: 16px;
}

.form-actions {
  margin-top: 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 18px;
}

.form-note {
  font-size: 12.5px;
  color: var(--steel);
  max-width: 320px;
}

.form-success {
  display: none;
  margin-top: 26px;
  background: var(--navy);
  border-left: 3px solid var(--gold);
  padding: 22px 26px;
}

.form-success.is-visible {
  display: block;
  animation: fadeUp 0.5s var(--ease);
}

.form-success strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--white);
  margin-bottom: 6px;
}

.form-success p {
  font-size: 14px;
  color: var(--steel-soft);
}

/* ---------- Modal ---------- */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(8, 14, 26, 0.6);
  backdrop-filter: blur(5px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s var(--ease), visibility 0.3s var(--ease);
}

.modal-overlay.is-open {
  opacity: 1;
  visibility: visible;
}

.modal-panel {
  position: relative;
  width: min(680px, 100%);
  max-height: min(84vh, 720px);
  overflow-y: auto;
  background: var(--white);
  border-top: 3px solid var(--gold);
  padding: clamp(30px, 4vw, 50px);
  transform: translateY(26px);
  transition: transform 0.35s var(--ease);
  box-shadow: 0 40px 90px -30px rgba(0, 0, 0, 0.45);
}

.modal-overlay.is-open .modal-panel {
  transform: translateY(0);
}

.modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--navy);
  font-size: 18px;
  line-height: 1;
  transition: all 0.25s var(--ease);
}

.modal-close:hover {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

.modal-id {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}

.modal-panel h3 {
  font-size: 1.7rem;
  margin-bottom: 6px;
}

.modal-sector {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--steel);
  margin-bottom: 24px;
}

.modal-body p {
  font-size: 14.5px;
  margin-bottom: 14px;
}

.modal-facts {
  margin: 26px 0;
  border-top: 2px solid var(--navy);
}

.modal-facts .overview-row dd {
  font-size: 14.5px;
}

.modal-disclaimer {
  font-size: 12.5px;
  font-style: italic;
  color: var(--steel);
  border-top: 1px solid var(--line);
  padding-top: 18px;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy-deep);
  color: var(--steel-soft);
}

.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.8fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: 48px;
  padding: 78px 0 60px;
}

.footer-brand .brand-name {
  color: var(--white);
}

.footer-brand .brand {
  margin-bottom: 22px;
}

.footer-blurb {
  font-size: 14px;
  line-height: 1.7;
  color: var(--steel);
  max-width: 340px;
  margin-bottom: 20px;
}

.footer-heading {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold-soft);
  margin-bottom: 22px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  font-size: 14px;
  color: var(--steel-soft);
  transition: color 0.25s var(--ease), padding-left 0.25s var(--ease);
}

.footer-links a:hover {
  color: var(--gold-soft);
  padding-left: 6px;
}

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

.footer-contact a {
  transition: color 0.25s var(--ease);
}

.footer-contact a:hover {
  color: var(--gold-soft);
}

.footer-hours {
  font-size: 14px;
  line-height: 1.9;
}

.footer-hours .closed {
  color: var(--steel);
}

.footer-hours b {
  color: var(--white);
  font-weight: 600;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 26px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 12.5px;
  color: var(--steel);
}

.footer-legal {
  max-width: 640px;
  line-height: 1.6;
}

/* ---------- Diagram SVG shared styles ---------- */
.struct-svg text {
  font-family: var(--font-body);
}

/* ---------- Reveal Animations ---------- */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.75s var(--ease), transform 0.75s var(--ease);
  will-change: opacity, transform;
}

.js [data-reveal].is-revealed {
  opacity: 1;
  transform: translateY(0);
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

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

  * {
    animation-duration: 0.001s !important;
    transition-duration: 0.001s !important;
  }
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .main-nav {
    gap: 24px;
  }

  .header-cta {
    display: none;
  }

  .section {
    padding: 88px 0;
  }
}

@media (max-width: 920px) {
  .nav-toggle {
    display: flex;
  }

  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 30px 40px -24px rgba(14, 31, 61, 0.3);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s var(--ease);
  }

  .main-nav.is-open {
    max-height: 420px;
  }

  .main-nav a {
    padding: 18px 24px;
    border-top: 1px solid var(--line);
  }

  .main-nav a::after {
    display: none;
  }

  .main-nav a.active {
    color: var(--gold);
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stat:nth-child(2) {
    border-right: none;
  }

  .stat:nth-child(1),
  .stat:nth-child(2) {
    border-bottom: 1px solid var(--line);
  }

  .section-head,
  .overview-wrap,
  .faq-wrap,
  .cta-inner,
  .contact-layout,
  .about-split {
    grid-template-columns: 1fr;
  }

  .activities-grid,
  .principles-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .cta-actions {
    align-items: flex-start;
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
    padding: 60px 0 44px;
  }
}

@media (max-width: 620px) {
  .container {
    width: calc(100% - 36px);
  }

  .hero-content {
    padding: 120px 0 130px;
  }

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

  .stats-grid,
  .activities-grid,
  .principles-grid,
  .portfolio-grid,
  .values-grid,
  .approach-grid,
  .contact-strip,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .stat {
    border-right: none;
    border-bottom: 1px solid var(--line);
  }

  .stat:last-child {
    border-bottom: none;
  }

  .portfolio-card {
    padding: 34px 28px;
  }

  .timeline {
    padding-left: 30px;
  }

  .overview-row {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .brand-name {
    font-size: 12.5px;
  }
}
