:root {
  --ink: #14151a;
  --muted: #6f6f76;
  --faint: #a6a6ad;
  --bg: #ffffff;
  --bg-soft: #f6f6f7;
  --border: #e7e7e9;
  --white: #ffffff;

  --font: 'Inter', ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --page-max-width: 1180px;
  --radius-card: 20px;
  --radius-panel: 28px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; text-decoration: none; }
button { font-family: inherit; }

.wrap {
  max-width: var(--page-max-width);
  margin: 0 auto;
  padding: 0 32px;
}

::selection { background: var(--ink); color: #fff; }

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.in-view { opacity: 1; transform: translateY(0); }

/* ---------- Buttons ---------- */
.btn-pill {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  background: var(--ink);
  color: var(--white);
  border-radius: 999px;
  padding: 6px 6px 6px 24px;
  font-size: 15px;
  font-weight: 600;
  transition: opacity 0.25s ease;
}
.btn-pill:hover { opacity: 0.85; }

.btn-pill-sm { padding: 5px 5px 5px 20px; font-size: 13px; }

.btn-circle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--white);
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  flex: none;
}
.btn-pill-sm .btn-circle { width: 30px; height: 30px; font-size: 13px; }

.btn-pill-light { background: var(--white); color: var(--ink); }
.btn-circle-dark { background: var(--ink); color: var(--white); }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: transparent;
  color: var(--ink);
  font-size: 15px;
  font-weight: 600;
}

.play-circle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
}

.icon-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease;
}
.icon-btn:hover { background: var(--ink); color: var(--white); }

.icon-btn-dark {
  background: var(--ink);
  color: var(--white);
  border-color: var(--ink);
}
.icon-btn-dark:hover { background: #333438; color: var(--white); }

/* ---------- Social strip (before footer) ---------- */
.social-strip-section { padding: 72px 0 0; }
.social-strip { text-align: center; }
.social-strip-icons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: fit-content;
  margin: 8px auto 0;
}

/* ---------- Nav ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 20px 0;
  transition: background 0.3s ease, border-color 0.3s ease, backdrop-filter 0.3s ease;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: var(--page-max-width);
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-logo {
  display: flex;
  align-items: center;
  margin-right: auto;
}
.nav-logo img { height: 34px; width: auto; display: block; }

.nav-links { display: flex; gap: 28px; }
.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  transition: color 0.2s ease;
}
.nav-links a:hover { color: var(--ink); }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--ink);
  border: none;
  cursor: pointer;
  padding: 0;
}
.nav-toggle span { display: block; height: 1px; background: var(--white); width: 14px; margin: 0 auto; }

@media (min-width: 821px) {
  .nav-on-dark:not(.scrolled) .nav-links a { color: rgba(255, 255, 255, 0.85); }
  .nav-on-dark:not(.scrolled) .nav-links a:hover { color: var(--white); }
}
.nav-on-dark.scrolled .nav-logo img { filter: brightness(0); }
.nav-on-dark:not(.scrolled) .btn-pill-sm { background: rgba(255, 255, 255, 0.16); backdrop-filter: blur(10px); }
.nav-on-dark:not(.scrolled) .btn-pill-sm .btn-circle { background: var(--white); color: var(--ink); }

/* ---------- Hero: blondy-style listed video stack ---------- */
.hero-stack {
  position: relative;
  scroll-snap-type: y proximity;
}
.hero-slide {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 16px;
  overflow: hidden;
  isolation: isolate;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

.hero-slide-video,
.hero-slide-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero-slide-link { position: absolute; inset: 0; z-index: 2; cursor: pointer; }
.hero-slide-label {
  position: absolute;
  right: 32px;
  bottom: 40px;
  z-index: 3;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--white);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.35);
  pointer-events: none;
}

.hero-dot-nav {
  position: fixed;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 90;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.hero-dot-nav.visible { opacity: 1; pointer-events: auto; }
.hero-dot {
  width: 3px;
  height: 22px;
  border: none;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.45);
  padding: 0;
  cursor: pointer;
  transition: background 0.3s ease, height 0.3s ease;
}
.hero-dot:hover { background: rgba(255, 255, 255, 0.75); }
.hero-dot.active { background: var(--white); height: 30px; }

@media (max-width: 820px) {
  .hero-dot-nav { display: none; }
}

.hero-media-mobile { display: none; }

@media (max-width: 820px) {
  .hero-media-desktop { display: none; }
  .hero-media-mobile { display: block; }
}

.hero-slide-mobile-only { display: none; }

@media (max-width: 820px) {
  .hero-slide-mobile-only { display: flex; }
}

@media (max-width: 820px) {
  .hero-slide-desktop-only { display: none; }
}

.hero-social {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 12px;
}

.hero-social-btn {
  width: 38px;
  height: 38px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(10px);
  border-color: rgba(20, 21, 26, 0.15);
  color: var(--ink);
}
.hero-social-btn:hover { background: var(--ink); color: var(--white); }

.hero-social-text {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.hero-scroll-cue {
  position: absolute;
  z-index: 1;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  animation: heroScrollBounce 2.2s ease-in-out infinite;
}
@keyframes heroScrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(6px); }
}

/* ---------- Sections ---------- */
.section { padding: 100px 0; }
.section.soft { background: var(--bg-soft); }

.eyebrow {
  display: block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 14px;
}

.section-title {
  font-size: clamp(26px, 3.6vw, 38px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 0;
}

.why-head {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 48px;
}
@media (min-width: 760px) {
  .why-head { flex-direction: row; align-items: flex-end; justify-content: space-between; }
}

.why-copy {
  max-width: 340px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
  margin: 0;
}

/* ---------- Icon stat cards ---------- */
.icon-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-bottom: 56px;
}
@media (min-width: 700px) {
  .icon-grid { grid-template-columns: repeat(4, 1fr); }
}

.icon-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.icon-circle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: var(--ink);
}

.icon-card h3 {
  font-size: 15px;
  font-weight: 700;
  margin: 0;
  letter-spacing: -0.01em;
}
.icon-card p {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.55;
  margin: 0;
}

/* ---------- Stats row ---------- */
.stats-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  border-top: 1px solid var(--border);
  padding-top: 36px;
}
@media (min-width: 700px) {
  .stats-row { grid-template-columns: repeat(4, 1fr); }
}
.stat-item { display: flex; flex-direction: column; gap: 6px; }
.stat-num { font-size: clamp(28px, 3.6vw, 36px); font-weight: 700; letter-spacing: -0.02em; }
.stat-label { font-size: 13.5px; color: var(--muted); }

/* ---------- Work / Projects ---------- */
.work-head {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 40px;
}
@media (min-width: 700px) {
  .work-head { flex-direction: row; align-items: flex-end; justify-content: space-between; }
}

.view-all {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
}
.view-all span {
  width: 26px; height: 26px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}

.project-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
@media (min-width: 760px) {
  .project-grid { grid-template-columns: repeat(3, 1fr); }
}

.project-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 12px;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.project-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(20, 21, 26, 0.08);
}

.project-img {
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 4 / 3.1;
  margin-bottom: 16px;
}
.project-img img { width: 100%; height: 100%; object-fit: cover; }

.project-title {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 0 8px 10px;
}

.project-meta {
  display: flex;
  gap: 8px;
  margin: 0 8px 14px;
}
.project-meta span {
  font-size: 11px;
  font-weight: 600;
  color: var(--muted);
  background: var(--bg-soft);
  border-radius: 999px;
  padding: 5px 12px;
}

.project-link {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}

/* ---------- CTA panel ---------- */
.cta-panel {
  position: relative;
  border-radius: var(--radius-panel);
  overflow: hidden;
  min-height: 440px;
  display: flex;
  align-items: flex-end;
}
.cta-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.cta-overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(15,15,20,0.15) 0%, rgba(10,10,14,0.82) 85%);
}

.cta-content {
  position: relative;
  z-index: 2;
  padding: 48px;
  color: var(--white);
  max-width: 560px;
}
.cta-content h2 {
  font-size: clamp(24px, 3.4vw, 34px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin: 0 0 16px 0;
}
.cta-content p {
  font-size: 15px;
  color: rgba(255,255,255,0.78);
  margin: 0 0 28px 0;
  max-width: 420px;
}

/* ---------- Footer ---------- */
.footer { padding: 32px 0; border-top: 1px solid var(--border); }
.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
  text-align: center;
}
@media (min-width: 700px) {
  .footer-inner { flex-direction: row; justify-content: space-between; text-align: left; }
}
.footer-logo { height: 34px; width: auto; display: block; }
.footer-copy { font-size: 13px; color: var(--muted); }

/* ---------- Active nav link ---------- */
.nav-links a.active { color: var(--ink); }

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(180deg, rgba(8, 8, 11, 0.08) 0%, rgba(8, 8, 11, 0.14) 55%, rgba(8, 8, 11, 0.58) 100%);
}

/* ---------- Curated perspectives strip ---------- */
.curated-strip {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 8px;
}
@media (min-width: 700px) {
  .curated-strip { grid-template-columns: repeat(3, 1fr); }
}
.curated-item {
  border-radius: var(--radius-card);
  overflow: hidden;
  aspect-ratio: 4 / 3.2;
}
.curated-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.curated-item:hover img { transform: scale(1.04); }

/* ---------- Framing / numbered services ---------- */
.framing-list { display: flex; flex-direction: column; }
.framing-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  padding: 36px 0;
  border-top: 1px solid var(--border);
}
.framing-row:last-child { border-bottom: 1px solid var(--border); }
@media (min-width: 760px) {
  .framing-row { grid-template-columns: 90px 1fr 280px; align-items: center; gap: 32px; }
}
.framing-num {
  font-size: 14px;
  font-weight: 700;
  color: var(--faint);
  letter-spacing: 0.02em;
}
.framing-text h3 {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 0 0 10px 0;
}
.framing-text p {
  font-size: 14.5px;
  color: var(--muted);
  line-height: 1.6;
  margin: 0;
  max-width: 480px;
}
.framing-img {
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 16 / 10;
}
.framing-img img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Page intro (About / Contact / Portfolio) ---------- */
.page-hero {
  padding: 160px 0 60px;
}
.page-hero-title {
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin: 0 0 16px 0;
}
.page-hero-sub {
  font-size: 16px;
  color: var(--muted);
  max-width: 520px;
  margin: 0;
  line-height: 1.6;
}

/* ---------- Contact page ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
}
@media (min-width: 820px) {
  .contact-grid { grid-template-columns: 1.15fr 0.85fr; }
}
.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.contact-form .field-full { grid-column: 1 / -1; }
.contact-form label {
  display: block;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 13px 16px;
  font-family: var(--font);
  font-size: 14.5px;
  color: var(--ink);
  background: var(--white);
  transition: border-color 0.2s ease;
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--ink);
}
.contact-form textarea { resize: vertical; min-height: 120px; }
.contact-form button {
  grid-column: 1 / -1;
  justify-self: start;
  border: none;
  cursor: pointer;
  margin-top: 4px;
}
.contact-form-note {
  grid-column: 1 / -1;
  font-size: 13px;
  color: var(--faint);
  margin: -6px 0 0 0;
}

.contact-info { display: flex; flex-direction: column; gap: 28px; }
.contact-info-block h3 {
  font-size: 12.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--faint);
  margin: 0 0 8px 0;
}
.contact-info-block p, .contact-info-block a {
  font-size: 16px;
  font-weight: 600;
  margin: 0;
  color: var(--ink);
}
.contact-social { display: flex; gap: 10px; margin-top: 6px; }

/* ---------- Mobile nav ---------- */
@media (max-width: 820px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    right: 32px;
    margin-top: 12px;
    flex-direction: column;
    gap: 0;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    min-width: 160px;
  }
  .nav-links.open { display: flex; }
  .nav-links a {
    padding: 14px 20px;
    border-bottom: 1px solid var(--border);
    color: var(--ink);
  }
  .nav-links a:last-child { border-bottom: none; }
  .nav-toggle { display: flex; }
  .btn-pill-sm { display: none; }
}

/* ================================================================
   Portfolio — fullscreen browsable gallery (same browsing feel as
   the hero: one visual at a time, scroll-snapped, dot navigation)
   ================================================================ */
.portfolio-filters {
  position: fixed;
  top: 96px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 90;
  display: flex;
  gap: 8px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 6px;
}
.portfolio-filter {
  border: none;
  background: transparent;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease;
}
.portfolio-filter:hover { color: var(--ink); }
.portfolio-filter.active { background: var(--ink); color: var(--white); }

.portfolio-stack { position: relative; scroll-snap-type: y proximity; }
.portfolio-slide {
  position: relative;
  height: 100vh;
  overflow: hidden;
  isolation: isolate;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}
.portfolio-slide.is-hidden { display: none; }
.portfolio-slide-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.portfolio-slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10,10,14,0.05) 0%, rgba(10,10,14,0.1) 55%, rgba(10,10,14,0.72) 100%);
}
.portfolio-slide-info {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 0 32px 56px;
  color: var(--white);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  max-width: var(--page-max-width);
  margin: 0 auto;
}
.portfolio-slide-cat {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: rgba(255,255,255,0.7);
  margin-bottom: 10px;
}
.portfolio-slide-title {
  font-size: clamp(24px, 3.4vw, 38px);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0;
}
.portfolio-slide-count {
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,0.7);
  white-space: nowrap;
  padding-bottom: 6px;
}

.portfolio-nav-arrows {
  position: fixed;
  right: 22px;
  bottom: 32px;
  z-index: 90;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.portfolio-nav-arrows .icon-btn {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(10px);
}
.portfolio-nav-arrows .icon-btn:disabled {
  opacity: 0.35;
  cursor: default;
  pointer-events: none;
}

@media (max-width: 820px) {
  .portfolio-filters { top: auto; bottom: 24px; }
  .portfolio-nav-arrows { display: none; }
  .portfolio-slide-info { padding: 0 20px 40px; flex-direction: column; align-items: flex-start; gap: 8px; }
}
