/* ==========================================================================
   Northlight Trade — re-authored static stylesheet
   --------------------------------------------------------------------------
   The original site stylesheet (/_astro-1730007209970/_slug_.MTJYe1pb.css) is
   NOT recoverable: absent from the Wayback capture, 404 on the live origin and
   404/522 on the builder CDN. Everything below is re-authored from the layout,
   typography and colour data embedded in the archived HTML payload
   (astro-island props + rendered DOM) — not from a redesign.

   Recovered values used here (all from the 2024-12-19 capture):
     font            DM Sans 400/700 (local woff2)
     h1..h6          64/56/48/40/32/24 px, weight 400, line-height 1.25
                    mobile 40/36/32/28/24/20 px
     body            16px / 1.5 ; body-large 18px ; body-small 14px
     nav link        16px / 1.35
     button          14px, weight 700, uppercase, letter-spacing .06em,
                    padding 14px 32px, radius 1000px, transition .2s ease
     header          125px tall (desktop) / 50px (mobile), width 1240px,
                    padding 32px 16px / 24px 16px, logo 201px / 112px,
                    link spacing 56px / 40px, element spacing 24px
     hero block      bg rgb(221,208,200), min-height 528px (409 tablet),
                    1224px content, block padding 16px 0 / 40px 16px 64px
     hero rows       92 | auto | 28 | auto | 63 | auto | 1fr   (7 rows)
     hero columns    8.415% .0817% 12.0098% 28.5131% 33.9052% 17.0752%
     image block     min-height 656px (240px mobile/tablet), cover
     footer          bg rgb(50,50,50), min-height 352px (457px mobile),
                    1224px, cols 23.5294% 10.4575% 23.5294% 10.4575%
                    23.5294% 8.4967%
     footer rows     92 | auto | 28 | auto | 8 | auto | 1fr
     hero button     bg rgb(39,70,213), hover rgb(70,70,70), white text

   Grid note: the archived column/row percentages already include the design
   gaps (a column edge at 8.415% of 1224px = 104px, matching the recorded
   element left of 104px), so the tracks are emitted with no extra gap.
   ========================================================================== */

/* --------------------------------------------------------------- fonts ---- */
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/dm-sans-400-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/dm-sans-400-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
    U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020,
    U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/dm-sans-700-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/dm-sans-700-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
    U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020,
    U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* -------------------------------------------------------------- tokens ---- */
:root {
  --font-primary: 'DM Sans', sans-serif;
  --font-secondary: 'DM Sans', sans-serif;

  --color-ink: #1d1e20;
  --color-ink-strong: #000000;
  --color-paper: #ffffff;
  --color-header-bg: #fefefe;
  --color-hairline: #dadce0;

  --color-hero-bg: rgb(221, 208, 200);
  --color-footer-bg: rgb(50, 50, 50);

  --color-brand: rgb(39, 70, 213);
  --color-brand-hover: rgb(70, 70, 70);

  --header-height: 125px;
  --header-height-mobile: 50px;
  --content-width: 1224px;
  --header-width: 1240px;

  --link-spacing: 56px;
  --element-spacing: 24px;
}

/* ---------------------------------------------------------------- base ---- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-secondary);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--color-ink);
  background: var(--color-paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-primary);
  font-weight: 400;
  line-height: 1.25;
  letter-spacing: normal;
  text-transform: none;
  margin: 0;
}

h1 { font-size: 64px; }
h2 { font-size: 56px; }
h3 { font-size: 48px; }
h4 { font-size: 40px; }
h5 { font-size: 32px; }
h6 { font-size: 24px; }

p {
  margin: 0;
}

.body {
  font-family: var(--font-secondary);
  font-size: 16px;
  line-height: 1.5;
}

.body-large {
  font-size: 18px;
  line-height: 1.5;
}

.body-small {
  font-size: 14px;
  line-height: 1.5;
}

a {
  color: inherit;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: #fff;
  padding: 12px 16px;
  z-index: 100;
}

.skip-link:focus {
  left: 0;
}

:focus-visible {
  outline: 2px solid var(--color-brand);
  outline-offset: 3px;
}

/* --------------------------------------------------------------- button --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-secondary);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 14px 32px;
  border: none;
  border-radius: 1000px;
  background: var(--color-brand);
  color: #fff;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.btn:hover,
.btn:focus-visible {
  background: var(--color-brand-hover);
  color: #fff;
}

.btn--ghost {
  background: transparent;
  color: #fff;
  box-shadow: inset 0 0 0 1px #fff;
}

.btn--ghost:hover,
.btn--ghost:focus-visible {
  background: #fff;
  color: var(--color-ink);
}

/* --------------------------------------------------------------- header --- */
.header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--color-header-bg);
}

.header__inner {
  max-width: var(--header-width);
  margin: 0 auto;
  height: var(--header-height);
  padding: 32px 16px;
  display: flex;
  align-items: center;
  gap: var(--element-spacing);
}

.header__logo {
  flex: 0 0 auto;
  display: block;
  line-height: 0;
}

.header__logo img {
  width: 201px;
  height: auto;
}

.header__nav {
  margin-left: auto;
}

.header__nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: var(--link-spacing);
}

.header__nav a {
  font-family: var(--font-primary);
  font-size: 16px;
  line-height: 1.35;
  color: #000;
  text-decoration: none;
  white-space: nowrap;
}

.header__nav a:hover,
.header__nav a:focus-visible {
  text-decoration: underline;
}

.header__nav a[aria-current='page'] {
  text-decoration: underline;
}

.header__toggle {
  display: none;
  margin-left: auto;
  width: 44px;
  height: 44px;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  position: relative;
}

.header__toggle span {
  position: absolute;
  left: 8px;
  width: 28px;
  height: 2px;
  background: #000;
  transition: transform 0.2s ease, opacity 0.2s ease, top 0.2s ease;
}

.header__toggle span:nth-child(1) { top: 14px; }
.header__toggle span:nth-child(2) { top: 21px; }
.header__toggle span:nth-child(3) { top: 28px; }

.header__toggle[aria-expanded='true'] span:nth-child(1) {
  top: 21px;
  transform: rotate(45deg);
}
.header__toggle[aria-expanded='true'] span:nth-child(2) {
  opacity: 0;
}
.header__toggle[aria-expanded='true'] span:nth-child(3) {
  top: 21px;
  transform: rotate(-45deg);
}

.header__drawer {
  display: none;
}

/* ------------------------------------------------------------ hero block -- */
.hero {
  background: var(--color-hero-bg);
  padding: 16px 0;
}

.hero__grid {
  max-width: var(--content-width);
  margin: 0 auto;
  min-height: 528px;
  display: grid;
  grid-template-columns:
    8.415032679738562%
    0.08169934640522876%
    12.009803921568627%
    28.513071895424837%
    33.90522875816993%
    17.075163398692812%;
  grid-template-rows:
    minmax(92px, auto)
    minmax(24px, auto)
    minmax(28px, auto)
    minmax(160px, auto)
    minmax(63px, auto)
    minmax(50px, auto)
    1fr;
}

.hero__eyebrow {
  grid-row: 2 / 3;
  grid-column: 3 / 5;
  align-self: center;
  text-align: left;
}

.hero__title {
  grid-row: 4 / 5;
  grid-column: 2 / 6;
  color: var(--color-ink-strong);
}

.hero__action {
  grid-row: 6 / 7;
  grid-column: 3 / 4;
  display: flex;
  align-items: center;
}

/* --------------------------------------------------------- image block --- */
.showcase {
  position: relative;
  min-height: 656px;
  overflow: hidden;
  background: var(--color-hero-bg);
}

.showcase img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* -------------------------------------------------- reconstructed pages -- */
.page-head {
  background: var(--color-hero-bg);
  padding: 16px 0;
}

.page-head__grid {
  max-width: var(--content-width);
  margin: 0 auto;
  min-height: 528px;
  display: grid;
  grid-template-columns:
    8.415032679738562%
    0.08169934640522876%
    12.009803921568627%
    28.513071895424837%
    33.90522875816993%
    17.075163398692812%;
  grid-template-rows:
    minmax(92px, auto)
    minmax(24px, auto)
    minmax(28px, auto)
    minmax(160px, auto)
    minmax(63px, auto)
    minmax(50px, auto)
    1fr;
}

.page-head__eyebrow {
  grid-row: 2 / 3;
  grid-column: 3 / 5;
  align-self: center;
}

.page-head__title {
  grid-row: 4 / 5;
  grid-column: 2 / 6;
  color: var(--color-ink-strong);
}

.page-head__lead {
  grid-row: 5 / 6;
  grid-column: 2 / 6;
  max-width: 496px;
  align-self: start;
}

.page-head__action {
  grid-row: 6 / 7;
  grid-column: 3 / 4;
  display: flex;
  align-items: center;
}

.section {
  padding: 64px 0;
}

.section__inner {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 0 16px;
}

.section__title {
  margin-bottom: 24px;
}

.section__text {
  max-width: 760px;
}

.section__text p + p {
  margin-top: 16px;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 40px;
}

.card {
  border: 1px solid var(--color-hairline);
  border-radius: 12px;
  padding: 32px 24px;
  background: var(--color-paper);
}

.card__title {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
  margin-bottom: 16px;
}

.card__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.card__list li + li {
  margin-top: 8px;
}

.contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.contact-list li + li {
  margin-top: 16px;
}

.contact-list a {
  color: var(--color-brand);
  text-decoration: none;
  overflow-wrap: anywhere;
}

.contact-list a:hover,
.contact-list a:focus-visible {
  text-decoration: underline;
}

.note {
  max-width: 760px;
  margin-top: 32px;
  padding: 20px 24px;
  border-left: 3px solid var(--color-brand);
  background: #f2f3f6;
  font-size: 14px;
  line-height: 1.5;
}

/* ---------------------------------------------------------------- footer -- */
.footer {
  background: var(--color-footer-bg);
  color: #fff;
  padding: 16px 0;
}

.footer__grid {
  max-width: var(--content-width);
  margin: 0 auto;
  min-height: 352px;
  display: grid;
  grid-template-columns:
    23.52941176470588%
    10.457516339869281%
    23.52941176470588%
    10.457516339869281%
    23.52941176470588%
    8.49673202614379%;
  grid-template-rows:
    minmax(92px, auto)
    minmax(24px, auto)
    minmax(28px, auto)
    minmax(72px, auto)
    minmax(8px, auto)
    minmax(16px, auto)
    1fr;
}

.footer__heading {
  grid-row: 2 / 3;
  align-self: center;
  font-weight: 700;
  color: #fff;
}

.footer__block {
  grid-row: 4 / 6;
  align-self: start;
  color: #fff;
}

.footer__block a {
  color: #fff;
  text-decoration: none;
}

.footer__block a:hover,
.footer__block a:focus-visible {
  text-decoration: underline;
}

.footer__block p + p {
  margin-top: 8px;
}

.footer__col--address   { grid-column: 1 / 2; }
.footer__col--contact   { grid-column: 3 / 4; }
.footer__col--hours     { grid-column: 5 / 6; }

.footer__heading--address { grid-column: 1 / 2; }
.footer__heading--contact { grid-column: 3 / 4; }
.footer__heading--hours   { grid-column: 5 / 6; }

.footer__col--contact { grid-row: 4 / 7; }
.footer__col--hours   { grid-row: 4 / 5; }

/* ------------------------------------------------------------ responsive -- */
/* Tablet tier (768-1023): the archived "t" grid keeps the desktop column
   fractions but swaps the row rhythm for fixed 35/24/14/200/21/50 tracks. */
@media (max-width: 1023px) {
  h1 { font-size: 48px; }
  h2 { font-size: 40px; }
  h3 { font-size: 32px; }

  .hero__grid,
  .page-head__grid {
    min-height: 409px;
    grid-template-rows:
      minmax(35px, auto)
      minmax(24px, auto)
      minmax(14px, auto)
      minmax(200px, auto)
      minmax(21px, auto)
      minmax(50px, auto)
      1fr;
  }

  .showcase {
    min-height: 240px;
  }

  .footer__grid {
    min-height: 457px;
  }

  .card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Small-desktop tier (1024-1279): archived "small-desktop" rows scale in vw. */
@media (min-width: 1024px) and (max-width: 1279px) {
  .hero__grid,
  .page-head__grid {
    min-height: auto;
    grid-template-rows:
      7.516339869281046vw
      auto
      2.287581699346405vw
      auto
      5.147058823529412vw
      auto
      111px;
  }

  .footer__grid {
    min-height: auto;
  }
}

/* Mobile tier (<=767): archived "m" grid, vw-driven rows, two columns. */
@media (max-width: 767px) {
  :root {
    --header-height: var(--header-height-mobile);
    --link-spacing: 40px;
  }

  h1 { font-size: 40px; }
  h2 { font-size: 36px; }
  h3 { font-size: 32px; }
  h4 { font-size: 28px; }
  h5 { font-size: 24px; }
  h6 { font-size: 20px; }

  .header__inner {
    height: var(--header-height-mobile);
    padding: 0 16px;
  }

  .header__logo img {
    width: 112px;
  }

  .header__nav {
    display: none;
  }

  .header__toggle {
    display: block;
  }

  .header__drawer {
    display: block;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.25s ease;
    background: var(--color-header-bg);
  }

  .header__drawer.is-open {
    max-height: 320px;
    border-top: 1px solid var(--color-hairline);
  }

  .header__drawer ul {
    list-style: none;
    margin: 0;
    padding: 16px 16px 24px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 16px;
  }

  .header__drawer a {
    font-family: var(--font-primary);
    font-size: 16px;
    line-height: 1.35;
    color: #000;
    text-decoration: none;
  }

  .header__drawer a:hover,
  .header__drawer a:focus-visible {
    text-decoration: underline;
  }

  .hero {
    padding: 40px 16px 64px;
  }

  .hero__grid,
  .page-head__grid {
    min-height: 0;
    grid-template-columns: 39.02439024390244% 60.97560975609756%;
    grid-template-rows:
      9.722222222222221vw
      auto
      3.888888888888889vw
      auto
      5.833333333333333vw
      auto
      65px;
  }

  .hero__eyebrow,
  .page-head__eyebrow {
    grid-row: 2 / 3;
    grid-column: 1 / 3;
  }

  /* The reconstructed subpage header carries a lead line and a button that the
     archived homepage grid has no room for, so rows 5 and 6 grow to content. */
  .page-head__grid {
    grid-template-rows:
      9.722222222222221vw
      auto
      3.888888888888889vw
      auto
      auto
      auto
      65px;
  }

  .hero__title,
  .page-head__title {
    grid-row: 4 / 5;
    grid-column: 1 / 3;
  }

  .hero__action {
    grid-row: 6 / 7;
    grid-column: 1 / 2;
  }

  .page-head {
    padding: 40px 16px 64px;
  }

  .page-head__lead {
    grid-row: 5 / 6;
    grid-column: 1 / 3;
    margin-bottom: 24px;
  }

  .page-head__action {
    grid-row: 6 / 7;
    grid-column: 1 / 3;
  }

  .showcase {
    min-height: 240px;
  }

  .section {
    padding: 40px 0;
  }

  .card-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .footer {
    padding: 64px 16px;
  }

  .footer__grid {
    min-height: 457px;
    grid-template-columns: 100%;
    grid-template-rows:
      15.555555555555555vw
      auto
      3.888888888888889vw
      auto
      7.5vw
      auto
      3.888888888888889vw
      auto
      7.777777777777778vw
      auto
      3.888888888888889vw
      auto
      0px;
  }

  .footer__col--address,
  .footer__col--contact,
  .footer__col--hours,
  .footer__heading--address,
  .footer__heading--contact,
  .footer__heading--hours {
    grid-column: 1 / 2;
  }

  .footer__heading--address { grid-row: 2 / 3; }
  .footer__col--address    { grid-row: 4 / 5; }
  .footer__heading--contact { grid-row: 6 / 7; }
  .footer__col--contact     { grid-row: 8 / 9; }
  .footer__heading--hours   { grid-row: 10 / 11; }
  .footer__col--hours       { grid-row: 12 / 13; }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .header__toggle span,
  .header__drawer,
  .btn {
    transition: none;
  }
}
