/* Zomo Labs LLC company page. One stylesheet, no scripts, fonts served from ./fonts. */

@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/cormorant-garamond-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-style: italic; font-weight: 400; font-display: swap; src: url("fonts/cormorant-garamond-latin-400-italic.woff2") format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 500; font-display: swap; src: url("fonts/cormorant-garamond-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "DM Sans"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/dm-sans-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "DM Sans"; font-style: normal; font-weight: 500; font-display: swap; src: url("fonts/dm-sans-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "DM Sans"; font-style: normal; font-weight: 600; font-display: swap; src: url("fonts/dm-sans-latin-600-normal.woff2") format("woff2"); }

:root {
  --bg: #f6f3ee;
  --surface: #fbf9f5;
  --ink: #1c1a17;
  --muted: #625c53;
  --line: #dcd6cb;
  --accent: #2c5a4d;
  --accent-ink: #f6f3ee;
  --live-bg: #dcebe4;
  --live-ink: #1f4a3e;
  --dev-bg: #ece6da;
  --dev-ink: #5c5448;
  --display: "Cormorant Garamond", "Iowan Old Style", Georgia, serif;
  --body: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #141311;
    --surface: #1b1a17;
    --ink: #ece7de;
    --muted: #a8a195;
    --line: #2f2c27;
    --accent: #8fc4b0;
    --accent-ink: #10231d;
    --live-bg: #1d3a31;
    --live-ink: #a9dcc8;
    --dev-bg: #2a2722;
    --dev-ink: #b9b1a3;
  }
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

.wrap { width: 100%; max-width: 920px; margin: 0 auto; padding: 0 24px; }

a { color: inherit; text-decoration-color: var(--accent); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--accent); }
a:focus-visible, .button:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 3px; }

.skip { position: absolute; left: -9999px; top: 0; background: var(--ink); color: var(--bg); padding: 10px 16px; z-index: 10; }
.skip:focus { left: 16px; top: 16px; }

/* Header */
.top { border-bottom: 1px solid var(--line); }
.top-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 18px; padding-bottom: 18px; flex-wrap: wrap; }
.mark { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--display); font-size: 24px; font-weight: 500; letter-spacing: 0.01em; }
.mark svg { color: var(--accent); flex: none; }
nav { display: flex; gap: 24px; }
nav a { font-size: 13px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; text-decoration: none; color: var(--muted); }
nav a:hover { color: var(--accent); }

/* Hero */
.hero { padding-top: clamp(56px, 11vw, 120px); padding-bottom: clamp(48px, 9vw, 96px); }
.eyebrow { margin: 0 0 16px; font-size: 12px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--accent); }
h1 { margin: 0 0 24px; font-family: var(--display); font-weight: 400; font-size: clamp(40px, 7.4vw, 76px); line-height: 1.04; letter-spacing: -0.015em; max-width: 15ch; text-wrap: balance; }
h1 em { font-style: italic; color: var(--accent); }
.lede { margin: 0 0 32px; max-width: 58ch; font-size: clamp(18px, 2.2vw, 20px); color: var(--muted); }
.hero-links, .product-links { display: flex; align-items: center; flex-wrap: wrap; gap: 14px 24px; margin: 0; }

.button { display: inline-block; padding: 13px 24px; background: var(--accent); color: var(--accent-ink); border-radius: 4px; text-decoration: none; font-size: 14px; font-weight: 600; letter-spacing: 0.04em; }
.button:hover { color: var(--accent-ink); filter: brightness(1.08); }
.text-link { font-size: 15px; font-weight: 500; }

/* Sections */
.section { padding-top: clamp(48px, 8vw, 88px); padding-bottom: clamp(48px, 8vw, 88px); border-top: 1px solid var(--line); }
.section-head { margin-bottom: 28px; }
h2 { margin: 0; font-family: var(--display); font-weight: 500; font-size: clamp(32px, 5vw, 46px); line-height: 1.1; letter-spacing: -0.01em; }
.prose { max-width: 62ch; }
.prose p { margin: 0 0 18px; }
.prose p:last-child { margin-bottom: 0; }

.principles { list-style: none; margin: 44px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 0; border-top: 1px solid var(--line); }
.principles li { padding: 26px 28px 26px 0; border-bottom: 1px solid var(--line); }
.principles h3 { margin: 0 0 8px; font-family: var(--display); font-weight: 500; font-size: 25px; line-height: 1.2; }
.principles p { margin: 0; color: var(--muted); font-size: 16px; }

/* Products */
.product { background: var(--surface); border: 1px solid var(--line); border-radius: 8px; padding: clamp(24px, 4vw, 40px); }
.product + .product { margin-top: 20px; }
.product-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 10px; }
.product h3 { margin: 0; font-family: var(--display); font-weight: 500; font-size: clamp(30px, 4.4vw, 40px); line-height: 1.1; }
.product p { margin: 0 0 16px; max-width: 64ch; }
.product-line { font-family: var(--display); font-style: italic; font-size: 23px; line-height: 1.35; color: var(--muted); }
.product.quiet { background: transparent; border-style: dashed; }
.product.quiet h3 { font-size: clamp(24px, 3.4vw, 30px); }
.product.quiet p { margin-bottom: 0; color: var(--muted); }

.status { flex: none; padding: 5px 12px; border-radius: 999px; font-size: 12px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; }
.status.live { background: var(--live-bg); color: var(--live-ink); }
.status.dev { background: var(--dev-bg); color: var(--dev-ink); }

.facts { margin: 0 0 26px; padding: 0; list-style: none; max-width: 64ch; }
.facts li { position: relative; padding: 9px 0 9px 22px; border-top: 1px solid var(--line); font-size: 16px; color: var(--muted); }
.facts li:last-child { border-bottom: 1px solid var(--line); }
.facts li::before { content: ""; position: absolute; left: 2px; top: 19px; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }

/* Footer */
.foot { border-top: 1px solid var(--line); padding: 28px 0 40px; }
.foot-row { display: flex; justify-content: space-between; gap: 8px 32px; flex-wrap: wrap; }
.foot p { margin: 0; font-size: 13px; color: var(--muted); }

@media (max-width: 520px) {
  body { font-size: 16px; }
  nav { gap: 18px; }
  .principles li { padding-right: 0; }
}

/* Company block in Contact, and footer links */
.company { font-style: normal; margin-top: 22px; padding: 18px 20px; border: 1px solid var(--line); border-radius: 4px; line-height: 1.7; font-size: 15px; }
.foot-links { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.foot-links a { color: inherit; }
