:root {
  --navy: #0b2545;
  --navy-2: #13315c;
  --sky: #8ecae6;
  --ink: #0b2545;
  --muted: #5d6b7e;
  --line: #dbe4ee;
  --paper: #ffffff;
  --wash: #f3f7fb;
  --red: #d6413a;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  font-family: Manrope, system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
img { max-width: 100%; height: auto; display: block; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* Dark pages (holding page, sign-in) */
body.dark { background: var(--navy); color: #fff; }
body.center { min-height: 100vh; min-height: 100dvh; display: grid; place-items: center; padding: 32px 16px; }
.muted { color: #b9c7d8; }
.small { font-size: 14px; }

/* Holding page */
.hold { text-align: center; max-width: 720px; }
.hold .lockup { width: min(520px, 86vw); margin: 0 auto; }
.hold .rule { width: 64px; height: 3px; background: var(--sky); border: 0; margin: 36px auto 28px; }
.hold h1 { font-size: clamp(24px, 4.2vw, 36px); font-weight: 700; letter-spacing: -0.01em; margin: 0 0 12px; }
.hold p { margin: 0; font-size: clamp(16px, 2.2vw, 18px); }
.hold .foot { margin-top: 56px; font-size: 13px; color: #8fa3bb; }
.hold .foot a { color: #8fa3bb; text-decoration: none; border-bottom: 1px solid rgba(142, 202, 230, .35); }
.hold .foot a:hover { color: #fff; }

/* Sign-in */
.login { width: 100%; max-width: 380px; text-align: center; }
.login .lockup { width: 280px; margin: 0 auto 28px; }
.login h1 { font-size: 26px; margin: 0 0 6px; }
.login form { display: grid; gap: 12px; margin: 22px 0 14px; }
.login input {
  font: inherit; font-size: 16px; padding: 13px 14px; border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, .25); background: rgba(255, 255, 255, .06); color: #fff;
}
.login input:focus { outline: 2px solid var(--sky); outline-offset: 1px; }
.login button, .btn {
  font: inherit; font-weight: 700; font-size: 16px; padding: 13px 18px; border-radius: 10px; border: 0;
  background: var(--sky); color: var(--navy); cursor: pointer; text-decoration: none; display: inline-block;
}
.login button:hover, .btn:hover { filter: brightness(1.06); }
.error { color: #ffb4ae; font-weight: 600; }

/* Portfolio */
.top {
  background: var(--navy); color: #fff; position: sticky; top: 0; z-index: 5;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.top .in { max-width: 1120px; margin: 0 auto; padding: 14px 16px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.top img { width: 190px; }
.top nav { display: flex; gap: 18px; font-size: 14px; font-weight: 600; }
.top nav a { text-decoration: none; color: #cfe0ef; }
.top nav a:hover { color: #fff; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 16px; }
.hero { background: var(--navy); color: #fff; padding: 56px 0 72px; }
.hero h1 { font-size: clamp(30px, 5vw, 50px); line-height: 1.1; letter-spacing: -0.02em; margin: 0 0 16px; max-width: 820px; }
.hero p { font-size: clamp(17px, 2.2vw, 20px); color: #cfe0ef; max-width: 700px; margin: 0; }
.eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: 12px; font-weight: 800; color: var(--sky); margin: 0 0 14px; }
section { padding: 64px 0; }
section.alt { background: var(--wash); }
h2 { font-size: clamp(24px, 3.4vw, 34px); letter-spacing: -0.01em; line-height: 1.2; margin: 0 0 12px; }
h3 { font-size: 19px; margin: 0 0 6px; }
.lead { font-size: 18px; color: var(--muted); max-width: 720px; margin: 0 0 32px; }
.grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.card { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 22px; }
.card p { margin: 0; color: var(--muted); }
.card .ic { width: 38px; height: 38px; border-radius: 10px; background: #e3f1fb; color: var(--navy); display: grid; place-items: center; margin-bottom: 14px; }
.case { display: grid; gap: 36px; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: start; }
.case ul { padding-left: 18px; margin: 16px 0 0; }
.case li { margin: 6px 0; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 0; padding: 0; list-style: none; }
.tags li { font-size: 13px; font-weight: 600; background: #e3f1fb; color: var(--navy); padding: 4px 10px; border-radius: 999px; margin: 0; }
.shots { display: grid; gap: 16px; }
.shot { border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: #fff; box-shadow: 0 10px 30px rgba(11, 37, 69, .08); }
.shot figcaption { font-size: 13px; color: var(--muted); padding: 10px 14px; border-top: 1px solid var(--line); }
.steps { counter-reset: s; display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.steps .card { position: relative; padding-top: 54px; }
.steps .card::before {
  counter-increment: s; content: counter(s); position: absolute; top: 18px; left: 22px;
  font-weight: 800; color: var(--navy); background: var(--sky); width: 26px; height: 26px; border-radius: 50%;
  display: grid; place-items: center; font-size: 14px;
}
.cta { background: var(--navy); color: #fff; text-align: center; }
.cta p { color: #cfe0ef; margin: 0 auto 24px; max-width: 560px; }
footer { padding: 28px 0; font-size: 13px; color: var(--muted); }
footer .wrap { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }

.case + .case { margin-top: 72px; padding-top: 72px; border-top: 1px solid var(--line); }
.case .eyebrow { color: var(--muted); }
.case h3.big { font-size: 26px; }
.sub { font-size: 22px; margin: 64px 0 6px; }
.sub + .lead { margin-bottom: 24px; font-size: 16px; }
.sites { display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.site { background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; display: flex; flex-direction: column; }
.site img { aspect-ratio: 16 / 10; object-fit: cover; object-position: top; width: 100%; border-bottom: 1px solid var(--line); }
.site .body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.site h4 { margin: 0; font-size: 17px; }
.site p { margin: 0; color: var(--muted); font-size: 15px; }
.site .link { margin-top: auto; padding-top: 8px; font-size: 14px; font-weight: 700; color: var(--navy); text-decoration: none; }
.site .link:hover { text-decoration: underline; }
.site .soon { margin-top: auto; padding-top: 8px; font-size: 14px; font-weight: 700; color: var(--muted); }
.who { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }

@media (max-width: 820px) {
  .case + .case { margin-top: 48px; padding-top: 48px; }
  .case { grid-template-columns: 1fr; }
  .top nav a.hide-sm { display: none; }
  section { padding: 48px 0; }
}
