:root { --bg: #e8ecef; --ink: #262933; --line: #262933; }
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { background: var(--bg); color: var(--ink); font-family: Inter, system-ui, sans-serif; font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }

.top { position: sticky; top: 0; z-index: 10; display: flex; justify-content: space-between; align-items: center;
  margin: 0 16px; padding: 16px 0; background: var(--bg); border-bottom: 1px solid rgba(38,41,51,.2); }
.logo { font-family: Orbitron, sans-serif; font-weight: 600; font-size: 1.6rem; letter-spacing: .04em; }
.top nav { display: flex; align-items: center; gap: 28px; font-size: .8125rem; letter-spacing: .06em; text-transform: uppercase; }
.top nav a:not(.pill):hover { opacity: .55; }
.pill { border: 1px solid var(--line); border-radius: 999px; padding: 6px 16px; background: transparent; color: inherit; cursor: pointer; font: inherit; text-transform: uppercase; font-size: .8125rem; letter-spacing: .06em; transition: .2s; }
.pill:hover, .pill.dark { background: var(--ink); color: var(--bg); }

.logo small { font: 400 .8125rem Inter, sans-serif; letter-spacing: 0; opacity: .6; margin-left: 6px; }
.hero { padding: 0 16px; }
.about { max-width: 40em; font-size: 1.25rem; line-height: 1.6; }
.intro { margin-top: 32px; }
.intro .label { margin-bottom: 24px; }
.tags { display: flex; align-items: center; font-size: .75rem; text-transform: uppercase; }
.tags i { width: 20px; height: 1px; background: var(--line); }
.tag { border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; }
.tag.box { border-radius: 0; }
h1, h2 { font-family: "Instrument Serif", Georgia, serif; font-weight: 400; letter-spacing: -.02em; line-height: 1; }
h1 { line-height: 1.05; font-size: clamp(2.6rem, 6.5vw, 5.6rem); max-width: 14em; margin: 20px 0 0; }
.mark { width: min(380px, 70%); margin: 3rem auto 0; animation: float 6s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-12px); } }
.scroll { display: flex; align-items: center; gap: 12px; margin-top: auto; padding-top: 2rem; font-size: .75rem; text-transform: uppercase; }
.scroll span { width: 26px; height: 1px; background: var(--line); }

.block { margin: 0 16px; padding: 32px 0; border-top: 1px solid rgba(38,41,51,.2); }
.label { display: flex; align-items: center; gap: 10px; text-transform: uppercase; font-size: .8125rem; letter-spacing: .08em; margin-bottom: 24px; }
.dot { width: 10px; height: 10px; border: 1px solid var(--line); border-radius: 50%; }
h2 { font-size: clamp(2rem, 4.5vw, 3.8rem); max-width: 16em; margin-bottom: 48px; }

.rows li { display: grid; grid-template-columns: 60px 1.2fr 3fr; gap: 24px; align-items: center;
  padding: 36px 0; border-top: 1px solid rgba(38,41,51,.2); transition: padding .3s, background .3s, opacity .8s, transform .8s; }
.rows li:last-child { border-bottom: 1px solid rgba(38,41,51,.2); }
.rows li:hover { background: rgba(255,255,255,.5); padding-left: 14px; }
.rows b, .steps b { font-weight: 400; font-size: .8125rem; letter-spacing: .06em; }
.rows p, .steps p { font-size: 1rem; color: rgba(38,41,51,.8); }
.rows h3 { font-family: "Instrument Serif", serif; font-weight: 400; font-size: 2.4rem; line-height: 1.1; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chips span { border: 1px solid var(--line); border-radius: 999px; padding: 3px 12px; font-size: .72rem; text-transform: uppercase; }
.more { border: 1px solid var(--line); padding: 6px 16px; font-size: .75rem; transition: .2s; }
.more:hover { background: var(--ink); color: var(--bg); }

.metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 64px; }
.metrics strong { display: block; font-family: "Instrument Serif", serif; font-weight: 400; font-size: clamp(3rem, 7vw, 6rem); line-height: 1; }
.metrics span { text-transform: uppercase; font-size: .75rem; }

.steps { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid rgba(38,41,51,.2); }
.steps li { padding: 24px 24px 0 0; }
.steps h4 { font-family: "Instrument Serif", serif; font-weight: 400; font-size: 1.8rem; margin: 40px 0 8px; }

.people li { display: flex; justify-content: space-between; padding: 22px 0; border-top: 1px solid rgba(38,41,51,.2); font-family: "Instrument Serif", serif; font-size: 2rem; transition: padding .3s, background .3s, opacity .8s, transform .8s; }
.people li:last-child { border-bottom: 1px solid rgba(38,41,51,.2); }
.people li a { display: flex; justify-content: space-between; width: 100%; }
.people em { font: 400 .8125rem Inter, sans-serif; letter-spacing: .06em; text-transform: uppercase; align-self: center; }
.people li:hover { padding-left: 14px; background: rgba(255,255,255,.5); }

form { display: grid; gap: 28px; max-width: 640px; }
label { display: grid; gap: 6px; font-size: .8125rem; letter-spacing: .06em; text-transform: uppercase; }
input, textarea { border: 0; border-bottom: 1px solid var(--line); background: transparent; padding: 8px 0; font: inherit; font-size: 1rem; color: inherit; outline: none; resize: none; }
input:focus, textarea:focus { border-bottom-width: 2px; }
form .pill { justify-self: start; padding: 10px 24px; }
.mail { margin-top: 40px; font-size: .85rem; }

footer { display: flex; justify-content: space-between; margin: 0 16px; padding: 24px 0; border-top: 1px solid rgba(38,41,51,.2); font-size: .8125rem; letter-spacing: .06em; text-transform: uppercase; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s, transform .8s; }
.reveal.in { opacity: 1; transform: none; }

@media (max-width: 860px) {
  .rows li { grid-template-columns: 40px 1fr; }
  .rows li > p, .rows li > .chips, .rows li > .more { grid-column: 2; justify-self: start; }
  .steps { grid-template-columns: 1fr 1fr; }
  .metrics { grid-template-columns: 1fr; }
  .top nav a:not(.pill) { display: none; }
  .people li { flex-direction: column; gap: 4px; }
}

.about [lang="ckb"] { font-family: "Noto Naskh Arabic", serif; font-size: 1.1em; }
