@font-face {
  font-family: 'Druk';
  src: url('druk-medium.otf') format('opentype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

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

:root {
  --sky: #7CC3F5;
  --sky-deep: #5FB2F0;
  --ink: #111111;
  --ink-soft: #171717;
  --paper: #FFFFFF;
  --lime: #CBEB45;
  --hairline: rgba(17,17,17,0.18);
  --muted: rgba(17,17,17,0.62);
  --faint: rgba(17,17,17,0.45);
  --serif: 'Instrument Serif', 'Times New Roman', serif;
  --druk: 'Druk', 'Inter', system-ui, sans-serif;
}

html {
  width: 100%;
  min-height: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  width: 100%;
  min-height: 100%;
  background: linear-gradient(180deg, var(--sky-deep), var(--sky) 55%);
  background-attachment: fixed;
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--ink);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

::selection {
  background: var(--lime);
  color: var(--ink);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 60;
  pointer-events: none;
  opacity: 0.38;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3CfeComponentTransfer%3E%3CfeFuncA type='linear' slope='0.05'/%3E%3C/feComponentTransfer%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
}

.wrap {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── buttons ────────────────────────────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 15px 20px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-decoration: none;
  transition: 0.2s ease;
}

.btn .arr {
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  transition: transform 0.2s ease;
}

.btn .arr svg {
  width: 15px;
  height: 15px;
}

.btn:hover .arr {
  transform: translateX(3px);
}

.btn-ink {
  background: var(--ink);
  color: #fff;
}

.btn-ink .arr {
  background: var(--lime);
  color: var(--ink);
}

.btn-lime {
  background: var(--lime);
  color: var(--ink);
}

.btn-lime .arr {
  background: var(--ink);
  color: var(--lime);
}

.btn:hover {
  transform: translateY(-2px);
}

/* ── header ─────────────────────────────────────────────── */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 40;
  transition: background 0.3s ease;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 18px;
  padding-bottom: 18px;
}

.brand {
  font-family: var(--druk);
  font-size: 22px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  color: var(--ink);
  text-decoration: none;
  transition: color 0.3s ease;
}

.nav {
  display: flex;
  align-items: center;
  gap: 26px;
}

.nav-link {
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.nav-link:hover {
  color: var(--ink);
}

.nav .btn {
  padding: 11px 16px;
  font-size: 13px;
}

.nav .btn .arr {
  width: 22px;
  height: 22px;
}

.nav .btn .arr svg {
  width: 13px;
  height: 13px;
}

.site-header.scrolled {
  background: rgba(17,17,17,0.94);
}

.site-header.scrolled .brand {
  color: var(--paper);
}

.site-header.scrolled .nav-link {
  color: rgba(255,255,255,0.7);
}

.site-header.scrolled .nav-link:hover {
  color: var(--paper);
}

.site-header.scrolled .btn-ink {
  background: var(--lime);
  color: var(--ink);
}

.site-header.scrolled .btn-ink .arr {
  background: var(--ink);
  color: var(--lime);
}

/* ── hero ───────────────────────────────────────────────── */

.hero {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding-top: 110px;
  padding-bottom: 56px;
}

.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;
}

.logo-wrap {
  width: 100%;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  user-select: none;
  animation: fadeup 1s cubic-bezier(0.2, 0.65, 0.2, 1) both;
}

#logo {
  display: block;
  width: 100%;
}

@keyframes fadeup {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: none; }
}

.hero-title {
  margin: 56px auto 0;
  max-width: 900px;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(40px, 6.4vw, 80px);
  line-height: 1.0;
  letter-spacing: -0.015em;
  animation: fadeup 1s 0.12s cubic-bezier(0.2, 0.65, 0.2, 1) both;
}

.hero-sub {
  margin: 24px auto 0;
  max-width: 480px;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.6;
  color: var(--muted);
  letter-spacing: -0.01em;
  animation: fadeup 1s 0.2s cubic-bezier(0.2, 0.65, 0.2, 1) both;
}

.hero-ctas {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 36px;
  flex-wrap: wrap;
  animation: fadeup 1s 0.28s cubic-bezier(0.2, 0.65, 0.2, 1) both;
}

/* ── marquee ────────────────────────────────────────────── */

.marquee {
  padding: 18px 0;
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
  overflow: hidden;
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 130s linear infinite;
}

.marquee-track span {
  white-space: nowrap;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--faint);
}

@keyframes marquee {
  to { transform: translateX(-50%); }
}

.marquee-track em {
  font-style: normal;
  display: inline-block;
  margin: 0 18px;
  color: var(--faint);
}

.marquee-track em svg {
  width: 11px;
  height: 11px;
  display: inline-block;
  vertical-align: -1px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.6;
  stroke-linecap: round;
}

/* ── reveals ────────────────────────────────────────────── */

.reveal {
  opacity: 0;
  transform: translateY(26px) rotate(var(--rot, 0deg));
  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.2, 0.65, 0.2, 1);
  transition-delay: var(--d, 0s);
}

.reveal.in {
  opacity: 1;
  transform: translateY(0) rotate(var(--rot, 0deg));
}

/* ── statement ──────────────────────────────────────────── */

.statement {
  padding: 150px 0 150px;
  text-align: center;
}

.eyebrow {
  font-family: ui-monospace, "SF Mono", "Roboto Mono", Menlo, monospace;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: lowercase;
  color: var(--faint);
}

.statement-text {
  margin: 26px auto 0;
  max-width: 880px;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(32px, 4.8vw, 58px);
  line-height: 1.06;
  letter-spacing: -0.012em;
}

.statement-text .w {
  opacity: 0.16;
  transition: opacity 0.35s ease;
}

.statement-text .w.lit {
  opacity: 1;
}

.statement-text mark {
  background: var(--lime);
  color: inherit;
  padding: 0 0.12em;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

/* ── dark zone ──────────────────────────────────────────── */

.dark {
  background: var(--ink);
  color: var(--paper);
  padding: 130px 0 0;
}

.dark-title {
  text-align: center;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(38px, 5.4vw, 68px);
  letter-spacing: -0.01em;
  line-height: 1.02;
}

.dark-sub {
  margin-top: 18px;
  text-align: center;
  font-size: 15px;
  font-weight: 500;
  color: rgba(255,255,255,0.6);
  letter-spacing: -0.01em;
}

.cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 72px;
  align-items: start;
}

.card {
  padding: clamp(30px, 4vw, 48px);
  transition: transform 0.4s cubic-bezier(0.2, 0.65, 0.2, 1);
}

.card-lime {
  --rot: -1.3deg;
  background: var(--lime);
  color: var(--ink);
  transform: rotate(var(--rot));
}

.card-dark {
  --rot: 1.1deg;
  background: var(--ink-soft);
  color: var(--paper);
  border: 1px solid rgba(255,255,255,0.14);
  transform: rotate(var(--rot));
}

.card.reveal.in:hover,
.card:hover {
  transform: translateY(0) rotate(0deg);
}

.card-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
}

.card-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(32px, 3.6vw, 46px);
  letter-spacing: -0.01em;
  line-height: 1;
}

.card-num {
  font-family: var(--serif);
  font-size: clamp(24px, 2.6vw, 34px);
  opacity: 0.45;
}

.card-desc {
  margin-top: 14px;
  font-size: 14.5px;
  font-weight: 500;
  line-height: 1.6;
  letter-spacing: -0.01em;
  opacity: 0.72;
  max-width: 400px;
}

.card-links {
  margin-top: 30px;
}

.card-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 15px 0;
  border-top: 1px solid rgba(17,17,17,0.28);
  text-decoration: none;
  color: inherit;
  transition: 0.18s ease;
}

.card-dark .card-link {
  border-top-color: rgba(255,255,255,0.2);
}

.card-link:last-child {
  border-bottom: 1px solid rgba(17,17,17,0.28);
}

.card-dark .card-link:last-child {
  border-bottom-color: rgba(255,255,255,0.2);
}

.card-link-name {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.02em;
  text-transform: lowercase;
}

.card-link-meta {
  margin-left: auto;
  font-family: ui-monospace, "SF Mono", "Roboto Mono", Menlo, monospace;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: lowercase;
  padding: 4px 8px;
  background: rgba(17,17,17,0.1);
}

.card-dark .card-link-meta {
  background: rgba(255,255,255,0.14);
}

.card-link-arrow {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  transition: transform 0.2s ease;
}

.card-link-arrow svg {
  width: 14px;
  height: 14px;
}

.card-link:hover .card-link-arrow {
  transform: translate(2px, -2px);
}

.card-link-soon {
  cursor: default;
  opacity: 0.6;
}

.card-link-static {
  cursor: default;
}

.card-link-group {
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
}

.card-link-sub {
  font-family: ui-monospace, "SF Mono", "Roboto Mono", Menlo, monospace;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.03em;
  text-transform: lowercase;
  color: rgba(17,17,17,0.62);
}

.card .btn {
  margin-top: 30px;
}

/* ── contact ────────────────────────────────────────────── */

/* ── about ──────────────────────────────────────────────── */

.about {
  padding: 150px 0 0;
}

.about-inner {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 56px;
  align-items: start;
}

.eyebrow-light {
  color: rgba(255,255,255,0.45);
}

.about-body {
  max-width: 660px;
}

.about-lead {
  font-size: clamp(19px, 2.4vw, 25px);
  line-height: 1.45;
  letter-spacing: -0.02em;
  color: var(--paper);
}

.about-body p + p {
  margin-top: 22px;
  font-size: clamp(15.5px, 1.7vw, 17px);
  line-height: 1.65;
  letter-spacing: -0.012em;
  color: rgba(255,255,255,0.68);
}

.contact {
  padding: 150px 0 0;
}

.contact-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 64px;
  align-items: start;
}

.contact-card {
  padding: clamp(34px, 4vw, 52px);
  text-align: center;
  transition: transform 0.4s cubic-bezier(0.2, 0.65, 0.2, 1);
}

.contact-card.card-lime { --rot: 1.2deg; transform: rotate(var(--rot)); }
.contact-card.card-dark { --rot: -1deg; transform: rotate(var(--rot)); }
.contact-card.reveal.in:hover,
.contact-card:hover { transform: translateY(0) rotate(0deg); }

.contact-card-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(30px, 3.4vw, 42px);
  letter-spacing: -0.01em;
}

.contact-card-desc {
  margin: 14px auto 0;
  max-width: 320px;
  font-size: 14.5px;
  font-weight: 500;
  line-height: 1.6;
  opacity: 0.72;
}

.contact-card .btn {
  margin-top: 26px;
}

/* ── footer ─────────────────────────────────────────────── */

.footer {
  margin-top: 140px;
  border-top: 1px solid rgba(255,255,255,0.14);
}

.footer-meta {
  padding-top: 52px;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  font-family: ui-monospace, "SF Mono", "Roboto Mono", Menlo, monospace;
  font-size: 12px;
  line-height: 1.7;
  color: rgba(255,255,255,0.55);
  text-transform: lowercase;
}

.footer-meta-right {
  text-align: right;
}

.footer-meta a {
  color: rgba(255,255,255,0.85);
  text-decoration: none;
}

.footer-meta a:hover {
  color: var(--lime);
}

.footer-inner {
  padding-top: 28px;
  padding-bottom: 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-note {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: rgba(255,255,255,0.5);
  text-transform: lowercase;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 24px;
}

.footer-links a {
  font-size: 12.5px;
  font-weight: 600;
  color: rgba(255,255,255,0.65);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--lime);
}

.footer-word {
  overflow: hidden;
  line-height: 0.76;
  pointer-events: none;
}

.footer-word span {
  display: block;
  font-family: var(--druk);
  font-size: clamp(90px, 17.5vw, 236px);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  color: var(--lime);
  transform: translateY(0.08em);
}

/* ── responsive ─────────────────────────────────────────── */

@media (max-width: 860px) {
  .cards,
  .contact-cards {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

@media (max-width: 720px) {
  .wrap { padding: 0 18px; }

  .nav { gap: 14px; }
  .nav-link { display: none; }

  .hero { padding-top: 96px; }

  .hero-title { margin-top: 44px; }

  .hero-sub { font-size: 15px; }

  .statement { padding: 100px 0 100px; }

  .dark { padding-top: 90px; }

  .cards { margin-top: 48px; }

  .about { padding-top: 100px; }

  .about-inner {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .contact { padding-top: 100px; }

  .contact-cards { margin-top: 44px; }

  .footer { margin-top: 90px; }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .footer-meta {
    flex-direction: column;
  }

  .footer-meta-right {
    text-align: left;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .logo-wrap, .hero-title, .hero-sub, .hero-ctas { animation: none; }
  .marquee-track { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .statement-text .w { opacity: 1; transition: none; }
}

/* ── service pages ──────────────────────────────────────── */

.svc-hero {
  padding: 170px 0 110px;
  text-align: center;
}

.svc-back {
  display: inline-block;
  margin-bottom: 26px;
  font-family: ui-monospace, "SF Mono", "Roboto Mono", Menlo, monospace;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: lowercase;
  color: var(--faint);
  text-decoration: none;
}

.svc-back:hover { color: var(--ink); }

.svc-title {
  margin: 14px auto 0;
  max-width: 900px;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(38px, 5.8vw, 72px);
  line-height: 1.02;
  letter-spacing: -0.015em;
}

.svc-sub {
  margin: 24px auto 0;
  max-width: 540px;
  font-size: 16.5px;
  font-weight: 500;
  line-height: 1.6;
  color: var(--muted);
  letter-spacing: -0.01em;
}

.svc-ctas {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-top: 34px;
  flex-wrap: wrap;
}

.svc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  padding-top: 20px;
}

.svc-list {
  list-style: none;
}

.svc-list li {
  padding: 15px 0;
  border-top: 1px solid rgba(255,255,255,0.2);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.015em;
  text-transform: lowercase;
}

.svc-list li:last-child { border-bottom: 1px solid rgba(255,255,255,0.2); }

.svc-list li span {
  display: block;
  margin-top: 5px;
  font-family: ui-monospace, "SF Mono", "Roboto Mono", Menlo, monospace;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.03em;
  color: rgba(255,255,255,0.6);
  text-transform: lowercase;
}

.svc-steps {
  counter-reset: step;
}

.svc-step {
  padding: 18px 0;
  border-top: 1px solid rgba(255,255,255,0.2);
}

.svc-step:last-child { border-bottom: 1px solid rgba(255,255,255,0.2); }

.svc-step-n {
  font-family: ui-monospace, "SF Mono", "Roboto Mono", Menlo, monospace;
  font-size: 11px;
  letter-spacing: 0.14em;
  color: rgba(255,255,255,0.45);
}

.svc-step-t {
  margin-top: 7px;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.02em;
  text-transform: lowercase;
}

.svc-step-d {
  margin-top: 6px;
  font-size: 14.5px;
  line-height: 1.6;
  color: rgba(255,255,255,0.68);
}

@media (max-width: 860px) {
  .svc-grid { grid-template-columns: 1fr; gap: 30px; }
}

@media (max-width: 720px) {
  .svc-hero { padding: 130px 0 80px; }
}

.card-link-sub a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid rgba(17,17,17,0.3);
  padding-bottom: 1px;
  transition: 0.15s ease;
}

.card-link-sub a:hover {
  color: var(--ink);
  border-bottom-color: var(--ink);
}

.card-link-group { cursor: default; }
