/* Mickey Digital — design tokens */
:root {
  --bg:        #0D0E10;
  --surface:   #16171A;
  --line:      #232428;
  --line-2:    #2A2B30;
  --line-3:    #2E2F34;
  --ink:       #F3F3EF;
  --ink-hi:    #FFFFFF;
  --ink-2:     #D6D6D1;
  --ink-3:     #C9C9C4;
  --muted:     #A3A49F;
  --muted-2:   #7C7D78;
  --muted-3:   #5A5B57;
  --btn-hover: #26272B;

  /* on light surfaces */
  --l-bg:      #F3F3EF;
  --l-surface: #FFFFFF;
  --l-ink:     #0D0E10;
  --l-body:    #44453F;
  --l-muted:   #5E5F5B;
  --l-line:    #DCDCD6;
  --l-line-2:  #E4E4DE;
  --l-line-3:  #D4D4CE;

  --sans: 'Schibsted Grotesk', system-ui, sans-serif;
  --mono: 'Geist Mono', ui-monospace, monospace;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}

html { scroll-behavior: smooth; }

a { color: var(--ink); text-decoration: none; }
a:hover { color: var(--ink-hi); }

img { display: block; }

.shell { max-width: 1440px; margin: 0 auto; padding: 16px; }

/* ---------- shared bits ---------- */

.eyebrow {
  margin: 0;
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.eyebrow--bright { color: var(--ink-2); }
.eyebrow--on-light { color: var(--l-muted); }

/* Pill button with a circular arrow chip */
.btn {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 8px 8px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  white-space: nowrap;
  flex-shrink: 0;
  transition: background-color .18s ease, color .18s ease;
}
.btn__chip {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.btn--light { background: var(--ink); color: var(--l-ink); }
.btn--light:hover { background: var(--ink-hi); color: var(--l-ink); }
.btn--light .btn__chip { background: var(--l-ink); color: var(--ink); }

.btn--dark { background: var(--l-ink); color: var(--ink); }
.btn--dark:hover { background: var(--btn-hover); color: var(--ink); }
.btn--dark .btn__chip { background: var(--ink); color: var(--l-ink); }

/* Outline pill */
.btn-ghost {
  display: flex;
  align-items: center;
  padding: 0 22px;
  height: 52px;
  border-radius: 999px;
  white-space: nowrap;
  flex-shrink: 0;
  font-weight: 500;
  font-size: 15px;
  border: 1px solid rgba(243, 243, 239, 0.4);
  color: var(--ink);
  transition: background-color .18s ease;
}
.btn-ghost:hover { background: rgba(243, 243, 239, 0.1); color: var(--ink); }

.btn-ghost--on-light { border-color: var(--l-ink); color: var(--l-ink); }
.btn-ghost--on-light:hover { background: var(--l-line-2); color: var(--l-ink); }

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

/* The logo mark is a circular crop of a larger lockup */
.mark {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg) url(assets/mark.png) center / 250% no-repeat;
  border: 1px solid var(--line-2);
  flex-shrink: 0;
}

/* Fills its positioned parent; matches <image-slot>'s default cover behaviour */
.fill {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---------- header ---------- */

.header {
  position: sticky;
  top: 12px;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 10px 10px 10px 14px;
  border-radius: 999px;
  background: rgba(13, 14, 16, 0.82);
  backdrop-filter: blur(14px);
  border: 1px solid var(--line);
}
.header__brand { display: flex; align-items: center; gap: 10px; }
.header__name { font-weight: 700; font-size: 17px; letter-spacing: -0.01em; }

.nav { display: flex; gap: 28px; font-size: 14px; flex-wrap: wrap; }
.nav a { color: var(--muted); }
.nav a:hover { color: var(--ink); }

.header__cta {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 6px 6px 18px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--l-ink);
  font-size: 14px;
  font-weight: 600;
  transition: background-color .18s ease;
}
.header__cta:hover { background: var(--ink-hi); color: var(--l-ink); }
.header__cta span {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--l-ink);
  color: var(--ink);
  display: grid;
  place-items: center;
  font-size: 14px;
}

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

.hero {
  position: relative;
  margin-top: 16px;
  border-radius: 28px;
  overflow: hidden;
  min-height: 760px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: var(--surface);
}
.hero__media { position: absolute; inset: 0; }
.hero__scrim {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg,
    rgba(13, 14, 16, 0.55) 0%,
    rgba(13, 14, 16, 0)   35%,
    rgba(13, 14, 16, 0)   50%,
    rgba(13, 14, 16, 0.85) 100%);
}
.hero__wordmark {
  position: relative;
  pointer-events: none;
  padding: 28px 36px 0;
  font-size: clamp(90px, 19vw, 290px);
  font-weight: 800;
  letter-spacing: -0.06em;
  line-height: 0.8;
  color: var(--ink);
  text-align: center;
}
.hero__foot {
  position: relative;
  pointer-events: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
  align-items: end;
  gap: 32px;
  padding: 36px;
}
.hero__copy { display: flex; flex-direction: column; gap: 24px; }
.hero__copy .btn-row { pointer-events: auto; }
.hero h1 {
  margin: 0;
  font-size: clamp(44px, 5.4vw, 80px);
  line-height: 0.95;
  letter-spacing: -0.04em;
  font-weight: 700;
  text-wrap: balance;
}

.hero__stats { display: flex; justify-content: flex-end; gap: 12px; flex-wrap: wrap; }
.stat {
  padding: 18px 20px;
  border-radius: 18px;
  background: rgba(13, 14, 16, 0.6);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(243, 243, 239, 0.14);
  min-width: 170px;
}
.stat__value { font-size: 36px; font-weight: 700; letter-spacing: -0.03em; }
.stat__label { font-size: 14px; color: var(--ink-3); margin-top: 4px; }

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

.marquee { overflow: hidden; padding: 36px 0; border-bottom: 1px solid var(--line); }
.marquee__track {
  display: flex;
  width: max-content;
  white-space: nowrap;
  font-size: clamp(40px, 6vw, 88px);
  font-weight: 700;
  letter-spacing: -0.04em;
  animation: md-marquee 40s linear infinite;
}
.marquee__item {
  display: inline-flex;
  align-items: center;
  gap: 48px;
  padding-right: 48px;
}
.marquee__dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2px solid var(--muted-3);
  display: inline-block;
}
@keyframes md-marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ---------- about ---------- */

.about {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 460px), 1fr));
  gap: 48px;
  padding: 120px 20px;
}
.about__copy {
  display: flex;
  flex-direction: column;
  gap: 40px;
  justify-content: space-between;
}
.about h2 {
  margin: 0;
  font-size: clamp(32px, 3.6vw, 52px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  font-weight: 600;
  text-wrap: pretty;
}
.about h2 em { font-style: normal; color: var(--muted-2); }

.contacts { display: flex; gap: 40px; flex-wrap: wrap; }
.contact { display: flex; gap: 12px; align-items: center; }
.contact__icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line-3);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.contact__label { font-size: 13px; color: var(--muted); }
.contact__value { font-size: 16px; font-weight: 500; }

.about__media {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  min-height: 460px;
}
.about__shot {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  background: var(--surface);
}
.about__shot--offset { margin-top: 60px; }

/* ---------- packages ---------- */

.packages {
  border-radius: 28px;
  background: var(--l-bg);
  color: var(--l-ink);
  padding: clamp(28px, 4vw, 56px);
}
.packages__head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 32px 24px;
  flex-wrap: wrap;
  padding-bottom: 48px;
}
.packages__head h2 {
  margin: 0;
  font-size: clamp(44px, 6vw, 96px);
  line-height: 1;
  letter-spacing: -0.05em;
  font-weight: 700;
  text-wrap: balance;
}
.packages__head .eyebrow { margin-bottom: 20px; }
.packages__lede {
  margin: 0;
  max-width: 380px;
  font-size: 17px;
  line-height: 1.5;
  color: var(--l-body);
}

.tiers {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
  gap: 16px;
  align-items: stretch;
}
.tier {
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding: 32px;
  border-radius: 24px;
}
.tier--light {
  background: var(--l-surface);
  border: 1px solid var(--l-line);
}
.tier--dark { background: var(--l-ink); color: var(--ink); }

.tier__meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.tier__index {
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--l-muted);
}
.tier--dark .tier__index { color: var(--muted); }

.tier__tag {
  font-size: 13px;
  color: var(--l-body);
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--l-line-3);
  white-space: nowrap;
}
.tier__tag--solid {
  color: var(--l-ink);
  background: var(--ink);
  border: none;
  font-weight: 600;
}

.tier h3 {
  margin: 0 0 12px;
  font-size: clamp(32px, 3vw, 44px);
  letter-spacing: -0.04em;
  font-weight: 700;
  line-height: 1;
}
.tier p {
  margin: 0;
  font-size: 16px;
  line-height: 1.5;
  color: var(--l-body);
  text-wrap: pretty;
}
.tier--dark p { color: var(--ink-3); }

.tier__list {
  list-style: none;
  margin: 0;
  padding: 24px 0 0;
  border-top: 1px solid var(--l-line-2);
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}
.tier--dark .tier__list { border-top-color: var(--line-2); }
.tier__list li {
  display: flex;
  gap: 12px;
  align-items: start;
  font-size: 15px;
  line-height: 1.45;
}
.tier__tick {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  border-radius: 50%;
  background: var(--l-ink);
  display: grid;
  place-items: center;
  font-size: 11px;
  color: var(--ink);
}
.tier--dark .tier__tick { background: var(--ink); color: var(--l-ink); }

.tier .btn { justify-content: space-between; }

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

.work { padding: 120px 20px 40px; }
.work__title {
  margin: 0 0 48px;
  font-size: clamp(64px, 13vw, 200px);
  line-height: 0.8;
  letter-spacing: -0.06em;
  font-weight: 800;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--ink);
}
.work__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 400px), 1fr));
  gap: 20px;
}
.project { display: flex; flex-direction: column; gap: 18px; color: var(--ink); }
.project:hover { color: var(--ink); }
.project__shot {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: 22px;
  overflow: hidden;
  background: var(--surface);
}
.project__shot img { transition: transform .4s ease; }
.project:hover .project__shot img { transform: scale(1.03); }
.project__meta {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 16px;
  padding: 0 4px;
}
.project h3 { margin: 0; font-size: 24px; letter-spacing: -0.02em; font-weight: 600; }
.project__type { margin: 6px 0 0; font-size: 15px; color: var(--muted); }
.project__domain {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 13px;
  color: var(--ink-3);
  padding-top: 6px;
  white-space: nowrap;
}

/* ---------- reviews ---------- */

.reviews { padding: 100px 20px; }
.reviews__head {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
  gap: 40px;
  margin-bottom: 56px;
  align-items: end;
}
.reviews__head > div { display: flex; flex-direction: column; gap: 20px; }
.reviews__head h2 {
  margin: 0;
  font-size: clamp(44px, 6vw, 96px);
  line-height: 1;
  letter-spacing: -0.05em;
  font-weight: 700;
}
.reviews__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
  gap: 16px;
}
.review {
  margin: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 40px;
  padding: 36px;
  border-radius: 24px;
  background: var(--surface);
  border: 1px solid var(--line);
}
.review__body { display: flex; flex-direction: column; gap: 24px; }
.review__stars {
  display: flex;
  gap: 4px;
  font-size: 18px;
  letter-spacing: 2px;
  color: var(--ink);
}
.review blockquote {
  margin: 0;
  font-size: clamp(19px, 1.6vw, 23px);
  line-height: 1.45;
  letter-spacing: -0.01em;
  font-weight: 500;
  text-wrap: pretty;
}
.review figcaption {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 24px;
  border-top: 1px solid var(--line-2);
}
.review__avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--l-ink);
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 15px;
  flex-shrink: 0;
}
.review__name { font-size: 16px; font-weight: 600; }
.review__role { font-size: 14px; color: var(--muted); margin-top: 2px; }

/* ---------- contact ---------- */

.contact-cta {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  background: var(--l-bg);
  color: var(--l-ink);
  padding: clamp(32px, 5vw, 72px);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr));
  gap: 48px;
  align-items: end;
}
.contact-cta__copy { display: flex; flex-direction: column; gap: 32px; }
.contact-cta h2 {
  margin: 0;
  font-size: clamp(48px, 7vw, 112px);
  line-height: 0.88;
  letter-spacing: -0.05em;
  font-weight: 700;
}
.contact-cta__seal { display: flex; justify-content: flex-end; }

.seal {
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: var(--l-ink);
  display: grid;
  place-items: center;
  position: relative;
}
.seal__mark {
  width: 150px;
  height: 150px;
  background: url(assets/mark.png) center / 250% no-repeat;
  border-radius: 50%;
}
.seal__ring {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  animation: md-spin 24s linear infinite;
}
.seal__ring text {
  fill: var(--ink);
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 4.2px;
}
@keyframes md-spin {
  from { transform: rotate(0); }
  to   { transform: rotate(360deg); }
}

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

.footer {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 40px;
  padding: 72px 20px 32px;
}
.footer__brand { display: flex; flex-direction: column; gap: 16px; }
.footer__lockup { display: flex; align-items: center; gap: 10px; }
.footer__lockup span { font-weight: 700; font-size: 17px; }
.footer__blurb {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: var(--muted);
  max-width: 240px;
}
.footer__col { display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.footer__col a { color: var(--ink-3); }
.footer__col a:hover { color: var(--ink-hi); }
.footer__heading {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-bottom: 6px;
}
.footer__base {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--muted-2);
}
.footer__base a { color: var(--muted); }
.footer__base a:hover { color: var(--ink-hi); }

/* ---------- motion & small screens ---------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .marquee__track,
  .seal__ring { animation: none; }
  .project__shot img { transition: none; }
}

@media (max-width: 860px) {
  .header { gap: 12px; padding: 8px 8px 8px 12px; }
  .nav { display: none; }
  .hero { min-height: 620px; }
  .hero__foot { padding: 24px; }
  .hero__stats { justify-content: flex-start; }
  .about { padding: 80px 4px; gap: 40px; }
  .about__media { min-height: 340px; }
  .about__shot--offset { margin-top: 32px; }
  .work { padding: 80px 4px 24px; }
  .reviews { padding: 72px 4px; }
  .review { padding: 28px; }
  .footer { padding: 56px 4px 24px; }
}
