/* Abaton Labs landing page | brand v1.10 + hero v1.4 | 2026-11-18
   Tokens from Abaton_Design_Tokens_MASTER_2026-10-10-v1.5.json */

:root{
  --paper:#F7F6F2; --stone:#DBD4CC; --warm-grey:#97928A; --earth:#625B52; --ink:#111111;
  --dusty-blue:#718D9D; --deep-blue:#425F70;
  --side:8vw;
}
@media(max-width:700px){:root{--side:28px}}

*{box-sizing:border-box}
html,body{margin:0;min-height:100%;background:var(--paper)}
body{
  display:flex;flex-direction:column;min-height:100vh;min-height:100svh;
  color:var(--ink);font-family:Inter,Arial,sans-serif;font-size:18px;line-height:1.55;
  -webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;
}
img{display:block;max-width:100%}

/* Hero: approved v1.4 landscape fills the viewport. The Astrapia sits far right;
   the wordmark and statement use the negative space on the left, on a light Paper veil. */
.hero{position:relative;flex:1 0 auto;overflow:hidden;background:var(--paper)}
.bg{position:absolute;inset:0}
.bg img{width:100%;height:100%;object-fit:cover;object-position:100% 50%}
/* Bird hotspot: invisible, sized by script to the Astrapia; note appears on hover, focus or tap */
.bird{position:absolute;z-index:3;margin:0;padding:0;border:0;background:transparent;cursor:help;-webkit-tap-highlight-color:transparent}
.bird:focus-visible{outline:1px solid var(--dusty-blue);outline-offset:4px;border-radius:2px}
.bird-note{
  position:absolute;z-index:4;max-width:340px;padding:14px 16px;margin:0;
  background:var(--paper);border:1px solid var(--stone);border-radius:12px;
  font-size:14px;line-height:1.5;font-weight:400;color:var(--earth);
  opacity:0;visibility:hidden;transform:translateY(-4px);
  transition:opacity .18s ease,transform .18s ease,visibility 0s linear .18s;
  pointer-events:none;
}
.bird-title{display:block;font-weight:500;color:var(--ink);margin:0 0 6px}
.bird-note.on{opacity:1;visibility:visible;transform:none;transition-delay:0s}
.hero::after{
  content:"";position:absolute;inset:0;z-index:1;pointer-events:none;
  background:linear-gradient(90deg,rgba(247,246,242,.92) 0%,rgba(247,246,242,.84) 26%,rgba(247,246,242,.5) 42%,rgba(247,246,242,0) 58%);
}
.content{
  position:relative;z-index:2;
  width:100%;
  padding:clamp(64px,12vh,128px) var(--side) clamp(64px,12vh,112px);
  min-height:calc(100vh - 96px);min-height:calc(100svh - 96px);
  display:flex;flex-direction:column;justify-content:center;
}
/* The official SVG carries 50-unit transparent padding on each side (viewBox -50 -50 777 202),
   so the visible wordmark is about 87% of the box width. Widths below allow for that. */
.wordmark{--wm:clamp(250px,30vw,470px);width:var(--wm);height:auto;margin-left:calc(var(--wm) * -0.0644)}
/* Sparse approved blue accent, placed beyond the logo clear space (1H) */
.rule{width:38px;height:2px;background:var(--dusty-blue);border:0;margin:clamp(28px,5vw,64px) 0 32px}
.statement{
  margin:0;max-width:26ch;
  font-size:clamp(22px,2.5vw,30px);line-height:1.35;font-weight:300;color:var(--ink);
}
.body{
  margin:clamp(16px,2vw,24px) 0 0;max-width:52ch;
  font-size:clamp(16px,1.3vw,19px);line-height:1.55;font-weight:400;color:var(--earth);
}

/* Footer */
.site-footer{
  flex:0 0 auto;border-top:1px solid var(--stone);background:var(--paper);
  padding:32px var(--side);font-size:14px;line-height:1.6;color:var(--earth);
  display:flex;justify-content:space-between;gap:16px;flex-wrap:wrap;
}
.site-footer p{margin:0}
.site-footer a{color:var(--deep-blue);text-decoration:none}
.site-footer a:hover,.site-footer a:focus-visible{text-decoration:underline}
:focus-visible{outline:2px solid var(--deep-blue);outline-offset:3px}


/* Phones: crop so the bird stays in frame top right; text sits below on a Paper veil */
@media(max-width:700px){
  .bg img{object-position:100% 25%}
  .hero::after{background:linear-gradient(180deg,rgba(247,246,242,0) 0%,rgba(247,246,242,.12) 32%,rgba(247,246,242,.9) 52%,rgba(247,246,242,.97) 100%)}
  .content{padding-top:40vh;padding-bottom:48px;justify-content:flex-start;min-height:calc(100svh - 110px)}
  .wordmark{--wm:clamp(230px,72vw,330px)}
  .rule{margin:24px 0 20px}
  .statement{max-width:none;font-size:22px}
  .body{max-width:none;font-size:16px;margin-top:16px}
  .site-footer{flex-direction:column;gap:4px}
  /* Phones have no hover: a tap on the bird shows the note over the sky, above the text */
  .bird-note{top:16px;left:16px;right:16px;max-width:none;width:auto}
}
/* Very wide screens: keep horizon and bird in view */
@media(min-aspect-ratio:21/9){.bg img{object-position:100% 62%}}
