/*
Theme Name: True North Sourcing
Theme URI: https://truenorthsourcingusa.com
Author: True North Sourcing LLC
Description: Company site for True North Sourcing LLC. The company imports men's, women's, and children's apparel, with a specialty in undergarments, and ships from its own warehouse.
Version: 1.1.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: true-north-sourcing
*/

:root {
  --bg: #f3f5f8;
  --ink: #122033;
  --muted: #4a5c72;
  --line: #d2dbe6;
  --navy: #02274d;
  --paper: #ffffff;
  --star: #dd0a14;
  --sans: "Barlow", "Segoe UI", sans-serif;
  --display: "Barlow Condensed", "Arial Narrow", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.5;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--navy);
  color: #f4f7fb;
  padding: 0.5rem 0.8rem;
  z-index: 20;
}
.skip:focus { top: 0.75rem; }
.bar { height: 6px; background: var(--navy); }
.wrap { width: min(1120px, calc(100% - 2.5rem)); margin: 0 auto; }
header.site {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 4.4rem;
  gap: 1rem;
}
.brand { display: flex; align-items: center; gap: 0.7rem; text-decoration: none; }
.brand img { width: 44px; height: 44px; }
.brand strong, .brand span {
  display: block;
  font-family: var(--display);
  color: var(--navy);
  letter-spacing: 0.04em;
  line-height: 1;
}
.brand strong { font-size: 1.25rem; }
.brand span { font-size: 0.72rem; letter-spacing: 0.16em; margin-top: 0.15rem; }
.links { display: flex; align-items: center; gap: 1.2rem; }
.links a {
  font-family: var(--display);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-decoration: none;
  text-transform: uppercase;
  color: var(--navy);
}
.links a[aria-current="page"] { color: var(--star); }
.menu-btn {
  display: none;
  border: 1px solid var(--line);
  background: white;
  width: 44px;
  height: 44px;
  padding: 0;
  align-items: center;
  justify-content: center;
}
.menu-btn span,
.menu-btn span::before,
.menu-btn span::after {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--navy);
  position: relative;
}
.menu-btn span::before,
.menu-btn span::after {
  content: "";
  position: absolute;
  left: 0;
}
.menu-btn span::before { top: -6px; }
.menu-btn span::after { top: 6px; }
.savys-logo { width: min(280px, 100%); height: auto; }
.catalogues { display: grid; gap: 1px; background: var(--line); margin-top: 1rem; }
.catalogues a {
  display: block;
  background: white;
  padding: 1.2rem;
  text-decoration: none;
  color: var(--navy);
}
.catalogues strong {
  display: block;
  font-family: var(--display);
  font-size: 1.4rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 1.1rem;
  background: var(--navy);
  color: #f4f7fb;
  text-decoration: none;
  border: 1px solid var(--navy);
  font-family: var(--display);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
}
.btn.light { background: white; color: var(--navy); }
.kicker {
  font-family: var(--display);
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--star);
  margin: 0;
}
h1, h2, h3 { font-family: var(--display); color: var(--navy); letter-spacing: 0.02em; text-transform: uppercase; margin: 0; }
h1 { font-size: clamp(2.6rem, 6vw, 4.2rem); line-height: 0.92; }
h2 { font-size: clamp(2rem, 4vw, 2.7rem); line-height: 0.95; }
.lede { font-size: 1.15rem; color: var(--muted); max-width: 40rem; }
.hero {
  background: white;
  border-bottom: 1px solid var(--line);
  padding: 3rem 0;
}
.hero-grid, .split { display: grid; gap: 2rem; align-items: center; }
.actions { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-top: 1.4rem; }
.band { background: var(--navy); color: #f4f7fb; padding: 2.5rem 0; }
.band h2, .band .kicker { color: #f4f7fb; }
.band .kicker { color: var(--star); }
.band ul { margin: 0; padding-left: 1.1rem; }
.section { padding: 3.5rem 0; }
.cards, .groups { display: grid; gap: 1px; background: var(--line); }
.cards article, .groups article { background: white; padding: 1.3rem 1.2rem; }
.groups .btn { margin-top: 0.6rem; }
.cards h3, .groups h3 { font-size: 1.5rem; }
.muted { color: var(--muted); }
.lines { display: grid; gap: 1.5rem; }
.office {
  background: white;
  border: 1px solid var(--line);
  padding: 1.3rem;
}
footer {
  background: white;
  border-top: 1px solid var(--line);
  padding: 2.2rem 0;
}
.foot { display: grid; gap: 1rem; }
.foot nav { display: flex; flex-wrap: wrap; gap: 0.9rem; }
.foot a { color: var(--navy); }
.page { padding: 3rem 0 4rem; }
.facts { display: grid; gap: 1rem; }
.facts dt { color: var(--muted); font-size: 0.9rem; }
.facts dd { margin: 0.15rem 0 0; }
form {
  background: white;
  border: 1px solid var(--line);
  padding: 1.3rem;
}
label { display: block; font-weight: 600; margin-bottom: 0.3rem; }
input, select, textarea {
  width: 100%;
  border: 1px solid #c5d0de;
  background: white;
  color: var(--ink);
  font: inherit;
  padding: 0.7rem 0.75rem;
  margin-bottom: 0.9rem;
}
textarea { min-height: 9rem; }
.error { color: var(--star); font-size: 0.92rem; margin: -0.5rem 0 0.8rem; }
.alert { border: 1px solid #e7b4b4; padding: 0.8rem 1rem; margin-bottom: 1rem; }
.receipt { white-space: pre-wrap; background: var(--bg); }
@media (min-width: 800px) {
  .hero-grid { grid-template-columns: 1.05fr 0.95fr; }
  .split, .foot, .about { grid-template-columns: 18rem 1fr; }
  .cards { grid-template-columns: 1fr 1fr; }
  .groups, .catalogues { grid-template-columns: 1fr 1fr; }
  .lines { grid-template-columns: repeat(3, 1fr); }
  .band-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 2rem; align-items: end; }
  .closing { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 2rem; align-items: center; }
  .contact-grid { display: grid; grid-template-columns: 22rem 1fr; gap: 2.5rem; }
}
@media (max-width: 799px) {
  .links { display: none; }
  .links.open {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: white;
    border-bottom: 1px solid var(--line);
    padding: 1rem 1.25rem 1.3rem;
  }
  .menu-btn { display: inline-flex; align-items: center; justify-content: center; }
  header.site { position: sticky; }
}

.links ul {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.links .current-menu-item > a,
.links .current_page_item > a { color: var(--star); }
.links a.btn,
.links .current-menu-item > a.btn { color: #f4f7fb; }
.entry { max-width: 42rem; }
.entry p { color: var(--muted); }
.notice {
  border: 1px solid var(--line);
  background: white;
  padding: 0.9rem 1rem;
  margin-bottom: 1rem;
}
.notice.good { border-color: #b7d4c4; }
.hp-field {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
button.btn { width: auto; }
@media (max-width: 799px) {
  .links.open ul {
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
  }
}
