/* ==========================================================================
   Wildsforge homepage styles. Load after /assets/site.css (uses its tokens).

   Sections: 1 tokens · 2 header nav · 3 hero and finder · 4 quick links ·
   5 section heads · 6 skill tiles · 7 map/finder features and calculators ·
   8 updates · 9 start trail · 10 FAQ · 11 reveal motion · 12 tablet · 13 phone
   ========================================================================== */

/* ==========================================================================
   1. Homepage tokens (on top of site.css)
   ========================================================================== */
:root {
  --display: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --gold: #b9811b;
  --hero-ink: 14 18 10;          /* rgb() channels for the hero's dark wash */
  --art-sea: #cfdcd3;
  --art-wave: #b3c7bb;
  --art-land: #efe6cf;
  --art-edge: #c9b98f;
  --art-forest: #b7cf9c;
  --art-hill: #a99a74;
  --art-tree: #8fb072;
  --art-river: #9fbfc4;
  --shadow-lift: 0 14px 34px rgb(0 0 0 / 0.12);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --gold: #e3b54f;
    --art-sea: #18221f; --art-wave: #24332f; --art-land: #343a28; --art-edge: #5c5d40;
    --art-forest: #3b5230; --art-tree: #557a44; --art-hill: #6c654a; --art-river: #34575b;
    --shadow-lift: 0 14px 34px rgb(0 0 0 / 0.4);
  }
}
:root[data-theme="dark"] {
  --gold: #e3b54f;
  --art-sea: #18221f; --art-wave: #24332f; --art-land: #343a28; --art-edge: #5c5d40;
  --art-forest: #3b5230; --art-tree: #557a44; --art-hill: #6c654a; --art-river: #34575b;
  --shadow-lift: 0 14px 34px rgb(0 0 0 / 0.4);
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

/* ==========================================================================
   2. Header: brand on the left, section links on the right (hidden on phones)
   ========================================================================== */
.home-header { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.home-nav { display: flex; gap: 2px; }
.home-nav a {
  padding: 8px 14px;
  border-radius: 999px;
  color: var(--text);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
}
.home-nav a:hover { background: var(--logo-bg); color: var(--accent); }

/* ==========================================================================
   3. Hero: crossfading gameplay scenes, title, lead and the guide finder
   ========================================================================== */
.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: clamp(460px, 66vh, 610px);
  margin-top: 8px;
  padding: 48px 48px 112px;
  border-radius: 22px;
  background: #1d2418;
  box-shadow: 0 22px 60px rgb(0 0 0 / 0.2);
  color: #fff;
}

/* Slides sit behind everything and are clipped to the rounded frame */
.hero__slides { position: absolute; inset: 0; z-index: -3; margin: 0; overflow: hidden; border-radius: inherit; }
.hero__slide { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity 1.6s ease; }
.hero__slide.is-active { z-index: 1; opacity: 1; }
.hero__slide:not(.is-active) { pointer-events: none; }
.hero__slide picture { display: contents; }
.hero__slide img { display: block; width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); }
.hero__slide.is-active img { animation: hero-drift 18s ease-out both; }

/* Dark wash: strongest behind the text on the left, fading out to the right and top */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  border-radius: inherit;
  pointer-events: none; /* let clicks reach the scene caption link underneath */
  background:
    linear-gradient(90deg, rgb(var(--hero-ink) / 0.9) 0%, rgb(var(--hero-ink) / 0.68) 38%, rgb(var(--hero-ink) / 0.18) 72%, rgb(var(--hero-ink) / 0.05) 100%),
    linear-gradient(0deg, rgb(var(--hero-ink) / 0.75) 0%, transparent 42%);
}
.hero > .sparkles { inset: 30% 45% 18% 2%; z-index: -1; }

.hero__content { position: relative; max-width: 610px; }
.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px;
  padding: 5px 13px;
  border: 1px solid rgb(255 255 255 / 0.2);
  border-radius: 999px;
  background: rgb(255 255 255 / 0.1);
  backdrop-filter: blur(6px);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.hero__eyebrow::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--spark);
  box-shadow: 0 0 8px 2px var(--spark);
}
.hero h1 {
  font-family: var(--display);
  font-size: clamp(36px, 5.4vw, 60px);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.01em;
  text-shadow: 0 2px 20px rgb(0 0 0 / 0.35);
  text-wrap: balance;
}
.hero__kicker {
  display: block;
  margin-bottom: 12px;
  color: #f3d27a;
  font: 700 clamp(13px, 1.4vw, 15px)/1.2 system-ui, -apple-system, "Segoe UI", sans-serif;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.hero__lead { max-width: 52ch; margin: 18px 0 0; color: rgb(255 255 255 / 0.88); font-size: 18px; line-height: 1.55; }
.hero__start { display: inline-flex; gap: 6px; margin-top: 18px; color: #f3d27a; font-weight: 600; text-decoration: none; }
.hero__start:hover { text-decoration: underline; }

/* Scene caption and picture dots, bottom right */
.hero__caption {
  position: absolute;
  right: 26px;
  bottom: 84px;
  max-width: 46%;
  margin: 0;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgb(var(--hero-ink) / 0.55);
  backdrop-filter: blur(6px);
  color: rgb(255 255 255 / 0.9);
  font-size: 12.5px;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.6s 0.4s, transform 0.6s 0.4s;
}
.hero__slide.is-active .hero__caption { opacity: 1; transform: none; }
.hero__caption a { color: #f3d27a; font-weight: 600; }
.hero__dots { position: absolute; right: 30px; top: 26px; display: flex; gap: 7px; }
.hero__dot {
  width: 10px; height: 10px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgb(255 255 255 / 0.45);
  cursor: pointer;
  transition: width 0.3s, background 0.3s;
}
.hero__dot[aria-current="true"] { width: 26px; background: #fff; }

/* The finder: search every guide and tool by name or keyword (built by home.js) */
.finder { position: relative; z-index: 5; max-width: 540px; margin-top: 26px; }
.finder__box {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 56px;
  padding: 0 8px 0 16px;
  border: 1px solid rgb(255 255 255 / 0.25);
  border-radius: 16px;
  background: var(--surface);
  color: var(--text);
  box-shadow: 0 10px 30px rgb(0 0 0 / 0.28);
}
.finder__box:focus-within { outline: 3px solid var(--spark); outline-offset: 2px; }
.finder__icon { flex: none; width: 20px; height: 20px; color: var(--muted); }
.finder__input {
  flex: 1;
  min-width: 0;
  height: 100%;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  font-size: 16px;
  outline: none;
}
.finder__input::placeholder { color: var(--muted); }
.finder__input::-webkit-search-cancel-button { cursor: pointer; }
.finder__go {
  flex: none;
  height: 40px;
  padding: 0 16px;
  border: 0;
  border-radius: 11px;
  background: var(--accent);
  color: var(--accent-text);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}
.finder__go:hover { filter: brightness(1.08); }
.finder__results {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  max-height: min(60vh, 380px);
  margin: 0;
  padding: 6px;
  overflow-y: auto;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--surface);
  box-shadow: 0 22px 50px rgb(0 0 0 / 0.3);
  color: var(--text);
  list-style: none;
}
.finder__results a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 10px;
  color: inherit;
  text-decoration: none;
}
.finder__results a:hover,
.finder__results a:focus-visible,
.finder__results a.is-current { background: var(--logo-bg); outline: none; }
.finder__results a:focus-visible { box-shadow: inset 0 0 0 2px var(--focus); }
.finder__name { font-weight: 600; }
.finder__type {
  flex: none;
  padding: 1px 8px;
  border-radius: 999px;
  background: var(--surface-2);
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
}
.finder__empty { padding: 10px 12px; color: var(--muted); }

/* ==========================================================================
   4. Quick links: four tiles that overlap the bottom of the hero
   ========================================================================== */
.quick {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: -62px 28px 0;
  padding: 0;
  list-style: none;
}
.quick a {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 100%;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--surface);
  box-shadow: var(--shadow-lift);
  color: var(--text);
  text-decoration: none;
  transition: transform 0.18s, border-color 0.18s;
}
.quick a:hover { transform: translateY(-3px); border-color: var(--accent); }
.quick__icon {
  flex: none;
  width: 44px; height: 44px;
  padding: 10px;
  border-radius: 13px;
  background: var(--logo-bg);
  color: var(--accent);
}
.quick strong { display: block; font-size: 15.5px; line-height: 1.3; }
.quick small { display: block; color: var(--muted); font-size: 13px; line-height: 1.35; }

/* ==========================================================================
   5. Section heads (eyebrow, serif title, intro, "see all" link)
   ========================================================================== */
.home .section { margin-top: 76px; }
.section__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px 24px; margin-bottom: 22px; }
.section__head .section__intro { margin-bottom: 0; }
.section__eyebrow { margin: 0 0 6px; color: var(--accent); font-size: 12.5px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; }
.home .section__title { font-family: var(--display); font-size: clamp(27px, 3.3vw, 36px); letter-spacing: -0.005em; }
.home .section__intro { font-size: 16px; }
.section__more { flex: none; padding: 8px 0; font-weight: 600; text-decoration: none; white-space: nowrap; }
.section__more:hover { text-decoration: underline; }

/* ==========================================================================
   6. Skill tiles, grouped Gather / Make / Fight and explore
   ========================================================================== */
.skill-group + .skill-group { margin-top: 30px; }
.skill-group__title {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.skill-group__title::after { content: ""; flex: 1; height: 1px; background: var(--border); }

.skills { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.skill { position: relative; }

/* The whole tile opens the guide; the chips below are separate links laid over its foot */
.skill__link {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding-bottom: 50px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--surface);
  color: inherit;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.skill__link:hover { transform: translateY(-4px); border-color: var(--accent); box-shadow: var(--shadow-lift); }
.skill__media { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--surface-2); }
.skill__media picture { display: contents; }
.skill__media img { display: block; width: 100%; height: 100%; object-fit: cover; filter: saturate(0.92); transition: transform 0.6s; }
.skill__link:hover .skill__media img { transform: scale(1.06); }
.skill__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgb(0 0 0 / 0.22), transparent 45%); }

.skill__body { position: relative; display: flex; flex-direction: column; gap: 4px; padding: 30px 16px 0; }
/* Hexagon badge, the same shape as the logo, half over the photo */
.skill__icon {
  position: absolute;
  left: 14px;
  top: -25px;
  display: grid;
  place-items: center;
  width: 46px; height: 50px;
  background: var(--accent);
  color: var(--accent-text);
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
  filter: drop-shadow(0 4px 8px rgb(0 0 0 / 0.25));
}
.skill__icon svg { width: 22px; height: 22px; }
.skill__name { margin: 0; font-family: var(--display); font-size: 20px; }
.skill__text { color: var(--muted); font-size: 14px; line-height: 1.5; }
.skill__links { position: absolute; left: 16px; right: 16px; bottom: 14px; z-index: 1; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; }
.skill__chip {
  padding: 4px 11px;
  border-radius: 999px;
  background: var(--logo-bg);
  color: var(--accent);
  font-size: 12.5px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
}
.skill__chip:hover { background: var(--accent); color: var(--accent-text); }

/* ==========================================================================
   7. Map and base finder features, then the calculator grid
   ========================================================================== */
.features { display: grid; grid-template-columns: 1.25fr 1fr; gap: 16px; }
.feature {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: var(--surface);
  color: inherit;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.feature:hover { transform: translateY(-4px); border-color: var(--accent); box-shadow: var(--shadow-lift); }
.feature__art { display: block; height: 230px; background: var(--art-sea); }
.feature__art svg { display: block; width: 100%; height: 100%; }
.feature__body { display: flex; flex-direction: column; gap: 6px; padding: 18px 20px 20px; }
.feature__kicker { color: var(--accent); font-size: 12.5px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; }
.feature__title { font-family: var(--display); font-size: 23px; line-height: 1.2; }
.feature__text { color: var(--muted); }
.feature__cta { margin-top: 6px; color: var(--accent); font-weight: 600; }

/* Hand-drawn style map art (inline SVG, coloured by the tokens above) */
.art__sea { fill: var(--art-sea); }
.art__wave { fill: none; stroke: var(--art-wave); stroke-width: 2; stroke-linecap: round; }
.art__land { fill: var(--art-land); stroke: var(--art-edge); stroke-width: 2.5; }
.art__forest { fill: var(--art-forest); }
.art__hill { fill: var(--art-hill); }
.art__snow { fill: var(--surface); opacity: 0.85; }
.art__tree { fill: var(--art-tree); }
.art__lake { fill: var(--art-river); }
.art__river { fill: none; stroke: var(--art-river); stroke-width: 4; stroke-linecap: round; }
.art__compass { fill: none; stroke: var(--art-edge); stroke-width: 1.5; }
.art__compass path { fill: var(--art-hill); stroke: none; }
.art__grid { stroke: var(--art-edge); stroke-width: 1; opacity: 0.45; }
/* Map pins: one colour per kind of marker, like the layers on the real map */
.art__pin-shape { fill: var(--pin, var(--accent)); stroke: #fff; stroke-width: 2; }
.art__glyph { fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; }
.art__glyph-fill { fill: #fff; }
.art__pin--tree { --pin: #4f8f45; }
.art__pin--ore { --pin: #7d7262; }
.art__pin--fish { --pin: #3f7fa0; }
.art__pin--lodestone { --pin: #7a5cc0; }
.art__pin--boss { --pin: #b8483b; }
.art__pin--best { --pin: var(--gold); }
.art__pin { filter: drop-shadow(0 2px 2px rgb(0 0 0 / 0.25)); }

.calc-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 34px 0 14px; }
.calc-head h3 { font-family: var(--display); font-size: 22px; }
.calcs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 0; padding: 0; list-style: none; }
.calc {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--surface);
  color: inherit;
  text-decoration: none;
  transition: border-color 0.15s, background 0.15s;
}
.calc:hover { border-color: var(--accent); background: var(--logo-bg); }
.calc__icon { flex: none; width: 40px; height: 40px; padding: 8px; border-radius: 12px; background: var(--logo-bg); color: var(--accent); }
.calc:hover .calc__icon { background: var(--surface); }
.calc strong { display: block; font-size: 15px; line-height: 1.3; }
.calc small { display: block; color: var(--muted); font-size: 13px; line-height: 1.35; }

/* ==========================================================================
   8. Latest updates: two wide cards (markup kept for scripts/new-update.js)
   ========================================================================== */
#updates .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
#updates .card {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr);
  grid-template-rows: auto auto 1fr auto;
  align-content: start;
  column-gap: 18px;
  padding: 18px 18px 18px 0;
  border-radius: 16px;
}
#updates .card__media { grid-row: 1 / -1; height: calc(100% + 36px); margin: -18px 0; aspect-ratio: auto; }
#updates .card__title { font-family: var(--display); font-size: 21px; }
#updates .card__badge { justify-self: start; }
.updates__next {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
  margin: 14px 0 0;
  padding: 12px 16px;
  border: 1px dashed var(--border);
  border-radius: 14px;
  color: var(--muted);
}
.updates__next strong { color: var(--text); }

/* ==========================================================================
   9. New players: photo and intro beside a trail of six steps
   ========================================================================== */
.start { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: 40px; align-items: start; }
.start__intro { position: sticky; top: 24px; }
.start__intro .section__intro { margin-bottom: 20px; }
.start__photo { aspect-ratio: 16 / 10; margin-bottom: 20px; transform: rotate(-0.8deg); }
.start__photo .sparkles { inset: 40% 6% 8% 6%; z-index: 1; }

.trail { position: relative; margin: 0; padding: 0; list-style: none; counter-reset: step; }
.trail__step { position: relative; padding: 0 0 26px 74px; counter-increment: step; }
.trail__step:last-child { padding-bottom: 0; }
/* Dotted path joining the steps */
.trail__step::before {
  content: "";
  position: absolute;
  left: 27px;
  top: 58px;
  bottom: 4px;
  border-left: 2px dashed var(--border);
}
.trail__step:last-child::before { display: none; }
.trail__icon {
  position: absolute;
  left: 0;
  top: 0;
  width: 56px; height: 56px;
  padding: 14px;
  border: 2px solid var(--border);
  border-radius: 50%;
  background: var(--surface);
  color: var(--accent);
}
.trail__step::after {
  content: counter(step);
  position: absolute;
  left: 38px;
  top: -4px;
  display: grid;
  place-items: center;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--accent-text);
  font-size: 12px;
  font-weight: 700;
}
.trail h3 { padding-top: 4px; font-family: var(--display); font-size: 19px; }
.trail p { margin: 4px 0 0; color: var(--muted); }

/* ==========================================================================
   10. FAQ: sticky heading beside expandable questions
   ========================================================================== */
.faq-wrap { display: grid; grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr); gap: 40px; align-items: start; }
.faq-wrap .section__head { position: sticky; top: 24px; display: block; }
.faq-list { border-top: 1px solid var(--border); }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 4px;
  cursor: pointer;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary h3 { font-size: 16.5px; font-weight: 600; }
.faq-item summary::after {
  content: "";
  flex: none;
  width: 10px; height: 10px;
  margin-right: 6px;
  border-right: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(45deg) translate(-2px, -2px);
  transition: transform 0.2s;
}
.faq-item[open] summary::after { transform: rotate(-135deg) translate(-2px, -2px); }
.faq-item summary:hover h3 { color: var(--accent); }
.faq-item p { margin: -4px 4px 18px; color: var(--muted); }

/* "Website by" credit: same muted footer text, underlined only on hover or keyboard focus */
.page-footer__credit a { text-decoration: none; }
.page-footer__credit a:hover,
.page-footer__credit a:focus-visible { text-decoration: underline; }

/* ==========================================================================
   11. Motion: slow drift on the hero scene, gentle reveal as blocks scroll in
   ========================================================================== */
@keyframes hero-drift { from { transform: scale(1.12); } to { transform: scale(1.03); } }

/* Only hidden once home.js has started, so the page never stays blank without it */
.reveal-ready .reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1); }
.reveal-ready .reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .hero__slide { transition: none; }
  .reveal-ready .reveal { opacity: 1; transform: none; }
}

/* ==========================================================================
   12. Tablet
   ========================================================================== */
@media (max-width: 980px) {
  .skills { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .quick { grid-template-columns: repeat(2, minmax(0, 1fr)); margin: -56px 20px 0; }
  .hero { padding-bottom: 168px; }
  .hero__caption { bottom: 140px; }
  .calcs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  #updates .cards { grid-template-columns: 1fr; }
  .start, .faq-wrap { grid-template-columns: 1fr; gap: 24px; }
  .start__intro, .faq-wrap .section__head { position: static; }
  .start__photo { max-width: 560px; }
}

@media (max-width: 820px) {
  .home-nav { display: none; }
  .features { grid-template-columns: 1fr; }
}

/* ==========================================================================
   13. Phone: a taller scene with the text at the bottom, a 2×2 shortcut grid
       and skills as a compact list rather than big picture tiles
   ========================================================================== */
@media (max-width: 640px) {
  .home .section { margin-top: 52px; }

  .hero {
    justify-content: flex-end;
    min-height: 560px;
    margin: 4px -4px 0;
    padding: 24px 20px 26px;
    border-radius: 18px;
  }
  .hero::before {
    background: linear-gradient(0deg, rgb(var(--hero-ink) / 0.94) 0%, rgb(var(--hero-ink) / 0.78) 48%, rgb(var(--hero-ink) / 0.15) 78%, rgb(var(--hero-ink) / 0.05) 100%);
  }
  .hero > .sparkles { inset: 20% 10% 45% 10%; }
  .hero h1 { font-size: clamp(31px, 9vw, 38px); }
  .hero__eyebrow { margin-bottom: 14px; font-size: 12px; }
  .hero__lead { font-size: 16px; }
  .hero__caption { display: none; }
  .hero__dots { top: 18px; right: 18px; }
  .finder { margin-top: 20px; }
  .finder__box { height: 54px; padding-left: 14px; }
  .finder__go { display: none; }

  .quick { gap: 10px; margin: 12px 0 0; }
  .quick a { flex-direction: column; align-items: flex-start; gap: 10px; padding: 14px; box-shadow: none; }
  .quick__icon { width: 40px; height: 40px; padding: 9px; }

  .section__head { display: block; }
  .section__more { display: inline-block; margin-top: 6px; }

  .skill-group + .skill-group { margin-top: 24px; }
  .skills { grid-template-columns: 1fr; gap: 10px; }
  .skill__link { display: grid; grid-template-columns: 104px minmax(0, 1fr); padding-bottom: 0; border-radius: 14px; }
  .skill__link:hover { transform: none; }
  .skill__media { aspect-ratio: auto; height: 100%; min-height: 108px; }
  .skill__media::after { display: none; }
  .skill__body { gap: 2px; padding: 12px 14px 46px; }
  .skill__icon { display: none; }
  .skill__name { font-size: 18px; }
  .skill__text { font-size: 13.5px; line-height: 1.45; }
  .skill__links { left: 118px; right: 12px; bottom: 12px; }

  .feature__body { padding: 16px; }
  .feature__title { font-size: 20px; }
  .calcs { grid-template-columns: 1fr; gap: 8px; }

  #updates .card { grid-template-columns: 1fr; padding: 16px; }
  #updates .card__media { grid-row: auto; height: auto; margin: -16px -16px 6px; aspect-ratio: 16 / 8; }

  .trail__step { padding-left: 64px; }
  .trail__icon { width: 48px; height: 48px; padding: 11px; }
  .trail__step::before { left: 23px; top: 50px; }
  .trail__step::after { left: 32px; }
  .start__photo { transform: none; }
}
