/* ==========================================================================
   Crafted Digital Media — main.css
   Framework: CWM Workshop (adapted)
   Palette: Burnt orange accent on warm white ground
   Tokens live in :root — change colors here, they propagate everywhere.
   ========================================================================== */

/* --------------------------------------------------------------------------
   0. Design Tokens
   -------------------------------------------------------------------------- */

:root {
  /* Surfaces — light theme; dark/darker used for nav, hero, footer, work */
  --color-dark:         #111510;   /* nav, hero, footer, darkest sections   */
  --color-darker:       #0C0F0B;   /* deepest shadow / absolute dark        */
  --color-bg:           #faf8f5;   /* warm white page background            */
  --color-bg-card:      #ffffff;   /* card surfaces                         */
  --color-bg-input:     #f0ede9;   /* form inputs                           */
  --color-border:       #e2ddd6;   /* borders and dividers                  */
  --color-white:        #E2EBE4;   /* off-white — text on dark surfaces      */

  /* Text */
  --color-text:         #44403c;   /* body copy                             */
  --color-text-muted:   #6b635c;   /* secondary / metadata                  */

  /* Accent — burnt orange */
  --color-accent:       #cc5500;
  --color-accent-hover: #a84400;

  /* Heading color for light surfaces */
  --color-heading:      #1c1917;

  /* Type */
  --font-heading: 'Barlow Condensed', system-ui, sans-serif;
  --font-body:    system-ui, -apple-system, 'Segoe UI', sans-serif;

  /* Font sizes */
  --fs-xs:   0.75rem;
  --fs-sm:   0.875rem;
  --fs-base: 1rem;
  --fs-md:   1.125rem;
  --fs-lg:   1.25rem;
  --fs-xl:   1.5rem;
  --fs-2xl:  2rem;
  --fs-3xl:  2.75rem;
  --fs-4xl:  3.5rem;
  --fs-5xl:  4.5rem;

  /* Spacing */
  --sp-1:  0.25rem;
  --sp-2:  0.5rem;
  --sp-3:  0.75rem;
  --sp-4:  1rem;
  --sp-5:  1.25rem;
  --sp-6:  1.5rem;
  --sp-8:  2rem;
  --sp-10: 2.5rem;
  --sp-12: 3rem;
  --sp-16: 4rem;
  --sp-20: 5rem;
  --sp-24: 6rem;

  /* Layout */
  --max-width:  1200px;
  --nav-height: 88px;

  /* Effects */
  --radius-sm:  4px;
  --radius-md:  8px;
  --radius-lg:  12px;
  --shadow-sm:  0 1px 3px rgba(0,0,0,.25), 0 1px 2px rgba(0,0,0,.20);
  --shadow-md:  0 4px 12px rgba(0,0,0,.30), 0 2px 4px rgba(0,0,0,.20);
  --shadow-lg:  0 10px 30px rgba(0,0,0,.35), 0 4px 8px rgba(0,0,0,.20);
  --transition: 200ms ease;
}

/* --------------------------------------------------------------------------
   1. Reset & Base
   -------------------------------------------------------------------------- */

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

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

body {
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: 1.6;
  color: var(--color-text);
  background-color: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, video { display: block; max-width: 100%; }
a { color: inherit; }
ul { list-style: none; }
button { font: inherit; cursor: pointer; }

/* --------------------------------------------------------------------------
   2. Typography
   -------------------------------------------------------------------------- */

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--color-heading);
}

h1 { font-size: var(--fs-4xl); }
h2 { font-size: var(--fs-3xl); }
h3 { font-size: var(--fs-2xl); }
h4 { font-size: var(--fs-xl); }
h5 { font-size: var(--fs-lg); }
h6 { font-size: var(--fs-base); }

p { margin-bottom: var(--sp-4); }
p:last-child { margin-bottom: 0; }
strong { font-weight: 600; }

/* --------------------------------------------------------------------------
   3. Layout Utilities
   -------------------------------------------------------------------------- */

.container {
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: var(--sp-8);
}

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-8); }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr);  gap: var(--sp-8); }

.flex         { display: flex; }
.flex-center  { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.flex-col     { display: flex; flex-direction: column; }

.gap-4 { gap: var(--sp-4); }
.gap-6 { gap: var(--sp-6); }
.gap-8 { gap: var(--sp-8); }

.text-center { text-align: center; }
.text-white  { color: var(--color-white); }
.text-muted  { color: var(--color-text-muted); }

.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;
}

/* --------------------------------------------------------------------------
   4. Buttons
   -------------------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  padding: var(--sp-3) var(--sp-8);
  font-family: var(--font-heading);
  font-size: var(--fs-sm);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
  white-space: nowrap;
}

.btn--primary {
  background: var(--color-accent);
  color: var(--color-white);
  border-color: var(--color-accent);
}
.btn--primary:hover, .btn--primary:focus-visible {
  background: var(--color-accent-hover);
  border-color: var(--color-accent-hover);
}

.btn--secondary {
  background: transparent;
  color: var(--color-white);
  border-color: rgba(226,235,228,.35);
}
.btn--secondary:hover, .btn--secondary:focus-visible {
  background: var(--color-white);
  color: var(--color-dark);
  border-color: var(--color-white);
}

.btn--outline {
  background: transparent;
  color: var(--color-white);
  border-color: var(--color-border);
}
.btn--outline:hover, .btn--outline:focus-visible {
  background: var(--color-bg-card);
  border-color: var(--color-bg-card);
}

.btn:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 3px; }

/* --------------------------------------------------------------------------
   5. Tags / Badges
   -------------------------------------------------------------------------- */

.tag {
  display: inline-block;
  padding: 3px var(--sp-3);
  font-family: var(--font-body);
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  background: rgba(255,255,255,.06);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
}

.tag--accent {
  color: var(--color-white);
  background: var(--color-accent);
  border-color: var(--color-accent);
}

/* --------------------------------------------------------------------------
   6. Section Headers
   -------------------------------------------------------------------------- */

.section { padding-block: var(--sp-20); }
.section--sm { padding-block: var(--sp-12); }
.section--lg { padding-block: var(--sp-24); }

.section-header { margin-bottom: var(--sp-12); }
.section-header.text-center .section-title,
.section-header.text-center .section-subtitle { max-width: 640px; margin-inline: auto; }

.section-label {
  display: block;
  font-family: var(--font-body);
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: var(--sp-3);
}

.section-title {
  font-family: var(--font-heading);
  font-size: var(--fs-3xl);
  font-weight: 700;
  color: var(--color-heading);
  margin-bottom: var(--sp-4);
}

.section-subtitle {
  font-size: var(--fs-md);
  color: var(--color-text-muted);
  line-height: 1.65;
}

/* --------------------------------------------------------------------------
   7. Skip Link
   -------------------------------------------------------------------------- */

.skip-link {
  position: absolute;
  left: -9999px;
  top: var(--sp-3);
  z-index: 9999;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.skip-link:focus {
  left: var(--sp-4);
  width: auto;
  height: auto;
  overflow: visible;
  padding: var(--sp-2) var(--sp-6);
  background: var(--color-accent);
  color: var(--color-white);
  font-size: var(--fs-sm);
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--radius-sm);
}

/* --------------------------------------------------------------------------
   8. Navigation
   -------------------------------------------------------------------------- */

.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  height: var(--nav-height);
  background: rgba(17,21,16,.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: var(--sp-8);
}

/* Logo */
.site-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: var(--color-white);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: var(--fs-xl);
  letter-spacing: 0.02em;
  flex-shrink: 0;
}
.site-logo img {
  height: 68px;
  width: auto;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,.18));
}

/* Desktop nav */
.primary-nav { display: flex; align-items: center; gap: var(--sp-10); }

.primary-nav a {
  font-family: var(--font-body);
  font-size: var(--fs-sm);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  color: rgba(226,235,228,.75);
  transition: color var(--transition);
}
.primary-nav a:hover,
.primary-nav a:focus-visible { color: var(--color-white); }

/* Mobile toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: var(--sp-2);
  background: transparent;
  border: none;
}

.menu-toggle__bar {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--color-white);
  border-radius: 1px;
  transition: transform var(--transition), opacity var(--transition);
}

.menu-toggle.is-active .menu-toggle__bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.is-active .menu-toggle__bar:nth-child(2) { opacity: 0; }
.menu-toggle.is-active .menu-toggle__bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav drawer */
.mobile-nav {
  display: none;
  position: fixed;
  top: var(--nav-height);
  left: 0; right: 0;
  background: rgba(17,21,16,.95);
  border-top: 1px solid rgba(255,255,255,.08);
  padding: var(--sp-6) var(--sp-8) var(--sp-8);
  z-index: 199;
  transform: translateY(-8px);
  opacity: 0;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.mobile-nav.is-open {
  display: block;
  transform: translateY(0);
  opacity: 1;
}

.mobile-nav__list { display: flex; flex-direction: column; gap: var(--sp-2); }

.mobile-nav__list a {
  display: block;
  padding: var(--sp-3) 0;
  font-family: var(--font-heading);
  font-size: var(--fs-xl);
  font-weight: 600;
  color: var(--color-white);
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,.10);
  transition: color var(--transition);
}
.mobile-nav__list a:hover { color: var(--color-accent); }
.mobile-nav__list li:last-child a { border-bottom: none; }

/* --------------------------------------------------------------------------
   9. Hero
   -------------------------------------------------------------------------- */

.hero {
  position: relative;
  height: 75vh;
  min-height: 520px;
  overflow: hidden;
  background: var(--color-dark);
}

.hero__video,
.hero__poster-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero__video-iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100vw;
  height: 56.25vw;    /* 16:9 — fills width */
  min-height: 100%;
  min-width: 177.78vh; /* 16:9 — fills height */
  pointer-events: none;
  border: 0;
}

/* Gradient overlay + dot-grid texture */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(
      to top,
      rgba(13, 15, 11, 0.94) 0%,
      rgba(13, 15, 11, 0.62) 45%,
      rgba(13, 15, 11, 0.38) 100%
    );
  background-size: 12px 12px, 100% 100%;
}

/* Graduated blur — fades in from transparent at mid-hero down to full at bottom */
.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 50%;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 65%);
  mask-image: linear-gradient(to bottom, transparent 0%, black 65%);
  z-index: 1;
  pointer-events: none;
}

/* Lower-third content — mirrors nav-inner container so left edge aligns with logo */
.hero__content {
  position: absolute;
  bottom: clamp(var(--sp-12), 9vh, var(--sp-24));
  left: 0;
  right: 0;
  z-index: 2;
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: var(--sp-8);
}

/* The signal rule — the site's signature element */
.hero__rule {
  display: block;
  width: 40px;
  height: 3px;
  background: var(--color-accent);
  margin-bottom: var(--sp-4);
  border-radius: 1px;
}

.hero__eyebrow {
  font-family: var(--font-body);
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: var(--sp-3);
}

.hero__title {
  font-family: var(--font-heading);
  font-size: clamp(3rem, 8vw, var(--fs-5xl));
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.01em;
  color: var(--color-white);
  margin-bottom: 0;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.55);
}

.hero__cta {
  display: flex;
  gap: var(--sp-3);
  margin-top: var(--sp-6);
  flex-wrap: wrap;
}

.hero__title .line-2 {
  display: block;
  color: rgba(226, 235, 228, 0.55);
  font-size: 0.6em;
  font-style: italic;
}

/* --------------------------------------------------------------------------
   10. Services / Value Props
   -------------------------------------------------------------------------- */

.value-props { background: var(--color-bg); padding-top: var(--sp-6); }
.value-props .section-label { font-size: var(--fs-base); }

.value-card {
  padding: var(--sp-8);
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  transition: border-color var(--transition), box-shadow var(--transition);
}
.value-card:hover {
  border-color: var(--color-accent);
  box-shadow: var(--shadow-md);
}

.value-card__icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(204, 85, 0, 0.12);
  border-radius: var(--radius-md);
  color: var(--color-accent);
  margin-bottom: var(--sp-6);
}
.value-card__icon svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }

.value-card__title {
  font-family: var(--font-heading);
  font-size: var(--fs-2xl);
  font-weight: 600;
  color: var(--color-heading);
  margin-bottom: var(--sp-3);
}

.value-card__desc {
  font-size: var(--fs-base);
  color: var(--color-text-muted);
  line-height: 1.65;
  margin: 0;
}

/* --------------------------------------------------------------------------
   11. Portfolio / Work Grid
   -------------------------------------------------------------------------- */

.portfolio-section { background: var(--color-dark); padding-block: var(--sp-20); }
.portfolio-section .section-header { margin-bottom: var(--sp-10); }

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-6);
}

/* Project card — used as a <button> for lightbox trigger in CDM */
.project-card {
  display: block;
  background: var(--color-bg-card);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--color-border);
  text-align: left;
  width: 100%;
  padding: 0;
  text-decoration: none;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  cursor: pointer;
}
.project-card:hover,
.project-card:focus-visible {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-accent);
}
.project-card:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 3px; }

.project-card__image {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--color-darker);
}
.project-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.project-card:hover .project-card__image img { transform: scale(1.04); }

/* Gradient overlay on image */
.project-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(13,15,11,.6) 0%, transparent 60%);
  opacity: 0;
  transition: opacity var(--transition);
}
.project-card:hover .project-card__overlay { opacity: 1; }

/* Play icon centred on hover */
.project-card__play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition);
}
.project-card:hover .project-card__play,
.project-card:focus-visible .project-card__play { opacity: 1; }

.project-card__play-icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(204,85,0,.20);
  border: 1.5px solid rgba(204,85,0,.60);
  border-radius: 50%;
  color: var(--color-white);
  backdrop-filter: blur(4px);
}
.project-card__play-icon svg { width: 20px; height: 20px; fill: currentColor; }

/* Tags overlay top-left of image */
.project-card__tags {
  position: absolute;
  top: var(--sp-4);
  left: var(--sp-4);
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2);
}

/* Card body — below the image */
.project-card__body { padding: var(--sp-6); }

.project-card__title {
  font-family: var(--font-heading);
  font-size: var(--fs-lg);
  font-weight: 600;
  color: var(--color-heading);
  margin-bottom: var(--sp-2);
  line-height: 1.2;
}

.project-card__excerpt {
  font-size: var(--fs-sm);
  color: var(--color-text-muted);
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 600;
}

/* --------------------------------------------------------------------------
   12. Lightbox
   -------------------------------------------------------------------------- */

.cdm-lightbox {
  position: fixed;
  inset: 0;
  z-index: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--sp-8);
}
.cdm-lightbox[hidden] { display: none; }

.cdm-lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 10, 8, 0.95);
  cursor: pointer;
}

.cdm-lightbox__inner {
  position: relative;
  z-index: 1;
  width: min(92vw, 1100px);
}

.cdm-lightbox__close {
  position: absolute;
  top: calc(-1 * var(--sp-10));
  right: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: transparent;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  color: var(--color-text-muted);
  transition: color var(--transition), border-color var(--transition);
}
.cdm-lightbox__close:hover,
.cdm-lightbox__close:focus-visible {
  color: var(--color-white);
  border-color: var(--color-white);
}
.cdm-lightbox__close:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 3px; }

.cdm-lightbox__frame-wrap {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: var(--radius-md);
  overflow: hidden;
}
.cdm-lightbox__frame-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.cdm-lightbox__blurb {
  margin-top: var(--sp-4);
  font-size: var(--fs-sm);
  color: var(--color-text-muted);
  text-align: center;
}
.cdm-lightbox__blurb:empty { display: none; }

/* --------------------------------------------------------------------------
   13. About
   -------------------------------------------------------------------------- */

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

.about-layout { align-items: start; }

.about-photo-wrap { position: relative; }
.about-photo {
  width: 100%;
  display: block;
  border-radius: var(--radius-md);
}

.about-content { padding-top: var(--sp-4); }

.about-content .about-text p {
  color: var(--color-text);
  line-height: 1.65;
  margin-top: var(--sp-4);
}

/* --------------------------------------------------------------------------
   14. Contact
   -------------------------------------------------------------------------- */

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

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: var(--sp-16);
  align-items: start;
}

.contact-info { padding-top: var(--sp-2); }

.contact-info__item {
  margin-bottom: var(--sp-8);
}

.contact-info__label {
  display: block;
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: var(--sp-2);
}

.contact-info__value {
  font-family: var(--font-heading);
  font-size: var(--fs-2xl);
  font-weight: 600;
  color: var(--color-white);
  text-decoration: none;
  transition: color var(--transition);
}
a.contact-info__value:hover,
a.contact-info__value:focus-visible { color: var(--color-accent); }

/* Form */
.contact-form { display: flex; flex-direction: column; gap: var(--sp-6); }

.form-group { display: flex; flex-direction: column; gap: var(--sp-2); }

.form-group label {
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: var(--sp-4);
  background: var(--color-bg-input);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: var(--fs-base);
  transition: border-color var(--transition);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--color-text-muted); }
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-accent);
}

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

/* Honeypot */
.cdm-hp {
  position: absolute;
  left: -9999px;
  top: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
}

.contact-form__submit {
  align-self: flex-start;
  padding: var(--sp-4) var(--sp-10);
  background: var(--color-accent);
  color: var(--color-white);
  border: 2px solid var(--color-accent);
  border-radius: var(--radius-sm);
  font-family: var(--font-heading);
  font-size: var(--fs-sm);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: background var(--transition), border-color var(--transition);
}
.contact-form__submit:hover,
.contact-form__submit:focus-visible {
  background: var(--color-accent-hover);
  border-color: var(--color-accent-hover);
}
.contact-form__submit:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 3px; }
.contact-form__submit:disabled { opacity: 0.55; cursor: not-allowed; }

/* Status */
.contact-status {
  font-size: var(--fs-sm);
  padding: var(--sp-4);
  border-radius: var(--radius-sm);
  display: none;
}
.contact-status.is-visible { display: block; }
.contact-status--success { background: rgba(74,155,111,.12); color: #6bcf95; border: 1px solid rgba(74,155,111,.25); }
.contact-status--error   { background: rgba(185,74,74,.12);  color: #e07a7a; border: 1px solid rgba(185,74,74,.25); }

/* --------------------------------------------------------------------------
   15. CTA Banner (dark, accent gradient)
   -------------------------------------------------------------------------- */

.cta-banner {
  position: relative;
  background: var(--color-darker);
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 110%, rgba(204,85,0,.12) 0%, transparent 70%);
  pointer-events: none;
}

.cta-banner__inner {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 640px;
  margin-inline: auto;
}

.cta-banner__title {
  font-family: var(--font-heading);
  font-size: var(--fs-3xl);
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: var(--sp-4);
}

.cta-banner__subtitle {
  font-size: var(--fs-md);
  color: var(--color-text-muted);
  margin-bottom: var(--sp-8);
}

.cta-banner__actions { display: flex; gap: var(--sp-4); justify-content: center; flex-wrap: wrap; }

/* --------------------------------------------------------------------------
   16. Footer
   -------------------------------------------------------------------------- */

.site-footer {
  background: var(--color-dark);
  border-top: 1px solid var(--color-border);
  padding-block: var(--sp-8);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
  gap: var(--sp-4);
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: var(--sp-8);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--sp-4);
}

.footer-copy { font-size: var(--fs-xs); color: var(--color-text-muted); }

.footer-nav { display: flex; gap: var(--sp-6); }
.footer-nav a {
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  text-decoration: none;
  transition: color var(--transition);
}
.footer-nav a:hover { color: var(--color-white); }

/* --------------------------------------------------------------------------
   17. Dark-section text restores
       Headings default to --color-heading (dark) for light sections.
       Sections that keep var(--color-dark) backgrounds need light text back.
   -------------------------------------------------------------------------- */

.hero__title,
.hero__eyebrow,
.portfolio-section .section-title,
.contact-section .section-title,
.cta-banner__title {
  color: var(--color-white);
}

.portfolio-section .section-label,
.contact-section .section-label { color: var(--color-accent); }

/* --------------------------------------------------------------------------
   18. Reveal animations (IntersectionObserver in main.js)
   -------------------------------------------------------------------------- */

.js-reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.js-reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .js-reveal { opacity: 1; transform: none; transition: none; }
}

/* --------------------------------------------------------------------------
   19. Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 1024px) {
  .grid-3        { grid-template-columns: repeat(2, 1fr); }
  .portfolio-grid { grid-template-columns: repeat(2, 1fr); }

  .contact-layout { grid-template-columns: 1fr; gap: var(--sp-12); }

  .about-layout   { grid-template-columns: 260px 1fr; gap: var(--sp-10); }
}

@media (max-width: 768px) {
  .container { padding-inline: var(--sp-5); }

  /* Nav */
  .primary-nav { display: none; }
  .menu-toggle  { display: flex; }

  /* Grid */
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .portfolio-grid   { grid-template-columns: 1fr; }

  /* About */
  .about-layout { grid-template-columns: 1fr; }
  .about-photo  { max-width: 380px; }

  /* Hero */
  .hero__content {
    padding-inline: var(--sp-5);
    bottom: var(--sp-10);
  }

  /* Sections */
  .section { padding-block: var(--sp-12); }

  /* CTA banner actions */
  .cta-banner__actions { flex-direction: column; align-items: center; }
}

@media (max-width: 480px) {
  h1 { font-size: var(--fs-3xl); }
  h2 { font-size: var(--fs-2xl); }
  .section-title { font-size: var(--fs-2xl); }
  .hero__title   { font-size: clamp(2.5rem, 12vw, var(--fs-4xl)); }
}
