/* ==========================================================================
   Sethi Transport — design system
   Type is the system stack, which resolves to San Francisco on Apple devices
   (SF Pro Display/Text), Segoe UI on Windows, Roboto on Android.
   ========================================================================== */

:root {
  --ink:        #0b0b0c;
  --ink-2:      #1d1d1f;
  --muted:      #6e6e73;
  --muted-2:    #86868b;
  --line:       #e5e5e7;
  --bg:         #ffffff;
  --bg-soft:    #f5f5f7;
  --brand:      #e0007a;
  --brand-deep: #a8005c;

  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text",
          "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --wrap: 1180px;
  --pad: clamp(20px, 5vw, 48px);
  --r-sm: 12px;
  --r: 18px;
  --r-lg: 28px;

  --shadow-sm: 0 1px 2px rgba(0,0,0,.04), 0 4px 14px rgba(0,0,0,.05);
  --shadow:    0 2px 6px rgba(0,0,0,.05), 0 18px 40px rgba(0,0,0,.09);

  --ease: cubic-bezier(.22,.61,.36,1);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

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

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--pad);
}

.eyebrow {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--brand);
  margin: 0 0 14px;
}

.lede {
  font-size: clamp(17px, 1.6vw, 21px);
  line-height: 1.55;
  color: var(--muted);
  max-width: 62ch;
}

/* ---------- buttons ------------------------------------------------------ */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 26px;
  border-radius: 980px;              /* Apple's pill */
  font-size: 16px;
  font-weight: 500;
  letter-spacing: -0.01em;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .25s var(--ease), background .25s var(--ease),
              border-color .25s var(--ease), color .25s var(--ease);
  white-space: nowrap;
}
.btn:hover  { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn--primary { background: var(--ink); color: #fff; }
.btn--primary:hover { background: #000; }

.btn--ghost { border-color: rgba(0,0,0,.16); color: var(--ink); background: transparent; }
.btn--ghost:hover { border-color: var(--ink); background: rgba(0,0,0,.03); }

.btn--brand { background: var(--brand); color: #fff; }
.btn--brand:hover { background: var(--brand-deep); }

.btn--plain {
  background: transparent;
  color: var(--muted);
  padding-inline: 12px;
}
.btn--plain:hover { color: var(--ink); }

.btn--icon { padding: 12px; }            /* square icon-only pill */
.btn--icon svg { width: 18px; height: 18px; }

.btn svg { width: 17px; height: 17px; flex: none; }

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.72);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease), background .3s var(--ease);
}
.site-header.is-stuck { border-bottom-color: var(--line); }

.nav {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 62px;
}
.nav__logo img { height: 26px; width: auto; }
.nav__links {
  display: flex;
  gap: 30px;
  margin-left: auto;
  list-style: none;
  padding: 0;
}
.nav__links a {
  font-size: 15px;
  color: var(--ink-2);
  text-decoration: none;
  opacity: .82;
  transition: opacity .2s var(--ease);
}
.nav__links a:hover { opacity: 1; }
.nav__cta { margin-left: 8px; display: flex; gap: 8px; align-items: center; }
.nav__cta .btn { padding: 9px 18px; font-size: 15px; }
.nav__cta .btn--icon { padding: 9px; }

.nav__burger {
  display: none;
  margin-left: auto;
  width: 42px; height: 42px;
  border: 0; background: transparent;
  padding: 0; cursor: pointer;
  align-items: center; justify-content: center;
}
.nav__burger span {
  display: block; position: relative;
  width: 19px; height: 1.5px; background: var(--ink);
  transition: transform .3s var(--ease), background .1s;
}
.nav__burger span::before,
.nav__burger span::after {
  content: ""; position: absolute; left: 0;
  width: 19px; height: 1.5px; background: var(--ink);
  transition: transform .3s var(--ease), top .3s var(--ease);
}
.nav__burger span::before { top: -6px; }
.nav__burger span::after  { top:  6px; }
[aria-expanded="true"] .nav__burger span,
.nav__burger[aria-expanded="true"] span { background: transparent; }
.nav__burger[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.nav__burger[aria-expanded="true"] span::after  { top: 0; transform: rotate(-45deg); }

.mobile-menu {
  position: fixed;
  inset: 62px 0 auto;
  background: rgba(255,255,255,.99);
  -webkit-backdrop-filter: saturate(180%) blur(24px);
  backdrop-filter: saturate(180%) blur(24px);
  box-shadow: 0 24px 40px -24px rgba(0,0,0,.18);
  border-bottom: 1px solid var(--line);
  padding: 8px var(--pad) 28px;
  display: none;
  z-index: 99;
}
.mobile-menu.is-open { display: block; animation: menuIn .28s var(--ease) both; }
.mobile-menu a:not(.btn) {
  display: block;
  padding: 15px 0;
  font-size: 21px;
  font-weight: 500;
  letter-spacing: -0.02em;
  text-decoration: none;
  border-bottom: 1px solid var(--line);
}
/* .btn keeps its own inline-flex so the icon gap survives */
.mobile-menu .btn { margin-top: 22px; width: 100%; justify-content: center; }
@keyframes menuIn { from { opacity: 0; transform: translateY(-8px);} to { opacity: 1; transform: none; } }

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

.hero { padding: clamp(56px, 9vw, 104px) 0 clamp(40px, 6vw, 72px); }
.hero h1 {
  font-size: clamp(40px, 7vw, 76px);
  font-weight: 700;
  letter-spacing: -0.035em;
  max-width: 15ch;
}
.hero .lede { margin: 24px 0 0; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; align-items: center; }

.hint {
  display: flex;
  gap: 9px;
  align-items: baseline;
  margin: 18px 0 0;
  font-size: 15px;
  color: var(--muted-2);
  max-width: 56ch;
}
.hint::before {
  content: "";
  flex: none;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--brand);
  transform: translateY(-2px);
}

.hero__grid {
  margin-top: clamp(40px, 6vw, 72px);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(2, clamp(132px, 15vw, 205px));
  gap: 14px;
}
.hero__grid figure { margin: 0; overflow: hidden; border-radius: var(--r); background: var(--bg-soft); }
.hero__grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.hero__grid figure:hover img { transform: scale(1.045); }
.hero__grid figure:nth-child(1) { grid-column: span 2; grid-row: span 2; }

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

.marquee-section { padding: clamp(36px, 5vw, 56px) 0; border-block: 1px solid var(--line); }
.marquee-section p {
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin: 0 0 30px;
}
.marquee {
  display: flex;
  overflow: hidden;
  gap: 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
}
.marquee + .marquee { margin-top: 26px; }
.marquee__track {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: clamp(34px, 5vw, 66px);
  padding-right: clamp(34px, 5vw, 66px);
  animation: slide 58s linear infinite;
}
.marquee--reverse .marquee__track { animation-direction: reverse; animation-duration: 68s; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee img {
  height: clamp(24px, 3vw, 32px);
  width: auto;
  object-fit: contain;
  filter: grayscale(1);
  opacity: .72;
  transition: filter .3s var(--ease), opacity .3s var(--ease);
}
.marquee img:hover { filter: none; opacity: 1; }
@keyframes slide { to { transform: translateX(-100%); } }

/* ---------- sections ----------------------------------------------------- */

.section { padding: clamp(72px, 10vw, 128px) 0; }
.section--soft { background: var(--bg-soft); }
.section__head { max-width: 58ch; margin-bottom: clamp(34px, 5vw, 56px); }
.section__head h2 { font-size: clamp(30px, 4.4vw, 48px); font-weight: 600; }
.section__head p { margin: 18px 0 0; }

/* services */
.services {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 16px;
}
.card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 34px 32px 36px;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s var(--ease);
}
.section--soft .card { border-color: transparent; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.card__icon {
  width: 46px; height: 46px;
  display: grid; place-items: center;
  border-radius: 14px;
  background: rgba(224,0,122,.08);
  color: var(--brand);
  margin-bottom: 22px;
}
.card__icon svg { width: 24px; height: 24px; }
.card h3 { font-size: 20px; margin-bottom: 10px; letter-spacing: -0.02em; }
.card p { margin: 0; color: var(--muted); font-size: 16px; line-height: 1.55; }

/* client logos */
.logo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(158px, 1fr));
  gap: 12px;
}
.logo-grid div {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  aspect-ratio: 5 / 3;
  display: grid;
  place-items: center;
  padding: 20px;
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease), transform .3s var(--ease);
}
.logo-grid div:hover {
  border-color: transparent;
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}
.logo-grid img {
  max-height: 40px; width: auto; max-width: 100%;
  object-fit: contain;
  filter: grayscale(1); opacity: .8;
  transition: filter .35s var(--ease), opacity .35s var(--ease), transform .35s var(--ease);
}
.logo-grid div:hover img { filter: none; opacity: 1; transform: scale(1.04); }

/* named clients */
.names {
  columns: 4 190px;
  column-gap: 30px;
  margin-top: 46px;
  padding: 0;
  list-style: none;
}
.names li {
  break-inside: avoid;
  padding: 9px 0;
  font-size: 16px;
  color: var(--ink-2);
  border-bottom: 1px solid var(--line);
}

/* contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(32px, 6vw, 80px);
  align-items: start;
}
.contact-list { list-style: none; margin: 34px 0 0; padding: 0; }
.contact-list li { display: flex; gap: 15px; align-items: flex-start; padding: 15px 0; border-top: 1px solid var(--line); }
.contact-list li:last-child { border-bottom: 1px solid var(--line); }
.contact-list svg { width: 20px; height: 20px; color: var(--muted-2); flex: none; margin-top: 3px; }
.contact-list .is-primary svg { color: var(--brand); }
.contact-list .is-primary span { color: var(--brand); font-weight: 600; letter-spacing: .01em; }
.contact-list .is-primary a { font-size: 19px; font-weight: 600; }
.contact-list span { display: block; font-size: 13px; color: var(--muted-2); }
.contact-list a { font-size: 17px; text-decoration: none; font-weight: 500; }
.contact-list a:hover { color: var(--brand); }

form { display: grid; gap: 14px; }
.field { display: grid; gap: 7px; }
.field label { font-size: 14px; font-weight: 500; color: var(--ink-2); }
.field input, .field textarea {
  font: inherit;
  font-size: 16px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: var(--bg);
  color: var(--ink);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
  width: 100%;
}
.field textarea { min-height: 132px; resize: vertical; }
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 4px rgba(224,0,122,.12);
}
form .btn { justify-self: start; margin-top: 6px; }
.hp { position: absolute; left: -9999px; }

/* footer */
.site-footer { padding: 60px 0 44px; border-top: 1px solid var(--line); }
.site-footer__top { display: flex; flex-wrap: wrap; gap: 26px; align-items: center; justify-content: space-between; }
.site-footer img.wordmark { height: 26px; width: auto; }
.socials { display: flex; gap: 10px; }
.socials a {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--ink-2);
  transition: background .25s var(--ease), color .25s var(--ease),
              border-color .25s var(--ease), transform .25s var(--ease);
}
.socials a:hover { background: var(--ink); border-color: var(--ink); color: #fff; transform: translateY(-2px); }
.socials svg { width: 18px; height: 18px; }
.site-footer__bottom {
  margin-top: 34px; padding-top: 26px; border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; gap: 14px; justify-content: space-between;
  font-size: 13px; color: var(--muted-2);
}
.site-footer__bottom a { text-decoration: none; }
.site-footer__bottom a:hover { color: var(--ink); }

/* ---------- scroll reveal ------------------------------------------------ */

.reveal { opacity: 0; transform: translateY(18px); }
.reveal.is-in {
  opacity: 1; transform: none;
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.reveal.is-in[data-delay="1"] { transition-delay: .07s; }
.reveal.is-in[data-delay="2"] { transition-delay: .14s; }
.reveal.is-in[data-delay="3"] { transition-delay: .21s; }
.reveal.is-in[data-delay="4"] { transition-delay: .28s; }
.reveal.is-in[data-delay="5"] { transition-delay: .35s; }

/* ---------- responsive --------------------------------------------------- */

@media (max-width: 900px) {
  .nav__links, .nav__cta { display: none; }
  .nav__burger { display: flex; }
  .contact-grid { grid-template-columns: 1fr; }
  .hero__grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(3, clamp(118px, 25vw, 170px));
  }
  .hero__grid figure:nth-child(1) { grid-column: span 2; grid-row: span 2; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .names { columns: 2 140px; }
  .hero__actions .btn { flex: 1 1 auto; justify-content: center; }
  .logo-grid { grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .marquee__track { animation: none; }
}

/* Without JS the reveal classes never get applied, so opt out entirely. */
.no-js .reveal { opacity: 1; transform: none; }
