/* Inter (static, same files as the Framer build), self-hosted */
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400; font-display: swap; src: url(fonts/inter-400-latin-ext.woff2) format("woff2"); unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400; font-display: swap; src: url(fonts/inter-400-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 700; font-display: swap; src: url(fonts/inter-700-latin-ext.woff2) format("woff2"); unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 700; font-display: swap; src: url(fonts/inter-700-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 900; font-display: swap; src: url(fonts/inter-900-latin-ext.woff2) format("woff2"); unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 900; font-display: swap; src: url(fonts/inter-900-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --black: #000;
  --white: #fff;
  --card: #171717;
  --grey: #999;
  --orange: #ff8c00;
  --light: #d8d8d8;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
  background: var(--light);
  color: var(--white);
  font-family: Inter, Arial, sans-serif; /* Framer falls back to Arial for glyphs Inter subsets lack (→) */
  font-size: 18px;
  line-height: 1.2;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { display: block; }
h2, h3 { font-size: inherit; }

.mobile { display: none; }

.container { max-width: 750px; margin: 0 auto; padding: 0 16px; }

/* Nav */
.nav { background: var(--black); height: 70px; }
.nav__inner {
  max-width: 750px; height: 100%; margin: 0 auto; padding: 0 20px;
  display: flex; align-items: center; justify-content: space-between;
}
.nav__brand { font-size: 16px; font-weight: 700; color: rgba(255, 255, 255, .95); }
.nav__links { display: flex; gap: 16px; }
.nav__links a { font-size: 15px; font-weight: 700; letter-spacing: -.01em; color: rgba(255, 255, 255, .95); }

/* Dark section */
.dark { background: var(--black); padding: 20px 0 50px; }

.hero { display: flex; align-items: center; gap: 10px; }
.hero__avatar { width: 75px; height: 75px; border-radius: 8px; flex: none; object-fit: cover; }
.hero__title { font-size: 28px; font-weight: 700; max-width: 580px; }
.accent { color: var(--orange); }
.shipped { margin-top: 16px; font-size: 24px; color: var(--orange); }

.section-title { font-size: 32px; font-weight: 700; letter-spacing: -.01em; }
.section-title--first { margin-top: 40px; }
.section-title--next { margin-top: 55px; }
.section-title--other { margin-top: 79px; font-weight: 900; line-height: 39px; letter-spacing: -.1px; }

.cards { margin-top: 16px; display: flex; flex-direction: column; gap: 32px; }
.card {
  letter-spacing: -.01em;
  display: flex; gap: 8px; padding: 16px;
  background: var(--card); border-radius: 8px;
  transition: transform .3s cubic-bezier(.2, .8, .3, 1);
}
.card:hover { transform: scale(1.01); }
.card__media { flex: none; width: 452px; aspect-ratio: 452 / 304; border-radius: 8px; overflow: hidden; }
.card__media--natural { aspect-ratio: 1024 / 663; }
.card__media img { width: 100%; height: 100%; object-fit: cover; }
.card__text { flex: 1; min-width: 0; }
.card__name { font-weight: 700; }
.card__sub { font-weight: 400; }
.card__desc { margin-top: 8px; color: var(--grey); }
.card__short { font-size: 16px; line-height: 18px; letter-spacing: -.04em; }
.card--bare { padding: 0; gap: 16px; background: none; } /* no plate: image and text on the page background */

.facts { margin-top: 15px; display: flex; flex-direction: column; gap: 16px; }
.facts h3 { max-width: 500px; letter-spacing: -.01em; font-weight: 400; color: var(--grey); }
.facts b { color: var(--white); }

/* Light section */
.light { background: var(--light); color: var(--black); padding: 50px 0 40px; }
.cta__title { max-width: 500px; font-size: 48px; font-weight: 700; letter-spacing: -.01em; }
.cta__button {
  display: inline-block; margin-top: 30px; padding: 24px 29px;
  background: var(--card); color: var(--white); border-radius: 4px;
  font-size: 48px; font-weight: 700; letter-spacing: -.01em;
  box-shadow: 0 4px 4px rgba(0, 0, 0, .25);
  transition: transform .3s cubic-bezier(.2, .8, .3, 1);
}
.cta__button:hover { transform: scale(1.05); }

.background { margin-top: 81px; max-width: 500px; letter-spacing: -.01em; }
.background h3 { font-weight: 700; }
.background p + p { margin-top: 20px; }

.contacts__title { margin-top: 80px; font-weight: 700; letter-spacing: -.01em; }
.contacts { margin-top: 16px; display: flex; gap: 14px; }
.contact { display: flex; align-items: center; gap: 8px; width: 227px; font-size: 16px; color: var(--card); }
.contact img { width: 32px; height: 32px; object-fit: cover; flex: none; }
.contact > span { display: flex; flex-direction: column; }

.footer { margin-top: 80px; font-size: 13px; }

/* Mobile (Framer breakpoint < 810px) */
@media (max-width: 809.98px) {
  .desktop { display: none; }
  .mobile { display: inline; }
  .card__short.mobile { display: block; }

  .nav { height: 64px; }
  .nav__inner { padding: 0 20px; }

  .hero__title { font-size: 18px; max-width: none; flex: 1; }
  .shipped { font-size: 18px; letter-spacing: -.01em; }

  .section-title--next { margin-top: 56px; }

  .card { flex-direction: column; }
  .card__media { width: 100%; }

  .contacts { flex-direction: column; gap: 15px; }
}

/* ===== Subpages: /mentorship and /cases/* (same Framer layouts, desktop ≥ 810 / mobile < 810) ===== */
.container--case { padding: 0 20px; }
.grey { color: var(--grey); }
.white { color: var(--white); }
.orange { color: var(--orange); }
.black-weight { font-weight: 900; }
.page-clip { overflow-x: clip; }

/* Case header: logo + title */
.case-head { display: flex; align-items: center; gap: 10px; }
.case-head__logo { width: 75px; height: 75px; flex: none; border-radius: 8px; object-fit: cover; }
.case-head__logo--round { border-radius: 36px; }
.case-head__title { font-size: 32px; font-weight: 400; letter-spacing: -.1px; color: var(--grey); }
.case-head__title--white { font-weight: 700; letter-spacing: normal; color: var(--white); }

/* Case sections */
.case-h2 { margin-top: 40px; font-size: 32px; font-weight: 700; letter-spacing: -.1px; }
.case-h2--black { font-weight: 900; }
.case-h2--first { margin-top: 32px; }
.case-h2--far { margin-top: 80px; }
.case-h2 + * { margin-top: 16px; }
.case-p { font-size: 18px; letter-spacing: -.1px; color: var(--grey); }
.case-p--w520 { max-width: 520px; }
.case-p--w510 { max-width: 510px; }
.case-facts { display: flex; flex-direction: column; gap: 8px; }
.case-facts b { font-weight: 700; }
.case-challenges { margin-top: 16px; display: flex; flex-direction: column; gap: 8px; max-width: 510px; }
.case-note { font-size: 16px; letter-spacing: -.1px; color: var(--grey); }
.case-h2 + .case-note { margin-top: 0; }
.case-list { max-width: 520px; padding-left: 23px; display: flex; flex-direction: column; gap: 8px; }
.case-list li { font-size: 18px; line-height: 24px; letter-spacing: -.1px; color: var(--grey); }
.case-list li.lh-tight { line-height: 21.6px; }
.case-list--gap-after { margin-bottom: 40px; }
.case-sub { font-size: 18px; font-weight: 400; letter-spacing: -.18px; color: var(--grey); }
.case-sub--italic { margin-top: 7px !important; font-style: italic; }

/* Caption (white bold lead + grey text) followed by a picture */
.case-caption { margin-top: 80px; font-size: 18px; font-weight: 400; letter-spacing: -.18px; color: var(--grey); }
.case-caption--first { margin-top: 16px; }
.case-caption--near { margin-top: 56px; }
.case-caption b { font-weight: 900; color: var(--white); }
.case-caption + * { margin-top: 16px; }
.case-img { width: 100%; height: auto; }
.case-img--toggle { width: 335px; border-radius: 28px; }
.case-img + .case-note { margin-top: 8px; }
/* Wide picture: 1152px, centered on the viewport */
.case-wide { width: min(1152px, calc(100vw - 32px)); margin-left: calc(50% - min(576px, 50vw - 16px)); height: auto; }

.chrome-badge { display: block; width: fit-content; margin-top: 8px; border-radius: 20px; box-shadow: 0 0 12px 1px rgba(255, 255, 255, .25); }
.chrome-badge img { width: 255px; height: 77px; object-fit: contain; border-radius: 20px; }

/* "Other Works" cards (same card as on the home page, 710px wide) */
.case-more { margin-top: 64px; font-size: 32px; font-weight: 700; letter-spacing: -.32px; }
.case-more--after-caption { margin-top: 56px; }
.case-more + .cards { margin-top: 16px; }
.cards--case .card__media { width: 447px; }
.dark--case { padding: 0 0 50px; }

/* Quote with author */
.quote { max-width: 660px; font-size: 24px; line-height: 28.8px; letter-spacing: -.24px; }
.quote--big { margin-top: 80px; font-size: 48px; font-weight: 900; line-height: 54px; letter-spacing: -.48px; }
.person { margin-top: 24px; display: flex; gap: 8px; align-items: flex-start; }
.person--near { margin-top: 16px; }
.person--far { margin-top: 24px; }
.person img { width: 50px; height: 50px; border-radius: 50%; object-fit: cover; flex: none; }
.person p { font-size: 18px; line-height: 21.6px; letter-spacing: -.16px; color: var(--grey); }
.person b { font-weight: 900; color: var(--white); }

/* Carousels (Pomo): scroll-snap track + arrows (assets/carousel.js) */
.carousel { position: relative; margin-top: 16px; }
.carousel__track { display: flex; gap: 38px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; list-style: none; }
.carousel__track::-webkit-scrollbar { display: none; }
.carousel__track > li { flex: none; scroll-snap-align: start; }
.carousel__arrow {
  position: absolute; z-index: 1; width: 40px; height: 40px; padding: 0; border: 0; border-radius: 40px;
  background: rgba(0, 0, 0, .2) url(img/arrow-right.svg) center / 40px 40px no-repeat; cursor: pointer;
}
.carousel__arrow--prev { left: 20px; background-image: url(img/arrow-left.svg); }
.carousel__arrow--next { right: 20px; }
.carousel__arrow[hidden] { display: none; }
.carousel--phones { width: calc(100vw - 32px); margin-left: calc(50% - 50vw + 16px); }
.carousel--phones .carousel__arrow { top: 263px; }
.phone { width: 240px; }
.phone img { width: 240px; height: 520px; border-radius: 20px; object-fit: cover; }
.phone p { margin-top: 8px; font-size: 16px; line-height: 19.2px; color: var(--grey); width: 240px; }
.carousel--phones + .case-caption { margin-top: 80px; }
.carousel--deck .carousel__track { gap: 10px; }
.carousel--deck .carousel__track > li { width: 100%; }
.carousel--deck img { width: 100%; aspect-ratio: 16 / 9; height: auto; object-fit: cover; }
.carousel--deck .carousel__arrow { top: calc(50% - 20px); }
.carousel__dots { position: absolute; left: 0; right: 0; bottom: 14px; display: flex; justify-content: center; gap: 10px; }
.carousel__dots span { width: 5px; height: 5px; border-radius: 50%; background: var(--white); opacity: .5; }
.carousel__dots span.is-active { opacity: 1; }
.carousel--deck + .case-note { margin-top: 8px; }

/* Mentorship */
.dark--mentor { padding: 40px 0 90px; }
.mentor-title { font-size: 58px; font-weight: 700; line-height: 69.6px; letter-spacing: -.58px; }
.mentor-lead { margin-top: 40px; max-width: 343px; font-size: 18px; font-weight: 400; letter-spacing: -.1px; color: var(--grey); }
.mentor-lead b { font-weight: 700; color: var(--white); }
.mentor-lead--repeat { margin-top: 80px; }
.book {
  display: flex; align-items: center; justify-content: center; margin-top: 16px; width: 180px; height: 54px;
  background: var(--orange); color: var(--white); border-radius: 4px; box-shadow: 0 4px 4px rgba(0, 0, 0, .25);
  font-size: 24px; font-weight: 700; letter-spacing: -.24px;
  transition: transform .3s cubic-bezier(.2, .8, .3, 1);
}
.book:hover { transform: scale(1.05); }
.mentor-price { margin-top: 16px; font-size: 18px; letter-spacing: -.1px; color: var(--grey); }
.mentor-h2 { margin-top: 80px; font-size: 32px; font-weight: 900; letter-spacing: -.1px; }
.mentor-h2--first { margin-top: 120px; }
.mentor-items { margin-top: 16px; max-width: 500px; display: flex; flex-direction: column; gap: 16px; }
.mentor-items h3 { font-weight: 400; letter-spacing: -.18px; color: var(--grey); }
.mentor-items b { font-weight: 700; color: var(--white); }
.mentor-items b.orange { color: var(--orange); }
.mentor-sub { margin-top: 8px; font-size: 18px; letter-spacing: -.1px; color: var(--grey); }
.mentor-sub + .quote { margin-top: 80px; }
.person + .quote { margin-top: 80px; }

/* Light footer section on subpages */
.light--case .cta__title { max-width: 450px; font-size: 32px; letter-spacing: -.32px; }
.light--case .cta__button { margin-top: 16px; }
.background--first { margin-top: 0; }

@media (max-width: 809.98px) {
  .case-head__title { font-size: 18px; }
  .case-h2, .case-h2--first { font-weight: 900; }
  .case-h2--first { margin-top: 40px; }
  .case-list li { line-height: 21.6px; }
  .case-more { margin-top: 72px; }
  .case-more--after-caption { margin-top: 56px; }
  .cards--case .card__media { width: 100%; }
  /* Wide pictures keep their Framer mobile width and run off the right edge */
  .case-wide { width: var(--mw, 560px); max-width: none; margin-left: 0; }
  .carousel--phones { width: auto; margin-left: 0; margin-right: -20px; }
  .carousel--phones .carousel__arrow--next { right: 40px; }
  .carousel--deck .carousel__arrow { top: 79px; }
  .quote--big { font-size: 32px; line-height: 38.4px; letter-spacing: -.32px; }
  .mentor-title { font-size: 36px; line-height: 43.2px; letter-spacing: -.36px; }
  .mentor-sub { margin-top: 8px; }
  .dark--mentor { padding-top: 40px; }
}

/* Page-specific bits (feedblocker, pomo) */
.fb-intro { margin-top: 32px; }
.fb-add { margin-top: 40px; font-size: 18px; font-weight: 700; letter-spacing: -.1px; color: var(--white); }
.case-h2 + .fb-first { margin-top: 41px; }
.case-caption .fb-lead, .case-caption .pomo-700, .person .pomo-700 { font-weight: 700; }
.pomo-wide-caption { width: 773px; max-width: none; white-space: nowrap; }

@media (max-width: 809.98px) {
  .fb-intro { margin-top: 40px; }
  .pomo-wide-caption { width: auto; white-space: normal; }
  .case-head__title--white { letter-spacing: -.1px; }
}
