/* Christie Gray, christiegray.design
   Type-led, bold-minimal. Inter Tight display / Inter text. */

:root {
  --paper: #ffffff;
  --ink: #111110;
  --muted: #6f6e69;
  --faint: #9c9b94;
  --hair: #e7e6e1;
  --hair-strong: #111110;
  --wash: #f4f3ef;
  --accent: #1d1df5;
  --max: 1280px;
  --pad: clamp(20px, 4vw, 48px);
  --display: "Inter Tight", "Inter", -apple-system, "Helvetica Neue", sans-serif;
  --text: "Inter", -apple-system, "Helvetica Neue", sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root {
    --paper: #121211;
    --ink: #f1f0ec;
    --muted: #a3a29b;
    --faint: #7b7a74;
    --hair: #2b2a28;
    --hair-strong: #f1f0ec;
    --wash: #1b1a19;
    --accent: #8f8fff;
  }
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--text);
  background: var(--paper);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--ink); color: var(--paper); }

.wrap { max-width: var(--max); margin: 0 auto; padding-left: var(--pad); padding-right: var(--pad); }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--hair);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}
.nav-logo {
  font-family: var(--display);
  font-weight: 700; font-size: 17px; letter-spacing: -0.02em;
}
.nav-links { display: flex; gap: clamp(16px, 3vw, 36px); align-items: center; }
.nav-links a {
  font-size: 13.5px; font-weight: 500; letter-spacing: 0.01em;
  color: var(--muted); transition: color .15s;
}
.nav-links a:hover { color: var(--ink); }
.nav-links a[aria-current="page"] { color: var(--ink); border-bottom: 2px solid var(--ink); padding-bottom: 2px; }
.nav-links a.nav-cta { color: var(--paper); background: var(--ink); padding: 8px 16px; border-radius: 99px; border: none; }
.nav-links a.nav-cta:hover { background: var(--accent); color: #fff; }
@media (max-width: 640px) {
  .nav-links a:not(.nav-cta):not(:nth-child(-n+3)) { display: none; }
}

/* ---------- Hero ---------- */
.hero { padding: clamp(64px, 10vw, 140px) 0 clamp(48px, 6vw, 88px); }
.hero h1 {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(40px, 7.2vw, 96px);
  line-height: 1.02;
  letter-spacing: -0.035em;
  max-width: 14ch;
}
.hero h1 .dim { color: var(--faint); }
.hero-sub {
  margin-top: 28px; max-width: 62ch;
  font-size: clamp(16px, 1.6vw, 19px); line-height: 1.6; color: var(--muted);
}
.hero-sub strong { color: var(--ink); font-weight: 500; }
.facts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 36px; }
.fact {
  font-size: 12.5px; font-weight: 500; letter-spacing: 0.02em;
  border: 1px solid var(--hair); border-radius: 99px;
  padding: 6px 14px; color: var(--muted); white-space: nowrap;
}
.fact b { color: var(--ink); font-weight: 600; }

/* ---------- Section scaffolding ---------- */
.section { padding: clamp(48px, 7vw, 104px) 0; border-top: 1px solid var(--hair); }
.section-head {
  display: flex; justify-content: space-between; align-items: baseline;
  margin-bottom: clamp(28px, 4vw, 56px); gap: 16px;
}
.kicker {
  font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--faint);
}
.section-head h2 {
  font-family: var(--display); font-weight: 700;
  font-size: clamp(26px, 3.6vw, 44px); letter-spacing: -0.03em; line-height: 1.05;
  margin-top: 10px;
}
.section-link { font-size: 14px; font-weight: 500; color: var(--muted); white-space: nowrap; }
.section-link:hover { color: var(--accent); }

/* ---------- Work grid ---------- */
.work-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(20px, 3vw, 40px); }
@media (max-width: 760px) { .work-grid { grid-template-columns: 1fr; } }
.card { display: block; }
.card-media {
  aspect-ratio: 4 / 3; overflow: hidden; background: var(--wash); border-radius: 4px;
}
.card-media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .5s cubic-bezier(.2,.6,.2,1);
}
.card:hover .card-media img { transform: scale(1.025); }
.card-meta { display: flex; justify-content: space-between; align-items: baseline; margin-top: 14px; gap: 12px; }
.card-title {
  font-family: var(--display); font-weight: 600; font-size: 18px; letter-spacing: -0.015em;
}
.card:hover .card-title { color: var(--accent); }
.card-tag { font-size: 12.5px; color: var(--faint); white-space: nowrap; }
.card-client { font-size: 13.5px; color: var(--muted); margin-top: 2px; }

/* ---------- Credibility strip ---------- */
.strip { padding: clamp(36px, 5vw, 64px) 0; border-top: 1px solid var(--hair); }
.strip-brands {
  display: flex; flex-wrap: wrap; gap: 12px 36px; align-items: baseline;
  font-family: var(--display); font-weight: 600; letter-spacing: -0.01em;
  font-size: clamp(16px, 2vw, 22px); color: var(--faint);
}
.strip-awards { margin-top: 20px; font-size: 13px; color: var(--muted); max-width: 80ch; line-height: 1.8; }

/* ---------- Writing ---------- */
.essays { border-top: 1px solid var(--hair-strong); }
.essay {
  display: grid; grid-template-columns: 1fr auto; gap: 20px; align-items: baseline;
  padding: 22px 0; border-bottom: 1px solid var(--hair);
}
.essay h3 { font-family: var(--display); font-weight: 600; font-size: clamp(17px, 2vw, 22px); letter-spacing: -0.02em; line-height: 1.3; }
.essay p { font-size: 14px; color: var(--muted); margin-top: 4px; }
.essay .arrow { color: var(--faint); font-size: 18px; transition: transform .2s, color .2s; }
.essay:hover h3 { color: var(--accent); }
.essay:hover .arrow { transform: translateX(4px); color: var(--accent); }
.subscribe-line { margin-top: 28px; font-size: 14.5px; color: var(--muted); }
.subscribe-line a { color: var(--ink); font-weight: 500; border-bottom: 1px solid var(--ink); }
.subscribe-line a:hover { color: var(--accent); border-color: var(--accent); }

/* ---------- Speaking teaser ---------- */
.topics { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 40px); }
@media (max-width: 860px) { .topics { grid-template-columns: 1fr; } }
.topic { border-top: 2px solid var(--ink); padding-top: 18px; }
.topic h3 { font-family: var(--display); font-weight: 600; font-size: 18px; letter-spacing: -0.02em; line-height: 1.3; }
.topic p { font-size: 14px; color: var(--muted); margin-top: 10px; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--hair-strong); padding: clamp(48px, 7vw, 96px) 0 40px; }
.footer-big {
  font-family: var(--display); font-weight: 700;
  font-size: clamp(30px, 5vw, 64px); letter-spacing: -0.03em; line-height: 1.05;
  max-width: 18ch;
}
.footer-big a { border-bottom: 3px solid var(--ink); }
.footer-big a:hover { color: var(--accent); border-color: var(--accent); }
.footer-row {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px;
  margin-top: clamp(36px, 5vw, 64px); padding-top: 24px; border-top: 1px solid var(--hair);
  font-size: 13.5px; color: var(--muted);
}
.footer-row .links { display: flex; gap: 24px; }
.footer-row a:hover { color: var(--accent); }

/* ---------- Page heads (inner pages) ---------- */
.page-head { padding: clamp(48px, 7vw, 96px) 0 clamp(32px, 4vw, 56px); }
.page-head h1 {
  font-family: var(--display); font-weight: 700;
  font-size: clamp(34px, 5.6vw, 72px); letter-spacing: -0.035em; line-height: 1.02;
  max-width: 20ch;
}
.page-head .lede { margin-top: 24px; max-width: 62ch; font-size: clamp(16px, 1.6vw, 19px); color: var(--muted); }

/* ---------- Case study ---------- */
.case-hero { border-radius: 4px; overflow: hidden; background: var(--wash); }
.case-head { padding: clamp(40px, 6vw, 80px) 0 clamp(28px, 4vw, 48px); }
.case-head .eyebrow {
  font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--faint); margin-bottom: 16px;
}
.case-head h1 {
  font-family: var(--display); font-weight: 700;
  font-size: clamp(34px, 5.4vw, 68px); letter-spacing: -0.035em; line-height: 1.03;
  max-width: 18ch;
}
.case-intro {
  display: grid; grid-template-columns: 1.6fr 1fr; gap: clamp(28px, 5vw, 80px);
  padding: clamp(28px, 4vw, 56px) 0;
}
@media (max-width: 820px) { .case-intro { grid-template-columns: 1fr; } }
.case-brief h2 { font-family: var(--display); font-weight: 600; font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--faint); margin: 26px 0 10px; }
.case-brief h2:first-child { margin-top: 0; }
.case-brief p { font-size: clamp(16px, 1.5vw, 18px); line-height: 1.65; max-width: 58ch; }
.case-brief p + p { margin-top: 12px; }
.case-meta { border-top: 2px solid var(--ink); align-self: start; }
.case-meta dl { display: grid; grid-template-columns: auto 1fr; gap: 10px 20px; padding-top: 18px; font-size: 14px; }
.case-meta dt { color: var(--faint); font-weight: 500; white-space: nowrap; }
.case-meta dd { color: var(--ink); }

.case-body { padding-bottom: clamp(48px, 6vw, 96px); }
.case-body h2.case-section {
  font-family: var(--display); font-weight: 700;
  font-size: clamp(24px, 3.2vw, 40px); letter-spacing: -0.03em; line-height: 1.1;
  margin: clamp(48px, 6vw, 88px) 0 20px;
  max-width: 24ch;
}
.case-body h3 { font-family: var(--display); font-weight: 600; font-size: clamp(18px, 2vw, 24px); letter-spacing: -0.02em; margin: 36px 0 12px; }
.case-body h4 {
  font-family: var(--display); font-weight: 600; font-size: 13px; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--faint); margin: 36px 0 10px;
}
.case-body p { max-width: 68ch; margin: 14px 0; font-size: clamp(15.5px, 1.4vw, 17px); }
.case-body p strong { font-weight: 600; }
.case-body ul { max-width: 68ch; margin: 14px 0 14px 20px; }
.case-body ul li { margin: 8px 0; }
.figure { margin: clamp(20px, 3vw, 36px) 0; }
.figure img { width: 100%; border-radius: 4px; background: var(--wash); }
.gallery { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(12px, 2vw, 24px); margin: clamp(20px, 3vw, 36px) 0; }
@media (max-width: 640px) { .gallery { grid-template-columns: 1fr; } }
.gallery img { width: 100%; height: 100%; object-fit: cover; border-radius: 4px; background: var(--wash); }
.video-embed { position: relative; aspect-ratio: 16 / 9; margin: clamp(20px, 3vw, 36px) 0; background: var(--wash); border-radius: 4px; overflow: hidden; }
.video-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-native { margin: clamp(20px, 3vw, 36px) 0; }
.video-native video { width: 100%; border-radius: 4px; background: var(--wash); }

.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1px; background: var(--hair); border: 1px solid var(--hair); border-radius: 4px; overflow: hidden; margin: clamp(24px, 3vw, 40px) 0; }
.stat { background: var(--paper); padding: 22px 20px; }
.stat b { display: block; font-family: var(--display); font-weight: 700; font-size: clamp(22px, 2.6vw, 32px); letter-spacing: -0.02em; }
.stat span { font-size: 13.5px; color: var(--muted); }

.credits { margin-top: clamp(48px, 6vw, 80px); padding: 28px; background: var(--wash); border-radius: 4px; }
.credits h2 { font-family: var(--display); font-weight: 600; font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--faint); margin-bottom: 14px; }
.credits p { font-size: 14px; color: var(--muted); margin: 6px 0; max-width: none; }

.case-next { border-top: 1px solid var(--hair-strong); padding: clamp(40px, 6vw, 72px) 0; }
.case-next .kicker { margin-bottom: 12px; }
.case-next a h2 {
  font-family: var(--display); font-weight: 700;
  font-size: clamp(28px, 4.5vw, 56px); letter-spacing: -0.03em; line-height: 1.05;
}
.case-next a:hover h2 { color: var(--accent); }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: clamp(32px, 5vw, 80px); padding-bottom: clamp(40px, 6vw, 72px); }
@media (max-width: 820px) { .about-grid { grid-template-columns: 1fr; } }
.about-copy p { font-size: clamp(16px, 1.6vw, 19px); line-height: 1.7; margin: 16px 0; max-width: 60ch; }
.about-copy p strong { font-weight: 600; }
.about-copy a { border-bottom: 1px solid var(--ink); font-weight: 500; }
.about-copy a:hover { color: var(--accent); border-color: var(--accent); }
.portrait { border-radius: 4px; overflow: hidden; background: var(--wash); align-self: start; }
.beliefs { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(24px, 3vw, 48px); }
@media (max-width: 760px) { .beliefs { grid-template-columns: 1fr; } }
.belief { border-top: 2px solid var(--ink); padding-top: 18px; }
.belief h3 { font-family: var(--display); font-weight: 600; font-size: clamp(17px, 2vw, 21px); letter-spacing: -0.02em; line-height: 1.35; }
.belief p { font-size: 15px; color: var(--muted); margin-top: 10px; }
.awards-list { border-top: 1px solid var(--hair-strong); }
.award { display: grid; grid-template-columns: 1fr auto; gap: 16px; align-items: baseline; padding: 16px 0; border-bottom: 1px solid var(--hair); }
.award b { font-family: var(--display); font-weight: 600; font-size: 15.5px; }
.award span { font-size: 13.5px; color: var(--muted); }
.award .for { text-align: right; }
.timeline { border-top: 1px solid var(--hair-strong); }
.role { display: grid; grid-template-columns: 200px 1fr; gap: 20px; padding: 24px 0; border-bottom: 1px solid var(--hair); }
@media (max-width: 640px) { .role { grid-template-columns: 1fr; gap: 6px; } }
.role .when { font-size: 13px; color: var(--faint); font-weight: 500; padding-top: 3px; }
.role h3 { font-family: var(--display); font-weight: 600; font-size: 17px; letter-spacing: -0.015em; }
.role .title { font-size: 14px; color: var(--muted); }
.role p { font-size: 14.5px; color: var(--muted); margin-top: 8px; max-width: 62ch; }

/* ---------- Speaking ---------- */
.speak-panel { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vw, 64px); align-items: start; }
@media (max-width: 820px) { .speak-panel { grid-template-columns: 1fr; } }
.event-list { border-top: 1px solid var(--hair-strong); }
.event { padding: 18px 0; border-bottom: 1px solid var(--hair); }
.event b { font-family: var(--display); font-weight: 600; font-size: 16px; }
.event p { font-size: 14px; color: var(--muted); margin-top: 4px; }

/* ---------- Contact form ---------- */
.form { max-width: 560px; }
.form label { display: block; font-size: 13px; font-weight: 600; margin: 20px 0 6px; }
.form input, .form textarea {
  width: 100%; font: inherit; font-size: 15px; color: var(--ink);
  background: transparent; border: 1px solid var(--hair); border-radius: 4px;
  padding: 12px 14px; outline: none; transition: border-color .15s;
}
.form input:focus, .form textarea:focus { border-color: var(--ink); }
.form button {
  margin-top: 24px; font: inherit; font-weight: 600; font-size: 15px;
  background: var(--ink); color: var(--paper); border: 0; border-radius: 99px;
  padding: 13px 32px; cursor: pointer;
}
.form button:hover { background: var(--accent); color: #fff; }

/* ---------- Misc ---------- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Full-bleed helper ---------- */
.bleed { width: 100vw; position: relative; left: 50%; right: 50%; margin-left: -50vw; margin-right: -50vw; }

/* ---------- Dark pull-quote band (home + between sections) ---------- */
.band { background: var(--ink); color: var(--paper); padding: clamp(64px, 10vw, 140px) 0; }
@media (prefers-color-scheme: dark) { .band { background: #000; } }
.band .wrap { max-width: var(--max); }
.band-quote {
  font-family: var(--display); font-weight: 700;
  font-size: clamp(28px, 5vw, 60px); line-height: 1.08; letter-spacing: -0.03em;
  max-width: 20ch;
}
.band-quote .lo { color: var(--faint); }
.band-cite { margin-top: 24px; font-size: 14px; color: var(--faint); letter-spacing: 0.02em; }

/* ---------- Awards feature (home) ---------- */
.awards-feature { padding: clamp(48px, 7vw, 104px) 0; border-top: 1px solid var(--hair); }
.awards-top { display: grid; grid-template-columns: 1fr auto; gap: 20px; align-items: end; margin-bottom: clamp(28px, 4vw, 48px); }
@media (max-width: 640px) { .awards-top { grid-template-columns: 1fr; align-items: start; } }
.awards-count { font-family: var(--display); font-weight: 700; font-size: clamp(48px, 9vw, 104px); letter-spacing: -0.04em; line-height: 0.9; }
.awards-count span { font-size: 0.35em; color: var(--faint); letter-spacing: 0; display: block; margin-top: 8px; font-weight: 500; }
.award-rows { border-top: 2px solid var(--ink); }
.award-row { display: grid; grid-template-columns: 1fr auto; gap: 16px; align-items: baseline; padding: 18px 0; border-bottom: 1px solid var(--hair); }
.award-row b { font-family: var(--display); font-weight: 600; font-size: clamp(17px, 2.4vw, 26px); letter-spacing: -0.02em; }
.award-row span { font-size: 13px; color: var(--muted); text-align: right; }
.award-row:hover b { color: var(--accent); }

/* ---------- POV / speaking compact band (home) ---------- */
.pov { display: grid; grid-template-columns: 1fr 1.3fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
@media (max-width: 820px) { .pov { grid-template-columns: 1fr; gap: 20px; } }
.pov h2 { font-family: var(--display); font-weight: 700; font-size: clamp(26px, 3.6vw, 44px); letter-spacing: -0.03em; line-height: 1.05; }
.pov p { font-size: clamp(16px, 1.5vw, 18px); color: var(--muted); margin: 0 0 14px; max-width: 60ch; }
.pov p strong { color: var(--ink); font-weight: 500; }

/* ---------- Writing feature (home, offset) ---------- */
.writing-feature { display: grid; grid-template-columns: 0.7fr 1.3fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
@media (max-width: 820px) { .writing-feature { grid-template-columns: 1fr; gap: 24px; } }

/* ---------- Case study: pace ---------- */
.case-figure-full { margin: clamp(28px, 5vw, 64px) 0; }
.case-figure-full img { width: 100%; display: block; background: var(--wash); }
.case-quote { padding: clamp(40px, 6vw, 88px) 0; }
.case-quote p {
  font-family: var(--display); font-weight: 700;
  font-size: clamp(24px, 4vw, 44px); line-height: 1.12; letter-spacing: -0.03em;
  max-width: 22ch; margin: 0;
}
.case-figure img, .gallery img, .figure img { cursor: zoom-in; }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 200; display: none;
  align-items: center; justify-content: center;
  background: rgba(12,12,11,0.94); padding: 4vw; cursor: zoom-out;
}
.lightbox.on { display: flex; }
.lightbox img { max-width: 96vw; max-height: 92vh; object-fit: contain; border-radius: 2px; }
.lightbox-close { position: absolute; top: 20px; right: 24px; color: #fff; font-size: 30px; line-height: 1; background: none; border: 0; cursor: pointer; opacity: .8; }
.lightbox-close:hover { opacity: 1; }
