/* WMT Financial mock site
   Stack: native CSS with custom properties and light-dark() theming.
   Type: Geist (display and body), Geist Mono (numerals and dates).
   Palette: green-grey neutrals with a single pine accent.
   Radius system: 12px for surfaces and images, 8px for buttons and inputs. */

:root {
  color-scheme: light dark;

  --font-sans: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --bg:            light-dark(#f4f6f3, #0e1613);
  --surface:       light-dark(#fbfcfa, #141e1a);
  --surface-2:     light-dark(#e9eee9, #1a2621);
  --ink:           light-dark(#101c17, #eef2ee);
  --ink-2:         light-dark(#3d4d46, #b7c2bb);
  --ink-3:         light-dark(#5d6b64, #8f9c95);
  --line:          light-dark(#d5dcd7, #26332d);
  --accent:        light-dark(#1e6b4d, #4fa57f);
  --accent-hover:  light-dark(#175a40, #63b892);
  --accent-soft:   light-dark(#dcebe3, #163227);
  --on-accent:     light-dark(#f4f6f3, #0b1611);
  --danger:        light-dark(#a4302a, #f28b82);

  /* Dark band used by the closing CTA and footer. Stays dark in both modes. */
  --dark:          light-dark(#0e1a15, #08100d);
  --dark-2:        light-dark(#15241e, #0e1a15);
  --on-dark:       #eef2ee;
  --on-dark-2:     #a6b3ac;
  --dark-line:     light-dark(#263631, #1c2924);
  --accent-on-dark: #6cc29a;

  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 1px 2px rgb(16 28 23 / .06), 0 16px 40px -20px rgb(16 28 23 / .25);

  --nav-h: 72px;
  --container: 1280px;
  --gutter: clamp(20px, 4vw, 48px);
  --section: clamp(72px, 9vw, 128px);
  --ease: cubic-bezier(.16, 1, .3, 1);
}

:root[data-theme="light"] { color-scheme: light; }
:root[data-theme="dark"]  { color-scheme: dark; }

/* ---------- Base ---------- */

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 16px); }

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.nav-open { overflow: hidden; }

img { max-width: 100%; display: block; height: auto; }

h1, h2, h3, h4 { font-weight: 600; letter-spacing: -0.02em; line-height: 1.1; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(2.5rem, 1.2rem + 3.5vw, 4rem); line-height: 1.02; letter-spacing: -0.025em; }
h2 { font-size: clamp(1.9rem, 1rem + 2.2vw, 2.9rem); line-height: 1.08; }
h3 { font-size: 1.35rem; letter-spacing: -0.01em; }
h4 { font-size: 0.95rem; letter-spacing: 0; }

p { margin: 0 0 1rem; color: var(--ink-2); }
p:last-child { margin-bottom: 0; }

.lede { font-size: 1.2rem; line-height: 1.5; color: var(--ink-2); max-width: 58ch; }
.small { font-size: 0.875rem; color: var(--ink-3); }

a { color: var(--accent); text-underline-offset: 3px; }
a:hover { color: var(--accent-hover); }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 2px; }

.wrap { max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); }
.section-tight { padding-block: calc(var(--section) * 0.75); }

.section-head { max-width: 62ch; }
.section-head h2 { margin-bottom: 1rem; }

.skip-link {
  position: absolute; top: -100px; left: 16px; z-index: 100;
  background: var(--accent); color: var(--on-accent);
  padding: 0.6rem 1rem; border-radius: var(--radius-sm); text-decoration: none; font-weight: 500;
}
.skip-link:focus { top: 12px; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- Buttons and links ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  height: 48px; padding: 0 1.25rem;
  border-radius: var(--radius-sm); border: 1px solid transparent;
  font: inherit; font-size: 0.95rem; font-weight: 500; line-height: 1; white-space: nowrap;
  text-decoration: none; cursor: pointer;
  transition: transform 0.2s var(--ease), background-color 0.2s, border-color 0.2s, color 0.2s;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0) scale(0.98); }
.btn[disabled] { opacity: 0.7; cursor: progress; transform: none; }

.btn-primary { background: var(--accent); color: var(--on-accent); }
.btn-primary:hover { background: var(--accent-hover); color: var(--on-accent); }

.btn-secondary { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-secondary:hover { background: var(--surface); border-color: var(--ink-3); color: var(--ink); }

.on-dark .btn-primary { background: var(--accent-on-dark); color: #0b1611; }
.on-dark .btn-primary:hover { background: #82d0ab; color: #0b1611; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-weight: 500; text-decoration: none; color: var(--ink);
}
.link-arrow i { color: var(--accent); transition: transform 0.25s var(--ease); }
.link-arrow:hover { color: var(--accent); }
.link-arrow:hover i { transform: translateX(3px); }

/* ---------- Header ---------- */

.site-header {
  position: sticky; top: 0; z-index: 50;
  height: var(--nav-h);
  background: color-mix(in srgb, var(--bg) 86%, transparent);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.nav { display: flex; align-items: center; justify-content: space-between; gap: 2rem; height: 100%; }

.brand {
  display: inline-flex; align-items: center; gap: 0.65rem;
  color: var(--ink); text-decoration: none; font-weight: 600; letter-spacing: -0.01em; font-size: 1.05rem;
}
.brand:hover { color: var(--ink); }
.brand-mark {
  width: 30px; height: 30px; border-radius: var(--radius-sm);
  background: var(--accent); color: var(--on-accent);
  display: grid; place-items: center; font-weight: 700; font-size: 0.9rem; letter-spacing: 0;
}
.brand-name span { font-weight: 400; color: var(--ink-2); }

.nav-links { display: flex; gap: 2rem; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  position: relative; display: inline-block; padding: 0.5rem 0;
  color: var(--ink-2); text-decoration: none; font-size: 0.95rem; font-weight: 500;
}
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--ink); }
.nav-links a[aria-current="page"]::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
  background: var(--accent); border-radius: 2px;
}

.nav-actions { display: flex; align-items: center; gap: 0.75rem; }

.nav-toggle {
  display: none; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: var(--radius-sm);
  border: 1px solid var(--line); background: transparent; color: var(--ink); font-size: 1.35rem; cursor: pointer;
}

/* Lives outside .site-header: backdrop-filter would otherwise contain the fixed panel. */
.mobile-menu {
  position: fixed; inset: var(--nav-h) 0 0 0; z-index: 40;
  background: var(--bg); padding: 1.5rem var(--gutter) 2rem;
  display: flex; flex-direction: column; gap: 0.25rem; overflow-y: auto;
}
.mobile-menu[hidden] { display: none; }
.mobile-menu a:not(.btn) {
  display: block; padding: 1rem 0; font-size: 1.35rem; font-weight: 500;
  color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--line);
}
.mobile-menu .btn { margin-top: 1.5rem; align-self: flex-start; }

@media (max-width: 900px) {
  .nav-links, .nav-actions .btn { display: none; }
  .nav-toggle { display: inline-flex; }
}

/* ---------- Hero ---------- */

.hero { padding-block: clamp(40px, 6vw, 80px) clamp(56px, 7vw, 96px); }
.hero-grid {
  display: grid; grid-template-columns: repeat(12, 1fr);
  gap: clamp(24px, 3vw, 48px); align-items: center;
}
.hero-copy { grid-column: 1 / span 7; }
.hero-media { grid-column: 8 / span 5; }
.hero h1 { max-width: 16ch; margin-bottom: 1.5rem; }
.hero .lede { max-width: 44ch; margin-bottom: 2.25rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.hero-media img {
  width: 100%; aspect-ratio: 4 / 5; object-fit: cover;
  border-radius: var(--radius); box-shadow: var(--shadow);
}

@media (max-width: 900px) {
  .hero-copy, .hero-media { grid-column: 1 / -1; }
  .hero-media img { aspect-ratio: 4 / 3; }
}

/* ---------- Facts strip ---------- */

.facts { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding-block: 2rem; }
.facts-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }
.fact { display: grid; gap: 0.35rem; align-content: start; }
.fact + .fact { border-left: 1px solid var(--line); padding-left: 2rem; }
.fact-value {
  font-family: var(--font-mono); font-size: 2rem; font-weight: 500; line-height: 1;
  font-variant-numeric: tabular-nums; letter-spacing: -0.02em; color: var(--ink);
}
.fact-label { font-size: 0.9rem; color: var(--ink-3); }

@media (max-width: 900px) {
  .facts-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
  .fact + .fact { border-left: 0; padding-left: 0; }
  .fact:nth-child(even) { border-left: 1px solid var(--line); padding-left: 1.5rem; }
}

/* ---------- Services bento ---------- */

.bento {
  display: grid; grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: minmax(200px, auto); gap: 16px; margin-top: 3rem;
}
.tile {
  position: relative; display: flex; flex-direction: column; justify-content: flex-end;
  padding: 1.75rem; border-radius: var(--radius); overflow: hidden;
  background: var(--surface); border: 1px solid var(--line);
  color: var(--ink); text-decoration: none;
  transition: transform 0.35s var(--ease), border-color 0.2s;
}
.tile:hover { transform: translateY(-2px); border-color: var(--ink-3); color: var(--ink); }
.tile h3 { margin-bottom: 0.5rem; font-size: 1.25rem; }
.tile p { margin: 0; font-size: 0.95rem; line-height: 1.55; max-width: 40ch; }
.tile-arrow {
  position: absolute; top: 1.25rem; right: 1.25rem; z-index: 1;
  font-size: 1.25rem; opacity: 0.7;
  transition: transform 0.3s var(--ease), opacity 0.2s;
}
.tile:hover .tile-arrow { transform: translate(2px, -2px); opacity: 1; }

.tile-media { color: var(--on-dark); border-color: transparent; min-height: 320px; }
.tile-media:hover { color: var(--on-dark); border-color: transparent; }
.tile-media img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.tile-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgb(8 16 13 / 0.9) 0%, rgb(8 16 13 / 0.45) 50%, rgb(8 16 13 / 0.1) 100%);
}
.tile-media:hover img { transform: scale(1.03); }
.tile-media .tile-body { position: relative; z-index: 1; }
.tile-media p { color: #d3dbd6; }

.tile-tint { background: var(--accent-soft); border-color: transparent; }
.tile-tint:hover { border-color: transparent; }

.tile-dark { background: var(--dark); color: var(--on-dark); border-color: transparent; }
.tile-dark:hover { color: var(--on-dark); border-color: transparent; }
.tile-dark p { color: var(--on-dark-2); }

.tile-a { grid-column: span 7; grid-row: span 2; }
.tile-b { grid-column: span 5; }
.tile-c { grid-column: span 5; }
.tile-d { grid-column: span 6; }
.tile-e { grid-column: span 6; min-height: 280px; }

@media (max-width: 900px) {
  .tile-a, .tile-b, .tile-c, .tile-d, .tile-e { grid-column: 1 / -1; grid-row: auto; }
  .tile-a { min-height: 380px; }
}

/* ---------- Approach ---------- */

.approach { display: grid; grid-template-columns: repeat(12, 1fr); gap: 48px; }
.approach-intro { grid-column: 1 / span 4; position: sticky; top: calc(var(--nav-h) + 32px); align-self: start; }
.approach-intro h2 { margin-bottom: 1rem; }
.steps { grid-column: 6 / span 7; list-style: none; margin: 0; padding: 0; }
.steps li {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 2rem;
  padding: 2rem 0; border-top: 1px solid var(--line);
}
.steps li:last-child { border-bottom: 1px solid var(--line); }
.steps h3 { font-size: 1.35rem; }
.steps p { margin: 0; }

@media (max-width: 900px) {
  .approach { gap: 32px; }
  .approach-intro { grid-column: 1 / -1; position: static; }
  .steps { grid-column: 1 / -1; }
  .steps li { grid-template-columns: 1fr; gap: 0.5rem; padding: 1.5rem 0; }
}

/* ---------- Statement ---------- */

.statement {
  font-size: clamp(1.9rem, 1rem + 2.6vw, 3.25rem); line-height: 1.08; letter-spacing: -0.02em;
  max-width: 24ch; margin-bottom: 2.5rem;
}
.statement-body { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2.5rem; max-width: 960px; margin-bottom: 2rem; }
.statement-body p { margin: 0; font-size: 1.05rem; }
.wide-image { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; border-radius: var(--radius); margin-top: 3.5rem; }

@media (max-width: 700px) {
  .statement-body { grid-template-columns: 1fr; gap: 1.25rem; }
  .wide-image { aspect-ratio: 4 / 3; }
}

/* ---------- Insights ---------- */

.insights { display: grid; grid-template-columns: 7fr 5fr; gap: 48px; margin-top: 2.5rem; }
time { font-family: var(--font-mono); font-size: 0.8rem; color: var(--ink-3); font-variant-numeric: tabular-nums; }

.feature-post { display: block; color: var(--ink); text-decoration: none; }
.feature-post:hover { color: var(--ink); }
.feature-post img {
  width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--radius); margin-bottom: 1.25rem;
  transition: opacity 0.25s;
}
.feature-post:hover img { opacity: 0.92; }
.feature-post h3 { font-size: 1.6rem; margin: 0.5rem 0 0.75rem; }
.feature-post:hover h3 { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }

.post-list { display: flex; flex-direction: column; }
.post {
  display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 1rem;
  padding: 1.5rem 0; border-top: 1px solid var(--line);
  color: var(--ink); text-decoration: none;
}
.post:first-child { border-top: 0; padding-top: 0; }
.post h3 { font-size: 1.15rem; margin-top: 0.35rem; }
.post i { font-size: 1.25rem; color: var(--accent); transition: transform 0.25s var(--ease); }
.post:hover { color: var(--ink); }
.post:hover h3 { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.post:hover i { transform: translateX(3px); }

@media (max-width: 900px) {
  .insights { grid-template-columns: 1fr; gap: 1rem; }
  .post:first-child { border-top: 1px solid var(--line); padding-top: 1.5rem; }
}

/* ---------- Closing CTA and footer (dark band) ---------- */

.on-dark { background: var(--dark); color: var(--on-dark); }
.on-dark p { color: var(--on-dark-2); }
.on-dark a { color: var(--on-dark); }
.on-dark a:hover { color: var(--accent-on-dark); }
.on-dark :focus-visible { outline-color: var(--accent-on-dark); }

.cta { padding-block: var(--section); }
.cta-grid { display: grid; grid-template-columns: 7fr 4fr; gap: 64px; align-items: start; }
.cta h2 { margin-bottom: 1rem; }
.cta .lede { color: var(--on-dark-2); margin-bottom: 2rem; max-width: 46ch; }

.cta-contact { font-style: normal; display: grid; gap: 1.5rem; padding-top: 0.5rem; }
.cta-contact > div { display: grid; gap: 0.25rem; padding-top: 1rem; border-top: 1px solid var(--dark-line); }
.cta-contact .label { font-size: 0.85rem; color: var(--on-dark-2); }
.cta-contact a, .cta-contact p { font-size: 1.15rem; text-decoration: none; color: var(--on-dark); margin: 0; }

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

.site-footer { border-top: 1px solid var(--dark-line); background: var(--dark-2); }
.footer-grid {
  display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 48px;
  padding-block: 64px 48px;
}
.footer-brand p { max-width: 32ch; margin-top: 1.25rem; font-size: 0.95rem; }
.on-dark .brand, .on-dark .brand:hover { color: var(--on-dark); }
.on-dark .brand-name span { color: var(--on-dark-2); }
.on-dark .brand-mark { background: var(--accent-on-dark); color: #0b1611; }

.site-footer h4 { margin-bottom: 1rem; color: var(--on-dark); }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.6rem; }
.site-footer li, .site-footer address { font-size: 0.95rem; color: var(--on-dark-2); font-style: normal; line-height: 1.6; }
.site-footer ul a { text-decoration: none; color: var(--on-dark-2); }
.site-footer ul a:hover { color: var(--on-dark); }

.footer-bottom {
  border-top: 1px solid var(--dark-line); padding-block: 28px 40px;
  display: grid; gap: 1.25rem;
}
.disclosure { font-size: 0.8rem; line-height: 1.6; max-width: 84ch; }
.footer-legal { display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; font-size: 0.85rem; color: var(--on-dark-2); }
.footer-legal a { text-decoration: none; color: var(--on-dark-2); }
.footer-legal a:hover { color: var(--on-dark); }
.site-footer address a { text-decoration: none; color: var(--on-dark-2); }
.site-footer address a:hover { color: var(--on-dark); }

@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px 32px; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* ---------- Inner page header ---------- */

.page-head { padding-block: clamp(48px, 7vw, 96px) clamp(24px, 4vw, 48px); }
.page-head h1 { max-width: 18ch; margin-bottom: 1.25rem; }

/* ---------- Services page ---------- */

.services-layout { display: grid; grid-template-columns: repeat(12, 1fr); gap: 48px; }
.subnav { grid-column: 1 / span 3; position: sticky; top: calc(var(--nav-h) + 24px); align-self: start; }
.subnav ul { list-style: none; margin: 0; padding: 0; display: grid; }
.subnav a {
  display: block; padding: 0.55rem 0 0.55rem 1rem; border-left: 2px solid var(--line);
  color: var(--ink-3); text-decoration: none; font-size: 0.95rem; font-weight: 500;
  transition: color 0.2s, border-color 0.2s;
}
.subnav a:hover { color: var(--ink); }
.subnav a.is-active { color: var(--ink); border-color: var(--accent); }

.services-content { grid-column: 5 / span 8; display: grid; gap: clamp(56px, 7vw, 96px); }
.service { scroll-margin-top: calc(var(--nav-h) + 24px); }
.service-image { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius); margin-bottom: 2rem; }
.service h2 { margin-bottom: 1rem; }
.service > p { max-width: 62ch; }

.included { list-style: none; margin: 1.75rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.75rem 2rem; }
.included li {
  display: flex; align-items: flex-start; gap: 0.6rem; font-size: 0.95rem; color: var(--ink-2);
}
.included i { color: var(--accent); font-size: 1.1rem; flex: none; margin-top: 0.2rem; }

.fee-table { width: 100%; border-collapse: collapse; margin-top: 1.5rem; max-width: 560px; }
.fee-table caption { text-align: left; font-size: 0.85rem; color: var(--ink-3); padding-bottom: 0.75rem; caption-side: top; }
.fee-table th, .fee-table td { text-align: left; padding: 0.85rem 0; border-top: 1px solid var(--line); font-size: 0.95rem; }
.fee-table th { font-weight: 500; color: var(--ink-3); font-size: 0.85rem; }
.fee-table td:last-child, .fee-table th:last-child { text-align: right; font-family: var(--font-mono); font-variant-numeric: tabular-nums; }
.fee-table td:last-child { color: var(--ink); font-weight: 500; }

@media (max-width: 900px) {
  .subnav { display: none; }
  .services-content { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .included { grid-template-columns: 1fr; }
}

/* ---------- About page ---------- */

.story { display: grid; grid-template-columns: 5fr 6fr; gap: 64px; align-items: center; }
.story img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
.story h2 { margin-bottom: 1.25rem; }

.principles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 3rem; margin-top: 2.5rem; }
.principle { padding: 2rem 0; border-top: 1px solid var(--line); }
.principle h3 { margin-bottom: 0.6rem; }
.principle p { margin: 0; }

.team { display: grid; grid-template-columns: repeat(5, 1fr); gap: 2.5rem 1.5rem; margin-top: 2.5rem; }
.member img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); filter: grayscale(1); background: var(--surface-2); }
.member h3 { font-size: 1.1rem; margin: 1rem 0 0.2rem; }
.member p { margin: 0; font-size: 0.9rem; color: var(--ink-3); }

@media (max-width: 1024px) { .team { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 900px) {
  .story { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 700px) { .principles { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .team { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Contact page ---------- */

.contact-grid { display: grid; grid-template-columns: 7fr 4fr; gap: 64px; align-items: start; }

.form { display: grid; gap: 1.5rem; }
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; }
.field { display: grid; gap: 0.45rem; }
.field label { font-weight: 500; font-size: 0.95rem; color: var(--ink); }
.field .hint { font-size: 0.85rem; color: var(--ink-3); margin: 0; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; color: var(--ink);
  padding: 0.8rem 0.95rem; border-radius: var(--radius-sm);
  border: 1px solid var(--line); background: var(--surface);
  transition: border-color 0.2s;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--ink-3); }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible {
  outline: 2px solid var(--accent); outline-offset: 2px; border-color: var(--accent);
}
.field .error { display: none; margin: 0; font-size: 0.875rem; color: var(--danger); }
.field.is-invalid .error { display: block; }
.field.is-invalid input { border-color: var(--danger); }
.form-actions { display: flex; align-items: center; gap: 1.25rem; flex-wrap: wrap; }
.form-actions .small { margin: 0; }

.form-success {
  padding: 2rem; border-radius: var(--radius); background: var(--accent-soft); border: 1px solid transparent;
}
.form-success h2 { font-size: 1.6rem; margin-bottom: 0.75rem; }
.form-success p { color: var(--ink-2); }

.offices { display: grid; gap: 2rem; }
.office { padding-top: 1.25rem; border-top: 1px solid var(--line); }
.office h3 { font-size: 1.1rem; margin-bottom: 0.5rem; }
.office address { font-style: normal; color: var(--ink-2); line-height: 1.6; font-size: 0.95rem; }
.office a { text-decoration: none; color: var(--ink); }
.office a:hover { color: var(--accent); }

.expect { margin-top: 3rem; }
.expect h3 { font-size: 1.1rem; margin-bottom: 1rem; }
.expect ol { margin: 0; padding-left: 1.2rem; color: var(--ink-2); display: grid; gap: 0.6rem; font-size: 0.95rem; }

@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
}
@media (max-width: 560px) {
  .form-row { grid-template-columns: 1fr; }
}

/* ---------- Motion ---------- */
/* Entry and scroll-reveal motion communicates hierarchy: the hero settles first,
   then sections appear as they enter view. Everything collapses under reduced motion. */

@media (prefers-reduced-motion: no-preference) {
  html.js .reveal {
    opacity: 0; transform: translateY(18px);
    transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
    transition-delay: calc(var(--i, 0) * 70ms);
  }
  html.js .reveal.is-visible { opacity: 1; transform: none; }

  .hero-copy > * { animation: rise 0.8s var(--ease) both; }
  .hero-copy > :nth-child(2) { animation-delay: 0.08s; }
  .hero-copy > :nth-child(3) { animation-delay: 0.16s; }
  .hero-media { animation: rise 0.9s var(--ease) 0.12s both; }

  @keyframes rise {
    from { opacity: 0; transform: translateY(16px); }
    to { opacity: 1; transform: none; }
  }
}

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