/* ScarboroughRigsbee, PLLC — palette pulled from the SR logo mark */
:root {
  --ink: #182C26;          /* body text, deepened from logo letterforms */
  --forest: #2A4A3F;       /* logo letterforms */
  --pine: #11221D;         /* dark bands */
  --teal: #31899A;         /* logo inner arc */
  --teal-text: #22697A;    /* teal at AA contrast on light grounds */
  --sage: #82B573;         /* logo outer arc */
  --sage-soft: #E3EEDD;
  --sage-light: #9CCB8E;   /* sage text on forest panels (5.3:1) */
  --mist: #F1F5F2;         /* page ground — cool, faintly green */
  --paper: #FFFFFF;
  --line: #D3DDD7;
  --muted: #4B5E57;
  --on-dark: #E9F0EB;
  --on-dark-muted: #A9BDB3;

  --f-display: "Newsreader", Georgia, "Times New Roman", serif;
  --f-body: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;

  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 14px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--mist);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--teal-text); text-underline-offset: 3px; }
a:hover { color: var(--forest); }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--sage-soft); color: var(--ink); }

h1, h2, h3 { font-family: var(--f-display); font-weight: 400; color: var(--forest); margin: 0; letter-spacing: -0.015em; }
h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); line-height: 1.02; font-variation-settings: "opsz" 72; }
h2 { font-size: clamp(2rem, 4vw, 3rem); line-height: 1.08; font-variation-settings: "opsz" 60; }
h3 { font-size: 1.6rem; line-height: 1.2; }
h1 em, h2 em { font-style: italic; color: var(--teal-text); }
p { margin: 0 0 1em; }

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--forest); color: #fff; padding: 10px 16px; border-radius: 8px;
}
.skip:focus { top: 12px; color: #fff; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

.eyebrow {
  font-family: var(--f-mono); font-size: .78rem; letter-spacing: .08em; text-transform: uppercase;
  color: var(--teal-text); margin: 0 0 18px; display: flex; align-items: center; gap: 10px;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--sage); border-radius: 2px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 22px; border-radius: 999px;
  font: 600 1rem/1 var(--f-body); text-decoration: none; cursor: pointer;
  border: 1.5px solid transparent;
  transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease);
  touch-action: manipulation;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn:active { transform: scale(.97); }
.btn-primary { background: var(--forest); color: #fff; }
.btn-primary:hover { background: var(--pine); color: #fff; }
.btn-ghost { border-color: var(--forest); color: var(--forest); background: transparent; }
.btn-ghost:hover { background: var(--forest); color: #fff; }
.btn-light { background: var(--sage); color: var(--pine); }
.btn-light:hover { background: #fff; color: var(--pine); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--mist) 88%, transparent);
  backdrop-filter: saturate(1.4) blur(12px);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 80px; }

.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--forest); }
.brand img { width: 46px; height: 45px; }
.brand-name { font-family: var(--f-display); font-size: 1.32rem; line-height: 1; letter-spacing: -0.01em; display: block; }
.brand-name span { color: var(--teal-text); }
.brand-sub { font-family: var(--f-mono); font-size: .66rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); display: block; margin-top: 5px; }

.nav { display: flex; align-items: center; gap: 6px; }
.nav a:not(.btn) {
  color: var(--ink); text-decoration: none; font-weight: 500; font-size: .98rem;
  padding: 10px 14px; border-radius: 999px; transition: background-color .2s var(--ease);
}
.nav a:not(.btn):hover { background: var(--sage-soft); color: var(--forest); }
.nav a[aria-current="page"] { color: var(--forest); box-shadow: inset 0 -2px 0 var(--sage); border-radius: 0; }
.nav .btn { margin-left: 10px; min-height: 44px; padding: 10px 18px; }
.nav-toggle { display: none; }

@media (max-width: 900px) {
  .nav-toggle {
    display: inline-flex; align-items: center; justify-content: center;
    width: 48px; height: 48px; border-radius: 12px; border: 1px solid var(--line);
    background: var(--paper); color: var(--forest); cursor: pointer;
  }
  .nav-toggle svg { width: 22px; height: 22px; }
  .nav {
    position: absolute; left: 0; right: 0; top: 80px;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--mist); border-bottom: 1px solid var(--line);
    padding: 8px var(--gutter) 20px;
    display: none;
  }
  .nav.is-open { display: flex; }
  .nav a:not(.btn) { padding: 14px 4px; border-radius: 0; border-bottom: 1px solid var(--line); }
  .nav a[aria-current="page"] { box-shadow: none; color: var(--teal-text); }
  .nav .btn { margin: 16px 0 0; }
  .brand-sub { display: none; }
}

/* ---------- Hero ---------- */
.hero { padding: clamp(40px, 7vw, 96px) 0 clamp(56px, 8vw, 110px); position: relative; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero-lede { font-size: 1.16rem; color: var(--muted); max-width: 33em; margin: 26px 0 34px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
}

/* ---------- Year dial (signature) ---------- */
.dial-wrap { position: relative; width: 100%; max-width: 520px; margin: 0 auto; }
.dial { width: 100%; height: auto; display: block; overflow: visible; }
.dial-seg { fill: none; stroke-linecap: butt; cursor: pointer; transition: stroke .25s var(--ease), stroke-width .25s var(--ease), opacity .25s var(--ease); }
.dial-seg.is-deadline { stroke: var(--teal); }
.dial-seg.is-planning { stroke: var(--sage); }
.dial-seg:hover { opacity: .8; }
.dial-seg.is-active { stroke: var(--forest); }
.dial-seg:focus { outline: none; }
.dial-seg:focus-visible { stroke: var(--pine); }
.dial-label { font-family: var(--f-mono); font-size: 11px; letter-spacing: .08em; fill: var(--muted); text-anchor: middle; dominant-baseline: middle; pointer-events: none; text-transform: uppercase; }
.dial-label.is-active { fill: var(--forest); font-weight: 600; }
.dial-today { fill: var(--forest); }

.dial-center {
  position: absolute; inset: 26%; display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; pointer-events: none;
}
.dial-kicker { font-family: var(--f-mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--teal-text); margin-bottom: 6px; }
.dial-month { font-family: var(--f-display); font-size: clamp(1.9rem, 4.2vw, 2.6rem); line-height: 1; color: var(--forest); font-style: italic; }
.dial-title { font-weight: 600; font-size: clamp(.86rem, 1.6vw, .98rem); color: var(--ink); margin: 10px 0 4px; line-height: 1.3; }
.dial-text { font-size: clamp(.78rem, 1.4vw, .88rem); color: var(--muted); line-height: 1.45; margin: 0; max-width: 17em; }

.dial-legend { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px 22px; margin-top: 14px; font-size: .88rem; color: var(--muted); }
.dial-legend span { display: inline-flex; align-items: center; gap: 8px; }
.dial-legend i { width: 18px; height: 6px; border-radius: 2px; display: inline-block; }
.dial-legend .k-deadline { background: var(--teal); }
.dial-legend .k-planning { background: var(--sage); }
.dial-hint { text-align: center; font-size: .82rem; color: var(--muted); margin: 6px 0 0; }

@media (max-width: 520px) {
  .dial-center { inset: 19%; }
  .dial-month { font-size: 1.7rem; }
  .dial-title { margin: 6px 0 2px; }
  .dial-text { font-size: .76rem; line-height: 1.35; max-width: 15em; }
}

/* ---------- Sections ---------- */
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section-head { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 64px; align-items: end; margin-bottom: clamp(36px, 5vw, 60px); }
.section-head p { color: var(--muted); font-size: 1.08rem; margin: 0; max-width: 34em; }
@media (max-width: 800px) { .section-head { grid-template-columns: 1fr; } }

.bg-paper { background: var(--paper); }

/* Who we serve */
.serve { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.serve-item { padding: 28px 28px 8px 0; border-right: 1px solid var(--line); }
.serve-item + .serve-item { padding-left: 28px; }
.serve-item:last-child { border-right: 0; }
.serve-item h3 { font-size: 1.35rem; margin-bottom: 8px; }
.serve-item p { color: var(--muted); font-size: .98rem; }
.serve-icon { width: 40px; height: 40px; color: var(--teal-text); margin-bottom: 16px; }
@media (max-width: 800px) {
  .serve { grid-template-columns: 1fr; }
  .serve-item, .serve-item + .serve-item { padding: 24px 0 8px; border-right: 0; border-bottom: 1px solid var(--line); }
}

/* Services list */
.services { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.service {
  display: grid; grid-template-columns: 64px 1fr 1.3fr auto; gap: 24px 40px; align-items: start;
  padding: 34px 0; border-bottom: 1px solid var(--line);
  text-decoration: none; color: inherit; transition: background-color .25s var(--ease);
}
.service-icon {
  width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center;
  background: var(--sage-soft); color: var(--forest); transition: background-color .25s var(--ease), color .25s var(--ease);
}
.service-icon svg { width: 26px; height: 26px; }
.service h3 { font-size: clamp(1.5rem, 2.4vw, 1.95rem); }
.service p { color: var(--muted); margin: 0; }
.service-arrow { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; color: var(--forest); transition: all .25s var(--ease); }
.service-arrow svg { width: 18px; height: 18px; }
a.service:hover .service-icon { background: var(--forest); color: #fff; }
a.service:hover .service-arrow { background: var(--forest); border-color: var(--forest); color: #fff; transform: translateX(4px); }
a.service:hover h3 { color: var(--teal-text); }
@media (max-width: 860px) {
  .service { grid-template-columns: 56px 1fr; gap: 14px 20px; }
  .service p { grid-column: 2; }
  .service-arrow { display: none; }
}

/* Promise band */
.promise { position: relative; color: var(--on-dark); background: var(--pine); overflow: hidden; isolation: isolate; }
.promise-bg { position: absolute; inset: 0; z-index: -2; }
.promise-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 60%; }
.promise::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(100deg, rgba(17,34,29,.96) 0%, rgba(17,34,29,.88) 45%, rgba(17,34,29,.55) 100%);
}
.promise-inner { padding: clamp(80px, 12vw, 160px) 0; max-width: 820px; }
.promise blockquote { margin: 0; }
.promise blockquote p {
  font-family: var(--f-display); font-size: clamp(2rem, 4.6vw, 3.5rem); line-height: 1.12; color: #fff;
  letter-spacing: -0.015em; font-variation-settings: "opsz" 72; margin: 0;
}
.promise blockquote em { color: var(--sage); }
.promise .eyebrow { color: var(--sage); }
.promise .eyebrow::before { background: var(--teal); }
.promise-body { color: var(--on-dark-muted); font-size: 1.08rem; max-width: 40em; margin: 30px 0 0; }
.promise-caption { margin-top: 36px; font-family: var(--f-mono); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--on-dark-muted); }

/* Team */
.team { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 36px); }
.person { margin: 0; }
.person-photo {
  aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden; background: var(--sage-soft); position: relative;
}
.person-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 25%; transition: transform .6s var(--ease); }
.person:hover .person-photo img { transform: scale(1.03); }
.person-photo::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 5px;
  background: linear-gradient(90deg, var(--sage) 0 50%, var(--teal) 50% 100%);
}
.person figcaption { padding-top: 18px; }
.person-name { font-family: var(--f-display); font-size: 1.55rem; color: var(--forest); line-height: 1.15; display: block; }
.person-role { font-family: var(--f-mono); font-size: .76rem; letter-spacing: .08em; text-transform: uppercase; color: var(--teal-text); display: block; margin-top: 6px; }
.person.is-emeritus .person-photo img { filter: grayscale(.35); }
@media (max-width: 800px) {
  .team { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) {
  .team { grid-template-columns: 1fr; }
  .person-photo { aspect-ratio: 1 / 1; }
}

/* Portal + contact split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 3vw, 32px); }
.panel { border-radius: calc(var(--radius) + 6px); padding: clamp(28px, 4vw, 48px); }
.panel-dark { background: var(--forest); color: var(--on-dark); position: relative; overflow: hidden; }
.panel-dark h2, .panel-dark h3 { color: #fff; }
.panel-dark p { color: var(--on-dark-muted); }
.panel-dark .eyebrow { color: var(--sage-light); }
.panel-dark .eyebrow::before { background: var(--teal); }
.panel-light { background: var(--paper); border: 1px solid var(--line); }
.panel h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); margin-bottom: 14px; }
.panel .btn { margin-top: 12px; }
.panel-arcs { position: absolute; right: -90px; bottom: -110px; width: 320px; height: 320px; opacity: .22; pointer-events: none; }

.contact-list { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 18px; }
.contact-list li { display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: start; }
.contact-list .ci { width: 44px; height: 44px; border-radius: 50%; background: var(--sage-soft); color: var(--forest); display: grid; place-items: center; }
.contact-list .ci svg { width: 20px; height: 20px; }
.contact-list small { display: block; font-family: var(--f-mono); font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.contact-list a, .contact-list address { font-style: normal; color: var(--ink); font-weight: 500; text-decoration: none; font-size: 1.05rem; }
.contact-list a:hover { color: var(--teal-text); text-decoration: underline; }
.split-wide { grid-template-columns: 1.3fr .9fr; align-items: start; }
@media (max-width: 860px) { .split, .split-wide { grid-template-columns: 1fr; } }

/* ---------- Page header (inner pages) ---------- */
.page-head { padding: clamp(48px, 8vw, 104px) 0 clamp(40px, 6vw, 72px); border-bottom: 1px solid var(--line); position: relative; overflow: hidden; }
.page-head p { font-size: 1.15rem; color: var(--muted); max-width: 36em; margin: 22px 0 0; }
.page-head-arcs { position: absolute; right: max(-60px, calc((100vw - var(--wrap)) / 2 - 20px)); top: 50%; transform: translateY(-50%); width: min(300px, 50vw); opacity: .9; pointer-events: none; }
@media (max-width: 700px) { .page-head-arcs { opacity: .25; right: -160px; } }

/* Services detail page */
.svc-detail { display: grid; grid-template-columns: 280px 1fr; gap: 24px 64px; padding: clamp(48px, 6vw, 80px) 0; border-bottom: 1px solid var(--line); scroll-margin-top: 96px; }
.svc-detail:last-of-type { border-bottom: 0; }
.svc-detail-head .service-icon { margin-bottom: 20px; }
.svc-detail-head h2 { font-size: clamp(1.9rem, 3vw, 2.5rem); }
.svc-detail-body > p { font-size: 1.1rem; max-width: 40em; }
.checklist { list-style: none; padding: 0; margin: 28px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 28px; }
.checklist li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start; font-size: .98rem; }
.checklist svg { width: 20px; height: 20px; color: var(--teal-text); margin-top: 3px; }
@media (max-width: 860px) {
  .svc-detail { grid-template-columns: 1fr; }
  .checklist { grid-template-columns: 1fr; }
}
.jump { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; }
.jump a { padding: 10px 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--paper); color: var(--forest); text-decoration: none; font-weight: 500; font-size: .94rem; min-height: 44px; display: inline-flex; align-items: center; }
.jump a:hover { border-color: var(--forest); }

/* Portal page */
.steps { list-style: none; counter-reset: step; padding: 0; margin: 0; display: grid; gap: 0; }
.steps li { counter-increment: step; display: grid; grid-template-columns: 48px 1fr; gap: 18px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.steps li:first-child { padding-top: 0; }
.steps li::before {
  content: counter(step); width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  font-family: var(--f-mono); font-weight: 500; color: var(--forest); border: 1.5px solid var(--sage);
}
.steps strong { display: block; color: var(--forest); font-size: 1.05rem; margin-bottom: 2px; }
.steps p { margin: 0; color: var(--muted); }
.note { display: grid; grid-template-columns: 24px 1fr; gap: 12px; margin-top: 28px; padding: 18px 20px; border-radius: 12px; background: var(--sage-soft); font-size: .96rem; }
.note svg { width: 22px; height: 22px; color: var(--forest); margin-top: 2px; }

/* ---------- Forms ---------- */
.form { display: grid; gap: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }
.field label { display: block; font-weight: 600; font-size: .94rem; margin-bottom: 8px; color: var(--forest); }
.field label .req { color: var(--teal-text); }
.field label .opt { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 14px; border-radius: 10px;
  border: 1.5px solid var(--line); background: var(--paper); color: var(--ink);
  font: 400 1rem/1.4 var(--f-body); transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 4px rgba(49,137,154,.18); }
.field .hint { font-size: .85rem; color: var(--muted); margin-top: 6px; }
.field .error { display: none; font-size: .88rem; color: #A3282B; margin-top: 6px; }
.field.has-error input, .field.has-error textarea { border-color: #A3282B; }
.field.has-error .error { display: block; }
.form-status { display: none; padding: 16px 18px; border-radius: 10px; background: var(--sage-soft); color: var(--forest); font-weight: 500; }
.form-status.is-visible { display: block; }
.form .btn[disabled] { opacity: .5; cursor: progress; }

.map { border: 0; width: 100%; height: 360px; display: block; border-radius: var(--radius); filter: grayscale(.4) contrast(1.05); }

/* ---------- Legal pages ---------- */
.legal-grid { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 32px 72px; align-items: start; }
.legal-aside { position: sticky; top: 104px; }
.legal-updated { font-family: var(--f-mono); font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.legal-aside nav { display: grid; gap: 2px; border-left: 2px solid var(--line); }
.legal-aside nav a { padding: 10px 16px; color: var(--ink); text-decoration: none; margin-left: -2px; border-left: 2px solid transparent; min-height: 44px; display: flex; align-items: center; }
.legal-aside nav a:hover { color: var(--teal-text); }
.legal-aside nav a[aria-current="page"] { border-left-color: var(--sage); color: var(--forest); font-weight: 600; }
.prose { max-width: 70ch; }
.prose h2 { font-size: clamp(1.5rem, 2.4vw, 1.9rem); margin: 48px 0 14px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-family: var(--f-body); font-size: 1.05rem; font-weight: 600; color: var(--forest); margin: 24px 0 8px; letter-spacing: 0; }
.prose ul { padding-left: 1.2em; margin: 0 0 1em; }
.prose li { margin-bottom: .5em; }
.prose li::marker { color: var(--sage); }
.legal-contact { font-style: normal; padding: 20px 24px; border-radius: 12px; background: var(--paper); border: 1px solid var(--line); line-height: 1.8; margin: 8px 0 20px; }
@media (max-width: 860px) {
  .legal-grid { grid-template-columns: 1fr; }
  .legal-aside { position: static; }
}

.form-submit { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; }
.form-legal { margin: 0; font-size: .85rem; color: var(--muted); flex: 1 1 220px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--pine); color: var(--on-dark-muted); padding: 72px 0 32px; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.site-footer .brand { color: #fff; }
.site-footer .brand-name span { color: var(--sage); }
.site-footer .brand-sub { color: var(--on-dark-muted); display: block; }
.site-footer h2 { font-family: var(--f-mono); font-weight: 500; font-size: .72rem; line-height: 1.4; letter-spacing: .1em; text-transform: uppercase; color: var(--sage); margin: 0 0 16px; font-variation-settings: normal; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.site-footer a { color: var(--on-dark); text-decoration: none; }
.site-footer a:hover { color: var(--sage); text-decoration: underline; }
.site-footer address { font-style: normal; line-height: 1.7; }
.footer-blurb { margin-top: 20px; max-width: 30em; }
.footer-bottom { margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(233,240,235,.12); display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; font-size: .85rem; }
.footer-legal { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.site-footer .brand img { background: #fff; border-radius: 50%; padding: 4px; }
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Motion ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
