/* Ordelvio Labs (ordelvio.com destination 04). Hub-family look: black field,
   Jost display, Inter text, pale steel accent. No inline style anywhere. */

@font-face {
  font-family: Jost;
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/assets/fonts/jost-100-900-normal-latin.woff2") format("woff2");
}

@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/assets/fonts/inter-100-900-normal-latin.woff2") format("woff2");
}

:root {
  color-scheme: dark;
  --paper: #0a0b0b;
  --panel: #111314;
  --ink: #f1ebe7;
  --subtle: #aaa3a0;
  --rule: rgba(236, 224, 218, .16);
  --accent: #cfd8e3;
  --accent-soft: rgba(207, 216, 227, .12);
  --margin: 32px;
  --cursor: url("/assets/ordelvio-pointer.svg?v=20261002-115") 8 6, auto;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

* { box-sizing: border-box; }

html, body { margin: 0; background: var(--paper); }

body {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  overflow-x: clip;
  line-height: 1.55;
}

@media (hover: hover) and (pointer: fine) {
  html, body, a, button, summary { cursor: var(--cursor); }
}

h1, h2, h3, p, ul { margin: 0; }

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

a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 5px;
  border-radius: 2px;
}

::selection { background: var(--accent); color: var(--paper); }

.wrap {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--margin);
}

/* Masthead: the hub's hairline header with the master logo leading home. */
.masthead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  height: 98px;
  border-bottom: 1px solid var(--rule);
}

.masthead-brand { display: block; padding: 8px 0; }

.masthead-brand img {
  display: block;
  width: 156px;
  max-width: 100%;
  height: auto;
}

.back {
  font-size: 14px;
  letter-spacing: .02em;
  color: var(--subtle);
  transition: color .2s ease;
}

.back:hover { color: var(--accent); }

/* Hero */
.hero { padding-top: clamp(56px, 11vh, 132px); padding-bottom: clamp(40px, 7vh, 80px); }

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 14px;
  font-size: 13px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--subtle);
}

.hero-index { color: var(--accent); font-variant-numeric: tabular-nums; }

.hero-node {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 4px var(--accent), 0 0 14px var(--accent);
}

.hero-title {
  margin-top: 22px;
  font-family: Jost, Inter, system-ui, sans-serif;
  font-weight: 300;
  font-size: clamp(44px, 7.4vw, 104px);
  line-height: 1;
  letter-spacing: -.01em;
}

.hero-title span { color: var(--accent); }

.hero-text {
  max-width: 44rem;
  margin-top: 26px;
  font-size: clamp(17px, 1.6vw, 20px);
  color: var(--ink);
}

.hero-line { margin-top: 14px; color: var(--subtle); font-size: 15px; }

.notice {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  max-width: 52rem;
  margin-top: 36px;
  padding: 16px 20px;
  border: 1px solid var(--rule);
  border-left: 2px solid var(--accent);
  background: var(--accent-soft);
  font-size: 15px;
  color: var(--ink);
}

.notice strong { color: var(--accent); font-weight: 600; }

/* Project grid */
.projects { padding-bottom: clamp(64px, 10vh, 120px); }

.projects-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding: 0 0 18px;
  margin-bottom: 28px;
  border-bottom: 1px solid var(--rule);
}

.projects-title {
  font-family: Jost, Inter, system-ui, sans-serif;
  font-weight: 400;
  font-size: 22px;
  letter-spacing: .02em;
}

.projects-count { color: var(--subtle); font-size: 14px; }

.grid {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  background: var(--panel);
  border: 1px solid var(--rule);
  border-radius: 10px;
  overflow: hidden;
  transition: border-color .25s ease, transform .25s ease;
}

.card:hover { border-color: rgba(207, 216, 227, .5); transform: translateY(-2px); }

.card-shot {
  display: block;
  aspect-ratio: 16 / 10;
  background: #16191b;
  border-bottom: 1px solid var(--rule);
  overflow: hidden;
}

.card-shot img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.card-shot-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  font-family: Jost, Inter, system-ui, sans-serif;
  font-size: 28px;
  letter-spacing: .04em;
  color: var(--accent);
  background: radial-gradient(circle at 30% 20%, rgba(207, 216, 227, .14), transparent 60%), #16191b;
}

.card-body {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  gap: 12px;
  padding: 20px 22px 22px;
}

.badge {
  align-self: flex-start;
  padding: 3px 10px;
  border: 1px solid rgba(207, 216, 227, .4);
  border-radius: 999px;
  font-size: 11.5px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--accent);
}

.card-name {
  font-family: Jost, Inter, system-ui, sans-serif;
  font-weight: 400;
  font-size: 26px;
  line-height: 1.1;
}

.card-domain { margin-top: -6px; font-size: 14px; color: var(--subtle); }

.card-tagline { font-size: 16px; color: var(--ink); font-weight: 500; }

.card-intro { font-size: 15px; color: var(--subtle); }

.tags {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.tags li {
  padding: 2px 9px;
  border-radius: 4px;
  background: rgba(236, 224, 218, .07);
  font-size: 12.5px;
  color: var(--subtle);
}

.visit {
  margin-top: auto;
  padding-top: 8px;
  align-self: flex-start;
  display: inline-flex;
  gap: 8px;
  align-items: center;
  font-size: 15px;
  font-weight: 500;
  color: var(--accent);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease;
}

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

/* Footer */
.footer { margin-top: auto; border-top: 1px solid var(--rule); }

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 24px;
  padding-top: 26px;
  padding-bottom: 32px;
  font-size: 14px;
  color: var(--subtle);
}

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

/* 404 */
.missing { padding-top: clamp(80px, 16vh, 180px); padding-bottom: clamp(80px, 16vh, 180px); }
.missing .hero-text a { color: var(--accent); border-bottom: 1px solid var(--accent); }

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

@media (max-width: 680px) {
  :root { --margin: 16px; }
  .masthead { height: 76px; }
  .masthead-brand img { width: 124px; }
  .grid { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .card-body { padding: 18px 18px 20px; }
  .notice { padding: 14px 16px; }
  .projects-head { flex-direction: column; gap: 4px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .card:hover { transform: none; }
}

/* Domain register */
.register { padding-block: clamp(48px, 8vw, 96px); }
.register-head { margin-bottom: 24px; }
.register-head h2 { font-family: "Jost", system-ui, sans-serif; font-weight: 500; font-size: clamp(28px, 4vw, 40px); margin: 0 0 8px; }
.register-note { margin: 0; color: rgba(236, 238, 240, .66); }
.register-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid rgba(207, 216, 227, .16); border-radius: 14px; }
.register-table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 15px; }
.register-table th, .register-table td { text-align: left; padding: 12px 16px; border-bottom: 1px solid rgba(207, 216, 227, .10); vertical-align: middle; }
.register-table thead th { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: rgba(236, 238, 240, .56); font-weight: 500; }
.register-table tbody tr:last-child th, .register-table tbody tr:last-child td { border-bottom: 0; }
.register-table tbody th { font-weight: 500; }
.register-table a { color: #cfd8e3; text-decoration: none; }
.register-table a:hover, .register-table a:focus-visible { text-decoration: underline; }
.state { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: 12px; letter-spacing: .04em; border: 1px solid currentColor; }
.state-live { color: #98d1bb; }
.state-sign-in { color: #e6d18e; }
.state-no-site { color: rgba(236, 238, 240, .5); }
.badge-private { color: #e6d18e; border-color: rgba(230, 209, 142, .5); }
