/* Northforge Outfitters — site styles. No framework; hand-rolled responsive design. */

:root {
  --paper: oklch(0.965 0.013 92);
  --sand: oklch(0.925 0.02 86);
  --sand-deep: oklch(0.885 0.022 84);
  --line: oklch(0.86 0.015 90);
  --pine: oklch(0.4 0.06 152);
  --pine-deep: oklch(0.285 0.05 152);
  --moss: oklch(0.5 0.08 150);
  --moss-light: oklch(0.7 0.07 150);
  --ink: oklch(0.255 0.022 150);
  --ink-soft: oklch(0.46 0.02 150);
  --gold: oklch(0.76 0.13 73);
  --gold-deep: oklch(0.66 0.135 60);
  --white: oklch(0.99 0.004 92);
  /* legacy aliases so older rules on inner pages keep resolving */
  --amber: var(--gold);
  --bark: oklch(0.5 0.05 70);
  --shadow: 0 18px 40px -14px oklch(0.285 0.05 152 / 0.3);
  --shadow-sm: 0 2px 10px oklch(0.285 0.05 152 / 0.1);
  --radius: 14px;
  --maxw: 1180px;
  --font:
    "Hanken Grotesk", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --font-display:
    "Bricolage Grotesque", "Hanken Grotesk", system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--sand);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--moss);
  text-decoration: none;
}
a:hover {
  color: var(--pine);
  text-decoration: underline;
}

img,
svg {
  max-width: 100%;
  display: block;
}

h1,
h2,
h3 {
  color: var(--pine);
  line-height: 1.2;
  margin: 0 0 0.5em;
  font-weight: 700;
}
h1 {
  font-size: clamp(2rem, 5vw, 3.1rem);
  letter-spacing: -0.5px;
}
h2 {
  font-size: clamp(1.5rem, 3vw, 2.1rem);
}
h3 {
  font-size: 1.25rem;
}
p {
  margin: 0 0 1.1em;
}

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--pine);
  color: var(--sand);
  box-shadow: var(--shadow-sm);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 68px;
}
.brand {
  display: inline-flex;
  align-items: center;
  background: var(--white);
  padding: 6px 14px;
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease;
}
.brand:hover {
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow: var(--shadow-md, 0 6px 16px rgba(0, 0, 0, 0.18));
}
.brand-logo {
  display: block;
  height: 46px;
  width: auto;
}
.brand svg {
  width: 34px;
  height: 34px;
}
.brand small {
  display: block;
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 2px;
  color: var(--moss-light);
  text-transform: uppercase;
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid rgba(244, 239, 230, 0.35);
  color: var(--sand);
  border-radius: 8px;
  padding: 0.45rem 0.6rem;
  font-size: 1.1rem;
  cursor: pointer;
}

.main-nav ul {
  display: flex;
  gap: 0.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.main-nav a {
  display: block;
  color: var(--sand);
  padding: 0.55rem 0.85rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  transition:
    background 0.15s ease,
    color 0.15s ease;
}
.main-nav a:hover {
  background: rgba(244, 239, 230, 0.12);
  color: var(--white);
  text-decoration: none;
}
.main-nav a[aria-current="page"] {
  background: var(--moss);
  color: var(--white);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: linear-gradient(135deg, var(--pine-deep), var(--moss));
  color: var(--sand);
  overflow: hidden;
}
.hero .container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2.5rem;
  align-items: center;
  padding-top: 3.5rem;
  padding-bottom: 3.5rem;
}
.hero h1 {
  color: var(--white);
  margin-bottom: 0.35em;
}
.hero p.lead {
  font-size: 1.18rem;
  color: var(--sand-deep);
  max-width: 36ch;
}
.hero-art {
  filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.25));
}
.eyebrow {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--amber);
  margin-bottom: 0.8rem;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  background: var(--amber);
  color: #2a1c08;
  padding: 0.8rem 1.5rem;
  border-radius: 999px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  transition:
    transform 0.12s ease,
    box-shadow 0.12s ease,
    background 0.12s ease;
  box-shadow: var(--shadow-sm);
}
.btn:hover {
  background: #e89c3c;
  transform: translateY(-2px);
  color: #2a1c08;
  text-decoration: none;
  box-shadow: var(--shadow);
}
.btn-ghost {
  background: transparent;
  color: var(--sand);
  border: 2px solid rgba(244, 239, 230, 0.55);
  box-shadow: none;
}
.btn-ghost:hover {
  background: rgba(244, 239, 230, 0.12);
  color: var(--white);
}
.btn-row {
  display: flex;
  gap: 0.9rem;
  flex-wrap: wrap;
  margin-top: 1.6rem;
}

/* ---------- Sections ---------- */
.section {
  padding: 3.5rem 0;
}
.section-tight {
  padding: 2.5rem 0;
}
.section-alt {
  background: var(--white);
}
.section-head {
  max-width: 60ch;
  margin-bottom: 2rem;
}
.section-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

/* ---------- Feature / card grids ---------- */
.grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}
.card {
  background: var(--white);
  border: 1px solid var(--sand-deep);
  border-radius: var(--radius);
  padding: 1.6rem;
  box-shadow: var(--shadow-sm);
  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.card .icon {
  width: 52px;
  height: 52px;
  margin-bottom: 1rem;
  background: var(--sand);
  border-radius: 12px;
  display: grid;
  place-items: center;
}
.card .icon svg {
  width: 30px;
  height: 30px;
}
.card h3 {
  margin-bottom: 0.35em;
}
.card p {
  margin-bottom: 0;
  color: var(--ink-soft);
}

.section-alt .card {
  background: var(--sand);
}

/* ---------- Service grid ---------- */
.service {
  display: flex;
  flex-direction: column;
}
.service .price {
  margin-top: auto;
  padding-top: 1rem;
  font-weight: 700;
  color: var(--pine);
}
.service .price span {
  font-weight: 500;
  color: var(--ink-soft);
  font-size: 0.9rem;
}

/* ---------- Split content ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
}
.media-frame {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--sand-deep);
}

/* ---------- Stats strip ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1.5rem;
  text-align: center;
}
.stat .num {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--moss);
  line-height: 1;
}
.stat .label {
  color: var(--ink-soft);
  font-size: 0.95rem;
}

/* ---------- Forms ---------- */
.form-card {
  background: var(--white);
  border: 1px solid var(--sand-deep);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
}
.field {
  margin-bottom: 1.2rem;
}
.field label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.35rem;
  color: var(--pine);
}
.field input,
.field textarea,
.field select {
  width: 100%;
  padding: 0.7rem 0.85rem;
  border: 1px solid var(--sand-deep);
  border-radius: 8px;
  font-family: inherit;
  font-size: 1rem;
  background: var(--sand);
  color: var(--ink);
}
.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: none;
  border-color: var(--moss);
  box-shadow: 0 0 0 3px rgba(74, 124, 89, 0.18);
  background: var(--white);
}
.field textarea {
  min-height: 140px;
  resize: vertical;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2.5rem;
  align-items: start;
}
.info-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.info-list li {
  display: flex;
  gap: 0.7rem;
  margin-bottom: 1.1rem;
}
.info-list svg {
  width: 22px;
  height: 22px;
  flex: none;
  color: var(--moss);
  margin-top: 3px;
}

/* ---------- Prose pages (privacy / terms / about) ---------- */
.prose {
  max-width: 75ch;
}
.prose h2 {
  margin-top: 2rem;
}
.prose ul {
  padding-left: 1.2rem;
}
.prose li {
  margin-bottom: 0.4rem;
}
.page-banner {
  background: linear-gradient(135deg, var(--pine), var(--moss));
  color: var(--sand);
  padding: 3rem 0 2.6rem;
}
.page-banner h1 {
  color: var(--white);
  margin-bottom: 0.2em;
}
.page-banner p {
  color: var(--sand-deep);
  margin: 0;
  max-width: 60ch;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--pine-deep);
  color: var(--sand-deep);
  padding: 3rem 0 1.5rem;
  margin-top: 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 2rem;
}
.footer-grid h4 {
  color: var(--sand);
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 0 0 1rem;
}
.footer-grid ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-grid li {
  margin-bottom: 0.55rem;
}
.footer-grid a {
  color: var(--sand-deep);
  font-size: 0.95rem;
}
.footer-grid a:hover {
  color: var(--white);
}
.footer-brand p {
  color: var(--moss-light);
  font-size: 0.92rem;
  max-width: 32ch;
}
.footer-bottom {
  border-top: 1px solid rgba(244, 239, 230, 0.12);
  margin-top: 2.5rem;
  padding-top: 1.4rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--moss-light);
}

/* Visually-hidden honeypot trap links: present in DOM, off-screen for users
   and assistive tech, but discoverable by scrapers that walk the markup. */
.trap-link {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .nav-toggle {
    display: block;
  }
  .main-nav {
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: var(--pine);
    box-shadow: var(--shadow);
    display: none;
  }
  .main-nav.open {
    display: block;
  }
  .main-nav ul {
    flex-direction: column;
    padding: 0.5rem;
    gap: 0.15rem;
  }
  .main-nav a {
    padding: 0.8rem 1rem;
  }

  .hero .container {
    grid-template-columns: 1fr;
  }
  .hero-art {
    max-width: 420px;
    margin: 0 auto;
  }
  .split,
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 520px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .section {
    padding: 2.5rem 0;
  }
}

/* =====================================================================
   Redesign overrides (impeccable, brand register) — loaded last, wins.
   ===================================================================== */
body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
}
h1,
h2,
h3,
.brand-wordmark {
  font-family: var(--font-display);
  letter-spacing: -0.015em;
  color: var(--ink);
}
h1 {
  font-size: clamp(2.6rem, 6vw, 4.4rem);
  line-height: 1.02;
  font-weight: 800;
}
h2 {
  font-size: clamp(1.9rem, 3.4vw, 2.8rem);
  line-height: 1.08;
  font-weight: 700;
}
h3 {
  font-size: 1.3rem;
  font-weight: 700;
}
p {
  max-width: 68ch;
}
.container {
  max-width: var(--maxw);
}

/* ---- Header: light paper, logo as the anchor ---- */
.site-header {
  background: oklch(0.965 0.013 92 / 0.92);
  backdrop-filter: saturate(1.4) blur(8px);
  color: var(--ink);
  border-bottom: 1px solid var(--line);
  box-shadow: none;
}
.site-header .container {
  min-height: clamp(92px, 11vw, 120px);
}
.brand {
  display: inline-flex;
  align-items: center;
  background: none;
  padding: 0;
  border-radius: 0;
  box-shadow: none;
}
.brand:hover {
  transform: none;
  box-shadow: none;
}
.brand-logo {
  height: clamp(70px, 9vw, 98px);
  width: auto;
  display: block;
}
.main-nav a {
  color: var(--pine);
  font-weight: 600;
  font-family: var(--font);
  position: relative;
  border-radius: 0;
  padding: 0.5rem 0.2rem;
  margin: 0 0.7rem;
}
.main-nav ul {
  gap: 0.2rem;
  align-items: center;
}
.main-nav a:hover {
  background: none;
  color: var(--gold-deep);
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.main-nav a:hover::after {
  transform: scaleX(1);
}
.main-nav a[aria-current="page"] {
  background: none;
  color: var(--pine);
}
.main-nav a[aria-current="page"]::after {
  transform: scaleX(1);
}
.nav-toggle {
  color: var(--pine);
  border-color: var(--line);
}

/* ---- Hero: full-bleed photo + pine scrim ---- */
.hero {
  background: var(--pine-deep);
  color: var(--white);
}
.hero .container {
  display: block;
  padding: 0;
  max-width: none;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(
      100deg,
      oklch(0.22 0.045 152 / 0.92) 0%,
      oklch(0.24 0.05 152 / 0.7) 42%,
      oklch(0.3 0.05 152 / 0.25) 75%
    ),
    linear-gradient(0deg, oklch(0.2 0.04 152 / 0.55), transparent 45%);
}
.hero-inner {
  position: relative;
  z-index: 2;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(5rem, 13vh, 8.5rem) clamp(1.2rem, 5vw, 2.5rem);
  min-height: clamp(520px, 78vh, 720px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.hero h1 {
  color: var(--white);
  max-width: 16ch;
  margin: 0 0 1.1rem;
}
.hero-sub {
  font-size: clamp(1.05rem, 1.5vw, 1.3rem);
  line-height: 1.55;
  color: oklch(0.93 0.02 92 / 0.92);
  max-width: 46ch;
}
.hero .eyebrow {
  color: oklch(0.83 0.12 78);
  margin-bottom: 1.1rem;
}

/* ---- Eyebrow / kicker ---- */
.eyebrow {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.74rem;
  font-weight: 700;
  font-family: var(--font);
  color: var(--gold-deep);
}

/* ---- Buttons ---- */
.btn {
  font-family: var(--font);
  background: var(--gold);
  color: oklch(0.26 0.04 70);
  padding: 0.85rem 1.6rem;
  font-weight: 700;
  border-radius: 999px;
}
.btn:hover {
  background: var(--gold-deep);
  color: var(--white);
  transform: translateY(-2px);
}
.btn-ghost {
  background: oklch(1 0 0 / 0.06);
  color: var(--white);
  border: 1.5px solid oklch(1 0 0 / 0.5);
}
.btn-ghost:hover {
  background: oklch(1 0 0 / 0.14);
  color: var(--white);
}
.btn-outline {
  background: transparent;
  color: var(--pine);
  border: 1.5px solid var(--pine);
  box-shadow: none;
}
.btn-outline:hover {
  background: var(--pine);
  color: var(--white);
}

/* ---- "Why" editorial rows (replaces identical card grid) ---- */
.why {
  padding: clamp(4rem, 8vw, 6.5rem) 0;
}
.why-head {
  max-width: 30ch;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}
.why-head h2 {
  margin: 0.4rem 0 0;
}
.why-list {
  display: grid;
  gap: 0;
}
.why-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(1.2rem, 4vw, 3.5rem);
  align-items: start;
  padding: clamp(1.8rem, 3vw, 2.6rem) 0;
  border-top: 1px solid var(--line);
}
.why-item:last-child {
  border-bottom: 1px solid var(--line);
}
.why-num {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.why-item h3 {
  margin: 0 0 0.5rem;
  color: var(--pine);
  font-size: clamp(1.3rem, 2vw, 1.6rem);
}
.why-item p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 1.05rem;
  max-width: 60ch;
}
.why-body {
  display: grid;
  gap: 0.9rem;
}
.why-body .tag {
  align-self: start;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--moss);
  text-transform: uppercase;
}

/* ---- Full-bleed photo band ---- */
.band {
  position: relative;
  color: var(--white);
  isolation: isolate;
  overflow: hidden;
}
.band img.band-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}
.band::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    180deg,
    oklch(0.24 0.05 152 / 0.78),
    oklch(0.2 0.045 152 / 0.86)
  );
}
.band-inner {
  max-width: 56ch;
  margin: 0 auto;
  text-align: center;
  padding: clamp(4.5rem, 12vw, 8rem) clamp(1.2rem, 5vw, 2rem);
}
.band h2 {
  color: var(--white);
  margin: 0.6rem 0 1.2rem;
}
.band p {
  color: oklch(0.92 0.02 92 / 0.9);
  margin: 0 auto 1.8rem;
  font-size: 1.15rem;
}
.band .eyebrow {
  color: oklch(0.83 0.12 78);
}

/* ---- Photo media frame for the approach split ---- */
.media-photo {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 4 / 3;
}
.media-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.split {
  align-items: center;
}
.section-alt {
  background: var(--sand);
}

/* ---- Stats refinement ---- */
.stats .num {
  font-family: var(--font-display);
  color: var(--pine);
}
.stats .num,
.stat .num {
  font-weight: 800;
}

/* ---- Footer ---- */
.site-footer {
  background: var(--pine-deep);
}
.footer-logo {
  height: 64px;
  width: auto;
  margin-bottom: 1rem;
}

/* ---- Responsive ---- */
@media (max-width: 720px) {
  .why-item {
    grid-template-columns: 1fr;
    gap: 0.4rem;
  }
  .why-num {
    font-size: 2rem;
  }
  .main-nav a {
    margin: 0 0.3rem;
  }
}
