:root {
  color-scheme: light;
  --ink: #132d33;
  --muted: #486063;
  --teal: #175358;
  --dark: #0c3037;
  --paper: #f8f7f2;
  --white: #fff;
  --border: #d9e1dc;
  --gold: #f4d0a2;
  --serif: Georgia, "Times New Roman", serif;
  --sans: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: 1.5rem; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 1rem/1.6 var(--sans); }
h1, h2, h3, p, figure { margin: 0; }
a { color: inherit; }
img { display: block; max-width: 100%; }
a:focus-visible { outline: 3px solid #287b85; outline-offset: 4px; }
.hero a:focus-visible { outline-color: var(--gold); }
.container { width: min(100% - 5rem, 74rem); margin-inline: auto; }
.icon-library { display: none; }
.icon { width: 1.25rem; height: 1.25rem; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.skip-link { position: fixed; z-index: 5; top: .65rem; left: .65rem; padding: .65rem 1rem; background: white; transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }

.site-header { background: var(--paper); }
.header-inner { min-height: 5.2rem; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 2rem; }
.brand { display: inline-flex; width: fit-content; align-items: center; gap: .7rem; text-decoration: none; font-size: .92rem; line-height: 1.2; font-weight: 740; letter-spacing: -.018em; }
.brand img { border-radius: .55rem; padding: .25rem; background: #e9eeea; }
.primary-nav, .account-nav { display: flex; align-items: center; gap: clamp(1rem, 2.6vw, 2.35rem); }
.account-nav { justify-content: flex-end; gap: 1.2rem; }
.primary-nav a, .sign-in { font-size: .875rem; font-weight: 650; text-decoration: none; white-space: nowrap; padding-block: .35rem; }
.primary-nav a:hover, .sign-in:hover { text-decoration: underline; text-underline-offset: .35em; }
.button { display: inline-flex; justify-content: center; align-items: center; gap: .65rem; min-height: 3.05rem; padding: .65rem 1.05rem; border: 1px solid transparent; border-radius: .42rem; background: var(--teal); color: var(--white); text-decoration: none; font-size: .9rem; font-weight: 730; line-height: 1.35; white-space: nowrap; transition: background-color .16s, border-color .16s; }
.button:hover { background: #0f3c41; }
.button-small { min-height: 2.55rem; padding-inline: .9rem; font-size: .85rem; }

.hero { background: var(--dark); color: var(--white); }
.hero-inner { display: grid; grid-template-columns: .98fr 1.02fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; padding-block: clamp(2.7rem, 5.6vw, 5rem); }
.hero-copy { padding-block: .8rem; }
.eyebrow { display: flex; align-items: center; gap: .65rem; color: var(--teal); font-size: .73rem; line-height: 1.4; font-weight: 790; letter-spacing: .13em; text-transform: uppercase; }
.eyebrow span { width: .52rem; height: .52rem; flex: none; border-radius: 50%; background: currentColor; }
.eyebrow b { font-weight: inherit; }
.hero .eyebrow { color: var(--gold); }
.hero h1 { margin-top: .8rem; font: 400 clamp(3.3rem, 6.6vw, 6.25rem)/.98 var(--serif); letter-spacing: -.068em; }
.hero-description { max-width: 28rem; margin-top: 1.4rem; color: #deebea; font-size: clamp(1.03rem, 1.4vw, 1.2rem); line-height: 1.65; }
.hero-actions, .about-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .7rem; margin-top: 1.75rem; }
.button-gold { background: var(--gold); color: #182b2d; }
.button-gold:hover { background: #ffe0b8; }
.button-ghost { border-color: #78969a; background: transparent; }
.button-ghost:hover { border-color: #a6c4c5; background: #16444b; }
.hero-visual { position: relative; overflow: hidden; border: 1px solid #557478; border-radius: .7rem; background: #16444b; aspect-ratio: 4 / 3; }
.hero-visual img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 49%; }
.hero-visual figcaption { position: absolute; right: .65rem; bottom: .65rem; padding: .2rem .5rem; border-radius: .2rem; color: #fff; background: #0c262ae6; font-size: .68rem; }

.directory { padding-block: clamp(3rem, 6vw, 5.1rem); }
.section-intro { display: flex; align-items: flex-end; justify-content: space-between; gap: 1.3rem 2rem; margin-bottom: 1.6rem; }
.section-intro h2, .about-inner h2 { margin-top: .5rem; font: 400 clamp(2.45rem, 4.65vw, 4.2rem)/1.03 var(--serif); letter-spacing: -.055em; }
.section-intro > p { max-width: 23rem; padding-bottom: .25rem; color: var(--muted); }
.resource-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .9rem; }
.resource { display: flex; flex-direction: column; min-width: 0; min-height: 14.5rem; padding: 1.2rem 1.3rem 1.05rem; border: 1px solid var(--border); border-radius: .65rem; background: var(--white); text-decoration: none; transition: background-color .16s, border-color .16s; }
.resource:hover { border-color: #8daea7; background: #fcfdfc; }
.resource-top { display: flex; align-items: center; gap: .75rem; margin-bottom: .8rem; }
.resource-icon { display: grid; place-items: center; flex: none; width: 2.65rem; height: 2.65rem; border-radius: .55rem; color: var(--teal); background: #e7f0ec; }
.resource-icon .icon { width: 1.35rem; height: 1.35rem; }
.resource-icon-pro { background: #f8eddd; color: #72512d; }
.resource-label { color: var(--muted); font-size: .69rem; font-weight: 760; line-height: 1.35; letter-spacing: .09em; text-transform: uppercase; }
.resource h3 { margin-bottom: .3rem; font-size: 1.27rem; line-height: 1.25; letter-spacing: -.035em; }
.resource p { color: var(--muted); font-size: .93rem; line-height: 1.55; }
.resource-action { display: flex; justify-content: space-between; align-items: center; gap: .75rem; margin-top: auto; padding-top: .9rem; color: var(--teal); font-size: .86rem; font-weight: 740; }
.resource:hover .resource-action { text-decoration: underline; text-underline-offset: .2em; }

.about-band { background: #e8f0eb; border-block: 1px solid #d9e4de; }
.about-inner { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(2rem, 5vw, 5rem); padding-block: clamp(2.5rem, 5.5vw, 4.5rem); }
.about-inner h2 { font-size: clamp(2.4rem, 4.7vw, 4.15rem); }
.about-copy p { max-width: 33rem; color: var(--muted); }
.about-actions { margin-top: 1.2rem; column-gap: 1.1rem; }
.text-link { color: var(--teal); font-size: .9rem; font-weight: 740; text-underline-offset: .25em; }
.text-link:hover { text-decoration-thickness: 2px; }

.site-footer { background: var(--paper); }
.footer-main { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2rem; padding-block: 2.4rem 2rem; }
.footer-identity p { margin-top: .65rem; color: var(--muted); font-size: .88rem; }
.footer-nav { display: flex; flex-direction: column; align-items: flex-start; gap: .4rem; }
.footer-nav h2 { margin-bottom: .22rem; font-size: .86rem; }
.footer-nav a { color: var(--muted); font-size: .88rem; text-decoration: none; }
.footer-nav a:hover { text-decoration: underline; text-underline-offset: .22em; }
.footer-bottom { display: flex; justify-content: space-between; gap: .75rem; padding-block: .9rem; border-top: 1px solid var(--border); color: var(--muted); font-size: .8rem; }

@media (max-width: 60rem) {
  .container { width: calc(100% - 3.5rem); }
  .hero-inner { gap: 1.75rem; }
  .hero h1 { font-size: clamp(3.1rem, 7.1vw, 4.65rem); }
  .resource { padding-inline: 1rem; }
}
@media (max-width: 48rem) {
  .header-inner { grid-template-columns: 1fr auto; gap: .55rem 1rem; padding-top: .75rem; }
  .account-nav { grid-column: 2; grid-row: 1; }
  .primary-nav { grid-column: 1 / -1; grid-row: 2; gap: 1.55rem; min-height: 2.6rem; border-top: 1px solid var(--border); }
  .hero-inner { grid-template-columns: 1fr; gap: 1.5rem; padding-block: 2.35rem 1.8rem; }
  .hero-copy { padding: 0; }
  .hero h1 { font-size: clamp(3.6rem, 9.5vw, 5.4rem); }
  .hero-visual { aspect-ratio: 16 / 9; }
  .section-intro { display: block; }
  .section-intro > p { margin-top: .75rem; }
  .resource-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .about-inner { grid-template-columns: 1fr; gap: 1rem; }
}
@media (max-width: 33rem) {
  .container { width: calc(100% - 2rem); }
  .brand { gap: .5rem; font-size: .8rem; }
  .brand img { width: 2.25rem; height: 2.25rem; }
  .account-nav { gap: .7rem; }
  .sign-in, .button-small { font-size: .78rem; }
  .button-small { padding-inline: .65rem; }
  .hero h1 { font-size: clamp(2.95rem, 11.2vw, 4.2rem); }
  .hero-description { margin-top: 1rem; }
  .hero-actions { margin-top: 1.2rem; gap: .5rem; }
  .hero-actions .button { padding-inline: .7rem; font-size: .84rem; gap: .4rem; }
  .hero-actions .icon { width: 1.05rem; height: 1.05rem; }
  .hero-visual { aspect-ratio: 4 / 3; }
  .resource-grid { grid-template-columns: 1fr; gap: .65rem; }
  .resource { min-height: 0; }
  .resource-top { margin-bottom: .65rem; }
  .resource-action { padding-top: .65rem; }
  .footer-main { grid-template-columns: 1fr 1fr; gap: 1.4rem .9rem; }
  .footer-identity { grid-column: 1 / -1; }
  .footer-bottom { flex-wrap: wrap; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}
