/* ── FONTS ── */
@font-face {
  font-family: 'Gambarino';
  src: url('Gambarino-Regular.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Switzer';
  src: url('Switzer-Variable.ttf') format('truetype');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

/* ── RESET & BASE ── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

figure { margin: 0; }

:root {
  --bg:        #FFFFFF;
  --bg-alt:    #F5F5F3;
  --text:      #0A0A0A;
  --muted:     #737373;
  --border:    rgba(0, 0, 0, 0.08);
  --accent:    #5B4CF5;
  --grad-text: linear-gradient(135deg, #6366F1 0%, #A855F7 50%, #EC4899 100%);
  --nav-h:     76px;
  --f-sans:    'Inter', system-ui, -apple-system, sans-serif;
  --ease-out:  cubic-bezier(0.16, 1, 0.3, 1);
}

html { scroll-behavior: smooth; }

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

a { color: inherit; text-decoration: none; }

.gradient-text {
  background: var(--grad-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.accent-text {
  color: var(--accent);
}

/* ──────────────────────────────────────────────
   MAIN LAYOUT
────────────────────────────────────────────── */
.main-layout {
  padding-top: var(--nav-h);
  min-height: 100vh;
}

.col-left {
  width: 100%;
}

/* ──────────────────────────────────────────────
   CANVAS BACKGROUNDS
────────────────────────────────────────────── */
#gradient-canvas,
#grain-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

#gradient-canvas { z-index: -2; display: none; }
#grain-canvas    { z-index: -1; display: none; }

/* ──────────────────────────────────────────────
   NAV — floating glass pill
────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  white-space: nowrap;
}

.nav-inner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  padding: 6px;
  background: rgba(255, 255, 255, 0.30);
  backdrop-filter: blur(40px) saturate(200%);
  -webkit-backdrop-filter: blur(40px) saturate(200%);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 22px;
  box-shadow:
    0 12px 40px rgba(0, 0, 0, 0.12),
    0 2px 10px rgba(0, 0, 0, 0.05),
    inset 0 1px 0 rgba(255, 255, 255, 0.85),
    inset 0 -1px 0 rgba(255, 255, 255, 0.25);
  transition: border-radius 0.3s ease;
}

.nav:hover .nav-inner { border-radius: 22px; }

.nav-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--f-sans);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: -0.03em;
  color: var(--text);
  cursor: pointer;
  padding: 8px 18px;
  border-radius: 16px;
  white-space: nowrap;
  transition: background 0.18s ease;
}

.nav:hover .nav-toggle { background: rgba(0, 0, 0, 0.04); }

.nav-chevron {
  width: 6px;
  height: 6px;
  border-right: 1.6px solid var(--text);
  border-bottom: 1.6px solid var(--text);
  transform: rotate(45deg);
  margin-top: -3px;
  transition: transform 0.3s var(--ease-out), margin-top 0.3s var(--ease-out);
}

.nav:hover .nav-chevron {
  transform: rotate(-135deg);
  margin-top: 2px;
}

.nav-links {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 1px;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.35s var(--ease-out), opacity 0.28s ease,
              margin-top 0.35s var(--ease-out);
  pointer-events: none;
}

.nav:hover .nav-links {
  max-height: 200px;
  opacity: 1;
  margin-top: 4px;
  pointer-events: auto;
}

.nav-links a {
  display: block;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text);
  opacity: 0.65;
  text-align: center;
  padding: 10px 24px;
  border-radius: 14px;
  white-space: nowrap;
  transition: opacity 0.18s ease, background 0.18s ease;
}

.nav-links a:hover {
  opacity: 1;
  background: rgba(0, 0, 0, 0.05);
}

/* ──────────────────────────────────────────────
   HERO
────────────────────────────────────────────── */
.hero {
  position: relative;
  width: 100vw;
  height: 100vh;
  margin-top: calc(-1 * var(--nav-h));
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px;
  background: transparent;
}

.hero-pixelblast {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  display: block;
  pointer-events: none;
}

.hero-center {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 1100px;
  width: 100%;
}

.hero-photo-zone {
  display: inline-flex;
  padding: 60px;
  margin: -36px 0;
  cursor: pointer;
}

.hero-photo {
  width: 108px;
  height: 108px;
  object-fit: cover;
  display: block;
}

.hero-timer,
.hero-date {
  position: absolute;
  top: 32px;
  font-size: 13px;
  color: #666666;
  font-family: var(--f-sans);
  letter-spacing: 0.04em;
  z-index: 1;
}

.hero-timer { left: 40px; }
.hero-date  { right: 40px; }

.hero-heading {
  /* trying Manrope here: revert to var(--f-sans) if it does not stick */
  font-family: 'Manrope', var(--f-sans);
  font-size: clamp(30px, 4vw, 54px);
  font-weight: 700;
  color: #0f0f0f;
  line-height: 1.05;
  letter-spacing: -0.04em;
  white-space: nowrap;
}

/* ── HERO NODE GRAPH ── */
.node-graph {
  width: 100%;
  height: 100%;
  min-height: 500px;
}

.node-graph svg {
  width: 100%;
  height: 100%;
  display: block;
  overflow: visible;
}

.ng-line {
  stroke: #DDDDDD;
  stroke-width: 0.8;
  transition: opacity 0.2s ease, stroke 0.2s ease;
}

.ng-node { transition: opacity 0.2s ease; cursor: grab; touch-action: none; }

.ng-shape {
  fill: none;
  stroke: #AAAAAA;
  stroke-width: 1.5;
  transform-box: fill-box;
  transform-origin: center;
  transition: stroke 0.2s ease, transform 0.2s ease;
}

.ng-label {
  font-family: var(--f-sans);
  font-size: 11px;
  fill: #999999;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  text-anchor: middle;
  transition: fill 0.2s ease;
}

.ng-sub {
  font-family: var(--f-sans);
  font-size: 10px;
  fill: #777777;
  text-anchor: middle;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.ng-hoverimg {
  opacity: 0;
  transition: opacity 0.2s ease;
  pointer-events: none;
}

.node-graph.is-hovering .ng-node:not(.is-active) { opacity: 0.15; }
.node-graph.is-hovering .ng-line:not(.is-active) { opacity: 0.1; }

.ng-node.is-active .ng-shape { stroke: #111111; transform: scale(1.3); }
.ng-node.is-active .ng-label { fill: #111111; }
.ng-node.is-active .ng-sub { opacity: 1; }
.ng-node.is-active .ng-hoverimg { opacity: 1; }
.ng-line.is-active { opacity: 1 !important; stroke: #999999; }

.ng-vinyl-spin {
  transform-origin: 250px 250px;
  animation: vinyl-spin 4s linear infinite;
}
.node-graph.center-hover .ng-vinyl-spin { animation-play-state: paused; }
@keyframes vinyl-spin { to { transform: rotate(360deg); } }

.ng-arc-label {
  font-family: var(--f-sans);
  font-size: 10px;
  fill: #999999;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.ng-profile { opacity: 0; transition: opacity 0.2s ease; pointer-events: none; }
.node-graph.center-hover .ng-profile { opacity: 1; }
.node-graph.center-hover .ng-node { opacity: 0.15; }
.ng-center { cursor: pointer; }

.hero-para {
  font-family: 'Manrope', var(--f-sans);
  font-size: 18px;
  font-weight: 500;
  color: #1a1a1a;
  line-height: 1.35;
  letter-spacing: -0.03em;
  text-align: center;
}

.para-line1 {
  display: block;
  white-space: nowrap;
}


.hero-logos {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-shrink: 0;
}

.hero-col-right .hero-logos {
  justify-content: flex-start;
  margin-top: 28px;
}

.hero-logo {
  height: 20px;
  width: auto;
  display: block;
}

.hero-logo--upstox     { height: 26px; transform: translateY(3px); }
.hero-logo--outcomesai { height: 34px; }
.hero-logo--briskpe    { height: 15px; }

/* ──────────────────────────────────────────────
   SECTION LABEL
────────────────────────────────────────────── */
.section-label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--f-sans);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 20px;
}

.label-hint {
  font-weight: 400;
  letter-spacing: 0.04em;
  text-transform: none;
  opacity: 0.65;
}

/* ──────────────────────────────────────────────
   WORK
────────────────────────────────────────────── */
.work {
  padding: 100px 56px 80px;
}

.section-header {
  margin-bottom: 48px;
}

.work-list {
  display: flex;
  flex-direction: column;
}

.work-item + .work-item {
  border-top: none;
}

/* ── WORK HOVER: focus effect ── */
.work-item {
  border-radius: 10px;
  padding: 0 20px;
  margin: 0 -20px;
  transition: filter 0.3s ease, opacity 0.3s ease;
}

.work-list.is-hovering .work-item {
  filter: blur(3px);
  opacity: 0.28;
}


.work-list.is-hovering .work-item.is-active {
  filter: none;
  opacity: 1;
  background: #F2F2F0;
}

.work-item.is-active .work-title {
  color: var(--accent);
}

.work-item-inner {
  display: block;
  padding: 40px 0;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

.work-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 6px;
}

.work-title {
  font-family: var(--f-sans);
  font-size: clamp(22px, 2.2vw, 30px);
  font-weight: 700;
  letter-spacing: -0.03em;
  white-space: nowrap;
  transition: color 0.2s ease;
}

.work-item:hover .work-title {
  color: var(--accent);
}

.work-divider {
  flex: 1;
  height: 1px;
  background: var(--border);
}

.work-year {
  font-family: var(--f-sans);
  font-size: 13px;
  letter-spacing: 0.06em;
  color: var(--muted);
  white-space: nowrap;
}

.work-desc {
  font-family: var(--f-sans);
  font-size: 15px;
  color: var(--muted);
  line-height: 1.7;
  max-width: 480px;
}

/* ──────────────────────────────────────────────
   ABOUT
────────────────────────────────────────────── */
.about {
  background: var(--bg-alt);
  padding: 120px 56px;
}

.about-inner {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.about-title {
  font-family: 'Gambarino', serif;
  font-size: clamp(32px, 3.2vw, 48px);
  font-weight: normal;
  letter-spacing: -0.01em;
  line-height: 1.1;
  margin-top: 2px;
}

.about-right p {
  font-family: var(--f-sans);
  font-size: 15px;
  line-height: 1.85;
  color: var(--muted);
  margin-bottom: 18px;
}

.availability {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  margin-top: 12px;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22C55E;
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.18);
  flex-shrink: 0;
  animation: pulse-dot 2.4s ease infinite;
}

@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.18); }
  50%       { box-shadow: 0 0 0 7px rgba(34, 197, 94, 0.06); }
}

/* ──────────────────────────────────────────────
   CONTACT
────────────────────────────────────────────── */
.contact {
  padding: 120px 56px 100px;
}

.contact-inner { max-width: 580px; }

.contact-title {
  font-family: 'Gambarino', serif;
  font-size: clamp(26px, 2.8vw, 40px);
  font-weight: normal;
  letter-spacing: -0.01em;
  line-height: 1.25;
  margin-bottom: 44px;
}

.contact-email {
  font-size: clamp(16px, 1.8vw, 26px);
  font-weight: 700;
  letter-spacing: -0.02em;
  display: inline-block;
  transition: opacity 0.2s ease;
}

.contact-email:hover { opacity: 0.72; }

/* ──────────────────────────────────────────────
   FOOTER
────────────────────────────────────────────── */
.footer {
  border-top: 1px solid var(--border);
  padding: 32px 56px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-note,
.footer-copy {
  font-size: 12px;
  color: var(--muted);
  font-weight: 300;
}

/* ──────────────────────────────────────────────
   SCROLL ANIMATIONS
────────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ──────────────────────────────────────────────
   MOBILE
────────────────────────────────────────────── */
@media (max-width: 768px) {
  .main-layout {
    flex-direction: column;
  }

  .col-left {
    flex: none;
    width: 100%;
  }

  .col-right {
    display: none;
  }

  .work,
  .about,
  .contact,
  .footer {
    padding-left: 24px;
    padding-right: 24px;
  }

  .hero {
    padding: 24px;
    height: auto;
    min-height: 100vh;
    align-items: flex-start;
    padding-top: 80px;
  }

  .hero-cols {
    flex-direction: column;
    gap: 40px;
  }

  .hero-col-left,
  .hero-col-right {
    flex: none;
    max-width: 100%;
    width: 100%;
  }

  .hero-col-right {
    align-items: flex-start;
  }

  .hero-para {
    text-align: left;
    font-size: 18px;
  }

  .hero-col-right .hero-logos {
    justify-content: flex-start;
  }

  .work-title {
    font-size: 20px;
  }

  .about-inner {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .footer {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }
}

/* ──────────────────────────────────────────────
   PROFILE OVERLAY  (1512×982 design, scaled to fit)
────────────────────────────────────────────── */
.hero-photo { cursor: pointer; }

.pf-overlay {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: rgba(72, 0, 20, 0.95);
  backdrop-filter: blur(8px) saturate(115%);
  -webkit-backdrop-filter: blur(8px) saturate(115%);
  opacity: 0;
  visibility: hidden;
  pointer-events: none; /* purely a hover preview; never intercepts the cursor */
  transition: opacity 0.4s ease, visibility 0.4s ease;
}
.pf-overlay.is-open { opacity: 1; visibility: visible; }

/* Fixed design canvas, centred and uniformly scaled */
.pf-canvas {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 1512px;
  height: 982px;
  /* Closed: shrunk to roughly the hero-photo size, so opening feels like
     the small photo expanding into the full composition */
  transform: translate(-50%, -50%) scale(calc(var(--pf-scale, 1) * 0.34));
  transform-origin: center center;
  font-family: var(--f-sans);
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}
.pf-overlay.is-open .pf-canvas {
  transform: translate(-50%, -50%) scale(var(--pf-scale, 1));
}
/* The pills / lines / logos fade in a touch after the photo has grown */
.pf-canvas > *:not(.pf-photo) {
  opacity: 0;
  transition: opacity 0.45s ease;
}
.pf-overlay.is-open .pf-canvas > *:not(.pf-photo) {
  opacity: 1;
  transition-delay: 0.18s;
}

.pf-wash { display: none; }

.pf-lines {
  position: absolute;
  inset: 0;
  width: 1512px;
  height: 982px;
  pointer-events: none;
  z-index: 3;
}

.pf-photo {
  position: absolute;
  object-fit: cover;
  background: #fff;
  z-index: 2;
}

.pf-facebox {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.55);
  z-index: 3;
  pointer-events: none;
}
.pf-fc {
  position: absolute;
  width: 15px;
  height: 15px;
}
.pf-fc.tl { top: -1px; left: -1px; border-top: 2px solid #fff; border-left: 2px solid #fff; }
.pf-fc.tr { top: -1px; right: -1px; border-top: 2px solid #fff; border-right: 2px solid #fff; }
.pf-fc.bl { bottom: -1px; left: -1px; border-bottom: 2px solid #fff; border-left: 2px solid #fff; }
.pf-fc.br { bottom: -1px; right: -1px; border-bottom: 2px solid #fff; border-right: 2px solid #fff; }

/* Pills — white bg, red text */
.pf-pill {
  position: absolute;
  display: inline-flex;
  align-items: center;
  background: #fff;
  color: #FF002F;
  font-size: 16px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1;
  padding: 8px 14px;
  white-space: nowrap;
  z-index: 4;
}
.pf-nametag { z-index: 5; }

.pf-child {
  position: absolute;
  background: #cfcfcf;
  border: 1px solid #fff;
  z-index: 2;
}

/* Previously logo badges */
.pf-badge {
  position: absolute;
  width: 131px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  z-index: 4;
}
.pf-badge img { display: block; max-height: 20px; max-width: 103px; width: auto; }

/* My Stack tool tiles */
.pf-tool {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border-radius: 14px;
  padding: 12px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.22);
  z-index: 4;
}
.pf-tool svg { display: block; width: 100%; height: 100%; }

.pf-tool-img {
  position: absolute;
  object-fit: contain;
  transform-origin: center center;
  transform: rotate(var(--rot, 0deg));
  z-index: 4;
}
.pf-tool-img:hover { animation: pf-jitter 0.5s ease-in-out infinite; }

@keyframes pf-jitter {
  0%   { transform: rotate(var(--rot)) translate(0, 0); }
  20%  { transform: rotate(calc(var(--rot) - 2deg)) translate(-1.5px, 1px); }
  40%  { transform: rotate(calc(var(--rot) + 2deg)) translate(1.5px, -1px); }
  60%  { transform: rotate(calc(var(--rot) - 1.5deg)) translate(-1px, -1.5px); }
  80%  { transform: rotate(calc(var(--rot) + 1.5deg)) translate(1px, 1.5px); }
  100% { transform: rotate(var(--rot)) translate(0, 0); }
}

/* ──────────────────────────────────────────────
   CASE STUDIES GRID
────────────────────────────────────────────── */
.cases {
  background: #fff;
  padding: 80px 220px;
}

.cases-inner {
  max-width: 1000px;
  margin: 0 auto;
}

.cases-label {
  display: block;
  font-family: var(--f-sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 32px;
}

.cases-grid {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.cases-row {
  display: flex;
  gap: 24px;
  align-items: stretch;
}

.case-card--narrow { flex: 36 1 0; }
.case-card--wide   { flex: 64 1 0; }

.case-card {
  display: flex;
  flex-direction: column;
  background: #F0F0F0;
  border-radius: 16px;
  padding: 20px;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.25s ease;
}
.case-card:hover { transform: scale(1.01); }

.case-img {
  width: 100%;
  flex: none;
  height: 260px;
  background: #DDDDDD;
  border-radius: 12px;
  overflow: hidden;
}
.case-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.case-title {
  font-family: var(--f-sans);
  font-weight: 700;
  color: #111111;
  line-height: 1.2;
  letter-spacing: -0.02em;
  padding: 20px 0 0;
}
.case-title--sm { font-size: 32px; }
.case-title--lg { font-size: 32px; }

.case-tags {
  display: flex;
  gap: 8px;
  padding: 16px 0 0;
}

.case-pill {
  background: #E8E8E8;
  color: #555555;
  font-family: var(--f-sans);
  font-size: 13px;
  padding: 5px 14px;
  border-radius: 20px;
  white-space: nowrap;
}

/* ──────────────────────────────────────────────
   INTRO / EDITORIAL SECTION
────────────────────────────────────────────── */
.intro {
  position: relative;
  width: 100%;
  height: 78vh;
  min-height: 680px;
  overflow: hidden;
}

.intro-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #8DB5A0 url('images/covers/intro-bg.png') center/cover no-repeat;
  z-index: 1;
}

.intro-box {
  position: absolute;
  top: 14%;
  left: 28%;
  width: 44%;
  height: 72%;
  background: #5A1A2C;
  z-index: 2;
}

.intro-heading {
  position: relative;
  z-index: 3;
  width: 100%;
  box-sizing: border-box;
  padding: 130px 300px 0;
  font-family: var(--f-sans);
  font-size: 52px;
  font-weight: 800;
  color: #fff;
  line-height: 1.06;
  letter-spacing: -0.045em;
}

.intro-line {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
}

.intro-para {
  position: absolute;
  bottom: 22%;
  left: 32%;
  width: 37%;
  font-family: var(--f-sans);
  color: rgba(255, 255, 255, 0.85);
  font-size: 19px;
  line-height: 1.3;
  letter-spacing: -0.03em;
  text-align: center;
  z-index: 4;
}

/* ── HERO LOGO STRIP ── */
.hero-logos {
  position: absolute;
  bottom: 56px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  z-index: 1;
}

.hero-logo {
  height: 24px;
  width: auto;
  display: block;
}

.hero-logo--upstox   { height: 30px; }
.hero-logo--outcomes { height: 38px; }

/* ──────────────────────────────────────────────
   CASE STUDIES — V2 (large stacked story rows)
────────────────────────────────────────────── */
.casesv2 {
  background: #fff;
  padding: 80px 220px;
}

.casesv2-inner {
  max-width: 1000px;
  margin: 0 auto;
}

.casesv2 .cases-label {
  margin-bottom: 48px;
}

.casev2-item {
  display: block;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  margin-bottom: 96px;
}
.casev2-item:last-child { margin-bottom: 0; }

.casev2-img {
  width: 100%;
  aspect-ratio: 16 / 8;
  border-radius: 20px;
  overflow: hidden;
  background: #EDEDED;
}
.casev2-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s var(--ease-out);
}
.casev2-item:hover .casev2-img img { transform: scale(1.02); }

.casev2-foot {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  margin-top: 28px;
}

.casev2-text { max-width: 640px; }

.casev2-meta {
  font-family: var(--f-sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 14px;
}

.casev2-title {
  font-family: var(--f-sans);
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: #111111;
  margin-bottom: 14px;
}

.casev2-desc {
  font-family: var(--f-sans);
  font-size: 17px;
  line-height: 1.6;
  color: var(--muted);
}

.casev2-cta {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
  font-family: var(--f-sans);
  font-size: 15px;
  font-weight: 500;
  color: #111111;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 14px 10px 14px 24px;
  transition: background 0.2s ease, border-color 0.2s ease;
}
.casev2-item:hover .casev2-cta {
  background: #F5F5F5;
  border-color: rgba(0, 0, 0, 0.14);
}

.casev2-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #111111;
  color: #fff;
  font-size: 15px;
  transition: transform 0.25s var(--ease-out);
}
.casev2-item:hover .casev2-arrow { transform: translateX(3px); }

@media (max-width: 900px) {
  .casesv2 { padding: 64px 24px; }
  .casev2-foot {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
}

/* ──────────────────────────────────────────────
   ABOUT ME — V2 (polaroid + editorial column)
────────────────────────────────────────────── */
.aboutme {
  background: #fff;
  padding: 80px 220px 120px;
}

.aboutme-inner {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.6fr 1fr;
  gap: 72px;
  align-items: center;
}

.aboutme-photo {
  max-width: 320px;
}

.polaroid {
  margin: 0;
  background: #fff;
  padding: 16px 16px 56px;
  border-radius: 2px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.14), 0 2px 8px rgba(0, 0, 0, 0.06);
  transform: rotate(-3deg);
  transition: transform 0.5s var(--ease-out);
}

.aboutme-photo:hover .polaroid {
  transform: rotate(0deg);
}

.polaroid img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.aboutme-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 20px;
}

.aboutme-spark {
  color: var(--accent);
  font-size: 14px;
}

.aboutme-title {
  font-size: clamp(40px, 4.6vw, 62px);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1.02;
  color: var(--text);
  margin: 0 0 32px;
}

.aboutme-text p {
  font-size: 17px;
  line-height: 1.6;
  letter-spacing: -0.02em;
  color: #3A3A3A;
  margin: 0 0 20px;
  max-width: 52ch;
}

.aboutme-sign {
  display: inline-block;
  margin-top: 16px;
  font-size: 34px;
  font-style: italic;
  font-weight: 500;
  letter-spacing: -0.04em;
  color: var(--accent);
}

@media (max-width: 1100px) {
  .aboutme { padding: 72px 80px 100px; }
  .aboutme-inner { grid-template-columns: 1fr; gap: 48px; }
  .aboutme-photo { max-width: 380px; }
}

@media (max-width: 700px) {
  .aboutme { padding: 56px 24px 80px; }
}

/* ──────────────────────────────────────────────
   SITE FOOTER — maroon card, padding to padding
────────────────────────────────────────────── */
.site-footer {
  padding: 80px 220px 40px;
}

.site-footer-card {
  background: #480014;
  color: #ffffff;
  border-radius: 20px;
  padding: 56px 56px 40px;
}

.site-footer-title {
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.15;
  margin: 0;
}

.site-footer-sub {
  font-size: clamp(22px, 2.6vw, 32px);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1.15;
  color: rgba(255, 255, 255, 0.45);
  margin: 0 0 40px;
}

.site-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
}

.site-footer-links a {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
  transition: color 0.2s ease;
}

.site-footer-links a:hover {
  color: #ffffff;
}

.site-footer-rule {
  border: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
  margin: 40px 0 24px;
}

.site-footer-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.site-footer-meta span {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
}

@media (max-width: 1100px) {
  .site-footer { padding: 64px 80px 32px; }
  .site-footer-card { padding: 44px 36px 32px; }
}

@media (max-width: 700px) {
  .site-footer { padding: 48px 24px 24px; }
  .site-footer-links { gap: 20px; }
}
