/* Homepage layout (owner, 2026-11-23, from a reference they sent): one strip of numbers under the hero, "Three ways in"
   cards, a text + picture row, a photo banner for the departments, the question finder, then the places to find us.
   Flat and quiet: thin borders, white primary buttons, no glows. Colours come from styles.css. Template copy 2026-11-25 (no Christmas). */

.page > section:not(.stats) { max-width: 62rem; margin-inline: auto; margin-top: 5.5rem; }

/* ---- Numbers: one box split into cells (1px gaps over the border colour draw the lines, whatever wraps). ---- */
.home-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(9.5rem, 1fr)); gap: 1px; max-width: 62rem; margin-inline: auto; overflow: hidden; border: 1px solid var(--border); border-radius: 1rem; background: var(--border); }
.home-stats .panel { padding: 1.15rem 1.35rem; border: 0; border-radius: 0; background: var(--surface); }
.home-stats strong { font-size: 1.65rem; }
.home-stats span { font-size: .8rem; }

/* ---- Buttons ---- */
.home-actions { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.5rem; }
.home-btn { display: inline-flex; align-items: center; gap: .5rem; height: 2.6rem; padding: 0 1.1rem; border: 1px solid var(--border); border-radius: .6rem; background: transparent; color: var(--foreground); font-size: .88rem; font-weight: 600; text-decoration: none; transition: border-color .15s, background-color .15s; }
.home-btn:hover { border-color: var(--muted); }
.home-btn.primary { border-color: var(--foreground); background: var(--foreground); color: var(--background); }
.home-btn.primary:hover { opacity: .9; }
.home-btn svg { width: 1.05rem; height: 1.05rem; fill: currentColor; }

/* ---- From Discord to your first shift: heading on the left, numbered rows on the right ---- */
.home-steps { display: grid; grid-template-columns: 1fr 1.5fr; align-items: start; gap: 3.5rem; }
.steps-head { position: sticky; top: 6rem; }
.steps-list { border-top: 1px solid var(--border); }
.steps-list li { display: grid; grid-template-columns: 3.2rem 1fr auto; align-items: center; gap: 1.2rem; padding: 1.5rem 0; border-bottom: 1px solid var(--border); }
.steps-num { align-self: start; padding-top: .15rem; color: var(--muted); font: 700 .95rem "JetBrains Mono", ui-monospace, monospace; }
.steps-list h3 { font: 700 1.15rem "Inter Tight", Inter, sans-serif; letter-spacing: -.01em; }
.steps-list p { margin-top: .35rem; color: var(--muted); font-size: .9rem; line-height: 1.55; }
.steps-list p b { color: var(--foreground); }
.steps-list .home-btn { height: 2.3rem; white-space: nowrap; }

/* ---- Picture + text: the picture on the left, a few facts under the paragraph ---- */
.home-life { display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; gap: 3.5rem; }
.life-photo { width: 100%; aspect-ratio: 1800 / 970; object-fit: cover; object-position: 50% 100%; border: 1px solid var(--border); border-radius: 1rem; }
.life-facts { display: flex; gap: 2rem; margin-top: 1.6rem; padding-top: 1.3rem; border-top: 1px solid var(--border); }
.life-facts li { display: flex; flex-direction: column; }
.life-facts b { font: 800 1.5rem "Inter Tight", sans-serif; letter-spacing: -.02em; }
.life-facts span { color: var(--muted); font-size: .8rem; }

/* ---- Departments banner: label, heading, text and buttons stacked on the left over the photo ---- */
.home-banner { position: relative; isolation: isolate; display: flex; align-items: center; min-height: 20rem; padding: 2.6rem; overflow: hidden; border: 1px solid var(--border); border-radius: 1rem; color: #fff; }
.home-banner > img { position: absolute; z-index: -2; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; }
.home-banner::after { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(to right, rgb(0 0 0 / .85), rgb(0 0 0 / .55) 55%, rgb(0 0 0 / .2)); }
.banner-copy { max-width: 30rem; }
.banner-label { display: inline-block; margin-bottom: .8rem; color: rgb(255 255 255 / .6); font: 700 .72rem "JetBrains Mono", ui-monospace, monospace; letter-spacing: .12em; text-transform: uppercase; }
.home-banner h2 { font: 800 2rem/1.08 "Inter Tight", sans-serif; letter-spacing: -.02em; }
.banner-copy p { margin-top: .8rem; color: rgb(255 255 255 / .8); font-size: .92rem; line-height: 1.55; }
.home-banner .home-btn { border-color: rgb(255 255 255 / .35); color: #fff; }
.home-banner .home-btn:hover { border-color: #fff; }
.home-banner .home-btn.primary { border-color: #fff; background: #fff; color: #111; }

/* ---- Stay in the loop: centred heading, one row of four links ---- */
.home-links { text-align: center; }
.home-links .sub { margin-inline: auto; }
.links-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: .8rem; margin-top: 1.8rem; text-align: left; }
.links-row a { display: flex; flex-direction: column; height: 100%; padding: 1.2rem; border: 1px solid var(--border); border-radius: .9rem; background: var(--surface); color: inherit; text-decoration: none; transition: border-color .15s; }
.links-row a:hover { border-color: var(--muted); }
.links-icon { display: grid; place-items: center; width: 2.4rem; height: 2.4rem; margin-bottom: 1.6rem; border-radius: .6rem; background: var(--surface-2); }
.links-icon svg { width: 1.2rem; height: 1.2rem; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.links-row b { font-size: .95rem; }
.links-row small { margin-top: .15rem; color: var(--muted); font-size: .8rem; }

/* ---- Footer bottom row: copyright left, the rest right ---- */
.site-footer-bottom { flex-direction: row; flex-wrap: wrap; justify-content: space-between; text-align: left; }
.site-footer-bottom .site-footer-avex { margin-left: .4rem; font-size: inherit; }

@media (max-width: 860px) {
  .page > section:not(.stats) { margin-top: 4rem; }
  .home-steps, .home-life { grid-template-columns: 1fr; }
  .home-steps { gap: 1.5rem; }
  .steps-head { position: static; }
  .home-life { gap: 2rem; }
  .links-row { grid-template-columns: 1fr 1fr; }
  .home-banner { min-height: 0; padding: 1.8rem 1.6rem; }
  .home-banner h2 { font-size: 1.6rem; }
}
@media (max-width: 480px) {
  .steps-list li { grid-template-columns: 2.4rem 1fr; }
  .steps-list .home-btn { grid-column: 2; justify-self: start; }
  .home-stats { grid-template-columns: 1fr 1fr; }
}

/* ---- Hero (owner, 2026-11-23): text on the left, lined up with the sections below; the picture shows on the right. ---- */
.hero { align-items: flex-start; justify-content: center; text-align: left; padding: 6rem max(1rem, calc((100vw - 62rem) / 2)) 9rem; }
.hero h1 { max-width: 9ch; font-size: clamp(3rem, 6.4vw, 5.2rem); line-height: .98; letter-spacing: -.035em; }
.hero-text { max-width: 31rem; margin-top: 1.4rem; font-size: 1.08rem; color: rgb(255 255 255 / .8); }
.hero-actions { justify-content: flex-start; margin-top: 2rem; }
.hero .hero-photo { object-position: 70% 50%; }
.hero::after, .hero:after { background:
  linear-gradient(to top, var(--background) 0%, rgb(0 0 0 / .7) 16%, transparent 45%),
  linear-gradient(to bottom, rgb(0 0 0 / .55) 0%, transparent 25%),
  linear-gradient(to right, rgb(0 0 0 / .82) 0%, rgb(0 0 0 / .62) calc((100vw - 62rem) / 2 + 24rem), rgb(0 0 0 / .15) 75%, rgb(0 0 0 / .1) 100%); }
/* White primary button, like the rest of the page. */
.hero-btn.primary { border-color: #fff; background: #fff; color: #111; }
.hero-btn.primary:hover:hover { border-color: #fff; background: rgb(255 255 255 / .88); }
@media (max-width: 620px) {
  .hero { padding-top: 7rem; }
  .hero::after, .hero:after { background: linear-gradient(to top, var(--background) 0%, rgb(0 0 0 / .7) 25%, rgb(0 0 0 / .45) 100%); }
}


.site-footer { padding-inline: max(1.5rem, calc((100% - 62rem) / 2)); }

/* The template's older #start styles centre everything; this layout is left-aligned like Oklahoma's. */
#start.home-steps, #start.home-steps .title, #start.home-steps .sub, #start.home-steps h3, #start.home-steps p { text-align: left; }
#start.home-steps .sub { margin-inline: 0; }
#start.home-steps .steps-list li > div { text-align: left; }
