:root{
  --ocean:      #0B1F2E;
  --ocean-2:    #12293D;
  --sand:       #F6F2E9;
  --navy:       #2B3345;
  --sage:       #94B8AE;
  --sage-bright:#B4D2C9;
  --gold:       #C9A15A;
  --line:       rgba(246,242,233,0.14);
}

*{box-sizing:border-box;}
html{scroll-behavior:smooth;}
body{
  margin:0;
  background:var(--sand);
  color:var(--navy);
  font-family:'Work Sans', sans-serif;
  font-weight:400;
  -webkit-font-smoothing:antialiased;
}
h1,h2,h3{
  font-family:'Fraunces', serif;
  font-weight:500;
  margin:0;
}
.mono{
  font-family:'JetBrains Mono', monospace;
  letter-spacing:0.04em;
}
a{color:inherit;}
p{margin:0;}

/* ---------- HERO (shared) ---------- */
.hero{
  background:radial-gradient(120% 140% at 15% -10%, var(--ocean-2) 0%, var(--ocean) 55%, #081521 100%);
  color:var(--sand);
  padding:clamp(28px,6vw,64px) clamp(20px,6vw,72px) 0;
  position:relative;
  overflow:hidden;
}
.nav{
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding-bottom:clamp(40px,9vw,96px);
  gap:16px;
  flex-wrap:wrap;
}
.wordmark{
  font-size:15px;
  letter-spacing:0.16em;
  text-transform:uppercase;
  color:var(--sand);
  opacity:0.92;
  text-decoration:none;
}
.wordmark b{color:var(--sage-bright);font-weight:500;}
.nav-coord{
  font-size:11px;
  color:var(--sage-bright);
  opacity:0.75;
  text-transform:uppercase;
}
.nav-back{
  font-size:12px;
  text-transform:uppercase;
  letter-spacing:0.08em;
  color:var(--sage-bright);
  text-decoration:none;
  opacity:0.85;
}
.nav-back:hover{opacity:1;}

.hero-body{
  max-width:820px;
  padding-bottom:clamp(56px,9vw,96px);
}
.eyebrow{
  display:inline-flex;
  align-items:center;
  gap:8px;
  font-size:11px;
  letter-spacing:0.18em;
  text-transform:uppercase;
  color:var(--sage-bright);
  margin-bottom:22px;
}
.eyebrow::before{
  content:"";
  width:22px;height:1px;
  background:var(--sage-bright);
}
h1.headline{
  font-size:clamp(38px,6.4vw,74px);
  line-height:1.04;
  letter-spacing:-0.01em;
  color:var(--sand);
}
h1.headline em{
  font-style:italic;
  color:var(--sage-bright);
}
h1.headline .domain{
  font-family:'JetBrains Mono', monospace;
  font-size:0.32em;
  vertical-align:middle;
  color:var(--gold);
  letter-spacing:0;
  display:block;
  margin-top:10px;
}
.hero-sub{
  margin-top:24px;
  max-width:560px;
  font-size:clamp(15px,1.6vw,18px);
  line-height:1.6;
  color:rgba(246,242,233,0.78);
}

/* horizon signature line */
.horizon{
  width:100%;
  height:64px;
  display:block;
}
.horizon path{
  fill:none;
  stroke:var(--sage);
  stroke-width:1.2;
  opacity:0.55;
  animation:drift 9s ease-in-out infinite;
}
.horizon path.b{
  stroke:var(--gold);
  opacity:0.35;
  animation-duration:12s;
  animation-direction:reverse;
}
@keyframes drift{
  0%,100%{transform:translateX(0) translateY(0);}
  50%{transform:translateX(-16px) translateY(3px);}
}
@media (prefers-reduced-motion: reduce){
  .horizon path{animation:none;}
}

/* ---------- FLEET (index only) ---------- */
.fleet{
  padding:clamp(56px,8vw,96px) clamp(20px,6vw,72px);
  max-width:1180px;
  margin:0 auto;
}
.fleet-head{
  display:flex;
  justify-content:space-between;
  align-items:flex-end;
  gap:24px;
  margin-bottom:clamp(28px,5vw,48px);
  border-bottom:1px solid rgba(43,51,69,0.14);
  padding-bottom:20px;
}
.fleet-head h2{
  font-size:clamp(26px,3.4vw,36px);
  color:var(--navy);
}
.fleet-head p{
  max-width:340px;
  font-size:13.5px;
  line-height:1.55;
  color:rgba(43,51,69,0.62);
}

.log{
  display:flex;
  flex-direction:column;
}
.entry{
  display:grid;
  grid-template-columns:64px 1fr auto;
  gap:20px;
  align-items:center;
  padding:26px 8px;
  border-bottom:1px solid rgba(43,51,69,0.12);
  text-decoration:none;
  color:var(--navy);
  transition:background 0.25s ease, padding-left 0.25s ease;
  position:relative;
}
.entry:hover{
  background:rgba(148,184,174,0.09);
  padding-left:16px;
}
.entry:first-child{border-top:1px solid rgba(43,51,69,0.12);}

.entry-code{
  font-size:11px;
  color:var(--sage);
  opacity:0.9;
}
.entry-main h3{
  font-size:clamp(20px,2.6vw,27px);
  font-weight:500;
  display:flex;
  align-items:baseline;
  gap:12px;
  flex-wrap:wrap;
}
.entry-main .domain{
  font-size:12.5px;
  color:var(--gold);
  font-family:'JetBrains Mono', monospace;
  letter-spacing:0.01em;
}
.entry-main p{
  margin:6px 0 0;
  font-size:14px;
  line-height:1.55;
  color:rgba(43,51,69,0.68);
  max-width:520px;
}
.entry-status{
  display:flex;
  align-items:center;
  gap:8px;
  font-size:11px;
  text-transform:uppercase;
  letter-spacing:0.08em;
  color:rgba(43,51,69,0.55);
  white-space:nowrap;
}
.dot{
  width:6px;height:6px;
  border-radius:50%;
  background:var(--sage);
  box-shadow:0 0 0 3px rgba(148,184,174,0.25);
}
.arrow{
  opacity:0;
  transform:translateX(-4px);
  transition:all 0.25s ease;
  color:var(--navy);
}
.entry:hover .arrow{opacity:1;transform:translateX(0);}

/* ---------- ABOUT STRIP (index only) ---------- */
.about{
  background:var(--ocean);
  color:var(--sand);
  padding:clamp(48px,7vw,80px) clamp(20px,6vw,72px);
}
.about-inner{
  max-width:1180px;
  margin:0 auto;
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:48px;
}
.about h2{
  font-size:clamp(24px,3vw,32px);
  color:var(--sand);
  max-width:380px;
}
.about p{
  font-size:14.5px;
  line-height:1.7;
  color:rgba(246,242,233,0.72);
  max-width:440px;
}

/* ---------- PROJECT PAGE ---------- */
.project{
  padding:clamp(48px,8vw,88px) clamp(20px,6vw,72px);
  max-width:820px;
  margin:0 auto;
}
.project .facts{
  display:flex;
  flex-wrap:wrap;
  gap:12px 32px;
  margin:0 0 clamp(32px,5vw,48px);
  padding-bottom:clamp(28px,5vw,40px);
  border-bottom:1px solid rgba(43,51,69,0.14);
}
.fact{
  display:flex;
  flex-direction:column;
  gap:4px;
}
.fact .label{
  font-size:10.5px;
  text-transform:uppercase;
  letter-spacing:0.1em;
  color:var(--sage);
}
.fact .value{
  font-size:14px;
  color:var(--navy);
}
.project p.lede{
  font-size:clamp(17px,2vw,20px);
  line-height:1.65;
  color:var(--navy);
  max-width:640px;
}
.project p.body-text{
  margin-top:20px;
  font-size:15px;
  line-height:1.75;
  color:rgba(43,51,69,0.72);
  max-width:640px;
}
.cta-row{
  margin-top:clamp(32px,5vw,48px);
  display:flex;
  align-items:center;
  gap:20px;
  flex-wrap:wrap;
}
.cta{
  display:inline-flex;
  align-items:center;
  gap:10px;
  background:var(--ocean);
  color:var(--sand);
  text-decoration:none;
  padding:14px 24px;
  border-radius:2px;
  font-size:13.5px;
  letter-spacing:0.03em;
  transition:background 0.2s ease;
}
.cta:hover{background:var(--ocean-2);}
.cta-secondary{
  font-size:13px;
  text-decoration:none;
  color:var(--navy);
  opacity:0.6;
  border-bottom:1px solid rgba(43,51,69,0.3);
  padding-bottom:1px;
}
.cta-secondary:hover{opacity:1;}

/* ---------- IMPRESSUM ---------- */
.legal{
  padding:clamp(48px,8vw,88px) clamp(20px,6vw,72px);
  max-width:720px;
  margin:0 auto;
}
.legal h2{
  font-size:clamp(24px,3vw,30px);
  margin-bottom:28px;
}
.legal section{
  margin-bottom:32px;
}
.legal h3{
  font-family:'Work Sans', sans-serif;
  font-weight:600;
  font-size:12px;
  text-transform:uppercase;
  letter-spacing:0.09em;
  color:var(--sage);
  margin-bottom:10px;
}
.legal p{
  font-size:14.5px;
  line-height:1.75;
  color:rgba(43,51,69,0.8);
}
.legal .todo{
  background:rgba(201,161,90,0.14);
  border:1px dashed var(--gold);
  padding:2px 6px;
  border-radius:2px;
  color:#8a6a2c;
  font-size:0.95em;
}

@media (max-width:720px){
  .about-inner{grid-template-columns:1fr;}
  .entry{grid-template-columns:40px 1fr;}
  .entry-status{grid-column:1/-1;padding-left:56px;}
}

/* ---------- FOOTER (shared) ---------- */
footer{
  padding:26px clamp(20px,6vw,72px) 30px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  flex-wrap:wrap;
  gap:12px;
  font-size:12px;
  color:rgba(43,51,69,0.55);
  border-top:1px solid rgba(43,51,69,0.1);
  max-width:1180px;
  margin:0 auto;
}
footer a{text-decoration:none;color:rgba(43,51,69,0.7);}
footer a:hover{color:var(--sage);}
footer .footer-links{display:flex;gap:18px;}

:focus-visible{
  outline:2px solid var(--sage);
  outline-offset:3px;
}
