:root {
  --navy: #0d1a2d;
  --navy-text: #13233c;
  --navy-deep: rgba(9, 18, 32, 0.92);
  --navy-border: #1e2f47;
  --navy-outline: #3a4a63;
  --navy-sub: #1d3049;
  --green: #8dc63f;
  --green-hover: #7cb52e;
  --green-text: #5d8f1c;
  --green-tint: #e3efd0;
  --gray: #4a5a72;
  --muted-dark: #c8d2e0;
  --muted-card: #a8b6c9;
  --muted-footer: #7688a0;
  --placeholder: #9aa8ba;
  --note-text: #5f6e82;
  --light: #f2f5f9;
  --border: #d7dfe9;
  --border-soft: #e8ecf2;
  --error-border: #e2574c;
  --error-text: #b03a31;
  --error-bg: #fdf0ef;
  --page-bg: #fff;
  --ink: #13233c;
  --section-plain: #fff;
  --section-dark: #0d1a2d;
  --page-head-bg: #0d1a2d;
  --card-bg: #0d1a2d;
  --card-border: transparent;
  --card-ink: #fff;
  --card-muted: #a8b6c9;
  --card-icon: #8dc63f;
  --quote-bg: #f2f5f9;
  --header-bg: #fff;
  --header-ink: #13233c;
  --header-nav: #13233c;
  --topbar-bg: #0d1a2d;
  --topbar-text: #c8d2e0;
  --footer-bg: #0d1a2d;
  --footer-muted: #7688a0;
  --brand-sub: #5d8f1c;
  --chip-bg: #e3efd0;
  --chip-fg: #5d8f1c;
  --field-bg: #fff;
  --outline-btn-ink: #13233c;
  --btn-radius: 4px;
  --rule: 1px;
  --wrap: 1240px;
  --gutter: 5%;
  --ease: 180ms ease;
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; background: var(--page-bg); }
body {
  font-family: 'Montserrat', system-ui, sans-serif;
  font-weight: 600;
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  min-width: 320px;
}
img { display: block; max-width: 100%; }
a { color: var(--green-text); text-decoration: none; transition: color var(--ease), background var(--ease), border-color var(--ease); }
a:hover { color: var(--navy-text); }
h1, h2, h3, p { margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--green); outline-offset: 2px; }

.icon { width: 1em; height: 1em; flex-shrink: 0; vertical-align: -0.125em; }
.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; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--green); color: var(--navy); padding: 10px 16px; border-radius: 4px; font-weight: 800; }
.skip:focus { top: 12px; }

.wrap { max-width: var(--wrap); margin: 0 auto; }
.section { padding: 80px var(--gutter); }
.section--light { background: var(--light); }
.section--navy { background: var(--section-dark); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  border: 2px solid transparent; border-radius: var(--btn-radius);
  padding: 13px 26px; font-size: 13.5px; font-weight: 800; letter-spacing: 0.04em;
  cursor: pointer; white-space: nowrap;
  transition: background var(--ease), color var(--ease), border-color var(--ease);
}
.btn--lg { padding: 15px 28px; font-size: 14px; }
.btn--sm { padding: 11px 20px; font-size: 12.5px; letter-spacing: 0.06em; }
.btn--green { background: var(--green); color: var(--navy); }
.btn--green:hover { background: var(--green-hover); color: var(--navy); }
.btn--navy { background: var(--navy); color: #fff; }
.btn--navy:hover { background: var(--green); color: var(--navy); }
.btn--navy-quiet:hover { background: var(--navy-text); color: #fff; }
.btn--outline { border-color: var(--border); background: transparent; color: var(--outline-btn-ink); }
.btn--outline:hover { border-color: var(--green); color: var(--outline-btn-ink); }
.btn--outline-dark { border-color: var(--navy-outline); color: #fff; }
.btn--outline-dark:hover { border-color: var(--green); color: var(--green); }

/* Eyebrow + headings */
.eyebrow {
  display: flex; align-items: center; gap: 10px;
  color: var(--green-text); font-size: 12px; font-weight: 800; letter-spacing: 0.18em; text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 26px; height: 3px; background: var(--green); flex-shrink: 0; }
.eyebrow--dark { color: var(--green); }
.eyebrow--lg { font-size: 12.5px; gap: 12px; }
.eyebrow--lg::before { width: 32px; }
.h2 { font-size: clamp(26px, 3.2vw, 36px); font-weight: 900; line-height: 1.2; margin-top: 12px; }
.accent { color: var(--green); }
.accent-text { color: var(--green-text); }
.lead { font-size: 15px; line-height: 1.75; color: var(--gray); }
.script { font-family: 'Caveat', cursive; font-weight: 600; width: fit-content; }
.script span { color: var(--green); }

/* Top bar */
.topbar {
  background: var(--topbar-bg); color: var(--topbar-text);
  display: flex; flex-wrap: wrap; gap: 10px 28px; align-items: center; justify-content: space-between;
  padding: 10px var(--gutter); font-size: 13px; font-weight: 600; letter-spacing: 0.02em;
}
.topbar__contact { display: flex; flex-wrap: wrap; gap: 8px 24px; align-items: center; }
.topbar a { display: inline-flex; align-items: center; gap: 6px; }
.topbar__phone { color: #fff; }
.topbar__email { color: var(--topbar-text); }
.topbar a:hover { color: var(--green); }
.topbar__area { color: var(--green); }

/* Header */
.site-header {
  background: var(--header-bg); position: sticky; top: 0; z-index: 50;
  display: flex; flex-wrap: wrap; gap: 14px 32px; align-items: center; justify-content: space-between;
  padding: 14px var(--gutter); border-bottom: var(--rule) solid var(--border-soft);
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { width: 56px; height: 56px; border-radius: 50%; }
.brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.brand__name { font-weight: 900; font-size: 21px; letter-spacing: 0.06em; color: var(--header-ink); }
.brand__sub { font-weight: 700; font-size: 9.5px; letter-spacing: 0.14em; color: var(--brand-sub); }
.site-nav { display: flex; flex-wrap: wrap; gap: 6px 26px; align-items: center; font-size: 14px; font-weight: 700; }
.site-nav a:not(.btn) { color: var(--header-nav); padding: 4px 0; border-bottom: 3px solid transparent; }
.site-nav a:not(.btn):hover { color: var(--green-text); }
.site-nav a[aria-current="page"] { border-bottom-color: var(--green); }
.site-nav__cta { padding: 12px 22px; }
.nav-toggle { display: none; }

@media (max-width: 760px) {
  .topbar { justify-content: center; font-size: 12.5px; }
  .topbar__email, .topbar__area { display: none; }
  .site-header { flex-wrap: nowrap; padding-top: 10px; padding-bottom: 10px; }
  .brand img { width: 46px; height: 46px; }
  .brand__name { font-size: 19px; }
  .nav-toggle {
    display: inline-flex; align-items: center; justify-content: center;
    width: 46px; height: 46px; border: 2px solid var(--border); border-radius: 4px; background: transparent; color: var(--header-ink); cursor: pointer; font-size: 22px;
  }
  .nav-toggle__close, .nav-toggle[aria-expanded="true"] .nav-toggle__open { display: none; }
  .nav-toggle[aria-expanded="true"] .nav-toggle__close { display: inline-flex; }
  .site-nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--header-bg); border-bottom: var(--rule) solid var(--border-soft); box-shadow: 0 16px 24px rgba(13, 26, 45, 0.12);
    padding: 6px var(--gutter) 18px;
  }
  .site-nav.is-open { display: flex; }
  .site-nav a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--border-soft); font-size: 16px; }
  .site-nav a[aria-current="page"] { color: var(--green-text); border-bottom-color: var(--border-soft); box-shadow: inset 3px 0 0 var(--green); padding-left: 12px; }
  .site-nav__cta { justify-content: center; margin-top: 16px; padding: 15px 22px; }
}

/* Home hero */
.hero { background: var(--navy); position: relative; overflow: hidden; }
.hero__img { position: absolute; right: 0; top: 0; width: 52%; height: 100%; object-fit: cover; object-position: center 40%; }
.hero__shade { position: absolute; inset: 0; background: linear-gradient(90deg, var(--navy) 0%, var(--navy) 46%, rgba(13, 26, 45, 0.85) 58%, rgba(13, 26, 45, 0.15) 100%); }
.hero__body { position: relative; padding: 88px var(--gutter) 96px; max-width: var(--wrap); margin: 0 auto; }
.hero h1 { font-size: clamp(42px, 6vw, 72px); font-weight: 900; color: #fff; margin: 18px 0 8px; line-height: 1.02; }
.hero__sub { font-size: 20px; font-weight: 700; color: #fff; margin-bottom: 14px; }
.hero__intro { font-size: 16px; line-height: 1.65; color: var(--muted-dark); max-width: 480px; margin-bottom: 32px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero .script { font-size: 30px; color: #fff; margin-top: 56px; transform: rotate(-3deg); }
.ticks {
  position: relative; background: var(--navy-deep); border-top: 1px solid var(--navy-border);
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1px; padding: 0 var(--gutter);
  list-style: none; margin: 0;
}
.ticks li { display: flex; align-items: center; gap: 12px; padding: 20px 10px; color: #fff; font-size: 13.5px; font-weight: 700; }
.ticks .icon { color: var(--green); font-size: 20px; stroke-width: 3; }

@media (max-width: 760px) {
  .hero__img { width: 100%; opacity: 0.35; }
  .hero__shade { background: linear-gradient(180deg, rgba(13, 26, 45, 0.7), var(--navy) 85%); }
  .hero__body { padding-top: 56px; padding-bottom: 64px; }
  .hero .script { margin-top: 40px; }
  .ticks { grid-template-columns: 1fr 1fr; }
  .ticks li { padding: 14px 6px; font-size: 12.5px; align-items: flex-start; }
}

/* Section header row */
.section-head { display: flex; flex-wrap: wrap; gap: 24px 48px; align-items: flex-end; justify-content: space-between; margin-bottom: 40px; }
.section-head__title { max-width: 460px; }
.section-head__title .h2 { font-size: clamp(28px, 3.4vw, 38px); line-height: 1.15; }
.section-head__aside { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; max-width: 420px; }
.section-head__aside p { font-size: 14.5px; line-height: 1.7; color: var(--gray); }

/* Service cards (home) */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.card {
  display: flex; flex-direction: column; background: var(--card-bg); border-radius: 6px; overflow: hidden; color: var(--card-ink);
  transition: transform var(--ease), box-shadow var(--ease);
}
.card:hover { color: var(--card-ink); transform: translateY(-4px); box-shadow: 0 16px 32px rgba(13, 26, 45, 0.25); }
.card img { width: 100%; height: 170px; object-fit: cover; }
.card__body { padding: 20px 20px 24px; }
.card__title { display: flex; align-items: center; gap: 10px; font-size: 17px; font-weight: 800; margin-bottom: 12px; }
.card__title .icon { color: var(--card-icon); font-size: 19px; }
.card__items { font-size: 12.5px; line-height: 1.9; color: var(--card-muted); font-weight: 600; }

/* Why choose */
.split { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); gap: 48px; align-items: center; }
.photo-caption { position: relative; border-radius: 6px; overflow: hidden; min-height: 340px; }
.photo-caption img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.photo-caption .script {
  position: absolute; left: 0; right: 0; bottom: 0; width: auto;
  background: linear-gradient(transparent, rgba(9, 18, 32, 0.85)); padding: 60px 22px 18px;
  font-size: 27px; color: #fff; transform: rotate(-1deg); transform-origin: left bottom;
}
.why .h2 { margin-bottom: 4px; }
.why .lead { margin: 14px 0 26px; max-width: 480px; }
.chips { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 18px; max-width: 520px; margin: 0 0 30px; padding: 0; list-style: none; }
.chips li { display: flex; align-items: center; gap: 12px; font-size: 13.5px; font-weight: 800; }
.chip-icon { width: 40px; height: 40px; border-radius: 50%; background: var(--chip-bg); color: var(--chip-fg); display: flex; align-items: center; justify-content: center; font-size: 18px; flex-shrink: 0; }

/* Recent projects strip */
.section--projects { padding-top: 72px; padding-bottom: 72px; }
.section--projects .section-head { margin-bottom: 34px; gap: 20px 40px; }
.section--projects .h2 { color: #fff; }
.thumbs { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.thumbs a { border-radius: 6px; overflow: hidden; display: block; }
.thumbs img { width: 100%; height: 230px; object-fit: cover; transition: transform 200ms ease; }
.thumbs a:hover img { transform: scale(1.04); }

/* Testimonial */
.testimonial { padding: 64px var(--gutter); gap: 36px; }
.testimonial .split { gap: 36px; }
.testimonial .h2 { font-size: clamp(24px, 3vw, 32px); line-height: 1.25; }
.quote { background: var(--quote-bg); border-radius: 6px; padding: 30px 34px; margin: 0; }
.quote::before { content: "“"; display: block; color: var(--green); font-size: 38px; font-weight: 900; line-height: 0.6; margin-bottom: 16px; padding-top: 10px; }
.quote p { font-size: 15.5px; line-height: 1.7; font-weight: 600; margin-bottom: 14px; }
.quote footer { font-size: 12.5px; font-weight: 800; color: var(--green-text); }

/* CTA band */
.cta { background: var(--green); padding: 44px var(--gutter); }
.cta__inner { display: flex; flex-wrap: wrap; gap: 24px 40px; align-items: center; justify-content: space-between; }
.cta__lead { display: flex; align-items: center; gap: 18px; }
.cta__icon { width: 52px; height: 52px; border: 2.5px solid var(--navy); border-radius: 6px; display: flex; align-items: center; justify-content: center; font-size: 26px; color: var(--navy); flex-shrink: 0; }
.cta__title { font-size: 21px; font-weight: 900; color: var(--navy); }
.cta__sub { font-size: 14px; font-weight: 600; color: var(--navy-sub); }
.cta__actions { display: flex; flex-wrap: wrap; gap: 18px 32px; align-items: center; }
.cta .script { font-size: 27px; color: var(--navy); transform: rotate(-3deg); }
.cta .script span { color: inherit; }

/* Footer */
.site-footer { background: var(--footer-bg); padding: 48px var(--gutter) 0; }
.site-footer__main { max-width: var(--wrap); margin: 0 auto; display: flex; flex-wrap: wrap; gap: 32px 48px; align-items: center; justify-content: space-between; padding-bottom: 36px; }
.brand--footer { gap: 14px; }
.brand--footer img { width: 64px; height: 64px; }
.brand--footer .brand__name { font-size: 22px; color: #fff; }
.brand--footer .brand__sub { font-size: 10px; color: var(--green); }
.site-footer__contact { display: flex; flex-direction: column; gap: 10px; font-size: 14px; font-weight: 600; color: var(--muted-dark); }
.site-footer__contact > * { display: inline-flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.site-footer__contact a { color: var(--muted-dark); }
.site-footer__contact a:hover { color: var(--green); }
.script--footer { font-size: 28px; color: #fff; transform: rotate(-4deg); }
.site-footer__legal { max-width: var(--wrap); margin: 0 auto; border-top: 1px solid var(--navy-border); display: flex; flex-wrap: wrap; gap: 10px 30px; align-items: center; justify-content: space-between; padding: 18px 0; font-size: 12px; color: var(--footer-muted); font-weight: 600; }
.site-footer__legal nav { display: flex; gap: 24px; }
.site-footer__legal a { color: var(--footer-muted); }
.site-footer__legal a:hover { color: var(--green); }

/* Inner page header */
.page-head { background: var(--page-head-bg); padding: 64px var(--gutter) 60px; }
.page-head h1 { font-size: clamp(34px, 4.6vw, 54px); font-weight: 900; color: #fff; margin: 16px 0 10px; line-height: 1.05; }
.page-head p { font-size: 16px; line-height: 1.7; color: var(--muted-dark); max-width: 560px; }

/* Services page */
.services { padding: 70px var(--gutter); display: flex; flex-direction: column; gap: 64px; }
.service { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 44px; align-items: center; scroll-margin-top: 110px; }
.service__photo { position: relative; border-radius: 6px; overflow: hidden; min-height: 320px; }
.service__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tag { position: absolute; left: 16px; top: 16px; background: var(--green); color: var(--navy); font-size: 11.5px; font-weight: 800; letter-spacing: 0.12em; padding: 8px 14px; border-radius: 3px; }
.service__heading { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.service__icon { width: 52px; height: 52px; border-radius: 6px; background: var(--navy); color: var(--green); display: flex; align-items: center; justify-content: center; font-size: 25px; flex-shrink: 0; }
.service h2 { font-size: clamp(24px, 3vw, 32px); font-weight: 900; }
.service .lead { margin-bottom: 22px; max-width: 520px; }
.checklist { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 10px 24px; max-width: 520px; margin: 0 0 26px; padding: 0; list-style: none; }
.checklist li { display: flex; align-items: center; gap: 10px; font-size: 13.5px; font-weight: 700; }
.checklist .icon { color: var(--green); stroke-width: 3.5; }
@media (min-width: 900px) {
  .service:nth-child(even) .service__photo { order: 2; }
}
.help-band { background: var(--light); padding: 56px var(--gutter); text-align: center; }
.help-band h2 { font-size: clamp(22px, 2.8vw, 30px); font-weight: 900; margin-bottom: 10px; }
.help-band p { font-size: 15px; color: var(--gray); margin-bottom: 24px; line-height: 1.7; }

/* Projects page */
.gallery-section { padding: 60px var(--gutter) 24px; }
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 32px; }
.filter {
  border: 2px solid var(--border); background: var(--section-plain); color: var(--gray);
  font-size: 12.5px; font-weight: 800; letter-spacing: 0.05em; padding: 10px 18px; border-radius: 4px; cursor: pointer;
  transition: background var(--ease), border-color var(--ease), color var(--ease);
}
.filter:hover { border-color: var(--green); }
.filter[aria-pressed="true"] { border-color: var(--green); background: var(--green); color: var(--navy); }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(280px, 100%), 1fr)); gap: 18px; padding: 0 0 56px; margin: 0; list-style: none; }
.gallery li[hidden] { display: none; }
.tile { position: relative; border-radius: 6px; overflow: hidden; background: var(--navy); margin: 0; }
.tile img { width: 100%; height: 300px; object-fit: cover; transition: transform 200ms ease, opacity 200ms ease; }
.tile:hover img { transform: scale(1.04); opacity: 0.85; }
.tile figcaption { position: absolute; left: 0; right: 0; bottom: 0; background: linear-gradient(transparent, rgba(9, 18, 32, 0.9)); padding: 48px 18px 14px; pointer-events: none; }
.tile__cat { color: var(--green); font-size: 10.5px; font-weight: 800; letter-spacing: 0.14em; margin-bottom: 4px; }
.tile__title { color: #fff; font-size: 15px; font-weight: 800; }

/* Contact page */
.contact { padding: 64px var(--gutter); display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 48px; align-items: start; }
.form { display: flex; flex-direction: column; gap: 16px; }
.form[hidden] { display: none; }
.form__row { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }
.field { display: flex; flex-direction: column; gap: 7px; font-size: 12.5px; font-weight: 800; letter-spacing: 0.03em; }
.field__label { text-transform: uppercase; }
.field__hint { color: var(--placeholder); font-weight: 600; text-transform: none; }
.field input, .field select, .field textarea {
  border: 2px solid var(--border); border-radius: 4px; padding: 13px 14px; font-size: 14px; font-weight: 600; color: var(--ink);
  background: var(--field-bg); outline: none; letter-spacing: normal; transition: border-color var(--ease); width: 100%;
}
.field textarea { resize: vertical; min-height: 130px; }
.field select { cursor: pointer; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--green); }
.field [aria-invalid="true"] { border-color: var(--error-border); }
::placeholder { color: var(--placeholder); opacity: 1; }
.dropzone {
  display: block; border: 2px dashed var(--border); border-radius: 6px; padding: 26px 18px; text-align: center; cursor: pointer; background: var(--field-bg);
  transition: border-color var(--ease), background var(--ease);
}
.dropzone:hover, .dropzone.is-over, .dropzone:focus-within { border-color: var(--green); background: #f4f9ea; }
.dropzone input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.dropzone__icon { font-size: 28px; margin: 0 auto 6px; display: block; color: var(--ink); }
.dropzone__title, .dropzone__sub { display: block; }
.dropzone__title { font-size: 13.5px; font-weight: 800; letter-spacing: normal; }
.dropzone__sub { font-size: 12px; color: var(--muted-footer); font-weight: 600; margin-top: 4px; letter-spacing: normal; }
.previews { display: flex; flex-wrap: wrap; gap: 10px; margin: 4px 0 0; padding: 0; list-style: none; }
.previews:empty { display: none; }
.preview { position: relative; width: 86px; height: 86px; border-radius: 6px; overflow: hidden; border: 2px solid var(--border); }
.preview img { width: 100%; height: 100%; object-fit: cover; }
.preview button {
  position: absolute; top: 3px; right: 3px; width: 24px; height: 24px; border-radius: 50%; border: none;
  background: rgba(13, 26, 45, 0.85); color: #fff; font-size: 13px; cursor: pointer; padding: 0;
  display: flex; align-items: center; justify-content: center;
}
.preview button .icon { stroke-width: 3; }
.alert { background: var(--error-bg); border: 2px solid var(--error-border); border-radius: 4px; padding: 12px 16px; font-size: 13px; font-weight: 700; color: var(--error-text); }
.alert[hidden] { display: none; }
.form__submit { justify-content: center; padding: 17px 28px; font-size: 14px; letter-spacing: 0.05em; margin-top: 4px; }
.form__submit[disabled] { opacity: 0.7; cursor: progress; }
.form__note { font-size: 11.5px; color: var(--note-text); font-weight: 600; line-height: 1.6; }
.hp { position: absolute; left: -9999px; }
.sent { background: #f0f7e3; border: 2px solid var(--green); border-radius: 6px; padding: 40px 34px; text-align: center; }
.sent[hidden] { display: none; }
.sent__badge { width: 64px; height: 64px; border-radius: 50%; background: var(--green); color: var(--navy); font-size: 30px; display: flex; align-items: center; justify-content: center; margin: 0 auto 18px; }
.sent__badge .icon { stroke-width: 3.5; }
.sent h2 { font-size: 24px; font-weight: 900; margin-bottom: 10px; }
.sent p { font-size: 14.5px; line-height: 1.7; color: var(--gray); margin-bottom: 22px; }
.sent p a { font-weight: 800; }
.sidebar { display: flex; flex-direction: column; gap: 22px; }
.talk { background: var(--navy); border-radius: 6px; padding: 32px 30px; color: #fff; }
.talk h2 { font-size: 20px; font-weight: 900; margin-bottom: 20px; }
.talk__links { display: flex; flex-direction: column; gap: 16px; font-size: 14.5px; font-weight: 700; }
.talk__links a { color: #fff; display: flex; align-items: center; gap: 12px; overflow-wrap: anywhere; }
.talk__links a:hover { color: var(--green); }
.talk__links a.talk__email { color: var(--muted-dark); }
.talk__icon { width: 38px; height: 38px; border-radius: 50%; background: var(--green); color: var(--navy); display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 17px; }
.talk__area { border-top: 1px solid var(--navy-border); margin-top: 24px; padding-top: 20px; font-size: 13px; line-height: 1.8; color: var(--muted-dark); font-weight: 600; }
.label-small { font-weight: 800; letter-spacing: 0.1em; font-size: 11.5px; margin-bottom: 6px; color: var(--green); }
.next { background: var(--quote-bg); border-radius: 6px; padding: 28px 30px; }
.next .label-small { color: var(--green-text); margin-bottom: 12px; }
.next ol { list-style: none; margin: 0; padding: 0; counter-reset: step; display: flex; flex-direction: column; gap: 14px; font-size: 13.5px; font-weight: 600; color: var(--gray); line-height: 1.6; }
.next li { display: flex; gap: 12px; counter-increment: step; }
.next li::before { content: counter(step) "."; color: var(--ink); font-weight: 900; }
.sidebar .script { font-size: 29px; color: var(--ink); transform: rotate(-2deg); margin: 0 auto; }
.sidebar .script span { color: var(--green-text); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}

/* --- phones ---------------------------------------------------------------
   Last in the file on purpose: these override the component rules above, and
   the client and their customers are on phones almost exclusively. */
@media (max-width: 760px) {
  .topbar a { padding: 15px 0; }
  .site-footer__contact a { padding: 13px 0; }
  .site-footer__legal a { padding: 14px 0; }
  .filter { padding: 14px 20px; }
  .link-underline { display: inline-block; padding: 11px 0; }
  .tile__cat { font-size: 11.5px; }
  .style-switch button { width: 42px; height: 42px; font-size: 15px; }
  .btn--sm { padding: 14px 20px; }
  .talk__links a { padding: 6px 0; }
  .site-nav a:not(.btn) { padding: 16px 0; }
  .style-switch { padding: 6px 8px 6px 14px; }
}

/* --- project lightbox ------------------------------------------------------
   Tapping a project opens it large, growing out of the thumbnail and shrinking
   back into it on the way out. The <dialog> gives us Esc and a focus trap for
   free; the growing is done in JS, which knows where the thumbnail is. */
.gallery li, .thumbs a, .polaroid, .work-grid a { cursor: zoom-in; }
.gallery li:focus-visible, .polaroid:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; }
.lightbox {
  border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100dvh;
  width: 100%; height: 100%; overflow: hidden; color: #fff;
}
.lightbox::backdrop { background: rgba(6, 12, 22, 0.92); }
.lightbox__frame {
  position: absolute; inset: 0; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 14px; padding: 16px;
}
.lightbox img {
  /* without this a swipe becomes Chrome native image drag, which hijacks the
     gesture and can even navigate the page away */
  -webkit-user-drag: none; user-select: none; touch-action: pan-y;
  max-width: min(1100px, 94vw); max-height: 78dvh; width: auto; height: auto;
  border-radius: 6px; box-shadow: 0 30px 70px rgba(0, 0, 0, 0.5); background: var(--navy);
  transform-origin: top left;
}
.lightbox__caption { text-align: center; max-width: 94vw; }
.lightbox__cat { color: var(--green); font-size: 11px; font-weight: 800; letter-spacing: 0.14em; margin-bottom: 4px; }
.lightbox__title { font-size: 16px; font-weight: 800; }
.lightbox__count { font-size: 12.5px; font-weight: 700; color: var(--muted-dark); margin-top: 6px; }
.lightbox button {
  position: absolute; display: flex; align-items: center; justify-content: center;
  width: 52px; height: 52px; border-radius: 50%; cursor: pointer;
  background: rgba(13, 26, 45, 0.72); border: 2px solid rgba(255, 255, 255, 0.28); color: #fff;
}
.lightbox button:hover { background: var(--green); border-color: var(--green); color: var(--navy); }
.lightbox button .icon { width: 24px; height: 24px; }
.lightbox__close { top: 14px; right: 14px; }
.lightbox__prev { left: 14px; top: 50%; margin-top: -26px; }
.lightbox__next { right: 14px; top: 50%; margin-top: -26px; }
@media (max-width: 760px) {
  .lightbox img { max-height: 68dvh; }
  .lightbox__prev { left: 8px; }
  .lightbox__next { right: 8px; }
  .lightbox button { width: 48px; height: 48px; }
}
