/* SecurTech one-page site. Values come from the SecurTech design system tokens. */

:root {
  --surface: #ffffff;
  --surface-subtle: #f7f6f6;
  --surface-sunken: #eceaea;
  --surface-inverse: #231f20;
  --surface-inverse-raised: #322d2e;
  --surface-accent: #b51217;
  --ink: #231f20;
  --ink-muted: #5d5757;
  --ink-subtle: #6b6564;
  --ink-inverse: #ffffff;
  --ink-inverse-muted: #cdc8c8;
  --accent: #df1a23;
  --accent-strong: #b51217;
  --accent-deep: #8b0305;
  --on-accent: #ffffff;
  --border: #ddd9d9;
  --border-strong: #8e8988;
  --border-inverse: #4a4444;
  --focus: #df1a23;
  --focus-inverse: #ffffff;
  --success: #0f766e;
  --success-soft: #e8f4f2;
  --danger: #b51217;

  --font-sans: Archivo, "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;

  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 64px;
  --space-9: 96px;
  --space-10: 128px;

  --radius-sm: 2px;
  --radius-md: 4px;
  --radius-lg: 8px;

  --shadow-sm: 0 1px 2px rgba(35, 31, 32, 0.08);
  --shadow-md: 0 6px 20px rgba(35, 31, 32, 0.10);
  --shadow-lg: 0 18px 48px rgba(35, 31, 32, 0.14);

  --size-container: 1200px;
  --size-prose: 680px;
  --size-field: 48px;
  --size-icon-tile: 56px;

  --gutter: var(--space-8);
  --band-pad: var(--space-9);
  --header-h: 84px;
  --ease: cubic-bezier(0.2, 0, 0, 1);
}

@media (max-width: 767px) {
  :root {
    --gutter: var(--space-5);
    --band-pad: var(--space-8);
    --header-h: 64px;
  }
}

/* Base */

*, *::before, *::after { box-sizing: border-box; }

[hidden] { display: none !important; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 26px;
  color: var(--ink);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, p { margin: 0; }

a { color: var(--accent-strong); }
a:hover { color: var(--accent-deep); }

a, button, input, select, textarea {
  transition: background-color 150ms var(--ease), border-color 150ms var(--ease), color 150ms var(--ease), box-shadow 200ms var(--ease);
}

a:focus, button:focus, input:focus, select:focus, textarea:focus, [tabindex="-1"]:focus {
  outline: 2px solid var(--focus);
  outline-offset: 2px;
}

.band-accent a:focus, .band-accent button:focus { outline-color: var(--focus-inverse); }

.container {
  width: 100%;
  max-width: calc(var(--size-container) + 2 * var(--gutter));
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.icon-18 { width: 18px; height: 18px; }
.icon-20 { width: 20px; height: 20px; }
.icon-22 { width: 22px; height: 22px; }
.icon-32 { width: 32px; height: 32px; }

.mono { font-family: var(--font-mono); font-weight: 500; }

.skip-link {
  position: absolute;
  left: var(--space-4);
  top: -100px;
  z-index: 100;
  padding: var(--space-3) var(--space-4);
  background: var(--surface);
  color: var(--ink);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
}
.skip-link:focus { top: var(--space-4); }

/* Type */

.eyebrow-block {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  margin-bottom: var(--space-5);
}

.eyebrow {
  font-size: 12px;
  line-height: 16px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-strong);
}

.eyebrow-rule {
  display: block;
  width: 32px;
  height: 3px;
  background: var(--accent);
}

.display-xl {
  font-size: 68px;
  line-height: 68px;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.display-md {
  font-size: 40px;
  line-height: 46px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.display-sm {
  font-size: 30px;
  line-height: 36px;
  font-weight: 700;
  letter-spacing: -0.015em;
}

.accent-text { color: var(--accent-strong); }

.lead {
  max-width: var(--size-prose);
  margin-top: var(--space-5);
  font-size: 18px;
  line-height: 29px;
  color: var(--ink-muted);
}

.text-link { text-decoration: none; }
.text-link:hover { text-decoration: underline; }

@media (max-width: 767px) {
  .display-xl { font-size: 40px; line-height: 44px; letter-spacing: -0.025em; }
  .display-md { font-size: 30px; line-height: 36px; letter-spacing: -0.015em; }
  .eyebrow-block { margin-bottom: 20px; }
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: var(--size-field);
  padding: 0 var(--space-5);
  border: 1px solid transparent;
  border-radius: var(--radius-md);
  font-family: inherit;
  font-size: 14px;
  line-height: 16px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
}
.btn-sm { height: 44px; padding: 0 20px; }
.btn-block { display: flex; width: 100%; }

.btn-primary { background: var(--accent); color: var(--on-accent); }
.btn-primary:hover { background: var(--accent-strong); color: var(--on-accent); }
.btn-primary:active { background: var(--accent-deep); }

.btn-outline { background: var(--surface); color: var(--ink); border-color: var(--ink); }
.btn-outline:hover { background: var(--surface-subtle); color: var(--ink); }

.btn-on-accent { background: transparent; color: var(--on-accent); border-color: var(--on-accent); }
.btn-on-accent:hover { background: var(--surface); color: var(--accent-strong); }

.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--ink);
  border-radius: var(--radius-md);
  background: var(--surface);
  color: var(--ink);
  cursor: pointer;
}
.icon-btn:hover { background: var(--surface-subtle); color: var(--ink); }

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 200ms var(--ease);
}
.site-header.is-scrolled { box-shadow: var(--shadow-lg); }

.header-inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-6);
}

.brand {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 6px 0;
  text-decoration: none;
}
.brand-name {
  font-size: 26px;
  line-height: 24px;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.brand-sub {
  font-size: 9px;
  line-height: 10px;
  font-weight: 700;
  letter-spacing: 0.29em;
  color: var(--accent-strong);
}
.brand-inverse .brand-name { color: var(--ink-inverse); }
.brand-inverse .brand-sub { color: var(--ink-inverse-muted); }

.main-nav {
  display: flex;
  align-items: center;
  gap: 40px;
}

.nav-link {
  padding: 14px 0;
  font-size: 13px;
  line-height: 16px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink);
}
.nav-link:hover { color: var(--accent-strong); }

.header-actions {
  display: flex;
  align-items: center;
  gap: var(--space-5);
}

.header-phone {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  min-height: 44px;
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 20px;
  font-weight: 500;
  text-decoration: none;
  color: var(--ink);
}
.header-phone:hover { color: var(--ink); text-decoration: underline; }

.header-call, .menu-toggle { display: none; }
.menu-toggle .icon-close { display: none; }
.menu-toggle[aria-expanded="true"] .icon-open { display: none; }
.menu-toggle[aria-expanded="true"] .icon-close { display: block; }

.mobile-menu {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
}
.mobile-menu .container {
  display: flex;
  flex-direction: column;
  padding-top: var(--space-2);
  padding-bottom: var(--space-5);
}
.mobile-menu .nav-link {
  display: flex;
  align-items: center;
  min-height: 52px;
  padding: 0;
  border-bottom: 1px solid var(--border);
}
.mobile-menu .btn { margin-top: 20px; }

@media (max-width: 1099px) {
  .main-nav, .header-phone, .header-cta { display: none; }
  .header-call, .menu-toggle { display: inline-flex; }
  .header-actions { gap: var(--space-2); }
}

@media (max-width: 767px) {
  .brand { gap: 3px; }
  .brand-name { font-size: 21px; line-height: 20px; }
  .brand-sub { font-size: 7px; line-height: 8px; letter-spacing: 0.3em; }
}

/* Hero */

.hero {
  padding: 112px 0 var(--space-10);
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 640px) minmax(0, 1fr);
  align-items: center;
  gap: var(--space-8);
}

.hero-copy .display-xl { max-width: 640px; }

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  margin-top: 40px;
}

.placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-3);
  padding: var(--space-6);
  border-radius: var(--radius-lg);
  background: var(--surface-subtle);
  border: 1px solid var(--border);
  color: var(--ink-subtle);
  text-align: center;
}
.placeholder span {
  max-width: 280px;
  font-size: 13px;
  line-height: 18px;
  color: var(--ink-muted);
}

.band-subtle .placeholder { background: var(--surface); }

.hero-media {
  display: block;
  width: 100%;
  height: 560px;
  object-fit: cover;
  object-position: 55% 58%;
  border-radius: var(--radius-lg);
  background: var(--surface-sunken);
}

@media (max-width: 1023px) {
  .hero-inner { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .hero-media { height: 420px; }
}

@media (max-width: 767px) {
  .hero { padding: var(--space-7) 0 var(--space-8); }
  .hero .lead { margin-top: 20px; }
  .hero-actions { flex-direction: column; gap: var(--space-3); margin-top: var(--space-6); }
  .hero-actions .btn { width: 100%; }
  .hero-media { height: 320px; }
}

/* Bands */

.band { padding: var(--band-pad) 0; }
.band-subtle { background: var(--surface-subtle); }

.band-inverse {
  background: var(--surface-inverse);
  color: var(--ink-inverse);
}
.band-inverse .eyebrow { color: var(--ink-inverse-muted); }
.band-inverse .section-lead { color: var(--ink-inverse-muted); }

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--space-8);
  margin-bottom: var(--space-7);
}
.section-head-title { max-width: 560px; }
.section-lead {
  max-width: 520px;
  font-size: 18px;
  line-height: 29px;
  color: var(--ink-muted);
}

@media (max-width: 1023px) {
  .section-head { flex-direction: column; align-items: flex-start; gap: var(--space-4); }
  .section-lead { max-width: var(--size-prose); }
}

@media (max-width: 767px) {
  .section-head { margin-bottom: var(--space-6); }
  .section-lead { font-size: 16px; line-height: 26px; }
}

/* Services */

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-5);
}

.service-card {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: var(--space-5);
  border-radius: var(--radius-md);
  background: var(--surface-inverse-raised);
  border: 1px solid var(--border-inverse);
}

.icon-tile {
  display: flex;
  align-items: center;
  justify-content: center;
  width: var(--size-icon-tile);
  height: var(--size-icon-tile);
  flex-shrink: 0;
  border-radius: var(--radius-lg);
  background: var(--accent);
  color: var(--on-accent);
}
.icon-tile .icon { width: 28px; height: 28px; }

.service-text { display: flex; flex-direction: column; gap: var(--space-2); min-width: 0; }
.service-text h3 {
  font-size: 18px;
  line-height: 24px;
  font-weight: 600;
  color: var(--ink-inverse);
}
.service-text p {
  font-size: 14px;
  line-height: 22px;
  color: var(--ink-inverse-muted);
}

@media (max-width: 1023px) {
  .services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 767px) {
  .services-grid { grid-template-columns: minmax(0, 1fr); gap: var(--space-3); }
  .service-card { flex-direction: row; align-items: flex-start; gap: var(--space-4); padding: 20px; }
  .service-text { gap: 6px; }
  .icon-tile .icon { width: 26px; height: 26px; }
}

/* Recent work */

.work-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-6) var(--space-5);
}

.work-item {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}
.work-item img {
  display: block;
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  background: var(--surface-sunken);
}
.work-item figcaption {
  font-size: 14px;
  line-height: 22px;
  color: var(--ink-muted);
}
.work-feature { grid-column: span 2; }

@media (max-width: 1023px) {
  .work-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .work-feature { grid-column: 1 / -1; }
  .work-item img { height: 320px; }
}

@media (max-width: 767px) {
  .work-grid { gap: 20px var(--space-3); }
  .work-item { gap: var(--space-2); }
  .work-item img { height: 200px; }
  .work-feature img { height: 220px; }
  .work-item figcaption { font-size: 13px; line-height: 18px; }
}

/* Brands */

.brand-grid {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--space-5);
}

.brand-tile {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  padding: var(--space-5);
  border-radius: var(--radius-md);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.brand-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 96px;
  padding-bottom: var(--space-4);
  border-bottom: 1px solid var(--border);
}
.brand-logo img { display: block; max-width: 100%; }
.logo-hikvision { width: 180px; height: auto; }
.logo-paradox { width: 176px; height: auto; }
.logo-ids { width: auto; height: 52px; }
.logo-centurion { width: auto; height: 72px; }

.brand-tile p {
  font-size: 14px;
  line-height: 22px;
  color: var(--ink-muted);
}

@media (max-width: 1023px) {
  .brand-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 767px) {
  .brand-grid { gap: var(--space-3); }
  .brand-tile { padding: var(--space-4); gap: var(--space-3); }
  .brand-logo { height: 72px; padding-bottom: var(--space-3); }
  .logo-ids { height: 40px; }
  .logo-centurion { height: 56px; }
  .brand-tile p { font-size: 13px; line-height: 18px; }
}

/* Steps */

.steps {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--space-5);
}

.step-card {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  padding: var(--space-5);
  border-radius: var(--radius-md);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.step-num {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-2);
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 20px;
  font-weight: 500;
  color: var(--accent-strong);
}
.step-line { flex-grow: 1; height: 1px; background: var(--border); }
.step-card h3 { font-size: 18px; line-height: 24px; font-weight: 600; }
.step-card p { font-size: 14px; line-height: 22px; color: var(--ink-muted); }

@media (max-width: 1023px) {
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 767px) {
  .steps { grid-template-columns: minmax(0, 1fr); gap: var(--space-3); }
  .step-card { padding: 20px; gap: 6px; }
}

/* Split layouts: areas and contact */

.split {
  display: grid;
  gap: var(--space-8);
}
.split-contact { grid-template-columns: minmax(0, 480px) minmax(0, 640px); justify-content: space-between; align-items: start; }

.arrow-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  min-height: 44px;
  margin-top: var(--space-4);
  font-weight: 600;
}

.contact-list {
  margin: var(--space-7) 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.contact-list li { display: flex; align-items: flex-start; gap: var(--space-4); }
.contact-list li > div { display: flex; flex-direction: column; gap: 2px; line-height: 24px; }
.contact-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--ink);
}
.contact-label { font-size: 13px; line-height: 18px; color: var(--ink-muted); }
.contact-list a { font-weight: 500; color: var(--ink); }
.mono-link { font-family: var(--font-mono); font-size: 15px; }

@media (max-width: 1023px) {
  .split-contact { grid-template-columns: minmax(0, 1fr); gap: var(--space-7); }
}

@media (max-width: 767px) {
  .split .lead, #areas .lead { margin-top: var(--space-4); font-size: 16px; line-height: 26px; }
  .arrow-link { margin-top: var(--space-2); }
  .contact-list { margin-top: var(--space-6); gap: var(--space-4); }
}

/* Form */

.survey-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: var(--space-6);
  border-radius: var(--radius-md);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

/* Honeypot: off-screen for people, irresistible to bots. */
.honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-head { display: flex; flex-direction: column; gap: var(--space-1); margin-bottom: var(--space-1); }
.form-head h3 { font-size: 22px; line-height: 28px; font-weight: 600; }
.form-head p { font-size: 13px; line-height: 18px; color: var(--ink-muted); }

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.field-group { display: flex; flex-direction: column; gap: var(--space-2); }
.field-group label {
  font-size: 13px;
  line-height: 16px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.field {
  width: 100%;
  height: var(--size-field);
  padding: 0 14px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  background: var(--surface);
  font-family: inherit;
  font-size: 16px;
  color: var(--ink);
}
.field:focus { border-color: var(--ink); }
.field::placeholder { color: var(--ink-subtle); }
.field[aria-invalid="true"] { border-color: var(--danger); }

textarea.field {
  height: 120px;
  padding: var(--space-3) 14px;
  line-height: 24px;
  resize: vertical;
}

.select-wrap { position: relative; }
.select-wrap select { appearance: none; -webkit-appearance: none; padding-right: 44px; }
.select-chevron { position: absolute; right: 14px; top: 14px; pointer-events: none; }

.consent { display: flex; align-items: flex-start; gap: var(--space-3); }
.consent input { width: 20px; height: 20px; margin: 1px 0 0; flex-shrink: 0; accent-color: var(--accent); }
.consent label { font-size: 14px; line-height: 22px; color: var(--ink-muted); }
.consent a { text-decoration: underline; }

.form-error {
  display: flex;
  align-items: flex-start;
  gap: var(--space-2);
  font-size: 14px;
  line-height: 22px;
  color: var(--danger);
}
.form-error .icon { margin-top: 2px; }
.form-error[hidden] { display: none; }

.form-submit { align-self: flex-start; margin-top: var(--space-1); }

.form-success {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  margin-top: var(--space-1);
  padding: 14px var(--space-4);
  border-radius: var(--radius-md);
  background: var(--success-soft);
  color: var(--success);
}
.form-success[hidden] { display: none; }
.form-success .icon { margin-top: 1px; }
.form-success > div { display: flex; flex-direction: column; gap: 2px; }
.form-success strong { font-size: 15px; line-height: 20px; }
.form-success span { font-size: 14px; line-height: 22px; color: var(--ink); }

@media (max-width: 767px) {
  .survey-form { padding: 20px; gap: var(--space-4); }
  .form-grid { grid-template-columns: minmax(0, 1fr); gap: var(--space-4); }
  .form-submit { align-self: stretch; }
}

/* Closing call to action */

.band-accent {
  padding: var(--space-10) 0;
  background: var(--surface-accent);
  color: var(--on-accent);
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-8);
}
.cta-copy { display: flex; flex-direction: column; gap: var(--space-3); max-width: var(--size-prose); }
.cta-copy p { font-size: 18px; line-height: 29px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: var(--space-4); }

@media (max-width: 1023px) {
  .cta-inner { flex-direction: column; align-items: flex-start; gap: var(--space-6); }
}

@media (max-width: 767px) {
  .band-accent { padding: 80px 0; }
  .cta-actions { flex-direction: column; gap: var(--space-3); width: 100%; }
  .cta-actions .btn { width: 100%; }
}

/* Footer */

.site-footer {
  padding: var(--space-8) 0 var(--space-6);
  background: var(--surface-inverse);
  color: var(--ink-inverse-muted);
}

.footer-top {
  display: flex;
  justify-content: space-between;
  gap: var(--space-8);
}

.footer-brand { width: 340px; display: flex; flex-direction: column; gap: var(--space-4); }
.footer-brand p { font-size: 14px; line-height: 22px; }
.footer-brand .mono { font-size: 13px; line-height: 20px; font-weight: 400; }

.site-footer h2 {
  margin-bottom: var(--space-3);
  font-size: 13px;
  line-height: 16px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-inverse);
}

.footer-col { display: flex; flex-direction: column; }

.foot-link {
  padding: var(--space-3) 0;
  font-size: 13px;
  line-height: 16px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink-inverse-muted);
}

.foot-link:hover, .foot-plain:hover { color: var(--ink-inverse); text-decoration: underline; }

.foot-plain { text-decoration: none; color: var(--ink-inverse-muted); }

.footer-contact { width: 280px; display: flex; flex-direction: column; gap: var(--space-2); font-size: 14px; line-height: 22px; }
.footer-contact h2 { margin-bottom: var(--space-3); }
.footer-contact .mono { font-size: 13px; }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-5);
  margin-top: var(--space-7);
  padding-top: var(--space-5);
  border-top: 1px solid var(--border-inverse);
  font-size: 13px;
  line-height: 18px;
}
.footer-bottom .mono { font-weight: 400; }
.footer-legal { display: flex; gap: var(--space-5); }
.footer-legal a { padding: var(--space-3) 0; }

@media (max-width: 1023px) {
  .footer-top { flex-wrap: wrap; gap: 40px var(--space-8); }
  .footer-brand { width: 100%; }
}

@media (max-width: 767px) {
  .site-footer { padding: var(--space-7) 0 var(--space-5); }
  .footer-top { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px var(--space-5); }
  .footer-brand, .footer-contact { grid-column: 1 / -1; width: auto; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: var(--space-2); margin-top: 40px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
