:root {
  color-scheme: light;
  --paper: #f6f5f0;
  --surface: #fdfcf9;
  --ink: #252d28;
  --muted: #686d65;
  --green: #344c3d;
  --line: #dedfd5;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; }
button, input { font: inherit; }
button { cursor: pointer; }
a { color: inherit; -webkit-tap-highlight-color: transparent; }
svg { display: block; width: 24px; height: 24px; }
::selection { color: white; background: var(--green); }

.icon-definitions { position: absolute; width: 0; height: 0; overflow: hidden; }
.page { width: min(100% - 48px, 720px); margin-inline: auto; }
.masthead { display: flex; align-items: center; justify-content: space-between; min-height: 86px; }
.wordmark { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; font-family: Georgia, "Times New Roman", serif; font-size: 32px; font-weight: 700; letter-spacing: -3px; text-decoration: none; }
.wordmark span { color: #778369; }
.location { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-size: 12px; letter-spacing: .025em; }
.location-dot { width: 6px; height: 6px; border-radius: 50%; background: #7a8b6c; }

.banner { overflow: hidden; border-radius: 16px; background: #dddcd1; }
.banner img { display: block; width: 100%; height: auto; aspect-ratio: 1333 / 332; object-fit: cover; }
.profile { position: relative; text-align: center; margin: -49px auto 0; }
.portrait { display: block; width: 112px; height: 112px; object-fit: cover; border: 6px solid var(--paper); border-radius: 50%; margin-inline: auto; background: #c6d0d1; }
.eyebrow { margin: 18px 0 11px; color: var(--muted); font-size: 10px; line-height: 1.5; font-weight: 500; text-transform: uppercase; letter-spacing: .17em; }
h1 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(36px, 7vw, 46px); line-height: 1.16; font-weight: 400; letter-spacing: -1.8px; }
.name-dot { color: #7a8b6c; }
.tagline { margin: 13px 0 0; font-size: 16px; line-height: 1.5; letter-spacing: -.15px; }
.intro { margin: 12px 0 0; font-size: 13px; line-height: 1.8; color: var(--muted); }

.links { max-width: 520px; margin: 32px auto 0; scroll-margin-top: 24px; }
h2 { margin: 0 0 13px 2px; color: var(--muted); font-size: 11px; line-height: 1.5; font-weight: 500; text-transform: uppercase; letter-spacing: .14em; }
.link-list { display: grid; gap: 10px; list-style: none; padding: 0; margin: 0; }
.link-card { display: flex; align-items: center; gap: 17px; min-height: 78px; padding: 16px 20px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; text-decoration: none; transition: transform 180ms ease, border-color 180ms ease, background-color 180ms ease, box-shadow 180ms ease; }
.link-icon { display: grid; place-items: center; width: 38px; height: 38px; flex: 0 0 38px; border-radius: 9px; background: #eeefe8; color: var(--green); }
.link-icon svg { width: 21px; height: 21px; }
.link-copy { display: grid; gap: 4px; min-width: 0; }
.link-title { font-size: 14px; line-height: 1.3; font-weight: 600; letter-spacing: -.1px; }
.link-description { color: var(--muted); font-size: 13px; line-height: 1.4; }
.link-arrow { flex: 0 0 18px; width: 18px; height: 18px; margin-left: auto; color: #788073; transition: transform 180ms ease; }
.link-card--primary { border-color: var(--green); color: #fff; background: var(--green); }
.link-card--primary .link-icon { color: #fff; background: #ffffff14; }
.link-card--primary .link-description { color: #d6e0d5; }
.link-card--primary .link-arrow { color: #d6e0d5; }

.footer { display: grid; justify-items: center; gap: 6px; padding: 25px 0 20px; color: var(--muted); font-size: 11px; line-height: 1.6; letter-spacing: .02em; }
.footer-note { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 12px; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 20px; }
.footer-links a, .footer-links button { display: inline-flex; align-items: center; min-height: 44px; padding: 0; border: 0; background: transparent; color: inherit; font-size: inherit; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.footer-divider { color: #babeb0; }
.legal { max-width: 600px; margin: 30px auto 0; padding-bottom: 20px; font-size: 15px; line-height: 1.8; overflow-wrap: anywhere; }
.legal h1 { margin-bottom: 16px; }
.legal h2 { margin: 32px 0 10px; font-size: 18px; font-weight: 600; line-height: 1.4; text-transform: none; letter-spacing: -.2px; color: var(--ink); }
.legal p { margin: 0 0 16px; }
.legal ul { margin: 0 0 16px; padding-left: 22px; }
.legal li { padding-left: 4px; margin-bottom: 8px; }
.legal address { font-style: normal; margin-bottom: 16px; }
.legal a { color: var(--green); text-decoration-thickness: 1px; text-underline-offset: 3px; }
.legal .eyebrow { text-align: left; margin: 0 0 14px; }
.legal-updated { color: var(--muted); font-size: 12px; }
.back-link { display: inline-flex; align-items: center; min-height: 44px; gap: 7px; font-size: 13px; }
.privacy-control { min-height: 44px; padding: 10px 16px; border: 1px solid var(--green); border-radius: 8px; color: var(--green); background: var(--surface); }
.consent-banner, .consent-dialog { color: var(--ink); background: var(--surface); border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 8px 40px #252d2826; font-size: 14px; line-height: 1.6; }
.consent-banner { position: fixed; z-index: 10; right: 20px; bottom: 20px; width: min(520px, calc(100% - 40px)); max-height: calc(100dvh - 40px); overflow-y: auto; padding: 24px; }
.consent-banner h2, .consent-dialog h2 { margin: 0 0 10px; color: var(--ink); font-size: 20px; font-weight: 600; line-height: 1.3; letter-spacing: -.4px; text-transform: none; }
.consent-banner p, .consent-dialog p { margin: 0 0 14px; }
.consent-detail { color: var(--muted); font-size: 12px; }
.consent-banner a, .consent-dialog a { color: var(--green); text-underline-offset: 3px; }
.consent-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.consent-actions button { flex: 1; min-width: 130px; min-height: 46px; padding: 10px 16px; border: 1px solid var(--green); border-radius: 8px; color: var(--green); background: var(--surface); font-size: 13px; font-weight: 600; }
.consent-actions button:hover { background: #eeefe8; }
.consent-actions button:disabled { cursor: not-allowed; opacity: .55; }
.consent-settings { display: block; min-height: 44px; margin: 8px auto -8px; padding: 8px 16px; border: 0; color: var(--muted); background: transparent; font-size: 12px; text-decoration: underline; text-underline-offset: 3px; }
.consent-dialog { width: min(560px, calc(100% - 32px)); max-height: calc(100dvh - 32px); padding: 28px; overflow-y: auto; }
.consent-dialog::backdrop { background: #18241cc2; }
.consent-option { display: flex; align-items: flex-start; gap: 14px; padding: 18px 0; border-block-start: 1px solid var(--line); cursor: pointer; }
.consent-option input { flex: 0 0 20px; width: 20px; height: 20px; margin: 4px 0 0; accent-color: var(--green); }
.consent-option strong { display: block; margin-bottom: 4px; font-size: 14px; }
.consent-option span span { display: block; color: var(--muted); font-size: 12px; }
.consent-signal { padding: 10px 12px; border-radius: 8px; background: #eeefe8; font-size: 12px; }
.skip-link { position: fixed; top: 12px; left: 12px; z-index: 1; padding: 12px 18px; color: white; background: var(--green); border-radius: 8px; transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }
:focus-visible { outline: 3px solid #7c4a2d; outline-offset: 5px; }
.links:focus { outline: none; }

@media (hover: hover) {
  .link-card:hover { transform: translateY(-2px); border-color: #a4b19e; background: #fffefa; box-shadow: 0 5px 15px #25352808; }
  .link-card--primary:hover { border-color: #263d2f; background: #263d2f; }
  .link-card:hover .link-arrow { transform: translate(2px, -2px); }
}

@media (max-width: 480px) {
  .page { width: calc(100% - 32px); }
  .masthead { min-height: 70px; }
  .banner { border-radius: 12px; }
  .profile { margin-top: -37px; }
  .portrait { width: 94px; height: 94px; border-width: 5px; }
  .eyebrow { margin-top: 14px; font-size: 9px; }
  .tagline { margin-top: 11px; font-size: 15px; }
  .intro { font-size: 12px; }
  .links { margin-top: 26px; }
  .link-card { gap: 13px; padding: 15px; min-height: 77px; }
  .link-description { font-size: 12px; }
  .footer { padding-block: 27px; }
  .consent-banner { right: 16px; bottom: 16px; width: calc(100% - 32px); padding: 20px; max-height: calc(100dvh - 32px); }
  .consent-dialog { padding: 22px; }
}

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