/* Eloy Ventures — site styles. Single committed look: cream ground, navy type, gold accent. */
@font-face {
  font-family: "Inter";
  src: url("/fonts/InterVariable.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --navy: #0B1B3A;
  --navy-deep: #071229;
  --gold: #D9A441;
  --gold-ink: #8A6414;
  --cream: #F6F3EC;
  --paper: #FFFFFF;
  --ink: #1A2238;
  --slate: #4A5266;
  --muted: #7A7F8C;
  --line: #E3DED2;
  --radius: 18px;
  --font: "Inter", -apple-system, "SF Pro Text", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --measure: 62ch;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--cream);
  font-feature-settings: "cv11", "ss01";
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--gold-ink); }
h1, h2, h3 { color: var(--navy); line-height: 1.15; letter-spacing: -0.01em; margin: 0 0 0.5em; }
h1 { font-size: clamp(2.2rem, 5.5vw, 3.6rem); font-weight: 650; letter-spacing: -0.025em; }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 620; }
h3 { font-size: 1.2rem; font-weight: 620; }
p { margin: 0 0 1em; max-width: var(--measure); }
.lede { font-size: 1.2rem; color: var(--slate); }
.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 650;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-ink);
  margin-bottom: 0.9rem;
}

.wrap { width: min(1080px, 100% - 2.5rem); margin-inline: auto; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 1rem; top: 1rem; background: var(--paper); padding: .5rem 1rem; z-index: 10; }

/* header */
.site-header { padding: 1.4rem 0; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; }
.brand img { height: 34px; width: auto; }
.nav { display: flex; gap: 1.6rem; font-weight: 540; font-size: 0.98rem; }
.nav a { text-decoration: none; }
.nav a:hover { text-decoration: underline; }

/* hero */
.hero { padding: 4rem 0 3.5rem; }
.hero .mark { width: 96px; margin-bottom: 1.8rem; }
.hero p { max-width: 58ch; }
.actions { display: flex; gap: 0.9rem; flex-wrap: wrap; margin-top: 1.8rem; }
.btn {
  display: inline-block;
  padding: 0.8rem 1.3rem;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  border: 1.5px solid var(--navy);
  color: var(--navy);
  background: transparent;
  transition: background .15s, color .15s;
}
.btn.primary { background: var(--navy); color: var(--cream); }
.btn.primary:hover { background: var(--navy-deep); color: #fff; }
.btn:hover { background: rgba(11, 27, 58, 0.06); color: var(--navy); }

/* sections */
section { padding: 3.5rem 0; }
section + section { border-top: 1px solid var(--line); }
.grid { display: grid; gap: 1.4rem; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.card p { max-width: none; }
.card .icon { width: 64px; height: 64px; border-radius: 15px; margin-bottom: 0.4rem; }
.card .meta { font-size: 0.9rem; color: var(--muted); margin: 0; }
.card .links { display: flex; flex-wrap: wrap; gap: 0.4rem 1.1rem; font-size: 0.95rem; margin-top: auto; padding-top: 0.6rem; }
.card.soon { background: transparent; border-style: dashed; }
.card.soon .icon { border: 1.5px dashed var(--line); background: transparent; }

.principles { display: grid; gap: 2rem; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.principles h3 { margin-bottom: 0.3em; }
.principles p { max-width: none; color: var(--slate); }

/* company details */
.facts {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 0.6rem 1.6rem;
  margin: 0;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem 1.6rem;
}
.facts dt { font-weight: 600; color: var(--navy); }
.facts dd { margin: 0; color: var(--ink); }
.facts address { font-style: normal; }
@media (max-width: 560px) {
  .facts { grid-template-columns: 1fr; gap: 0.2rem; }
  .facts dt { margin-top: 0.7rem; }
}

/* long-form pages */
.page { padding: 2.5rem 0 4rem; }
.page h1 { font-size: clamp(2rem, 4.5vw, 2.8rem); }
.page h2 { font-size: 1.35rem; margin-top: 2.2rem; }
.page ul { padding-left: 1.2rem; max-width: var(--measure); }
.page li { margin-bottom: 0.4em; }
.page .updated { color: var(--muted); font-size: 0.95rem; }
.page dl.facts { margin-top: 1rem; }
.notice {
  background: var(--paper);
  border-left: 4px solid var(--gold);
  border-radius: 0 12px 12px 0;
  padding: 1rem 1.2rem;
  max-width: var(--measure);
}
.notice p:last-child { margin-bottom: 0; }

/* brand page */
.swatches { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
.swatch { border-radius: 14px; padding: 1rem; min-height: 110px; display: flex; flex-direction: column; justify-content: flex-end; font-size: 0.9rem; border: 1px solid var(--line); }
.swatch code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 0.85rem; }
.assets { display: grid; gap: 1.2rem; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.asset { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--paper); }
.asset .preview { display: grid; place-items: center; padding: 1.6rem; min-height: 150px; }
.asset .preview.dark { background: var(--navy); }
.asset .preview img { max-height: 90px; width: auto; }
.asset .files { padding: 0.9rem 1.1rem; font-size: 0.9rem; display: flex; flex-wrap: wrap; gap: 0.3rem 0.9rem; border-top: 1px solid var(--line); }
table { border-collapse: collapse; width: 100%; font-size: 0.95rem; }
th, td { text-align: left; padding: 0.6rem 0.4rem; border-bottom: 1px solid var(--line); vertical-align: top; }
th { color: var(--navy); font-weight: 600; }
.table-wrap { overflow-x: auto; }

/* footer */
.site-footer { background: var(--navy); color: rgba(246, 243, 236, 0.82); padding: 3rem 0 2.5rem; margin-top: 2rem; font-size: 0.95rem; }
.site-footer a { color: var(--cream); }
.site-footer a:hover { color: var(--gold); }
.site-footer .top { display: flex; justify-content: space-between; align-items: flex-start; gap: 2rem; flex-wrap: wrap; margin-bottom: 2rem; }
.site-footer .top img { height: 30px; width: auto; }
.site-footer .cols { display: flex; gap: 3rem; flex-wrap: wrap; }
.site-footer .cols div { display: flex; flex-direction: column; gap: 0.35rem; }
.site-footer .cols strong { color: var(--cream); margin-bottom: 0.2rem; }
.site-footer .legal { border-top: 1px solid rgba(246, 243, 236, 0.15); padding-top: 1.4rem; font-size: 0.85rem; color: rgba(246, 243, 236, 0.65); }
.site-footer .legal p { max-width: none; margin-bottom: 0.4em; }

/* email links: the address is assembled by /email.js; until then (or without JS)
   CSS draws it from the data attributes so it is readable but never in the source */
a.email:empty::before { content: attr(data-eu) "\0040" attr(data-ed); }
