/* Kearney Creative — site styles */
:root {
  --ink: #0b0b0b;
  --paper: #fafafa;
  --muted: #5c5c5c;
  --line: #e2e2e2;
  --display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --body: "Inter", "Helvetica Neue", Arial, sans-serif;
  --max: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }

.skip { position: absolute; left: -9999px; }
.skip:focus { left: 1rem; top: 1rem; z-index: 100; background: #fff; padding: .5rem 1rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--ink);
  color: var(--paper);
}
.site-header .inner {
  max-width: var(--max); margin: 0 auto;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  padding: 14px 24px; min-height: 72px;
}
.nav { display: flex; gap: 22px; }
.nav a {
  font-family: var(--display); font-stretch: 112%;
  font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  text-decoration: none; padding-bottom: 3px; border-bottom: 1px solid transparent;
}
.nav a:hover, .nav a[aria-current="page"] { border-bottom-color: currentColor; }
.logo { justify-self: center; }
.logo img { height: 44px; width: auto; }
.header-cta { justify-self: end; }
.menu-btn { display: none; }

@media (max-width: 760px) {
  .site-header .inner { grid-template-columns: auto 1fr auto; }
  .logo { grid-column: 1; justify-self: start; }
  .header-cta { display: none; }
  .menu-btn {
    display: block; grid-column: 3; background: none; border: 0; color: inherit;
    font: 600 13px/1 var(--display); letter-spacing: .1em; text-transform: uppercase; cursor: pointer; padding: 10px 0;
  }
  .nav {
    display: none; grid-column: 1 / -1; grid-row: 2;
    flex-direction: column; gap: 0; padding: 10px 0 6px;
  }
  .nav.open { display: flex; }
  .nav a { font-size: 22px; padding: 10px 0; border: 0; }
}

/* ---------- Type ---------- */
.display {
  font-family: var(--display);
  font-stretch: 125%;
  font-weight: 800;
  text-transform: uppercase;
  line-height: 1.02;
  letter-spacing: -.005em;
  margin: 0;
}
h1.display { font-size: clamp(38px, 6.4vw, 84px); }
h2.display { font-size: clamp(30px, 4.4vw, 56px); }
h3.display { font-size: clamp(20px, 2vw, 26px); }
.display em { font-style: normal; font-weight: 300; }
.eyebrow {
  font-family: var(--display); font-stretch: 112%;
  font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: var(--muted); margin: 0 0 14px;
}
.lede { font-size: clamp(18px, 1.6vw, 21px); max-width: 640px; }

/* ---------- Layout ---------- */
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.section { padding: clamp(64px, 9vw, 128px) 0; }
.section.tight { padding: clamp(40px, 6vw, 72px) 0; }
.center { text-align: center; }
.center .lede { margin-left: auto; margin-right: auto; }
.dark { background: var(--ink); color: var(--paper); }
.dark .eyebrow { color: #a8a8a8; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--display); font-stretch: 112%;
  font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  text-decoration: none;
  background: var(--ink); color: var(--paper);
  border: 2px solid var(--ink);
  padding: 16px 28px;
  transition: background .2s, color .2s;
  cursor: pointer;
}
.btn:hover { background: transparent; color: var(--ink); }
.btn.light { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.btn.light:hover { background: transparent; color: var(--paper); }
.btn.small { padding: 10px 16px; font-size: 11px; }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: calc(100vh - 72px); min-height: calc(100svh - 72px);
  display: flex; align-items: flex-end;
  color: var(--paper); overflow: hidden;
}
.hero > img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 40%;
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.15) 0%, rgba(0,0,0,.25) 45%, rgba(0,0,0,.78) 100%);
}
.hero .wrap { position: relative; z-index: 1; padding-bottom: clamp(48px, 8vw, 96px); width: 100%; }
.hero p { max-width: 560px; font-size: clamp(17px, 1.5vw, 20px); margin: 22px 0 30px; }

/* ---------- Statement ---------- */
.statement { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.statement .big { font-family: var(--display); font-stretch: 112%; font-weight: 700; font-size: clamp(22px, 2.2vw, 30px); line-height: 1.25; margin: 22px 0; }
@media (max-width: 860px) { .statement { grid-template-columns: 1fr; } }

/* ---------- Full-bleed image ---------- */
.bleed img { width: 100%; height: clamp(320px, 62vw, 760px); object-fit: cover; }

/* ---------- Process ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid #2a2a2a; margin-top: 48px; }
.step { padding: 36px 32px 8px 0; border-right: 1px solid #2a2a2a; }
.step + .step { padding-left: 32px; }
.step:last-child { border-right: 0; }
.step .num { font-family: var(--display); font-stretch: 125%; font-weight: 300; font-size: 54px; line-height: 1; color: #6f6f6f; }
.step h3 { margin: 18px 0 12px; }
.step p { color: #cfcfcf; margin: 0; }
@media (max-width: 860px) {
  .steps { grid-template-columns: 1fr; }
  .step, .step + .step { padding: 32px 0; border-right: 0; border-bottom: 1px solid #2a2a2a; }
}

/* ---------- Photo strips ---------- */
.strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.strip img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.pair img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
@media (max-width: 760px) {
  .strip { grid-template-columns: 1fr 1fr; }
  .pair { grid-template-columns: 1fr; }
}

/* ---------- About ---------- */
.about { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(32px, 6vw, 88px); align-items: start; }
.about figure { margin: 0; position: sticky; top: 104px; }
.about figcaption { font-size: 13px; color: var(--muted); margin-top: 10px; }
.about p { margin: 0 0 1.2em; }
.about .first { font-family: var(--display); font-stretch: 112%; font-weight: 700; font-size: clamp(22px, 2.2vw, 28px); line-height: 1.3; }
@media (max-width: 860px) { .about { grid-template-columns: 1fr; } .about figure { position: static; } }

/* ---------- Work ---------- */
.reel { margin-top: 48px; }
.video { position: relative; aspect-ratio: 16 / 9; background: #000; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px 24px; margin-top: 24px; }
.video-grid h3 { font-family: var(--display); font-stretch: 112%; font-size: 15px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; margin: 12px 0 0; }
.video-grid p { margin: 2px 0 0; font-size: 14px; color: var(--muted); }
@media (max-width: 760px) { .video-grid { grid-template-columns: 1fr; } }

.work-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; border-bottom: 2px solid var(--ink); padding-bottom: 18px; margin-bottom: 28px; }
.work-head p { margin: 0; color: var(--muted); max-width: 520px; }

.gallery { columns: 3 300px; column-gap: 10px; }
.gallery button {
  display: block; width: 100%; padding: 0; margin: 0 0 10px; border: 0; background: #ddd;
  cursor: zoom-in; break-inside: avoid; overflow: hidden;
}
.gallery img { width: 100%; transition: transform .5s ease, opacity .3s; }
.gallery button:hover img { transform: scale(1.03); }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 200; background: rgba(0,0,0,.94);
  display: none; align-items: center; justify-content: center; padding: 56px 64px;
}
.lightbox.open { display: flex; }
.lightbox img { max-width: 100%; max-height: 100%; object-fit: contain; }
.lightbox button {
  position: absolute; background: none; border: 0; color: #fff; cursor: pointer;
  font: 600 13px var(--display); letter-spacing: .1em; text-transform: uppercase; padding: 14px;
}
.lb-close { top: 8px; right: 12px; }
.lb-prev { left: 4px; top: 50%; transform: translateY(-50%); font-size: 30px !important; }
.lb-next { right: 4px; top: 50%; transform: translateY(-50%); font-size: 30px !important; }
.lb-caption { position: absolute; bottom: 14px; left: 64px; right: 64px; text-align: center; color: #bbb; font-size: 13px; }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 88px); }
.contact .photo img { width: 100%; height: 100%; min-height: 420px; object-fit: cover; }
form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
form label { display: block; font-size: 13px; font-weight: 600; letter-spacing: .02em; margin: 0 0 6px; }
form label span { color: var(--muted); font-weight: 400; }
form input[type="text"], form input[type="email"], form textarea {
  width: 100%; font: inherit; color: var(--ink);
  background: #fff; border: 1px solid #cfcfcf; border-radius: 0;
  padding: 13px 14px; margin-bottom: 18px;
}
form input:focus, form textarea:focus { outline: 2px solid var(--ink); outline-offset: -1px; border-color: var(--ink); }
form textarea { min-height: 170px; resize: vertical; }
.check { display: flex; gap: 10px; align-items: center; font-size: 15px; margin: 0 0 24px; }
.check input { width: 18px; height: 18px; accent-color: var(--ink); }
.hp { position: absolute; left: -9999px; }
.form-status { margin-top: 16px; font-weight: 600; min-height: 1.5em; }
@media (max-width: 860px) { .contact { grid-template-columns: 1fr; } .contact .photo img { min-height: 280px; } }
@media (max-width: 520px) { form .row { grid-template-columns: 1fr; gap: 0; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #bdbdbd; padding: 56px 0 40px; font-size: 14px; }
.site-footer .inner { max-width: var(--max); margin: 0 auto; padding: 0 24px; display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.site-footer img { height: 40px; width: auto; }
.site-footer nav { display: flex; gap: 20px; }
.site-footer a { text-decoration: none; color: #eaeaea; }
.site-footer a:hover { text-decoration: underline; }
.site-footer .fine { width: 100%; border-top: 1px solid #262626; padding-top: 20px; margin-top: 12px; color: #8a8a8a; font-size: 13px; }

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