/* ============================================================
   The Fixins — design tokens
   Navy/charcoal + warm paper background, mint accent from the mark.
   Display: Sora (geometric, echoes the rounded logo letterforms)
   Body: Inter
   ============================================================ */

:root {
  --navy: #2E2D38;
  --ink: #24232C;
  --paper: #F6F4EF;
  --white: #FFFFFF;
  --mint: #2ED9A0;
  --mint-dark: #1FB989;
  --muted: #7B7A85;
  --line: #DEDBD2;

  --font-display: "Sora", sans-serif;
  --font-body: "Inter", sans-serif;

  --max: 1120px;
  --gutter: clamp(20px, 5vw, 64px);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--navy);
  line-height: 1.15;
  margin: 0 0 0.5em;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); font-weight: 700; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 600; }

p { margin: 0 0 1em; max-width: 62ch; }

.muted { color: var(--muted); }

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  padding: 0.85em 1.6em;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }

.btn-primary {
  background: var(--navy);
  color: var(--white);
}
.btn-primary:hover { background: #1E1D26; }

.btn-accent {
  background: var(--mint);
  color: var(--navy);
}
.btn-accent:hover { background: var(--mint-dark); }

.btn-outline {
  background: transparent;
  border-color: var(--navy);
  color: var(--navy);
}
.btn-outline:hover { background: var(--navy); color: var(--white); }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(246, 244, 239, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px var(--gutter);
  max-width: var(--max);
  margin: 0 auto;
}

.nav-logo img { height: 32px; width: auto; }

.nav-links {
  display: flex;
  gap: 2.2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--ink);
  position: relative;
  padding-bottom: 4px;
}

.nav-links a.active,
.nav-links a:hover {
  color: var(--navy);
}

.nav-links a.active::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 2px;
  background: var(--mint);
  border-radius: 2px;
}

.nav-cta { display: flex; align-items: center; gap: 1.5rem; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--navy);
  margin: 5px 0;
  transition: 0.2s;
}

@media (max-width: 860px) {
  .nav-links {
    position: fixed;
    top: 68px; left: 0; right: 0;
    background: var(--paper);
    flex-direction: column;
    gap: 0;
    padding: 8px var(--gutter) 20px;
    border-bottom: 1px solid var(--line);
    transform: translateY(-130%);
    transition: transform 0.25s ease;
  }
  .nav-links.open { transform: translateY(0); }
  .nav-links li { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .nav-links li:last-child { border-bottom: none; }
  .nav-toggle { display: block; }
  .nav-cta .btn-accent { display: none; }
}

/* ---------- Corner-bracket motif (from the mark) ---------- */
.bracket {
  position: relative;
  width: 46px;
  height: 46px;
  flex: none;
}
.bracket::before,
.bracket::after {
  content: "";
  position: absolute;
  background: var(--mint);
}
.bracket::before { top: 0; right: 0; width: 46px; height: 8px; }
.bracket::after { top: 0; right: 0; width: 8px; height: 46px; }

/* ---------- Hero ---------- */
.hero {
  padding: 90px 0 70px;
}
.hero .wrap {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 56px;
  align-items: center;
}
.hero-eyebrow {
  display: flex; align-items: center; gap: 10px;
  color: var(--mint-dark);
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 18px;
}
.hero-eyebrow .dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--mint);
}
.hero p.lede {
  font-size: 1.15rem;
  color: var(--muted);
  max-width: 46ch;
}
.hero-actions { display: flex; gap: 14px; margin-top: 30px; flex-wrap: wrap; }

.hero-panel {
  background: var(--navy);
  border-radius: 20px;
  padding: 36px;
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.hero-panel .bracket { position: absolute; top: 28px; right: 28px; }
.hero-panel .panel-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255,255,255,0.14);
}
.hero-panel .panel-row:last-child { border-bottom: none; }
.hero-panel .panel-row .label { color: rgba(255,255,255,0.65); font-size: 0.92rem; }
.hero-panel .panel-row .value { font-family: var(--font-display); font-weight: 600; font-size: 1.4rem; }

@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; }
}

/* ---------- Sections ---------- */
section { padding: 64px 0; }
.section-head { max-width: 60ch; margin-bottom: 44px; }
.section-head .kicker {
  color: var(--mint-dark);
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 10px;
  display: block;
}

.divider-row {
  display: grid;
  gap: 0;
}
.divider-item {
  padding: 30px 0;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 30px;
  align-items: start;
}
.divider-item:last-child { border-bottom: 1px solid var(--line); }
.divider-item h3 { display: flex; align-items: center; gap: 12px; }
.divider-item .num { color: var(--mint-dark); font-family: var(--font-display); }

@media (max-width: 700px) {
  .divider-item { grid-template-columns: 1fr; gap: 8px; }
}

.cols-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
@media (max-width: 860px) { .cols-3 { grid-template-columns: 1fr; } }

.cta-band {
  background: var(--navy);
  border-radius: 24px;
  padding: 56px var(--gutter);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}
.cta-band h2 { color: var(--white); margin-bottom: 6px; }
.cta-band p { color: rgba(255,255,255,0.7); margin-bottom: 0; }

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 46px 0 30px;
  margin-top: 40px;
}
.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
  margin-bottom: 30px;
}
.footer-grid img { height: 26px; margin-bottom: 10px; }
.footer-links { display: flex; gap: 2rem; list-style: none; padding: 0; margin: 0; }
.footer-bottom {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px;
  padding-top: 20px; border-top: 1px solid var(--line);
  color: var(--muted); font-size: 0.88rem;
}

/* ---------- Page hero (inner pages) ---------- */
.page-hero { padding: 64px 0 20px; }
.page-hero p.lede { font-size: 1.1rem; color: var(--muted); max-width: 56ch; }

/* ---------- Contact page ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 60px;
}
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }

.info-row {
  display: flex;
  gap: 16px;
  padding: 20px 0;
  border-top: 1px solid var(--line);
}
.info-row:last-child { border-bottom: 1px solid var(--line); }
.info-row .label { color: var(--muted); font-size: 0.88rem; min-width: 110px; }
.info-row .value { font-weight: 600; color: var(--navy); }

form.contact-form { display: flex; flex-direction: column; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 0.88rem; color: var(--muted); font-weight: 500; }
.field input, .field textarea {
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1.5px solid var(--line);
  background: var(--white);
  color: var(--ink);
  resize: vertical;
}
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--mint);
}
.form-note { font-size: 0.85rem; color: var(--muted); margin-top: 4px; }

/* ---------- Values list (About) ---------- */
.values-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 34px 50px; }
@media (max-width: 700px) { .values-list { grid-template-columns: 1fr; } }
.values-list h3 { margin-bottom: 8px; }

/* Focus visibility */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--mint-dark);
  outline-offset: 2px;
}

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