/* ==========================================================================
   ASTERISKS — monochrome, high-contrast landing page
   Palette taken from the profile mark: white asterisk on black.
   ========================================================================== */

:root {
  --ink: #0b0b0b;
  --ink-soft: #4a4a4a;
  --ink-mute: #767676;
  --paper: #ffffff;
  --paper-warm: #f4f3f0;
  --paper-tint: #ebeae6;
  --line: #e2e1dc;
  --line-dark: rgba(255, 255, 255, 0.18);
  --radius: 18px;
  --radius-lg: 28px;
  --radius-pill: 999px;
  --shadow-sm: 0 2px 10px rgba(11, 11, 11, 0.06);
  --shadow-md: 0 18px 44px rgba(11, 11, 11, 0.12);
  --shadow-lg: 0 36px 80px rgba(11, 11, 11, 0.22);
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--paper);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: inherit; }

h1, h2, h3 {
  margin: 0;
  letter-spacing: -0.03em;
  line-height: 1.04;
  font-weight: 600;
}

p { margin: 0 0 16px; }

.wrap {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
}

/* ---------- Sections ---------------------------------------------------- */

.section {
  padding: 96px 24px;
}

.section--tint { background: var(--paper-warm); }

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

.section__head { margin-bottom: 48px; max-width: 720px; }

.section__head--split {
  max-width: none;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
}

.section__title {
  font-size: clamp(30px, 4.4vw, 50px);
}

.eyebrow {
  margin: 0 0 14px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-mute);
}

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

/* ---------- Buttons / links -------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 26px;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.18s ease, background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

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

.btn--dark:hover {
  transform: translateY(-2px);
  background: #202020;
}

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

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

.btn--sm { padding: 10px 20px; font-size: 14px; }

.btn--block { width: 100%; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
}

.link-arrow::after { content: "\2192"; transition: transform 0.18s ease; }
.link-arrow:hover::after { transform: translateX(4px); }
.link-arrow--light { color: var(--paper); }

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

/* ---------- Nav -------------------------------------------------------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.nav__inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand__mark {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--ink);
}

.brand__text {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 0.24em;
}

.brand--light .brand__text { color: var(--paper); }

.nav__links {
  display: flex;
  align-items: center;
  gap: 30px;
}

.nav__links a {
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  color: var(--ink-soft);
}

.nav__links a:hover { color: var(--ink); }
.nav__links .btn { color: var(--paper); }

.nav__toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--paper);
  cursor: pointer;
  padding: 0;
  place-items: center;
  gap: 5px;
}

.nav__toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink);
}

/* ---------- Hero ------------------------------------------------------- */

.hero {
  padding: 96px 24px;
  background:
    radial-gradient(120% 90% at 85% 0%, var(--paper-tint) 0%, rgba(255, 255, 255, 0) 62%),
    var(--paper);
  overflow: hidden;
}

.hero__inner {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}

.hero__title {
  font-size: clamp(40px, 7.4vw, 82px);
  letter-spacing: -0.045em;
}

.ast {
  display: inline-block;
  margin-left: 10px;
  font-size: 0.5em;
  vertical-align: 0.42em;
  color: var(--ink-mute);
}

.hero__lede {
  margin-top: 24px;
  max-width: 30ch;
  font-size: clamp(17px, 2vw, 20px);
  color: var(--ink-soft);
}

.hero__note {
  margin: 20px 0 0;
  font-size: 14px;
  color: var(--ink-mute);
}

.hero__visual {
  position: relative;
  min-height: 520px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.phone {
  margin: 0;
  border-radius: 34px;
  background: var(--ink);
  padding: 8px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.phone img {
  border-radius: 27px;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.phone--front {
  position: relative;
  z-index: 2;
  width: 268px;
  aspect-ratio: 3 / 4.1;
  transform: rotate(-3deg);
}

.phone--back {
  position: absolute;
  right: 4%;
  top: 8%;
  z-index: 1;
  width: 232px;
  aspect-ratio: 3 / 4.1;
  transform: rotate(7deg);
  opacity: 0.96;
}

/* ---------- Marquee strip ---------------------------------------------- */

.strip {
  background: var(--ink);
  color: var(--paper);
  overflow: hidden;
  padding: 16px 0;
}

.strip__track {
  display: flex;
  gap: 48px;
  width: max-content;
  animation: slide 26s linear infinite;
}

.strip__track span {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  white-space: nowrap;
}

@keyframes slide {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- Steps ------------------------------------------------------ */

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.step {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px;
  background: var(--paper);
  box-shadow: var(--shadow-sm);
}

.step__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-pill);
  background: var(--ink);
  color: var(--paper);
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 22px;
}

.step h3 { font-size: 22px; margin-bottom: 10px; }
.step p { margin: 0; color: var(--ink-soft); font-size: 16px; }

/* ---------- Showcase cards --------------------------------------------- */

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.card__media {
  display: block;
  aspect-ratio: 4 / 3;
  background: var(--ink);
  overflow: hidden;
}

.card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.5s ease;
}

.card:hover .card__media img { transform: scale(1.04); }

.card__body { padding: 26px; display: flex; flex-direction: column; gap: 10px; }
.card__body h3 { font-size: 19px; letter-spacing: -0.02em; }
.card__body p { margin: 0; color: var(--ink-soft); font-size: 15px; }
.card__body .link-arrow { margin-top: 6px; align-self: flex-start; font-size: 14px; }

/* ---------- About ------------------------------------------------------ */

.about__grid {
  display: grid;
  grid-template-columns: 1.4fr 0.6fr;
  gap: 56px;
  align-items: start;
}

.about__copy p { color: var(--ink-soft); max-width: 60ch; }
.about__copy .section__title { margin-bottom: 24px; }

.quote {
  margin: 32px 0 0;
  padding: 28px 32px;
  border-left: 3px solid var(--ink);
  background: var(--paper-warm);
  border-radius: 0 var(--radius) var(--radius) 0;
}

.quote p {
  margin: 0 0 10px;
  font-size: clamp(19px, 2.4vw, 24px);
  letter-spacing: -0.02em;
  color: var(--ink);
}

.quote cite {
  font-size: 13px;
  font-style: normal;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-mute);
}

.about__card {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 104px;
}

.about__mark {
  width: 72px;
  height: 72px;
  border-radius: 20px;
  margin: 0 auto 18px;
  background: var(--ink);
}

.about__name {
  margin: 0 0 6px;
  font-weight: 600;
  letter-spacing: 0.2em;
}

.about__bio { color: var(--ink-soft); font-size: 15px; margin-bottom: 22px; }

/* ---------- Feed ------------------------------------------------------- */

.feed__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.tile {
  position: relative;
  display: block;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: #161616;
  text-decoration: none;
}

.tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.5s ease, opacity 0.3s ease;
}

.tile:hover img { transform: scale(1.05); opacity: 0.72; }

.tile__cap {
  position: absolute;
  inset: auto 0 0 0;
  padding: 40px 20px 20px;
  font-size: 14px;
  font-weight: 500;
  color: var(--paper);
  background: linear-gradient(to top, rgba(0, 0, 0, 0.82), rgba(0, 0, 0, 0));
}

/* ---------- Contact ---------------------------------------------------- */

.contact__grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 56px;
  align-items: start;
}

.contact__intro p { color: var(--ink-soft); max-width: 42ch; }
.contact__intro .section__title { margin-bottom: 20px; }

.form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px;
  background: var(--paper-warm);
}

.field { display: flex; flex-direction: column; gap: 8px; }
.field--full { grid-column: 1 / -1; }

.field label {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.field input,
.field select,
.field textarea {
  font-family: inherit;
  font-size: 16px;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px 16px;
  width: 100%;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.field textarea { resize: vertical; }

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--ink);
  box-shadow: 0 0 0 3px rgba(11, 11, 11, 0.08);
}

/* ---------- Footer ----------------------------------------------------- */

.footer {
  background: var(--ink);
  color: var(--paper);
  padding: 64px 24px;
}

.footer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--line-dark);
}

.footer__tag {
  margin: 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 15px;
}

.footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
}

.footer__links a {
  font-size: 15px;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.78);
}

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

.footer__base {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding-top: 24px;
  font-size: 13px;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.5);
}

/* ---------- Reveal ----------------------------------------------------- */

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

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

/* ---------- Responsive ------------------------------------------------- */

@media (max-width: 980px) {
  .hero__inner,
  .about__grid,
  .contact__grid { grid-template-columns: 1fr; }

  .hero { padding: 64px 24px; }
  .hero__lede { max-width: 46ch; }
  .hero__visual { min-height: 420px; margin-top: 16px; }
  .about__card { position: static; }
  .steps, .cards { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 760px) {
  .nav__toggle { display: grid; }

  .nav__links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 16px 24px 24px;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    display: none;
  }

  .nav__links.is-open { display: flex; }
  .nav__links a { padding: 10px 0; font-size: 17px; }
  .nav__links .btn { margin-top: 8px; justify-content: center; }

  .section { padding: 64px 24px; }
  .section__head { margin-bottom: 32px; }
  .steps, .cards, .feed__grid { grid-template-columns: 1fr; }
  .form { grid-template-columns: 1fr; padding: 24px; }
  .hero__visual { min-height: 380px; }
  .phone--front { width: 214px; }
  .phone--back { width: 186px; right: 0; }
  .footer { padding: 48px 24px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .strip__track { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
}
