/* ---------------------------------------------------------------------------
   32technologies, LLC — site styles

   One stylesheet, no build step, no framework, no JavaScript anywhere.
   Values here are the design handoff's, reproduced literally: where the design
   specified a clamp(), the clamp() is kept rather than resolved to one end.
   There are NO media queries by design — the whole responsive strategy is the
   auto-fit/minmax grid in <main> plus the clamp() values.
--------------------------------------------------------------------------- */

/* --- Tokens --------------------------------------------------------------
   The accent is authored in oklch and falls back to its sRGB approximation.
   The fallback is declared FIRST and unconditionally, so a browser without
   oklch() gets a real colour rather than an invalid declaration; @supports
   then upgrades it. Never collapse these two blocks into one.
-------------------------------------------------------------------------- */
:root {
  --bg: #f6f4f0;
  --ink: #1b1a17;
  --body: #4d4741;
  --muted: #7d7568;
  --card: #fffdfa;
  --card-border: #e4dfd6;
  --divider: #e0dbd2;
  --divider-light: #e9e4db;
  --dash-muted: #c9c2b6;

  --accent: #a25a33;
  --accent-35: rgba(162, 90, 51, 0.35);
  --accent-45: rgba(162, 90, 51, 0.45);

  --font-serif: 'Newsreader', Georgia, serif;
  --font-sans: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --font-mono: 'IBM Plex Mono', ui-monospace, monospace;
}

@supports (color: oklch(0.52 0.11 44)) {
  :root {
    --accent: oklch(0.52 0.11 44);
    --accent-35: oklch(0.52 0.11 44 / 0.35);
    --accent-45: oklch(0.52 0.11 44 / 0.45);
  }
}

/* --- Fonts ---------------------------------------------------------------
   Self-hosted rather than loaded from Google Fonts. That is deliberate: this
   site tells visitors it collects nothing about them, and a webfont CDN would
   hand a third party every visitor's IP address, which would make that claim
   untrue. Same subsets Google serves (latin + latin-ext), same file bytes.

   Newsreader 400 and 500 point at the SAME file — it is a variable font and
   Google's own CSS declares it exactly this way. Do not "fix" the duplication.
-------------------------------------------------------------------------- */
@font-face {
  font-family: 'Newsreader';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/fonts/newsreader-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Newsreader';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/assets/fonts/newsreader-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Newsreader';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/fonts/newsreader-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Newsreader';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/assets/fonts/newsreader-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/fonts/plex-mono-400-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/fonts/plex-mono-400-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/assets/fonts/plex-mono-500-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/assets/fonts/plex-mono-500-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* --- Reset / shell ------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }

body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--ink);
  text-decoration: none;
}

a:hover { color: var(--accent); }

/* The design defines no focus ring. One is added here because the page is
   keyboard-reachable and the product row is a very large link target — losing
   track of focus on it is the accessibility failure this prevents. */
a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 4px;
}

.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--ink);
}

/* Full-bleed accent rule. The two stops are COINCIDENT at 32% — a hard split,
   not a soft gradient. Rust for the first 32%, near-black for the rest; the
   ratio is the company name. */
.accent-rule {
  height: 5px;
  flex: none;
  background: linear-gradient(
    90deg,
    var(--accent) 0%,
    var(--accent) 32%,
    var(--ink) 32%,
    var(--ink) 100%
  );
}

.container {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: clamp(28px, 5vw, 60px) clamp(28px, 6vw, 80px);
  max-width: 1240px;
  width: 100%;
  margin: 0 auto;
}

/* --- Header ------------------------------------------------------------- */
.site-header {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  padding-bottom: clamp(26px, 4vw, 40px);
  border-bottom: 1px solid var(--divider);
}

.monogram {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--ink);
  color: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 17px;
  letter-spacing: -0.02em;
}

.wordmark {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(32px, 4.8vw, 48px);
  letter-spacing: -0.02em;
  line-height: 1;
  margin: 0;
}

.wordmark .llc { color: var(--accent); }

.site-meta {
  margin-left: auto;
  font-family: var(--font-mono);
  font-weight: 400;
  font-size: 12.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

/* The brand row on the secondary pages: same marks, but it is a link home and
   it is NOT the <h1> — the document's own title holds that. */
.brand-link {
  display: flex;
  align-items: center;
  gap: 18px;
}

.brand-link .wordmark { font-size: clamp(24px, 3vw, 32px); }
.brand-link:hover { color: var(--ink); }
.brand-link:hover .wordmark { color: var(--accent); }

/* --- Main: two columns -------------------------------------------------- */
.main {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: clamp(36px, 6vw, 80px);
  align-content: center;
  padding: clamp(44px, 6vh, 76px) 0;
}

/* --- Left: statement ---------------------------------------------------- */
.statement {
  max-width: 34em;
  display: flex;
  flex-direction: column;
  gap: 26px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  font-family: var(--font-mono);
  font-weight: 400;
  font-size: 12.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}

.eyebrow .dash {
  width: 22px;
  height: 2px;
  background: var(--accent);
  flex: none;
}

.tagline {
  margin: 0;
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(28px, 3.6vw, 40px);
  line-height: 1.28;
  letter-spacing: -0.015em;
  text-wrap: pretty;
}

.statement-body {
  margin: 0;
  font-size: 18px;
  line-height: 1.65;
  color: var(--body);
  text-wrap: pretty;
}

/* --- Right: contact card ------------------------------------------------ */
.contact-card {
  align-self: center;
  display: flex;
  flex-direction: column;
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  padding: clamp(28px, 3.4vw, 40px);
  box-shadow:
    0 1px 2px rgba(27, 26, 23, 0.04),
    0 12px 32px -18px rgba(27, 26, 23, 0.18);
}

.card-label {
  font-family: var(--font-mono);
  font-weight: 400;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.contact-block {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-bottom: 28px;
}

.contact-email {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(24px, 2.6vw, 30px);
  letter-spacing: -0.01em;
  border-bottom: 2px solid var(--accent-35);
  padding-bottom: 5px;
  width: fit-content;
  transition: border-bottom-color 140ms ease, color 140ms ease;
}

.contact-email:hover { border-bottom-color: var(--accent); }

.address-block {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 28px;
  border-top: 1px solid var(--divider-light);
}

.address-block address {
  font-style: normal;
  font-size: 17px;
  line-height: 1.68;
  color: var(--body);
}

/* --- Products ----------------------------------------------------------- */
.products {
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding-bottom: clamp(44px, 6vh, 72px);
}

.products .eyebrow { color: var(--muted); }
.products .eyebrow .dash { background: var(--dash-muted); }

/* The entire row is one anchor. Adding a second product is a copy-paste of
   this element — deliberately NOT a grid or a component abstraction; a stack
   of identical rows separated by the section gap is the intended pattern. */
.product {
  display: flex;
  align-items: flex-start;
  gap: clamp(18px, 2.4vw, 28px);
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  padding: clamp(22px, 2.6vw, 30px);
  box-shadow: 0 1px 2px rgba(27, 26, 23, 0.04);
  transition: border-color 140ms ease, box-shadow 140ms ease;
}

/* It rises on hover. It does not translate and it does not scale. */
.product:hover {
  color: var(--ink);
  border-color: var(--accent-45);
  box-shadow:
    0 1px 2px rgba(27, 26, 23, 0.04),
    0 12px 30px -18px rgba(27, 26, 23, 0.22);
}

.product-icon {
  width: 58px;
  height: 58px;
  border-radius: 13px;
  flex: none;
  display: block;
}

.product-text {
  display: flex;
  flex-direction: column;
  gap: 9px;
  flex: 1;
  min-width: 0;
}

.product-title-row {
  display: flex;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
}

.product-name {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(24px, 2.5vw, 29px);
  letter-spacing: -0.01em;
  line-height: 1.1;
}

.product-platform {
  font-family: var(--font-mono);
  font-weight: 400;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.product-desc {
  margin: 0;
  font-size: 17px;
  line-height: 1.6;
  color: var(--body);
  text-wrap: pretty;
  max-width: 56em;
}

.product-cue {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-weight: 400;
  font-size: 12.5px;
  letter-spacing: 0.06em;
  color: var(--accent);
}

.product-cue .arrow { font-size: 14px; }

/* --- Footer ------------------------------------------------------------- */
.site-footer {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: clamp(22px, 3vw, 32px);
  border-top: 1px solid var(--divider);
  font-family: var(--font-mono);
  font-weight: 400;
  font-size: 12.5px;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.footer-links {
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.footer-links a { color: var(--muted); }
.footer-links a:hover { color: var(--accent); }
.footer-links .sep { color: var(--dash-muted); }

/* --- Secondary pages (privacy, terms) ----------------------------------- */
.doc {
  flex: 1;
  padding: clamp(40px, 6vh, 72px) 0;
  max-width: 68ch;
}

.doc h1 {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(30px, 4vw, 42px);
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 0 0 10px;
}

.doc .doc-updated {
  margin: 0 0 36px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.doc h2 {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(20px, 2.2vw, 24px);
  letter-spacing: -0.01em;
  margin: 34px 0 12px;
}

.doc p,
.doc li {
  font-size: 17px;
  line-height: 1.68;
  color: var(--body);
  text-wrap: pretty;
}

.doc p { margin: 0 0 14px; }

.doc ul {
  margin: 0 0 14px;
  padding-left: 22px;
}

.doc li { margin-bottom: 8px; }

.doc a {
  color: var(--ink);
  border-bottom: 1px solid var(--accent-35);
  transition: border-bottom-color 140ms ease, color 140ms ease;
}

.doc a:hover {
  color: var(--accent);
  border-bottom-color: var(--accent);
}
