/* ==========================================================================
   Northtrack Studio — Home page
   Ported from "Northtrack Home.dc.html". Shared foundation is in base.css;
   this file holds only the Home-specific sections.
   ========================================================================== */

@import url("base.css");

/* -------------------------------------------------------------------------- */
/* Hero                                                                       */
/* -------------------------------------------------------------------------- */
.nt-hero {
  border-bottom: 1px solid var(--nt-border);
}
.nt-hero__inner {
  padding-top: 158px;
  padding-bottom: 72px;
}
.nt-eyebrow {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--nt-accent);
  margin-bottom: 22px;
}
.nt-hero__title {
  margin: 0;
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.08;
  font-size: clamp(44px, 7vw, 88px);
  max-width: 980px;
}
.nt-hero__title .muted { color: var(--nt-text-muted); }

/* "Chalk highlight" wrap around the first line — hand-drawn teal SVG behind
   dark text. */
.nt-highlight {
  position: relative;
  display: inline-block;
  white-space: nowrap;
}
.nt-highlight__art {
  position: absolute;
  left: -3.5%;
  top: -11%;
  width: 107%;
  height: 122%;
}
.nt-highlight__art--front { pointer-events: none; }
.nt-highlight__text {
  position: relative;
  color: var(--nt-on-accent);
  padding: 0 22px;
}

.nt-hero__grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr auto;
  gap: 48px;
  margin-top: 52px;
  align-items: end;
}
.nt-hero__lede {
  margin: 0;
  font-family: var(--nt-font-serif);
  font-size: 18px;
  line-height: 1.6;
  color: var(--nt-text-body);
  max-width: 460px;
}

/* Spec sheet: label / value rows with hairline dividers. */
.nt-specs {
  display: flex;
  flex-direction: column;
}
.nt-specs__row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px solid var(--nt-border-row);
  font-size: 13.5px;
}
.nt-specs__row:last-child { border-bottom: none; }
.nt-specs__key { color: var(--nt-text-muted); }
.nt-specs__val { font-weight: 600; }
.nt-specs__val--teal { color: var(--nt-teal); }
.nt-specs__val--accent { color: var(--nt-accent); }
.nt-specs--roomy .nt-specs__row { padding: 14px 0; font-size: 14.5px; }

/* Hero race-plate block. */
.nt-raceplate {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-bottom: 4px;
}
.nt-raceplate__chip {
  font-family: var(--nt-font-display);
  font-size: 46px;
  line-height: 1;
  color: var(--nt-plate-ink);
  background: var(--nt-plate-bg);
  padding: 8px 18px;
  border-radius: 8px;
  box-shadow: 4px 4px 0 var(--nt-accent);
}
.nt-raceplate__caption {
  font-size: 11.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  line-height: 1.5;
  color: var(--nt-text-muted);
}

/* -------------------------------------------------------------------------- */
/* Section scaffolding (Home rhythm)                                          */
/* -------------------------------------------------------------------------- */
.nt-section__inner { padding-top: 92px; padding-bottom: 92px; }

.nt-section__head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 44px;
}
.nt-h2 {
  margin: 0;
  font-weight: 600;
  letter-spacing: -0.03em;
  font-size: clamp(30px, 4.4vw, 48px);
}

/* Two-column editorial grid (web work, studio). */
.nt-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
}
.nt-two-col--top { align-items: start; }
.nt-two-col--center { align-items: center; }

.nt-col-title {
  margin: 0 0 18px;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.06;
  font-size: clamp(28px, 4vw, 44px);
}

/* -------------------------------------------------------------------------- */
/* On the bench — app cards                                                    */
/* -------------------------------------------------------------------------- */
.nt-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--nt-gap-cards);
}
.nt-card {
  display: block;
  color: inherit;
  text-decoration: none;
  border: 1px solid var(--nt-border-card);
  border-radius: var(--nt-radius-card);
  padding: var(--nt-card-pad);
  background: var(--nt-surface-card);
  transition: border-color 0.3s var(--nt-ease), transform 0.3s var(--nt-ease);
}
.nt-card:hover,
.nt-card:focus-visible {
  border-color: var(--nt-border-hover);
  transform: translateY(-3px);
}
.nt-card--teal:hover,
.nt-card--teal:focus-visible { border-color: var(--nt-border-hover-teal); }

.nt-card__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 20px;
}
.nt-card__num {
  font-size: 24px;
  padding: 6px 12px;
  border-radius: 6px;
}
.nt-badge {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--nt-on-accent);
  background: var(--nt-accent);
  padding: 5px 10px;
  border-radius: var(--nt-radius-chip);
}
.nt-badge--web { background: var(--nt-teal); }

.nt-card__title {
  margin: 0 0 6px;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.015em;
}
.nt-tagline {
  margin: 0 0 14px;
  font-family: var(--nt-font-serif);
  font-style: italic;
  font-size: 15px;
  color: var(--nt-text-muted);
}
.nt-card__body {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--nt-text-body);
}

/* -------------------------------------------------------------------------- */
/* Web work — lettered service list                                           */
/* -------------------------------------------------------------------------- */
.nt-list {
  display: flex;
  flex-direction: column;
}
.nt-list__row {
  display: flex;
  align-items: baseline;
  gap: 18px;
  padding: 17px 0;
  border-bottom: 1px solid var(--nt-border-row);
}
.nt-list__row:last-child { border-bottom: none; }
.nt-list__key {
  font-family: var(--nt-font-display);
  font-size: 15px;
  line-height: 1;
  color: var(--nt-plate-ink);
  background: var(--nt-plate-bg);
  padding: 5px 9px;
  border-radius: var(--nt-radius-chip);
  box-shadow: 2px 2px 0 var(--nt-teal);
}
.nt-list__label {
  font-size: 15.5px;
  font-weight: 600;
  flex: 1;
}
.nt-list__note {
  font-family: var(--nt-font-serif);
  font-style: italic;
  font-size: 14px;
  color: var(--nt-text-muted);
}

/* -------------------------------------------------------------------------- */
/* Contact                                                                    */
/* -------------------------------------------------------------------------- */
.nt-contact { border-bottom: none; }
.nt-contact__inner {
  padding-top: 100px;
  padding-bottom: 92px;
  text-align: center;
}
.nt-contact__num {
  display: inline-block;
  font-size: 30px;
  padding: 8px 16px;
  border-radius: 7px;
  margin-bottom: 28px;
}
.nt-contact__title {
  margin: 0 auto 18px;
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.02;
  font-size: clamp(34px, 5.5vw, 64px);
  max-width: 760px;
}
.nt-contact__lede {
  margin: 0 auto 36px;
  max-width: 440px;
  font-family: var(--nt-font-serif);
  font-size: 17px;
  line-height: 1.6;
  color: var(--nt-text-body);
}
.nt-form {
  display: flex;
  gap: 10px;
  max-width: 440px;
  margin: 0 auto 18px;
  flex-wrap: wrap;
  justify-content: center;
}
.nt-input {
  flex: 1;
  min-width: 220px;
  background: rgba(232, 230, 222, 0.07);
  border: 1px solid var(--nt-border-input);
  border-radius: var(--nt-radius-btn);
  padding: 14px 17px;
  color: var(--nt-ink);
  font-size: 15px;
  font-family: var(--nt-font-ui);
  outline: none;
  transition: border-color 0.2s var(--nt-ease);
}
.nt-input::placeholder { color: var(--nt-text-muted); }
.nt-input:focus { border-color: var(--nt-teal); }
.nt-contact__email {
  font-size: 13.5px;
  color: var(--nt-text-muted);
}
.nt-contact__email b { color: var(--nt-teal); font-weight: 600; }

/* -------------------------------------------------------------------------- */
/* Home breakpoint tweaks                                                     */
/* -------------------------------------------------------------------------- */
@media (max-width: 760px) {
  .nt-hero__title { font-size: clamp(30px, 9.5vw, 52px) !important; }
  .nt-hero__inner { padding-top: 130px; }
}
