/* =========================================================
   A&M Consulting Engineers — styles.css
   Palette: deep navy ink + safety amber + civic teal
   ========================================================= */

:root {
  --ink:      #0B1F33;
  --navy:     #102A43;
  --navy-2:   #163655;
  --accent:   #F4A734;   /* safety amber */
  --accent-d: #d98e1c;
  --teal:     #2DA98C;   /* civic green */
  --paper:    #FBFAF7;
  --paper-2:  #F2F1EC;
  --line:     #E2E0D8;
  --text:     #1d2a36;
  --muted:    #5d6b78;
  --muted-l:  #9fb0bf;
  --radius:   16px;
  --radius-sm:10px;
  --shadow:   0 18px 50px -22px rgba(11,31,51,.35);
  --maxw:     1180px;
  --ease:     cubic-bezier(.22,.61,.36,1);
}

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

html { scroll-behavior: smooth; scroll-padding-top: 90px; }

body {
  font-family: 'Inter', system-ui, sans-serif;
  color: var(--text);
  background: var(--paper);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .brand__mark { font-family: 'Sora', sans-serif; line-height: 1.1; letter-spacing: -.02em; }

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

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

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

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: .5rem; font-weight: 600; font-family: 'Inter', sans-serif;
  padding: .8rem 1.5rem; border-radius: 999px; border: 1.5px solid transparent;
  cursor: pointer; transition: transform .2s var(--ease), background .2s, box-shadow .2s, color .2s;
  font-size: .98rem; white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn--accent { background: var(--accent); color: var(--ink); }
.btn--accent:hover { background: var(--accent-d); box-shadow: 0 12px 28px -10px rgba(244,167,52,.6); }
.btn--ghost { background: transparent; border-color: rgba(255,255,255,.35); color: #fff; }
.btn--ghost:hover { border-color: #fff; background: rgba(255,255,255,.08); }
.btn--lg { padding: 1rem 1.9rem; font-size: 1.02rem; }
.btn--sm { padding: .6rem 1.1rem; font-size: .9rem; }
.btn--block { width: 100%; }

.link-arrow { font-weight: 600; color: var(--accent-d); }
.link-arrow:hover { color: var(--ink); }

/* ---------- Topbar ---------- */
.topbar {
  background: var(--ink); color: var(--muted-l);
  font-size: .82rem; letter-spacing: .01em;
}
.topbar__inner { display: flex; justify-content: space-between; align-items: center; height: 38px; }
.topbar__contact { display: flex; align-items: center; gap: .6rem; }
.topbar__contact a:hover { color: var(--accent); }
.topbar__dot { color: var(--accent); }
@media (max-width: 640px){ .topbar__item { display: none; } .topbar__inner { justify-content: center; } }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(251,250,247,.85); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line); transition: box-shadow .3s;
}
.nav.scrolled { box-shadow: 0 8px 30px -18px rgba(11,31,51,.4); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }

.brand { display: flex; align-items: center; gap: .7rem; }
.brand__logo { height: 42px; width: auto; display: block; }
@media (max-width: 480px){ .brand__logo { height: 34px; } }
.brand__mark {
  display: grid; place-items: center; width: 44px; height: 44px;
  background: var(--ink); color: var(--accent); border-radius: 11px;
  font-weight: 800; font-size: 1.05rem; letter-spacing: -.04em;
}
.brand__text { display: flex; flex-direction: column; line-height: 1.15; }
.brand__text strong { font-size: 1.02rem; color: var(--ink); }
.brand__text em { font-style: normal; font-size: .76rem; color: var(--muted); letter-spacing: .02em; }

.nav__links { display: flex; align-items: center; gap: 1.6rem; }
.nav__links > a:not(.btn) { font-weight: 500; font-size: .95rem; color: var(--text); position: relative; }
.nav__links > a:not(.btn)::after {
  content: ''; position: absolute; left: 0; bottom: -6px; width: 0; height: 2px;
  background: var(--accent); transition: width .25s var(--ease);
}
.nav__links > a:not(.btn):hover::after { width: 100%; }

.nav__toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; }
.nav__toggle span { width: 24px; height: 2px; background: var(--ink); transition: .3s; }
.nav__mobile { display: none; flex-direction: column; gap: .25rem; padding: 1rem 24px 1.5rem; background: var(--paper); border-bottom: 1px solid var(--line); }
.nav__mobile a { padding: .7rem 0; font-weight: 500; border-bottom: 1px solid var(--line); }
.nav__mobile a.btn { margin-top: .8rem; border-bottom: none; }

/* Mid widths: keep the links visible, just tighten spacing so they fit */
@media (max-width: 1080px) and (min-width: 781px){
  .nav__links { gap: .9rem; }
  .nav__links > a:not(.btn) { font-size: .86rem; }
  .nav__links .btn--sm { padding: .5rem .9rem; font-size: .82rem; }
  .brand__logo { height: 34px; }
}
@media (max-width: 880px) and (min-width: 781px){
  .nav__links { gap: .65rem; }
  .nav__links > a:not(.btn) { font-size: .82rem; }
}

/* Narrow / mobile: collapse to the hamburger menu */
@media (max-width: 780px){
  .nav__links { display: none; }
  .nav__toggle { display: flex; }
  .nav__mobile.open { display: flex; }
  .nav.open .nav__toggle span:nth-child(1){ transform: translateY(7px) rotate(45deg); }
  .nav.open .nav__toggle span:nth-child(2){ opacity: 0; }
  .nav.open .nav__toggle span:nth-child(3){ transform: translateY(-7px) rotate(-45deg); }
}

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--ink); color: #fff; overflow: hidden; }
.hero__bg { position: absolute; inset: 0; }
.hero__svg { width: 100%; height: 100%; }
.hero__bg::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(1200px 500px at 80% -10%, rgba(45,169,140,.18), transparent 60%),
              radial-gradient(900px 500px at 10% 110%, rgba(244,167,52,.12), transparent 60%);
}
.hero__inner { position: relative; padding: 6.5rem 24px 7rem; max-width: 900px; }
.hero__eyebrow {
  text-transform: uppercase; letter-spacing: .18em; font-size: .8rem; font-weight: 600;
  color: var(--accent); margin-bottom: 1.3rem;
}
.hero__title { font-size: clamp(2.4rem, 6vw, 4.4rem); font-weight: 800; margin-bottom: 1.5rem; }
.hero__lead { font-size: clamp(1.05rem, 2vw, 1.25rem); color: #c9d6e2; max-width: 640px; margin-bottom: 2.2rem; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 3rem; }
.hero__trust {
  display: flex; flex-wrap: wrap; gap: 1.6rem; align-items: center;
  padding-top: 1.8rem; border-top: 1px solid rgba(255,255,255,.12);
}
.hero__trust span {
  font-size: .82rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  color: var(--muted-l);
}

/* ---------- Positioning strip ---------- */
.strip { background: var(--accent); color: var(--ink); }
.strip__inner { padding: 2.4rem 24px; }
.strip__lead {
  font-family: 'Sora', sans-serif; font-size: clamp(1.2rem, 2.6vw, 1.7rem);
  font-weight: 600; max-width: 920px; line-height: 1.35;
}
.strip__lead strong { text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 4px; }

/* ---------- Stats ---------- */
.stats { background: var(--navy); color: #fff; }
.stats__grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 1.5rem; padding: 3.2rem 24px; }
.stat { display: flex; flex-direction: column; gap: .4rem; padding: 0 .5rem; }
.stat__num { font-family: 'Sora', sans-serif; font-size: clamp(2.2rem, 4vw, 3rem); font-weight: 800; color: var(--accent); }
.stat__label { font-size: .92rem; color: #c9d6e2; }
@media (max-width: 720px){ .stats__grid { grid-template-columns: repeat(2,1fr); gap: 2rem; } }

/* ---------- Section base ---------- */
.section { padding: 6rem 0; }
.section--alt { background: var(--paper-2); }
.section__head { max-width: 720px; margin-bottom: 3.2rem; }
.kicker {
  display: inline-block; text-transform: uppercase; letter-spacing: .16em;
  font-size: .78rem; font-weight: 700; color: var(--accent-d); margin-bottom: 1rem;
}
.kicker--light { color: var(--accent); }
.section__head h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); margin-bottom: 1rem; color: var(--ink); }
.section__sub { color: var(--muted); font-size: 1.08rem; }
.section__sub em { color: var(--muted-l); font-style: italic; }

/* ---------- Cards (approach) ---------- */
.cards3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 2.2rem 1.8rem; transition: transform .3s var(--ease), box-shadow .3s;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.card__icon {
  width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center;
  background: var(--paper-2); color: var(--accent-d); margin-bottom: 1.3rem;
}
.card__icon svg { width: 28px; height: 28px; }
.card h3 { font-size: 1.25rem; margin-bottom: .6rem; color: var(--ink); }
.card p { color: var(--muted); font-size: .98rem; }
@media (max-width: 860px){ .cards3 { grid-template-columns: 1fr; } }

/* ---------- Services ---------- */
.services { display: grid; grid-template-columns: repeat(4,1fr); gap: 1.2rem; }
.service {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.8rem 1.5rem; position: relative; overflow: hidden;
  transition: transform .3s var(--ease), box-shadow .3s, border-color .3s;
}
.service::before {
  content: ''; position: absolute; left: 0; top: 0; width: 100%; height: 4px;
  background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease);
}
.service:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.service:hover::before { transform: scaleX(1); }
.service__no { font-family: 'Sora', sans-serif; font-weight: 800; font-size: 1rem; color: var(--accent-d); }
.service h3 { font-size: 1.12rem; margin: .7rem 0 .5rem; color: var(--ink); }
.service p { font-size: .92rem; color: var(--muted); }
.service--cta { background: var(--ink); color: #fff; }
.service--cta h3 { color: #fff; }
.service--cta p { color: #c9d6e2; }
.service--cta .link-arrow { color: var(--accent); display: inline-block; margin-top: .6rem; }
@media (max-width: 980px){ .services { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 540px){ .services { grid-template-columns: 1fr; } }

/* ---------- Impact ---------- */
.impact {
  background: var(--navy);
  background-image: radial-gradient(900px 400px at 90% 10%, rgba(45,169,140,.16), transparent 55%);
  color: #fff; padding: 6rem 0;
}
.impact__inner { display: grid; grid-template-columns: 1.2fr .8fr; gap: 4rem; align-items: center; }
.impact__text h2 { font-size: clamp(1.9rem, 4vw, 2.7rem); margin-bottom: 1.3rem; }
.impact__text p { color: #c9d6e2; margin-bottom: 1.1rem; font-size: 1.05rem; }
.impact__text em { color: #fff; font-style: italic; }
.impact__quote {
  margin-top: 2rem; padding: 1.2rem 1.5rem; border-left: 4px solid var(--accent);
  font-family: 'Sora', sans-serif; font-size: 1.2rem; font-weight: 500; color: #fff; line-height: 1.4;
}
.impact__list { list-style: none; display: flex; flex-direction: column; gap: 1rem; }
.impact__list li {
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-sm); padding: 1rem 1.2rem; font-size: 1.02rem; color: #dce6ef;
}
.impact__list span { color: var(--accent); font-weight: 700; font-family: 'Sora', sans-serif; }
@media (max-width: 880px){ .impact__inner { grid-template-columns: 1fr; gap: 2.5rem; } }

/* ---------- Work ---------- */
.work { display: grid; grid-template-columns: repeat(2,1fr); gap: 1.6rem; }
.work__item {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; transition: transform .3s var(--ease), box-shadow .3s;
}
.work__item:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.work__media { height: 240px; position: relative; }
img.work__media { width: 100%; object-fit: cover; display: block; }
.work__media::after {
  content: 'Add your project photo'; position: absolute; inset: 0;
  display: grid; place-items: center; color: rgba(255,255,255,.75);
  font-size: .85rem; letter-spacing: .04em; font-weight: 500;
}
.work__media--1 { background: linear-gradient(135deg, #163655, #2DA98C); }
.work__media--2 { background: linear-gradient(135deg, #102A43, #2f7fb8); }
.work__media--3 { background: linear-gradient(135deg, #1d6e4f, #6bbf59); }
.work__media--4 { background: linear-gradient(135deg, #0B1F33, #5b6f82); }
.work__body { padding: 1.6rem 1.7rem 1.9rem; }
.work__tag {
  display: inline-block; font-size: .74rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .1em; color: var(--accent-d); background: var(--paper-2);
  padding: .3rem .7rem; border-radius: 999px; margin-bottom: .8rem;
}
.work__body h3 { font-size: 1.3rem; color: var(--ink); margin-bottom: .5rem; }
.work__body p { color: var(--muted); font-size: .98rem; }
@media (max-width: 760px){ .work { grid-template-columns: 1fr; } }

/* ---------- About ---------- */
.about__banner { margin: 0 0 3rem; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.about__banner img { width: 100%; height: 380px; object-fit: cover; display: block; }
.about__banner figcaption { background: var(--ink); color: #c9d6e2; font-size: .85rem; padding: .8rem 1.3rem; }
.about { display: grid; grid-template-columns: 1.1fr .9fr; gap: 3.5rem; align-items: start; }
.about__text h2 { font-size: clamp(1.8rem, 4vw, 2.5rem); margin-bottom: 1.2rem; color: var(--ink); }
.about__text p { color: var(--muted); margin-bottom: 1.1rem; font-size: 1.05rem; }
.about__text .btn { margin-top: .8rem; }
.about__panel {
  background: var(--ink); color: #fff; border-radius: var(--radius); padding: 2.2rem 2rem;
  box-shadow: var(--shadow);
}
.about__panel h3 { font-size: 1.3rem; margin-bottom: 1.3rem; color: var(--accent); }
.about__panel ul { list-style: none; display: flex; flex-direction: column; gap: .9rem; }
.about__panel li { position: relative; padding-left: 1.8rem; color: #dce6ef; font-size: .98rem; }
.about__panel li::before {
  content: '✓'; position: absolute; left: 0; top: 0; color: var(--teal); font-weight: 800;
}
@media (max-width: 860px){ .about { grid-template-columns: 1fr; gap: 2.5rem; } }

/* ---------- CTA / Contact ---------- */
.cta { background: var(--ink); color: #fff; padding: 6rem 0; }
.cta__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; }
.cta__text h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); margin-bottom: 1.1rem; }
.cta__text > p { color: #c9d6e2; font-size: 1.08rem; margin-bottom: 2rem; max-width: 460px; }
.cta__contacts { display: flex; flex-direction: column; gap: 1.2rem; }
.cta__contact { display: flex; flex-direction: column; gap: .15rem; }
.cta__label { font-size: .78rem; text-transform: uppercase; letter-spacing: .12em; color: var(--accent); font-weight: 700; }
.cta__value { font-size: 1.1rem; font-weight: 500; color: #fff; }
a.cta__contact:hover .cta__value { color: var(--accent); }

.cta__form { background: #fff; color: var(--text); border-radius: var(--radius); padding: 2.2rem; box-shadow: var(--shadow); }
.cta__form h3 { font-size: 1.4rem; color: var(--ink); margin-bottom: 1.4rem; }
.field { margin-bottom: 1.1rem; }
.field label { display: block; font-size: .85rem; font-weight: 600; color: var(--muted); margin-bottom: .4rem; }
.field input, .field textarea {
  width: 100%; padding: .8rem 1rem; border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  font-family: inherit; font-size: .98rem; color: var(--text); background: var(--paper); transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field textarea:focus {
  outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(244,167,52,.18); background: #fff;
}
.field textarea { resize: vertical; }
.cta__note { text-align: center; font-size: .82rem; color: var(--muted); margin-top: 1rem; }
@media (max-width: 860px){ .cta__inner { grid-template-columns: 1fr; gap: 2.5rem; } }

/* ---------- Footer ---------- */
.footer { background: #07151f; color: #b9c6d2; padding: 3.5rem 0 2rem; }
.footer__inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2rem; align-items: flex-start; padding-bottom: 2.5rem; border-bottom: 1px solid rgba(255,255,255,.08); }
.footer__brand { display: flex; flex-direction: column; gap: .6rem; align-items: flex-start; max-width: 340px; }
.footer__logo { height: 46px; width: auto; display: block; }
.footer__brand p { font-size: .92rem; line-height: 1.5; }
.footer__brand strong { color: #fff; }
.footer__nav { display: flex; flex-wrap: wrap; gap: 1.2rem; }
.footer__nav a { font-size: .92rem; }
.footer__nav a:hover, .footer__social a:hover { color: var(--accent); }
.footer__social { display: flex; gap: 1.2rem; }
.footer__social a { font-size: .92rem; font-weight: 500; }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; padding-top: 1.5rem; font-size: .82rem; color: #7c8d9b; }

/* =========================================================
   City Engineer / On-Call Services page
   ========================================================= */
.page-hero { background: var(--ink); color: #fff; position: relative; overflow: hidden; padding: 5rem 0 4.5rem; }
.page-hero::before {
  content: ''; position: absolute; inset: 0;
  background-image:
    radial-gradient(900px 400px at 85% -10%, rgba(45,169,140,.18), transparent 60%),
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: auto, 40px 40px, 40px 40px;
}
.page-hero__inner { position: relative; max-width: 820px; }
.page-hero .breadcrumb { font-size: .85rem; color: var(--muted-l); margin-bottom: 1.2rem; }
.page-hero .breadcrumb a:hover { color: var(--accent); }
.page-hero h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); font-weight: 800; margin-bottom: 1.2rem; }
.page-hero p { font-size: clamp(1.05rem, 2vw, 1.2rem); color: #c9d6e2; max-width: 640px; }
.page-hero .btn { margin-top: 2rem; }

/* intro two-col */
.lead-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 3.5rem; align-items: center; }
.lead-grid h2 { font-size: clamp(1.7rem, 3.5vw, 2.4rem); color: var(--ink); margin-bottom: 1.1rem; }
.lead-grid p { color: var(--muted); font-size: 1.06rem; margin-bottom: 1rem; }
.lead-card { background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 2rem; }
.lead-card h3 { color: var(--ink); font-size: 1.2rem; margin-bottom: 1rem; }
.lead-card ul { list-style: none; display: flex; flex-direction: column; gap: .8rem; }
.lead-card li { position: relative; padding-left: 1.7rem; color: var(--muted); font-size: .98rem; }
.lead-card li::before { content: '✓'; position: absolute; left: 0; color: var(--teal); font-weight: 800; }
@media (max-width: 860px){ .lead-grid { grid-template-columns: 1fr; gap: 2.2rem; } }

/* lifecycle timeline */
.lifecycle { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.2rem; counter-reset: step; }
.lc-step {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.6rem 1.6rem 1.6rem 4.2rem; position: relative;
  transition: transform .3s var(--ease), box-shadow .3s;
}
.lc-step:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.lc-step::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  position: absolute; left: 1.4rem; top: 1.6rem;
  font-family: 'Sora', sans-serif; font-weight: 800; font-size: 1rem; color: var(--accent-d);
}
.lc-step h3 { font-size: 1.12rem; color: var(--ink); margin-bottom: .4rem; }
.lc-step p { font-size: .94rem; color: var(--muted); }
.lc-step--accent { background: var(--ink); border-color: transparent; }
.lc-step--accent::before { color: var(--accent); }
.lc-step--accent h3 { color: var(--accent); }
.lc-step--accent p { color: #c9d6e2; }
@media (max-width: 760px){ .lifecycle { grid-template-columns: 1fr; } }

/* capability / compliance badges */
.capgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.cap {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 1.3rem 1.2rem; text-align: left;
}
.cap strong { display: block; font-family: 'Sora', sans-serif; color: var(--ink); font-size: 1rem; margin-bottom: .3rem; }
.cap span { font-size: .85rem; color: var(--muted); }
@media (max-width: 900px){ .capgrid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 480px){ .capgrid { grid-template-columns: 1fr; } }

/* ---------- Contact form: honeypot + thank-you page ---------- */
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; opacity: 0; }
.form-error {
  background: #fde8e8; border: 1px solid #f5b5b5; color: #9b2c2c;
  border-radius: var(--radius-sm); padding: .8rem 1rem; font-size: .9rem; margin-bottom: 1.1rem;
}
.thanks__check {
  width: 76px; height: 76px; margin: 0 auto 1.6rem; border-radius: 50%;
  display: grid; place-items: center; font-size: 2.2rem; font-weight: 800;
  background: var(--teal); color: #fff;
}
.thanks__actions { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; margin-top: 2.2rem; }

/* ---------- Featured teaser (homepage) ---------- */
.feature {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 0;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow);
}
.feature__media { position: relative; min-height: 340px; }
.feature__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.feature__body { padding: 2.8rem 3rem; display: flex; flex-direction: column; justify-content: center; }
.feature__body .work__tag { margin-bottom: 1rem; }
.feature__body h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); color: var(--ink); margin-bottom: 1rem; line-height: 1.2; }
.feature__body p { color: var(--muted); font-size: 1.04rem; margin-bottom: 1.7rem; }
.feature__body .btn { align-self: flex-start; }
@media (max-width: 820px){
  .feature { grid-template-columns: 1fr; }
  .feature__media { min-height: 240px; }
  .feature__body { padding: 2.2rem 1.8rem; }
}

/* ---------- Tactical Urbanism: photo gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.photo {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow);
  transition: transform .3s var(--ease), box-shadow .3s;
}
.photo:hover { transform: translateY(-5px); }
.photo img { width: 100%; height: 250px; object-fit: cover; display: block; }
.photo figcaption { padding: .9rem 1.1rem 1.1rem; font-size: .88rem; color: var(--muted); line-height: 1.5; }
@media (max-width: 880px){ .gallery { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px){ .gallery { grid-template-columns: 1fr; } }

/* ---------- Tactical Urbanism: before/after results ---------- */
.results { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.result {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.8rem 1.9rem;
}
.result h4 { font-size: 1.08rem; color: var(--ink); margin-bottom: 1.2rem; line-height: 1.35; }
.result h4 span { display: block; font-weight: 500; font-size: .9rem; color: var(--muted); font-family: 'Inter', sans-serif; }
.bar-row { margin-bottom: 1rem; }
.bar-label { display: flex; justify-content: space-between; font-size: .85rem; font-weight: 600; color: var(--muted); margin-bottom: .35rem; }
.bar { height: 12px; background: var(--paper-2); border-radius: 999px; overflow: hidden; }
.bar > span { display: block; height: 100%; border-radius: 999px; }
.bar--before > span { background: var(--muted-l); }
.bar--after > span { background: var(--accent); }
.bar--after.bar--good > span { background: var(--teal); }
.result__note { font-size: .9rem; color: var(--muted); margin-top: 1rem; font-style: italic; }
@media (max-width: 760px){ .results { grid-template-columns: 1fr; } }

/* on-call model band */
.band { background: var(--paper-2); }
.band__inner { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem; padding: 3rem 0; }
.band__item { text-align: center; padding: 0 1rem; }
.band__item .big { font-family: 'Sora', sans-serif; font-size: 2.4rem; font-weight: 800; color: var(--accent-d); display: block; }
.band__item p { color: var(--muted); margin-top: .4rem; }
@media (max-width: 720px){ .band__inner { grid-template-columns: 1fr; gap: 2rem; } }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce){
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}
