/* springinc.com: one page, dark ("House lights down"). Colors: the logo's teal and red on near-black.
   Type: Big Shoulders Display for headlines, IBM Plex Sans for text, IBM Plex Mono for small labels (all self-hosted). */
@font-face { font-family: "Big Shoulders"; src: url(/assets/fonts/bigshoulders.woff2) format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Plex"; src: url(/assets/fonts/plex-400.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Plex"; src: url(/assets/fonts/plex-500.woff2) format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Plex"; src: url(/assets/fonts/plex-600.woff2) format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Plex Mono"; src: url(/assets/fonts/mono-500.woff2) format("woff2"); font-weight: 500; font-display: swap; }

:root {
  --bg: #0a0c0f; --panel: #12161b; --fg: #f1f3f5; --text: #c3cbd3; --muted: #8d98a5; --line: #232a32; --line2: #343d48;
  --teal: #50c3cc; --on-teal: #06222a; --red: #e05435;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { -webkit-font-smoothing: antialiased; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--fg); font: 400 17px/1.6 "Plex", system-ui, -apple-system, "Segoe UI", sans-serif; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, p, figure { margin: 0; }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; }
[id] { scroll-margin-top: 24px; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 32px; }
.mono { font: 500 12px "Plex Mono", ui-monospace, monospace; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.display { font-family: "Big Shoulders", "Arial Narrow", sans-serif; font-weight: 900; text-transform: uppercase; line-height: .9; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 5; background: var(--teal); color: var(--on-teal); padding: 8px 14px; border-radius: 999px; font-weight: 600; }
.skip:focus { left: 12px; }

/* top bar, over the video */
.top { position: absolute; inset: 0 0 auto 0; z-index: 2; }
.top .wrap { display: flex; align-items: center; gap: 28px; height: 84px; }
.logo img { height: 22px; width: auto; }
.top nav { margin-left: auto; display: flex; gap: 4px; align-items: center; }
.top nav a { text-decoration: none; font-weight: 500; font-size: 15px; color: #c8d0d8; padding: 8px 14px; border-radius: 999px; }
.top nav a:hover { color: #fff; background: rgba(255, 255, 255, .08); }
.top nav a.sdlink { font: 800 19px/1 "Big Shoulders", sans-serif; letter-spacing: .05em; text-transform: uppercase; color: #fff; }
.top nav a.sdlink b { color: #ffb224; font-weight: inherit; }
.top nav a.sdlink span { font: 500 13px "Plex", sans-serif; color: var(--muted); }
.top nav a.cta { background: var(--teal); color: var(--on-teal); font-weight: 600; margin-left: 10px; padding: 9px 18px; }
.top nav a.cta:hover { background: #6fd3db; }

/* hero: the video (a still until it plays), darkened towards the bottom so the headline reads */
.hero { position: relative; min-height: min(780px, 100svh); display: flex; align-items: flex-end; overflow: hidden; background: #000 url(/assets/hero-poster.webp) center 35% / cover; }
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 35%; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 12, 15, .6) 0%, rgba(10, 12, 15, .2) 35%, rgba(10, 12, 15, .92) 88%, var(--bg) 100%); }
.hero .wrap { position: relative; z-index: 1; width: 100%; padding-top: 120px; padding-bottom: 72px; }
.hero h1 { font-size: clamp(54px, 8.2vw, 118px); max-width: 1050px; margin: 18px 0 26px; }
.hero h1 em { font-style: normal; color: var(--teal); }
.hero .lead { max-width: 620px; font-size: 20px; color: #d5dbe1; }

/* the three services */
.svc { border-top: 1px solid var(--line); }
.svc .row { display: grid; grid-template-columns: 110px minmax(0, 1fr) 470px; gap: 40px; align-items: center; padding: 76px 0; border-bottom: 1px solid var(--line); }
.svc .num { font: 900 92px/1 "Big Shoulders", sans-serif; color: var(--line2); }
.svc h2 { font-size: 64px; margin-bottom: 18px; }
.svc p { color: var(--text); max-width: 560px; }
.svc p b { color: var(--fg); font-weight: 600; }
.svc figure { border-radius: 18px; overflow: hidden; aspect-ratio: 16 / 10; background: var(--panel); box-shadow: 0 0 0 1px var(--line2); }
.svc figure img { width: 100%; height: 100%; object-fit: cover; }

/* recent events */
.recent { padding: 96px 0 40px; }
.recent .clients { font-size: 76px; margin: 16px 0 14px; }
.recent .clients span { color: var(--line2); }
.recent .more { color: var(--muted); margin-bottom: 40px; }
.grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 14px; }
.grid img { width: 100%; height: 100%; object-fit: cover; border-radius: 14px; }
.grid .g1 { grid-column: span 7; aspect-ratio: 16 / 9; }
.grid .g2 { grid-column: span 5; }
.grid .g3, .grid .g4, .grid .g5 { grid-column: span 4; aspect-ratio: 16 / 10; }

/* Andy */
.about { padding: 110px 0; }
.about .wrap { display: grid; grid-template-columns: 253px minmax(0, 1fr); gap: 56px; align-items: start; }
.about img { width: 253px; height: 253px; object-fit: cover; border-radius: 22px; }
.about h2 { font-size: 72px; margin: 12px 0 20px; }
.about p:not(.mono) { color: var(--text); max-width: 640px; margin-bottom: 14px; }

/* contact */
.contact { background: var(--panel); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 96px 0; }
.contact .wrap { display: grid; grid-template-columns: minmax(0, 1fr) 520px; gap: 64px; align-items: start; }
.contact h2 { font-size: 110px; margin: 14px 0 22px; }
.contact .mail { font-size: 22px; font-weight: 600; color: var(--teal); text-decoration: none; }
.contact .mail:hover { text-decoration: underline; text-underline-offset: 4px; }
form { background: var(--bg); border: 1px solid var(--line2); border-radius: 22px; padding: 26px; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
label { display: grid; gap: 6px; min-width: 0; font-size: 13px; font-weight: 500; color: var(--text); }
label.wide { grid-column: 1 / -1; }
input, textarea { width: 100%; min-width: 0; font: inherit; font-size: 16px; color: var(--fg); background: var(--panel); border: 1px solid var(--line2); border-radius: 10px; padding: 11px 12px; }
input:focus, textarea:focus { border-color: var(--teal); outline: 0; }
textarea { min-height: 120px; resize: vertical; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
button { grid-column: 1 / -1; height: 48px; border: 0; border-radius: 999px; background: var(--teal); color: var(--on-teal); font: 600 16px "Plex", sans-serif; cursor: pointer; }
button:hover { background: #6fd3db; }
button:disabled { opacity: .6; cursor: default; }
.form-msg { grid-column: 1 / -1; font-size: 14.5px; color: var(--text); min-height: 1.4em; }
.form-msg.ok { color: var(--teal); }
.form-msg.err { color: #ff9a85; }
.form-msg:empty { display: none; }

/* ShowDocs, Spring Inc's own planning tool: its amber, its wordmark, a picture of the schedule */
.sd { --amber: #ffb224; padding: 110px 0 96px; }
.sd-top { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 56px; align-items: center; }
.sd-mark { display: inline-block; margin: 18px 0 6px; font-size: 34px; font-weight: 800; letter-spacing: .04em; text-decoration: none; }
.sd-mark b, .sd h2 em { color: var(--amber); font-weight: inherit; font-style: normal; }
.sd h2 { font-size: 84px; margin-bottom: 22px; }
.sd h2 em { display: block; }
.sd .lead { color: var(--text); max-width: 520px; font-size: 19px; }
.sd-go { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 18px; margin-top: 28px; color: var(--muted); font-size: 14.5px; }
.sd-btn { display: inline-flex; align-items: center; height: 48px; padding: 0 24px; border-radius: 999px; background: var(--amber); color: #0a0c0f; font-weight: 600; font-size: 16px; text-decoration: none; }
.sd-btn:hover { background: #ffc34f; }
.sd-shot { display: block; border-radius: 18px; overflow: hidden; box-shadow: 0 0 0 1px var(--line2), 0 40px 80px -30px #000; }
.sd-shot img { width: 100%; }
.sd-points { list-style: none; margin: 64px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.sd-points li { background: var(--panel); border: 1px solid var(--line); border-radius: 18px; padding: 20px 22px 22px; color: var(--text); font-size: 15px; line-height: 1.5; }
.sd-points b { display: block; margin-bottom: 8px; color: var(--fg); font: 800 24px/1 "Big Shoulders", sans-serif; letter-spacing: .02em; text-transform: uppercase; }
footer { border-top: 1px solid var(--line); padding: 26px 0 40px; }
footer .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

@media (max-width: 1080px) {
  .svc .row { grid-template-columns: 80px minmax(0, 1fr) 360px; gap: 28px; }
  .svc h2 { font-size: 52px; } .svc .num { font-size: 70px; }
  .recent .clients { font-size: 60px; }
  .contact .wrap { grid-template-columns: minmax(0, 1fr) 440px; gap: 40px; } .contact h2 { font-size: 84px; }
  .sd h2 { font-size: 72px; } .sd-points { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  body { font-size: 16px; }
  .wrap { padding: 0 18px; }
  .top nav a:not(.cta):not(.sdlink) { display: none; }
  .top .wrap { gap: 12px; } .logo img { height: 18px; } .top nav a.sdlink { padding: 8px 8px; } .top nav a.cta { margin-left: 4px; padding: 8px 14px; }
  .hero { min-height: min(640px, 100svh); } .hero .lead { font-size: 17px; } .hero .wrap { padding-bottom: 48px; }
  .svc .row { grid-template-columns: 1fr; gap: 18px; padding: 44px 0; } .svc .num { font-size: 54px; } .svc h2 { font-size: 44px; }
  .recent { padding: 64px 0 20px; } .recent .clients { font-size: 44px; }
  .grid > * { grid-column: span 6 !important; aspect-ratio: 16 / 10; }
  .grid .g1 { grid-column: 1 / -1 !important; aspect-ratio: 16 / 9; }
  .about { padding: 64px 0; } .about .wrap, .contact .wrap { grid-template-columns: 1fr; gap: 26px; }
  .about img { width: 180px; height: 180px; } .about h2 { font-size: 48px; }
  .contact { padding: 64px 0; } .contact h2 { font-size: 64px; }
  form { grid-template-columns: 1fr; padding: 20px; }
  .sd { padding: 64px 0; } .sd-top { grid-template-columns: 1fr; gap: 30px; } .sd h2 { font-size: 60px; } .sd-points { margin-top: 36px; }
}
@media (max-width: 560px) { .grid > * { grid-column: 1 / -1 !important; } .sd-points { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
