/* rdf-ai.com stylesheet. Self-hosted font, no external requests. */

@font-face{
  font-family:"Archivo";
  src:url("fonts/archivo-wdth.woff2") format("woff2");
  font-weight:400 700;
  font-stretch:100% 118%;
  font-style:normal;
  font-display:swap;
}

:root{
  --night:#0a0d10;     /* page */
  --rule:rgba(238,242,244,.09);
  --mist:#98a2ab;      /* secondary text */
  --paper:#eef2f4;     /* primary text */
  --beacon:#5eead4;    /* the teal light */
  --wide:118%;
  --gutter:clamp(16px,5vw,56px);
  --measure:62ch;
}

*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%; scroll-behavior:smooth}
@media (prefers-reduced-motion:reduce){ html{scroll-behavior:auto} }

body{
  margin:0;
  background:var(--night);
  color:var(--paper);
  font-family:"Archivo",ui-sans-serif,system-ui,-apple-system,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;
  font-size:1.0625rem;
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
  overflow-x:hidden;
}

/* film grain over the whole page */
body::after{
  content:""; position:fixed; inset:0; pointer-events:none; z-index:50; opacity:.024;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

a{color:var(--paper); text-decoration:underline; text-decoration-color:rgba(94,234,212,.45); text-underline-offset:.22em; text-decoration-thickness:1px}
a:hover{text-decoration-color:var(--beacon)}
:focus-visible{outline:2px solid var(--beacon); outline-offset:3px; border-radius:2px}

.skip{position:absolute; left:-9999px; top:8px; z-index:60; background:var(--paper); color:var(--night); padding:8px 14px}
.skip:focus{left:8px}

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

/* ---------- type ---------- */
h1,h2,h3{font-stretch:var(--wide); margin:0; letter-spacing:-.02em}
h1{
  font-size:clamp(2.35rem,7vw,4.6rem);
  line-height:1.02; font-weight:640; max-width:14ch;
  text-shadow:0 2px 40px rgba(0,0,0,.6);
}
h2{font-size:clamp(1.6rem,3.6vw,2.45rem); line-height:1.1; font-weight:620; max-width:22ch}
h3{font-size:1.06rem; line-height:1.3; font-weight:620; letter-spacing:-.005em}
p{margin:0}
.lede{font-size:clamp(1.08rem,1.9vw,1.28rem); line-height:1.55; color:var(--paper); max-width:40ch}
.body{color:var(--mist); max-width:var(--measure)}
.body + .body{margin-top:1em}

/* ---------- header ---------- */
.site-header{position:absolute; top:0; left:0; right:0; z-index:10}
.site-header .wrap{display:flex; align-items:center; justify-content:space-between; gap:16px; padding-top:18px; padding-bottom:18px}
.brand{display:flex; align-items:center; gap:14px; line-height:1; text-decoration:none; color:var(--paper)}
.brand img{height:60px; width:auto; filter:drop-shadow(0 2px 18px rgba(0,0,0,.75))}
.brand-name{display:flex; flex-direction:column; gap:4px; padding-left:14px; border-left:1px solid rgba(238,242,244,.35); font-stretch:var(--wide); font-weight:600; font-size:.86rem; letter-spacing:.01em; white-space:nowrap; text-shadow:0 1px 12px rgba(0,0,0,.85)}
.nav{display:flex; gap:clamp(14px,2.4vw,30px); font-size:.95rem}
.nav a{text-decoration:none; color:var(--mist)}
.nav a:hover{color:var(--paper)}
.nav .nav-contact{color:var(--paper)}
@media (max-width:720px){
  .brand{gap:10px}
  .brand img{height:46px}
  .brand-name{font-size:.72rem; gap:3px; padding-left:10px}
  .nav a:not(.nav-contact){display:none}
}

/* ---------- hero ---------- */
.hero{position:relative; min-height:clamp(620px,96vh,980px); min-height:clamp(620px,96svh,980px); display:flex; align-items:flex-start; overflow:hidden}
.hero-media{position:absolute; inset:0; z-index:0; overflow:hidden; background:var(--night)}
.plate{position:absolute; inset:0; transform-origin:62% 74%; animation:drift 52s ease-in-out infinite alternate; will-change:transform}
.plate img{width:100%; height:100%; object-fit:cover; display:block}
@keyframes drift{
  from{transform:scale(1.03) translate3d(0,0,0)}
  to  {transform:scale(1.105) translate3d(-.9%,-1.2%,0)}
}
.pulse{position:absolute; left:63%; top:66%; width:30vw; height:30vw; max-width:380px; max-height:380px; transform:translate(-50%,-50%); mix-blend-mode:screen; pointer-events:none}
.pulse::before,.pulse::after{content:""; position:absolute; border-radius:50%}
.pulse::before{inset:0; background:radial-gradient(circle,rgba(140,250,232,.40) 0%,rgba(94,234,212,.21) 30%,rgba(94,234,212,.07) 58%,transparent 76%); filter:blur(22px); animation:glowA 17s ease-in-out infinite}
.pulse::after{inset:14%; background:radial-gradient(circle,rgba(160,255,240,.30) 0%,rgba(94,234,212,.13) 40%,transparent 72%); filter:blur(30px); animation:glowB 26s ease-in-out infinite}
@keyframes glowA{0%{opacity:.42} 31%{opacity:.88} 58%{opacity:.55} 79%{opacity:1} 100%{opacity:.42}}
@keyframes glowB{0%{opacity:.3} 24%{opacity:.78} 61%{opacity:.22} 83%{opacity:.62} 100%{opacity:.3}}
/* keep text readable where it sits on the plate */
.hero-media::after{content:""; position:absolute; inset:0; background:linear-gradient(180deg,rgba(10,13,16,.35) 0%,rgba(10,13,16,0) 30%,rgba(10,13,16,0) 84%,var(--night) 100%)}

.hero-inner{position:relative; z-index:3; padding-top:clamp(132px,21vh,210px); padding-bottom:48px}
.hero .lede{margin-top:clamp(18px,2.6vh,26px)}
.actions{display:flex; flex-wrap:wrap; gap:12px 22px; align-items:center; margin-top:clamp(24px,3.6vh,36px)}
.btn{
  display:inline-block; text-decoration:none;
  font-stretch:108%; font-weight:600; font-size:1rem;
  padding:13px 22px; border-radius:999px;
  background:var(--beacon); color:#06201c;
  transition:background-color .18s;
}
.btn:hover{background:#8af5e3}
.link-quiet{color:var(--paper)}

@media (max-width:640px){
  .hero{min-height:88vh; min-height:88svh}
  .hero .lede,.hero .link-quiet{text-shadow:0 1px 2px rgba(0,0,0,.85),0 0 16px rgba(10,13,16,.9)}
  .plate{animation-duration:64s}
  .plate img{object-position:69% 58%}
  .pulse{left:52%; top:56%; width:52vw; height:52vw}
}

/* ---------- sections ---------- */
.section{padding:clamp(72px,12vh,128px) 0 0}
.section-head{display:grid; gap:18px; margin-bottom:clamp(32px,5vh,52px)}

/* the problem */
.problem-list{list-style:none; margin:clamp(28px,4vh,40px) 0 0; padding:0; display:grid; gap:0; max-width:var(--measure)}
.problem-list li{padding:16px 0 16px 28px; position:relative; color:var(--paper); border-top:1px solid var(--rule)}
.problem-list li:last-child{border-bottom:1px solid var(--rule)}
.problem-list li::before{content:""; position:absolute; left:2px; top:1.42em; width:12px; height:2px; background:var(--mist)}

/* ---------- fleet ---------- */
.fleet{display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:clamp(18px,3vw,36px); margin-top:clamp(32px,5vh,48px)}
@media (max-width:820px){ .fleet{grid-template-columns:repeat(2,minmax(0,1fr))} }
.fleet figure{margin:0}
.fleet svg{display:block; width:56px; height:56px; margin-bottom:12px}
.fleet .glyph{fill:none; stroke:var(--paper); stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round}
.fleet .glyph-fill{fill:var(--paper)}
.fleet .glyph-beam{fill:rgba(94,234,212,.16); stroke:rgba(94,234,212,.6); stroke-width:1.2}
.fleet figcaption{color:var(--mist); font-size:.96rem; line-height:1.5}
.fleet figcaption strong{display:block; color:var(--paper); font-weight:600; margin-bottom:2px}

/* ---------- uses ---------- */
.uses{margin:0; display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1.6fr); max-width:900px}
.uses dt,.uses dd{margin:0; padding:20px 0; border-top:1px solid var(--rule)}
.uses dt{font-stretch:108%; font-weight:600; padding-right:24px}
.uses dd{color:var(--mist)}
.uses dt:nth-last-of-type(1),.uses dd:last-of-type{border-bottom:1px solid var(--rule)}
@media (max-width:640px){
  .uses{grid-template-columns:1fr}
  .uses dt{padding-bottom:4px}
  .uses dd{border-top:0; padding-top:0}
  .uses dt:nth-last-of-type(1){border-bottom:0}
}

/* ---------- principles ---------- */
.principles{display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:clamp(24px,4vw,48px)}
@media (max-width:820px){ .principles{grid-template-columns:1fr} }
.principles h3{margin-bottom:8px}
.principles p{color:var(--mist)}

/* ---------- contact ---------- */
.contact{margin-top:clamp(72px,12vh,128px); padding:clamp(48px,8vh,88px) 0; border-top:1px solid var(--rule); border-bottom:1px solid var(--rule)}
.contact .wrap{display:grid; grid-template-columns:minmax(0,1.2fr) minmax(0,1fr); gap:32px 56px; align-items:end}
@media (max-width:820px){ .contact .wrap{grid-template-columns:1fr} }
.contact .body{margin-top:16px}
.contact-lines{display:grid; gap:18px}
.contact-lines .k{display:block; color:var(--mist); font-size:.9rem; margin-bottom:2px}
.contact-lines .v{font-size:1.06rem; overflow-wrap:anywhere}

/* ---------- footer ---------- */
.site-footer{padding:32px 0 40px; color:var(--mist); font-size:.88rem}
.site-footer .wrap{display:flex; flex-wrap:wrap; gap:12px 32px; justify-content:space-between}
.site-footer p + p{margin-top:2px}
.site-footer a{color:var(--mist)}
.site-footer a:hover{color:var(--paper)}

/* ---------- plain pages (legal, 404) ---------- */
.page{padding:clamp(120px,18vh,180px) 0 40px}
.page h1{font-size:clamp(2rem,5vw,3.2rem); max-width:18ch; text-shadow:none}
.page h2{font-size:1.3rem; margin-top:40px; max-width:none}
.page .body{margin-top:14px}
.page ul.body{padding-left:1.2em}
.page ul.body li + li{margin-top:6px}

@media (prefers-reduced-motion:reduce){
  .plate{animation:none; transform:scale(1.03)}
  .pulse::before,.pulse::after{animation:none; opacity:.85}
  *,*::before,*::after{transition-duration:0s !important}
}
.gap-top{margin-top:20px}
