/* ==========================================================
   hitha.design
   Colors, fonts and spacing are copied from the Framer site.
   Change a color here and it updates everywhere.
   ========================================================== */

:root {
  --bg: #f8f6f3;          /* page background (cream) */
  --surface: #ebe9e4;     /* cards, FAQ rows, contact rows */
  --ink: #2a3132;         /* main text, dark section */
  --muted: #5f6566;       /* secondary text */
  --navy: #001666;        /* big italic headings */
  --rust: #aa412a;        /* buttons, logo, accents */
  --sky: #cadcfc;         /* pills, headings on dark */
  --sand: #ebe9e4;        /* body text on dark */
  --near-black: #1f1f1f;

  --serif: "Libre Baskerville", Georgia, serif;
  --sans: "Geist", "Inter", system-ui, sans-serif;
  --mono: "Geist Mono", ui-monospace, monospace;
  --logo: "Libre Caslon Condensed", "Libre Caslon Text", Georgia, serif;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 18px;
  line-height: 1.3;
  letter-spacing: -0.1px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
p { margin: 0; }
h1, h2, h3, h4, h5, h6 { margin: 0; font-weight: 400; }
strong { font-weight: 600; }

/* ---------- Shared type ---------- */

.display {
  font-family: var(--serif);
  font-style: italic;
  font-size: 56px;
  line-height: 1.2;
  letter-spacing: -2px;
  color: var(--navy);
}

.lede { font-size: 20px; line-height: 1.3; letter-spacing: -0.2px; color: var(--ink); }
.lede.muted { color: var(--muted); }

.eyebrow {
  font-family: var(--mono);
  font-size: 16px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--muted);
}

.mono {
  font-family: var(--mono);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.5;
  text-transform: uppercase;
}

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

.nav {
  position: absolute;
  inset: 0 0 auto 0;
  z-index: 50;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 48px;
  height: 92px;
}

.nav a.nav-link {
  font-family: var(--mono);
  font-size: 16px;
  font-weight: 500;
  text-transform: uppercase;
  color: var(--muted);
  text-align: center;
  transition: color .2s;
}
.nav a.nav-link:hover { color: var(--rust); }

.logo {
  font-family: var(--logo);
  font-style: italic;
  font-size: 32px;
  line-height: 1;
  color: var(--rust);
}

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

.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 99px;
  background: var(--rust);
  color: var(--bg);
  font-family: var(--mono);
  font-size: 16px;
  font-weight: 500;
  text-transform: uppercase;
  line-height: 1.2;
  transition: transform .2s, background .2s;
}
.btn:hover { background: #923520; transform: translateY(-2px); }

/* ---------- Layout ---------- */

.section { padding: 100px 16px; text-align: center; }
.section-icon { width: 100px; height: 100px; margin: 0 auto 24px; }
.section-head .display + .lede { margin-top: 16px; }

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

.hero {
  max-width: 1048px;
  margin: 0 auto;
  padding: 220px 16px 120px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
}
.hero-text { max-width: 629px; }
.hero-kicker { display: flex; align-items: center; gap: 12px; }
.hero-kicker img { width: 30px; height: 30px; border-radius: 4px; }

.typed { display: grid; margin: 24px 0 32px; }
.typed > span { grid-area: 1 / 1; }
.typed .ghost { visibility: hidden; }
.typed .cursor {
  display: inline-block;
  width: 2px;
  height: 0.9em;
  margin-left: 4px;
  vertical-align: -0.08em;
  background: var(--navy);
  animation: blink 1s steps(1) infinite;
}
@keyframes blink { 50% { opacity: 0; } }

.hero-photo {
  flex: 0 0 314px;
  height: 401px;
  border-radius: 12px;
  overflow: hidden;
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }

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

.logos { padding: 40px 0 60px; text-align: center; }
.marquee {
  margin-top: 40px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent);
}
.marquee-track {
  display: flex;
  align-items: center;
  gap: 80px;
  width: max-content;
  animation: scroll 40s linear infinite;
}
.marquee-track img, .marquee-track .bansi { flex: none; }
.bansi {
  font-family: "Baumans", sans-serif;
  font-size: 48px;
  line-height: 1.2;
  color: #c44d00;
}
@keyframes scroll { to { transform: translateX(calc(-50% - 40px)); } }

/* ---------- Work cards ---------- */

.cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 504px));
  justify-content: center;
  gap: 24px;
  margin-top: 64px;
  text-align: left;
}
.card {
  display: flex;
  flex-direction: column;
  padding: 8px 8px 20px;
  border-radius: 16px;
  background: var(--surface);
  transition: transform .3s ease;
}
.card:hover { transform: translateY(-6px); }
.card-media { border-radius: 10px; overflow: hidden; aspect-ratio: 491 / 283; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.card:hover .card-media img { transform: scale(1.03); }
.card-body { padding: 32px 12px 0; display: flex; flex-direction: column; gap: 16px; flex: 1; }
.card h3 {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 400;
  line-height: 1.3;
  letter-spacing: -0.4px;
  color: var(--navy);
}
.card p { color: var(--muted); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; }
.tag {
  padding: 6px 14px;
  border-radius: 99px;
  background: #fff;
  color: var(--ink);
  font-size: 13px;
  line-height: 1.3;
}

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

.hero-kicker { flex-wrap: wrap; }
.status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 99px;
  background: var(--surface);
  font-size: 15px;
  color: var(--ink);
}
.status-dot { width: 8px; height: 8px; border-radius: 50%; background: #2e9b5f; box-shadow: 0 0 0 3px rgba(46,155,95,.18); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 40px; }

.btn-ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--bg); }

/* ---------- Services ---------- */

.services-wrap { max-width: 1320px; margin: 0 auto; text-align: left; }
.services-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; }
.services-head .lede { max-width: 480px; }
.services {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 56px;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 0 0 1px var(--surface);
  overflow: hidden;
}
.service { padding: 48px 32px 44px; }
.service + .service { border-left: 1px solid var(--surface); }
.service-icon {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  margin-bottom: 40px;
  border-radius: 16px;
  background: var(--bg);
  color: var(--navy);
  transition: transform .3s ease;
}
.service:hover .service-icon { transform: rotate(-4deg) scale(1.05); }
.service-icon img { width: 38px; height: 38px; }
.service h3 { margin: 0 0 16px; font-family: var(--serif); font-style: italic; font-size: 26px; font-weight: 400; line-height: 1.25; letter-spacing: -0.5px; color: var(--navy); }
.service p:last-child { color: var(--muted); }

/* ---------- Pricing ---------- */

.plans {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 520px));
  justify-content: center;
  gap: 24px;
  margin-top: 56px;
  text-align: left;
}
.plan {
  display: flex;
  flex-direction: column;
  padding: 32px;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 0 0 1px var(--surface);
}
.plan-featured { box-shadow: 0 0 0 2px var(--rust), 0 20px 40px -24px rgba(170,65,42,.35); }
.plan-top { display: flex; justify-content: space-between; align-items: center; }
.plan-name { display: flex; align-items: center; gap: 10px; font-size: 26px; font-weight: 500; color: var(--ink); }
.plan-name svg { width: 26px; height: 26px; color: var(--rust); }
.badge { padding: 6px 14px; border-radius: 99px; background: var(--sky); color: var(--navy); font-size: 15px; }
.plan-from { margin-top: 32px; color: var(--muted); }
.plan-price { font-size: 56px; font-weight: 500; letter-spacing: -2px; line-height: 1.15; color: var(--ink); }
.plan-price span { font-size: 18px; font-weight: 400; letter-spacing: 0; color: var(--muted); }
.plan-desc { margin-top: 16px; min-height: 2.6em; color: var(--muted); }
.plan-btn { margin-top: 32px; text-align: center; padding: 16px 24px; }
.plan-list-title { margin-top: 36px; color: var(--muted); }
.checks { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 14px; }
.checks li { position: relative; padding-left: 36px; color: var(--ink); }
.checks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1px;
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background: var(--ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f8f6f3' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 15px no-repeat;
}
.plan-featured .checks li::before { background-color: var(--rust); }

/* ---------- Why me ("instead of" rows) ---------- */

.edit { max-width: 1040px; margin: 56px auto 0; display: grid; gap: 24px; text-align: left; }
.edit-block { display: grid; grid-template-columns: 300px 1fr; gap: 48px; padding: 40px; border-radius: 24px; background: #fff; }
.edit-block h3 { font-family: var(--serif); font-size: 26px; line-height: 1.25; letter-spacing: -0.5px; color: var(--navy); }
.edit-block .q { margin-top: 12px; color: var(--muted); font-size: 16px; }
.pairs { display: grid; }
.pair { display: grid; grid-template-columns: 1fr 28px 1fr; gap: 16px; align-items: baseline; padding: 16px 0; }
.pair + .pair { border-top: 1px solid var(--surface); }
.pair .them { color: var(--muted); }
.pair .arrow { color: var(--rust); text-align: center; }
.pair .us { color: var(--ink); font-weight: 500; }
.pairs-head { display: grid; grid-template-columns: 1fr 28px 1fr; gap: 16px; align-items: center; padding-bottom: 12px; border-bottom: 1.5px solid #d9d6cf; }
.pairs-head .arrow { color: var(--rust); text-align: center; }
.pill-them, .pill-me { justify-self: start; padding: 6px 14px; border-radius: 99px; font-family: var(--mono); font-size: 14px; font-weight: 500; text-transform: uppercase; }
.pill-them { background: var(--surface); color: var(--ink); }
.pill-me { background: var(--rust); color: var(--bg); }

.contact-row.contact-cta { background: var(--rust); color: var(--bg); }
.contact-row.contact-cta:hover { background: #923520; }

/* ---------- Behind the canvas (dark card) ---------- */

.about-wrap { padding: 60px 16px; }
.about {
  position: relative;
  max-width: 1288px;
  min-height: 1000px;
  margin: 0 auto;
  padding: 80px 40px 0;
  border-radius: 32px;
  background: var(--ink);
  overflow: hidden;
  text-align: center;
}
.about .display { color: var(--sky); }
.about .lede { color: var(--sky); margin-top: 16px; }
.about-copy { max-width: 500px; margin: 24px auto 0; display: grid; gap: 16px; color: var(--sand); }
.about-copy strong { color: #fff; }
.about .btn { margin-top: 32px; }
.about-grid {
  position: absolute;
  left: 50%;
  top: 470px;
  width: 2594px;
  max-width: none;
  transform: translateX(-50%);
  pointer-events: none;
}
.photos {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 74px;
  margin-top: 44px;
  padding-bottom: 80px;
}
.photo { position: relative; transition: transform .3s ease; }
.photo img { border-radius: 16px; object-fit: cover; }
.photo:nth-child(1) { transform: rotate(4deg); }
.photo:nth-child(1) img { width: 205px; height: 255px; }
.photo:nth-child(2) img { width: 195px; height: 246px; }
.photo:nth-child(3) { transform: rotate(-3deg); }
.photo:nth-child(3) img { width: 201px; height: 252px; }
.photo:hover { transform: rotate(0deg) scale(1.05); }
.photo-label {
  position: absolute;
  left: 50%;
  bottom: -14px;
  transform: translate(-50%, 6px);
  padding: 6px 12px;
  border-radius: 99px;
  background: var(--rust);
  color: var(--bg);
  font-size: 16px;
  white-space: nowrap;
  opacity: 0;
  transition: opacity .25s, transform .25s;
}
.photo:hover .photo-label { opacity: 1; transform: translate(-50%, 0); }

/* ---------- FAQ + contact rows ---------- */

.stack { max-width: 500px; margin: 40px auto 0; display: grid; gap: 8px; text-align: left; }

.faq-item { border-radius: 12px; background: var(--surface); transition: background .25s, color .25s; }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 20px 24px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 20px; line-height: 1; }
.faq-item[open] { background: var(--ink); color: var(--bg); }
.faq-item[open] summary::after { content: "\2212"; }
.faq-answer { padding: 0 24px 24px; display: grid; gap: 18px; color: var(--sand); }

.contact-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  border-radius: 16px;
  background: var(--surface);
  transition: background .2s;
}
.contact-row:hover { background: #e0ddd6; }

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

.footer { padding: 120px 16px 48px; text-align: center; }
.footer p { margin-top: 24px; font-family: "DM Sans", sans-serif; font-size: 16px; color: var(--muted); }

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

.js .reveal { opacity: 0; transform: translateY(40px); transition: opacity .8s ease, transform .8s ease; }
.js .reveal.in { opacity: 1; transform: none; }

/* ==========================================================
   Case study pages
   ========================================================== */

.page-white { background: #fff; }

.cs-title {
  max-width: 1024px;
  margin: 0 auto;
  padding: 152px 16px 0;
  text-align: center;
}
.cs-title h1 {
  font-family: var(--serif);
  font-style: italic;
  font-size: 40px;
  line-height: 1.3;
  color: var(--ink);
}
.cs-title h1 strong { font-weight: 700; }
.chips { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: 40px; }
.chip { padding: 8px 16px; border-radius: 99px; background: #f1f1f1; color: var(--ink); }
.chip.mono { font-size: 16px; }

.cs-hero { max-width: 1024px; margin: 40px auto 0; padding: 0 16px; }
.cs-hero img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 .6px .6px -1.25px rgba(0,0,0,.18), 0 2.3px 2.3px -2.5px rgba(0,0,0,.16), 0 10px 10px -3.75px rgba(0,0,0,.06);
}
.cs-hero-band { margin-top: 72px; padding: 0 16px; background: #f1f1f1; }
.cs-hero-band img { width: 100%; max-width: 1075px; margin: 0 auto; }

.cs { max-width: 1107px; margin: 0 auto; padding: 64px 16px; }
.cs h2 {
  font-family: var(--serif);
  font-style: italic;
  font-size: 28px;
  line-height: 1.3;
  color: var(--ink);
  margin-bottom: 24px;
}
.cs p { color: var(--muted); }
.cs p + p { margin-top: 16px; }
.cs p strong, .cs p.dark { color: var(--ink); }
.cs .phase {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 2.4px;
  text-transform: uppercase;
  color: var(--rust);
  margin-bottom: 16px;
}

.split { display: grid; grid-template-columns: 1fr 480px; gap: 64px; align-items: start; }
.split h2 { margin: 0; }

.cols-2, .cols-3 { display: grid; gap: 24px 32px; margin-top: 8px; }
.cols-2 { grid-template-columns: 1fr 1fr; }
.cols-3 { grid-template-columns: repeat(3, 1fr); }
.col-title {
  font-family: var(--mono);
  font-size: 20px;
  font-weight: 500;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 12px;
}
.cols-2 + .cols-2 { margin-top: 40px; }

.opp-icon { width: 24px; height: 24px; color: var(--rust); margin-bottom: 16px; }

.callout {
  max-width: 1120px;
  margin: 0 auto;
  padding: 40px;
  border-radius: 20px;
  background: var(--bg);
  text-align: center;
}
.callout q {
  quotes: none;
  display: block;
  max-width: 640px;
  margin: 0 auto;
  font-family: var(--serif);
  font-style: italic;
  font-size: 28px;
  line-height: 1.3;
  color: var(--rust);
}
.callout .mono { margin-top: 24px; color: var(--muted); }

.video {
  margin-top: 40px;
  padding: 12px;
  border-radius: 12px;
  background: var(--sky);
}
.video iframe { display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: 6px; }

.features { display: grid; grid-template-columns: 1fr 1fr; gap: 32px 76px; margin-top: 8px; }
.feature { position: relative; padding-left: 44px; }
.feature::before { content: "\2192"; position: absolute; left: 0; top: 0; color: var(--rust); }
.feature .feature-title { color: var(--near-black); margin-bottom: 8px; }
.feature .feature-title + p { margin-top: 0; }

.band { background: linear-gradient(270deg, var(--bg) -4%, #fff 100%); }

.figure { width: 100%; margin: 40px auto 0; border-radius: 12px; }
.figure-stack { display: grid; gap: 32px; margin-top: 40px; }
.figure-stack img { width: 100%; border-radius: 12px; }

.annotated { position: relative; max-width: 700px; margin: 40px auto 0; }
.annotation {
  position: absolute;
  left: calc(100% + 30px);
  top: 120px;
  width: 200px;
  color: var(--ink);
}
.annotation svg { display: block; width: 80px; height: 120px; margin: 12px 0 0 30px; color: var(--ink); }

.phones { display: grid; grid-template-columns: repeat(2, minmax(0, 387px)); justify-content: center; gap: 40px 32px; margin-top: 40px; }

/* ==========================================================
   Smaller screens
   ========================================================== */

@media (max-width: 1100px) {
  .services { grid-template-columns: repeat(2, 1fr); }
  .service:nth-child(3) { border-left: 0; }
  .service:nth-child(n+3) { border-top: 1px solid var(--surface); }
  .annotation { position: static; width: auto; margin-top: 12px; text-align: center; }
  .annotation svg { display: none; }
}

@media (max-width: 900px) {
  .display { font-size: 44px; letter-spacing: -1.5px; }
  .hero { flex-direction: column; align-items: flex-start; padding-top: 140px; }
  .hero-photo { display: none; }
  .cards { grid-template-columns: minmax(0, 504px); }
  .split { grid-template-columns: 1fr; gap: 16px; }
  .features, .cols-2, .cols-3 { grid-template-columns: 1fr; }
  .plans { grid-template-columns: minmax(0, 520px); }
  .edit-block { grid-template-columns: 1fr; gap: 24px; padding: 28px 24px; }
  .services-head { flex-direction: column; align-items: flex-start; gap: 16px; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .nav { gap: 32px; height: 76px; }
  .nav a.nav-link { font-size: 14px; }
  .display { font-size: 36px; letter-spacing: -1px; }
  .lede { font-size: 18px; }
  .section { padding: 72px 16px; }
  .card h3 { font-size: 22px; }
  .nav { gap: 18px; }
  .nav a.nav-link { width: auto; font-size: 12px; }
  .nav .logo { font-size: 26px; }
  .services { grid-template-columns: 1fr; }
  .service + .service { border-left: 0; border-top: 1px solid var(--surface); }
  .service { padding: 32px 24px; }
  .service-icon { margin-bottom: 28px; }
  .plan { padding: 24px; }
  .pair { grid-template-columns: 1fr; gap: 4px; }
  .pair .arrow { display: none; }
  .pairs-head { display: flex; gap: 10px; }
  .plan-price { font-size: 44px; }
  .about { padding: 56px 20px 0; min-height: 0; }
  .about-grid { top: auto; bottom: 0; width: 1100px; }
  .lede br { display: none; }
  .photos { gap: 12px; padding-bottom: 56px; }
  .photo img { width: 30vw !important; height: auto !important; aspect-ratio: 4 / 5; }
  .cs-title { padding-top: 120px; }
  .cs-title h1 { font-size: 30px; }
  .cs h2 { font-size: 24px; }
  .callout { padding: 28px 20px; }
  .callout q { font-size: 22px; }
  .phones { grid-template-columns: 1fr 1fr; gap: 16px; }
  .chip { font-size: 15px; }
}

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