/* GLIDE design system: base.css
   Version 1.0, 2026-11-13. Fonts, reset, body defaults, type roles, page shell.
   Needs tokens.css first. */

/* ---------------------------------------------------------------------------
   FONTS. The site's own @font-face rules and file URLs (material/styles.css).
   The server sends access-control-allow-origin: *, so these load from any page.
   ------------------------------------------------------------------------- */
@font-face { font-family: Larsseit; font-style: normal; font-weight: 100; font-display: swap;
  src: url("/design-system/fonts/Larsseit-Thin.woff2") format("woff2"); }
@font-face { font-family: Larsseit; font-style: normal; font-weight: 300; font-display: swap;
  src: url("/design-system/fonts/Larsseit-Light.woff2") format("woff2"); }
@font-face { font-family: Larsseit; font-style: normal; font-weight: 400; font-display: swap;
  src: url("/design-system/fonts/Larsseit-Regular.woff2") format("woff2"); }
@font-face { font-family: Larsseit; font-style: normal; font-weight: 500; font-display: swap;
  src: url("/design-system/fonts/Larsseit-Medium.woff2") format("woff2"); }
@font-face { font-family: Larsseit; font-style: normal; font-weight: 700; font-display: swap;
  src: url("/design-system/fonts/Larsseit-Bold.woff2") format("woff2"); }
@font-face { font-family: "Reckless Neue"; font-style: normal; font-weight: 100; font-display: swap;
  src: url("/design-system/fonts/RecklessNeue-Light.woff2") format("woff2"); }

/* ---------------------------------------------------------------------------
   RESET
   ------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
:where(body, h1, h2, h3, h4, p, ul, ol, figure, blockquote) { margin: 0; }
:where(ul[class], ol[class]) { list-style: none; padding: 0; }
img, video, svg { display: block; max-width: 100%; }
img { height: auto; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
a { color: inherit; }
[hidden] { display: none !important; }

/* ---------------------------------------------------------------------------
   BODY. Measured: Larsseit 300, 22.76 / 20.04 px, line-height 1.4, ink on white.
   ------------------------------------------------------------------------- */
body {
  font-family: var(--font-sans);
  font-weight: var(--weight-light);
  font-size: var(--type-body);
  line-height: var(--leading-body);
  letter-spacing: var(--tracking-body);
  color: var(--text);
  background-color: var(--surface);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ---------------------------------------------------------------------------
   TYPE ROLES. One class per role; the element carries the meaning, the class
   the look. Headings default to the display role.
   ------------------------------------------------------------------------- */
h1, h2, h3 { font-weight: var(--weight-bold); }

.t-display-xl {
  font-size: var(--type-display-xl);
  font-weight: var(--weight-bold);
  line-height: var(--leading-display-xl);
  letter-spacing: var(--tracking-display);
}
.t-display {
  font-size: var(--type-display);
  font-weight: var(--weight-bold);
  line-height: var(--leading-display);
  letter-spacing: var(--tracking-display);
}
.t-hero { /* the home h1: display role, tighter leading as measured */
  font-size: var(--type-display);
  font-weight: var(--weight-bold);
  line-height: var(--leading-hero);
  letter-spacing: var(--tracking-display);
}
.t-heading {
  font-size: var(--type-heading);
  font-weight: var(--weight-bold);
  line-height: var(--leading-heading);
  letter-spacing: var(--tracking-display);
}
.t-lead {
  font-size: var(--type-lead);
  font-weight: var(--weight-regular);
  line-height: var(--leading-lead);
  letter-spacing: var(--tracking-tight);
}
.t-list {
  font-size: var(--type-list);
  font-weight: var(--weight-light);
  line-height: var(--leading-heading);
  letter-spacing: var(--tracking-tight);
}
.t-title {
  font-size: var(--type-title);
  font-weight: var(--weight-light);
  line-height: var(--leading-title);
  letter-spacing: var(--tracking-tight);
}
.t-stat {
  font-size: var(--type-stat);
  font-weight: var(--weight-thin);
  line-height: var(--leading-stat);
  letter-spacing: var(--tracking-tight);
}
.t-body {
  font-size: var(--type-body);
  font-weight: var(--weight-light);
  line-height: var(--leading-body);
  letter-spacing: var(--tracking-body);
}
.t-quote {
  font-size: var(--type-quote);
  font-weight: var(--weight-regular);
  line-height: var(--leading-body);
  letter-spacing: var(--tracking-tight);
}
.t-kicker-lg {
  font-size: var(--type-kicker-lg);
  font-weight: var(--weight-bold);
  line-height: var(--leading-tight);
  letter-spacing: var(--tracking-tight);
}
.t-kicker {
  font-size: var(--type-kicker);
  font-weight: var(--weight-medium);
  line-height: 1.2;
  letter-spacing: var(--tracking-tight);
}
.t-small {
  font-size: var(--type-small);
  font-weight: var(--weight-light);
  line-height: var(--leading-body);
  letter-spacing: var(--tracking-tight);
}
.t-micro {
  font-size: var(--type-micro);
  font-weight: var(--weight-regular);
  line-height: 1.2;
  letter-spacing: var(--tracking-tight);
}
.t-muted { color: var(--text-muted); }
strong, b { font-weight: var(--weight-bold); }

/* ---------------------------------------------------------------------------
   LINKS. Rule: underlined in running text and in headings (the site's 1 px
   sweep rule). Where placement carries the link (nav, footer lists, cards,
   list rows, buttons) the underline is dropped: those take .link-plain or a
   component class. Visited keeps the rest look (marketing site, no lists of
   visited destinations). Fixed: rest underline from ink 30% (2.03:1) to
   --link-underline (3.70:1 on white, 8.46 on ink).
   ------------------------------------------------------------------------- */
.link {
  color: inherit;
  text-decoration: none;
  background-image: linear-gradient(90deg, var(--link-underline-hover) 50%, var(--link-underline) 50%);
  background-repeat: no-repeat;
  background-size: 201% 1px;
  background-position: 100% 100%;
  transition: background-position var(--duration-fast) var(--ease-standard);
  padding-bottom: 0.04em;
}
.link:hover { background-position: 0 100%; }
.link:active { background-size: 201% 2px; }
.link-plain { text-decoration: none; color: inherit; }

/* ---------------------------------------------------------------------------
   FOCUS. Applied fix: the capture sets outline:0 on links and draws nothing.
   One ring, every tone, keyboard only.
   ------------------------------------------------------------------------- */
:focus { outline: none; }
:focus-visible {
  outline: var(--focus-ring-width) solid var(--focus-ring-color);
  outline-offset: var(--focus-ring-offset);
  border-radius: 2px;
}

/* ---------------------------------------------------------------------------
   PAGE SHELL
   ------------------------------------------------------------------------- */
.skip-link {
  position: absolute;
  left: 16px;
  top: -200px;
  z-index: 100;
  padding: 12px 24px;
  border-radius: var(--radius-pill);
  background-color: var(--gd-lime);
  color: var(--gd-ink);
  font-weight: var(--weight-medium);
  font-size: var(--type-button-sm);
  text-decoration: none;
}
.skip-link:focus { top: 16px; }

.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%);
  white-space: nowrap; border: 0;
}

/* container: 87% wide, max 1260 (measured .wrapper) */
.container {
  width: var(--container-width);
  max-width: var(--container-max);
  margin-inline: auto;
}
.container--narrow { max-width: var(--container-narrow); }
.container--column { max-width: var(--container-column); }

/* a line break that only applies from 768 up (hero h1, closing title); at 390
   the measured headings rewrap freely */
@media (max-width: 767px) {
  .break-wide { display: none; }
}

/* indent column: content starts 25% in at desktop (lead, services, ratings) */
.indent { padding-left: var(--indent); }
@media (max-width: 767px) {
  .indent { padding-left: 0; }
}

/* main and footer clip sideways: rules run to the page edges by design and
   must never cause sideways scroll (reflow to 320). */
main, footer { display: block; overflow-x: clip; }

/* band: a full-bleed section carrying one tone */
.band { position: relative; }

/* spacer steps (the site's .s-* spacers as named steps) */
.pad-top-156 { padding-top: var(--space-156); }
.pad-bottom-156 { padding-bottom: var(--space-156); }

/* ---------------------------------------------------------------------------
   REDUCED MOTION. Every transition becomes instant; components that drift or
   autoplay read this query too (components.css).
   ------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
  }
}
