/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #F5F3EE;
  --ink: #111111;
  --ink-soft: #4a4a46;
  --accent: #D7FF3F;
  --accent-2: #FF4405;
  --accent-3: #4B3BFF;
  --line: rgba(17,17,17,0.12);
  --wrap: 1180px;
  --font-display: 'Space Grotesk', 'Inter', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
}

html {
  scroll-behavior: smooth;
}

html:has(body.home) {
  scroll-snap-type: y proximity;
}

/* Home page scroll-snap points only */
body.home .hero,
body.home .work,
body.home .work-grid > .work-card:nth-child(2),
body.home .process,
body.home .about {
  scroll-snap-align: start;
  scroll-margin-top: 76px;
}
body.home .site-footer {
  scroll-snap-align: end;
}

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; background: none; border: none; cursor: pointer; color: inherit; }

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

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.05;
}

em { font-style: normal; color: var(--accent-2); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 15px 28px;
  border-radius: 100px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  border: 2px solid var(--ink);
  transition: transform .25s ease, background .25s ease, color .25s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--ink);
  color: var(--bg);
}
.btn-primary:hover {
  background: var(--accent);
  color: var(--ink);
  border-color: var(--ink);
  transform: translateY(-2px);
}
.btn-outline {
  background: transparent;
  color: var(--ink);
}
.btn-outline:hover {
  background: var(--ink);
  color: var(--bg);
  transform: translateY(-2px);
}
.btn-small { padding: 10px 20px; font-size: 14px; }
.btn-large { padding: 20px 36px; font-size: 18px; }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(245,243,238,0.85);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  transition: opacity .2s ease;
}
.logo:hover { opacity: .6; }
.logo .dot { color: var(--accent-2); }
.main-nav {
  display: flex;
  gap: 36px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 15px;
}
.main-nav a { position: relative; padding: 4px 0; }
.main-nav a::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 2px;
  background: var(--accent-2);
  transition: width .25s ease;
}
.main-nav a:hover::after { width: 100%; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 32px;
  height: 24px;
  justify-content: center;
}
.nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--ink);
  transition: transform .25s ease, opacity .25s ease;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Scroll rail ---------- */
.scroll-rail {
  position: fixed;
  right: 36px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 90;
  display: flex;
  align-items: center;
  gap: 18px;
}
.scroll-rail-track {
  position: relative;
  width: 2px;
  height: 160px;
  background: var(--line);
  border-radius: 2px;
}
.scroll-rail-dot {
  position: absolute;
  left: 50%;
  top: 0;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--accent-2);
  transform: translate(-50%, -50%);
  transition: top .15s linear;
}
.scroll-rail-list {
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.scroll-rail-list a {
  display: flex;
  align-items: center;
  gap: 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--ink);
  transition: color .3s ease;
}
.scroll-rail-list .rail-line {
  width: 0;
  height: 1px;
  background: currentColor;
  margin-right: 0;
  transition: width .3s ease, margin-right .3s ease;
}
.scroll-rail-list .rail-label {
  padding: 3px 0;
  transition: background .3s ease, color .3s ease, padding .3s ease;
}
.scroll-rail-list a.passed {
  color: var(--ink-soft);
}
.scroll-rail-list a.active {
  color: var(--ink);
}
.scroll-rail-list a.active .rail-line {
  width: 20px;
  margin-right: 10px;
}
.scroll-rail-list a.active .rail-label {
  background: var(--accent);
  padding: 3px 8px;
}

@media (max-width: 1100px) {
  .scroll-rail { display: none; }
}

/* ---------- Hero ---------- */
.hero {
  padding: 168px 32px 64px;
}
.eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-soft);
  margin-bottom: 24px;
  padding: 6px 14px;
  border: 1px solid var(--line);
  border-radius: 100px;
}
.hero-title {
  font-size: clamp(2.6rem, 7vw, 6rem);
  margin-bottom: 40px;
}
.hero-title span { display: block; }
.hero-foot {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
  flex-wrap: wrap;
  border-top: 1px solid var(--line);
  padding-top: 32px;
}
.hero-sub {
  max-width: 460px;
  font-size: 18px;
  color: var(--ink-soft);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  flex-shrink: 0;
}

/* reveal-on-load animation */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  animation: reveal .7s cubic-bezier(.2,.7,.2,1) forwards;
}
.hero-title .reveal:nth-child(1) { animation-delay: .05s; }
.hero-title .reveal:nth-child(2) { animation-delay: .15s; }
.hero-title .reveal:nth-child(3) { animation-delay: .25s; }
.hero-foot.reveal { animation-delay: .35s; }
@keyframes reveal {
  to { opacity: 1; transform: translateY(0); }
}

/* ---------- Section head ---------- */
.section-head {
  max-width: 560px;
  margin-bottom: 56px;
}
.section-head h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 16px;
}
.section-head p { color: var(--ink-soft); font-size: 17px; }
.section-head.light h2, .section-head.light p { color: var(--bg); }
.section-head.light p { opacity: .75; }

/* ---------- Work ---------- */
.work { padding: 120px 32px; }
.work-grid {
  display: grid;
  gap: 28px;
}
.work-card {
  border: 2px solid var(--ink);
  border-radius: 24px;
  overflow: hidden;
  background: var(--bg);
  transition: transform .3s ease, box-shadow .3s ease;
}
.work-card:hover {
  transform: translate(-4px, -4px);
  box-shadow: 8px 8px 0 var(--ink);
}
.work-card-link { display: grid; grid-template-columns: 1fr 1.2fr; min-height: 260px; }
.work-thumb { position: relative; background: var(--card-color); overflow: hidden; }
.thumb-pattern {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  padding: 20px;
}
.thumb-pattern span {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 72px;
  color: rgba(0,0,0,0.18);
}
.thumb-1, .thumb-2, .thumb-3 { color: var(--ink); }
.thumb-4 span { color: rgba(255,255,255,0.18); }
.thumb-pattern::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(135deg, rgba(0,0,0,0.06) 0 2px, transparent 2px 22px);
}
.work-card:hover .thumb-pattern span { transform: scale(1.05); }
.thumb-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top left;
  display: block;
  transition: transform .4s ease;
}
.work-card:hover .thumb-image { transform: scale(1.04); }
.thumb-badge {
  position: absolute;
  bottom: 16px;
  left: 16px;
  background: var(--ink);
  color: var(--bg);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  padding: 6px 16px;
  border-radius: 100px;
}
.work-meta { padding: 32px; display: flex; flex-direction: column; justify-content: center; gap: 12px; }
.work-meta-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.work-meta-top h3 { font-size: 22px; }
.arrow {
  font-size: 22px;
  transition: transform .3s ease;
  flex-shrink: 0;
}
.work-card:hover .arrow { transform: translate(4px, -4px); }
.work-desc { color: var(--ink-soft); font-size: 15px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.tags li {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 5px 12px;
  border: 1px solid var(--line);
  border-radius: 100px;
  color: var(--ink-soft);
}

/* ---------- Process ---------- */
.process {
  background: var(--ink);
  color: var(--bg);
  padding: 120px 0;
}
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.process-step {
  border-top: 2px solid rgba(255,255,255,0.25);
  padding-top: 24px;
}
.step-num {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  color: var(--accent);
  margin-bottom: 20px;
}
.process-step h3 { font-size: 22px; margin-bottom: 12px; }
.process-step p { color: rgba(245,243,238,0.7); font-size: 15px; }

/* ---------- About ---------- */
.about {
  padding: 120px 32px;
  display: grid;
  grid-template-columns: 0.9fr 1.3fr;
  gap: 72px;
  align-items: start;
}
.photo-block {
  aspect-ratio: 4/5;
  border-radius: 24px;
  border: 2px solid var(--ink);
  background:
    radial-gradient(circle at 30% 20%, var(--accent) 0, transparent 55%),
    radial-gradient(circle at 80% 80%, var(--accent-2) 0, transparent 50%),
    linear-gradient(160deg, #1c1c1c, #111111);
  position: sticky;
  top: 110px;
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover !important;
  object-position: center 20%;
}
.about-copy .eyebrow { margin-bottom: 20px; }
.about-copy h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); margin-bottom: 24px; }
.about-copy p { color: var(--ink-soft); font-size: 17px; max-width: 620px; margin-bottom: 16px; }
.skills {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  border-top: 1px solid var(--line);
  padding-top: 32px;
}
.skill-group h4 {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-soft);
  margin-bottom: 14px;
}
.skill-group ul li {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  padding: 6px 0;
  border-bottom: 1px solid var(--line);
}
.credentials {
  margin-top: 32px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  border-top: 1px solid var(--line);
  padding-top: 32px;
}
.credential-item h4 {
  font-family: var(--font-display);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-soft);
  margin-bottom: 10px;
}
.credential-item p {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  color: var(--ink);
  margin-bottom: 0;
}
.credential-item p span {
  display: block;
  font-weight: 500;
  font-size: 13px;
  color: var(--ink-soft);
  margin-top: 4px;
}

/* ---------- Testimonial ---------- */
.testimonial {
  background: var(--accent);
  padding: 100px 32px;
  text-align: center;
}
.quote {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3vw, 2.2rem);
  max-width: 800px;
  margin: 0 auto 24px;
  line-height: 1.3;
}
.cite { font-weight: 600; font-family: var(--font-display); }

/* ---------- Contact ---------- */
.contact {
  padding: 140px 32px;
  text-align: center;
}
.contact .eyebrow { margin-bottom: 24px; }
.contact-title {
  font-size: clamp(2.2rem, 6vw, 4.5rem);
  margin-bottom: 48px;
}
.contact-actions { margin-bottom: 40px; }
.contact-links {
  display: flex;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
  font-family: var(--font-display);
  font-weight: 600;
}
.contact-links a { border-bottom: 2px solid transparent; padding-bottom: 2px; transition: border-color .2s ease; }
.contact-links a:hover { border-color: var(--accent-2); }

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 28px 0;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  color: var(--ink-soft);
}
.to-top { font-weight: 600; color: var(--ink); }
.to-top:hover { color: var(--accent-2); }

/* ---------- Cursor dot (desktop only) ---------- */
.cursor-dot {
  position: fixed;
  width: 14px;
  height: 14px;
  background: var(--accent-2);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: transform .15s ease, opacity .2s ease;
  opacity: 0;
  mix-blend-mode: multiply;
}

/* ---------- Scroll reveal (sections) ---------- */
.animate-in {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1);
}
.animate-in.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Case study ---------- */
.cs-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14px;
  color: rgba(245,243,238,0.7);
  margin-bottom: 40px;
  transition: color .2s ease;
}
.cs-back:hover { color: var(--bg); }

.cs-hero {
  background:
    radial-gradient(circle at 15% 15%, rgba(215,255,63,0.18) 0, transparent 45%),
    radial-gradient(circle at 90% 30%, rgba(255,68,5,0.16) 0, transparent 45%),
    linear-gradient(180deg, #14140f, #0b0b0c);
  color: var(--bg);
  padding: 168px 32px 100px;
  overflow: hidden;
}
.cs-hero-inner { max-width: 760px; margin-bottom: 64px; }
.cs-hero .eyebrow { color: rgba(245,243,238,0.8); border-color: rgba(245,243,238,0.25); }
.cs-hero-title {
  font-size: clamp(2.4rem, 6vw, 4.6rem);
  margin-bottom: 20px;
}
.cs-hero-sub {
  font-size: 19px;
  color: rgba(245,243,238,0.7);
  max-width: 620px;
}
.cs-hero-visual {
  max-width: var(--wrap);
  margin: 0 auto;
  border-radius: 20px;
  overflow: hidden;
  border: 2px solid rgba(245,243,238,0.15);
  box-shadow: 0 40px 80px -20px rgba(0,0,0,0.5);
}
.cs-hero-visual img { width: 100%; display: block; }

.cs-meta {
  padding: 56px 32px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  border-bottom: 1px solid var(--line);
}
.cs-meta-item h4 {
  font-family: var(--font-display);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-soft);
  margin-bottom: 10px;
}
.cs-meta-item p {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 19px;
}
.cs-meta-item p span {
  display: block;
  font-weight: 500;
  font-size: 15px;
  color: var(--ink-soft);
  margin-top: 4px;
}

.cs-section { padding: 100px 32px; }
.cs-section .eyebrow { margin-bottom: 24px; }
.cs-question {
  font-size: clamp(1.8rem, 4vw, 3rem);
  max-width: 780px;
  margin-bottom: 28px;
}
.cs-question em { color: var(--accent-2); }
.cs-body {
  font-size: 18px;
  color: var(--ink-soft);
  max-width: 680px;
  margin-bottom: 16px;
}
.cs-section > h2 {
  font-size: clamp(1.8rem, 3.6vw, 2.6rem);
  max-width: 680px;
  margin-bottom: 20px;
}

.cs-feature {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 56px;
  align-items: center;
  margin-top: 80px;
}
.cs-feature.reverse .cs-feature-copy { order: 2; }
.cs-feature.reverse .cs-shot { order: 1; }
.cs-feature-copy h3 { font-size: 24px; margin-bottom: 14px; }
.cs-feature-copy p { color: var(--ink-soft); font-size: 16px; }
.cs-shot {
  width: 100%;
  border-radius: 16px;
  border: 2px solid var(--ink);
  box-shadow: 8px 8px 0 var(--line);
  display: block;
  cursor: zoom-in;
}
.cs-shot-sm {
  width: 75%;
  margin: 0 auto;
}

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(17,17,17,0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 56px;
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s ease;
}
.lightbox.open {
  opacity: 1;
  pointer-events: auto;
}
.lightbox-img,
.lightbox-video {
  max-width: 100%;
  max-height: 100%;
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
  cursor: zoom-out;
  transform: scale(0.96);
  transition: transform .3s ease;
  display: block;
}
.lightbox.open .lightbox-img,
.lightbox.open .lightbox-video {
  transform: scale(1);
}
.lightbox-close {
  position: absolute;
  top: 24px;
  right: 32px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(245,243,238,0.12);
  color: var(--bg);
  font-size: 26px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s ease;
}
.lightbox-close:hover { background: rgba(245,243,238,0.22); }

@media (max-width: 720px) {
  .lightbox { padding: 24px; }
  .lightbox-close { top: 16px; right: 16px; }
}
.cs-impact {
  background: var(--ink);
  color: var(--bg);
  padding: 120px 32px;
  text-align: center;
}
.cs-impact .eyebrow.light { color: rgba(245,243,238,0.7); border-color: rgba(245,243,238,0.25); }
.cs-impact-quote {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3.4vw, 2.4rem);
  max-width: 860px;
  margin: 0 auto 56px;
  line-height: 1.35;
}
.cs-impact-stats { display: flex; justify-content: center; gap: 56px; flex-wrap: wrap; }
.cs-impact-stat { display: inline-flex; flex-direction: column; gap: 6px; }
.cs-impact-number {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2rem, 5vw, 3.4rem);
  color: var(--accent);
}
.cs-impact-label {
  font-size: 15px;
  color: rgba(245,243,238,0.7);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.cs-process-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: start;
  margin-top: 48px;
}
.cs-process-list {
  display: flex;
  flex-direction: column;
}
.cs-process-item {
  position: relative;
  display: flex;
  gap: 28px;
  padding: 32px 0;
  border-top: 1px solid var(--line);
  cursor: default;
}
.cs-process-item:last-child { border-bottom: 1px solid var(--line); }
.cs-process-item:hover h3 { color: var(--accent-2); }
.cs-process-num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  color: var(--accent-2);
  flex-shrink: 0;
  width: 34px;
  padding-top: 2px;
}
.cs-process-item h3 { font-size: 19px; margin-bottom: 6px; transition: color .2s ease; }
.cs-process-item p { color: var(--ink-soft); font-size: 15px; max-width: 560px; }

.process-hover-image {
  position: absolute;
  top: 50%;
  left: 100%;
  margin-left: 40px;
  width: 460px;
  aspect-ratio: 7 / 4;
  object-fit: cover;
  border-radius: 16px;
  border: 2px solid var(--ink);
  box-shadow: 8px 8px 0 var(--line);
  opacity: 0;
  transform: translateY(-50%) scale(0.8);
  transition: opacity .3s ease, transform .3s ease;
  pointer-events: none;
  z-index: 5;
}
.cs-process-item:hover .process-hover-image {
  opacity: 1;
  transform: translateY(-50%) scale(1);
}

.cs-next {
  padding: 100px 32px;
  text-align: center;
}

.cs-personas {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.cs-persona-card {
  border: 2px solid var(--ink);
  border-radius: 16px;
  padding: 24px;
}
.cs-persona-card h4 { font-size: 18px; margin-bottom: 6px; }
.cs-persona-card p { color: var(--ink-soft); font-size: 14px; }

/* ---------- Failure resume ---------- */
.fr-section + .fr-section { border-top: 1px solid var(--line); }
.fr-dot {
  display: inline-block;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  margin-right: 8px;
  vertical-align: middle;
  position: relative;
  top: -1px;
}
.fr-blurb {
  color: var(--ink-soft);
  font-size: 17px;
  max-width: 680px;
}
.fr-blurb.fr-placeholder {
  font-style: italic;
  color: rgba(74,74,70,0.55);
  border-left: 2px solid var(--line);
  padding-left: 16px;
}
.fr-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}
.fr-photo {
  aspect-ratio: 3/2;
  border-radius: 12px;
  border: 2px dashed var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-soft);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 13px;
  text-align: center;
  background: repeating-linear-gradient(135deg, rgba(17,17,17,0.03) 0 2px, transparent 2px 18px);
}
.fr-photo:has(img) {
  border: 2px solid var(--ink);
  background: none;
  overflow: hidden;
  padding: 0;
}
.fr-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
  display: block;
  cursor: zoom-in;
}
.fr-grid-top .fr-photo img {
  object-position: top;
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .work-card-link { grid-template-columns: 1fr; }
  .work-thumb { min-height: 180px; }
  .about { grid-template-columns: 1fr; }
  .photo-block { position: static; max-width: 320px; }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .cs-meta { grid-template-columns: 1fr; gap: 28px; }
  .cs-feature, .cs-feature.reverse { grid-template-columns: 1fr; }
  .cs-feature.reverse .cs-feature-copy { order: 1; }
  .cs-feature.reverse .cs-shot { order: 2; }
  .cs-process-grid { grid-template-columns: 1fr; }
  .process-hover-image { display: none; }
  .cs-personas { grid-template-columns: 1fr 1fr; }
  .fr-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 720px) {
  .hide-mobile { display: none; }
  .main-nav { display: none; }
  .nav-toggle { display: flex; }
  .site-header.open .main-nav {
    display: flex;
    position: absolute;
    top: 76px;
    left: 0; right: 0;
    background: var(--bg);
    flex-direction: column;
    gap: 0;
    border-bottom: 1px solid var(--line);
  }
  .site-header.open .main-nav a {
    padding: 18px 32px;
    border-top: 1px solid var(--line);
  }
  .hero { padding-top: 140px; }
  .hero-foot { flex-direction: column; align-items: flex-start; }
  .skills { grid-template-columns: 1fr 1fr; }
  .credentials { grid-template-columns: 1fr 1fr; }
  .process-grid { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; gap: 12px; text-align: center; }
  .cs-hero { padding-top: 140px; }
  .fr-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .reveal, .animate-in { animation: none !important; transition: none !important; opacity: 1 !important; transform: none !important; }
  html { scroll-behavior: auto; scroll-snap-type: none; }
}
