/* ==========================================================
   Fahad Al-Meraikhi — Football Professional
   Design: "Matchday programme" — maroon & gold, editorial serif,
   tactics-board line work.
   ========================================================== */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /* Brand palette — maroon (Qatar heritage) + matchday gold */
  --primary:      #7a1430;
  --primary-mid:  #9c1d40;
  --primary-dark: #2a0812;
  --accent:       #c8a24a;
  --accent-mid:   #e2c47e;

  /* Neutrals */
  --bg:        #faf7f2;
  --bg-alt:    #f2ece2;
  --surface:   #ffffff;
  --border:    #e4dccf;
  --text:      #1a1418;
  --text-soft: #5a4f53;
  --text-muted:#8a7f82;
  --ink:       #140a0e;

  /* Typography */
  --font-display: 'DM Serif Display', Georgia, serif;
  --font-body:    'DM Sans', system-ui, sans-serif;

  /* Spacing */
  --section-pad: clamp(60px, 8vw, 120px);
  --container:   1200px;
  --radius:      12px;
  --radius-lg:   24px;
  --nav-h:       76px;
}

html { scroll-behavior: smooth; scroll-padding-top: var(--nav-h); }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; }

h1 { font-family: var(--font-display); font-weight: 400; font-size: clamp(2.5rem, 6vw, 5rem); line-height: 1.05; letter-spacing: -0.01em; }
h2 { font-family: var(--font-display); font-weight: 400; font-size: clamp(1.8rem, 4vw, 3rem); line-height: 1.15; }
h3 { font-family: var(--font-display); font-weight: 400; font-size: clamp(1.2rem, 2.5vw, 1.8rem); line-height: 1.25; }
p  { font-family: var(--font-body); font-size: clamp(0.95rem, 1.5vw, 1.1rem); line-height: 1.75; color: var(--text-soft); }

.container { max-width: var(--container); margin-inline: auto; padding-inline: clamp(1rem, 5vw, 2rem); }
.section { padding-block: var(--section-pad); }
.section--alt { background: var(--bg-alt); }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 200;
  background: var(--accent); color: var(--ink); padding: 0.6rem 1rem; border-radius: 6px;
  font-weight: 700; text-decoration: none;
}
.skip-link:focus { top: 1rem; }

/* ---------- Eyebrow / kicker ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 0.75rem;
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--primary);
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--accent); }
.eyebrow--light { color: var(--accent-mid); }

.section-head { max-width: 720px; margin-bottom: clamp(2rem, 5vw, 3.5rem); }
.section-head h2 { margin-top: 0.9rem; }
.section-head p { margin-top: 1rem; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem;
  font-family: var(--font-body); font-weight: 700; font-size: 0.95rem; letter-spacing: 0.02em;
  padding: 0.95rem 1.6rem; border-radius: 999px; border: 2px solid transparent;
  text-decoration: none; cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.2s;
}
.btn svg { width: 18px; height: 18px; transition: transform 0.2s; }
.btn:hover svg { transform: translateX(3px); }
.btn:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.btn--gold { background: var(--accent); color: var(--ink); }
.btn--gold:hover { background: var(--accent-mid); transform: translateY(-2px); }
.btn--maroon { background: var(--primary); color: #fff; }
.btn--maroon:hover { background: var(--primary-mid); transform: translateY(-2px); }
.btn--ghost { border-color: rgba(255,255,255,0.4); color: #fff; }
.btn--ghost:hover { border-color: var(--accent); color: var(--accent-mid); }
.btn--outline { border-color: var(--primary); color: var(--primary); }
.btn--outline:hover { background: var(--primary); color: #fff; }

.text-link {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-weight: 700; color: var(--primary); text-decoration: underline;
  text-decoration-color: var(--accent); text-underline-offset: 5px; text-decoration-thickness: 2px;
  transition: color 0.2s;
}
.text-link:hover { color: var(--primary-mid); }
.text-link svg { width: 16px; height: 16px; flex-shrink: 0; transition: transform 0.2s; }
.text-link:hover svg { transform: translateX(3px); }

/* ==========================================================
   Navigation
   ========================================================== */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--nav-h);
  transition: background 0.3s, box-shadow 0.3s, color 0.3s;
  color: #fff;
}
.site-header.scrolled, .site-header.menu-open {
  background: rgba(250, 247, 242, 0.97);
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 var(--border);
  color: var(--text);
}
.nav { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }

.logo { display: inline-flex; align-items: center; gap: 0.8rem; text-decoration: none; color: inherit; }
.logo-mark { width: 44px; height: 44px; flex-shrink: 0; }
.logo-mark .ring { stroke: var(--accent); }
.logo-mark .mono { fill: currentColor; }
.logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.logo-name { font-family: var(--font-display); font-size: 1.25rem; }
.logo-role { font-size: 0.66rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--accent); }
.site-header.scrolled .logo-role, .site-header.menu-open .logo-role { color: var(--primary); }

.nav-links { display: none; }
.nav-toggle {
  width: 46px; height: 46px; border: 0; background: transparent; color: inherit; cursor: pointer;
  display: grid; place-items: center; border-radius: 8px;
}
.nav-toggle:focus-visible { outline: 3px solid var(--accent); }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  display: block; width: 24px; height: 2px; background: currentColor; position: relative;
  transition: transform 0.25s, background 0.25s;
}
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; }
.nav-toggle span::before { top: -7px; }
.nav-toggle span::after { top: 7px; }
.menu-open .nav-toggle span { background: transparent; }
.menu-open .nav-toggle span::before { transform: translateY(7px) rotate(45deg); }
.menu-open .nav-toggle span::after { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  /* explicit height: the header's backdrop-filter makes it the containing block */
  position: fixed; top: var(--nav-h); left: 0; right: 0; height: calc(100dvh - var(--nav-h));
  background: var(--bg); padding: 2rem clamp(1rem, 5vw, 2rem);
  display: flex; flex-direction: column; gap: 0.25rem;
  transform: translateX(100%); visibility: hidden;
  transition: transform 0.3s ease, visibility 0.3s;
  overflow-y: auto;
}
.menu-open .mobile-menu { transform: none; visibility: visible; }
.mobile-menu a {
  font-family: var(--font-display); font-size: 2rem; color: var(--text); text-decoration: none;
  padding: 0.6rem 0; border-bottom: 1px solid var(--border);
  display: flex; justify-content: space-between; align-items: center;
}
.mobile-menu a[aria-current="page"] { color: var(--primary); }
.mobile-menu a::after { content: "→"; font-family: var(--font-body); font-size: 1.1rem; color: var(--accent); }
.mobile-menu .btn { margin-top: 1.5rem; font-family: var(--font-body); font-size: 1rem; border: 0; color: #fff; justify-content: center; padding: 1rem 1.6rem; }
.mobile-menu .btn::after { content: none; }

@media (min-width: 900px) {
  .nav-toggle, .mobile-menu { display: none; }
  .nav-links { display: flex; align-items: center; gap: clamp(1.2rem, 2.5vw, 2.2rem); list-style: none; }
  .nav-links a:not(.btn) {
    text-decoration: none; font-weight: 500; font-size: 0.95rem; position: relative; padding-block: 0.4rem;
  }
  .nav-links a:not(.btn)::after {
    content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 100%;
    background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform 0.25s;
  }
  .nav-links a:not(.btn):hover::after, .nav-links a[aria-current="page"]::after { transform: scaleX(1); }
  .nav-links a:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; border-radius: 2px; }
  .nav-links .btn { padding: 0.7rem 1.3rem; }
}

/* ==========================================================
   Hero (home)
   ========================================================== */
.hero {
  position: relative; min-height: 100svh; display: flex; align-items: center;
  background:
    radial-gradient(120% 80% at 85% 10%, rgba(156, 29, 64, 0.55), transparent 60%),
    radial-gradient(90% 70% at 0% 100%, rgba(200, 162, 74, 0.12), transparent 60%),
    linear-gradient(160deg, #3d0a19 0%, var(--primary-dark) 45%, var(--ink) 100%);
  color: #fff; overflow: hidden; isolation: isolate;
  padding-top: calc(var(--nav-h) + 2rem); padding-bottom: clamp(5rem, 10vw, 7rem);
}
.hero::after { /* grain */
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0.18; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}
.hero-pitch {
  position: absolute; z-index: -1; pointer-events: none;
  width: min(1100px, 140vw); right: -30vw; top: 50%;
  transform: translateY(-50%) perspective(1200px) rotateX(55deg) rotateZ(-18deg);
  opacity: 0.55;
}
.hero-pitch .pl { stroke: rgba(226, 196, 126, 0.35); stroke-width: 2; fill: none; }
.hero-pitch .run { stroke: var(--accent); stroke-width: 3; fill: none; stroke-dasharray: 10 10; stroke-linecap: round; }
.hero-pitch .run-draw { stroke-dasharray: 600; stroke-dashoffset: 600; animation: draw 2.4s 0.8s ease forwards; }
.hero-pitch .dot { fill: var(--accent); }
.hero-pitch .dot--x { fill: none; stroke: #fff; stroke-width: 3; }
.hero-pitch .arrow { fill: var(--accent); opacity: 0; animation: fadeIn 0.4s 3s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fadeIn { to { opacity: 1; } }

@media (min-width: 1024px) {
  .hero-pitch { right: -12vw; width: min(1100px, 85vw); }
}

.hero-inner { position: relative; width: 100%; }
.hero-content { max-width: 760px; }
.hero h1 { margin-top: 1.4rem; }
.hero h1 em { font-style: italic; color: var(--accent-mid); }
.hero-sub { margin-top: 1.5rem; max-width: 600px; color: rgba(255,255,255,0.78); font-size: clamp(1.02rem, 1.7vw, 1.2rem); }
.hero-actions { margin-top: 2.25rem; display: flex; flex-wrap: wrap; gap: 0.9rem; }

.hero-disciplines {
  margin-top: clamp(3rem, 6vw, 4.5rem); display: flex; flex-wrap: wrap; gap: 0.6rem 1.75rem;
  list-style: none; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase;
  color: rgba(255,255,255,0.65);
}
.hero-disciplines li { display: flex; align-items: center; gap: 0.6rem; }
.hero-disciplines li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }

.load-in { opacity: 0; transform: translateY(24px); animation: loadIn 0.9s cubic-bezier(.2,.7,.2,1) forwards; }
.load-in:nth-child(2) { animation-delay: 0.12s; }
.load-in:nth-child(3) { animation-delay: 0.24s; }
.load-in:nth-child(4) { animation-delay: 0.36s; }
.load-in:nth-child(5) { animation-delay: 0.48s; }
@keyframes loadIn { to { opacity: 1; transform: none; } }

.scroll-cue {
  position: absolute; left: 50%; bottom: 1.5rem; transform: translateX(-50%);
  width: 26px; height: 42px; border: 2px solid rgba(255,255,255,0.35); border-radius: 14px;
  display: none;
}
.scroll-cue::after {
  content: ""; position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px;
  background: var(--accent); border-radius: 2px; animation: cue 1.8s infinite;
}
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(12px); } }
@media (min-width: 768px) and (min-height: 700px) { .scroll-cue { display: block; } }

/* ==========================================================
   Page hero (inner pages)
   ========================================================== */
.page-hero {
  position: relative; overflow: hidden; isolation: isolate; color: #fff;
  background:
    radial-gradient(90% 120% at 100% 0%, rgba(156, 29, 64, 0.6), transparent 60%),
    linear-gradient(160deg, #3d0a19 0%, var(--primary-dark) 55%, var(--ink) 100%);
  padding-top: calc(var(--nav-h) + clamp(3rem, 8vw, 6rem));
  padding-bottom: clamp(3.5rem, 8vw, 6rem);
}
.page-hero::before { /* centre-circle motif */
  content: ""; position: absolute; z-index: -1; right: -120px; top: 50%;
  width: 420px; height: 420px; margin-top: -210px; border-radius: 50%;
  border: 2px solid rgba(226, 196, 126, 0.22);
  box-shadow: 0 0 0 70px rgba(226,196,126,0.04);
}
.page-hero::after {
  content: ""; position: absolute; z-index: -1; right: 90px; top: 0; bottom: 0; width: 2px;
  background: rgba(226, 196, 126, 0.18);
}
.page-hero h1 { margin-top: 1.1rem; max-width: 820px; font-size: clamp(2.3rem, 5.5vw, 4.2rem); }
.page-hero p { margin-top: 1.25rem; max-width: 620px; color: rgba(255,255,255,0.78); }
.breadcrumb { list-style: none; display: flex; gap: 0.5rem; font-size: 0.85rem; color: rgba(255,255,255,0.6); margin-bottom: 1.5rem; }
.breadcrumb a { color: rgba(255,255,255,0.75); text-decoration: none; }
.breadcrumb a:hover { color: var(--accent-mid); }
.breadcrumb li + li::before { content: "/"; margin-right: 0.5rem; color: var(--accent); }

/* ==========================================================
   Intro / statement band
   ========================================================== */
.statement {
  font-family: var(--font-display); font-size: clamp(1.5rem, 3.4vw, 2.6rem); line-height: 1.3;
  color: var(--text); max-width: 980px;
}
.statement em { color: var(--primary); }
.statement-sign { margin-top: 2rem; display: flex; align-items: center; gap: 1rem; }
.statement-sign .line { width: 48px; height: 2px; background: var(--accent); }
.statement-sign span { font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; font-size: 0.8rem; color: var(--text-soft); }

/* ==========================================================
   Discipline / service cards
   ========================================================== */
.card-grid { display: grid; gap: 1.25rem; grid-template-columns: 1fr; }
@media (min-width: 768px) { .card-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .card-grid--3 { grid-template-columns: repeat(3, 1fr); } .card-grid--4 { grid-template-columns: repeat(4, 1fr); } }

.card {
  position: relative; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: clamp(1.6rem, 3vw, 2.2rem); display: flex; flex-direction: column; gap: 0.9rem;
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}
.card:hover { transform: translateY(-6px); box-shadow: 0 22px 44px -22px rgba(42, 8, 18, 0.35); border-color: var(--accent); }
.card-num { font-family: var(--font-display); font-size: 0.95rem; color: var(--accent); letter-spacing: 0.08em; }
.card-icon {
  width: 56px; height: 56px; border-radius: 14px; display: grid; place-items: center;
  background: rgba(122, 20, 48, 0.08); color: var(--primary);
  transition: background 0.25s, color 0.25s;
}
.card:hover .card-icon { background: var(--primary); color: var(--accent-mid); }
.card-icon svg { width: 28px; height: 28px; }
.card h3 { color: var(--text); }
.card p { font-size: 0.98rem; }
.card .text-link { margin-top: auto; padding-top: 0.5rem; font-size: 0.92rem; }

/* ==========================================================
   Split (about) layout
   ========================================================== */
.split { display: grid; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1.1fr; }
  .split--flip > :first-child { order: 2; }
}
.split-text h2 { margin-top: 0.9rem; }
.split-text p { margin-top: 1.1rem; }
.split-text .btn, .split-text .text-link { margin-top: 2rem; }

/* Portrait placeholder */
.portrait {
  position: relative; aspect-ratio: 4 / 5; border-radius: var(--radius-lg); overflow: hidden;
  background:
    repeating-linear-gradient(90deg, rgba(255,255,255,0.035) 0 60px, transparent 60px 120px),
    linear-gradient(170deg, var(--primary) 0%, var(--primary-dark) 70%);
  box-shadow: 0 30px 60px -30px rgba(42, 8, 18, 0.55);
}
.portrait::before { /* pitch markings */
  content: ""; position: absolute; left: 50%; top: 55%; width: 46%; aspect-ratio: 1; transform: translate(-50%, -50%);
  border: 2px solid rgba(226, 196, 126, 0.35); border-radius: 50%;
}
.portrait::after {
  content: ""; position: absolute; left: 0; right: 0; top: 55%; height: 2px; background: rgba(226, 196, 126, 0.35);
}
.portrait-label {
  position: absolute; left: 1.25rem; bottom: 1.25rem; right: 1.25rem; z-index: 1;
  display: flex; justify-content: space-between; align-items: end; color: #fff;
}
.portrait-label strong { font-family: var(--font-display); font-weight: 400; font-size: 1.4rem; display: block; }
.portrait-label span { font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--accent-mid); }
.portrait-badge {
  position: absolute; top: 1.25rem; right: 1.25rem; z-index: 1;
  width: 78px; height: 78px; border-radius: 50%; display: grid; place-items: center; text-align: center;
  background: var(--accent); color: var(--ink); font-size: 0.6rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; line-height: 1.3;
}
.portrait-frame { position: relative; }
.portrait-frame::before {
  content: ""; position: absolute; inset: 1.25rem -1.25rem -1.25rem 1.25rem; border: 2px solid var(--accent);
  border-radius: var(--radius-lg); z-index: -1;
}
.portrait-frame { isolation: isolate; margin-right: 1.25rem; margin-bottom: 1.25rem; }

/* ==========================================================
   Pillars / numbered list (dark band)
   ========================================================== */
.dark-band { background: var(--ink); color: #fff; position: relative; overflow: hidden; }
.dark-band h2 { color: #fff; }
.dark-band p { color: rgba(255,255,255,0.72); }
.dark-band::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(90deg, transparent calc(50% - 1px), rgba(226,196,126,0.09) calc(50% - 1px) calc(50% + 1px), transparent calc(50% + 1px));
}

.pillars { display: grid; gap: 0; grid-template-columns: 1fr; border-top: 1px solid rgba(255,255,255,0.14); position: relative; }
@media (min-width: 768px) { .pillars { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .pillars--4 { grid-template-columns: repeat(4, 1fr); } }
.pillar { padding: 2rem 0; border-bottom: 1px solid rgba(255,255,255,0.14); }
@media (min-width: 768px) { .pillar { padding: 2.25rem 2rem 2.25rem 0; } }
.pillar-num { font-family: var(--font-display); font-size: 3rem; line-height: 1; color: var(--accent); }
.pillar h3 { margin-top: 1rem; color: #fff; font-size: clamp(1.2rem, 2vw, 1.5rem); }
.pillar p { margin-top: 0.6rem; font-size: 0.97rem; }

/* light variant */
.pillars--light { border-top-color: var(--border); }
.pillars--light .pillar { border-bottom-color: var(--border); }
.pillars--light .pillar h3 { color: var(--text); }
.pillars--light .pillar p { color: var(--text-soft); }

/* ==========================================================
   Who I work with — chip list
   ========================================================== */
.chips { display: flex; flex-wrap: wrap; gap: 0.7rem; list-style: none; }
.chips li {
  padding: 0.65rem 1.15rem; border-radius: 999px; background: var(--surface); border: 1px solid var(--border);
  font-weight: 500; font-size: 0.95rem; color: var(--text);
  transition: border-color 0.2s, background 0.2s, color 0.2s;
}
.chips li:hover { border-color: var(--primary); background: var(--primary); color: #fff; }

/* ==========================================================
   Detail blocks (expertise page)
   ========================================================== */
.detail { display: grid; gap: 2rem; padding-block: clamp(2.5rem, 5vw, 4rem); border-top: 1px solid var(--border); }
.detail:first-child { border-top: 0; padding-top: 0; }
@media (min-width: 900px) { .detail { grid-template-columns: 0.9fr 1.4fr; gap: 4rem; } }
.detail-head .card-icon { margin-bottom: 1.25rem; }
.detail-head h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); margin-top: 0.6rem; }
.detail-body p + p { margin-top: 1rem; }
.ticks { list-style: none; margin-top: 1.5rem; display: grid; gap: 0.75rem; }
@media (min-width: 600px) { .ticks { grid-template-columns: 1fr 1fr; } }
.ticks li { display: flex; gap: 0.7rem; align-items: flex-start; color: var(--text); font-size: 0.98rem; }
.ticks li svg { width: 20px; height: 20px; flex-shrink: 0; color: var(--primary); margin-top: 0.2rem; }

/* ==========================================================
   Quote block
   ========================================================== */
.pull-quote { position: relative; padding-left: clamp(1.5rem, 4vw, 3rem); border-left: 3px solid var(--accent); max-width: 900px; }
.pull-quote blockquote { font-family: var(--font-display); font-size: clamp(1.4rem, 3vw, 2.2rem); line-height: 1.35; color: var(--text); }
.pull-quote figcaption { margin-top: 1.25rem; font-size: 0.85rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--primary); }

/* ==========================================================
   Timeline (vision page)
   ========================================================== */
.timeline { list-style: none; position: relative; display: grid; gap: 2.5rem; padding-left: 2.25rem; }
.timeline::before { content: ""; position: absolute; left: 7px; top: 6px; bottom: 6px; width: 2px; background: linear-gradient(var(--accent), var(--primary)); }
.timeline li { position: relative; }
.timeline li::before {
  content: ""; position: absolute; left: -2.25rem; top: 6px; width: 16px; height: 16px; border-radius: 50%;
  background: var(--bg); border: 3px solid var(--primary);
}
.timeline .phase { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--accent); }
.timeline h3 { margin-top: 0.35rem; color: var(--text); }
.timeline p { margin-top: 0.5rem; max-width: 640px; }

/* ==========================================================
   CTA band
   ========================================================== */
.cta-band {
  position: relative; overflow: hidden; isolation: isolate; color: #fff; text-align: center;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  border-radius: var(--radius-lg); padding: clamp(3rem, 7vw, 5.5rem) clamp(1.5rem, 5vw, 4rem);
}
.cta-band::before {
  content: ""; position: absolute; z-index: -1; left: 50%; top: 50%; width: 520px; height: 520px;
  transform: translate(-50%, -50%); border-radius: 50%; border: 2px solid rgba(226,196,126,0.22);
}
.cta-band::after {
  content: ""; position: absolute; z-index: -1; left: 0; right: 0; top: 50%; height: 2px; background: rgba(226,196,126,0.16);
}
.cta-band h2 { color: #fff; max-width: 760px; margin: 0.9rem auto 0; }
.cta-band p { color: rgba(255,255,255,0.8); max-width: 580px; margin: 1rem auto 0; }
.cta-band .hero-actions { justify-content: center; }

/* ==========================================================
   Contact
   ========================================================== */
.contact-grid { display: grid; gap: clamp(2rem, 5vw, 4rem); }
@media (min-width: 1024px) { .contact-grid { grid-template-columns: 0.85fr 1.15fr; } }

.contact-list { list-style: none; display: grid; gap: 1rem; margin-top: 2rem; }
.contact-list li { display: flex; gap: 1rem; align-items: center; }
.contact-list .card-icon { width: 48px; height: 48px; flex-shrink: 0; }
.contact-list .card-icon svg { width: 22px; height: 22px; }
.contact-list small { display: block; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-muted); }
.contact-list a { font-weight: 500; color: var(--text); text-decoration: none; word-break: break-word; }
.contact-list a:hover { color: var(--primary); text-decoration: underline; text-decoration-color: var(--accent); }

.form-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: clamp(1.5rem, 4vw, 2.75rem); box-shadow: 0 30px 60px -40px rgba(42, 8, 18, 0.35); }
.form-card h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
.form-card > p { margin-top: 0.5rem; }
.form-grid { display: grid; gap: 1.1rem; margin-top: 1.75rem; }
@media (min-width: 640px) { .form-grid { grid-template-columns: 1fr 1fr; } .form-grid .full { grid-column: 1 / -1; } }
.field { display: flex; flex-direction: column; gap: 0.4rem; }
.field label { font-size: 0.85rem; font-weight: 700; color: var(--text); }
.field label .opt { font-weight: 400; color: var(--text-muted); }
.field input, .field select, .field textarea {
  font: inherit; font-size: 1rem; color: var(--text); background: var(--bg);
  border: 1.5px solid var(--border); border-radius: 10px; padding: 0.85rem 1rem; width: 100%;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--primary); background: #fff; box-shadow: 0 0 0 4px rgba(122, 20, 48, 0.12);
}
.field input:user-invalid, .field textarea:user-invalid { border-color: #b3261e; }
.form-note { font-size: 0.85rem; color: var(--text-muted); }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; }

.form-success { display: none; text-align: center; padding: 2rem 0.5rem; }
.form-success .card-icon { margin: 0 auto 1.25rem; background: var(--primary); color: var(--accent-mid); width: 72px; height: 72px; border-radius: 50%; }
.form-success .card-icon svg { width: 34px; height: 34px; }
.form-success p { margin-top: 0.75rem; }
.form-card.sent form { display: none; }
.form-card.sent .form-success { display: block; animation: loadIn 0.6s forwards; }

/* FAQ */
.faq { display: grid; gap: 0.75rem; max-width: 860px; }
.faq details { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 0 1.4rem; transition: border-color 0.2s; }
.faq details[open] { border-color: var(--accent); }
.faq summary {
  cursor: pointer; list-style: none; padding: 1.2rem 0; font-weight: 700; color: var(--text);
  display: flex; justify-content: space-between; gap: 1rem; align-items: center;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--font-display); font-size: 1.6rem; line-height: 1; color: var(--primary); transition: transform 0.2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; border-radius: 4px; }
.faq details p { padding-bottom: 1.25rem; font-size: 0.98rem; }

/* ==========================================================
   Footer
   ========================================================== */
.site-footer { background: var(--ink); color: rgba(255,255,255,0.7); padding-top: clamp(3.5rem, 7vw, 5.5rem); }
.footer-grid { display: grid; gap: 2.5rem; padding-bottom: 3rem; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1.5fr 1fr 1.2fr; } }
.site-footer .logo { color: #fff; }
.footer-about p { margin-top: 1.25rem; color: rgba(255,255,255,0.6); font-size: 0.95rem; max-width: 360px; }
.site-footer h2 { font-family: var(--font-body); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--accent); margin-bottom: 1.1rem; }
.footer-links { list-style: none; display: grid; gap: 0.6rem; }
.site-footer a { color: rgba(255,255,255,0.8); text-decoration: none; transition: color 0.2s; }
.site-footer a:hover { color: var(--accent-mid); }
.site-footer address { font-style: normal; display: grid; gap: 0.6rem; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12); padding-block: 1.5rem;
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.75rem; font-size: 0.85rem; color: rgba(255,255,255,0.5);
}
.footer-bottom a { color: rgba(255,255,255,0.7); text-decoration: underline; text-underline-offset: 3px; }

/* ==========================================================
   404
   ========================================================== */
.notfound { min-height: 100svh; display: grid; place-items: center; text-align: center; }
.notfound .big { font-family: var(--font-display); font-size: clamp(6rem, 22vw, 14rem); line-height: 0.9; color: var(--accent); }
.notfound .page-hero::before { right: auto; left: 50%; margin-left: -210px; }

/* ==========================================================
   Reveal
   ========================================================== */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity: 1; transform: none; }
.card-grid .reveal:nth-child(2), .pillars .reveal:nth-child(2) { transition-delay: 0.08s; }
.card-grid .reveal:nth-child(3), .pillars .reveal:nth-child(3) { transition-delay: 0.16s; }
.card-grid .reveal:nth-child(4), .pillars .reveal:nth-child(4) { transition-delay: 0.24s; }
