:root {
  --ink: #111111;
  --ink-soft: #3d3a35;
  --cream: #f7f3eb;
  --paper: #fbf8f1;
  --accent: #c2470f;
  --rule: rgba(17, 17, 17, 0.16);
  --rule-light: rgba(245, 239, 227, 0.22);
  --display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --body: "Newsreader", Georgia, "Times New Roman", serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 1.2rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
p { margin: 0 0 1.1em; }

h1, h2, h3 {
  font-family: var(--display);
  font-stretch: 80%;
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.01em;
  margin: 0 0 0.6em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.9rem, 7vw, 5.4rem); font-weight: 900; text-transform: uppercase; }
h2 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); text-transform: uppercase; }
h3 { font-size: 1.45rem; margin-bottom: 0.5em; }

.wrap { width: min(1160px, 100%); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 780px; }
.center { text-align: center; }
section { padding: clamp(72px, 10vw, 128px) 0; }
.why, .services, .work, .engage { padding: clamp(60px, 8.5vw, 108px) 0; }
.mission { padding-top: clamp(60px, 8.5vw, 108px); }

.skip {
  position: absolute; left: -999px; top: 8px; z-index: 20;
  background: var(--cream); color: var(--ink); padding: 8px 14px;
}
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

.eyebrow {
  font-family: var(--display);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.3em;
  text-wrap: balance;
}
.hero .eyebrow, .mission .eyebrow, .principal .eyebrow, .contact .eyebrow { color: #f0814f; }

/* Navigation */
.nav {
  position: sticky; top: 0; z-index: 10;
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 12px 24px;
  background: var(--ink);
  color: var(--cream);
  border-bottom: 1px solid var(--rule-light);
  font-family: var(--display);
}
.brand {
  display: flex; align-items: center; gap: 10px;
  font-weight: 800; font-stretch: 85%; letter-spacing: 0.06em;
  text-transform: uppercase; text-decoration: none; white-space: nowrap; font-size: 1rem;
}
.brand img { width: 34px; height: 34px; object-fit: contain; }
.nav nav { display: flex; align-items: center; gap: 26px; }
.nav nav a { text-decoration: none; font-size: 0.92rem; font-weight: 500; }
.nav nav a:hover { color: #f0814f; }
.social-link { display: inline-flex; align-items: center; flex-shrink: 0; color: var(--cream); }
.social-link:hover { color: #f0814f; }
.nav .nav-cta { border: 1px solid var(--cream); padding: 7px 16px; }
.nav .nav-cta:hover { background: var(--cream); color: var(--ink); }

/* Buttons */
.button {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  font-family: var(--display);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-decoration: none;
  padding: 15px 26px;
  transition: background 0.15s ease;
}
.button:hover { background: #b84312; }
.text-link { font-family: var(--display); font-weight: 700; font-size: 1rem; text-underline-offset: 4px; }

/* Claw marks at section transitions: takes no space in the layout */
.claw-defs { position: absolute; }
.claw { position: relative; z-index: 2; height: 0; }
.claw svg { position: absolute; top: 0; left: 0; display: block; width: 100%; height: clamp(44px, 5vw, 60px); transform: translateY(-50%); pointer-events: none; }
.c-up { fill: var(--up); }
.c-down { fill: var(--down); }

/* Line icons */
.icon { display: block; flex-shrink: 0; width: 28px; height: 28px; fill: none; stroke: var(--accent); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

/* Hero */
.hero { position: relative; isolation: isolate; background: var(--ink); color: var(--cream); padding-top: clamp(56px, 8vw, 104px); }
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: url("assets/hero-rally.jpg") center / cover no-repeat;
  opacity: 0.18;
}
.hero-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 56px; align-items: center; }
.lede { font-size: 1.4rem; line-height: 1.45; max-width: 34em; margin-bottom: 1.6em; }

/* Why */
.why { background: var(--cream); }
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.scripts {
  font-size: clamp(2.6rem, 6vw, 4.2rem);
  line-height: 1.3;
  display: flex; align-items: center; gap: 0.35em;
  margin-bottom: 0.25em;
  font-family: "Noto Sans Devanagari", "Noto Naskh Arabic", var(--display);
}
.scripts [lang="ur"] { font-family: "Noto Naskh Arabic", serif; }
.scripts .dot { font-size: 0.5em; color: var(--accent); }
.definition { font-size: 1.35rem; margin-bottom: 1.2em; }

/* Mission */
.mission { background: var(--ink); color: var(--cream); padding-bottom: 0; }
.mission-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 56px; align-items: end; }
.mission-text { align-self: center; padding-bottom: clamp(60px, 8.5vw, 108px); }
.portrait-suit { width: min(100%, 420px); justify-self: center; }

/* Services */
.section-lede { max-width: 36em; }
.service-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2px; margin-top: 44px; background: var(--ink); border: 2px solid var(--ink); }
.service-grid article { background: var(--paper); padding: 34px 32px 22px; }
.card-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.num { display: block; font-family: var(--display); font-weight: 800; color: var(--accent); font-size: 0.95rem; }

/* Selected work */
.work-list { list-style: none; margin: 32px 0 0; padding: 0; border-top: 2px solid var(--ink); }
.work-list li {
  display: grid; grid-template-columns: 1fr 2fr; gap: 32px;
  padding: 26px 0 12px; border-bottom: 1px solid var(--rule);
}
.with-icon { display: flex; align-items: flex-start; gap: 12px; }
.with-icon .icon { margin-top: -2px; }
.note { margin-top: 26px; font-size: 1rem; font-style: italic; color: var(--ink-soft); }

/* Principal */
.principal { background: var(--ink); color: var(--cream); padding: clamp(60px, 6.5vw, 84px) 0 0; overflow: hidden; }
.principal-grid { display: grid; grid-template-columns: clamp(520px, calc(1830px - 96vw), 640px) minmax(0, 1fr); gap: clamp(40px, 5vw, 72px); }
.principal-photo img { width: 100%; height: auto; }
.principal-text { font-size: 1.1rem; max-width: 720px; padding: 0 32px 34px 0; }
.principal-text .eyebrow { line-height: 1; }
@media (min-width: 1241px) and (max-width: 1299px) {
  .principal-grid { grid-template-columns: 628px minmax(0, 1fr); }
}
@media (max-width: 1240px) {
  .principal-grid { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .principal-text { order: 1; padding: 0 24px 8px; max-width: 780px; }
  .principal-photo { order: 2; }
  .principal-photo img { width: min(82%, 460px); }
}

/* Engagements */
.engage { background: var(--cream); }
.engage-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 40px; }
.engage-grid article { background: var(--paper); border-top: 6px solid var(--ink); padding: 32px; display: flex; flex-direction: column; }
.engage-grid .icon { margin-bottom: 12px; }
.tag { font-family: var(--display); font-size: 0.8rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); margin-bottom: 0.7em; }
.engage-grid ul { margin: 0 0 1.4em; padding-left: 1.1em; }
.engage-grid li { margin-bottom: 0.3em; }
.terms { margin: auto 0 0; padding-top: 14px; border-top: 1px solid var(--rule); font-family: var(--display); font-size: 0.95rem; font-weight: 600; }

/* Contact */
.contact { background: var(--ink); color: var(--cream); padding-top: 0; }
.conversation {
  width: 100%;
  height: clamp(300px, 42vw, 600px);
  object-fit: cover;
  object-position: center 16%;
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 14%, #000 64%, transparent);
  mask-image: linear-gradient(to bottom, transparent, #000 14%, #000 64%, transparent);
}
.contact .wrap { position: relative; margin-top: clamp(-48px, -3vw, -16px); }
.center .button { margin-top: 10px; }

/* Footer */
.footer { background: var(--ink); color: var(--cream); border-top: 1px solid var(--rule-light); font-family: var(--display); font-size: 0.85rem; }
.footer-row { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding-top: 22px; padding-bottom: 22px; }
.footer p { margin: 0; }

@media (max-width: 860px) {
  body { font-size: 1.12rem; }
  h1 { font-size: min(12.2vw, 2.9rem); }
  .nav { padding: 10px 16px; }
  .nav nav a:not(.nav-cta):not(.social-link) { display: none; }
  .nav { gap: 12px; }
  .nav nav { gap: 14px; }
  .wrap { padding: 0 16px; }
  .footer-row { padding: 22px 16px; }
  .hero-grid, .why-grid, .principal-grid, .engage-grid, .service-grid { grid-template-columns: 1fr; }
  .hero-grid { gap: 40px; }
  .why-grid { gap: 36px; }
  .work-list li { grid-template-columns: 1fr; gap: 0; }
  .mission-grid { grid-template-columns: 1fr; gap: 0; }
  .mission-text { padding-bottom: 32px; }
  .portrait-suit { width: min(78%, 340px); }
  .principal-text { padding: 0 16px 8px; }
  .service-grid article { padding: 28px 22px 16px; }
  .engage-grid article { padding: 26px 22px; }
}

@media (max-width: 360px) {
  .nav { padding: 10px 12px; gap: 10px; }
  .nav nav { gap: 10px; }
  .brand { font-size: 0.8rem; gap: 8px; }
  .nav .nav-cta { padding: 6px 12px; }
}

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