
:root{
  --ink:#0F261C;          /* deep green (dark text on light) */
  --mint:#E1F9C8;         /* light green background */
  --bg: #ffffff;
}
@media (prefers-color-scheme: dark){
  :root{
    --bg:#000000;
    --ink:#E3FAD0;        /* light mint ink on dark */
    --mint:#0F261C;       /* deep green accents */
  }
}
* { box-sizing: border-box; }
html, body { height: 100%; }
body{
  margin:0;
  background: var(--bg);
  color: var(--ink);
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, 'Apple Color Emoji','Segoe UI Emoji';
  line-height:1.4;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.container{
  width:min(1100px, 92vw);
  margin-inline:auto;
  padding-inline: clamp(12px, 2vw, 24px);
}

header{
  padding-top: clamp(28px, 5vh, 64px);
}

.logo{
  height: clamp(28px, 6vw, 56px);
  display:block;
  filter: drop-shadow(0 0 0 rgba(0,0,0,0));
  animation: fadeIn 900ms ease both;
}

main{
  min-height: 58vh;
  display:flex;
  align-items:center;
  padding-block: clamp(32px, 12vh, 160px);
}

.lede{
  font-size: clamp(24px, 4.5vw, 42px);
  font-weight: 500;
  max-width: 26ch;
  letter-spacing: 0;
  animation: slideIn 900ms 90ms cubic-bezier(.2,.9,.2,1) both;
}

footer{
  padding-block: 48px 64px;
  opacity:.8;
}

.sr-only{
  position:absolute;
  width:1px;height:1px;
  padding:0;margin:-1px;
  overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0;
}

/* Background art layers (light & dark variants) */
.bg-layer{
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  opacity: .18;
  z-index: -1;
  transform: translate3d(0,0,0);
}

.bg-light{ display:block;
  background-image: image-set(
    url('assets/sentio_space_frames_rgb_frame_eight_light_green.png') 1x
  );
}
.bg-dark{ display:none;
  background-image: image-set(
    url('assets/sentio_space_frames_rgb_frame_five_dark_green.png') 1x
  );
}
@media (prefers-color-scheme: dark){
  .bg-light{ display:none; }
  .bg-dark{ display:block; opacity:.35; }
}

/* Light/Dark assets */
.dark-only{ display:none; }
@media (prefers-color-scheme: dark){
  .light-only{ display:none; }
  .dark-only{ display:block; }
}

/* Subtle motion */
@keyframes fadeIn{
  from{ opacity:0; transform: translateY(6px); }
  to{ opacity:1; transform: translateY(0); }
}
@keyframes slideIn{
  from{ opacity:0; transform: translateY(14px) scale(0.98); }
  to{ opacity:1; transform: translateY(0) scale(1); }
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce){
  *{ animation: none !important; transition: none !important; }
}

.contact{
  padding-block: 40px 72px;
  border-top: 1px solid color-mix(in srgb, var(--ink) 15%, transparent);
}
.contact h2{
  font-size: clamp(20px, 3vw, 26px);
  margin-bottom: 12px;
}
.contact p{
  margin: 4px 0;
  font-size: clamp(14px, 2vw, 16px);
  opacity: .95;
}
.contact a{
  color: inherit;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

.clients-mini{
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid color-mix(in srgb, var(--ink) 12%, transparent);
}
.clients-mini h2{
  font-size: clamp(18px, 2.5vw, 22px);
  font-weight: 600;
  margin-bottom: 12px;
  opacity:.9;
}
.clients-mini ul{
  list-style:none;
  padding:0;
  margin:0;
  display:grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap:8px 24px;
}
.clients-mini li{
  font-size: clamp(13px, 2vw, 15px);
  opacity:.85;
}
