/* ============================================================
   HEOROT — single column editorial layout
   Structure and type system modeled on atoms.co/vision:
   one neutral sans-serif family throughout, a 912px reading
   column, section headers paired with a right-aligned numeral,
   and a flat, restrained type scale (44 / 24 / 20 / 14).
   Colors and copy are Heorot's own.
   ============================================================ */

:root{
  --maroon: #3D0A1A;
  --maroon-dark: #1A0407;
  --cream: #FAF7F2;
  --offwhite: #F2EDE5;
  --border: #DDD5C8;
  --copper: #C4855A;
  --ink: #1A0407;
  --ink-muted: #5A4750;
  --sans: "DM Sans", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --col: 912px;      /* atoms.co/vision content column width */
  --col-wide: 1200px; /* atoms.co/vision nav bleeds wider than the content column */
}

*{ box-sizing: border-box; margin: 0; padding: 0; }
html, body{ background: var(--cream); color: var(--ink); }
body{
  font-family: var(--sans);
  font-weight: 400;
  font-size: 20px;
  line-height: 1.2;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
::selection{ background: var(--maroon); color: var(--cream); }
img{ display:block; max-width: 100%; }

/* emphasis spans: atoms uses color, not italics, to mark emphasis */
.ital{ font-style: normal; color: var(--copper); }

.col{
  max-width: var(--col);
  margin: 0 auto;
  padding: 0 24px;
}
@media (max-width: 560px){
  .col{ padding: 0 20px; }
}

/* ---------------- NAV ---------------- */
nav.top{
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250,247,242,0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
nav.top .navbar{
  max-width: var(--col-wide); /* nav sits in a wider container than the content column, as on atoms.co */
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  gap: 16px;
}
.brand{
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--maroon);
  flex-shrink: 0;
}
.brand img{ height: 26px; width: auto; }
.brand .wordmark{
  font-family: var(--sans);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -0.01em;
  line-height: 1;
}

.menu-btn{
  display: none;
  background: transparent;
  border: 1px solid var(--border);
  height: 34px;
  padding: 0 14px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--maroon);
}
@media (max-width: 720px){
  .menu-btn{ display: inline-flex; }
}

.nav-links{
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.1;
}
.nav-links a{
  color: var(--ink);
  text-decoration: none;
  transition: color 0.2s;
  white-space: nowrap;
}
.nav-links a:hover{ color: var(--maroon); }

@media (max-width: 720px){
  .nav-links{
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--cream);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 8px 20px 16px;
    display: none;
  }
  .nav-links[data-open="true"]{ display: flex; }
  .nav-links a{
    width: 100%;
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
  }
}

/* ---------------- LEAD IMAGE ----------------
   Placeholder is commented out in the HTML for now. This block
   is kept so the placeholder is ready to drop back in — sits at
   the top of the single column, in normal document flow (not
   fixed/sticky) so it scrolls away with the copy, same as the
   top image on atoms.co/vision. */
.lead-image{
  margin-top: 40px;
}
.lead-image .frame{
  aspect-ratio: 1600 / 500;
  width: 100%;
  border: 1px solid var(--border);
  background:
    linear-gradient(135deg, var(--offwhite) 0%, var(--border) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-muted);
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-align: center;
  padding: 20px;
}
.lead-image .frame img{
  height: 62%;
  width: auto;
  max-width: 70%;
  object-fit: contain;
}
@media (max-width: 560px){
  .lead-image{ margin-top: 28px; }
}

/* ---------------- HERO / TITLE ----------------
   Sized like the atoms.co/vision H1: 44px, weight 400,
   tight leading — a page title, not a giant display headline. */
.hero{
  padding: 40px 0 8px;
}
.hero h1{
  font-family: var(--sans);
  font-weight: 400;
  font-size: clamp(36px, 4.6vw, 44px);
  line-height: 1.02;
  letter-spacing: -0.01em;
  color: var(--maroon);
}
.hero h1 .dot{ color: var(--copper); }
.hero .sub{
  margin-top: 22px;
  font-size: 20px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--ink);
}
.hero .ctas{
  margin-top: 28px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
@media (max-width: 480px){
  .hero .ctas{ flex-direction: column; align-items: stretch; }
}

.btn{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.01em;
  padding: 13px 20px;
  text-decoration: none;
  border: 1px solid var(--maroon);
  transition: all 0.2s;
}
.btn.primary{ background: var(--maroon); color: var(--cream); }
.btn.primary:hover{ background: var(--maroon-dark); }
.btn.ghost{ background: transparent; color: var(--maroon); }
.btn.ghost:hover{ background: var(--maroon); color: var(--cream); }
.btn .arr{ font-size: 15px; line-height: 1; }

.cta .btn.primary{ background: var(--copper); border-color: var(--copper); color: var(--maroon-dark); }
.cta .btn.primary:hover{ background: var(--cream); border-color: var(--cream); }
.cta .btn.ghost{ color: var(--cream); border-color: rgba(250,247,242,0.4); }
.cta .btn.ghost:hover{ background: var(--cream); color: var(--maroon-dark); border-color: var(--cream); }

/* ---------------- SECTIONS ----------------
   Header row: heading on the left, numeral right-aligned on
   the same baseline — the atoms.co/vision "Atoms Mission / 01"
   pattern, just using Heorot's own headline copy. */
section.section{
  padding: 36px 0;
}
@media (max-width: 560px){
  section.section{ padding: 24px 0; }
}

.head-row{
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
}
.head-row .num{
  flex-shrink: 0;
  font-family: var(--sans);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.02em;
  color: var(--copper);
}

.section h2{
  font-family: var(--sans);
  font-weight: 500;
  font-size: 24px;
  line-height: 1.4;
  letter-spacing: -0.02em;
  color: var(--copper);
}

.section .lead{
  margin-top: 16px;
  font-size: 20px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--ink);
}

/* stacked sub-items — same body scale, weight/color differentiate */
.items{
  margin-top: 28px;
}
.item{
  margin-bottom: 28px;
}
.item:last-child{ margin-bottom: 0; }
.item h3{
  font-family: var(--sans);
  font-weight: 500;
  font-size: 20px;
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--maroon);
  margin-bottom: 6px;
}
.item p{
  font-size: 20px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--ink);
}

/* criteria + info rows: label above value, single column */
.rows{
  margin-top: 28px;
}
.row{
  padding: 14px 0;
}
.row dt, .row .label{
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 6px;
}
.row dd, .row .value{
  font-family: var(--sans);
  font-size: 20px;
  font-weight: 500;
  line-height: 1.4;
  color: var(--maroon);
}
.row .value a{ color: var(--maroon); text-decoration: none; border-bottom: 1px solid transparent; }
.row .value a:hover{ border-bottom-color: var(--copper); }

/* ---------------- CTA (full-bleed, reading column inside) ---------------- */
.cta{
  background: var(--maroon-dark);
  color: var(--cream);
  padding: 56px 0;
}
@media (max-width: 560px){ .cta{ padding: 40px 0; } }
.cta .head-row .num{ color: rgba(250,247,242,0.55); }
.cta h2{
  font-family: var(--sans);
  font-weight: 500;
  font-size: 24px;
  line-height: 1.4;
  letter-spacing: -0.02em;
  color: var(--copper);
}
.cta h2 .ital{ color: var(--cream); }
.cta .lead{
  margin-top: 16px;
  font-size: 20px;
  font-weight: 400;
  line-height: 1.5;
  color: rgba(250,247,242,0.82);
}
.cta .ctas{ margin-top: 28px; display: flex; gap: 14px; flex-wrap: wrap; }
@media (max-width: 480px){
  .cta .ctas{ flex-direction: column; align-items: stretch; }
}

/* ---------------- FOOTER ---------------- */
footer{
  background: var(--maroon-dark);
  color: rgba(250,247,242,0.6);
  padding: 48px 0 32px;
  font-size: 16px;
}
footer .fwordmark{
  font-family: var(--sans);
  font-weight: 700;
  font-size: 20px;
  color: var(--cream);
  line-height: 1;
  margin-bottom: 8px;
}
footer p{
  color: rgba(250,247,242,0.7);
  font-weight: 400;
  line-height: 1.5;
}
footer .flinks{
  margin-top: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px 24px;
  font-weight: 500;
}
footer a{
  color: rgba(250,247,242,0.7);
  text-decoration: none;
}
footer a:hover{ color: var(--copper); }
footer .legal{
  margin-top: 24px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: rgba(250,247,242,0.4);
}
