/* ==========================================================
   SOUTHLINE SURVEYING & MAPPING
   Site stylesheet
   ========================================================== */

:root {
  --navy-dark: #0A1628;
  --navy: #0F1D35;
  --navy-mid: #1C3058;
  --blue: #1434C4;
  --blue-deep: #0F2A9E;
  --blue-tint: #E9EDFB;
  --red: #B81C1C;
  --red-hover: #9A1616;
  --bg: #F7F6F3;
  --surface: #FFFFFF;
  --border: #E5E3DD;
  --text: #0F1D35;
  --text-body: #3F4A5C;
  --text-muted: #6B7280;
  --text-subtle: #8C9AB0;
  --font-display: 'Barlow Condensed', 'Arial Narrow', Impact, sans-serif;
  --font-body: 'Barlow', 'Segoe UI', Helvetica, Arial, sans-serif;
  --radius: 6px;
  --max: 1200px;
  --pad: clamp(20px, 5vw, 56px);
  --ease: cubic-bezier(.2,.7,.2,1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text-body);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img, svg, video { max-width: 100%; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--text);
  line-height: 1.05;
  margin: 0 0 .5em;
  font-weight: 700;
  letter-spacing: .01em;
}
h1 { font-size: clamp(40px, 6vw, 72px); font-weight: 800; }
h2 { font-size: clamp(30px, 4vw, 44px); }
h3 { font-size: clamp(20px, 2.2vw, 24px); }
p { margin: 0 0 1em; }
ul { padding-left: 1.2em; }
.container { width: 100%; max-width: var(--max); margin: 0 auto; padding-inline: var(--pad); }
.section { padding-block: clamp(56px, 8vw, 104px); }
.section--tight { padding-block: clamp(40px, 5vw, 64px); }
.section--white { background: var(--surface); }
.section--navy { background: var(--navy); color: rgba(255,255,255,.72); }
.section--navy h2, .section--navy h3 { color: #fff; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-body); font-weight: 600; font-size: 12px;
  letter-spacing: .18em; text-transform: uppercase; color: var(--blue);
  margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: currentColor; }
.section--navy .eyebrow { color: var(--text-subtle); }
.lead { font-size: clamp(17px, 1.4vw, 19px); color: var(--text-body); max-width: 62ch; }
.section--navy .lead { color: rgba(255,255,255,.72); }
.center { text-align: center; }
.center .eyebrow { justify-content: center; }
.center .lead { margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 26px; border-radius: 4px; border: 1.5px solid transparent;
  font-family: var(--font-body); font-weight: 700; font-size: 13px;
  letter-spacing: .12em; text-transform: uppercase; cursor: pointer;
  transition: background .2s, color .2s, border-color .2s, transform .2s var(--ease);
  white-space: nowrap;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn--red { background: var(--red); color: #fff; }
.btn--red:hover { background: var(--red-hover); color: #fff; }
.btn--navy { background: var(--navy); color: #fff; }
.btn--navy:hover { background: var(--navy-mid); color: #fff; }
.btn--white { background: #fff; color: var(--navy); }
.btn--white:hover { background: var(--bg); }
.btn--ghost { border-color: rgba(255,255,255,.35); color: #fff; }
.btn--ghost:hover { border-color: #fff; color: #fff; background: rgba(255,255,255,.06); }
.btn--outline { border-color: var(--navy); color: var(--navy); }
.btn--outline:hover { background: var(--navy); color: #fff; }
.btn .arrow { transition: transform .2s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }
.link-arrow {
  font-weight: 700; font-size: 13px; letter-spacing: .1em; text-transform: uppercase;
  color: var(--red); display: inline-flex; align-items: center; gap: 6px;
}
.link-arrow:hover { text-decoration: none; gap: 10px; }
.link-arrow--blue { color: var(--blue); }

/* ---------- Top bar + Nav ---------- */
.topbar {
  background: var(--navy-dark); color: rgba(255,255,255,.6);
  font-size: 12px; letter-spacing: .06em;
}
.topbar .container { display: flex; justify-content: space-between; align-items: center; min-height: 34px; gap: 16px; }
.topbar a { color: rgba(255,255,255,.8); }
.topbar span + span::before { content: "·"; margin: 0 10px; opacity: .4; }
@media (max-width: 720px) { .topbar .topbar__left { display: none; } .topbar .container { justify-content: center; } }

.nav {
  position: sticky; top: 0; z-index: 50;
  background: var(--navy); border-bottom: 1px solid rgba(255,255,255,.06);
}
.nav .container { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 24px; }
.nav__logo img { height: 60px; width: auto; }
.nav__links { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav__links a {
  display: block; padding: 10px 14px; color: rgba(255,255,255,.78);
  font-weight: 500; font-size: 14px; letter-spacing: .06em; text-transform: uppercase;
  border-radius: 4px; transition: color .2s, background .2s;
}
.nav__links a:hover, .nav__links a[aria-current="page"] { color: #fff; background: rgba(255,255,255,.07); text-decoration: none; }
.nav__cta { margin-left: 8px; }
.nav__toggle {
  display: none; background: none; border: 0; padding: 8px; cursor: pointer; color: #fff;
}
.nav__toggle span { display: block; width: 24px; height: 2px; background: #fff; margin: 5px 0; transition: transform .25s, opacity .25s; }
@media (max-width: 960px) {
  .nav__links, .nav__cta { display: none; }
  .nav__toggle { display: block; }
  .nav.is-open .nav__links {
    display: flex; flex-direction: column; align-items: stretch;
    position: absolute; left: 0; right: 0; top: 72px;
    background: var(--navy); padding: 12px var(--pad) 24px; gap: 2px;
    border-bottom: 1px solid rgba(255,255,255,.08);
  }
  .nav.is-open .nav__links a { padding: 14px 12px; font-size: 16px; }
  .nav.is-open .nav__links .nav__cta-mobile { display: block; margin-top: 12px; }
  .nav.is-open .nav__toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav.is-open .nav__toggle span:nth-child(2) { opacity: 0; }
  .nav.is-open .nav__toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}
.nav__cta-mobile { display: none; }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: min(88vh, 820px); display: flex; align-items: center;
  background: var(--navy-mid); color: #fff; overflow: hidden; isolation: isolate;
}
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 40%; }
.hero__overlay {
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(100deg, rgba(10,22,40,.94) 0%, rgba(10,22,40,.78) 45%, rgba(10,22,40,.25) 100%);
}
.hero__grid {
  position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .5;
  background-image:
    linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 64px 64px;
}
.hero .container { padding-block: clamp(72px, 10vw, 128px); }
.hero__content { max-width: 680px; }
.hero .eyebrow { color: rgba(255,255,255,.7); }
.hero h1 { color: #fff; margin-bottom: 20px; text-wrap: balance; }
.hero h1 em { font-style: normal; color: #FFB3B3; }
.hero p { font-size: clamp(17px, 1.5vw, 20px); color: rgba(255,255,255,.8); max-width: 56ch; margin-bottom: 32px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__coord {
  position: absolute; right: var(--pad); bottom: 20px; font-family: ui-monospace, Menlo, Consolas, monospace;
  font-size: 11px; letter-spacing: .08em; color: rgba(255,255,255,.35);
}
@media (max-width: 720px) { .hero__coord { display: none; } .hero { min-height: 0; } }

/* Page hero (interior) */
.page-hero {
  background: var(--navy); color: #fff; position: relative; overflow: hidden;
  padding-block: clamp(56px, 8vw, 96px);
}
.page-hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 64px 64px;
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero .eyebrow { color: var(--text-subtle); }
.page-hero h1 { color: #fff; font-size: clamp(38px, 5vw, 60px); }
.page-hero p { color: rgba(255,255,255,.75); max-width: 62ch; font-size: clamp(16px, 1.4vw, 19px); margin: 0; }
.breadcrumb { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--text-subtle); margin-bottom: 18px; }
.breadcrumb a { color: var(--text-subtle); }

/* ---------- Stats bar ---------- */
.stats { background: var(--navy-dark); color: #fff; }
.stats .container { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 26px 24px; border-left: 1px solid rgba(255,255,255,.08); display: flex; gap: 14px; align-items: center; }
.stat:first-child { border-left: 0; }
.stat svg { width: 34px; height: 34px; flex: none; opacity: .55; }
.stat__num { font-family: var(--font-display); font-weight: 700; font-size: 26px; line-height: 1; }
.stat__label { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.45); margin-top: 4px; }
@media (max-width: 900px) {
  .stats .container { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,.08); }
}
@media (max-width: 480px) { .stat { padding: 18px 14px; } .stat svg { display: none; } }

/* ---------- Two column intro ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.split__media { border-radius: 8px; overflow: hidden; aspect-ratio: 4/3; background: var(--border); position: relative; }
.split__media img { width: 100%; height: 100%; object-fit: cover; }
.split__media .tag {
  position: absolute; left: 16px; bottom: 16px; background: rgba(15,29,53,.88); color: #fff;
  font-size: 11px; letter-spacing: .12em; text-transform: uppercase; padding: 8px 12px; border-radius: 3px;
}
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .split--reverse .split__media { order: -1; } }

/* ---------- Cards ---------- */
.grid { display: grid; gap: 18px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1024px) { .grid--4 { grid-template-columns: repeat(2, 1fr); } .grid--3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; } }

.card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 28px 24px 24px; position: relative; display: flex; flex-direction: column; gap: 10px;
  transition: transform .25s var(--ease), border-color .25s, box-shadow .25s;
}
.card:hover { transform: translateY(-3px); border-color: #cfd6ea; box-shadow: 0 12px 30px -18px rgba(15,29,53,.35); }
.card--accent { border-top: 3px solid var(--blue); }
.card__num { font-family: var(--font-display); font-weight: 800; font-size: 40px; line-height: 1; color: var(--navy); opacity: .08; position: absolute; top: 16px; right: 20px; }
.card__icon { width: 44px; height: 44px; border-radius: 8px; background: var(--blue-tint); color: var(--blue); display: grid; place-items: center; }
.card__icon svg { width: 24px; height: 24px; }
.card h3 { margin: 6px 0 0; }
.card p { font-size: 15px; color: var(--text-muted); margin: 0; flex: 1; }
.card ul { font-size: 14px; color: var(--text-body); margin: 4px 0 0; padding-left: 18px; }
.card ul li { margin-bottom: 4px; }
.card .link-arrow { margin-top: 6px; font-size: 12px; }
.card a.card__cover { position: absolute; inset: 0; }
.section--bg .card { background: var(--surface); }
.section--white .card { background: var(--bg); }

/* Industry tiles */
.tile {
  position: relative; border-radius: 8px; overflow: hidden; min-height: 300px; background: var(--navy-mid);
  display: flex; align-items: flex-end; color: #fff; isolation: isolate;
}
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .6s var(--ease); }
.tile::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(10,22,40,.1) 20%, rgba(10,22,40,.92) 100%); }
.tile:hover img { transform: scale(1.05); }
.tile__body { padding: 24px; }
.tile h3 { color: #fff; margin-bottom: 6px; }
.tile p { font-size: 14px; color: rgba(255,255,255,.75); margin: 0; }
.tile--pattern { background: linear-gradient(160deg, var(--navy-mid), var(--navy)); }
.tile--pattern::after {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .45; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.07) 1px, transparent 1px);
  background-size: 40px 40px;
}
.tile__icon { width: 46px; height: 46px; margin-bottom: 14px; color: #FFB3B3; }
.tile__icon svg { width: 100%; height: 100%; }
.tile a.tile__cover { position: absolute; inset: 0; }

/* ---------- Why us ---------- */
.why { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.why__list { display: grid; gap: 12px; }
.why__item {
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); border-radius: 6px;
  padding: 18px 20px 18px 22px; position: relative; display: flex; gap: 16px;
}
.why__item::before { content: ""; position: absolute; left: 0; top: 18px; bottom: 18px; width: 3px; background: var(--red); border-radius: 2px; }
.why__item strong { display: block; font-family: var(--font-display); font-size: 19px; color: #fff; font-weight: 700; margin-bottom: 2px; }
.why__item span { font-size: 14px; color: rgba(255,255,255,.62); }
@media (max-width: 860px) { .why { grid-template-columns: 1fr; } }

/* ---------- Process steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: step; }
.step { padding: 24px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); }
.step__n { font-family: var(--font-display); font-weight: 800; font-size: 44px; line-height: 1; color: var(--blue); margin-bottom: 12px; }
.step h3 { font-size: 20px; }
.step p { font-size: 14px; color: var(--text-muted); margin: 0; }
@media (max-width: 960px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Service detail blocks ---------- */
.service { display: grid; grid-template-columns: 1fr 1.4fr; gap: clamp(24px, 4vw, 56px); padding-block: clamp(36px, 5vw, 56px); border-top: 1px solid var(--border); scroll-margin-top: 90px; }
.service:first-of-type { border-top: 0; }
.service__head h2 { font-size: clamp(28px, 3vw, 36px); }
.service__head .eyebrow { margin-bottom: 8px; }
.service__body p { color: var(--text-body); }
.service__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 16px; }
.service__cols h4 { font-family: var(--font-body); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--blue); margin-bottom: 8px; }
.service__cols ul { margin: 0; padding-left: 18px; font-size: 15px; }
.service__cols li { margin-bottom: 4px; }
@media (max-width: 860px) { .service { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .service__cols { grid-template-columns: 1fr; } }
.anchor-nav { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.anchor-nav a {
  font-size: 12px; letter-spacing: .1em; text-transform: uppercase; font-weight: 600;
  color: #fff; border: 1px solid rgba(255,255,255,.25); padding: 8px 14px; border-radius: 999px;
}
.anchor-nav a:hover { background: rgba(255,255,255,.1); text-decoration: none; }

/* ---------- Checklist ---------- */
.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; }
.checklist li::before { content: ""; flex: none; width: 20px; height: 20px; margin-top: 2px; border-radius: 50%; background: var(--blue-tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath fill='none' stroke='%231434C4' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round' d='M5 10.5l3.2 3L15 7'/%3E%3C/svg%3E") center/14px no-repeat; }
.section--navy .checklist li::before { background-color: rgba(255,255,255,.12); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round' d='M5 10.5l3.2 3L15 7'/%3E%3C/svg%3E"); }

/* ---------- Credentials strip ---------- */
.creds { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.cred { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; display: flex; gap: 14px; align-items: flex-start; }
.cred svg { width: 28px; height: 28px; color: var(--blue); flex: none; }
.cred strong { display: block; font-family: var(--font-display); font-size: 19px; color: var(--text); }
.cred span { font-size: 14px; color: var(--text-muted); }
@media (max-width: 860px) { .creds { grid-template-columns: 1fr; } }

/* ---------- Projects gallery ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-bottom: 32px; }
.filters button {
  font-family: var(--font-body); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; font-weight: 600;
  background: var(--surface); color: var(--text-body); border: 1px solid var(--border); padding: 9px 16px; border-radius: 999px; cursor: pointer;
}
.filters button.is-active, .filters button:hover { background: var(--navy); color: #fff; border-color: var(--navy); }
.project { border-radius: 8px; overflow: hidden; background: var(--surface); border: 1px solid var(--border); }
.project__media { aspect-ratio: 4/3; position: relative; background: linear-gradient(160deg, var(--navy-mid), var(--navy)); display: grid; place-items: center; color: rgba(255,255,255,.5); }
.project__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.project__media::after {
  content: ""; position: absolute; inset: 0; opacity: .5; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.07) 1px, transparent 1px);
  background-size: 36px 36px;
}
.project__media svg { width: 56px; height: 56px; position: relative; z-index: 1; }
.project__body { padding: 18px 20px 20px; }
.project__type { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--blue); font-weight: 600; }
.project h3 { font-size: 20px; margin: 4px 0 6px; }
.project p { font-size: 14px; color: var(--text-muted); margin: 0; }
.project.is-hidden { display: none; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 10px; max-width: 860px; margin-inline: auto; }
.faq details { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 0 22px; }
.faq summary { cursor: pointer; padding: 18px 0; font-family: var(--font-display); font-size: 20px; font-weight: 700; color: var(--text); list-style: none; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 24px; color: var(--blue); font-weight: 400; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding-bottom: 18px; margin: 0; font-size: 15px; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--red); color: #fff; }
.cta-band .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: clamp(32px, 4vw, 48px); flex-wrap: wrap; }
.cta-band h2 { color: #fff; font-size: clamp(28px, 3.2vw, 38px); margin: 0 0 4px; }
.cta-band p { margin: 0; color: rgba(255,255,255,.8); }
.cta-band .btn--white { color: var(--red); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.info-list { display: grid; gap: 18px; }
.info-list > div { display: flex; gap: 14px; align-items: flex-start; }
.info-list svg { width: 22px; height: 22px; color: var(--blue); flex: none; margin-top: 3px; }
.info-list strong { display: block; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--text-muted); font-weight: 600; margin-bottom: 2px; }
.info-list a, .info-list span { font-size: 16px; color: var(--text); }
.form { background: var(--surface); border: 1px solid var(--border); border-radius: 8px; padding: clamp(22px, 3vw, 36px); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 600px) { .form__row { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.field label { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; font-weight: 600; color: var(--text); }
.field label .req { color: var(--red); }
.field input, .field select, .field textarea {
  font-family: var(--font-body); font-size: 16px; color: var(--text);
  padding: 12px 14px; border: 1px solid #D5D3CC; border-radius: 4px; background: #fff; width: 100%;
  transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(20,52,196,.12); }
.field textarea { min-height: 140px; resize: vertical; }
.form__note { font-size: 13px; color: var(--text-muted); margin: 0 0 18px; }
.form__status { margin-top: 16px; font-size: 15px; padding: 12px 14px; border-radius: 4px; display: none; }
.form__status.is-ok { display: block; background: #E8F5EC; color: #1F5C34; }
.form__status.is-err { display: block; background: #FDECEC; color: #8A1919; }
.hp { position: absolute; left: -9999px; }

/* ---------- Footer ---------- */
.footer { background: var(--navy-dark); color: rgba(255,255,255,.6); font-size: 14px; }
.footer .container { display: grid; grid-template-columns: 2fr 1fr 1fr 1.3fr; gap: 40px; padding-block: 56px 40px; }
.footer__brand img { height: 56px; width: auto; margin-bottom: 16px; }
.footer__brand p { max-width: 38ch; margin: 0; }
.footer h4 { color: #fff; font-family: var(--font-body); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 16px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer a { color: rgba(255,255,255,.7); }
.footer a:hover { color: #fff; }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.08); }
.footer__bottom .container { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; padding-block: 18px; font-size: 12px; color: rgba(255,255,255,.4); grid-template-columns: none; }
@media (max-width: 900px) { .footer .container { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer .container { grid-template-columns: 1fr; gap: 28px; } }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Founder ---------- */
.founder { display: grid; grid-template-columns: 1fr 1.5fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.founder__photo { border-radius: 8px; overflow: hidden; aspect-ratio: 4/5; background: var(--border); max-width: 440px; position: relative; }
.founder__photo img { width: 100%; height: 100%; object-fit: cover; }
.founder__photo::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 6px; background: var(--red); }
.founder__name { font-family: var(--font-display); font-size: clamp(26px, 3vw, 34px); font-weight: 700; color: var(--text); margin: 0; }
.founder__title { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; color: var(--blue); margin: 4px 0 18px; }
.section--navy .founder__name { color: #fff; }
.section--navy .founder__title { color: var(--text-subtle); }
.founder__facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px 24px; margin: 22px 0 0; padding: 0; list-style: none; }
.founder__facts li { font-size: 14px; color: var(--text-body); padding-left: 16px; position: relative; }
.founder__facts li::before { content: ""; position: absolute; left: 0; top: 9px; width: 7px; height: 7px; border-radius: 50%; background: var(--red); }
.section--navy .founder__facts li { color: rgba(255,255,255,.7); }
@media (max-width: 860px) { .founder { grid-template-columns: 1fr; } .founder__photo { max-width: 360px; } }
@media (max-width: 560px) { .founder__facts { grid-template-columns: 1fr; } }
