/* Chowdhree: AI consulting. Same riso-print language as the Aida site:
   cream paper, navy ink, sunburst, stamped Anton headlines, hard shadows. */

@font-face {
  font-family: Anton;
  src: url("/fonts/anton.woff2") format("woff2");
  font-display: swap;
}

:root {
  color-scheme: light;

  --paper: #f1e8d4;
  --paper-hi: #fbf5e8;
  --ink: #232c5c;
  --ink-2: #33407a;
  --pink: #ec4f93;
  --orange: #f26b2a;
  --gold: #f2b632;

  --w: min(1100px, 92vw);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family:
    ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial,
    sans-serif;
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto; /* never squash an image whose column is narrower than it */
}

a {
  color: inherit;
}

/* ---------- the print ---------- */

.scene {
  position: relative;
  isolation: isolate;
}

.burst {
  position: fixed;
  left: 50%;
  top: -30vmax;
  width: 130vmax;
  aspect-ratio: 1;
  transform: translateX(-50%);
  z-index: -2;
  pointer-events: none;
}

.rays {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background:
    repeating-conic-gradient(from 0deg, rgb(239 106 163 / 0.14) 0deg 7.5deg, transparent 7.5deg 15deg);
}

.halftone {
  position: fixed;
  inset: 0;
  z-index: -1;
  background: radial-gradient(circle, rgb(35 44 92 / 0.08) 1px, transparent 1.6px) 0 0 / 7px 7px;
  pointer-events: none;
}

/* ---------- top ---------- */

.top {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  padding: 12px 4vw;
  background: rgb(241 232 212 / 0.92);
  backdrop-filter: blur(6px);
  border-bottom: 2px solid var(--ink);
}

.mark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.mark-c {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  background: var(--ink);
  color: var(--gold);
  font-family: Anton, Impact, sans-serif;
  font-size: 20px;
  border-radius: 8px;
  box-shadow: 2px 2px 0 var(--pink);
}

.nav {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 15px;
  font-weight: 600;
}

.nav a {
  text-decoration: none;
}

.nav a:hover {
  text-decoration: underline 3px var(--pink);
  text-underline-offset: 4px;
}

.nav-cta {
  padding: 7px 14px;
  background: var(--ink);
  color: var(--paper-hi) !important;
  border-radius: 999px;
  box-shadow: 2px 2px 0 var(--pink);
}

.nav-cta:hover {
  text-decoration: none !important;
  transform: translate(-1px, -1px);
}

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

.hero {
  width: var(--w);
  margin: 0 auto;
  padding: 9vh 0 7vh;
}

.kicker {
  display: inline-block;
  margin: 0 0 18px;
  padding: 6px 14px;
  border: 2.5px solid var(--pink);
  border-radius: 6px;
  color: var(--pink);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  rotate: -2deg;
  background: rgb(251 245 232 / 0.7);
}

h1 {
  margin: 0 0 22px;
  font-family: Anton, Impact, "Arial Narrow", sans-serif;
  font-weight: 400;
  font-size: clamp(52px, 9vw, 118px);
  line-height: 0.95;
  letter-spacing: 0.005em;
  text-transform: uppercase;
}

.stamp-line {
  display: block;
  color: var(--ink);
  text-shadow: 0.05em 0.05em 0 rgb(236 79 147 / 0.35);
}

.stamp-line.accent {
  color: var(--pink);
  text-shadow: 0.05em 0.05em 0 var(--ink);
}

.lede {
  max-width: 58ch;
  font-size: clamp(17px, 1.6vw, 21px);
  font-weight: 500;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 28px 0 30px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 999px;
  background: var(--paper-hi);
  border: 2.5px solid var(--ink);
  box-shadow: 3px 3px 0 var(--ink);
  font-weight: 700;
  text-decoration: none;
  transition: transform 140ms ease, box-shadow 140ms ease;
}

.btn:hover {
  transform: translate(-1px, -1px);
  box-shadow: 4px 4px 0 var(--ink);
}

.btn.primary {
  background: var(--ink);
  color: var(--paper-hi);
  box-shadow: 3px 3px 0 var(--pink);
}

.btn.primary:hover {
  box-shadow: 4px 4px 0 var(--pink);
}

.btn.big {
  font-size: clamp(18px, 2vw, 24px);
}

.ticker {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ticker li {
  padding: 5px 12px;
  background: rgb(35 44 92 / 0.08);
  border-radius: 999px;
  font: 600 13px/1 ui-monospace, Menlo, monospace;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-2);
}

/* ---------- bands ---------- */

.band {
  width: var(--w);
  margin: 0 auto;
  padding: 7vh 0;
}

.band.alt {
  border-top: 2px dashed rgb(35 44 92 / 0.3);
  border-bottom: 2px dashed rgb(35 44 92 / 0.3);
  background: rgb(251 245 232 / 0.5);
  width: 100%;
  padding: 7vh 4vw;
}

.band > * {
  width: var(--w);
  margin-left: auto;
  margin-right: auto;
}

.band-title {
  margin: 0 0 30px;
  font-family: Anton, Impact, sans-serif;
  font-weight: 400;
  font-size: clamp(30px, 4.5vw, 52px);
  text-transform: uppercase;
  letter-spacing: 0.01em;
}

.band-title::after {
  content: "";
  display: block;
  width: 72px;
  height: 8px;
  margin-top: 10px;
  background: var(--gold);
  box-shadow: 3px 3px 0 var(--ink);
}

/* work cards */

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 22px;
}

.card {
  display: flex;
  flex-direction: column;
  padding: 22px;
  background: var(--paper-hi);
  border: 2.5px solid var(--ink);
  box-shadow: 5px 5px 0 var(--ink);
  rotate: -0.5deg;
}

.card:nth-child(2) {
  rotate: 0.6deg;
}

.card h3 {
  margin: 0;
  font-family: Anton, Impact, sans-serif;
  font-weight: 400;
  font-size: 26px;
  text-transform: uppercase;
  color: var(--ink);
}

.card .tag {
  margin: 4px 0 10px;
  font: 700 12px/1 ui-monospace, Menlo, monospace;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--pink);
}

.card p {
  margin: 0 0 14px;
  flex: 1;
}

.card-link {
  font-weight: 700;
  text-decoration: none;
  color: var(--pink);
}

.card-link:hover {
  text-decoration: underline 3px;
  text-underline-offset: 4px;
}

/* services */

.services {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 26px;
}

/* about */

.about {
  max-width: 74ch;
}

.about p {
  margin: 0 0 18px;
  font-size: clamp(16.5px, 1.4vw, 19px);
}

.about p:last-child {
  margin-bottom: 0;
}

/* canon */

.canon-intro {
  max-width: 62ch;
  margin: -14px 0 26px;
  color: var(--ink-2);
  font-weight: 500;
}

.canon {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 14px 26px;
  counter-reset: book;
}

.canon li {
  counter-increment: book;
  position: relative;
  padding: 12px 14px 12px 52px;
  background: var(--paper-hi);
  border: 2px solid var(--ink);
  box-shadow: 3px 3px 0 rgb(35 44 92 / 0.25);
  font-size: 15px;
  line-height: 1.35;
}

.canon li::before {
  content: counter(book, decimal-leading-zero);
  position: absolute;
  left: 12px;
  top: 12px;
  font-family: Anton, Impact, sans-serif;
  font-size: 19px;
  color: var(--pink);
}

.canon strong {
  display: block;
  font-size: 16px;
}

.canon span {
  display: block;
  margin-top: 2px;
  color: var(--ink-2);
  font-size: 13.5px;
}

.service .num {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 12px;
  background: var(--pink);
  color: var(--paper-hi);
  font-family: Anton, Impact, sans-serif;
  font-size: 20px;
  border-radius: 50%;
  box-shadow: 3px 3px 0 var(--ink);
}

.service h3 {
  margin: 0 0 8px;
  font-size: 20px;
}

.service p {
  margin: 0;
  color: var(--ink-2);
}

/* steps */

.steps {
  margin: 0;
  padding: 0 0 0 1.4em;
  max-width: 62ch;
}

.steps li {
  margin-bottom: 14px;
  font-size: clamp(17px, 1.5vw, 20px);
}

.steps li::marker {
  font-family: Anton, Impact, sans-serif;
  color: var(--pink);
  font-size: 1.1em;
}

/* cta */

.cta-band {
  text-align: center;
  padding-bottom: 9vh;
}

.cta-band h2 {
  margin: 0 0 10px;
  font-family: Anton, Impact, sans-serif;
  font-weight: 400;
  font-size: clamp(34px, 5.5vw, 64px);
  text-transform: uppercase;
  text-shadow: 0.05em 0.05em 0 rgb(236 79 147 / 0.35);
}

.cta-band .lede {
  margin: 0 auto 26px;
}

/* footer */

.foot {
  border-top: 2px solid var(--ink);
  padding: 18px 4vw 26px;
  text-align: center;
  font: 500 13px/1.6 ui-monospace, Menlo, monospace;
  color: rgb(35 44 92 / 0.75);
}

.foot p {
  margin: 0;
}

/* ---------- small screens ---------- */

@media (max-width: 640px) {
  .nav a:not(.nav-cta) {
    display: none;
  }

  .hero {
    padding-top: 6vh;
  }

  .canon li {
    padding-left: 46px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .btn,
  .nav-cta {
    transition: none;
  }
}

/* Sleep Dives: a wide card - banner on top, artwork beside the text */
.card-wide { grid-column: 1 / -1; }
.sd-banner {
  display: block;
  width: 100%;
  height: auto;
  border: 2.5px solid var(--ink);
  margin-bottom: 16px;
}
.sd-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}
@media (min-width: 760px) {
  .sd-body { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); }
}
.sd-art {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border: 2.5px solid var(--ink);
}
.socials {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
}
.socials a { color: var(--ink); font-weight: 700; }

/* podcasts: quieter, smaller, after the canon books */

.podcasts {
  margin: 26px 0 10px;
  background: rgb(251 245 232 / 0.5);
  border: 1px dashed rgb(35 44 92 / 0.3);
  border-radius: 10px;
  padding: 18px 20px;
}

.pod-heading {
  margin: 0 0 6px;
  font-family: Anton, Impact, sans-serif;
  font-weight: 400;
  font-size: 22px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--ink-2);
}

.pod-note {
  margin: 0 0 14px;
  font-size: 13px;
  color: rgb(35 44 92 / 0.55);
  font-style: italic;
}

.pod-groups {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px 24px;
}

.pod-group {
  display: flex;
  flex-direction: column;
}

.pod-label {
  display: inline-block;
  margin-bottom: 6px;
  padding: 3px 10px;
  background: rgb(35 44 92 / 0.06);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-2);
}

.pod-names {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.pod-names li {
  padding: 3px 9px;
  background: rgb(251 245 232 / 0.4);
  border: 1px solid rgb(35 44 92 / 0.12);
  border-radius: 999px;
  font-size: 13.5px;
  color: var(--ink-2);
}

.canon .by {
  display: block;
  font-style: normal;
  font-size: 14px;
  color: var(--ink-2);
}
