/* ============================================================
   Sivart Designs — style.css
   Clean, professional engineering aesthetic
   Palette: white | dark-grey | steel-blue
   ============================================================ */

/* ── 1. DESIGN TOKENS ──────────────────────────────────────── */
:root {
  /* Colours */
  --color-bg:          #FFFFFF;
  --color-surface:     #F4F6F8;
  --color-border:      #DDE2E7;
  --color-text:        #1C2833;
  --color-text-muted:  #5D6D7E;
  --color-accent:      #4A7FA5;
  --color-accent-dark: #35607F;
  --color-accent-light:#EAF2F8;
  --color-dark-band:   #1C2833;

  /* Spacing scale */
  --space-xs:   0.25rem;   /*  4px */
  --space-sm:   0.5rem;    /*  8px */
  --space-md:   1rem;      /* 16px */
  --space-lg:   1.5rem;    /* 24px */
  --space-xl:   2.5rem;    /* 40px */
  --space-xxl:  4rem;      /* 64px */
  --space-xxxl: 6rem;      /* 96px */

  /* Typography */
  --font-sans:   'Inter', 'Source Sans 3', system-ui, sans-serif;
  --text-xs:     0.75rem;
  --text-sm:     0.875rem;
  --text-base:   1rem;
  --text-md:     1.125rem;
  --text-lg:     1.25rem;
  --text-xl:     1.5rem;
  --text-2xl:    2rem;
  --text-3xl:    2.5rem;
  --text-4xl:    3.25rem;
  --leading-tight: 1.2;
  --leading-normal: 1.6;

  /* Shadows */
  --shadow-sm:  0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.05);
  --shadow-md:  0 4px 12px rgba(0,0,0,0.08), 0 2px 4px rgba(0,0,0,0.05);
  --shadow-lg:  0 8px 24px rgba(0,0,0,0.10), 0 4px 8px rgba(0,0,0,0.06);

  /* UI */
  --radius-sm:  4px;
  --radius-md:  8px;
  --radius-lg:  12px;
  --radius-full: 9999px;
  --transition: 220ms ease;
  --nav-height: 68px;
  --max-width:  1160px;
}

/* ── 2. RESET & BASE ────────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  font-size: var(--text-base);
  line-height: var(--leading-normal);
  color: var(--color-text);
  background-color: var(--color-bg);
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--color-accent);
  text-decoration: none;
}

a:hover {
  color: var(--color-accent-dark);
}

a:focus-visible,
button:focus-visible,
.btn:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
.nav__hamburger:focus-visible {
  outline: 3px solid rgba(74,127,165,0.45);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

:focus:not(:focus-visible) {
  outline: none;
}

ul, ol {
  list-style: none;
}

h1, h2, h3, h4, h5 {
  line-height: var(--leading-tight);
  color: var(--color-text);
  font-weight: 700;
}

h1 { font-size: var(--text-4xl); }
h2 { font-size: var(--text-3xl); }
h3 { font-size: var(--text-xl);  }
h4 { font-size: var(--text-lg);  }

p { max-width: 68ch; }

/* ── 3. UTILITY CLASSES ─────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: var(--space-xl);
}

.section {
  padding-block: var(--space-xxxl);
}

.section--surface {
  background-color: var(--color-surface);
}

.section--dark {
  background-color: var(--color-dark-band);
  color: #fff;
}

.section__header {
  text-align: center;
  margin-bottom: var(--space-xxl);
}

.section__eyebrow {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: var(--space-sm);
}

.section__title {
  font-size: var(--text-3xl);
  margin-bottom: var(--space-md);
}

.section__subtitle {
  font-size: var(--text-md);
  color: var(--color-text-muted);
  max-width: 55ch;
  margin-inline: auto;
}

.section--dark .section__eyebrow { color: #7FB3D3; }
.section--dark .section__title   { color: #fff; }
.section--dark .section__subtitle { color: #A9C4D5; }

.text-center { text-align: center; }
.text-muted  { color: var(--color-text-muted); }
.mt-sm  { margin-top: var(--space-sm); }
.mt-md  { margin-top: var(--space-md); }
.mt-lg  { margin-top: var(--space-lg); }
.mt-xl  { margin-top: var(--space-xl); }
.mb-md  { margin-bottom: var(--space-md); }
.mb-lg  { margin-bottom: var(--space-lg); }

/* Visually hidden (accessibility) */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
}

/* ── 4. BUTTONS ─────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 0.75rem 1.75rem;
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.02em;
  border-radius: var(--radius-md);
  border: 2px solid transparent;
  cursor: pointer;
  transition: background-color var(--transition), color var(--transition),
              border-color var(--transition), box-shadow var(--transition),
              transform var(--transition);
  text-decoration: none;
  white-space: nowrap;
}

.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn--primary {
  background-color: var(--color-accent);
  color: #fff;
  box-shadow: var(--shadow-sm);
}

.btn--primary:hover {
  background-color: var(--color-accent-dark);
  color: #fff;
  box-shadow: var(--shadow-md);
}

.btn--outline {
  background-color: transparent;
  color: var(--color-accent);
  border-color: var(--color-accent);
}

.btn--outline:hover {
  background-color: var(--color-accent);
  color: #fff;
}

.btn--outline-light {
  background-color: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.6);
}

.btn--outline-light:hover {
  background-color: rgba(255,255,255,0.12);
  color: #fff;
  border-color: #fff;
}

/* ── 5. NAVIGATION ──────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-height);
  background-color: rgba(255,255,255,0.96);
  border-bottom: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  transition: background-color var(--transition), box-shadow var(--transition),
              border-color var(--transition), backdrop-filter var(--transition);
}

.site-header .container {
  height: 100%;
}

.site-header--scrolled {
  background-color: rgba(255,255,255,0.82);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom-color: rgba(221,226,231,0.7);
  box-shadow: 0 10px 24px rgba(0,0,0,0.08);
}

.nav {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav__logo {
  height: 100%;
  color: var(--color-text);
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  line-height: 0;
}

.nav__logo-image {
  display: block;
  width: auto;
  height: 33px;
}

.nav__logo:hover { color: var(--color-text); }

.nav__links {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
}

.nav__links li {
  display: flex;
  align-items: center;
}

.nav__link {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-text-muted);
  text-decoration: none;
  padding: var(--space-xs) 0;
  border-bottom: 2px solid transparent;
  transition: color var(--transition), border-color var(--transition);
}

.nav__link:hover,
.nav__link.active {
  color: var(--color-accent);
  border-bottom-color: var(--color-accent);
}

.nav__cta {
  margin-left: var(--space-sm);
  padding: 0.38rem 0.82rem;
  font-size: var(--text-sm);
  line-height: 1;
  border-radius: var(--radius-sm);
  border-bottom: none;
}

.nav__cta.btn--primary {
  background-color: transparent;
  color: var(--color-accent);
  border: 1px solid rgba(74,127,165,0.5);
  box-shadow: none;
}

.nav__cta.btn--primary:hover {
  background-color: rgba(74,127,165,0.12);
  color: var(--color-accent-dark);
  border-color: rgba(74,127,165,0.65);
  box-shadow: none;
}

/* Hamburger */
.nav__hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--space-sm);
  border-radius: var(--radius-sm);
  transition: background-color var(--transition);
}

.nav__hamburger:hover { background-color: var(--color-surface); }

.nav__hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background-color: var(--color-text);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

/* Mobile nav open state */
.nav-open .nav__links {
  display: flex;
}

@media (max-width: 768px) {
  .nav__logo-image {
    height: 29px;
  }

  .nav__hamburger {
    display: flex;
  }

  .nav__links {
    display: none;
    position: absolute;
    top: var(--nav-height);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background-color: var(--color-bg);
    border-bottom: 1px solid var(--color-border);
    padding: var(--space-sm) var(--space-xl) var(--space-md);
    box-shadow: var(--shadow-md);
    animation: slideDown 0.2s ease;
  }

  .nav__link {
    width: 100%;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--color-border);
    font-size: var(--text-base);
  }

  .nav__link:last-of-type { border-bottom: none; }

  .nav__cta {
    margin-left: 0;
    margin-top: var(--space-sm);
    align-self: stretch;
    text-align: center;
    justify-content: center;
  }

  /* Hamburger → X transform */
  .nav-open .nav__hamburger span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  .nav-open .nav__hamburger span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
  }
  .nav-open .nav__hamburger span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }
}

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── 6. FOOTER ──────────────────────────────────────────────── */
.site-footer {
  background-color: var(--color-dark-band);
  color: rgba(255,255,255,0.7);
  padding-block: var(--space-xxl) var(--space-xl);
}

.footer__inner {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: var(--space-xl);
}

.footer__brand h3 {
  font-size: var(--text-lg);
  font-weight: 800;
  color: #fff;
  margin-bottom: var(--space-xs);
}

.footer__brand h3 span { color: var(--color-accent); }

.footer__tagline {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.5);
  font-style: italic;
  margin-bottom: var(--space-md);
}

.footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md) var(--space-xl);
  align-items: center;
  justify-content: flex-end;
}

.footer__links a {
  color: rgba(255,255,255,0.7);
  font-size: var(--text-sm);
  transition: color var(--transition);
  display: flex;
  align-items: center;
  gap: var(--space-xs);
}

.footer__links a:hover { color: #fff; }

.footer__divider {
  border: none;
  border-top: 1px solid rgba(255,255,255,0.12);
  margin-block: var(--space-xl) var(--space-md);
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.4);
}

.footer__powered {
  margin-top: 2px;
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.34);
}

.footer__meta {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
  justify-content: center;
}

.footer__meta-link {
  color: rgba(255,255,255,0.4);
}

.footer__meta-link:hover {
  color: rgba(255,255,255,0.75);
}

@media (max-width: 768px) {
  .footer__inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer__links {
    justify-content: center;
  }

  .footer__bottom {
    flex-direction: column;
    gap: var(--space-sm);
    text-align: center;
  }

  .footer__powered {
    margin-top: 0;
  }
}

/* ── 7. HERO ────────────────────────────────────────────────── */
.hero {
  min-height: calc(100vh - var(--nav-height));
  position: relative;
  overflow: hidden;
  background-color: var(--color-dark-band);
  display: flex;
  align-items: center;
}

/* ─── Hero image placeholder ──────────────────────────────────
   REPLACE `industrial-skid-placeholder.jpg` with your final hero image:
   url('../images/hero/hero-main.jpg')
   Recommended: industrial skid render, 1920×1080+, optimized JPEG.
   ───────────────────────────────────────────────────────────── */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    url('../images/hero/industrial-skid-placeholder.jpg'),
    linear-gradient(
      135deg,
      #0F1923 0%,
      #1C2E3F 35%,
      #213D52 60%,
      #1A2F40 100%
    );
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      105deg,
      rgba(10, 18, 28, 0.88) 0%,
      rgba(10, 18, 28, 0.58) 58%,
      rgba(10, 18, 28, 0.32) 100%
    ),
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 39px,
      rgba(74,127,165,0.06) 40px
    ),
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 39px,
      rgba(74,127,165,0.06) 40px
    );
}

.hero__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1100px;
  margin-inline: auto;
  padding: clamp(5rem, 9vw, 7.5rem) var(--space-xl) clamp(4.5rem, 8vw, 6rem);
}

.hero__content {
  max-width: 700px;
  text-align: left;
}

.hero__title {
  font-size: clamp(2.2rem, 5.6vw, 4rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.1;
  margin-bottom: var(--space-lg);
}

.hero__subtitle {
  font-size: var(--text-md);
  color: rgba(255,255,255,0.78);
  line-height: 1.75;
  margin-bottom: var(--space-xl);
  max-width: 56ch;
}

.services-strip {
  padding-block: var(--space-xl);
}

.services-strip .section__header {
  margin-bottom: var(--space-lg);
}

.services-strip .section__title {
  font-size: var(--text-2xl);
  margin-bottom: 0;
}

.services-strip .service-card {
  padding: var(--space-lg);
}

@media (max-width: 768px) {
  .hero__inner {
    padding: clamp(4.25rem, 12vw, 5.25rem) var(--space-md) var(--space-xxl);
  }
}

/* Original hero text styles retained */
.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: var(--space-md);
}

.hero__eyebrow::before {
  content: '';
  display: block;
  width: 28px;
  height: 2px;
  background-color: var(--color-accent);
  flex-shrink: 0;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
}

.hero__scroll-hint {
  position: absolute;
  bottom: var(--space-xl);
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
  color: rgba(255,255,255,0.35);
  font-size: var(--text-xs);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  animation: bounce 2.5s ease-in-out infinite;
}

.hero__scroll-hint svg {
  width: 20px;
  height: 20px;
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(6px); }
}

/* Hide legacy hero helper layers (replaced by pseudo-elements) */
.hero__bg,
.hero__overlay {
  display: none;
}

/* ── 8. SERVICE CARDS ───────────────────────────────────────── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}

.service-card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-xl) var(--space-lg);
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition), transform var(--transition),
              border-color var(--transition);
}

.service-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
  border-color: var(--color-accent);
}

.service-card__icon {
  width: 52px;
  height: 52px;
  background-color: var(--color-accent-light);
  border-radius: var(--radius-md);
  display: grid;
  place-items: center;
  margin-bottom: var(--space-md);
}

.service-card__icon svg {
  width: 26px;
  height: 26px;
  stroke: var(--color-accent);
  fill: none;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-card__title {
  font-size: var(--text-lg);
  font-weight: 700;
  margin-bottom: var(--space-sm);
}

.service-card__desc {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.65;
}

/* ── 9. PROJECT CARDS ───────────────────────────────────────── */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}

.project-card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition), transform var(--transition);
  display: flex;
  flex-direction: column;
}

.project-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

/* ─── Project image placeholder ────────────────────────────────
   The .project-card__img div is an aspect-ratio image holder.
   To replace with a real image, remove the div and add:
   <img src="../images/projects/your-image.jpg" alt="Description"
        class="project-card__img-real" loading="lazy">
   Then swap the CSS .project-card__img rule for:
   .project-card__img-real { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
   ─────────────────────────────────────────────────────────────── */
.project-card__img {
  width: 100%;
  padding-top: 56.25%; /* 16:9 */
  position: relative;
  background: linear-gradient(135deg, #1C2E3F 0%, #2E4A62 50%, #3A607E 100%);
  overflow: hidden;
}

.project-card__img::after {
  content: attr(data-label);
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: rgba(255,255,255,0.25);
  font-size: var(--text-xs);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
}

.project-card__body {
  padding: var(--space-lg);
  display: flex;
  flex-direction: column;
  flex: 1;
}

.project-card__tag {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: var(--space-sm);
}

.project-card__title {
  font-size: var(--text-md);
  font-weight: 700;
  margin-bottom: var(--space-sm);
}

.project-card__desc {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.65;
  flex: 1;
}

.project-card__link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  margin-top: var(--space-md);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-accent);
  transition: gap var(--transition), color var(--transition);
}

.project-card__link:hover {
  gap: var(--space-sm);
  color: var(--color-accent-dark);
}

.project-card__link svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform var(--transition);
}

.project-card__link:hover svg { transform: translateX(2px); }

/* ── 10. STATS / EXPERIENCE ─────────────────────────────────── */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
  margin-bottom: var(--space-xl);
}

.stat-item {
  text-align: center;
  padding: var(--space-lg);
  background: var(--color-accent-light);
  border-radius: var(--radius-md);
  border-left: 3px solid var(--color-accent);
}

.stat-item__number {
  font-size: var(--text-3xl);
  font-weight: 800;
  color: var(--color-accent);
  line-height: 1;
  display: block;
}

.stat-item__label {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-top: var(--space-xs);
  display: block;
}

/* Experience two-column layout */
.experience-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xxl);
  align-items: center;
}

.experience-heading {
  margin-bottom: var(--space-xl);
}

.experience-lead {
  font-size: var(--text-md);
  line-height: 1.8;
  margin-bottom: var(--space-md);
}

.experience-body {
  font-size: var(--text-base);
  line-height: 1.8;
  margin-bottom: var(--space-md);
}

.experience-body--last {
  margin-bottom: var(--space-xl);
}

/* ── 11. CTA BAND ───────────────────────────────────────────── */
.cta-band {
  text-align: center;
  padding-block: var(--space-xxxl);
}

.cta-band__title {
  font-size: var(--text-3xl);
  font-weight: 800;
  color: #fff;
  margin-bottom: var(--space-md);
  max-width: 28ch;
  margin-inline: auto;
}

.cta-band__subtitle {
  font-size: var(--text-md);
  color: rgba(255,255,255,0.65);
  max-width: 52ch;
  margin-inline: auto;
  margin-bottom: var(--space-xl);
}

.cta-band__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  justify-content: center;
}

/* ── 12. SERVICES PAGE ──────────────────────────────────────── */
.services-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl) var(--space-xxl);
}

.services-list__item {
  display: flex;
  gap: var(--space-md);
}

.services-list__item-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background-color: var(--color-accent-light);
  border-radius: var(--radius-md);
  display: grid;
  place-items: center;
  margin-top: 2px;
}

.services-list__item-icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--color-accent);
  fill: none;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.services-list__item-content h3 {
  font-size: var(--text-lg);
  font-weight: 700;
  margin-bottom: var(--space-sm);
}

.services-list__item-content p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.7;
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-lg);
}

.process-step {
  text-align: center;
  padding: var(--space-xl) var(--space-md);
}

.process-step__number {
  width: 56px;
  height: 56px;
  margin: 0 auto var(--space-md);
  background: var(--color-accent);
  color: #fff;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: var(--text-lg);
  font-weight: 800;
}

.process-step__title {
  font-size: var(--text-base);
  font-weight: 700;
  margin-bottom: var(--space-sm);
}

.process-step__desc {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.65;
}

/* Page hero (inner pages) */
.page-hero {
  background-color: var(--color-dark-band);
  padding-block: var(--space-xxl) var(--space-xl);
  position: relative;
  overflow: hidden;
}

.page-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(
      0deg, transparent, transparent 39px,
      rgba(74,127,165,0.05) 40px
    ),
    repeating-linear-gradient(
      90deg, transparent, transparent 39px,
      rgba(74,127,165,0.05) 40px
    );
  pointer-events: none;
}

.page-hero__content { position: relative; z-index: 1; }

.page-hero__eyebrow {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: var(--space-sm);
}

.page-hero__title {
  font-size: clamp(1.75rem, 4vw, var(--text-3xl));
  font-weight: 800;
  color: #fff;
  margin-bottom: var(--space-md);
}

.page-hero__subtitle {
  font-size: var(--text-md);
  color: rgba(255,255,255,0.65);
  max-width: 58ch;
  line-height: 1.7;
}

/* ── 13. ABOUT PAGE ─────────────────────────────────────────── */
.about-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: var(--space-xxl);
  align-items: start;
}

/* ─── Profile photo placeholder ─────────────────────────────
   Replace .photo-placeholder with a real <img> tag:
   <img src="../images/about/travis-main.jpg" alt="Travis Main"
        class="profile-photo" loading="lazy">
   .profile-photo { width: 100%; border-radius: var(--radius-lg);
                   box-shadow: var(--shadow-lg); }
   ─────────────────────────────────────────────────────────── */
.photo-placeholder {
  width: 100%;
  aspect-ratio: 3/4;
  background: linear-gradient(160deg, #1C2E3F 0%, #2E4A62 60%, #3A607E 100%);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: var(--space-md);
}

.photo-placeholder__label {
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.35);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.about-content h2 {
  font-size: var(--text-3xl);
  font-weight: 800;
  margin-bottom: var(--space-xs);
}

.about-content .role {
  font-size: var(--text-md);
  color: var(--color-accent);
  font-weight: 600;
  margin-bottom: var(--space-lg);
}

.about-content p {
  font-size: var(--text-base);
  line-height: 1.8;
  color: var(--color-text-muted);
  margin-bottom: var(--space-md);
  max-width: 65ch;
}

.skill-tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  margin-top: var(--space-lg);
}

.skill-tag {
  display: inline-block;
  padding: 0.35rem 0.9rem;
  background-color: var(--color-accent-light);
  color: var(--color-accent-dark);
  font-size: var(--text-xs);
  font-weight: 600;
  border-radius: var(--radius-full);
  border: 1px solid rgba(74,127,165,0.2);
  letter-spacing: 0.04em;
}

.timeline {
  position: relative;
  margin-top: var(--space-xl);
  padding-left: var(--space-xl);
}

.timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: linear-gradient(to bottom, var(--color-accent), transparent);
}

.timeline__item {
  position: relative;
  margin-bottom: var(--space-lg);
}

.timeline__item::before {
  content: '';
  position: absolute;
  left: calc(-1 * var(--space-xl) - 5px);
  top: 6px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: var(--color-accent);
  border: 2px solid var(--color-bg);
  box-shadow: 0 0 0 2px var(--color-accent);
}

.timeline__year {
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--color-accent);
  text-transform: uppercase;
  margin-bottom: var(--space-xs);
}

.timeline__title {
  font-size: var(--text-base);
  font-weight: 700;
  margin-bottom: var(--space-xs);
}

.timeline__desc {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.65;
}

.timeline-wrap {
  max-width: 680px;
  margin-inline: auto;
}

.stats-grid--auto {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: var(--space-md);
}

/* ── 14. CONTACT PAGE ───────────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: var(--space-xxl);
  align-items: start;
}

.contact-info h2 {
  font-size: var(--text-2xl);
  font-weight: 800;
  margin-bottom: var(--space-sm);
}

.contact-info__intro {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  line-height: 1.7;
  margin-bottom: var(--space-xl);
}

.contact-info__list {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.contact-info__item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
}

.contact-info__item-icon {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  background-color: var(--color-accent-light);
  border-radius: var(--radius-md);
  display: grid;
  place-items: center;
}

.contact-info__item-icon svg {
  width: 20px;
  height: 20px;
  stroke: var(--color-accent);
  fill: none;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact-info__item-label {
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text-muted);
  display: block;
  margin-bottom: 2px;
}

.contact-info__item-value {
  font-size: var(--text-base);
  font-weight: 500;
  color: var(--color-text);
}

.contact-info__item-value a {
  color: var(--color-text);
  transition: color var(--transition);
}

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

.contact-info__subtext {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

.contact-note {
  margin-top: var(--space-xl);
  padding: var(--space-lg);
  background: var(--color-accent-light);
  border-radius: var(--radius-md);
  border-left: 3px solid var(--color-accent);
}

.contact-note__title {
  font-size: var(--text-sm);
  font-weight: 700;
  margin-bottom: var(--space-sm);
}

.contact-note__list {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.8;
  list-style: disc;
  padding-left: var(--space-md);
}

.required-mark {
  color: var(--color-accent);
}

.form-footnote {
  margin-top: var(--space-md);
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  text-align: center;
}

/* Contact Form */
.contact-form {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  box-shadow: var(--shadow-md);
}

.contact-form h2 {
  font-size: var(--text-xl);
  font-weight: 700;
  margin-bottom: var(--space-lg);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
  margin-bottom: var(--space-md);
}

.form-group label {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-text);
}

.form-group input,
.form-group select,
.form-group textarea {
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  color: var(--color-text);
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 0.7rem 1rem;
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
  width: 100%;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(74,127,165,0.15);
  background-color: #fff;
}

.form-group textarea {
  resize: vertical;
  min-height: 130px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
}

.form-submit {
  width: 100%;
  justify-content: center;
  padding: 0.875rem;
  margin-top: var(--space-sm);
}

.thanks {
  min-height: 70vh;
  display: grid;
  place-items: center;
  padding: var(--space-xxl) var(--space-md);
}

.thanks__card {
  text-align: center;
  max-width: 520px;
}

.thanks__icon-wrap {
  width: 72px;
  height: 72px;
  background: var(--color-accent-light);
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin: 0 auto var(--space-lg);
}

.thanks__title {
  font-size: var(--text-3xl);
  margin-bottom: var(--space-md);
}

.thanks__subtitle {
  font-size: var(--text-md);
  color: var(--color-text-muted);
  line-height: 1.7;
  margin-bottom: var(--space-xl);
  max-width: 44ch;
  margin-inline: auto;
}

.thanks__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  justify-content: center;
}

.portfolio-page .project-card:nth-child(2) .project-card__img { background: linear-gradient(135deg, #142233 0%, #1E3A50 50%, #294F68 100%); }
.portfolio-page .project-card:nth-child(3) .project-card__img { background: linear-gradient(135deg, #0D1E2B 0%, #1B3548 50%, #254B65 100%); }
.portfolio-page .project-card:nth-child(4) .project-card__img { background: linear-gradient(135deg, #162130 0%, #2A3F52 50%, #354E62 100%); }
.portfolio-page .project-card:nth-child(5) .project-card__img { background: linear-gradient(135deg, #111E2A 0%, #1E3446 50%, #2C4A5E 100%); }
.portfolio-page .project-card:nth-child(6) .project-card__img { background: linear-gradient(135deg, #172632 0%, #254055 50%, #30546A 100%); }

/* ── 15. RESPONSIVE ─────────────────────────────────────────── */
@media (max-width: 1024px) {
  :root {
    --space-xxxl: 4.5rem;
  }

  .services-grid      { grid-template-columns: 1fr 1fr; }
  .projects-grid      { grid-template-columns: 1fr 1fr; }
  .experience-grid    { grid-template-columns: 1fr; gap: var(--space-xl); }
  .about-grid         { grid-template-columns: 220px 1fr; }
  .services-list      { grid-template-columns: 1fr; }
  .contact-grid       { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  :root {
    --space-xxxl: 3.5rem;
    --space-xxl:  2.5rem;
  }

  h1 { font-size: var(--text-3xl); }
  h2 { font-size: var(--text-2xl); }

  .container { padding-inline: var(--space-md); }

  .services-grid      { grid-template-columns: 1fr; }
  .projects-grid      { grid-template-columns: 1fr; }
  .stats-grid         { grid-template-columns: 1fr; }
  .form-row           { grid-template-columns: 1fr; }
  .about-grid         { grid-template-columns: 1fr; }

  .about-grid .photo-placeholder {
    max-width: 260px;
    margin-inline: auto;
  }

  .hero__content {
    max-width: 100%;
  }

  .services-strip {
    padding-block: var(--space-lg);
  }
}

@media (max-width: 480px) {
  .hero {
    min-height: calc(92vh - var(--nav-height));
  }

  .hero__inner {
    padding: 4rem var(--space-md) 3.5rem;
  }

  .hero__eyebrow {
    font-size: 0.68rem;
    letter-spacing: 0.12em;
    margin-bottom: 0.75rem;
  }

  .hero__title {
    font-size: clamp(1.95rem, 8.6vw, 2.4rem);
    line-height: 1.12;
    margin-bottom: 1rem;
  }

  .hero__subtitle {
    font-size: var(--text-base);
    line-height: 1.65;
    margin-bottom: var(--space-lg);
  }

  .hero__scroll-hint {
    bottom: var(--space-md);
  }

  .services-strip .section__title {
    font-size: var(--text-xl);
  }

  .services-strip .service-card {
    padding: var(--space-md);
  }

  .hero__actions { flex-direction: column; }
  .hero__actions .btn { width: 100%; justify-content: center; }
}
