/* ==========================================================================
   TriQuality Tax — site styles
   ========================================================================== */

:root {
  --bg: #f6f5f1;
  --bg-2: #efede6;
  --surface: #ffffff;
  --ink: #0e1b17;
  --ink-2: #2a3632;
  --muted: #5d6863;
  --line: #e3e0d7;
  --brand: #134e3a;
  --brand-2: #1d7556;
  --brand-soft: #e3efe8;
  --accent: #c8f07a;
  --dark: #0d1915;
  --dark-2: #15251f;

  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 28px;
  --shadow-sm: 0 1px 2px rgba(14, 27, 23, .06);
  --shadow: 0 1px 2px rgba(14, 27, 23, .04), 0 12px 32px -12px rgba(14, 27, 23, .14);
  --shadow-lg: 0 2px 4px rgba(14, 27, 23, .04), 0 30px 60px -20px rgba(14, 27, 23, .25);

  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-display: "Inter Tight", "Inter", system-ui, sans-serif;
  --font-serif: "Instrument Serif", Georgia, serif;

  --container: 1180px;
  --gutter: clamp(16px, 4vw, 32px);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

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

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

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

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.08;
  margin: 0;
}
h1 { font-size: clamp(2.6rem, 6.2vw, 4.75rem); letter-spacing: -0.04em; }
h2 { font-size: clamp(2rem, 4vw, 3rem); letter-spacing: -0.035em; }
h3 { font-size: 1.25rem; }
p { margin: 0; }

.serif {
  font-family: var(--font-serif);
  font-weight: 400;
  font-style: italic;
  letter-spacing: -0.01em;
}

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

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  padding: 10px 16px;
  background: var(--ink);
  color: #fff;
  border-radius: var(--radius-sm);
  z-index: 100;
  transition: top .2s var(--ease);
}
.skip-link:focus { top: 16px; }

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

/* ---------- Buttons ---------- */

.btn {
  --btn-bg: var(--ink);
  --btn-fg: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55em;
  padding: .85em 1.35em;
  border-radius: 999px;
  border: 1px solid transparent;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-weight: 500;
  font-size: .95rem;
  line-height: 1.2;
  white-space: nowrap;
  cursor: pointer;
  transition: transform .2s var(--ease), background .2s var(--ease), box-shadow .2s var(--ease), border-color .2s;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 8px 20px -8px rgba(14, 27, 23, .45); }
.btn:active { transform: translateY(0); }
.btn svg { width: 18px; height: 18px; flex: none; }

.btn--brand { --btn-bg: var(--brand); }
.btn--brand:hover { --btn-bg: var(--brand-2); }
.btn--accent { --btn-bg: var(--accent); --btn-fg: var(--ink); }
.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--ink);
  border-color: var(--line);
  background: rgba(255, 255, 255, .5);
}
.btn--ghost:hover { border-color: var(--ink); box-shadow: none; }
.btn--ghost-dark {
  --btn-bg: transparent;
  --btn-fg: #fff;
  border-color: rgba(255, 255, 255, .22);
}
.btn--ghost-dark:hover { border-color: #fff; box-shadow: none; }
.btn--lg { padding: 1em 1.6em; font-size: 1rem; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: .4em;
  font-weight: 500;
  color: var(--brand);
}
.link-arrow svg { width: 16px; height: 16px; transition: transform .2s var(--ease); }
.link-arrow:hover svg { transform: translateX(3px); }

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(246, 245, 241, .78);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s, background .25s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); }

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 72px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.08rem;
  letter-spacing: -0.02em;
}
.brand__mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--brand);
  color: var(--accent);
}
.brand__mark svg { width: 20px; height: 20px; }
.brand small {
  display: block;
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: .68rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 1px;
}
.brand__text { line-height: 1.1; }

.nav__links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav__links a {
  display: block;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: .93rem;
  font-weight: 500;
  color: var(--ink-2);
  white-space: nowrap;
  transition: background .2s, color .2s;
}
.nav__links a:hover { background: rgba(14, 27, 23, .06); color: var(--ink); }
.nav__links a[aria-current="page"] { background: var(--ink); color: #fff; }

.nav__cta { display: flex; align-items: center; gap: 10px; }

/* Mid-size screens: drop the secondary "Email us" button so the menu fits on one line */
@media (max-width: 1100px) {
  .nav__cta .btn--ghost { display: none; }
  .nav { gap: 16px; }
  .nav__links a { padding: 8px 12px; }
}

.nav__toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--surface);
  cursor: pointer;
  place-items: center;
}
.nav__toggle span,
.nav__toggle span::before,
.nav__toggle span::after {
  display: block;
  width: 18px;
  height: 1.5px;
  background: var(--ink);
  border-radius: 2px;
  position: relative;
  transition: transform .25s var(--ease), opacity .2s;
}
.nav__toggle span::before,
.nav__toggle span::after { content: ""; position: absolute; left: 0; }
.nav__toggle span::before { top: -6px; }
.nav__toggle span::after { top: 6px; }
.nav-open .nav__toggle span { background: transparent; }
.nav-open .nav__toggle span::before { transform: translateY(6px) rotate(45deg); }
.nav-open .nav__toggle span::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 920px) {
  .nav__toggle { display: grid; }
  .nav__cta .btn--ghost { display: none; }
  .nav__links {
    position: fixed;
    inset: 72px 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 12px var(--gutter) 24px;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 20px 40px -20px rgba(14, 27, 23, .25);
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    transition: opacity .2s, transform .25s var(--ease), visibility .2s;
  }
  .nav-open .nav__links { opacity: 1; transform: none; visibility: visible; }
  .nav__links a { padding: 14px 16px; font-size: 1.05rem; border-radius: 12px; }
}
@media (max-width: 520px) {
  .nav__cta .btn--brand .btn__label { display: none; }
  .nav__cta .btn--brand { padding: .8em; }
  .brand small { display: none; }
}

/* ---------- Announcement ---------- */

.announce {
  background: var(--dark);
  color: rgba(255, 255, 255, .82);
  font-size: .86rem;
}
.announce .container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 40px;
  padding-block: 8px;
  text-align: center;
}
.announce strong { color: #fff; font-weight: 500; }
.announce .dot {
  width: 7px;
  height: 7px;
  flex: none;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(200, 240, 122, .18);
}

/* ---------- Sections ---------- */

.section { padding-block: clamp(72px, 10vw, 128px); }
.section--tight { padding-block: clamp(56px, 7vw, 88px); }
.section--alt { background: var(--bg-2); }
.section--dark { background: var(--dark); color: #fff; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--brand-2);
  margin-bottom: 18px;
}
.eyebrow::before {
  content: "";
  width: 18px;
  height: 1.5px;
  background: currentColor;
}
.section--dark .eyebrow { color: var(--accent); }

.section-head {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 32px 64px;
  align-items: end;
  margin-bottom: clamp(40px, 6vw, 64px);
}
.section-head p { color: var(--muted); font-size: 1.08rem; max-width: 46ch; }
.section--dark .section-head p { color: rgba(255, 255, 255, .66); }
@media (max-width: 820px) { .section-head { grid-template-columns: 1fr; } }

.lede { font-size: clamp(1.08rem, 1.6vw, 1.25rem); color: var(--muted); max-width: 56ch; }

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

.hero {
  position: relative;
  padding-block: clamp(56px, 8vw, 104px) clamp(72px, 9vw, 120px);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: -20% -10% auto auto;
  width: 720px;
  height: 720px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(29, 117, 86, .16), transparent 70%);
  pointer-events: none;
}
.hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}
.hero__pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px 6px 6px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--line);
  font-size: .86rem;
  color: var(--ink-2);
  margin-bottom: 28px;
  box-shadow: var(--shadow-sm);
}
.hero__pill b {
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--brand);
  color: var(--accent);
  font-weight: 600;
  font-size: .75rem;
  letter-spacing: .04em;
}
.hero h1 .serif { color: var(--brand); }
.hero .lede { margin-top: 24px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  font-size: .92rem;
  color: var(--muted);
}
.hero__meta span { display: inline-flex; align-items: center; gap: 8px; }
.hero__meta svg { width: 18px; height: 18px; color: var(--brand-2); }

/* Hero visual: a stylized "return summary" card */
.hero__visual { position: relative; }
.return-card {
  position: relative;
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(14, 27, 23, .06);
}
.return-card__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 22px;
}
.return-card__label { font-size: .78rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand);
  font-size: .78rem;
  font-weight: 600;
}
.status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--brand-2); }
.return-card__amount {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1;
}
.return-card__amount small { font-size: 1rem; color: var(--muted); font-weight: 500; letter-spacing: 0; margin-left: 4px; }
.return-card__sub { color: var(--muted); font-size: .9rem; margin-top: 8px; }
.progress {
  margin: 26px 0 8px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
}
.progress i { height: 6px; border-radius: 6px; background: var(--brand-soft); }
.progress i.on { background: var(--brand-2); }
.progress-labels {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  font-size: .72rem;
  color: var(--muted);
}
.return-card__rows { margin-top: 24px; border-top: 1px dashed var(--line); padding-top: 18px; display: grid; gap: 12px; }
.row { display: flex; justify-content: space-between; align-items: center; font-size: .92rem; }
.row span:first-child { display: inline-flex; align-items: center; gap: 10px; color: var(--ink-2); }
.row .tick {
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border-radius: 6px;
  background: var(--brand);
  color: var(--accent);
}
.row .tick svg { width: 12px; height: 12px; }
.row span:last-child { color: var(--muted); font-variant-numeric: tabular-nums; }

.float-chip {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: 16px;
  background: var(--dark);
  color: #fff;
  box-shadow: var(--shadow-lg);
  font-size: .86rem;
  line-height: 1.3;
}
.float-chip b { display: block; font-weight: 600; }
.float-chip span { color: rgba(255, 255, 255, .62); }
.float-chip .ico {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--accent);
  color: var(--ink);
}
.float-chip .ico svg { width: 18px; height: 18px; }
.float-chip--a { left: -36px; bottom: -44px; }
.hero__visual { margin-bottom: 24px; }
.float-chip--b { right: -20px; top: -24px; background: var(--surface); color: var(--ink); border: 1px solid var(--line); }
.float-chip--b span { color: var(--muted); }
.float-chip--b .ico { background: var(--brand-soft); color: var(--brand); }

@media (max-width: 960px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__visual { max-width: 460px; margin: 24px auto 0; width: 100%; }
}
@media (max-width: 560px) {
  .float-chip--a { left: -6px; bottom: -52px; }
  .announce .dot, .announce .hide-sm { display: none; }
  .float-chip--b { right: -6px; top: -30px; }
  .return-card { padding: 22px; }
  .return-card__amount { font-size: 2.4rem; }
}

/* ---------- Cards / grids ---------- */

.grid { display: grid; gap: 20px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1000px) { .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 860px) { .grid--3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .grid--3, .grid--2, .grid--4 { grid-template-columns: 1fr; } }

.card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: transparent; }
.card h3 { margin: 22px 0 10px; }
.card p { color: var(--muted); font-size: .98rem; }
.card .link-arrow { margin-top: 20px; font-size: .95rem; }

.icon-tile {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--brand-soft);
  color: var(--brand);
}
.icon-tile svg { width: 24px; height: 24px; }

/* ---------- Steps ---------- */

.steps { counter-reset: step; }
.step {
  position: relative;
  padding: 32px;
  border-radius: var(--radius);
  background: var(--dark-2);
  border: 1px solid rgba(255, 255, 255, .07);
}
.step__num {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 3.4rem;
  line-height: 1;
  color: var(--accent);
}
.step h3 { margin: 28px 0 10px; color: #fff; }
.step p { color: rgba(255, 255, 255, .64); font-size: .98rem; }
.step a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }

/* ---------- Policy callout ---------- */

.callout {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 28px 32px;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--line);
}
.callout .icon-tile { background: #fff4d6; color: #8a5a00; }
.callout h3 { font-size: 1.15rem; margin-bottom: 6px; }
.callout p { color: var(--muted); font-size: .97rem; }
@media (max-width: 760px) {
  .callout { grid-template-columns: 1fr; padding: 24px; }
}

/* ---------- Checklist ---------- */

.checklist-wrap {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: clamp(32px, 6vw, 80px);
  align-items: start;
}
.checklist-aside { position: sticky; top: 100px; }
.checklist-aside .lede { margin-top: 18px; }
.meter { margin-top: 32px; }
.meter__bar { height: 8px; border-radius: 8px; background: var(--line); overflow: hidden; }
.meter__fill { height: 100%; width: 0; background: var(--brand-2); border-radius: 8px; transition: width .4s var(--ease); }
.meter__text { display: flex; justify-content: space-between; margin-top: 10px; font-size: .9rem; color: var(--muted); }
.meter__text b { color: var(--ink); font-weight: 600; }
.checklist-aside .actions { display: flex; gap: 10px; margin-top: 28px; flex-wrap: wrap; }

@media (max-width: 900px) {
  .checklist-wrap { grid-template-columns: 1fr; }
  .checklist-aside { position: static; }
}

.check-groups { display: grid; gap: 16px; }
.check-group {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.check-group summary {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  cursor: pointer;
  user-select: none;
}
.check-group summary::-webkit-details-marker { display: none; }
.check-group summary .icon-tile { width: 40px; height: 40px; border-radius: 12px; }
.check-group summary .icon-tile svg { width: 20px; height: 20px; }
.check-group summary h3 { font-size: 1.05rem; flex: 1; }
.check-group summary h3 small { display: block; font-family: var(--font-sans); font-weight: 400; font-size: .85rem; color: var(--muted); letter-spacing: 0; margin-top: 3px; }
.check-group .count { font-size: .82rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.check-group .chev { width: 20px; height: 20px; color: var(--muted); transition: transform .25s var(--ease); flex: none; }
.check-group[open] .chev { transform: rotate(180deg); }
.check-group ul { list-style: none; margin: 0; padding: 4px 24px 18px; display: grid; gap: 2px; }
.check-group li label {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 10px 12px;
  margin-inline: -12px;
  border-radius: 10px;
  cursor: pointer;
  transition: background .15s;
}
.check-group li label:hover { background: var(--bg); }
.check-group input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  flex: none;
  width: 22px;
  height: 22px;
  margin: 1px 0 0;
  border: 1.5px solid #c9c5b9;
  border-radius: 7px;
  background: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background .15s, border-color .15s;
}
.check-group input[type="checkbox"]::after {
  content: "";
  width: 10px;
  height: 6px;
  border-left: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: translateY(-1px) rotate(-45deg) scale(0);
  transition: transform .15s var(--ease);
}
.check-group input[type="checkbox"]:checked { background: var(--brand); border-color: var(--brand); }
.check-group input[type="checkbox"]:checked::after { transform: translateY(-1px) rotate(-45deg) scale(1); }
.check-group input:checked + .item-text { color: var(--muted); text-decoration: line-through; text-decoration-color: rgba(93, 104, 99, .5); }
.item-text b { font-weight: 600; }
.item-text em { display: block; font-style: normal; font-size: .86rem; color: var(--muted); margin-top: 2px; }

/* ---------- Contact band ---------- */

.cta-band {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--brand);
  color: #fff;
  padding: clamp(40px, 6vw, 72px);
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: center;
}
.cta-band::after {
  content: "";
  position: absolute;
  right: -120px;
  top: -120px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  border: 1px solid rgba(200, 240, 122, .25);
  box-shadow: 0 0 0 60px rgba(200, 240, 122, .04), 0 0 0 120px rgba(200, 240, 122, .03);
  pointer-events: none;
}
.cta-band h2 .serif { color: var(--accent); }
.cta-band p { color: rgba(255, 255, 255, .74); margin-top: 16px; max-width: 44ch; }
.cta-band__list { position: relative; z-index: 1; display: grid; gap: 10px; }
.cta-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 18px;
  border-radius: 16px;
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .1);
  transition: background .2s, border-color .2s;
}
a.cta-item:hover { background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .2); }
.cta-item .ico {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  flex: none;
  border-radius: 12px;
  background: var(--accent);
  color: var(--ink);
}
.cta-item .ico svg { width: 20px; height: 20px; }
.cta-item small { display: block; font-size: .78rem; color: rgba(255, 255, 255, .6); letter-spacing: .04em; }
.cta-item b { font-weight: 500; font-size: 1.02rem; word-break: break-word; }
@media (max-width: 860px) { .cta-band { grid-template-columns: 1fr; } }

/* ---------- Page header ---------- */

.page-hero { padding-block: clamp(56px, 8vw, 96px) clamp(40px, 5vw, 64px); }
.page-hero h1 { font-size: clamp(2.4rem, 5.4vw, 4rem); max-width: 16ch; }
.page-hero h1 .serif { color: var(--brand); }
.page-hero .lede { margin-top: 20px; }
.crumbs { display: flex; gap: 8px; font-size: .86rem; color: var(--muted); margin-bottom: 22px; }
.crumbs a:hover { color: var(--ink); }

/* ---------- Forms library ---------- */

.forms-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
}
.search {
  position: relative;
  flex: 1 1 320px;
  max-width: 420px;
}
.search svg {
  position: absolute;
  left: 16px;
  top: 50%;
  width: 18px;
  height: 18px;
  transform: translateY(-50%);
  color: var(--muted);
  pointer-events: none;
}
.search input {
  width: 100%;
  height: 50px;
  padding: 0 16px 0 46px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface);
  font: inherit;
  font-size: .98rem;
  color: var(--ink);
  transition: border-color .2s, box-shadow .2s;
}
.search input:focus { outline: none; border-color: var(--brand-2); box-shadow: 0 0 0 4px rgba(29, 117, 86, .12); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: transparent;
  font-size: .9rem;
  font-weight: 500;
  cursor: pointer;
  transition: background .2s, color .2s, border-color .2s;
}
.chip:hover { border-color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }

.form-group + .form-group { margin-top: 48px; }
.form-group__title {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}
.form-group__title h2 { font-size: 1.4rem; letter-spacing: -0.02em; }
.form-group__title span { font-size: .88rem; color: var(--muted); }

.form-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
@media (max-width: 960px) { .form-list { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .form-list { grid-template-columns: 1fr; } }

.form-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  border-radius: 14px;
  background: var(--surface);
  border: 1px solid var(--line);
  transition: border-color .2s, box-shadow .2s, transform .2s var(--ease);
}
.form-item:hover { border-color: var(--brand-2); box-shadow: var(--shadow); transform: translateY(-2px); }
.form-item .pdf {
  display: grid;
  place-items: center;
  width: 40px;
  height: 46px;
  flex: none;
  border-radius: 8px;
  background: var(--bg);
  border: 1px solid var(--line);
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .06em;
  color: #b4432f;
}
.form-item b { display: block; font-weight: 500; font-size: .98rem; line-height: 1.3; }
.form-item small { color: var(--muted); font-size: .82rem; }
.form-item .dl { margin-left: auto; width: 20px; height: 20px; color: var(--muted); flex: none; transition: color .2s; }
.form-item:hover .dl { color: var(--brand-2); }
.form-item--featured { background: var(--dark); border-color: var(--dark); color: #fff; }
.form-item--featured small { color: rgba(255, 255, 255, .6); }
.form-item--featured .pdf { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .12); color: var(--accent); }
.form-item--featured .dl { color: rgba(255, 255, 255, .6); }
.form-item--featured:hover { border-color: var(--accent); }
.form-item--featured:hover .dl { color: var(--accent); }

.empty-state {
  display: none;
  text-align: center;
  padding: 56px 24px;
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  color: var(--muted);
}
.empty-state.is-visible { display: block; }

.tip-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 56px;
}
.tip-strip > div { background: var(--surface); padding: 24px; display: flex; gap: 14px; align-items: flex-start; }
.tip-strip b { display: block; font-weight: 600; margin-bottom: 2px; }
.tip-strip p { font-size: .92rem; color: var(--muted); }
.tip-strip .num {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  flex: none;
  border-radius: 50%;
  background: var(--brand-soft);
  color: var(--brand);
  font-weight: 600;
  font-size: .85rem;
}
@media (max-width: 760px) { .tip-strip { grid-template-columns: 1fr; } }

/* ---------- Refund page ---------- */

.tracker {
  display: flex;
  flex-direction: column;
  padding: 36px;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--line);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.tracker:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.tracker__badge {
  display: inline-flex;
  align-self: flex-start;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--bg);
  border: 1px solid var(--line);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
}
.tracker h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); margin: 28px 0 12px; }
.tracker p { color: var(--muted); }
.tracker ul { list-style: none; padding: 0; margin: 24px 0 32px; display: grid; gap: 10px; }
.tracker li { display: flex; gap: 10px; align-items: flex-start; font-size: .95rem; color: var(--ink-2); }
.tracker li svg { width: 18px; height: 18px; color: var(--brand-2); flex: none; margin-top: 3px; }
.tracker .btn { margin-top: auto; align-self: flex-start; }
.tracker--dark { background: var(--dark); color: #fff; border-color: var(--dark); }
.tracker--dark p { color: rgba(255, 255, 255, .64); }
.tracker--dark li { color: rgba(255, 255, 255, .86); }
.tracker--dark li svg { color: var(--accent); }
.tracker--dark .tracker__badge { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .12); color: rgba(255, 255, 255, .7); }

.help-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 20px;
  padding: 24px 28px;
  border-radius: var(--radius);
  background: var(--brand-soft);
}
.help-row p { color: var(--brand); font-weight: 500; }

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

.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 24px; align-items: stretch; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

.info-list { display: grid; gap: 12px; }
.info {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 22px 24px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
  transition: border-color .2s, box-shadow .2s;
}
a.info:hover { border-color: var(--brand-2); box-shadow: var(--shadow); }
.info small { display: block; font-size: .78rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 2px; }
.info b { font-weight: 500; font-size: 1.08rem; word-break: break-word; }

.team {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 22px 24px;
  border-radius: var(--radius);
  background: var(--dark);
  color: #fff;
}
.avatars { display: flex; }
.avatar {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--ink);
  font-weight: 600;
  font-size: .95rem;
  border: 3px solid var(--dark);
}
.avatar + .avatar { margin-left: -12px; background: #9fd7bd; }
.team small { display: block; color: rgba(255, 255, 255, .6); font-size: .85rem; }

.map {
  min-height: 420px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--bg-2);
}
.map iframe { width: 100%; height: 100%; min-height: 420px; border: 0; display: block; filter: grayscale(.35) contrast(1.05); }

.msg-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  padding: clamp(24px, 4vw, 40px);
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--line);
}
.msg-form .full { grid-column: 1 / -1; }
.field label { display: block; font-size: .88rem; font-weight: 500; margin-bottom: 8px; }
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--bg);
  font: inherit;
  font-size: .98rem;
  color: var(--ink);
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus,
.field select:focus,
.field textarea:focus { outline: none; border-color: var(--brand-2); background: #fff; box-shadow: 0 0 0 4px rgba(29, 117, 86, .12); }
.msg-form .note { font-size: .85rem; color: var(--muted); }
.msg-form__foot { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; }
@media (max-width: 600px) { .msg-form { grid-template-columns: 1fr; } }

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

.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.about-grid p + p { margin-top: 18px; }
.about-grid .lede { max-width: none; }
@media (max-width: 860px) { .about-grid { grid-template-columns: 1fr; } }

.values { display: grid; gap: 1px; background: var(--line); border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); }
.value { background: var(--surface); padding: 28px; display: flex; gap: 18px; align-items: flex-start; }
.value h3 { font-size: 1.1rem; margin-bottom: 6px; }
.value p { color: var(--muted); font-size: .96rem; }

.quote {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.8rem, 3.6vw, 2.8rem);
  line-height: 1.2;
  letter-spacing: -0.01em;
  max-width: 28ch;
}
.quote-wrap { text-align: center; display: grid; justify-items: center; gap: 24px; }
.quote-wrap .quote { color: #fff; }
.quote-wrap .quote em { color: var(--accent); font-style: italic; }
.quote-wrap small { color: rgba(255, 255, 255, .6); letter-spacing: .12em; text-transform: uppercase; font-size: .78rem; font-weight: 600; }

/* ---------- Footer ---------- */

.site-footer {
  background: var(--dark);
  color: rgba(255, 255, 255, .7);
  padding-block: 72px 32px;
  font-size: .94rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
}
.site-footer .brand { color: #fff; }
.site-footer .brand small { color: rgba(255, 255, 255, .5); }
.footer-about p { margin-top: 18px; max-width: 34ch; }
.site-footer h4 {
  font-family: var(--font-sans);
  font-size: .76rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .45);
  margin-bottom: 16px;
}
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.site-footer a { transition: color .2s; }
.site-footer a:hover { color: var(--accent); }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding-top: 28px;
  font-size: .84rem;
  color: rgba(255, 255, 255, .45);
}
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-about { grid-column: 1 / -1; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Reveal animation ---------- */

.reveal { opacity: 0; transform: translateY(16px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { 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; }
}

/* ---------- Utilities ---------- */

.mt-sm { margin-top: 12px; }
.mt { margin-top: 24px; }
.mt-lg { margin-top: 48px; }
.center { text-align: center; }
.muted { color: var(--muted); }
.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;
}

@media print {
  .site-header, .announce, .site-footer, .cta-band, .hero__visual { display: none !important; }
  body { background: #fff; }
  .reveal { opacity: 1 !important; transform: none !important; }
}
.avatar svg { width: 22px; height: 22px; }

/* ---------- Contact: office photo ---------- */

.office-photo {
  position: relative;
  margin: 0 0 24px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--dark);
  aspect-ratio: 21 / 9;
}
.office-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 58%;
}
.office-photo figcaption {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: 620px;
  padding: 14px 14px 14px 16px;
  border-radius: 18px;
  background: rgba(13, 25, 21, .72);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, .12);
  color: #fff;
}
.office-photo figcaption .icon-tile { background: var(--accent); color: var(--ink); flex: none; }
.office-photo figcaption > span:nth-child(2) { flex: 1; min-width: 0; }
.office-photo figcaption b { display: block; font-weight: 600; }
.office-photo figcaption small { display: block; color: rgba(255, 255, 255, .7); font-size: .88rem; line-height: 1.4; }
.office-photo figcaption .btn { flex: none; }

@media (max-width: 720px) {
  .office-photo { aspect-ratio: auto; }
  .office-photo img { aspect-ratio: 4 / 3; height: auto; }
  .office-photo figcaption {
    position: static;
    flex-wrap: wrap;
    max-width: none;
    border-radius: 0;
    border: 0;
    background: var(--dark);
    padding: 18px;
  }
  .office-photo figcaption .btn { width: 100%; }
}
