/* =========================================================================
   Makeology Consulting Services — stylesheet
   Theme: Corporate / Tech — Dark
   Deep navy-black surfaces, layered elevation, electric-blue accent + glow.
   Type: Lexend (headings) + Source Sans 3 (body) + JetBrains Mono (labels)
   ========================================================================= */

/* ---------- Design tokens ---------- */
:root {
  /* Surfaces (dimmed slate, layered for depth) */
  --bg:          #1B2330;   /* page base — soft dark slate */
  --surface:     #232E3D;   /* cards on base */
  --surface-2:   #181F2B;   /* alternate band (subtly recessed) */
  --surface-3:   #2B3749;   /* elevated / hover */
  --input-bg:    #151C27;   /* recessed form fields */
  --footer-bg:   #151B25;

  /* Lines */
  --line:        rgba(148, 163, 184, 0.16);
  --line-strong: rgba(148, 163, 184, 0.30);

  /* Text */
  --heading:     #F1F5F9;
  --text:        #C8D2E0;
  --muted:       #8B97AD;
  --muted-2:     #6B7891;

  /* Accent / brand */
  --accent:      #38BDF8;   /* sky — eyebrows, icons, highlights */
  --accent-soft: rgba(56, 189, 248, 0.12);
  --link:        #7DD3FC;
  --cta:         #0284C7;    /* button bg (white text ≈ 4.9:1) */
  --cta-hover:   #0369A1;
  --glow:        rgba(56, 189, 248, 0.35);
  --focus:       #38BDF8;

  /* Typography */
  --font-head: 'Lexend', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --font-body: 'Source Sans 3', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  /* Fluid type scale */
  --fs-eyebrow: 0.78125rem;
  --fs-body:    1.0625rem;
  --fs-lead:    clamp(1.125rem, 0.95rem + 0.75vw, 1.375rem);
  --fs-h3:      1.25rem;
  --fs-h2:      clamp(1.75rem, 1.3rem + 2vw, 2.6rem);
  --fs-h1:      clamp(2.1rem, 1.3rem + 3.6vw, 3.75rem);

  /* Spacing & shape */
  --container: 1120px;
  --gutter: clamp(1.25rem, 0.8rem + 2vw, 2.5rem);
  --section-y: clamp(3.5rem, 2rem + 6vw, 6.5rem);
  --radius: 12px;
  --radius-lg: 18px;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 14px 40px -18px rgba(0, 0, 0, 0.7);
  --shadow-lg: 0 30px 70px -28px rgba(0, 0, 0, 0.85);

  /* Motion */
  --t-fast: 160ms ease;
  --t: 220ms cubic-bezier(0.4, 0, 0.2, 1);

  /* z-index scale */
  --z-header: 50;
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
html:focus-within { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }
a { color: var(--link); text-decoration: none; }
a:hover { color: #BAE6FD; }

h1, h2, h3 {
  font-family: var(--font-head);
  color: var(--heading);
  line-height: 1.12;
  font-weight: 600;
  letter-spacing: -0.015em;
}
h1 { font-size: var(--fs-h1); letter-spacing: -0.025em; }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); line-height: 1.25; }

::selection { background: rgba(56, 189, 248, 0.28); color: #fff; }

:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ---------- Layout helpers ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.section { padding-block: var(--section-y); position: relative; }

.eyebrow {
  font-family: var(--font-mono);
  font-size: var(--fs-eyebrow);
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.95rem;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}
.eyebrow::before {
  content: "";
  width: 1.6rem;
  height: 1px;
  background: linear-gradient(90deg, var(--accent), transparent);
}

.section-head { max-width: 46rem; margin-bottom: clamp(2rem, 1rem + 3vw, 3.25rem); }
.section-lead { font-size: var(--fs-lead); color: var(--muted); margin-top: 1rem; line-height: 1.55; max-width: 44ch; }
.section-head .section-lead { max-width: 60ch; }

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 100;
  background: var(--accent);
  color: #06121f;
  font-weight: 600;
  padding: 0.65rem 1rem;
  border-radius: 8px;
  transition: top var(--t-fast);
}
.skip-link:focus { top: 1rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1;
  padding: 0.95rem 1.5rem;
  border-radius: 10px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: background var(--t), color var(--t), border-color var(--t), box-shadow var(--t), transform var(--t-fast);
  min-height: 48px;
  text-align: center;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--cta);
  color: #fff;
  box-shadow: 0 0 0 1px rgba(56, 189, 248, 0.2), 0 10px 26px -10px var(--glow);
}
.btn-primary:hover {
  background: var(--cta-hover);
  color: #fff;
  box-shadow: 0 0 0 1px rgba(56, 189, 248, 0.4), 0 14px 32px -10px var(--glow);
}

.btn-ghost { background: rgba(255, 255, 255, 0.02); color: var(--heading); border-color: var(--line-strong); }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.06); color: #fff; border-color: var(--accent); }

.btn-sm { padding: 0.6rem 1.05rem; min-height: 40px; font-size: 0.95rem; }
.btn-block { width: 100%; justify-content: center; }
.btn-arrow { transition: transform var(--t); }
.btn:hover .btn-arrow { transform: translateX(3px); }
.btn-download { margin-top: 2rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: var(--z-header);
  background: rgba(27, 35, 48, 0.72);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--t), box-shadow var(--t), background var(--t);
}
.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 10px 30px -20px rgba(0, 0, 0, 0.7);
  background: rgba(27, 35, 48, 0.9);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 72px;
}

.brand { display: inline-flex; align-items: center; gap: 0.65rem; color: var(--heading); }
.brand:hover { color: var(--heading); }
.brand-mark {
  display: grid;
  place-items: center;
  width: 40px; height: 40px;
  border-radius: 11px;
  background: linear-gradient(145deg, #0EA5E9, #0369A1);
  color: #fff;
  flex: none;
  box-shadow: 0 6px 18px -8px var(--glow);
}
.brand-text {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.22rem;
  letter-spacing: -0.02em;
  line-height: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.brand-sub {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted-2);
}

.site-nav { display: flex; align-items: center; }
.nav-menu {
  list-style: none;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}
.nav-menu a:not(.btn) {
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 0.975rem;
  color: var(--text);
  padding: 0.5rem 0.85rem;
  border-radius: 8px;
  transition: color var(--t-fast), background var(--t-fast);
}
.nav-menu a:not(.btn):hover { color: #fff; background: rgba(255, 255, 255, 0.06); }
.nav-cta { margin-left: 0.4rem; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px; height: 44px;
  background: transparent;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  cursor: pointer;
}
.nav-toggle-bar {
  display: block;
  width: 20px; height: 2px;
  margin-inline: auto;
  background: var(--heading);
  border-radius: 2px;
  transition: transform var(--t), opacity var(--t);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding-block: clamp(3.5rem, 2rem + 8vw, 8rem) clamp(2.5rem, 1.5rem + 4vw, 4.5rem);
  min-height: clamp(34rem, 30rem + 20vw, 46rem);
  display: flex;
  align-items: center;
  background: var(--bg);
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
/* data-stream visual, anchored right */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../img/gen/hero-abstract.jpeg") no-repeat right center;
  background-size: cover;
  opacity: 0.9;
  pointer-events: none;
}
/* readability scrim: solid at left, fades to reveal the visual on the right */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(95deg, var(--bg) 0%, var(--bg) 28%, rgba(27, 35, 48, 0.78) 50%, rgba(27, 35, 48, 0.25) 72%, rgba(27, 35, 48, 0) 100%),
    linear-gradient(0deg, var(--bg) 0%, rgba(27, 35, 48, 0) 28%);
  pointer-events: none;
}
.hero > .container { width: 100%; }
.hero-inner { position: relative; z-index: 2; max-width: 54rem; }
.hero h1 { margin-bottom: 1.35rem; }
.hero-lead { font-size: var(--fs-lead); color: var(--text); line-height: 1.55; max-width: 52ch; }
.hero-lead strong { color: #fff; font-weight: 600; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 2.1rem; }

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 0.5rem + 2vw, 2.25rem);
  margin-top: clamp(2.5rem, 1.5rem + 3vw, 3.75rem);
  padding-top: clamp(1.75rem, 1rem + 2vw, 2.5rem);
  border-top: 1px solid var(--line);
}
.hero-stats .stat dt {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.4rem;
}
.hero-stats .stat dd { color: var(--muted); font-size: 0.975rem; line-height: 1.4; }
.stat-num { font-family: var(--font-head); font-weight: 700; color: var(--heading); font-size: 1.05em; }

/* ---------- Trust strip ---------- */
.trust-strip { border-bottom: 1px solid var(--line); background: var(--surface-2); }
.trust-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.75rem;
  padding-block: 1.4rem;
}
.trust-label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  color: var(--muted-2);
  margin-right: auto;
}
.trust-logos {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 1.4rem;
}
.trust-logos li {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text);
  letter-spacing: -0.01em;
}
.trust-dot { color: var(--muted-2); }

/* ---------- Section bands (depth via elevation) ---------- */
.who { background: var(--bg); }
.services { background: var(--surface-2); border-block: 1px solid var(--line); }
.process { background: var(--bg); }
.engage { background: var(--surface-2); border-block: 1px solid var(--line); }
.experience { background: var(--bg); }
.about { background: var(--surface-2); border-block: 1px solid var(--line); }
.contact {
  background:
    radial-gradient(50rem 30rem at 80% 0%, rgba(56, 189, 248, 0.12), transparent 60%),
    var(--bg);
}

/* ---------- Who / Why ---------- */
.why-grid {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
  gap: 1.1rem;
}
.why-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem 1.5rem;
  transition: transform var(--t), box-shadow var(--t), border-color var(--t), background var(--t);
}
.why-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--line-strong); background: var(--surface-3); }
.why-card h3 { margin-bottom: 0.5rem; font-size: 1.1rem; }
.why-card p { color: var(--muted); font-size: 0.98rem; }

/* ---------- Services ---------- */
.service-grid {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr));
  gap: 1.15rem;
}
.service-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.9rem 1.7rem;
  transition: transform var(--t), box-shadow var(--t), border-color var(--t), background var(--t);
}
.service-card:hover {
  transform: translateY(-4px);
  border-color: rgba(56, 189, 248, 0.45);
  background: var(--surface-3);
  box-shadow: 0 26px 54px -26px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(56, 189, 248, 0.15);
}
.service-icon {
  display: grid;
  place-items: center;
  width: 48px; height: 48px;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--accent);
  margin-bottom: 1.2rem;
  border: 1px solid rgba(56, 189, 248, 0.2);
}
.service-icon svg { width: 24px; height: 24px; }
.service-card h3 { color: var(--heading); font-size: 1.15rem; margin-bottom: 0.6rem; }
.service-card > p { color: var(--muted); font-size: 0.97rem; margin-bottom: 1.1rem; }
.service-points {
  list-style: none;
  padding: 0;
  border-top: 1px solid var(--line);
  padding-top: 1rem;
  display: grid;
  gap: 0.5rem;
}
.service-points li {
  position: relative;
  padding-left: 1.4rem;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.4;
}
.service-points li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.5em;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--glow);
}

/* ---------- Process ---------- */
.process-steps {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
  gap: 1.4rem 1.6rem;
}
.process-step {
  position: relative;
  padding: 1.6rem 1.5rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  transition: transform var(--t), box-shadow var(--t), border-color var(--t), background var(--t);
}
.process-step:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--line-strong); background: var(--surface-3); }
.step-num {
  display: grid;
  place-items: center;
  width: 42px; height: 42px;
  border-radius: 11px;
  background: linear-gradient(145deg, #0EA5E9, #0369A1);
  color: #fff;
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 1.05rem;
  margin-bottom: 1rem;
  box-shadow: 0 8px 20px -10px var(--glow);
}
.process-step h3 { margin-bottom: 0.45rem; }
.process-step p { color: var(--muted); font-size: 0.97rem; }

/* ---------- Engagement options ---------- */
.engage-grid {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  gap: 1rem;
}
.engage-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  border-radius: 12px;
  padding: 1.4rem;
  transition: transform var(--t), box-shadow var(--t), background var(--t);
}
.engage-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); background: var(--surface-3); }
.engage-card h3 { font-size: 1.05rem; margin-bottom: 0.4rem; }
.engage-card p { color: var(--muted); font-size: 0.94rem; }

/* ---------- Experience ---------- */
.experience-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: clamp(2rem, 1rem + 4vw, 3.5rem);
  align-items: center;
}
.evidence-list {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 0.85rem;
}
.evidence-list li {
  position: relative;
  padding-left: 1.9rem;
  color: var(--text);
  font-size: 1rem;
  line-height: 1.5;
}
.evidence-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.1em;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--accent-soft);
  border: 1px solid rgba(56, 189, 248, 0.3);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2338BDF8' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
}
.experience-metrics {
  list-style: none;
  padding: 0;
  margin-top: clamp(2rem, 1rem + 3vw, 3.25rem);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  gap: 1rem;
}
.metric {
  background: linear-gradient(155deg, var(--surface-3), var(--surface));
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  padding: 1.6rem 1.5rem;
  position: relative;
  overflow: hidden;
}
.metric::after {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), transparent);
}
.metric-num {
  display: block;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(1.9rem, 1.4rem + 1.6vw, 2.6rem);
  line-height: 1;
  color: #fff;
  letter-spacing: -0.02em;
}
.metric-label { display: block; margin-top: 0.6rem; color: var(--muted); font-size: 0.95rem; line-height: 1.4; }

/* ---------- Media frame (image panel) ---------- */
.media-frame {
  position: relative;
  margin: 0;
  border-radius: var(--radius-lg);
  background: var(--surface-3);
  border: 1px solid var(--line-strong);
  padding: 2.25rem 0.75rem 0.75rem;
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(56, 189, 248, 0.08);
  overflow: hidden;
}
.media-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(60% 50% at 80% -10%, rgba(56, 189, 248, 0.18), transparent 60%);
  pointer-events: none;
}
.media-dots {
  position: absolute;
  top: 0.95rem;
  left: 1.1rem;
  display: inline-flex;
  gap: 0.4rem;
}
.media-dots i {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--line-strong);
}
.media-dots i:first-child { background: rgba(56, 189, 248, 0.7); }
.media-frame img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  display: block;
}
.media-frame figcaption {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.02em;
  color: var(--muted-2);
  padding: 0.75rem 0.5rem 0.4rem;
  text-align: center;
}

/* ---------- About ---------- */
.about-inner {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: clamp(2rem, 1rem + 4vw, 4rem);
  align-items: center;
}
.portrait-frame {
  aspect-ratio: 1;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(120% 120% at 30% 20%, rgba(56, 189, 248, 0.25), transparent 55%),
    linear-gradient(155deg, #2B3749, #1A222F);
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-lg), inset 0 0 0 1px rgba(56, 189, 248, 0.12);
  border: 1px solid var(--line-strong);
  overflow: hidden;
}
.portrait-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
  display: block;
}
.portrait-initials {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 4.5rem;
  color: rgba(255, 255, 255, 0.92);
  letter-spacing: 0.02em;
  text-shadow: 0 2px 20px rgba(56, 189, 248, 0.4);
}
.about-copy p { color: var(--muted); margin-bottom: 1rem; max-width: 60ch; }
.about-copy p:first-of-type { color: var(--text); }
.link-inline {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-head);
  font-weight: 600;
  margin-top: 0.5rem;
}
.link-inline svg { transition: transform var(--t); }
.link-inline:hover svg { transform: translate(2px, -2px); }

/* ---------- Contact ---------- */
.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 1rem + 4vw, 4rem);
  align-items: start;
}
.contact-details {
  list-style: none;
  padding: 0;
  margin-top: 2rem;
  display: grid;
  gap: 1.1rem;
}
.contact-details li { display: flex; align-items: flex-start; gap: 0.9rem; }
.contact-icon {
  display: grid;
  place-items: center;
  width: 42px; height: 42px;
  border-radius: 11px;
  background: var(--accent-soft);
  color: var(--accent);
  border: 1px solid rgba(56, 189, 248, 0.2);
  flex: none;
}
.contact-icon svg { width: 20px; height: 20px; }
.contact-details span:not(.contact-icon):not(.contact-label) { color: var(--text); line-height: 1.4; }
.contact-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.15rem;
}
.contact-details a { color: var(--text); font-weight: 500; }
.contact-details a:hover { color: #fff; text-decoration: underline; }

/* Contact form */
.contact-form {
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  padding: clamp(1.6rem, 1rem + 2vw, 2.4rem);
  box-shadow: var(--shadow-lg);
}
.form-title { margin-bottom: 1.3rem; font-size: 1.3rem; }
/* Honeypot — kept out of the layout and the a11y/tab order, bots still fill it */
.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.field { margin-bottom: 1.1rem; display: grid; gap: 0.4rem; }
.field label {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--heading);
}
.field-opt { font-weight: 400; color: var(--muted-2); }
.field input, .field textarea {
  font-family: var(--font-body);
  font-size: 1rem;
  color: #fff;
  background: var(--input-bg);
  border: 1.5px solid var(--line-strong);
  border-radius: 10px;
  padding: 0.75rem 0.9rem;
  width: 100%;
  transition: border-color var(--t-fast), box-shadow var(--t-fast), background var(--t-fast);
}
.field input::placeholder, .field textarea::placeholder { color: var(--muted-2); }
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: #10161F;
  box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.18);
}
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] {
  border-color: #F87171;
  box-shadow: 0 0 0 3px rgba(248, 113, 113, 0.15);
}
.field-error { color: #FCA5A5; font-size: 0.85rem; font-weight: 500; }
.form-status { margin-top: 0.9rem; font-size: 0.95rem; font-weight: 500; min-height: 1.2em; }
.form-status.is-success { color: #6EE7B7; }
.form-status.is-error { color: #FCA5A5; }

/* ---------- Footer ---------- */
.site-footer { background: var(--footer-bg); color: var(--muted); padding-block: clamp(2.5rem, 1.5rem + 3vw, 3.5rem); border-top: 1px solid var(--line); }
.footer-inner {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 2rem;
  align-items: start;
}
.footer-brandname { color: var(--heading); }
.footer-brandname .brand-sub { color: var(--muted-2); }
.footer-tagline { margin-top: 0.75rem; max-width: 36ch; font-size: 0.95rem; color: var(--muted); }
.footer-nav { display: flex; flex-wrap: wrap; gap: 0.5rem 1.4rem; align-self: center; }
.footer-nav a { color: var(--text); font-family: var(--font-head); font-weight: 500; font-size: 0.95rem; }
.footer-nav a:hover { color: #fff; }
.footer-legal {
  grid-column: 1 / -1;
  border-top: 1px solid var(--line);
  padding-top: 1.5rem;
  margin-top: 0.5rem;
  font-size: 0.875rem;
  color: var(--muted-2);
}

/* =========================================================================
   Reveal animation
   ========================================================================= */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.4, 0, 0.2, 1); }
.reveal.is-visible { opacity: 1; transform: none; }

/* =========================================================================
   Responsive
   ========================================================================= */
@media (max-width: 860px) {
  .nav-toggle { display: flex; }
  .site-nav { position: static; }
  .nav-menu {
    position: absolute;
    inset: 72px 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0.15rem;
    background: rgba(24, 31, 43, 0.98);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    padding: 0.75rem var(--gutter) 1.25rem;
    transform: translateY(-120%);
    opacity: 0;
    visibility: hidden;
    transition: transform var(--t), opacity var(--t), visibility var(--t);
  }
  .nav-menu.is-open { transform: translateY(0); opacity: 1; visibility: visible; }
  .nav-menu a:not(.btn) { padding: 0.8rem 0.6rem; font-size: 1.05rem; }
  .nav-cta { margin: 0.5rem 0 0; }
  .nav-cta .btn { width: 100%; }

  .nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .experience-grid { grid-template-columns: 1fr; }
  .about-inner { grid-template-columns: 1fr; text-align: left; }
  .about-portrait { max-width: 220px; }
  .contact-inner { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .hero-stats { grid-template-columns: 1fr; gap: 1.1rem; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .trust-inner { flex-direction: column; align-items: flex-start; }
  .trust-label { margin-right: 0; }
}

/* =========================================================================
   Reduced motion
   ========================================================================= */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}
