/* Always North Studio — Cartographer's Palette */
:root {
  --midnight-navy: #0A2540;
  --chart-parchment: #FDF8F0;
  --golden-path: #FFC700;
  --aurora-guide: #00F5D4;
  --deep-current: #005A6F;
  --flare-signal: #D31A00;

  --text-primary: #0A2540;
  --text-muted: #3d5a73;
  --text-on-dark: #FDF8F0;
  --surface: #FDF8F0;
  --surface-elevated: #ffffff;
  --border-soft: rgba(10, 37, 64, 0.12);
  --shadow-soft: 0 8px 32px rgba(10, 37, 64, 0.08);

  --font-heading: "Libre Baskerville", Georgia, "Times New Roman", serif;
  --font-body: "Montserrat", system-ui, -apple-system, sans-serif;

  --max-width: 1100px;
  --nav-height: 4.25rem;
  --radius: 12px;
  --radius-sm: 8px;
  --transition: 0.2s ease;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-primary);
  background-color: var(--surface);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

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

a {
  color: var(--deep-current);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color var(--transition);
}

a:hover {
  color: var(--midnight-navy);
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--aurora-guide);
  outline-offset: 3px;
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.3;
  color: var(--midnight-navy);
}

h1 { font-size: clamp(2rem, 4.5vw, 3rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: 1rem; }
h3 { font-size: 1.25rem; margin-bottom: 0.5rem; }

p {
  margin-bottom: 1rem;
}

p:last-child {
  margin-bottom: 0;
}

.container {
  width: min(100% - 2.5rem, var(--max-width));
  margin-inline: auto;
}

/* —— Navigation —— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(253, 248, 240, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-soft);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--nav-height);
  gap: 1rem;
}

.nav-brand {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--midnight-navy);
  text-decoration: none;
  letter-spacing: -0.02em;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-brand:hover {
  color: var(--deep-current);
}

.brand-mark {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--aurora-guide);
  box-shadow: 0 0 0 3px rgba(0, 245, 212, 0.25);
  flex-shrink: 0;
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-sm);
  padding: 0.45rem 0.65rem;
  cursor: pointer;
  color: var(--midnight-navy);
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem 1.5rem;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.35rem 0;
  border-bottom: 2px solid transparent;
  transition: color var(--transition), border-color var(--transition);
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--midnight-navy);
  border-bottom-color: var(--golden-path);
}

/* —— Main —— */
main {
  flex: 1;
}

/* —— Hero —— */
.hero {
  padding: clamp(3rem, 8vw, 5.5rem) 0 clamp(2.5rem, 6vw, 4rem);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 90% 10%, rgba(0, 245, 212, 0.08), transparent),
    radial-gradient(ellipse 50% 40% at 5% 80%, rgba(255, 199, 0, 0.1), transparent);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  max-width: 40rem;
}

.eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--deep-current);
  margin-bottom: 1rem;
}

.hero h1 {
  margin-bottom: 0.75rem;
}

.tagline {
  font-family: var(--font-heading);
  font-size: clamp(1.15rem, 2.5vw, 1.4rem);
  font-style: italic;
  font-weight: 400;
  color: var(--deep-current);
  margin-bottom: 1.5rem;
  line-height: 1.5;
}

.hero-lead {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  max-width: 36rem;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
}

/* —— Buttons —— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.7rem 1.35rem;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  cursor: pointer;
  transition: background var(--transition), color var(--transition), border-color var(--transition), transform var(--transition);
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--midnight-navy);
  color: var(--text-on-dark);
}

.btn-primary:hover {
  background: var(--deep-current);
  color: var(--text-on-dark);
}

.btn-secondary {
  background: transparent;
  color: var(--midnight-navy);
  border-color: rgba(10, 37, 64, 0.25);
}

.btn-secondary:hover {
  border-color: var(--midnight-navy);
  color: var(--midnight-navy);
  background: rgba(10, 37, 64, 0.04);
}

.btn-accent {
  background: var(--golden-path);
  color: var(--midnight-navy);
}

.btn-accent:hover {
  background: #e6b400;
  color: var(--midnight-navy);
}

/* —— Sections —— */
.section {
  padding: clamp(2.5rem, 6vw, 4rem) 0;
}

.section-alt {
  background: rgba(10, 37, 64, 0.03);
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
}

.section-header {
  margin-bottom: 2rem;
  max-width: 36rem;
}

.section-header p {
  color: var(--text-muted);
}

/* —— Cards / angles —— */
.angle-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.angle-card {
  background: var(--surface-elevated);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow-soft);
}

.angle-card .card-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 1rem;
  font-family: var(--font-heading);
}

.angle-card.human .card-icon {
  background: rgba(0, 90, 111, 0.12);
  color: var(--deep-current);
}

.angle-card.pet .card-icon {
  background: rgba(255, 199, 0, 0.2);
  color: #8a6a00;
}

.angle-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* —— Product cards —— */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.product-card {
  background: var(--surface-elevated);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  min-height: 220px;
}

.product-card .badge {
  align-self: flex-start;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  background: rgba(0, 245, 212, 0.15);
  color: var(--deep-current);
  margin-bottom: 1rem;
}

.product-card p {
  color: var(--text-muted);
  flex: 1;
}

/* —— Page intro —— */
.page-intro {
  padding: clamp(2.5rem, 6vw, 3.5rem) 0 0;
}

.page-intro .lead {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 38rem;
  margin-top: 0.75rem;
}

/* —— Prose / about —— */
.prose {
  max-width: 40rem;
}

.prose p {
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

.prose strong {
  color: var(--midnight-navy);
  font-weight: 600;
}

.highlight-box {
  margin-top: 2rem;
  padding: 1.5rem 1.75rem;
  border-left: 4px solid var(--aurora-guide);
  background: rgba(0, 245, 212, 0.06);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  max-width: 40rem;
}

.highlight-box p {
  color: var(--text-primary);
  margin: 0;
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 1.05rem;
}

/* —— Waitlist / coming soon —— */
.waitlist-panel {
  max-width: 32rem;
  background: var(--surface-elevated);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow-soft);
  margin-top: 1.5rem;
}

.waitlist-panel .status {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--deep-current);
  margin-bottom: 1rem;
}

.waitlist-panel .status::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--golden-path);
}

.waitlist-panel p {
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

/* —— Contact —— */
.contact-card {
  max-width: 28rem;
  background: var(--midnight-navy);
  color: var(--text-on-dark);
  border-radius: var(--radius);
  padding: 2.25rem;
  margin-top: 1.5rem;
  box-shadow: var(--shadow-soft);
}

.contact-card h2 {
  color: var(--text-on-dark);
  font-size: 1.35rem;
  margin-bottom: 0.75rem;
}

.contact-card p {
  color: rgba(253, 248, 240, 0.8);
  margin-bottom: 1.5rem;
}

.contact-card a.mailto {
  color: var(--aurora-guide);
  font-weight: 600;
  font-size: 1.1rem;
  text-decoration: none;
  word-break: break-all;
}

.contact-card a.mailto:hover {
  color: var(--golden-path);
}

/* —— Soft CTA band —— */
.cta-band {
  padding: clamp(2.5rem, 5vw, 3.5rem) 0;
  text-align: center;
}

.cta-band h2 {
  margin-bottom: 0.75rem;
}

.cta-band p {
  color: var(--text-muted);
  max-width: 28rem;
  margin: 0 auto 1.5rem;
}

.cta-band .cta-row {
  justify-content: center;
}

/* —— Footer —— */
.site-footer {
  background: var(--midnight-navy);
  color: rgba(253, 248, 240, 0.75);
  padding: 2.5rem 0 2rem;
  margin-top: auto;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem 2rem;
  justify-content: space-between;
  align-items: flex-start;
}

.footer-brand {
  font-family: var(--font-heading);
  color: var(--text-on-dark);
  font-size: 1rem;
  margin-bottom: 0.35rem;
}

.footer-tagline {
  font-size: 0.85rem;
  font-style: italic;
  max-width: 18rem;
  line-height: 1.5;
}

.footer-nav {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
}

.footer-nav a {
  color: rgba(253, 248, 240, 0.7);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
}

.footer-nav a:hover {
  color: var(--aurora-guide);
}

.footer-meta {
  width: 100%;
  margin-top: 1.75rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(253, 248, 240, 0.12);
  font-size: 0.8rem;
  color: rgba(253, 248, 240, 0.5);
}

/* —— Compass decorative line —— */
.compass-line {
  height: 2px;
  width: 3rem;
  background: linear-gradient(90deg, var(--golden-path), var(--aurora-guide));
  margin: 1.25rem 0 1.5rem;
  border: none;
}

/* —— Mobile nav —— */
@media (max-width: 720px) {
  .nav-toggle {
    display: inline-flex;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: var(--nav-height);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--chart-parchment);
    border-bottom: 1px solid var(--border-soft);
    padding: 0.75rem 1.25rem 1rem;
    box-shadow: var(--shadow-soft);
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-links a {
    padding: 0.75rem 0.25rem;
    border-bottom: 1px solid var(--border-soft);
  }

  .nav-links li:last-child a {
    border-bottom: none;
  }

  .site-header {
    position: relative;
  }

  .nav {
    position: relative;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    transition: none !important;
  }
}
