/* ————————————————————————————————————————
   KETO.STUDIO — black gallery, butter-green
   ———————————————————————————————————————— */

:root {
  --bg: #101211;
  --surface: #181B19;
  --line: #2A2E2B;
  --text: #F2F4F0;
  --muted: #9AA39C;
  --green: #57C278;
  --butter: #F0D264;
  --display: "Archivo", system-ui, sans-serif;
  --body: "Inter", system-ui, sans-serif;
  --gutter: clamp(16px, 5vw, 72px);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background:
    radial-gradient(90% 55% at 50% -10%, #161A17, transparent 62%),
    var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection { background: var(--green); color: var(--bg); }

a { color: var(--green); }

:focus-visible {
  outline: 2px solid var(--butter);
  outline-offset: 3px;
  border-radius: 6px;
}

/* header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px var(--gutter);
  background: color-mix(in srgb, var(--bg) 84%, transparent);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.wordmark {
  font-family: var(--display);
  font-weight: 900;
  font-size: 19px;
  color: var(--text);
  text-decoration: none;
}

.wordmark span { color: var(--green); }

.site-header nav {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2.5vw, 26px);
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.site-header nav a { text-decoration: none; color: var(--muted); transition: color 0.2s; }
.site-header nav a:hover { color: var(--text); }

/* hero */

.hero { padding: clamp(80px, 13vh, 150px) var(--gutter) clamp(66px, 10vh, 110px); }

.kicker {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--butter);
  margin-bottom: 20px;
}

.hero h1 {
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(38px, 7.4vw, 92px);
  line-height: 1.0;
  letter-spacing: -0.03em;
  max-width: 18ch;
}

.hero h1 em { font-style: normal; color: var(--green); }

.lede {
  max-width: 58ch;
  margin-top: 24px;
  font-size: clamp(16px, 1.6vw, 19px);
  color: var(--muted);
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 34px;
  font-family: var(--display);
  font-weight: 800;
  font-size: 15px;
  color: var(--bg);
  background: var(--green);
  text-decoration: none;
  border-radius: 999px;
  padding: 15px 28px;
  box-shadow: 0 12px 32px rgba(87, 194, 120, 0.25);
  transition: transform 0.15s, filter 0.2s;
}

.hero-cta:hover { filter: brightness(1.08); transform: translateY(-2px); }

/* sections */

.section {
  padding: clamp(50px, 8vh, 90px) var(--gutter);
  border-top: 1px solid var(--line);
}

.section-head { margin-bottom: clamp(22px, 3vh, 34px); }

.section-head h2 {
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(28px, 4.6vw, 46px);
  letter-spacing: -0.02em;
  color: var(--butter);
}

/* tiles */

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 14px;
}

.tile {
  display: block;
  text-decoration: none;
  color: inherit;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 22px 20px;
  transition: transform 0.25s, border-color 0.25s;
}

.tile:hover {
  transform: translateY(-4px);
  border-color: var(--green);
}

.tile h3 {
  font-family: var(--display);
  font-weight: 800;
  font-size: 18px;
  letter-spacing: -0.01em;
  color: var(--green);
  margin-bottom: 6px;
}

.tile p { color: var(--muted); font-size: 14px; }

.more {
  margin-top: 26px;
  font-size: 14px;
  color: var(--muted);
}

.more a { color: var(--butter); text-decoration: none; }
.more a:hover { text-decoration: underline; }

/* footer */

.site-footer {
  padding: 36px var(--gutter) 50px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13.5px;
}

/* reveal */

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .tile:hover, .hero-cta:hover { transform: none; }
}

@media (max-width: 760px) {
  .site-header { flex-direction: column; align-items: flex-start; gap: 10px; }
  .site-header nav { flex-wrap: wrap; row-gap: 8px; }
}
