/* ============================================================
   Synthesis Legal Group PLLC
   Converted from the Claude Design export. Values are carried
   over verbatim from the inline styles in the .dc.html source
   (see /archive) — this is a format conversion, not a redesign.
   ============================================================ */

:root {
  /* --- Color: surfaces --- */
  --color-white: #FFFFFF;
  --color-surface: #F6F8FA;
  --color-navy: #082850;
  --color-navy-deep: #08203F;
  --color-navy-press: #06182F;

  /* --- Color: text --- */
  --color-text: #383C48;
  --color-text-muted: #5A6B80;
  --color-text-on-dark: #C9D4E2;
  --color-text-on-dark-muted: #93A6C0;

  /* --- Color: accent --- */
  --color-teal: #1B6B78;
  --color-teal-hover: #14555F;
  --color-teal-mid: #3494A4;
  --color-cyan: #3CBCD0;
  --color-selection: #EEF8FA;

  /* --- Color: lines --- */
  --color-border: #E2E7EE;
  --color-border-input: #CBD4E0;

  /* --- Color: state --- */
  --color-error: #9E2A22;
  --color-error-bg: #FBEEEC;
  --color-error-border: #E3BDB8;
  --color-success: #1F6B4F;
  --color-disabled-bg: #EEF1F5;
  --color-disabled-fg: #8794A6;
  --color-disabled-border: #DCE2EA;

  /* --- Color: alpha layers over navy --- */
  --grid-on-dark: rgba(255, 255, 255, .07);
  --rule-on-dark: rgba(255, 255, 255, .14);
  --rail-on-dark: rgba(255, 255, 255, .22);
  --node-on-dark: rgba(255, 255, 255, .5);
  --rail-on-light: rgba(8, 40, 80, .22);

  /* --- Type --- */
  --font-sans: "Inter", -apple-system, "Segoe UI", Helvetica, sans-serif;
  --font-serif: "Newsreader", Georgia, serif;

  --size-h1: clamp(38px, 6.4vw, 76px);
  --size-h2: clamp(27px, 3.4vw, 40px);
  --size-h3: clamp(20px, 1.7vw, 22px);
  --size-hero-lede: clamp(18px, 1.6vw, 20px);
  --size-body: 18px;
  --size-sm: 16px;
  --size-xs: 15px;
  --size-label: 14px;
  --size-legal: 13px;
  --size-eyebrow: 12px;

  --tracking-eyebrow: .12em;
  --tracking-wordmark: .14em;

  /* --- Layout --- */
  --container-max: 1200px;
  --container-pad: clamp(20px, 4vw, 32px);
  --pad-hero: clamp(64px, 10vw, 144px);
  --pad-section: clamp(64px, 9vw, 128px);
  --pad-section-sm: clamp(56px, 7vw, 96px);
  --pad-card: clamp(24px, 3vw, 40px);

  --gap-hero: clamp(40px, 6vw, 72px);
  --gap-contact: clamp(40px, 6vw, 80px);
  --gap-approach: clamp(28px, 4vw, 56px);
  --gap-footer: clamp(32px, 5vw, 64px);

  --space-cards-top: clamp(40px, 5vw, 64px);
  --space-approach-top: clamp(32px, 4vw, 48px);
  --space-footer-rule: clamp(40px, 5vw, 64px);
  --hero-aside-pad: clamp(20px, 3vw, 32px);

  --rail-left: clamp(24px, 3vw, 40px);
  --radius: 2px;

  /* --- Chrome --- */
  --nav-height: 84px;
  --nav-height-scrolled: 64px;
  --scroll-margin: 96px;

  /* --- Motion --- */
  --ease-out: cubic-bezier(.4, 0, .2, 1);
  --ease-spring: cubic-bezier(.16, .84, .44, 1);
  --dur-fast: 140ms;
  --dur-slow: 260ms;
  --dur-reveal: 500ms;

  /* --- Focus --- */
  --focus-width: 2px;
  --focus-offset: 2px;
}

/* ============================================================
   Reset — carried over from the export's <helmet> block
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--color-white);
  color: var(--color-text);
  font-family: var(--font-sans);
  font-size: var(--size-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, p, ul, li, figure { margin: 0; padding: 0; }

ul { list-style: none; }

a {
  color: var(--color-teal);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--color-teal-hover);
  text-decoration-thickness: 2px;
}

::selection {
  background: var(--color-selection);
  color: var(--color-navy);
}

input, select, textarea, button { font: inherit; }

[hidden] { display: none !important; }

:focus-visible {
  outline: var(--focus-width) solid var(--color-cyan);
  outline-offset: var(--focus-offset);
}

/* ============================================================
   Layout primitives
   ============================================================ */

.container {
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-pad);
}

.section {
  position: relative;
  scroll-margin-top: var(--scroll-margin);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  min-height: var(--nav-height-scrolled);
  height: var(--nav-height);
  background: var(--color-white);
  border-bottom: 1px solid transparent;
  transition:
    height var(--dur-slow) var(--ease-spring),
    border-color var(--dur-fast) var(--ease-out);
}

.site-header.is-scrolled {
  height: var(--nav-height-scrolled);
  border-bottom-color: var(--color-border);
}

.site-header-inner {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.logo {
  display: block;
  text-decoration: none;
  flex: none;
}

.logo-frame {
  display: block;
  position: relative;
  width: 128px;
  height: 44px;
  overflow: hidden;
}

.logo-img {
  position: absolute;
  display: block;
  width: 140px;
  height: auto;
  left: -7px;
  top: -19px;
}

.nav-desktop {
  display: none;
  align-items: center;
  gap: 40px;
}

.nav-link {
  position: relative;
  font-size: var(--size-label);
  font-weight: 500;
  letter-spacing: .01em;
  color: var(--color-navy);
  text-decoration: none;
  padding-block: 8px;
  border-bottom: 1px solid transparent;
  transition: border-color var(--dur-fast) var(--ease-out);
}

.nav-link:hover {
  color: var(--color-navy);
  border-bottom-color: var(--color-teal-mid);
  text-decoration: none;
}

/* Menu toggle. A checkbox rather than a button so the menu opens with
   JavaScript disabled; script.js layers aria-expanded and close-on-click
   on top of it. The input is a direct child of .site-header so the
   sibling combinator can reach .nav-mobile. */
.nav-toggle-input {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: 0;
  padding: 0;
  border: 0;
  overflow: hidden;
  white-space: nowrap;
  clip-path: inset(50%);
}

.nav-toggle {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: 44px;
  height: 44px;
  flex: none;
  background: none;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  cursor: pointer;
}

.nav-toggle-bar {
  display: block;
  width: 18px;
  height: 1px;
  background: var(--color-navy);
}

.nav-toggle-input:focus-visible ~ .site-header-inner .nav-toggle {
  outline: var(--focus-width) solid var(--color-cyan);
  outline-offset: var(--focus-offset);
}

.nav-mobile {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--color-white);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  padding: 8px var(--container-pad) 32px;
}

.nav-toggle-input:checked ~ .nav-mobile { display: block; }

.nav-mobile-link {
  display: block;
  font-size: var(--size-sm);
  font-weight: 500;
  color: var(--color-navy);
  text-decoration: none;
  padding-block: 16px;
  border-bottom: 1px solid var(--color-border);
}

.nav-mobile-link:hover {
  color: var(--color-navy);
  text-decoration: none;
}

@media (min-width: 901px) {
  .nav-desktop { display: flex; }
  .nav-toggle { display: none; }
  .nav-mobile,
  .nav-toggle-input:checked ~ .nav-mobile { display: none; }
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 500;
  letter-spacing: .002em;
  line-height: 1.2;
  border: 1px solid transparent;
  border-radius: var(--radius);
  text-decoration: none;
  transition:
    background-color var(--dur-fast) var(--ease-out),
    border-color var(--dur-fast) var(--ease-out);
}

.btn:hover { text-decoration: none; }

.btn-nav {
  font-size: var(--size-label);
  padding: 9px 16px;
  background: var(--color-navy);
  color: var(--color-white);
  border-color: var(--color-navy);
}

.btn-nav:hover {
  background: var(--color-navy-deep);
  border-color: var(--color-navy-deep);
  color: var(--color-white);
}

.btn-nav:active {
  background: var(--color-navy-press);
  border-color: var(--color-navy-press);
}

.btn-light {
  font-size: var(--size-sm);
  padding: 14px 26px;
  background: var(--color-white);
  color: var(--color-navy);
  border-color: var(--color-white);
}

.btn-light:hover {
  background: var(--color-text-on-dark);
  border-color: var(--color-text-on-dark);
  color: var(--color-navy);
}

.btn-light:active {
  background: var(--color-text-on-dark-muted);
  border-color: var(--color-text-on-dark-muted);
}

.btn-mobile-cta {
  width: 100%;
  margin-top: 24px;
  font-size: var(--size-sm);
  padding: 14px 26px;
  background: var(--color-navy);
  color: var(--color-white);
  border-color: var(--color-navy);
}

.btn-mobile-cta:hover {
  background: var(--color-navy-deep);
  border-color: var(--color-navy-deep);
  color: var(--color-white);
}

.btn-submit {
  font-size: var(--size-sm);
  padding: 14px 26px;
  background: var(--color-navy);
  color: var(--color-white);
  border-color: var(--color-navy);
  cursor: pointer;
}

.btn-submit:hover:not(:disabled) {
  background: var(--color-navy-deep);
  border-color: var(--color-navy-deep);
}

.btn-submit:active:not(:disabled) {
  background: var(--color-navy-press);
  border-color: var(--color-navy-press);
}

.btn-submit:disabled {
  background: var(--color-disabled-bg);
  color: var(--color-disabled-fg);
  border-color: var(--color-disabled-border);
  cursor: not-allowed;
}

/* ============================================================
   Shared type
   ============================================================ */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .65em;
  font-size: var(--size-eyebrow);
  font-weight: 600;
  line-height: 1;
  letter-spacing: var(--tracking-eyebrow);
  text-transform: uppercase;
}

.eyebrow-cyan { color: var(--color-cyan); }
.eyebrow-teal { color: var(--color-teal); }
.eyebrow-dot { color: var(--color-text-on-dark-muted); }

.section-title {
  margin-top: 20px;
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: var(--size-h2);
  line-height: 1.15;
  letter-spacing: -.012em;
  color: var(--color-navy);
  max-width: 26ch;
}

.section-title-light {
  color: var(--color-white);
  max-width: 24ch;
}

.section-title-24 { max-width: 24ch; }
.section-title-tight { max-width: 20ch; }

.section-lede {
  margin-top: 20px;
  font-size: var(--size-body);
  line-height: 1.6;
  color: var(--color-text);
  max-width: 62ch;
}

.section-lede-narrow { max-width: 60ch; }

.text-link {
  font-size: var(--size-body);
  color: var(--color-teal);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.text-link:hover {
  color: var(--color-teal-hover);
  text-decoration-thickness: 2px;
}

/* ============================================================
   Left-margin circuit rail
   Each section paints its own segment, so removing a section
   removes its segment and node cleanly.
   ============================================================ */

.rail { display: none; }

.rail-line {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--rail-left);
  width: 1px;
}

.rail-node {
  position: absolute;
  left: var(--rail-left);
  top: var(--rail-node-top);
  width: 9px;
  height: 9px;
  margin-left: -4px;
  border-radius: 50%;
  background: var(--rail-node-bg);
}

.rail-node-fill {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--color-cyan);
  opacity: 0;
  transition: opacity var(--dur-slow) var(--ease-spring);
}

.rail-node.is-active .rail-node-fill { opacity: 1; }

.rail-dark .rail-line { background: var(--rail-on-dark); }
.rail-dark .rail-node { border: 1px solid var(--node-on-dark); }

.rail-light .rail-line { background: var(--rail-on-light); }
.rail-light .rail-node { border: 1px solid var(--color-navy); }

@media (min-width: 1288px) {
  .rail { display: block; }
}

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

.section-hero {
  overflow: hidden;
  background: var(--color-navy-deep);
  padding-block: var(--pad-hero);
  --rail-node-top: var(--pad-hero);
  --rail-node-bg: var(--color-navy-deep);
}

.hero-grid {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-grid-v {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 1px;
  background: var(--grid-on-dark);
}

.hero-grid-h {
  position: absolute;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--grid-on-dark);
}

.hero-node {
  position: absolute;
  width: 7px;
  height: 7px;
  margin-left: -3px;
  border-radius: 50%;
}

.hero-node-fill { background: var(--color-cyan); }

.hero-node-open {
  background: var(--color-navy-deep);
  border: 1px solid var(--node-on-dark);
}

.hero-inner {
  position: relative;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-pad);
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: var(--gap-hero);
}

.hero-main {
  flex: 1 1 440px;
  min-width: 0;
}

.hero-title {
  margin-top: 28px;
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: var(--size-h1);
  line-height: 1.05;
  letter-spacing: -.021em;
  color: var(--color-white);
  max-width: 20ch;
  text-wrap: pretty;
}

.hero-lede {
  margin-top: 28px;
  font-size: var(--size-hero-lede);
  line-height: 1.6;
  color: var(--color-text-on-dark);
  max-width: 54ch;
  text-wrap: pretty;
}

.hero-cta { margin-top: 40px; }

/* Below 860px the aside wraps under the hero copy, so its divider
   moves from the left edge to the top. 860 matches the flex wrap
   point: W - 64 >= 440 + 280 + 0.06W  ->  W >= ~834. */
.hero-aside {
  flex: 1 1 280px;
  min-width: 0;
  max-width: 400px;
  padding-left: 0;
  padding-top: 32px;
  border-left: none;
  border-top: 1px solid var(--rule-on-dark);
}

@media (min-width: 860px) {
  .hero-aside {
    padding-left: var(--hero-aside-pad);
    padding-top: 0;
    border-left: 1px solid var(--rule-on-dark);
    border-top: none;
  }
}

.practice-list {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
}

.practice-link {
  display: grid;
  grid-template-columns: 9px 1fr;
  gap: 14px;
  align-items: center;
  padding-block: 14px;
  border-top: 1px solid var(--rule-on-dark);
  font-size: var(--size-xs);
  font-weight: 500;
  line-height: 1.45;
  color: var(--color-text-on-dark);
  text-decoration: none;
  transition: color var(--dur-fast) var(--ease-out);
}

.practice-link:hover {
  color: var(--color-white);
  text-decoration: none;
}

.practice-link-last { border-bottom: 1px solid var(--rule-on-dark); }

.practice-dot {
  width: 5px;
  height: 5px;
  margin-left: 2px;
  border-radius: 50%;
  background: var(--color-cyan);
}

.hero-aside-note {
  margin-top: 20px;
  font-size: var(--size-xs);
  line-height: 1.55;
  color: var(--color-text-on-dark-muted);
}

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

.section-services {
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
  padding-block: var(--pad-section);
  --rail-node-top: var(--pad-section);
  --rail-node-bg: var(--color-surface);
}

.card-grid {
  margin-top: var(--space-cards-top);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: 1px;
  background: var(--color-border);
  border: 1px solid var(--color-border);
}

.card {
  background: var(--color-white);
  padding: var(--pad-card);
}

.card-head {
  display: flex;
  align-items: center;
  gap: 12px;
}

.card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  flex: none;
  color: var(--color-navy);
}

.card-icon svg { display: block; }

.card-kicker {
  display: block;
  font-size: var(--size-eyebrow);
  font-weight: 600;
  line-height: 1;
  letter-spacing: var(--tracking-eyebrow);
  text-transform: uppercase;
  color: var(--color-teal);
}

.card-title {
  margin-top: 14px;
  font-size: var(--size-h3);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -.005em;
  color: var(--color-navy);
}

.card-lede {
  margin-top: 12px;
  font-size: var(--size-body);
  line-height: 1.6;
  color: var(--color-text);
}

.card-list {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.card-item {
  display: grid;
  grid-template-columns: 5px 1fr;
  gap: 14px;
  align-items: start;
  font-size: var(--size-sm);
  line-height: 1.55;
  color: var(--color-text);
}

.card-bullet {
  width: 5px;
  height: 5px;
  margin-top: 9px;
  border-radius: 50%;
  background: var(--color-cyan);
}

/* ============================================================
   Approach
   ============================================================ */

.section-approach {
  background: var(--color-navy-deep);
  padding-block: var(--pad-section);
  --rail-node-top: var(--pad-section);
  --rail-node-bg: var(--color-navy-deep);
}

.approach-grid {
  margin-top: var(--space-approach-top);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: var(--gap-approach);
  max-width: 1000px;
}

.approach-para {
  font-size: var(--size-body);
  line-height: 1.6;
  color: var(--color-text-on-dark);
}

/* ============================================================
   Writing — section is commented out in index.html until the
   newsletter exists. Styles kept so restoring the markup is a
   one-step change.
   ============================================================ */

.section-writing {
  background: var(--color-white);
  padding-block: var(--pad-section-sm);
  --rail-node-top: var(--pad-section-sm);
  --rail-node-bg: var(--color-white);
}

.writing-cta { margin-top: 24px; }

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

/* No border-top: with Writing removed this section follows the navy
   Approach block, where a light hairline reads as a stray line.

   If the Writing section is restored (its markup is commented out in
   index.html), Contact once again follows a white section and needs its
   divider back. Uncomment this line into the rule below:

       border-top: 1px solid var(--color-border);
*/
.section-contact {
  background: var(--color-surface);
  padding-block: var(--pad-section);
  --rail-node-top: var(--pad-section);
  --rail-node-bg: var(--color-surface);
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
  gap: var(--gap-contact);
}

.contact-lede { max-width: 46ch; }

.contact-email { margin-top: 32px; }

.contact-address {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--color-border);
}

.contact-address-text {
  font-size: var(--size-xs);
  line-height: 1.55;
  color: var(--color-text-muted);
}

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

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-noscript {
  margin-bottom: 20px;
  font-size: var(--size-xs);
  line-height: 1.55;
  color: var(--color-text-muted);
}

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.field-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
  gap: 20px;
}

.field-label {
  font-size: var(--size-label);
  font-weight: 600;
  color: var(--color-navy);
}

.field-required { color: var(--color-teal); }

.field-input {
  width: 100%;
  font-family: inherit;
  font-size: var(--size-sm);
  color: var(--color-navy);
  background: var(--color-white);
  padding: 12px 14px;
  border: 1px solid var(--color-border-input);
  border-radius: var(--radius);
  transition: border-color var(--dur-fast) var(--ease-out);
}

.field-input:focus-visible {
  outline: var(--focus-width) solid var(--color-cyan);
  outline-offset: 1px;
  border-color: var(--color-navy);
}

.field-input.is-invalid {
  border-color: var(--color-error);
  background: var(--color-error-bg);
}

.field-textarea {
  min-height: 132px;
  line-height: 1.55;
  resize: vertical;
}

.field-select {
  padding: 12px 40px 12px 14px;
  appearance: none;
  -webkit-appearance: none;
}

.select-wrap {
  position: relative;
  display: block;
}

.select-arrow {
  position: absolute;
  right: 16px;
  top: 50%;
  width: 7px;
  height: 7px;
  border-right: 1px solid var(--color-navy);
  border-bottom: 1px solid var(--color-navy);
  transform: translateY(-70%) rotate(45deg);
  pointer-events: none;
}

.field-hint {
  font-size: var(--size-xs);
  line-height: 1.55;
  color: var(--color-text-muted);
}

.field-error {
  display: flex;
  align-items: stretch;
  gap: 8px;
  font-size: var(--size-xs);
  line-height: 1.55;
  color: var(--color-error);
}

.field-error-bar {
  flex: none;
  width: 2px;
  background: var(--color-error);
}

.consent {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 12px;
  align-items: start;
  cursor: pointer;
}

.consent-box {
  position: relative;
  display: block;
  width: 18px;
  height: 18px;
  margin-top: 3px;
}

.consent-input {
  appearance: none;
  -webkit-appearance: none;
  margin: 0;
  width: 18px;
  height: 18px;
  border: 1px solid var(--color-border-input);
  border-radius: var(--radius);
  background: var(--color-white);
  cursor: pointer;
  transition:
    background-color var(--dur-fast) var(--ease-out),
    border-color var(--dur-fast) var(--ease-out);
}

.consent-input:checked {
  background: var(--color-navy);
  border-color: var(--color-navy);
}

.consent-input.is-invalid { border-color: var(--color-error); }

.consent-mark {
  position: absolute;
  left: 5px;
  top: 3px;
  width: 5px;
  height: 9px;
  border-right: 2px solid var(--color-cyan);
  border-bottom: 2px solid var(--color-cyan);
  transform: rotate(40deg);
  opacity: 0;
  pointer-events: none;
}

.consent-input:checked ~ .consent-mark { opacity: 1; }

.consent-text {
  font-size: var(--size-xs);
  line-height: 1.45;
  color: var(--color-text);
}

/* Honeypot. Hidden from sight and from the tab order, but still rendered
   and still submitted — that is the whole mechanism. Never swap this for
   display:none or the hidden attribute. */
.honeypot {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  border: 0;
  overflow: hidden;
  white-space: nowrap;
  clip-path: inset(50%);
}

.form-note {
  font-size: var(--size-xs);
  line-height: 1.55;
  color: var(--color-text-muted);
  max-width: 56ch;
}

.form-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.form-sent {
  font-size: var(--size-xs);
  line-height: 1.55;
  color: var(--color-success);
}

.form-alert {
  display: flex;
  align-items: stretch;
  gap: 12px;
  padding: 14px 16px;
  background: var(--color-error-bg);
  border: 1px solid var(--color-error-border);
  border-radius: var(--radius);
}

.form-alert-bar {
  flex: none;
  width: 2px;
  background: var(--color-error);
}

.form-alert-text {
  font-size: var(--size-xs);
  line-height: 1.55;
  color: var(--color-error);
}

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

.site-footer {
  background: var(--color-navy);
  color: var(--color-text-on-dark);
  padding-block: var(--pad-section-sm) 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: var(--gap-footer);
}

.footer-wordmark {
  display: block;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: var(--tracking-wordmark);
  text-transform: uppercase;
  color: var(--color-white);
}

.footer-wordmark-sub {
  display: inline-flex;
  gap: .65em;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--color-teal-mid);
  font-size: var(--size-eyebrow);
  font-weight: 600;
  letter-spacing: var(--tracking-eyebrow);
  text-transform: uppercase;
  color: var(--color-text-on-dark-muted);
}

.footer-heading {
  display: block;
  font-size: var(--size-eyebrow);
  font-weight: 600;
  letter-spacing: var(--tracking-eyebrow);
  text-transform: uppercase;
  color: var(--color-cyan);
}

.footer-list {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-link {
  color: var(--color-text-on-dark);
  text-decoration: none;
  font-size: var(--size-xs);
}

.footer-link:hover {
  color: var(--color-white);
  text-decoration: underline;
}

.footer-address {
  margin-top: 16px;
  font-size: var(--size-xs);
  line-height: 1.6;
  color: var(--color-text-on-dark);
}

.footer-email { margin-top: 12px; }

.footer-email-link {
  color: var(--color-cyan);
  font-size: var(--size-xs);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.footer-email-link:hover { color: var(--color-white); }

.footer-rule {
  margin-top: var(--space-footer-rule);
  border-top: 1px solid var(--rule-on-dark);
}

.footer-legal {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
}

.footer-legal-text {
  font-size: var(--size-legal);
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: .01em;
  color: var(--color-text-on-dark-muted);
}

.footer-legal-text:first-child { max-width: 62ch; }

/* ============================================================
   Scroll reveal — progressive enhancement.
   Content is visible by default. script.js adds .reveal only to
   sections that are below the fold at load, so nothing ever
   flashes and nothing is hidden if the script never runs.
   The resting state is identical to the design either way.
   ============================================================ */

.reveal {
  opacity: 0;
  transform: translateY(8px);
  transition:
    opacity var(--dur-reveal) var(--ease-spring),
    transform var(--dur-reveal) var(--ease-spring);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* ============================================================
   Reduced motion
   ============================================================ */

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

  .reveal {
    opacity: 1;
    transform: none;
  }
}
