/* ============================================================
   KREINDO* — kreindo.com
   Editorial studio look: warm paper, huge grotesk, red asterisk.
   ============================================================ */

:root {
  --paper: #f4f1ea;
  --paper-2: #ece8de;
  --ink: #131311;
  --ink-soft: #3a3833;
  --muted: #6f6a5f;
  --red: #e8261f;
  --line: rgba(19, 19, 17, 0.14);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --font-display: "Space Grotesk", "Helvetica Neue", sans-serif;
  --font-serif: "Instrument Serif", Georgia, serif;
  --font-body: "Inter", -apple-system, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--red); color: #fff; }

.wrap { width: min(1200px, 92vw); margin: 0 auto; }

.display {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.02;
}

.serif-it { font-family: var(--font-serif); font-style: italic; font-weight: 400; letter-spacing: 0; }

.ast { color: var(--red); font-style: normal; }

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 20px;
}

.kicker::before { content: "✱"; color: var(--red); font-size: 15px; }

.section-title { font-size: clamp(38px, 5.4vw, 68px); }

.section-sub { color: var(--muted); max-width: 560px; margin-top: 18px; font-size: 17px; }

section { padding: 110px 0; position: relative; }

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: -0.01em;
  padding: 17px 32px;
  border-radius: 100px;
  border: 1.5px solid var(--ink);
  cursor: pointer;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease),
    background 0.25s, color 0.25s;
  white-space: nowrap;
}

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

.btn-ink:hover {
  background: var(--red);
  border-color: var(--red);
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(232, 38, 31, 0.3);
}

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

.btn-ghost:hover {
  background: var(--ink);
  color: var(--paper);
  transform: translateY(-2px);
}

.btn-sm { padding: 11px 22px; font-size: 14px; }

/* on dark surfaces */
.btn-paper { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.btn-paper:hover { background: var(--red); border-color: var(--red); color: #fff; transform: translateY(-2px); }

/* ---------- nav ---------- */

.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  transition: background 0.35s, box-shadow 0.35s;
}

.nav.scrolled {
  background: rgba(244, 241, 234, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--line);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 20px 0;
  transition: padding 0.35s;
}

.nav.scrolled .nav-inner { padding: 13px 0; }

.nav-logo img { height: 30px; width: auto; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
  list-style: none;
}

.nav-links a {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 500;
  color: var(--ink-soft);
  transition: color 0.2s;
  position: relative;
  white-space: nowrap;
}

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

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 0;
  height: 2px;
  background: var(--red);
  transition: width 0.25s var(--ease);
}

.nav-links a:hover::after { width: 100%; }

.hamburger {
  display: none;
  background: none;
  border: 0;
  cursor: pointer;
  width: 40px;
  height: 40px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--ink);
  transition: transform 0.3s var(--ease), opacity 0.3s;
}

.hamburger.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 99;
  background: var(--paper);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}

.mobile-menu.open { opacity: 1; pointer-events: auto; }

.mobile-menu a {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(30px, 8vw, 42px);
  letter-spacing: -0.02em;
  padding: 4px 0;
}

.mobile-menu a:hover { color: var(--red); }

/* ---------- hero ---------- */

.hero {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 170px 0 60px;
  position: relative;
  overflow: hidden;
}

.hero-bg-ast {
  position: absolute;
  right: -180px;
  top: 40px;
  font-size: 640px;
  line-height: 1;
  color: var(--red);
  opacity: 0.07;
  font-family: var(--font-display);
  pointer-events: none;
  user-select: none;
  animation: spin 80s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

.hero h1 {
  font-size: clamp(52px, 8.6vw, 122px);
  max-width: 12ch;
  margin-bottom: 8px;
}

.hero h1 .serif-it { font-size: 0.98em; }

.hero-footnote {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(17px, 2vw, 22px);
  color: var(--muted);
  margin: 10px 0 26px;
}

.hero-footnote .ast { font-family: var(--font-display); font-weight: 700; }

.hero-sub {
  font-size: clamp(16px, 1.6vw, 19px);
  color: var(--ink-soft);
  max-width: 560px;
  margin-bottom: 38px;
}

.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }

.hero-proof {
  margin-top: 64px;
  padding-top: 26px;
  border-top: 1.5px solid var(--ink);
  display: flex;
  gap: 12px 44px;
  flex-wrap: wrap;
}

.hero-proof span {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 15px;
  color: var(--ink-soft);
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.hero-proof span::before { content: "✱"; color: var(--red); font-size: 13px; }

/* ---------- marquee ---------- */

.marquee {
  background: var(--ink);
  padding: 16px 0;
  overflow: hidden;
  transform: rotate(-1deg) scale(1.02);
}

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

.marquee span {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 19px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--paper);
  white-space: nowrap;
  padding-right: 18px;
}

.marquee span::after { content: "✱"; color: var(--red); margin-left: 18px; }

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

/* ---------- work ---------- */

.work-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 56px;
}

.work-grid { display: grid; gap: 26px; }

.work-card {
  display: grid;
  grid-template-columns: 1.45fr 1fr;
  gap: 0;
  border: 1.5px solid var(--ink);
  border-radius: 20px;
  overflow: hidden;
  background: #fff;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.work-card:hover {
  transform: translateY(-6px);
  box-shadow: 10px 12px 0 var(--ink);
}

.work-shot {
  position: relative;
  overflow: hidden;
  background: var(--paper-2);
  border-right: 1.5px solid var(--ink);
  min-height: 320px;
}

.work-shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  transition: transform 0.6s var(--ease);
}

.work-card:hover .work-shot img { transform: scale(1.04); }

.work-info {
  padding: 40px 38px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.work-num {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--red);
  font-size: 15px;
  margin-bottom: 14px;
}

.work-info h3 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
  font-size: clamp(26px, 2.6vw, 34px);
  margin-bottom: 10px;
}

.work-info p { color: var(--muted); font-size: 15.5px; margin-bottom: 22px; }

.work-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 26px; }

.work-tags span {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 1px solid var(--line);
  border-radius: 100px;
  padding: 5px 12px;
  color: var(--ink-soft);
}

.work-link {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
}

.work-link .arr { transition: transform 0.25s var(--ease); color: var(--red); }

.work-card:hover .work-link .arr { transform: translate(4px, -4px); }

/* ---------- services / pricing ---------- */

.services { background: var(--paper-2); }

.svc-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 22px;
  margin-top: 56px;
  align-items: stretch;
}

.svc-main {
  background: var(--ink);
  color: var(--paper);
  border-radius: 20px;
  padding: 48px 44px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.svc-main::after {
  content: "✱";
  position: absolute;
  right: -40px;
  bottom: -70px;
  font-size: 280px;
  line-height: 1;
  color: var(--red);
  opacity: 0.18;
  font-family: var(--font-display);
}

.svc-main .price {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(56px, 6vw, 84px);
  letter-spacing: -0.03em;
  line-height: 1;
}

.svc-main .price small { font-size: 22px; font-weight: 500; color: rgba(244, 241, 234, 0.6); letter-spacing: 0; }

.svc-main h3 {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  margin: 14px 0 6px;
}

.svc-main .d { color: rgba(244, 241, 234, 0.72); font-size: 15.5px; max-width: 420px; }

.svc-main ul { list-style: none; margin: 26px 0 32px; display: grid; gap: 11px; flex: 1; }

.svc-main li {
  display: flex;
  gap: 11px;
  font-size: 15px;
  font-weight: 500;
  color: rgba(244, 241, 234, 0.92);
}

.svc-main li::before { content: "✱"; color: var(--red); flex: none; }

.svc-side { display: grid; gap: 22px; }

.svc-card {
  background: #fff;
  border: 1.5px solid var(--ink);
  border-radius: 20px;
  padding: 26px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.svc-card:hover { transform: translateY(-4px); box-shadow: 6px 8px 0 var(--ink); }

.svc-card .t { font-family: var(--font-display); font-weight: 700; font-size: 17px; letter-spacing: -0.01em; }
.svc-card .d { color: var(--muted); font-size: 13.5px; margin-top: 3px; }

.svc-card .p {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 24px;
  white-space: nowrap;
  text-align: right;
}

.svc-card .p small { display: block; font-size: 12px; font-weight: 500; color: var(--muted); }

.svc-card.soon { border-style: dashed; background: transparent; }

.svc-card.soon .p { color: var(--red); font-size: 14px; text-transform: uppercase; letter-spacing: 0.08em; }

/* ---------- process ---------- */

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin-top: 56px;
}

.step { border-top: 1.5px solid var(--ink); padding-top: 22px; position: relative; }

.step .n {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  color: var(--red);
  margin-bottom: 12px;
}

.step h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 21px;
  letter-spacing: -0.01em;
  margin-bottom: 8px;
}

.step p { color: var(--muted); font-size: 14.5px; }

/* ---------- cta ---------- */

.cta {
  background: var(--ink);
  color: var(--paper);
  text-align: center;
  padding: 130px 0;
  position: relative;
  overflow: hidden;
}

.cta::before {
  content: "✱";
  position: absolute;
  left: 50%;
  top: -130px;
  transform: translateX(-50%);
  font-size: 400px;
  line-height: 1;
  font-family: var(--font-display);
  color: var(--red);
  opacity: 0.14;
  pointer-events: none;
}

.cta h2 { font-size: clamp(44px, 7vw, 96px); margin-bottom: 18px; }

.cta .serif-it { color: var(--red); }

.cta p { color: rgba(244, 241, 234, 0.7); font-size: 17px; max-width: 460px; margin: 0 auto 40px; }

/* ---------- footer ---------- */

footer {
  background: var(--ink);
  color: var(--paper);
  border-top: 1px solid rgba(244, 241, 234, 0.14);
  padding: 56px 0 36px;
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
  margin-bottom: 46px;
}

.footer-brand img { height: 30px; margin-bottom: 16px; }

.footer-brand p { color: rgba(244, 241, 234, 0.6); font-size: 14.5px; max-width: 300px; }

.footer-col h4 {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 16px;
}

.footer-col ul { list-style: none; display: grid; gap: 10px; }

.footer-col a { color: rgba(244, 241, 234, 0.7); font-size: 14.5px; transition: color 0.2s; }

.footer-col a:hover { color: var(--paper); }

.footer-bottom {
  border-top: 1px solid rgba(244, 241, 234, 0.14);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  color: rgba(244, 241, 234, 0.45);
  font-size: 13px;
}

.footer-bottom .serif-it { color: rgba(244, 241, 234, 0.6); }

/* ---------- reveal ---------- */

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

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

.reveal-d1 { transition-delay: 0.1s; }
.reveal-d2 { transition-delay: 0.2s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- responsive ---------- */

@media (max-width: 1024px) {
  .svc-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .work-card { grid-template-columns: 1fr; }
  .work-shot { border-right: 0; border-bottom: 1.5px solid var(--ink); min-height: 260px; }
  .work-shot img { height: 300px; }
}

@media (max-width: 760px) {
  section { padding: 80px 0; }
  .nav-links { display: none; }
  .nav-cta .btn-ink { display: none; }
  .hamburger { display: flex; }
  .steps { grid-template-columns: 1fr; }
  .hero { padding-top: 140px; }
  .hero-bg-ast { font-size: 380px; right: -140px; }
  .work-info { padding: 30px 26px; }
  .svc-main { padding: 36px 28px; }
}
