
/* Layout: editorial full-bleed bands (peach hero → shine → peach → midnight map → shine → midnight join),
   one living artwork (the brand's merging loops) carried through hero, cards and join. */
:root {
  --shine: #FFFEF6;
  --peach: #FCE6CA;
  --coral: #FF9E81;
  --midnight: #1D1D26;
  --slate: #616167;
  --grey: #8C8C90;
  --sand: #EBE7DC;
  --taupe: #D0C6BD;
  --line: rgba(29, 29, 38, 0.14);
  --line-dark: rgba(255, 254, 246, 0.16);
  --sans: "Helvetica Neue", Helvetica, "Nimbus Sans", Arial, sans-serif;
  --caps: "Special Gothic", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --gutter: clamp(1rem, 5vw, 5rem);
  --ease: cubic-bezier(.22, .8, .2, 1);
  --header-h: 76px;
  color-scheme: light;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { background: var(--shine); scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--shine); color: var(--midnight);
  font-family: var(--sans); font-size: 17px; line-height: 1.55;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
a { color: inherit; }
img, svg, canvas { max-width: 100%; display: block; }
h1, h2, h3 { margin: 0; font-weight: 500; text-wrap: balance; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--coral); outline-offset: 3px; border-radius: 2px; }
.wrap { padding-inline: var(--gutter); }
.caps {
  font-family: var(--caps); text-transform: uppercase; letter-spacing: .14em;
  font-size: .74rem; line-height: 1.3;
}
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }


/* ── Header ── */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  padding-top: env(safe-area-inset-top, 0px);
  transition: background .4s var(--ease), box-shadow .4s var(--ease);
}
.site-header .bar {
  height: var(--header-h); display: flex; align-items: center; gap: 2rem;
  padding-inline: var(--gutter);
}
.site-header.scrolled { background: rgba(255, 254, 246, .88); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--line); }
.brand { display: block; width: 92px; color: var(--midnight); text-decoration: none; transition: width .4s var(--ease); }
.site-header.scrolled .brand { width: 74px; }
.logo { width: 100%; height: auto; overflow: visible; }
.logo path { fill: currentColor; }
.logo .ga-outline { stroke: currentColor; stroke-width: 3; }
.site-nav { display: flex; gap: 1.6rem; margin-left: auto; font-size: .93rem; }
.site-nav a { text-decoration: none; position: relative; padding-block: .3rem; }
.site-nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px; background: currentColor;
  transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease);
}
.site-nav a:hover::after, .site-nav a:focus-visible::after { transform: scaleX(1); transform-origin: left; }
.nav-toggle { display: none; margin-left: auto; background: none; border: 1.5px solid var(--midnight); color: var(--midnight); font: inherit; font-size: .85rem; padding: .45rem .9rem; border-radius: 999px; cursor: pointer; }

/* ── Buttons ── */
.btn {
  --bg: var(--midnight); --fg: var(--shine); --wipe: var(--coral); --wfg: var(--midnight);
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; gap: .6rem;
  padding: .95rem 1.4rem; border-radius: 999px; border: 1.5px solid var(--bg);
  background: var(--bg); color: var(--fg); font: inherit; font-size: .95rem; font-weight: 500;
  text-decoration: none; cursor: pointer; transition: color .45s var(--ease), border-color .45s var(--ease);
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background: var(--wipe);
  transform: translateY(101%); transition: transform .5s var(--ease); border-radius: inherit;
}
.btn:hover::before, .btn:focus-visible::before { transform: translateY(0); }
.btn:hover, .btn:focus-visible { color: var(--wfg); border-color: var(--wipe); }
.btn .arr { transition: transform .45s var(--ease); }
.btn:hover .arr { transform: translateX(4px); }
.btn-ghost { --bg: transparent; --fg: var(--midnight); --wipe: var(--midnight); --wfg: var(--shine); border-color: var(--midnight); }
.btn-coral { --bg: var(--coral); --fg: var(--midnight); --wipe: var(--shine); --wfg: var(--midnight); }
.btn-light { --bg: transparent; --fg: var(--shine); --wipe: var(--shine); --wfg: var(--midnight); border-color: rgba(255,254,246,.6); }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; }

/* ── Hero ── */
.hero {
  position: relative; background: var(--peach); overflow: hidden;
  padding: calc(var(--header-h) + clamp(2rem, 6vw, 5rem)) var(--gutter) 0;
}
.hero-art { position: absolute; inset: 0; z-index: 0; }
.hero-art canvas { width: 100%; height: 100%; }
.loop-labels { position: absolute; inset: 0; pointer-events: none; }
.loop-label {
  position: absolute; left: 0; top: 0; white-space: nowrap;
  font-family: var(--sans); font-size: clamp(.68rem, .9vw, .86rem); letter-spacing: .02em; text-transform: uppercase;
  color: var(--coral); will-change: transform, opacity;
  /* A halo in the section's background color, so a passing loop breaks around the text. */
  --halo: var(--peach);
  text-shadow: 0 0 1px var(--halo), 0 0 2px var(--halo), 0 0 3px var(--halo), 0 0 5px var(--halo);
}
.loop-labels { z-index: 1; }
.join .loop-label { --halo: var(--midnight); }
.hero-copy { position: relative; z-index: 2; max-width: 1400px; }
.hero .eyebrow { margin-bottom: clamp(1.2rem, 2.4vw, 2rem); display: flex; align-items: center; gap: .8rem; }
.hero .eyebrow::before { content: ""; width: 34px; height: 1.5px; background: var(--midnight); }
.hero h1 {
  font-size: clamp(3rem, 7vw, 7.8rem); line-height: .95; letter-spacing: -.055em; font-weight: 500;
  max-width: 9.8em;
}
.line { display: block; overflow: hidden; padding-bottom: .06em; margin-bottom: -.06em; }
.line > span { display: inline-block; }
.js .hero h1 .line > span { animation: rise 1.15s var(--ease) both; }
.js .hero h1 .line:nth-child(2) > span { animation-delay: .09s; }
.js .hero h1 .line:nth-child(3) > span { animation-delay: .18s; }
.js .hero h1 .line:nth-child(4) > span { animation-delay: .27s; }
@keyframes rise { from { transform: translateY(105%); } to { transform: none; } }
.js .fade-in { animation: fadeUp 1s var(--ease) .55s both; }
.js .fade-in.d2 { animation-delay: .7s; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.hero-lower { display: grid; grid-template-columns: minmax(0, 34rem) auto; gap: 2rem 4rem; align-items: end; margin-top: clamp(2rem, 4vw, 3.2rem); }
.lede { font-size: clamp(1.02rem, 1.35vw, 1.2rem); color: var(--midnight); max-width: 34rem; }
.hero .btn-row { margin-top: 1.6rem; }
.coord {
  justify-self: end; text-align: right; font-size: .78rem; text-transform: uppercase; letter-spacing: .04em;
  color: var(--midnight); font-variant-numeric: tabular-nums; min-width: 15rem;
}
.coord .caps { color: var(--slate); display: block; margin-bottom: .4rem; font-size: .66rem; }
.coord .num { font-size: 1.05rem; letter-spacing: 0; }
.coord .place { color: var(--slate); }
.stats {
  position: relative; z-index: 2; margin: clamp(3rem, 6vw, 5rem) calc(-1 * var(--gutter)) 0;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1.5px solid var(--midnight);
  background: rgba(252, 230, 202, .7); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.stat { padding: 1.4rem var(--gutter) 1.7rem; display: grid; gap: .35rem; min-width: 0; }
.stat + .stat { border-left: 1px solid var(--line); }
.stat dt { color: var(--slate); }
.stat dd { margin: 0; font-size: clamp(2.2rem, 4.6vw, 4.4rem); letter-spacing: -.045em; line-height: 1; font-variant-numeric: tabular-nums; }
.stat .note { color: var(--slate); font-size: .86rem; }
.stat.north { background: var(--midnight); color: var(--shine); }
.stat.north dt, .stat.north .note { color: var(--coral); }
.stats-source { position: relative; z-index: 2; font-size: .74rem; color: var(--slate); padding: .7rem 0 1.1rem; }

/* ── Positioning band ── */
.position { padding-block: clamp(5rem, 12vw, 10rem); }
.position .caps { color: var(--slate); margin-bottom: 1.6rem; }
.position p.big {
  font-size: clamp(1.9rem, 4.3vw, 4.1rem); line-height: 1.08; letter-spacing: -.035em; max-width: 22ch;
}
.js .position .w { color: #CFC9C1; transition: color .5s linear; }
.js .position .w.on { color: var(--midnight); }
.position .w.hl { position: relative; }
.position .w.hl.on { color: var(--midnight); background: linear-gradient(var(--coral), var(--coral)) 0 88% / 100% .14em no-repeat; }

/* ── Section heads ── */
.head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 30rem); gap: 1.5rem 4rem; align-items: end; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.head .caps { margin-bottom: 1.1rem; color: var(--slate); }
.head h2 { font-size: clamp(2.2rem, 5vw, 4.6rem); line-height: 1; letter-spacing: -.045em; max-width: 14ch; }
.head .sub { color: var(--slate); max-width: 30rem; }

/* ── Platforms ── */
.platforms { padding-block: 0 clamp(5rem, 10vw, 8rem); }
.plist { list-style: none; margin: 0; padding: 0; border-top: 1.5px solid var(--midnight); }
.prow {
  --tint: var(--peach);
  position: relative; isolation: isolate; display: grid;
  grid-template-columns: 5rem minmax(0, 1fr) minmax(0, 26rem); gap: 1rem 2rem; align-items: center;
  padding: clamp(1.4rem, 2.6vw, 2.2rem) var(--gutter); margin-inline: calc(-1 * var(--gutter));
  border-bottom: 1px solid var(--line); outline: none;
}
.prow::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background: var(--tint);
  transform: scaleY(0); transform-origin: bottom; transition: transform .6s var(--ease);
}
.prow:hover::before, .prow:focus-within::before, .prow:focus::before { transform: scaleY(1); }
.prow:nth-child(2) { --tint: var(--coral); }
.prow:nth-child(3) { --tint: var(--taupe); }
.prow:nth-child(4) { --tint: var(--sand); }
.prow .pnum { color: var(--slate); }
.prow h3 { font-size: clamp(2.6rem, 7.4vw, 7rem); line-height: .95; letter-spacing: -.055em; transition: transform .6s var(--ease); }
.prow:hover h3 { transform: translateX(.12em); }
.prow p { color: var(--midnight); max-width: 26rem; }
.vision { margin-top: clamp(2.5rem, 5vw, 4rem); max-width: 46rem; color: var(--slate); font-size: 1.05rem; }
.vision strong { color: var(--midnight); font-weight: 500; }

/* ── Industries ── */
.industries { background: var(--peach); padding-block: clamp(5rem, 10vw, 8rem); overflow: hidden; }
.marquee { margin-inline: calc(-1 * var(--gutter)); border-block: 1.5px solid var(--midnight); padding-block: .9rem; overflow: hidden; }
.marquee + .marquee { border-top: 0; }
.track { display: flex; width: max-content; gap: 0; }
.js .track { animation: slide 70s linear infinite; }
.marquee.rev .track { animation-direction: reverse; animation-duration: 84s; }
.marquee:hover .track { animation-play-state: paused; }
@keyframes slide { to { transform: translateX(-50%); } }
.track span { display: inline-flex; align-items: center; gap: 1.6rem; padding-right: 1.6rem; font-size: clamp(2rem, 4.6vw, 4.2rem); letter-spacing: -.04em; line-height: 1.05; white-space: nowrap; }
.track span::after { content: ""; width: .5em; height: .36em; border: .07em solid var(--coral); border-radius: 50%; transform: rotate(-30deg); }
.marquee.rev span { color: transparent; -webkit-text-stroke: 1.2px var(--midnight); }
.ilist { list-style: none; margin: clamp(2.5rem, 5vw, 4rem) 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.ilist li { padding: 1.2rem 1rem 1.4rem 0; border-bottom: 1px solid var(--line); display: grid; gap: .5rem; align-content: start; min-width: 0; position: relative; }
.ilist li::after { content: ""; position: absolute; left: 0; bottom: -1px; height: 2px; width: 100%; background: var(--coral); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease); }
.ilist li:hover::after { transform: scaleX(1); }
.ilist .n { color: var(--slate); font-variant-numeric: tabular-nums; }
.ilist .t { font-size: 1.08rem; line-height: 1.3; }
.emerging { margin-top: 2.2rem; max-width: 46rem; color: var(--slate); }
.emerging strong { color: var(--midnight); font-weight: 500; }

/* ── Statewide ── */
.statewide { background: var(--midnight); color: var(--shine); }
.statewide .intro { padding-block: clamp(5rem, 10vw, 8rem) 2rem; }
.statewide .head .caps, .statewide .head .sub { color: var(--taupe); }
.statewide .head h2 { max-width: 16ch; }
.points { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line-dark); }
.points li { padding: 1.3rem 1.5rem 1.4rem 0; color: var(--taupe); font-size: .95rem; min-width: 0; }
.points li + li { padding-left: 1.5rem; border-left: 1px solid var(--line-dark); }
.points strong { display: block; color: var(--shine); font-weight: 500; font-size: 1.15rem; margin-bottom: .3rem; }
.scrolly { position: relative; }
.stage { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 2rem 4rem; align-items: center; padding-block: 3rem 5rem; }
@media (min-width: 960px) {
  .js .scrolly { height: 260vh; }
  .js .stage { position: sticky; top: env(safe-area-inset-top, 0px); height: 100vh; padding-block: calc(var(--header-h) + 1rem) 2rem; }
}
.map { width: 100%; max-height: 78vh; overflow: visible; }
.map .state { fill: none; stroke: var(--shine); stroke-width: 1.2; stroke-linejoin: round; }
.map .link { fill: none; stroke: var(--coral); stroke-width: .9; stroke-linecap: round; opacity: .85; }
.js .map .link:not(.on) { opacity: 0; }
.map .hub circle.ring { fill: none; stroke: var(--coral); stroke-width: 1; }
.map .hub circle.dot { fill: var(--coral); }
.map .hub text { fill: var(--shine); font-family: var(--sans); font-size: 5.6px; letter-spacing: .03em; text-transform: uppercase; }
.map .hub text.z { fill: var(--taupe); font-size: 4.6px; }
.js .map .hub { opacity: 0; transform: scale(.4); transform-box: fill-box; transform-origin: center; transition: opacity .6s var(--ease), transform .8s var(--ease); }
.js .map .hub.on { opacity: 1; transform: none; }
.js .map .link { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.2s var(--ease); }
.js .map .link.on { stroke-dashoffset: 0; }
.js .map .state { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 2.4s var(--ease); }
.js .map.drawn .state { stroke-dashoffset: 0; }
.regions { min-width: 0; }
.readout { border-top: 1.5px solid var(--coral); padding-top: 1rem; margin-bottom: 1.6rem; font-variant-numeric: tabular-nums; }
.readout .count { color: var(--coral); }
.readout .name { font-size: clamp(1.6rem, 2.8vw, 2.6rem); letter-spacing: -.035em; line-height: 1.05; margin-top: .5rem; min-height: 2.2em; }
.readout .meta { color: var(--taupe); font-size: .85rem; text-transform: uppercase; letter-spacing: .04em; margin-top: .4rem; }
.rlist { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 1.5rem; }
.rlist li { padding: .5rem 0; border-bottom: 1px solid var(--line-dark); font-size: .92rem; color: var(--shine); display: flex; justify-content: space-between; gap: .8rem; min-width: 0; transition: color .4s; }
.rlist li span:last-child { color: var(--grey); font-size: .8rem; }
.js .rlist li { color: #6E6E78; }
.js .rlist li.on { color: var(--shine); }
.js .rlist li.on span:last-child { color: var(--coral); }
.map-note { margin-top: 1.2rem; font-size: .76rem; color: var(--grey); }

/* ── Events ── */
.events { padding-block: clamp(5rem, 10vw, 8rem); }
.elist { list-style: none; margin: 0; padding: 0; border-top: 1.5px solid var(--midnight); }
.erow {
  position: relative; isolation: isolate; display: grid; grid-template-columns: 9rem minmax(0, 1fr) auto; gap: 1rem 2.5rem; align-items: center;
  padding: 1.6rem var(--gutter); margin-inline: calc(-1 * var(--gutter)); border-bottom: 1px solid var(--line); text-decoration: none;
}
.erow::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--peach); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease); }
.erow:hover::before, .erow:focus-visible::before { transform: scaleX(1); }
.edate { font-family: var(--caps); text-transform: uppercase; letter-spacing: .06em; line-height: 1; }
.edate .d { display: block; font-size: 3rem; letter-spacing: -.02em; font-family: var(--sans); }
.edate .m { font-size: .8rem; color: var(--slate); }
.erow h3 { font-size: clamp(1.3rem, 2.2vw, 1.9rem); letter-spacing: -.025em; line-height: 1.15; }
.erow .where { color: var(--slate); font-size: .92rem; margin-top: .35rem; }
.erow .go { width: 3rem; height: 3rem; border-radius: 50%; border: 1.5px solid var(--midnight); display: grid; place-items: center; transition: background .4s, color .4s, transform .5s var(--ease); }
.erow:hover .go { background: var(--midnight); color: var(--shine); transform: rotate(-45deg); }
.sample-tag { display: inline-block; margin-left: .6rem; padding: .2rem .5rem; border: 1px solid var(--coral); border-radius: 999px; font-size: .6rem; vertical-align: middle; color: var(--midnight); }
.head .more { justify-self: end; }
@media (max-width: 960px) { .head .more { justify-self: start; } }

/* ── Resources ── */
.resources { padding-block: 0 clamp(5rem, 10vw, 8rem); }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.card {
  display: grid; grid-template-rows: auto 1fr; background: var(--sand); color: var(--midnight); text-decoration: none;
  border-radius: 4px; overflow: hidden; transition: transform .6s var(--ease), box-shadow .6s var(--ease); min-width: 0;
}
.card:hover, .card:focus-visible { transform: translateY(-8px) rotate(-.6deg); box-shadow: 0 24px 48px -18px rgba(29,29,38,.35); }
.card .art { position: relative; aspect-ratio: 16 / 9; max-width: 100%; }
.card .art canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.card.c1 .art { background: var(--peach); }
.card.c2 .art { background: var(--midnight); }
.card.c3 .art { background: var(--coral); }
.card .body { padding: 1.4rem 1.4rem 1.6rem; display: grid; gap: .6rem; align-content: start; }
.card h3 { font-size: 1.45rem; letter-spacing: -.025em; line-height: 1.15; }
.card p { color: var(--slate); font-size: .95rem; }
.card .cta { margin-top: .6rem; font-weight: 500; font-size: .95rem; }

/* ── Join ── */
.join { position: relative; background: var(--midnight); color: var(--shine); overflow: hidden; padding-block: clamp(6rem, 12vw, 10rem); }
.join .join-art { position: absolute; inset: 0; }
.join .join-art canvas { width: 100%; height: 100%; }
.join .loop-label { color: var(--coral); opacity: .7; }
.join-inner { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 3rem 5rem; align-items: end; }
.join .caps { color: var(--coral); margin-bottom: 1.2rem; }
.join h2 { font-size: clamp(2.4rem, 5.6vw, 5.4rem); letter-spacing: -.05em; line-height: .98; max-width: 13ch; }
.join-side { display: grid; gap: 1.6rem; background: rgba(29,29,38,.72); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); padding: 1.6rem; border: 1px solid var(--line-dark); border-radius: 4px; }
.join-side p { color: var(--sand); }

/* ── Contact ── */
.contact { padding-block: clamp(5rem, 10vw, 8rem); display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2rem; align-items: end; }
.contact .caps { color: var(--slate); margin-bottom: 1rem; }
.contact h2 { font-size: clamp(3rem, 9vw, 8.5rem); letter-spacing: -.06em; line-height: .9; }
.contact p { color: var(--slate); margin-top: 1.4rem; max-width: 32rem; }
.mail { font-size: clamp(1.3rem, 2.6vw, 2.2rem); letter-spacing: -.03em; text-decoration: none; background: linear-gradient(var(--coral), var(--coral)) 0 100% / 100% 2px no-repeat; transition: background-size .5s var(--ease); padding-bottom: .2rem; }
.mail:hover { background-size: 100% 40%; }

/* ── Footer ── */
.site-footer { background: var(--midnight); color: var(--shine); padding-block: clamp(4rem, 8vw, 6rem) 2rem; }
.fgrid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, .6fr)); gap: 2.5rem; }
.flogo { width: min(340px, 70%); color: var(--shine); }
.site-footer .about { color: var(--taupe); max-width: 26rem; margin-top: 1.6rem; font-size: .95rem; }
.fcol h4 { margin: 0 0 1rem; font-weight: 400; color: var(--coral); }
.fcol a { display: block; text-decoration: none; padding: .25rem 0; color: var(--sand); }
.fcol a:hover { color: var(--shine); }
.fbase { margin-top: 3.5rem; padding-top: 1.4rem; border-top: 1px solid var(--line-dark); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; color: var(--grey); font-size: .82rem; }

/* ── Logo draw-on ── */
.js .draw .ga-outline { fill: transparent; stroke-dasharray: 1; stroke-dashoffset: 1; animation: drawLine 1.6s var(--ease) .15s forwards, fillIn .6s ease 1.45s forwards; }
.js .draw .letter { opacity: 0; animation: fadeUp .8s var(--ease) both; }
.js .draw .letter:nth-of-type(2) { animation-delay: .9s; }
.js .draw .letter:nth-of-type(3) { animation-delay: .98s; }
.js .draw .letter:nth-of-type(4) { animation-delay: 1.06s; }
.js .draw .letter:nth-of-type(5) { animation-delay: 1.14s; }
.js .draw .letter:nth-of-type(6) { animation-delay: 1.22s; }
@keyframes drawLine { to { stroke-dashoffset: 0; } }
@keyframes fillIn { to { fill: currentColor; stroke-width: 0; } }
.js .flogo:not(.draw) .ga-outline { fill: transparent; stroke-dasharray: 1; stroke-dashoffset: 1; }
.js .flogo:not(.draw) .letter { opacity: 0; }

/* ── Scroll reveal (only for content below the first screen) ── */
.js .pre { opacity: 0; transform: translateY(28px); }
.rv { transition: opacity 1s var(--ease), transform 1s var(--ease); }

/* ── Responsive ── */
@media (max-width: 1100px) {
  .ilist { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .prow { grid-template-columns: 4rem minmax(0, 1fr); }
  .prow p { grid-column: 2; }
}
@media (max-width: 960px) {
  .site-nav { display: none; position: absolute; top: calc(var(--header-h) + env(safe-area-inset-top, 0px)); left: 0; right: 0; flex-direction: column; gap: 0; background: var(--shine); padding: .5rem var(--gutter) 1.2rem; box-shadow: 0 12px 24px -12px rgba(29,29,38,.3); }
  .site-nav.open { display: flex; }
  .site-nav a { padding: .8rem 0; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
  .nav-toggle { display: inline-block; }
  .header-cta { display: none; }
  .hero { padding-top: calc(var(--header-h) + 1rem); }
  .hero-art { position: relative; inset: auto; height: 300px; margin-inline: calc(-1 * var(--gutter)); margin-bottom: 1.6rem; }
  .hero-lower { grid-template-columns: minmax(0, 1fr); }
  .coord { justify-self: start; text-align: left; }
  .head { grid-template-columns: minmax(0, 1fr); }
  .points { grid-template-columns: minmax(0, 1fr); }
  .points li + li { padding-left: 0; border-left: 0; border-top: 1px solid var(--line-dark); }
  .stage { grid-template-columns: minmax(0, 1fr); }
  .map { max-height: none; }
  .cards { grid-template-columns: minmax(0, 1fr); }
  .join-inner { grid-template-columns: minmax(0, 1fr); }
  .contact { grid-template-columns: minmax(0, 1fr); }
  .fgrid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .fgrid > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .stats { grid-template-columns: minmax(0, 1fr); }
  .stat + .stat { border-left: 0; border-top: 1px solid var(--line); }
  .ilist { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .prow { grid-template-columns: minmax(0, 1fr); gap: .5rem; }
  .prow p { grid-column: 1; }
  .erow { grid-template-columns: 4.5rem minmax(0, 1fr); }
  .erow .go { display: none; }
  .edate .d { font-size: 2.2rem; }
  .rlist { grid-template-columns: minmax(0, 1fr); }
  .proto-note { font-size: .6rem; }
}
@media (prefers-reduced-motion: reduce) {
  .js .track { animation: none; flex-wrap: wrap; width: auto; }
  .js .hero h1 .line > span, .js .fade-in { animation: none; }
}

/* ══════════ Additions for the live site (directory, events, resource library) ══════════ */

/* Industry index on the homepage links to each industry page */
.ilist li { padding: 0; }
.ilist li a { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; grid-template-areas: "n n go" "t t t" "c c c"; gap: .45rem .6rem; padding: 1.2rem 1rem 1.4rem 0; text-decoration: none; height: 100%; }
.ilist .n { grid-area: n; }
.ilist .t { grid-area: t; transition: transform .45s var(--ease); }
.ilist .count { grid-area: c; color: var(--slate); font-size: .66rem; min-height: 1em; }
.ilist .go { grid-area: go; justify-self: end; opacity: 0; transform: translateX(-6px); transition: opacity .35s, transform .45s var(--ease); }
.ilist li a:hover .go, .ilist li a:focus-visible .go { opacity: 1; transform: none; }
.ilist li a:hover .t { transform: translateX(.2rem); }
.dir-total { margin-top: 1.4rem; color: var(--slate); min-height: 1em; }

/* Events from Google Calendar */
.event-empty { padding: 1.6rem 0; color: var(--slate); border-bottom: 1px solid var(--line); }
.event-empty a { color: var(--midnight); }
.erow .edesc { display: block; color: var(--slate); font-size: .9rem; margin-top: .35rem; max-width: 60ch; }

/* ── Industry + library page hero ── */
.ind-hero { position: relative; overflow: hidden; background: var(--peach); padding: calc(var(--header-h) + clamp(2.5rem, 6vw, 5rem)) var(--gutter) clamp(2.5rem, 5vw, 4rem); }
.ind-art { position: absolute; inset: 0; z-index: 0; }
.ind-art canvas { width: 100%; height: 100%; }
.ind-hero-copy { position: relative; z-index: 2; max-width: 60rem; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; color: var(--slate); margin-bottom: 1.4rem; }
.crumbs a { color: var(--midnight); }
.draft-tag { border: 1px solid var(--midnight); border-radius: 999px; padding: .15rem .55rem; color: var(--midnight); font-size: .6rem; }
.ind-hero h1 { font-size: clamp(2.6rem, 6.6vw, 6.4rem); line-height: .95; letter-spacing: -.055em; max-width: 13ch; }
.ind-hero .lede { margin-top: 1.4rem; max-width: 40rem; min-height: 1.6em; }
.ind-hero .btn { margin-top: 1.6rem; }
.ind-stats { display: flex; flex-wrap: wrap; gap: 0; margin: 2rem 0 0; border-top: 1.5px solid var(--midnight); max-width: 40rem; }
.ind-stats div { padding: .9rem 2rem .2rem 0; }
.ind-stats div + div { padding-left: 2rem; border-left: 1px solid var(--line); }
.ind-stats dt { color: var(--slate); }
.ind-stats dd { margin: .3rem 0 0; font-size: clamp(1.5rem, 2.6vw, 2.2rem); letter-spacing: -.03em; font-variant-numeric: tabular-nums; }

/* ── Industry body: filters + listings ── */
.ind-body { padding-block: clamp(3rem, 6vw, 5rem); }
.ind-layout { display: grid; grid-template-columns: minmax(0, 18rem) minmax(0, 1fr); gap: 2.5rem 4rem; align-items: start; }
.ind-side { position: sticky; top: calc(var(--header-h) + 1rem + env(safe-area-inset-top, 0px)); display: grid; gap: 1.2rem; }
.mini-map { width: 100%; max-width: 16rem; overflow: visible; }
.mini-map .state { fill: var(--sand); stroke: var(--midnight); stroke-width: 1.1; stroke-linejoin: round; }
.mini-map .mhub circle { fill: var(--taupe); transition: fill .3s, transform .4s var(--ease); transform-box: fill-box; transform-origin: center; }
.mini-map .mhub.has { cursor: pointer; }
.mini-map .mhub.has circle { fill: var(--coral); }
.mini-map .mhub.has:hover circle, .mini-map .mhub.has:focus-visible circle { transform: scale(1.15); }
.mini-map .mhub.sel circle { fill: var(--midnight); }
.mini-map .mhub text { fill: var(--midnight); font: 600 8.5px var(--sans); pointer-events: none; }
.mini-map .mhub.sel text { fill: var(--shine); }
.mini-map .mhub:focus-visible { outline: none; }
.mini-map .mhub:focus-visible circle { stroke: var(--midnight); stroke-width: 2; }
.map-note { font-size: .8rem; color: var(--slate); min-height: 1em; margin-top: -.6rem; }
.field { display: grid; gap: .45rem; }
.field .caps { color: var(--slate); }
.field select, .field input {
  font: inherit; font-size: .95rem; color: var(--midnight); background: var(--shine);
  border: 1.5px solid var(--midnight); border-radius: 999px; padding: .6rem 1rem; width: 100%; min-width: 0;
}
.field select:focus-visible, .field input:focus-visible { outline: 2px solid var(--coral); outline-offset: 2px; }
.chips { display: flex; flex-wrap: wrap; gap: .4rem; }
.chip { font: inherit; font-size: .8rem; padding: .4rem .75rem; border-radius: 999px; border: 1px solid var(--midnight); background: transparent; color: var(--midnight); cursor: pointer; transition: background .3s, color .3s; }
.chip[aria-pressed="true"] { background: var(--midnight); color: var(--shine); }
.chip:hover { background: var(--peach); }
.chip[aria-pressed="true"]:hover { background: var(--midnight); }
.link-btn { font: inherit; font-size: .9rem; background: none; border: 0; padding: 0; color: var(--midnight); text-decoration: underline; cursor: pointer; justify-self: start; }
.ind-main { min-width: 0; }
.ind-status { color: var(--slate); margin-bottom: 1.2rem; min-height: 1.5em; }
.sub-head { color: var(--slate); margin: 0 0 1rem; font-weight: 400; }
.feat-grid { list-style: none; margin: 0 0 2.6rem; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 17rem), 1fr)); gap: 1rem; }
.feat-grid li { background: var(--midnight); color: var(--shine); border-radius: 4px; padding: 1.4rem 1.4rem 1.5rem; display: grid; gap: .45rem; align-content: start; border-top: 4px solid var(--coral); transition: transform .5s var(--ease); }
.feat-grid li:hover { transform: translateY(-4px); }
.feat-grid .ltype { color: var(--coral); }
.feat-grid h3 { font-size: 1.35rem; letter-spacing: -.02em; line-height: 1.15; }
.feat-grid h3 a { color: var(--shine); text-decoration: none; }
.feat-grid h3 a:hover { text-decoration: underline; text-decoration-color: var(--coral); }
.feat-grid .where { color: var(--taupe); font-size: .85rem; }
.feat-grid .desc { color: var(--sand); font-size: .92rem; }
.feat-grid .tag { border-color: var(--taupe); color: var(--taupe); }
.listings { list-style: none; margin: 0; padding: 0; border-top: 1.5px solid var(--midnight); }
.listings li { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); grid-template-areas: "type desc" "name desc" "where desc" "tag desc"; gap: .25rem 2.5rem; padding: 1.3rem 0 1.4rem; border-bottom: 1px solid var(--line); align-content: start; }
.listings .ltype { grid-area: type; color: var(--slate); }
.listings h3 { grid-area: name; font-size: 1.25rem; letter-spacing: -.02em; line-height: 1.2; }
.listings h3 a { text-decoration: none; background: linear-gradient(var(--coral), var(--coral)) 0 100% / 0 2px no-repeat; transition: background-size .45s var(--ease); }
.listings h3 a:hover, .listings h3 a:focus-visible { background-size: 100% 2px; }
.listings .where { grid-area: where; color: var(--slate); font-size: .88rem; }
.listings .desc { grid-area: desc; color: var(--midnight); font-size: .95rem; }
.listings .tag { grid-area: tag; justify-self: start; }
.ext { display: inline-block; margin-left: .3rem; font-size: .8em; transition: transform .4s var(--ease); }
a:hover > .ext { transform: translate(2px, -2px); }
.tag { display: inline-block; margin-top: .35rem; font-size: .72rem; border: 1px solid var(--slate); color: var(--slate); border-radius: 999px; padding: .15rem .55rem; }

/* Cross-industry support */
.ind-cross { background: var(--sand); padding-block: clamp(3.5rem, 7vw, 5.5rem); }
.cross-head { margin-bottom: 2rem; }
.cross-head .caps { color: var(--slate); margin-bottom: .8rem; }
.cross-head h2 { font-size: clamp(1.8rem, 3.6vw, 3rem); letter-spacing: -.04em; line-height: 1.02; }
.cross-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 20rem), 1fr)); gap: 0 2.5rem; }
.cross-list li { border-top: 1.5px solid var(--midnight); padding: 1rem 0 1.6rem; display: grid; gap: .4rem; }
.cross-list .ltype { color: var(--slate); }
.cross-list h3 { font-size: 1.3rem; letter-spacing: -.02em; }
.cross-list h3 a { text-decoration: none; }
.cross-list p { color: var(--slate); font-size: .95rem; }

/* Suggest + pager */
.ind-suggest { padding-block: clamp(3.5rem, 7vw, 5rem); display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 1.5rem 3rem; align-items: end; border-bottom: 1px solid var(--line); }
.ind-suggest h2 { font-size: clamp(1.8rem, 3.6vw, 3rem); letter-spacing: -.04em; line-height: 1.02; }
.ind-suggest p { color: var(--slate); max-width: 40rem; margin-top: 1rem; }
.ind-pager { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); padding-block: 0; }
.pg { display: grid; gap: .4rem; padding: 2rem 0; text-decoration: none; }
.pg .caps { color: var(--slate); }
.pg .pn { font-size: clamp(1.3rem, 2.8vw, 2.2rem); letter-spacing: -.035em; line-height: 1.05; transition: transform .45s var(--ease); }
.pg.next { text-align: right; border-left: 1px solid var(--line); padding-left: 2rem; }
.pg.prev .pn::before { content: "← "; }
.pg.next .pn::after { content: " →"; }
.pg.prev:hover .pn { transform: translateX(-.3rem); }
.pg.next:hover .pn { transform: translateX(.3rem); }
.all-ind { list-style: none; margin: 0; padding: 2rem 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 16rem), 1fr)); gap: .4rem 2rem; }
.all-ind a { text-decoration: none; display: block; padding: .5rem 0; border-bottom: 1px solid var(--line); }
.all-ind .caps { color: var(--slate); margin-right: .5rem; }

/* ── Resource library (resources.js renders these) ── */
.library-section { padding-block: clamp(3.5rem, 7vw, 5.5rem); }
.library-toolbar { display: grid; grid-template-columns: minmax(0, 2fr) repeat(2, minmax(0, 1fr)); gap: 1rem; margin-bottom: 1.4rem; }
.library-toolbar > div { display: grid; gap: .45rem; min-width: 0; }
.library-toolbar label { font-family: var(--caps); text-transform: uppercase; letter-spacing: .14em; font-size: .7rem; color: var(--slate); }
.library-toolbar input, .library-toolbar select { font: inherit; font-size: .95rem; color: var(--midnight); background: var(--shine); border: 1.5px solid var(--midnight); border-radius: 999px; padding: .6rem 1rem; width: 100%; min-width: 0; }
.library-toolbar input:disabled, .library-toolbar select:disabled { opacity: .5; }
.library-status { color: var(--slate); margin-bottom: 1.2rem; }
.library-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 18rem), 1fr)); gap: 1.25rem; }
.library-card { display: grid; grid-template-rows: auto 1fr; background: var(--sand); border-radius: 4px; overflow: hidden; transition: transform .6s var(--ease), box-shadow .6s var(--ease); min-width: 0; }
.library-card:hover, .library-card:focus-within { transform: translateY(-6px); box-shadow: 0 24px 48px -18px rgba(29, 29, 38, .35); }
.resource-cover { position: relative; aspect-ratio: 16 / 7; max-width: 100%; display: flex; align-items: flex-end; justify-content: space-between; padding: 1rem 1.2rem; background: var(--peach); }
.cover-pdf { background: var(--coral); } .cover-document { background: var(--peach); } .cover-spreadsheet { background: var(--taupe); }
.cover-presentation { background: var(--midnight); } .cover-image, .cover-video, .cover-audio { background: var(--sand); }
.resource-cover-label { font-family: var(--caps); text-transform: uppercase; letter-spacing: .14em; font-size: .7rem; background: var(--midnight); color: var(--shine); padding: .3rem .6rem; border-radius: 999px; }
.cover-presentation .resource-cover-label { background: var(--shine); color: var(--midnight); }
.resource-cover-mark { font-size: 1.4rem; color: var(--midnight); }
.cover-presentation .resource-cover-mark { color: var(--shine); }
.resource-card-body { padding: 1.3rem 1.3rem 1.5rem; display: grid; gap: .6rem; align-content: start; }
.resource-card-body h3 { font-size: 1.3rem; letter-spacing: -.02em; line-height: 1.2; }
.resource-title-link { text-decoration: none; }
.resource-title-link::after { content: ""; position: absolute; inset: 0; }
.library-card { position: relative; }
.resource-description { color: var(--slate); font-size: .95rem; }
.resource-card-meta { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem; font-size: .82rem; color: var(--slate); margin-top: .4rem; }

@media (max-width: 960px) {
  .ind-layout { grid-template-columns: minmax(0, 1fr); }
  .ind-side { position: static; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; }
  .ind-side .mini-map { grid-row: span 4; }
  .ind-suggest { grid-template-columns: minmax(0, 1fr); }
  .library-toolbar { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .library-search { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .ind-side { grid-template-columns: minmax(0, 1fr); }
  .ind-side .mini-map { grid-row: auto; max-width: 10rem; }
  .listings li { grid-template-columns: minmax(0, 1fr); grid-template-areas: "type" "name" "where" "desc" "tag"; }
  .ind-stats div + div { padding-left: 1.2rem; }
  .ind-stats div { padding-right: 1.2rem; }
  .ind-pager { grid-template-columns: minmax(0, 1fr); }
  .pg.next { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); text-align: left; }
  .library-toolbar { grid-template-columns: minmax(0, 1fr); }
}
