/* ==========================================================================
   Tilted Axis — placeholder grayscale stylesheet
   Deliberately colorless: real brand palette/type lands with the brand kit.
   Swap the tokens below and every page updates - nothing else should need
   to change when that happens.
   ========================================================================== */

:root {
  --ink: #17181a;
  --body-text: #2b2d31;
  --muted: #6b6f76;
  --border: #dfe1e5;
  --surface: #ffffff;
  --bg: #f5f5f6;
  --bg-soft: #ececee;

  --font-display: "Inter", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Inter", "Helvetica Neue", Arial, sans-serif;

  --max-width: 1080px;
  --radius: 10px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

body {
  background: var(--bg);
  color: var(--body-text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  margin: 0 0 0.5em;
  color: var(--ink);
}

h1 {
  font-size: clamp(2.1rem, 4.6vw, 3.1rem);
}

h2 {
  font-size: clamp(1.5rem, 2.8vw, 2rem);
}

p {
  margin: 0 0 1em;
}

.eyebrow {
  font-family: var(--font-display);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 2px;
}

/* ==========================================================================
   Header / Nav
   ========================================================================== */

.site-header {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  position: relative;
  z-index: 50;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.6em;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: -0.01em;
}

.brand__mark {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: var(--ink);
  display: grid;
  place-items: center;
  color: var(--surface);
  font-weight: 800;
  font-size: 1rem;
  transform: rotate(-6deg);
  flex-shrink: 0;
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  background: none;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--ink);
  font-size: 1.3rem;
  line-height: 1;
  padding: 6px 12px;
  cursor: pointer;
}

.nav-menu {
  display: flex;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-menu a {
  text-decoration: none;
  color: var(--body-text);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 6px 2px;
  position: relative;
}

.nav-menu a.is-active {
  color: var(--ink);
}

.nav-menu a.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -4px;
  height: 2px;
  background: var(--ink);
}

@media (max-width: 760px) {
  .nav-toggle {
    display: inline-flex;
    margin-left: auto;
  }

  .nav-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 60;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
    flex-direction: column;
    gap: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.25s ease;
  }

  .nav-menu.is-open {
    max-height: calc(100vh - 76px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .nav-menu a {
    padding: 14px 24px;
    display: block;
    border-top: 1px solid var(--border);
  }
}

/* ==========================================================================
   Hero / generic page header
   ========================================================================== */

.hero {
  padding: 88px 0 64px;
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}

.hero .eyebrow {
  margin-bottom: 14px;
  display: block;
}

.hero p.lede {
  max-width: 560px;
  color: var(--muted);
  font-size: 1.1rem;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.button {
  display: inline-block;
  background: var(--ink);
  color: var(--surface);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 700;
  padding: 13px 24px;
  border-radius: var(--radius);
  border: 1px solid var(--ink);
  cursor: pointer;
  font-family: var(--font-body);
}

.button:hover {
  background: #000;
}

.button.secondary {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--border);
}

.button.secondary:hover {
  border-color: var(--ink);
}

/* ==========================================================================
   Sections / cards
   ========================================================================== */

.section {
  padding: 72px 0;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}

@media (max-width: 860px) {
  .card-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 620px) {
  .card-grid {
    grid-template-columns: 1fr;
  }
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
}

.card h3 {
  font-size: 1.1rem;
  margin: 6px 0 10px;
}

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

/* ==========================================================================
   Blog listing / coming-soon state (shared pattern with holidays "coming
   soon" - a bordered card with an eyebrow, heading, lede and email capture)
   ========================================================================== */

.coming-soon {
  max-width: 640px;
  padding: 44px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 14px;
}

.coming-soon .lede {
  color: var(--muted);
  font-size: 1.05rem;
}

.notify-form {
  margin-top: 24px;
}

.notify-field {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.notify-field input {
  flex: 1 1 240px;
  width: auto;
  min-width: 0;
  padding: 13px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.95rem;
  background: var(--surface);
  color: var(--body-text);
}

.notify-field input.has-error {
  border-color: var(--ink);
}

.notify-field .button {
  margin-top: 0;
  padding: 13px 26px;
  white-space: nowrap;
}

.notify-status {
  margin: 14px 0 0;
  font-size: 0.92rem;
  font-weight: 600;
  min-height: 1.2em;
  color: var(--ink);
}

.notify-fineprint {
  margin: 12px 0 0;
  font-size: 0.82rem;
  color: var(--muted);
}

/* ==========================================================================
   Contact page
   ========================================================================== */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

@media (max-width: 760px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

.contact-block {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
}

.contact-block h3 {
  font-size: 1.05rem;
  margin-bottom: 6px;
}

.contact-block p {
  color: var(--muted);
  margin-bottom: 4px;
}

.contact-block a {
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
}

.contact-block a:hover {
  text-decoration: underline;
}

.field {
  margin-bottom: 18px;
}

.field label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 6px;
}

.field input,
.field textarea,
.field select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.95rem;
  background: var(--surface);
  color: var(--body-text);
}

.field textarea {
  min-height: 130px;
  resize: vertical;
}

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

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 28px 0;
}

.site-footer .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  color: var(--muted);
  font-size: 0.88rem;
}

.site-footer a {
  text-decoration: none;
  color: var(--muted);
}

.site-footer a:hover {
  color: var(--ink);
}
