/* ==========================================================================
   Ergon Analysis — design tokens
   ========================================================================== */

:root {
  /* brand palette, sampled from the E-A logo mark */
  --green-900: #182720;
  --green-800: #1e332b;
  --green-700: #2c473d;
  --green-600: #3c5c50;
  --green-500: #517566;
  --stone-300: #c9bcb3;
  --stone-200: #ddd3c8;
  --stone-100: #ece5db;
  --cream: #f8f5f0;
  --paper: #fdfcfa;
  --ink: #1c211d;
  --muted: #5d6961;
  --line: #e3dcd1;

  --font-display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --container: 1160px;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow-sm: 0 1px 2px rgba(24, 39, 32, 0.06);
  --shadow-md: 0 8px 24px rgba(24, 39, 32, 0.08);
  --shadow-lg: 0 20px 48px rgba(24, 39, 32, 0.12);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ==========================================================================
   Reset
   ========================================================================== */

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  line-height: 1.6;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4, p, dl, figure { margin: 0; }
button { font: inherit; cursor: pointer; }
input, textarea { font: inherit; }

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--green-700);
  color: #fff;
  padding: 12px 18px;
  z-index: 1000;
  border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

section[id] { scroll-margin-top: 84px; }

.wrap {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
}

.eyebrow {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green-600);
  margin: 0 0 14px;
}

.section-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.9rem, 1.5rem + 1.6vw, 2.7rem);
  line-height: 1.15;
  color: var(--green-900);
  letter-spacing: -0.01em;
  max-width: 20ch;
}

.section-lead {
  margin-top: 18px;
  font-size: 1.08rem;
  color: var(--muted);
  max-width: 62ch;
  line-height: 1.7;
}

.tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--green-700);
  background: var(--stone-200);
  padding: 5px 11px;
  border-radius: 100px;
  margin-bottom: 12px;
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 100px;
  border: 1px solid transparent;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
  white-space: nowrap;
}

.btn-primary {
  background: var(--green-700);
  color: #fff;
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover { background: var(--green-800); transform: translateY(-1px); box-shadow: var(--shadow-md); }

.btn-ghost {
  background: transparent;
  border-color: var(--green-700);
  color: var(--green-700);
}
.btn-ghost:hover { background: var(--green-700); color: #fff; transform: translateY(-1px); }

.btn-block { width: 100%; }

/* ==========================================================================
   Header
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 500;
  background: rgba(248, 245, 240, 0.82);
  backdrop-filter: blur(10px) saturate(140%);
  -webkit-backdrop-filter: blur(10px) saturate(140%);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 1px 0 rgba(24,39,32,0.02);
}

.scroll-progress {
  position: absolute;
  top: 0;
  left: 0;
  height: 2px;
  width: 100%;
  background: var(--green-600);
  transform-origin: 0 50%;
  transform: scaleX(0);
  z-index: 10;
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 76px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-right: auto;
}
.brand-mark { height: 34px; width: auto; }
.brand-word {
  font-family: var(--font-display);
  font-size: 1.18rem;
  font-weight: 500;
  color: var(--green-900);
  letter-spacing: -0.01em;
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}
.brand-word-thin {
  font-family: var(--font-body);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
}

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

.nav-link {
  position: relative;
  padding: 8px 14px;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ink);
  border-radius: 100px;
  transition: color 0.2s var(--ease), background 0.2s var(--ease);
}
.nav-link:hover { background: var(--stone-100); }
.nav-link.is-active { color: var(--green-700); font-weight: 600; }
.nav-link.is-active::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 2px;
  height: 2px;
  background: var(--green-700);
  border-radius: 2px;
}

.btn-nav { margin-left: 4px; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  border-radius: 8px;
}
.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 0 auto;
  background: var(--green-900);
  transition: transform 0.25s var(--ease), opacity 0.25s var(--ease);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
  position: relative;
  padding: 84px 0 96px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(720px 420px at 85% -10%, rgba(201, 188, 179, 0.55), transparent 60%),
    radial-gradient(600px 400px at 0% 20%, rgba(44, 71, 61, 0.06), transparent 60%),
    var(--cream);
}

.hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
}

.hero-inner { max-width: 840px; }

.hero-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.3rem, 1.7rem + 2.6vw, 2.2rem);
  line-height: 1.1;
  letter-spacing: -0.015em;
  color: var(--green-900);
  margin-bottom: 22px;
}

.hero-subtitle {
  font-size: 1.2rem;
  color: var(--green-700);
  max-width: 56ch;
  line-height: 1.6;
  font-weight: 500;
  margin-bottom: 32px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 44px;
}

.hero-intro {
  max-width: 68ch;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.75;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, auto);
  justify-content: start;
  gap: 18px 56px;
  margin-top: 40px;
}
.hero-stats .stat dt {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 500;
  color: var(--green-800);
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}
.hero-stats .stat dd {
  margin: 4px 0 0;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--muted);
}

.strengths {
  margin-top: 64px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.strength-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}
.strength-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--stone-300);
}

.strength-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: var(--stone-100);
  color: var(--green-700);
  margin-bottom: 20px;
}
.strength-icon svg { width: 26px; height: 26px; }

.strength-card h3 {
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 500;
  color: var(--green-900);
  margin-bottom: 10px;
  line-height: 1.3;
}
.strength-card p { color: var(--muted); font-size: 0.95rem; }

/* ==========================================================================
   Generic section
   ========================================================================== */

.section { padding: 104px 0; }
.section-tint { background: var(--stone-100); }

/* ==========================================================================
   Services
   ========================================================================== */

.service-lead {
  margin-top: 48px;
  display: flex;
  align-items: flex-start;
  gap: 28px;
  background: linear-gradient(135deg, var(--green-700), var(--green-800));
  color: #fff;
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: var(--shadow-lg);
}
.service-lead-icon {
  flex: none;
  width: 68px;
  height: 68px;
  border-radius: 14px;
  background: rgba(255,255,255,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--stone-300);
}
.service-lead-icon svg { width: 34px; height: 34px; }
.service-lead-text .tag { background: rgba(255,255,255,0.14); color: var(--stone-300); }
.service-lead-text h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 500;
  margin-bottom: 10px;
}
.service-lead-text p { color: rgba(255,255,255,0.82); max-width: 68ch; line-height: 1.7; }

.service-grid {
  margin-top: 20px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.service-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--stone-300);
}
.service-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--stone-100);
  color: var(--green-700);
  margin-bottom: 18px;
}
.service-icon svg { width: 24px; height: 24px; }
.service-card h3 {
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 500;
  color: var(--green-900);
  margin-bottom: 8px;
  line-height: 1.3;
}
.service-card p { color: var(--muted); font-size: 0.94rem; }

/* ==========================================================================
   About
   ========================================================================== */

.about-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 72px;
  align-items: center;
}

.about-copy p { margin-top: 18px; color: var(--ink); font-size: 1.02rem; line-height: 1.75; }
.about-copy p:first-of-type { margin-top: 22px; }

.about-approach {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px 32px;
  box-shadow: var(--shadow-sm);
}
.about-approach h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 500;
  color: var(--green-900);
  margin-bottom: 24px;
}

.approach-steps { display: flex; flex-direction: column; gap: 22px; }
.approach-steps li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.step-num {
  flex: none;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--stone-300);
  background: var(--green-900);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.approach-steps p { color: var(--muted); font-size: 0.95rem; line-height: 1.65; padding-top: 5px; }

/* ==========================================================================
   Projects
   ========================================================================== */

.project-slider {
  position: relative;
  margin-top: 48px;
}

.project-track {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 6px 6px 24px;
  scrollbar-width: none;
}
.project-track::-webkit-scrollbar { display: none; }
.project-track:focus-visible {
  outline: 2px solid var(--green-600);
  outline-offset: 4px;
  border-radius: var(--radius);
}

.project-card {
  position: relative;
  flex: 0 0 330px;
  min-width: 0;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 24px 22px;
  font: inherit;
  color: inherit;
  cursor: pointer;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}
.project-card:hover,
.project-card:focus-visible {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--stone-300);
}
.project-card:focus-visible {
  outline: 2px solid var(--green-600);
  outline-offset: 2px;
}

.project-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  margin-bottom: 14px;
}
.project-head-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  min-width: 0;
  padding-top: 4px;
}
.project-title {
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 500;
  color: var(--green-900);
  line-height: 1.3;
}
.project-year {
  flex: none;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--green-700);
  background: var(--stone-100);
  padding: 4px 10px;
  border-radius: 100px;
  white-space: nowrap;
}

.project-media {
  flex: none;
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.project-media img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
.project-media-icon {
  color: var(--green-700);
  background: var(--stone-100);
  border-radius: 12px;
}
.project-media-icon svg {
  width: 36px;
  height: 36px;
}

.project-teaser {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.5;
  width: 100%;
  margin-bottom: 16px;
}

.project-more {
  margin-top: auto;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--green-600);
}
.project-more::after {
  content: " →";
  transition: transform 0.2s var(--ease);
  display: inline-block;
}
.project-card:hover .project-more::after { transform: translateX(3px); }

.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--green-800);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  transition: background 0.2s var(--ease), color 0.2s var(--ease), opacity 0.2s var(--ease);
}
.slider-arrow svg { width: 20px; height: 20px; }
.slider-arrow:hover:not(:disabled) { background: var(--green-700); color: #fff; }
.slider-arrow:disabled { opacity: 0.35; cursor: default; }
.slider-prev { left: -22px; }
.slider-next { right: -22px; }

/* Project modal */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(24, 39, 32, 0.55);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  opacity: 0;
  transition: opacity 0.25s var(--ease);
}
.modal-overlay.is-open { opacity: 1; }
.modal-overlay[hidden] { display: none; }

.modal-panel {
  position: relative;
  width: 100%;
  max-width: 640px;
  max-height: min(80vh, 640px);
  overflow-y: auto;
  background: var(--paper);
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: var(--shadow-lg);
  transform: translateY(12px);
  transition: transform 0.25s var(--ease);
}
.modal-overlay.is-open .modal-panel { transform: translateY(0); }

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: none;
  background: var(--stone-100);
  color: var(--green-900);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}
.modal-close svg { width: 18px; height: 18px; }
.modal-close:hover { background: var(--green-700); color: #fff; }

.modal-media {
  height: 56px;
  display: flex;
  align-items: center;
  margin-bottom: 18px;
}
.modal-media:empty { display: none; }
.modal-media img { max-height: 100%; max-width: 170px; object-fit: contain; }
.modal-media svg {
  height: 44px;
  width: 44px;
  padding: 8px;
  box-sizing: content-box;
  background: var(--stone-100);
  border-radius: 12px;
  color: var(--green-700);
}

.modal-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 16px;
  padding-right: 40px;
}
.modal-head h3 {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 500;
  color: var(--green-900);
  line-height: 1.25;
}

.modal-body p { color: var(--muted); font-size: 0.96rem; line-height: 1.7; margin-bottom: 12px; }
.modal-body .modal-subtitle {
  font-weight: 600;
  color: var(--green-700);
  font-size: 1rem;
}

body.modal-open { overflow: hidden; }

/* ==========================================================================
   Contact
   ========================================================================== */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.contact-intro .section-lead { margin-bottom: 40px; }

.contact-next h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--green-900);
  margin-bottom: 22px;
}

.contact-form {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: var(--shadow-sm);
}
.form-row { margin-bottom: 20px; }
.form-row label {
  display: block;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--green-900);
  margin-bottom: 7px;
}
.form-row input,
.form-row textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--cream);
  color: var(--ink);
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
  resize: vertical;
}
.form-row input:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--green-600);
  box-shadow: 0 0 0 3px rgba(44, 71, 61, 0.12);
}
.form-note {
  min-height: 1.2em;
  margin-top: 14px;
  font-size: 0.88rem;
  color: var(--green-700);
  text-align: center;
}
.form-note.is-error { color: #a6453a; }

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
  background: var(--green-900);
  color: rgba(255,255,255,0.72);
  padding-top: 64px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-brand { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; max-width: 30ch; }
.footer-brand .brand-mark { filter: brightness(0) invert(1); opacity: 0.92; height: 30px; width: auto; align-self: flex-start; }
.footer-brand p { font-size: 0.92rem; color: rgba(255,255,255,0.6); }

.footer-nav { display: flex; flex-direction: column; gap: 12px; }
.footer-nav a { font-size: 0.94rem; color: rgba(255,255,255,0.75); transition: color 0.2s var(--ease); }
.footer-nav a:hover { color: #fff; }

.footer-legal p { font-size: 0.88rem; margin-bottom: 8px; color: rgba(255,255,255,0.62); }
.footer-legal strong { color: #fff; }
.footer-legal a:hover { color: #fff; text-decoration: underline; }

.footer-bottom {
  padding: 22px 28px;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
}

/* ==========================================================================
   Reveal-on-scroll
   ========================================================================== */

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .strength-card, .service-card, .project-card { transition: none; }
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 980px) {
  .strengths, .service-grid { grid-template-columns: repeat(2, 1fr); }
  .slider-prev { left: -10px; }
  .slider-next { right: -10px; }
  .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; max-width: none; }
}

@media (max-width: 760px) {
  .main-nav { display: none; }
  .btn-nav { display: none; }
  .nav-toggle { display: flex; }

  .site-header.nav-open .main-nav {
    display: block;
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
  }
  .site-header.nav-open .main-nav ul {
    flex-direction: column;
    align-items: stretch;
    padding: 12px 28px 24px;
    gap: 4px;
  }
  .site-header.nav-open .main-nav .nav-link { padding: 12px 14px; }

  .hero { padding: 56px 0 64px; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 24px 32px; }
  .strengths, .service-grid { grid-template-columns: 1fr; }
  .project-card { flex-basis: 82%; }
  .slider-arrow { display: none; }
  .modal-panel { padding: 28px 22px; }
  .section { padding: 72px 0; }
  .service-lead { flex-direction: column; padding: 28px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; }
}

@media (max-width: 480px) {
  .wrap { padding: 0 20px; }
  .footer-inner { grid-template-columns: 1fr; }
}
