/* ─────────────────────────────────────────────────────────────────────────
   www.css — ORYN corporate site
   Extends design_system; never overrides tokens.
   All layout and prose styles for the 8-page corporate presence.
   ───────────────────────────────────────────────────────────────────────── */

/* ── Nav ──────────────────────────────────────────────────────────────── */

.o-topbar__nav a {
  font-size: 13px;
}

.o-topbar__nav a[aria-current="page"] {
  color: var(--text);
  font-weight: 600;
}

/* ── Hero ─────────────────────────────────────────────────────────────── */

.www-hero {
  padding: 120px 0 100px;
}

.www-hero__eyebrow {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted);
  margin-bottom: 24px;
}

.www-hero__h {
  font-size: clamp(34px, 5.5vw, 62px);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -1.5px;
  max-width: 720px;
}

.www-hero__sub {
  font-size: clamp(16px, 2.2vw, 19px);
  color: var(--muted);
  margin-top: 24px;
  max-width: 580px;
  line-height: 1.65;
}

/* ── Sections ─────────────────────────────────────────────────────────── */

.www-section {
  padding: 80px 0;
  border-top: 1px solid var(--line);
}

.www-section--sm {
  padding: 56px 0;
}

.www-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted);
  margin-bottom: 18px;
}

/* ── Typography ───────────────────────────────────────────────────────── */

.www-h2 {
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 700;
  letter-spacing: -0.6px;
  line-height: 1.12;
  max-width: 640px;
  margin-bottom: 20px;
}

/* The one clear sentence that precedes every explanation */
.www-lead {
  font-size: clamp(17px, 2.2vw, 22px);
  font-weight: 600;
  letter-spacing: -0.2px;
  line-height: 1.35;
  max-width: 640px;
  margin-bottom: 20px;
}

.www-prose {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.78;
  max-width: 640px;
}

.www-prose p + p {
  margin-top: 18px;
}

.www-prose a {
  color: var(--text);
  text-underline-offset: 3px;
}

/* ── Beliefs / Principles list ────────────────────────────────────────── */

.www-beliefs {
  margin-top: 48px;
  max-width: 640px;
}

.www-belief {
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 0 24px;
}

.www-belief:first-child {
  border-top: 1px solid var(--line);
}

.www-belief__n {
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
  padding-top: 2px;
  font-variant-numeric: tabular-nums;
}

.www-belief__title {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
}

.www-belief__body {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.72;
}

/* ── Grid ─────────────────────────────────────────────────────────────── */

.www-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  border: 1px solid var(--line);
  margin-top: 40px;
}

.www-grid__cell {
  padding: 28px;
  border-bottom: 1px solid var(--line);
  border-right: 1px solid var(--line);
}

.www-grid__cell h3 {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 8px;
}

.www-grid__cell p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.68;
}

/* ── Two-column layout ────────────────────────────────────────────────── */

.www-two-col {
  display: grid;
  grid-template-columns: 2fr 3fr;
  gap: 80px;
  margin-top: 40px;
}

@media (max-width: 800px) {
  .www-two-col {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

/* ── Fact row ─────────────────────────────────────────────────────────── */

.www-facts {
  display: flex;
  gap: 56px;
  flex-wrap: wrap;
  margin-top: 48px;
  padding-top: 48px;
  border-top: 1px solid var(--line);
}

.www-fact__num {
  font-size: 40px;
  font-weight: 700;
  letter-spacing: -1.5px;
  line-height: 1;
}

.www-fact__label {
  font-size: 13px;
  color: var(--muted);
  margin-top: 6px;
  line-height: 1.45;
}

/* ── Careers: role card ───────────────────────────────────────────────── */

.www-roles {
  margin-top: 40px;
  max-width: 640px;
}

.www-role {
  padding: 20px 24px;
  border: 1px solid var(--line);
  margin-top: -1px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  text-decoration: none;
  color: var(--text);
  transition: background 0.1s;
}

.www-role:hover {
  background: var(--surface-1, rgba(255,255,255,0.03));
}

.www-role__title {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 3px;
}

.www-role__meta {
  font-size: 13px;
  color: var(--muted);
}

.www-role__arrow {
  font-size: 18px;
  color: var(--muted);
  flex-shrink: 0;
}

/* ── Link list (press, open source) ──────────────────────────────────── */

.www-link-list {
  margin-top: 32px;
  max-width: 640px;
}

.www-link-list a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
  text-decoration: none;
  color: var(--text);
  gap: 16px;
}

.www-link-list a:first-child {
  border-top: 1px solid var(--line);
}

.www-link-list a span {
  font-size: 13px;
  color: var(--muted);
  white-space: nowrap;
}

/* ── Contact channels ─────────────────────────────────────────────────── */

.www-contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 2px;
  margin-top: 40px;
}

.www-contact-card {
  padding: 28px;
  border: 1px solid var(--line);
}

.www-contact-card__label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
  margin-bottom: 12px;
}

.www-contact-card__title {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
}

.www-contact-card__body {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: 16px;
}

.www-contact-card a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* ── Code / mono block ────────────────────────────────────────────────── */

.www-code-block {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 20px 24px;
  font-family: var(--font-mono, monospace);
  font-size: 13px;
  color: var(--muted);
  line-height: 1.75;
  max-width: 560px;
  margin-top: 24px;
}

/* ── Quote / highlight ────────────────────────────────────────────────── */

.www-quote {
  border-left: 2px solid var(--line);
  padding-left: 20px;
  margin: 28px 0;
  font-size: 16px;
  color: var(--muted);
  line-height: 1.7;
  max-width: 560px;
  font-style: italic;
}

/* ── Homepage nav cards ───────────────────────────────────────────────── */

.www-nav-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 2px;
  margin-top: 48px;
}

.www-nav-card {
  padding: 24px;
  border: 1px solid var(--line);
  text-decoration: none;
  color: var(--text);
  display: block;
  transition: background 0.12s;
}

.www-nav-card:hover {
  background: var(--surface-1, rgba(255,255,255,0.03));
}

.www-nav-card__title {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 6px;
}

.www-nav-card__desc {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
}

/* ── Footer ───────────────────────────────────────────────────────────── */

.www-footer {
  padding: 64px 0 48px;
  border-top: 1px solid var(--line);
}

.www-footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 40px;
}

.www-footer__brand {
  font-weight: 700;
  margin-bottom: 4px;
}

.www-footer__tagline {
  font-size: 13px;
  color: var(--muted);
}

.www-footer__cols {
  display: flex;
  gap: 56px;
  flex-wrap: wrap;
}

.www-footer__col h4 {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
  margin-bottom: 14px;
}

.www-footer__col a {
  display: block;
  font-size: 14px;
  text-decoration: none;
  color: var(--muted);
  margin-bottom: 10px;
  transition: color 0.1s;
}

.www-footer__col a:hover {
  color: var(--text);
}

.www-footer__copy {
  font-size: 12px;
  color: var(--muted);
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
