/* ==========================================================================
   Homepage
   ========================================================================== */

/* --- Hero ------------------------------------------------------------------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  padding: clamp(32px, 4.5vw, 64px) 0 clamp(56px, 6vw, 88px);
  background: var(--white);
}
.hero-fin {
  /* slate dorsal wedge behind the planner, orange leading edge, faint wake lines */
  position: absolute; z-index: -1; top: 0; bottom: 0; right: 0; width: 46%;
  background:
    repeating-linear-gradient(115deg, rgba(255,255,255,.035) 0 2px, transparent 2px 26px),
    var(--slate-900);
  background-size: 573.76px 615.2px, auto;
  clip-path: polygon(30% 0, 100% 0, 100% 100%, 0 100%);
}
.hero-fin::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(60% 50% at 70% 30%, rgba(246,92,2,.18), transparent 70%);
}
.hero::after {
  content: ""; position: absolute; z-index: -1; top: 0; bottom: 0; right: 0;
  width: calc(46% + 14px); background: var(--orange);
  clip-path: polygon(calc((100% - 14px) * .30) 0, calc((100% - 14px) * .30 + 14px) 0, 14px 100%, 0 100%);
}
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero-copy { max-width: 640px; }
.hero-title {
  margin-top: 22px;
  font-size: clamp(2.3rem, 1.15rem + 2.9vw, 3.75rem);
  font-weight: 850; font-stretch: 116%; line-height: 1.03; letter-spacing: -0.02em;
}
/* word-by-word rise on load (the page's one orchestrated moment) */
.hero-title .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .06em; margin-bottom: -.06em; }
.hero-title .w > span { display: inline-block; }
.js .hero-title .w > span { transform: translateY(105%); animation: word-rise .8s var(--ease-out) forwards; animation-delay: calc(120ms + var(--i) * 55ms); }
@keyframes word-rise { to { transform: none; } }
.hero-lead { margin-top: 24px; font-size: var(--fs-lead); color: var(--slate-700); max-width: 54ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 30px; font-size: .95rem; font-weight: 600; color: var(--slate-800); }
.hero-facts li { display: inline-flex; align-items: center; gap: 8px; }
.hero-facts i { width: 22px; height: 22px; border-radius: 50%; display: inline-grid; place-items: center; background: var(--orange-soft); color: var(--ember); font-size: .7rem; }

/* --- Load planner ------------------------------------------------------------ */
.hero-planner { position: relative; }
.planner {
  position: relative; background: var(--white); border-radius: var(--r-lg);
  padding: clamp(20px, 2.4vw, 30px); box-shadow: var(--shadow-float);
  border: 1px solid rgba(255,255,255,.6);
}
.planner-title { font-size: 1.6rem; font-stretch: 116%; }
.planner-sub { margin-top: 6px; color: var(--text-muted); font-size: .96rem; }
.planner-stage {
  margin: 16px -6px 6px; padding: 14px 10px 4px; border-radius: var(--r-md);
  background:
    linear-gradient(to top, var(--slate-100) 0 14px, transparent 14px),
    linear-gradient(180deg, #F7F9FB, #EEF2F6);
  overflow: hidden;
}
.truck { width: 100%; max-width: 380px; height: auto; margin: 0 auto; overflow: visible; }
.truck-load { transform: translateY(calc((1 - var(--fill, 0)) * 132px)); transition: transform .7s var(--ease-out); }
.truck-body { transform-box: view-box; transition: transform .25s; }
.planner.is-bumped .truck-body { animation: truck-bump .45s var(--ease-out); }
@keyframes truck-bump { 30% { transform: translateY(4px); } 60% { transform: translateY(-2px); } }
.js .planner-stage .truck { animation: truck-in 1.1s var(--ease-out) .35s both; }
@keyframes truck-in { from { transform: translateX(-36%); opacity: 0; } to { transform: none; opacity: 1; } }
.wheel { transform-box: fill-box; transform-origin: center; }
.js .planner-stage .wheel { animation: wheel-spin 1.1s var(--ease-out) .35s both; }
@keyframes wheel-spin { from { transform: rotate(-540deg); } to { transform: none; } }

.planner-meter { display: flex; flex-direction: column; gap: 8px; margin-top: 8px; }
.meter-bar { position: relative; height: 10px; border-radius: 999px; background: var(--slate-100); overflow: hidden; }
.meter-bar::after { /* quarter marks */
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, transparent calc(25% - 1px), #fff calc(25% - 1px) 25%, transparent 25% calc(50% - 1px), #fff calc(50% - 1px) 50%, transparent 50% calc(75% - 1px), #fff calc(75% - 1px) 75%, transparent 75%);
}
.meter-fill { position: absolute; inset: 0 auto 0 0; width: calc(var(--fill, 0) * 100%); background: var(--orange); border-radius: 999px; transition: width .7s var(--ease-out); }
.planner-readout-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 32px; }
.planner-readout { font-size: .98rem; color: var(--slate-700); }
.planner-reset { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 999px; font-size: .82rem; font-weight: 700; color: var(--slate-700); border: 1.5px solid var(--slate-200); white-space: nowrap; }
.planner-reset:hover { border-color: var(--slate-900); color: var(--slate-900); }
.planner-readout strong { font-stretch: 112%; font-weight: 800; color: var(--slate-900); }
.planner-items { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 16px; }
.planner-item {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 8px;
  min-width: 0; padding: 7px 7px 7px 9px; border: 1.5px solid var(--slate-200); border-radius: var(--r-sm);
  transition: border-color .2s, background-color .2s;
}
.planner-item.has-qty { border-color: var(--orange); background: #FFF6F0; }
.pi-icon { width: 28px; height: 28px; border-radius: 7px; display: grid; place-items: center; background: var(--slate-100); color: var(--slate-800); font-size: .85rem; }
.planner-item.has-qty .pi-icon { background: var(--orange); color: var(--slate-950); }
.pi-name { min-width: 0; font-size: .88rem; font-weight: 650; line-height: 1.2; hyphens: manual; }
.pi-stepper { display: inline-flex; align-items: center; gap: 2px; }
.pi-btn {
  width: 26px; height: 28px; border-radius: 7px; display: grid; place-items: center;
  font-size: .72rem; color: var(--slate-900); background: var(--slate-100);
  transition: background-color .15s, transform .15s;
}
.pi-btn:hover:not(:disabled) { background: var(--orange); }
.pi-btn:active:not(:disabled) { transform: scale(.92); }
.pi-btn:disabled { opacity: .35; cursor: default; }
.pi-qty { min-width: 18px; text-align: center; font-weight: 800; font-variant-numeric: tabular-nums; }
.planner-cta { margin-top: 16px; }
.planner-note { margin-top: 10px; font-size: .82rem; color: var(--text-muted); text-align: center; }

/* --- Haul band (moving type) ------------------------------------------------- */
.haul-band { background: var(--orange); color: var(--slate-950); overflow: hidden; border-block: 3px solid var(--slate-950); }
.haul-marquee { display: flex; padding: 18px 0; }
.haul-track { display: flex; align-items: center; flex-shrink: 0; gap: 0; animation: haul 48s linear infinite; }
.haul-band:hover .haul-track { animation-play-state: paused; }
.haul-word {
  font-weight: 900; font-stretch: 125%; font-size: clamp(1.9rem, 1.2rem + 2.6vw, 3.6rem);
  line-height: 1; letter-spacing: -0.02em; white-space: nowrap; padding: 0 .35em;
}
.haul-outline { color: transparent; -webkit-text-stroke: 2px var(--slate-950); }
.haul-fin { width: .9em; height: .9em; font-size: clamp(1.4rem, 1rem + 1.6vw, 2.4rem); flex-shrink: 0; background: var(--slate-950); clip-path: polygon(0 100%, 62% 0, 100% 100%); }
@keyframes haul { to { transform: translateX(-50%); } }

/* --- Services manifest ------------------------------------------------------- */
.manifest-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(36px, 6vw, 96px); align-items: start; }
.manifest-intro { position: sticky; top: 120px; }
.manifest-check { margin-left: 22px; }
.manifest-check i { color: var(--slate-700); }
.manifest-intro p { margin: 20px 0 28px; font-size: var(--fs-lead); color: var(--text-muted); max-width: 44ch; }
.manifest-list { border-top: 2px solid var(--slate-900); }
.manifest-row {
  position: relative; display: grid; grid-template-columns: auto 1fr auto; gap: 22px; align-items: center;
  padding: 24px 6px; border-bottom: 1px solid var(--line); color: var(--slate-900); text-decoration: none;
  isolation: isolate;
}
.manifest-row::before {
  /* hover: an orange fin sweeps in from the left */
  content: ""; position: absolute; z-index: -1; inset: 0; background: var(--mist);
  clip-path: polygon(0 0, 0 0, 0 100%, 0 100%);
  transition: clip-path .45s var(--ease-out);
}
.manifest-row:hover::before, .manifest-row:focus-visible::before { clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%); }
.manifest-icon {
  width: 56px; height: 56px; border-radius: 12px; display: grid; place-items: center;
  background: var(--slate-900); color: var(--orange); font-size: 1.3rem;
  transition: background-color .25s, color .25s, transform .35s var(--ease-out);
}
.manifest-row:hover .manifest-icon { background: var(--orange); color: var(--slate-950); transform: rotate(-6deg); }
.manifest-title { font-size: 1.28rem; font-stretch: 112%; }
.manifest-text { display: block; margin-top: 6px; color: var(--text-muted); max-width: 56ch; }
.manifest-go { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; border: 2px solid var(--slate-200); color: var(--slate-900); transition: all .3s var(--ease-out); }
.manifest-row:hover .manifest-go { border-color: var(--slate-900); background: var(--slate-900); color: var(--white); transform: translateX(4px); }

/* --- Who we work with (tabs) ------------------------------------------------ */
.aud { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 2fr); gap: clamp(20px, 3vw, 40px); align-items: stretch; }
.aud-tabs { position: relative; display: flex; flex-direction: column; gap: 8px; }
.aud-tab {
  position: relative; display: flex; align-items: center; gap: 14px; width: 100%; padding: 16px 18px;
  border-radius: var(--r-md); text-align: left; font-weight: 750; font-stretch: 108%; font-size: 1.05rem;
  color: var(--slate-800); background: transparent; border: 1.5px solid transparent;
  transition: background-color .25s, border-color .25s, color .25s;
}
.aud-tab:hover { background: var(--white); }
.aud-tab[aria-selected="true"] { background: var(--white); border-color: var(--slate-900); color: var(--slate-950); box-shadow: var(--shadow-card); }
.aud-tab[aria-selected="true"]::after {
  content: ""; position: absolute; right: -10px; top: 50%; width: 18px; height: 18px; margin-top: -9px;
  background: var(--orange); clip-path: polygon(0 0, 100% 50%, 0 100%);
}
.aud-tab-icon { width: 40px; height: 40px; flex-shrink: 0; border-radius: 10px; display: grid; place-items: center; background: var(--slate-100); color: var(--slate-800); transition: background-color .25s, color .25s; }
.aud-tab[aria-selected="true"] .aud-tab-icon { background: var(--orange); color: var(--slate-950); }
.aud-panels { position: relative; }
.aud-panel {
  position: relative; overflow: hidden; height: 100%;
  display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, .6fr); gap: 24px; align-items: center;
  padding: clamp(28px, 4vw, 48px); border-radius: var(--r-lg); background: var(--slate-900); color: var(--slate-300);
}
.js .aud-panel[data-inactive] { display: none; }
.js .aud-panel.is-entering { animation: panel-in .45s var(--ease-out); }
@keyframes panel-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.aud-panel h3 { color: var(--white); font-size: clamp(1.4rem, 1.1rem + 1vw, 2rem); }
.aud-panel p { margin-top: 14px; font-size: 1.05rem; max-width: 52ch; }
.aud-list { display: grid; gap: 10px; margin: 22px 0 28px; }
.aud-list li { display: flex; align-items: center; gap: 10px; color: var(--white); font-weight: 650; }
.aud-list i { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: var(--orange); color: var(--slate-950); font-size: .65rem; }
.aud-panel .btn-dark { --btn-bg: var(--white); --btn-fg: var(--slate-950); }
.aud-panel .btn-dark:hover { --btn-bg: var(--orange); }
.aud-panel-art { position: relative; align-self: stretch; min-height: 200px; }
.aud-panel-art::before {
  content: ""; position: absolute; inset: -60px -60px -60px 10%;
  background: repeating-linear-gradient(115deg, rgba(255,255,255,.05) 0 2px, transparent 2px 22px);
  clip-path: polygon(30% 0, 100% 0, 100% 100%, 0 100%);
}
.aud-art-icon {
  position: absolute; right: 8%; top: 50%; transform: translateY(-50%);
  width: clamp(110px, 12vw, 160px); height: clamp(110px, 12vw, 160px); border-radius: 28px; display: grid; place-items: center;
  background: var(--orange); color: var(--slate-950); font-size: clamp(2.6rem, 3.4vw, 3.8rem);
  box-shadow: 0 30px 60px -20px rgba(246,92,2,.55);
}
.process { border-top: 1px solid var(--line); }
@media (max-width: 960px) {
  .aud { grid-template-columns: minmax(0, 1fr); }
  .aud-tabs { flex-direction: row; overflow-x: auto; scrollbar-width: none; padding-bottom: 6px; }
  .aud-tab { flex: 0 0 auto; width: auto; }
  .aud-tab[aria-selected="true"]::after { display: none; }
  .aud-panel { grid-template-columns: minmax(0, 1fr); }
  .aud-panel-art { display: none; }
}
@media (max-width: 520px) { .aud-tab-icon { display: none; } .aud-tab { padding: 12px 14px; font-size: .98rem; } }

/* --- Process road ---------------------------------------------------------- */
.road { position: relative; }
.road-track {
  position: relative; height: 54px; margin: 0 0 26px;
  background:
    linear-gradient(90deg, var(--slate-300) 50%, transparent 0) 0 50% / 26px 3px repeat-x;
}
.road-track::before { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 6px; border-radius: 3px; background: var(--slate-200); }
.road-progress { position: absolute; left: 0; bottom: 0; height: 6px; border-radius: 3px; background: var(--orange); width: calc(var(--p, 0) * 100%); }
.road-truck { position: absolute; bottom: 4px; left: calc(var(--p, 0) * (100% - 84px)); width: 84px; }
.road-truck .minitruck { width: 84px; height: auto; }
.road-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 40px); }
.road-step {
  position: relative; padding: 28px 26px 30px; background: var(--white); border-radius: var(--r-md);
  border: 1px solid var(--line); transition: border-color .4s, box-shadow .4s, transform .4s var(--ease-out);
}
.road-step h3 { margin-top: 16px; font-size: 1.25rem; }
.road-step p { margin-top: 10px; color: var(--text-muted); }
.road-num {
  display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 50%;
  font-weight: 900; font-stretch: 120%; font-size: 1.2rem; background: var(--slate-100); color: var(--slate-900);
  transition: background-color .4s, color .4s;
}
.road-step.is-reached { border-color: var(--slate-900); box-shadow: var(--shadow-card); transform: translateY(-4px); }
.road-step.is-reached .road-num { background: var(--orange); color: var(--slate-950); }

/* --- Coverage ----------------------------------------------------------------- */
.coverage { --fin-h: 64px; overflow: hidden; }
.coverage-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(36px, 6vw, 80px); align-items: start; }
.coverage-map { padding-top: 8px; }
.coverage-lead { margin-top: 20px; font-size: var(--fs-lead); color: var(--slate-300); max-width: 48ch; }
.coverage-guides-title { margin-top: 34px; font-weight: 750; font-stretch: 110%; color: var(--white); }
.area-list { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.area-list a {
  display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px;
  border: 1.5px solid rgba(255,255,255,.28); color: var(--white); text-decoration: none; font-weight: 650;
  transition: background-color .2s, border-color .2s, color .2s;
}
.area-list a i { color: var(--orange); }
.area-list a:hover { background: var(--orange); border-color: var(--orange); color: var(--slate-950); }
.area-list a:hover i { color: var(--slate-950); }
.coverage-more { margin-top: 24px; color: var(--slate-300); font-size: .95rem; }
.coverage-map { margin: 0; }
.route-map { width: 100%; height: auto; border-radius: var(--r-lg); box-shadow: 0 30px 60px -30px rgba(0,0,0,.7); }
.coverage-map figcaption { margin-top: 10px; font-size: .85rem; color: var(--slate-300); text-align: right; }
.route-lines path { stroke-dasharray: 2 9; animation: route-flow 1.4s linear infinite; }
@keyframes route-flow { to { stroke-dashoffset: -22; } }
.route-base-pulse { transform-box: fill-box; transform-origin: center; animation: ping 2.4s var(--ease-out) infinite; }
.route-labels text { font-family: var(--font); font-size: 15px; font-weight: 750; font-stretch: 110%; fill: var(--slate-900); paint-order: stroke; stroke: #fff; stroke-width: 5px; stroke-linejoin: round; }
.route-labels .route-label-base { fill: var(--ember); font-size: 13px; }

/* --- About ---------------------------------------------------------------- */
.about-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(36px, 6vw, 90px); align-items: center; }
.about-photo { position: relative; margin: 0; }
.about-photo img {
  width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: var(--r-lg);
  background: var(--slate-100);
  clip-path: polygon(0 0, 100% 0, 100% 84%, 82% 100%, 0 100%);
}
.about-photo::after {
  content: ""; position: absolute; right: -14px; bottom: -14px; width: 34%; height: 34%;
  background: var(--orange); z-index: -1; clip-path: polygon(100% 0, 100% 100%, 0 100%);
}
.about-copy p { margin-top: 18px; font-size: 1.08rem; color: var(--slate-700); max-width: 56ch; }
.about-copy h2 { max-width: 16ch; }
.value-list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 20px; margin: 28px 0 32px; }
.value-list li { display: flex; align-items: center; gap: 10px; font-weight: 650; }
.value-list i { width: 36px; height: 36px; border-radius: 9px; display: grid; place-items: center; background: var(--slate-900); color: var(--orange); font-size: .9rem; flex-shrink: 0; }

/* --- FAQ + reviews --------------------------------------------------------- */
.faq-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(36px, 6vw, 90px); align-items: start; }
.faq-aside p { margin-top: 18px; color: var(--text-muted); font-size: 1.05rem; max-width: 40ch; }
.faq-phone { display: inline-block; margin-top: 12px; font-size: 1.5rem; font-weight: 850; font-stretch: 118%; color: var(--slate-900); text-decoration: none; border-bottom: 3px solid var(--orange); }
.faq-phone:hover { color: var(--ember); }
.reviews-card { margin-top: 40px; padding: 26px; border-radius: var(--r-md); background: var(--white); border: 1px solid var(--line); }
.reviews-title { font-size: 1.3rem; }
.reviews-card p { margin-top: 10px; font-size: .96rem; }
.reviews-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.faq-list { border-top: 2px solid var(--slate-900); }
.faq-item { border-bottom: 1px solid var(--slate-200); }
.faq-h { font-size: inherit; font-stretch: 100%; font-weight: inherit; letter-spacing: 0; }
.faq-question {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 24px 4px; text-align: left; font-size: 1.12rem; font-weight: 750; font-stretch: 108%; color: var(--slate-900);
}
.faq-question:hover { color: var(--ember); }
.faq-icon { position: relative; flex-shrink: 0; width: 34px; height: 34px; border-radius: 50%; background: var(--white); border: 2px solid var(--slate-200); transition: background-color .25s, border-color .25s, transform .35s var(--ease-out); }
.faq-icon::before, .faq-icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2.5px; background: var(--slate-900); transform: translate(-50%, -50%); border-radius: 2px; }
.faq-icon::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform .35s var(--ease-out); }
.faq-item.active .faq-icon { background: var(--orange); border-color: var(--orange); transform: rotate(180deg); }
.faq-item.active .faq-icon::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq-answer { overflow: hidden; max-height: 0; transition: max-height .4s var(--ease-out); }
.faq-answer p { padding: 0 60px 24px 4px; color: var(--slate-700); }
.no-js .faq-answer, html:not(.js) .faq-answer { max-height: none; }

/* --- Responsive ------------------------------------------------------------ */
@media (max-width: 1080px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-copy { max-width: 760px; }
  .hero-fin { top: auto; height: 62%; width: 100%; clip-path: polygon(0 18%, 100% 0, 100% 100%, 0 100%); }
  .hero::after { display: none; }
  .hero-planner { max-width: 620px; }
  .manifest-grid, .coverage-grid, .about-grid, .faq-grid { grid-template-columns: minmax(0, 1fr); }
  .manifest-intro { position: static; }
}
@media (max-width: 760px) {
  .road-steps { grid-template-columns: minmax(0, 1fr); }
  .road-track { display: none; }
  .road-step { border-left: 4px solid var(--orange); }
  .value-list { grid-template-columns: minmax(0, 1fr); }
  .manifest-row { grid-template-columns: auto 1fr; }
  .manifest-go { display: none; }
}
@media (max-width: 520px) {
  .planner-items { grid-template-columns: minmax(0, 1fr); }
  .hero-actions .btn { width: 100%; }
  .faq-answer p { padding-right: 4px; }
  .manifest-icon { width: 46px; height: 46px; font-size: 1.1rem; }
}
@media (prefers-reduced-motion: reduce) {
  .haul-track { animation: none; flex-wrap: wrap; }
  .haul-marquee { overflow: hidden; }
  .js .hero-title .w > span { transform: none; animation: none; }
}

/* map: water names */
.route-water text { font-family: var(--font); font-size: 12px; font-style: italic; font-weight: 500; letter-spacing: .04em; fill: #6F8597; }

@media (min-width: 901px) and (prefers-reduced-motion: no-preference) {
  .hero-fin { animation: wake 40s linear infinite; }
}

/* --- Guides and tools --------------------------------------------------------- */
.guides-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: clamp(32px, 4vw, 48px); }
.guides-head .section-head { margin-bottom: 0; }
.guides-head .text-link { flex-shrink: 0; margin-bottom: 6px; }
.guide-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; }
.guide-card a {
  position: relative; overflow: hidden; display: flex; flex-direction: column; height: 100%; min-height: 250px;
  padding: 24px 24px 80px; border-radius: var(--r-lg); background: var(--white); border: 1.5px solid var(--line);
  color: var(--slate-900); text-decoration: none; isolation: isolate;
  transition: border-color .25s, transform .35s var(--ease-out), box-shadow .35s var(--ease-out);
}
.guide-card a::before { /* fin that slides in on hover */
  content: ""; position: absolute; z-index: -1; right: -2px; bottom: -2px; width: 150px; height: 74px;
  background: var(--slate-900); clip-path: polygon(100% 0, 100% 100%, 0 100%);
  transform: translate(30%, 30%); opacity: 0; transition: transform .45s var(--ease-out), opacity .3s;
}
.guide-card a:hover { border-color: var(--slate-900); transform: translateY(-4px); box-shadow: var(--shadow-card); }
.guide-card a:hover::before { transform: none; opacity: 1; }
.gc-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.gc-kicker { font-size: .78rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--ember); }
.gc-icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--mist); color: var(--slate-800); transition: background-color .25s, color .25s; }
.guide-card a:hover .gc-icon { background: var(--orange); color: var(--slate-950); }
.gc-title { margin-top: 22px; font-weight: 850; font-stretch: 110%; font-size: 1.28rem; line-height: 1.2; }
.gc-text { margin-top: 10px; color: var(--slate-700); font-size: .96rem; line-height: 1.5; }
.gc-go { position: absolute; right: 18px; bottom: 16px; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; border: 1.5px solid var(--slate-300); color: var(--slate-900); transition: background-color .25s, color .25s, border-color .25s, transform .3s var(--ease-out); }
.guide-card a:hover .gc-go { background: var(--orange); border-color: var(--orange); color: var(--slate-950); transform: translateX(2px); }
@media (max-width: 700px) {
  .guides-head { flex-direction: column; align-items: flex-start; }
  .guide-card a { min-height: 0; }
}

/* very narrow phones (320–380 px): keep the longest headline words inside the screen */
@media (max-width: 380px) {
  .hero-title { font-size: 2rem; font-stretch: 106%; }
  .hero-actions .btn { width: 100%; white-space: normal; text-align: center; justify-content: center; }
}
