/* ═══════════════════════════════════════════════════════════
   FONT
   Change the font here if you ever want a different typeface.
   ═══════════════════════════════════════════════════════════ */
@font-face {
  font-family: 'Bricolage Grotesque';
  src: url('../Bricolage_Grotesque/BricolageGrotesque-VariableFont_opsz,wdth,wght.ttf') format('truetype');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

/* ═══════════════════════════════════════════════════════════
   GLOBAL BRAND COLORS
   Change these to update colors across the entire site at once.
   --black  → background of nav, footer, loader, buttons
   --yellow → accent color (hover, active, CTA button, dots)
   --bg     → page background (light cream)
   --muted  → all grey body text
   ═══════════════════════════════════════════════════════════ */
:root {
  --black:     #0C0901;   /* ← site background / dark surfaces */
  --white:     #FFFFFF;
  --yellow:    #FFCC05;   /* ← accent / highlight color */
  --grey:      #E2E2E2;   /* ← divider lines */
  --bg:        #F8F7F4;   /* ← main page background */
  --muted:     #6B6857;   /* ← secondary/body text color */
  --font:      'Bricolage Grotesque', sans-serif;
  --ease:      cubic-bezier(0.25, 0.1, 0.25, 1);
  --ease-out:  cubic-bezier(0.0, 0.0, 0.2, 1);
  --ease-in-out: cubic-bezier(0.76, 0, 0.24, 1);
}

/* ── Reset ─────────────────────────────────────────────── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--black);
  overflow-x: hidden;
  cursor: none;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; }

/* ═══════════════════════════════════════════════════════════
   CUSTOM CURSOR (the little white dot that follows your mouse)
   Only visible on desktop — hidden on touch devices automatically.
   ═══════════════════════════════════════════════════════════ */
/* ── Custom Cursor ─────────────────────────────────────── */
.cursor {
  width: 8px; height: 8px;
  background: var(--white);
  border-radius: 50%;
  position: fixed;
  top: 0; left: 0;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: width .3s, height .3s;
  mix-blend-mode: difference;
}
.cursor-ring {
  width: 36px; height: 36px;
  border: 1.5px solid var(--white);
  border-radius: 50%;
  position: fixed;
  top: 0; left: 0;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition: width .4s var(--ease), height .4s var(--ease), opacity .3s;
  mix-blend-mode: difference;
  opacity: .5;
}
body.hovering .cursor      { width: 14px; height: 14px; background: var(--yellow); }
body.hovering .cursor-ring { width: 52px; height: 52px; opacity: .7; border-color: var(--yellow); }

/* Hide custom cursor on touch devices (phones + tablets) — restore system cursor */
@media (hover: none), (pointer: coarse) {
  body { cursor: auto; }
  .cursor, .cursor-ring { display: none; }
}

/* ═══════════════════════════════════════════════════════════
   PAGE TRANSITION (the black slide that covers the screen
   when you click a link — purely decorative animation)
   ═══════════════════════════════════════════════════════════ */
/* ── Page Transition ───────────────────────────────────── */
.pt-overlay {
  position: fixed; inset: 0;
  background: var(--black);
  z-index: 8000;
  transform: translateY(100%);
  transition: transform .55s var(--ease-in-out);
  pointer-events: none;
}
.pt-overlay.slide-in  { transform: translateY(0%);   pointer-events: all; }
.pt-overlay.slide-out { transform: translateY(-100%); pointer-events: none; }

/* ── Nav ───────────────────────────────────────────────── */
nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 500;
  display: flex; align-items: center; justify-content: space-between;
  padding: 28px 56px;
  transition: padding .4s var(--ease), background .4s, border-color .4s;
  border-bottom: 1px solid transparent;
}
nav.compact {
  padding: 18px 56px;
  background: rgba(248,247,244,.94);
  backdrop-filter: blur(10px);
  border-bottom-color: var(--grey);
}
.nav-logo {
  display: flex; align-items: center; gap: 30px;
  text-decoration: none;
}
.nav-logo svg { width: 28px; height: 28px; }
.nav-logo span {
  font-size: 14px; font-weight: 600;
  letter-spacing: .04em; text-transform: uppercase;
}
.nav-links {
  display: flex; align-items: center; gap: 44px;
  list-style: none;
}
.nav-links a {
  font-size: 13px; font-weight: 400;
  letter-spacing: .04em; text-transform: uppercase;
  text-decoration: none;
  position: relative;
  transition: color .2s;
}
.nav-links a::after {
  content: '';
  position: absolute; bottom: -3px; left: 0;
  width: 0; height: 1px;
  background: var(--black);
  transition: width .35s var(--ease);
}
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }
.nav-cta {
  background: var(--black) !important;
  color: var(--white) !important;
  padding: 10px 24px !important;
  border-radius: 100px !important;
  font-size: 12px !important;
  transition: background .25s, transform .25s !important;
}
.nav-cta:hover {
  background: var(--yellow) !important;
  color: var(--black) !important;
  transform: scale(1.04);
}
.nav-cta::after { display: none !important; }

/* ═══════════════════════════════════════════════════════════
   SCROLL REVEAL ANIMATION
   Elements with class "r" fade + slide up when scrolled into view.
   d1 / d2 / d3 = staggered delay for sequential animations.
   ═══════════════════════════════════════════════════════════ */
/* ── Scroll Reveal ─────────────────────────────────────── */
.r {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 2s var(--ease-out), transform 2s var(--ease-out);
}
.r.in { opacity: 1; transform: none; }
.r.d1 { transition-delay: .08s; }
.r.d2 { transition-delay: .18s; }
.r.d3 { transition-delay: .28s; }
.r.d4 { transition-delay: .38s; }
.r.d5 { transition-delay: .48s; }

/* ── HOME HERO ─────────────────────────────────────────── */
.home-hero {
  min-height: 100svh;
  display: grid; grid-template-columns: 1fr 1fr;
  align-items: center;
  padding: 120px 56px 80px;
  gap: 80px;
}
.hero-eyebrow {
  display: flex; align-items: center; gap: 12px;
  font-size: 11px; font-weight: 600;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 28px;
}
.hero-eyebrow::before {
  content: ''; width: 28px; height: 1px; background: var(--muted);
}
.hero-title {
  font-size: clamp(52px, 6.5vw, 100px);
  font-weight: 700; letter-spacing: -.04em;
  line-height: .96; margin-bottom: 32px;
}
.hero-title em {
  font-style: italic; font-weight: 300; color: var(--muted);
}
.hero-desc {
  font-size: 18px; font-weight: 300; line-height: 1.65;
  color: var(--muted); max-width: 380px; margin-bottom: 52px;
}
.hero-actions { display: flex; align-items: center; gap: 28px; }

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  text-decoration: none; border-radius: 100px;
  font-weight: 500; letter-spacing: .03em;
  transition: all .25s var(--ease);
}
.btn-filled {
  background: var(--black); color: var(--white);
  padding: 16px 34px; font-size: 14px;
}
.btn-filled:hover { background: var(--yellow); color: var(--black); transform: scale(1.03); }
.btn-outline {
  border: 1.5px solid var(--black); color: var(--black);
  padding: 14px 28px; font-size: 13px;
}
.btn-outline:hover { background: var(--black); color: var(--white); }
.btn svg { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.btn:hover svg { transform: translateX(5px); }

.hero-image-wrap {
  position: relative; height: 600px; overflow: hidden; border-radius: 8px;
}
.hero-image-wrap img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 8s ease; /* parallax effect */
}
.hero-badge {
  position: absolute; bottom: 24px; left: 24px;
  background: rgba(248,247,244,.92); backdrop-filter: blur(8px);
  padding: 10px 20px; border-radius: 100px;
  font-size: 11px; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase;
}

/* ── Section Label ─────────────────────────────────────── */
.sec-label {
  font-size: 10px; font-weight: 700;
  letter-spacing: .2em; text-transform: uppercase;
  color: var(--muted);
  display: flex; align-items: center; gap: 16px;
  margin-bottom: 48px;
}
.sec-label::after {
  content: ''; flex: 1; height: 1px; background: var(--grey);
}

/* ── HOME WORK SECTION ─────────────────────────────────── */
.home-work { padding: 80px 56px 120px; }

.project-grid { display: grid; gap: 14px; }
.grid-row     { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

.proj-card {
  display: block; text-decoration: none; color: var(--black);
  position: relative; overflow: hidden; border-radius: 6px;
  background: var(--grey);
}
.proj-card.full  { aspect-ratio: 16/7; }
.proj-card.half  { aspect-ratio: 4/3; }

.proj-card img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .7s var(--ease);
}
.proj-card:hover img { transform: scale(1.05); }

.proj-card__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(12,9,1,.75) 0%, transparent 55%);
  opacity: 0; transition: opacity .4s var(--ease);
}
.proj-card:hover .proj-card__overlay { opacity: 1; }

.proj-card__info {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 28px 32px;
  color: var(--white);
  transform: translateY(8px);
  opacity: 0;
  transition: all .4s var(--ease);
}
.proj-card:hover .proj-card__info { transform: none; opacity: 1; }

.proj-card__cat {
  font-size: 10px; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase;
  opacity: .65; margin-bottom: 5px;
}
.proj-card__name {
  font-size: 22px; font-weight: 700; letter-spacing: -.02em;
}

/* ─────────────────────────────────────────────────────────────
   DESKTOP: MARQUEE (scrolling text band)
   The horizontal scrolling strip of skill keywords
   (Brand Identity · Logo Design · Visual Systems · etc.)

   To change on DESKTOP:
     • Text size    → .marquee-item { font-size: 12px; }
     • Scroll speed → .marquee-track { animation: marquee 30s ... }
                      (lower number = faster, higher = slower)
     • Dot color    → .marquee-dot { background: var(--yellow); }
     • Section padding → .marquee-section { padding: 40px 0; }
   The actual words are in the HTML file (index.html), not here.
   ───────────────────────────────────────────────────────────── */
/* ── MARQUEE ───────────────────────────────────────────── */
.marquee-section {
  padding: 40px 0;
  border-top: 1px solid var(--grey);
  border-bottom: 1px solid var(--grey);
  overflow: hidden;
  transition: opacity 0.3s ease;
}
.marquee-track {
  display: flex; align-items: center;
  animation: marquee 30s linear infinite;
  white-space: nowrap;
}
.marquee-track:hover { animation-play-state: paused; }
.marquee-item {
  display: flex; align-items: center; gap: 0;
  font-size: 14px; font-weight: 600;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--black); padding-right: 0;
  flex-shrink: 0;
}
.marquee-dot {
  width: 6px; height: 6px; background: var(--yellow);
  border-radius: 50%; margin: 0 32px; flex-shrink: 0;
}
@keyframes marquee {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ── HOME ABOUT TEASER ─────────────────────────────────── */
.home-about {
  padding: 120px 56px;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: center;
}
.home-about__photo-wrap {
  position: relative;
}
.home-about__photo {
  width: 100%; aspect-ratio: 4/5; object-fit: cover;
  object-position: top; border-radius: 6px;
}
.home-about__accent {
  position: absolute; bottom: -20px; right: -20px;
  width: 100px; height: 100px;
  background: var(--yellow); border-radius: 4px; z-index: -1;
}
.home-about__content h2 {
  font-size: clamp(36px, 4vw, 64px);
  font-weight: 700; letter-spacing: -.035em; line-height: 1.0;
  margin-bottom: 28px;
}
.home-about__content h2 em {
  font-style: italic; font-weight: 300; color: var(--muted);
}
.home-about__content p {
  font-size: 17px; line-height: 1.75;
  color: var(--muted); font-weight: 300;
  margin-bottom: 40px;
}
.about-stats {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 24px; padding: 36px 0;
  border-top: 1px solid var(--grey);
  border-bottom: 1px solid var(--grey);
  margin-bottom: 40px;
}
.stat-num {
  font-size: 42px; font-weight: 700;
  letter-spacing: -.04em; line-height: 1;
}
.stat-num sup { font-size: 22px; color: var(--yellow); }
.stat-lbl {
  font-size: 11px; color: var(--muted);
  letter-spacing: .05em; margin-top: 4px;
}

/* ── WORK PAGE ─────────────────────────────────────────── */
.work-hero { padding: 170px 56px 80px; }
.work-hero__title {
  font-size: clamp(64px, 9vw, 130px);
  font-weight: 700; letter-spacing: -.01em;
  line-height: .80;
}
.work-hero__title em { font-style: italic; font-weight: 300; color: var(--muted); }

.work-intro {
  padding: 40px 56px 300px;
  display: grid; grid-template-columns: 1fr 3fr;
  gap: 80px; align-items: end;
  border-bottom: 1px solid var(--grey);
}
.work-intro p {
  font-size: 23px; font-weight: 300;
  line-height: 1.3; color: var(--black); letter-spacing: 0em;
}
.work-count {
  font-size: 25px !important; font-weight: 300 !important;
  letter-spacing: -.06em; color: var(--black) !important;
  line-height: 1;
}

.work-list { padding: 0 56px 120px; overflow: visible; }
.work-item {
  display: flex; align-items: center; gap: 40px;
  padding: 36px 56px;
  margin: 0 -56px;
  border-bottom: 1px solid var(--grey);
  text-decoration: none; color: var(--muted);
  position: relative; overflow: hidden;
  transition: background .25s var(--ease), color .25s var(--ease);
}
.work-item:first-child { border-top: 1px solid var(--grey); }
.work-item:hover { background: var(--yellow); color: var(--black); }

.work-item__num {
  font-size: 18px; color: var(--muted);
  letter-spacing: .06em; width: 32px; flex-shrink: 0;
  font-weight: 500;
}
.work-item__name {
  font-size: clamp(28px, 4.5vw, 60px);
  font-weight: 500; letter-spacing: -.025em;
  flex: 1; transition: transform .35s var(--ease);
}
.work-item:hover .work-item__name { transform: translateX(8px);
  font-size: clamp(28px, 4.5vw, 80px); color: var(--black);
  font-weight: 700; }

.work-item:hover .work-item__num {
  font-size: 22px; color: var(--black);
  letter-spacing: .06em; width: 32px; flex-shrink: 0;
  font-weight: 700; }

.work-item__tags {
  display: flex; gap: 8px; flex-shrink: 0;
}
.tag {
  padding: 6px 14px;
  border: 1.5px solid var(--grey); border-radius: 100px;
  font-size: 12px; font-weight: 600;
  letter-spacing: .08em; text-transform: uppercase;
  color: var(--muted);
  transition: border-color .2s, color .2s;
}
.work-item:hover .tag { border-color: var(--black); color: var(--black); }

.work-item__year {
  font-size: 13px;font-weight: 600; color: var(--muted);
  flex-shrink: 0; width: 48px; text-align: right;
}
.work-item:hover .work-item__year {color: var(--black);}

.work-item__hover-img {
  position: absolute; right: 450px; top: 50%;
  width: 180px; height: 130px; object-fit: cover;
  border-radius: 20px;
  transform: translateY(-50%) scale(.85) rotate(2deg);
  opacity: 0;
  transition: all .4s var(--ease);
  pointer-events: none;
}
.work-item:hover .work-item__hover-img {
  opacity: 1; transform: translateY(-50%) scale(1) rotate(0deg);
}

/* ── ABOUT PAGE ────────────────────────────────────────── */
.about-hero {
  padding: 170px 56px 180px;  /* ← increase last value for more space above bottom nav */
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: end;
}
.about-hero__title {
  font-size: clamp(64px, 9vw, 130px);
  font-weight: 700; letter-spacing: -.01em;
  line-height: .80;
}
.about-hero__title em { font-style: italic; font-weight: 300; color: var(--muted); }
.about-hero__right p {
  font-size: 23px; font-weight: 300;
  line-height: 1.3; color: var(--black); letter-spacing: 0em;
}

.about-body {
  padding: 80px 56px 0px;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 30px;
  align-items: start;
}
.about-body__photo {
  width: 100%;
  max-width: none;
  height: auto;
  display: block;
  border-radius: 0;
  border: none;
  margin-left: -370px;
  margin-right: -56px;
  width: calc(100% + 750px);
}
.about-body__content h2 {
  font-size: clamp(50px, 3vw, 44px);
  font-weight: 700; letter-spacing: -.02em;
  line-height: .95; margin-bottom: 25px; margin-top: 25px;
}
.about-stats-row {
  display: flex; justify-content: space-between; margin-top: 32px; align-items: baseline; gap: 40px;
}
.about-stat-num {
  font-size: 30px !important; font-weight: 700 !important; letter-spacing: 0em; color: var(--black) !important;
}
.about-stat-num sup {
  font-size: .6em !important; color: var(--black); font-weight: 700;
  margin-left: 2px; vertical-align: super;
}
.about-stat-lbl {
  font-size: 20px !important; color: var(--black) !important; margin-top: -32px;
  font-weight: 00 !important;
}
.about-body__content p {
  font-size: 17px; line-height: 1.6;
  color: var(--muted); font-weight: 300;
  margin-bottom: 24px;
}
.about-body__content p:last-of-type { margin-bottom: 0; }

.about-services {
  padding: 80px 56px;
  background: var(--black); color: var(--white);
}
.about-services__title {
  font-size: clamp(36px, 4vw, 64px);
  font-weight: 600; letter-spacing: -.02em;
  line-height: 1.0; margin-bottom: 64px;
}
.about-services__title em { font-style: italic; font-weight: 300; opacity: .5; }
.services-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 48px 40px;
}
.service-item__num {
  font-size: 14px; font-weight: 700;
  letter-spacing: .1em; color: var(--yellow);
  margin-bottom: 16px;
}
.service-item h3 {
  font-size: 20px; font-weight: 700;
  letter-spacing: -.01em; margin-bottom: 10px;
}
.service-item p {
  font-size: 14px; line-height: 1.5;
  opacity: .5; font-weight: 300;
}

.about-cta {
  padding: 100px 56px;
  text-align: center;
}
.about-cta h2 {
  font-size: clamp(40px, 6vw, 96px);
  font-weight: 600; letter-spacing: -.01em;
  line-height: .85; margin-bottom: 40px;
}
.about-cta h2 em { font-style: italic; font-weight: 300; color: var(--muted); }

/* ── CONTACT PAGE ──────────────────────────────────────── */
.contact-hero { padding: 170px 56px 400px;   }
.contact-hero h1 {
  font-size: clamp(64px, 9vw, 130px);
  font-weight: 700; letter-spacing: -.01em;
  line-height: .80; margin-bottom: 0;
}
.contact-hero h1 em { font-style: italic; font-weight: 300; color: var(--muted); }

.contact-body {
  padding: 60px 56px 120px;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: start;
  border-top: 1px solid var(--grey);
}
.contact-info__lbl {
  font-size: 14px; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 20px;
}
.contact-info__email {
  font-size: clamp(18px, 2.5vw, 32px);
  font-weight: 600; letter-spacing: -.02em;
  text-decoration: none; color: var(--black);
  display: block; margin-bottom: 52px;
  border-bottom: 2px solid var(--black);
  padding-bottom: 4px;
  width: fit-content;
  transition: color .2s, border-color .2s;
}
.contact-info__email:hover { color: var(--black); border-color: var(--black); font-size: clamp(20px, 2.5vw, 32px);
  font-weight: 800; }

.contact-socials { display: flex; flex-direction: column; gap: 14px; }
.contact-socials a {
  font-size: 18px; font-weight: 600;
  text-decoration: none; color: var(--black);
  display: flex; align-items: center; gap: 10px;
  transition: color .2s;
}
.contact-socials a:hover { color: var(--black); font-size: 20px; font-weight: 800; }
.contact-socials a span {
  font-size: 12px; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--muted);
}

.contact-form { /* right side */ }
.form-group { margin-bottom: 32px; }
.form-group label {
  display: block; font-size: 14px; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 10px;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%; padding: 14px 0; opacity: 70%;
  border: none; border-bottom: 1.5px solid var(--grey);
  background: transparent;
  font-family: var(--font); font-size: 16px;
  color: var(--black); outline: none;
  transition: border-color .25s;
  -webkit-appearance: none;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus { border-color: var(--black); }
.form-group textarea { resize: none; height: 110px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.form-submit {
  width: 100%; padding: 18px 32px;
  background: var(--black); color: var(--white);
  border: none; border-radius: 100px;
  font-family: var(--font); font-size: 15px; font-weight: 600;
  letter-spacing: .03em; cursor: none;
  transition: background .25s, transform .25s;
  margin-top: 8px;
}
.form-submit:hover { background: var(--yellow); color: var(--black); transform: scale(1.02); }
.form-success {
  display: none; text-align: center; padding: 48px 24px;
  font-size: 18px; font-weight: 500; color: var(--muted);
}

/* ── PROJECT PAGE ──────────────────────────────────────── */
.proj-hero { padding-top: 0; }

/* Hero banner */
.pm-hero { width: 100%; overflow: hidden; }
.pm-hero img {
  width: 100%; height: 84vh; min-height: 500px;
  object-fit: cover; object-position: center; display: block;
}

/* Info block */
.pm-info { padding: 130px 56px 30px; }
.pm-info__header {
  display: flex; justify-content: space-between; align-items: flex-end;
  margin-bottom: 56px;
}
.pm-info__title {
  font-size: clamp(56px, 8vw, 120px);
  font-weight: 600; letter-spacing: -.02em; line-height: .9;
}
.pm-info__cat {
  font-size: 16px; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase; color: var(--muted);
  padding-bottom: 10px;
}
.pm-info__rule { height: 1px; background: var(--grey); margin-bottom: 56px; }
.pm-info__body { display: grid; grid-template-columns: 1fr 2fr; gap: 80px; }
.pm-info__meta { display: flex; flex-direction: column; gap: 36px; }
.pm-meta-label {
  display: block; font-size: 14px; font-weight: 400;
  letter-spacing: .08em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 6px;
}
.pm-meta-value { font-size: 17px; font-weight: 450; line-height: 1.5; }
.pm-info__text { display: flex; flex-direction: column; gap: 48px; }
.pm-text-label {
  display: block; font-size: 14px; font-weight: 400;
  letter-spacing: .08em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 10px;
}
.pm-text-block p {
  font-size: 17px; font-weight: 450; line-height: 1.5; color: var(--black);
}

/* Modules */
.pm-modules { display: flex; flex-direction: column; gap: 24px; padding: 0 24px 120px; }
.pm-mod img { width: 100%; display: block; object-fit: cover; }

/* Full bleed */
.pm-mod--full img { height: 90vh; min-height: 400px; }

/* 2 column equal */
.pm-mod--2col {
  display: grid; grid-template-columns: 1fr 1fr; gap: 24px;
}
.pm-mod--2col img { height: 60vh; min-height: 300px; }

/* 3 column equal */
.pm-mod--3col {
  display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 24px;
}
.pm-mod--3col img { height: 45vh; min-height: 260px; }

/* Asymmetric: large left (2/3), small right (1/3) */
.pm-mod--asymL {
  display: grid; grid-template-columns: 2fr 1fr; gap: 24px;
}
.pm-mod--asymL img { height: 65vh; min-height: 340px; }

/* Asymmetric: small left (1/3), large right (2/3) */
.pm-mod--asymR {
  display: grid; grid-template-columns: 1fr 2fr; gap: 24px;
}
.pm-mod--asymR img { height: 65vh; min-height: 340px; }

/* Editorial text block */
.pm-mod--text {
  padding: 100px 56px;
  background: var(--bg);
}
.pm-editorial { max-width: 720px; }
.pm-editorial--right { margin-left: auto; text-align: right; }
.pm-editorial blockquote {
  font-size: clamp(28px, 4vw, 52px);
  font-weight: 300; line-height: 1.2;
  letter-spacing: -.02em; color: var(--black);
  margin-bottom: 24px;
}
.pm-editorial p {
  font-size: 16px; font-weight: 300; line-height: 1.7;
  color: var(--muted); max-width: 480px;
}
.pm-editorial--right p { margin-left: auto; }

/* ── Magazine Flipbook (scroll-driven page turn) ───────────── */
.mag-stage { position: relative; background: var(--black); }
.mag-sticky {
  position: sticky; top: 0; height: 100vh;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  overflow: hidden;
}
.mag-book {
  position: relative;
  width: min(92vw, 156vh);
  aspect-ratio: 16 / 9;
  perspective: 2800px;
  box-shadow: 0 50px 130px rgba(0,0,0,.65);
}
/* static facing pages */
.mag-page {
  position: absolute; top: 0; height: 100%; width: 50%;
  background-color: #0d0d0d;
  background-size: 200% 100%; background-repeat: no-repeat;
}
.mag-page--left  { left: 0;  background-position: left center; }
.mag-page--right { right: 0; background-position: right center; }
/* the turning leaf occupies the right page, hinged at the spine */
.mag-leaf {
  position: absolute; top: 0; right: 0; width: 50%; height: 100%;
  transform-style: preserve-3d;
  transform-origin: left center;
  will-change: transform;
  z-index: 5; display: none;
}
.mag-leaf.is-turning { display: block; }
.mag-leaf__face {
  position: absolute; inset: 0;
  background-color: #0d0d0d;
  background-size: 200% 100%; background-repeat: no-repeat;
  backface-visibility: hidden;
}
.mag-leaf__front { background-position: right center; }
.mag-leaf__back  { background-position: left center; transform: rotateY(180deg); }
/* soft shading that deepens as the page lifts */
.mag-leaf__shade {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to left, rgba(0,0,0,.45), rgba(0,0,0,0) 38%);
  opacity: 0; backface-visibility: hidden;
}
.mag-spine {
  position: absolute; top: 0; left: 50%; width: 3px; height: 100%;
  transform: translateX(-50%);
  background: linear-gradient(to right, rgba(0,0,0,.55), rgba(0,0,0,0) 45%, rgba(0,0,0,0) 55%, rgba(0,0,0,.55));
  z-index: 6; pointer-events: none;
}
.mag-counter {
  margin-top: 26px; color: rgba(255,255,255,.55);
  font-size: 13px; letter-spacing: .22em; text-transform: uppercase;
  font-weight: 400;
}
.mag-hint {
  position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%);
  color: rgba(255,255,255,.4); font-size: 12px; letter-spacing: .2em;
  text-transform: uppercase; transition: opacity .5s; pointer-events: none;
}
/* mobile / no-3D fallback: simple vertical spread stack */
.mag-fallback { display: none; }
@media (max-width: 768px) {
  .mag-stage { height: auto !important; }
  .mag-sticky { position: static; height: auto; display: none; }
  .mag-fallback { display: flex; flex-direction: column; gap: 8px; padding: 8px; }
  .mag-fallback img { width: 100%; display: block; }
}

/* ─────────────────────────────────────────────────────────────
   DESKTOP: 3D LOGO SECTION (spinning yellow logo)
   The black section with the interactive 3D logo.
   Only renders in 3D on desktop — phones show a flat SVG instead.

   To change:
     • Section background   → .logo3d-section { background: #000000; }
     • Section padding      → .logo3d-section { padding: 70px 20px; }
     • Logo canvas size     → .logo3d { width: 400px; height: 400px; }
     • Spin speed / direction → in index.html, search "autoRotateSpeed"
       (positive = one direction, negative = other direction)
   ───────────────────────────────────────────────────────────── */
/* ── 3D Logo (Three.js) ────────────────────────────────────── */
.logo3d-section {
  display: flex; justify-content: center; align-items: center;
  padding: 70px 20px; background: #000000;
}
.logo3d {
  width: 400px; height: 400px;
  max-width: 86vw; max-height: 86vw;
  cursor: grab; touch-action: none;
}
.logo3d:active { cursor: grabbing; }
.logo3d canvas { display: block; width: 100% !important; height: 100% !important; }
.logo3d__fallback { width: 58%; height: auto; display: block; margin: 0 auto; }

/* On touch devices — show fallback SVG at a comfortable size */
@media (hover: none), (pointer: coarse) {
  .logo3d { width: 260px; height: 260px; cursor: default; }
  .logo3d__fallback { width: 72%; }
}

/* Legacy classes kept for other pages */
.proj-title {
  font-size: clamp(56px, 8vw, 120px);
  font-weight: 600; letter-spacing: -.02em; line-height: .9;
}
.proj-detail label {
  display: block; font-size: 11px; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 6px;
}
.proj-detail p { font-size: 16px; line-height: 1.5; font-weight: 500; }
.proj-gallery { padding: 0 0 120px; display: flex; flex-direction: column; gap: 8px; }
.proj-gallery img { width: 100%; display: block; object-fit: cover; }
.proj-gallery .full { aspect-ratio: 16/9; }
.proj-gallery .g2 { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.proj-gallery .g3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px; }
.proj-divider { height: 1px; background: var(--grey); margin: 60px 56px; }

/* Next project */
.next-proj {
  display: flex; justify-content: space-between; align-items: center;
  padding: 64px 56px;
  text-decoration: none; color: var(--black);
  border-top: 1px solid var(--grey);
  transition: background .35s, padding .35s var(--ease);
  overflow: hidden; position: relative;
}
.next-proj:hover { background: var(--yellow); color: var(--black); padding: 64px 72px; }
.next-proj__lbl {
  font-size: 14px; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
  opacity: .45; margin-bottom: 10px;
}
.next-proj__title {
  font-size: clamp(32px, 4vw, 56px);
  font-weight: 500; letter-spacing: -.02em;
}
.next-proj:hover .next-proj__title {font-size: clamp(60px, 4vw, 100px); font-weight: 700;}
.next-proj__arrow {
  font-size: 48px; font-weight: 300;
  transition: transform .35s var(--ease);
}
.next-proj:hover .next-proj__arrow { transform: translateX(12px); }

/* ── RESPONSIVE ────────────────────────────────────────── */
@media (max-width: 900px) {
  nav { padding: 20px 24px; }
  nav.compact { padding: 14px 24px; }
  .nav-links { gap: 24px; }

  .home-hero { grid-template-columns: 1fr; padding: 120px 24px 60px; gap: 40px; }
  .hero-image-wrap { height: 300px; }

  .home-work { padding: 60px 24px 80px; }
  .grid-row { grid-template-columns: 1fr; }

  .home-about { grid-template-columns: 1fr; padding: 80px 24px; gap: 48px; }
  .about-stats { grid-template-columns: repeat(3, 1fr); }


  .work-hero { padding: 120px 24px 40px; }
  .work-intro { grid-template-columns: 1fr; padding: 32px 24px 40px; gap: 24px; }
  .work-list { padding: 0 24px 80px; }
  .work-item__hover-img { display: none; }
  .work-item__tags { display: none; }

  .about-hero { grid-template-columns: 1fr; padding: 120px 24px 60px; gap: 40px; }
  .about-body { grid-template-columns: 1fr; padding: 60px 24px; gap: 48px; }
  .about-body__photo { position: static; }
  .about-services { padding: 60px 24px; }
  .services-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .about-cta { padding: 80px 24px; }

  .contact-hero { padding: 120px 24px 40px; }
  .contact-body { grid-template-columns: 1fr; padding: 40px 24px 80px; gap: 60px; }

  .proj-hero__banner { height: 45vh; min-height: 260px; }
  .proj-meta { grid-template-columns: 1fr; padding: 48px 24px 0; gap: 40px; }
  .proj-overview { padding: 48px 24px; }
  .proj-gallery { padding: 0 24px 60px; }
  .proj-gallery .g2 { grid-template-columns: 1fr; }
  .proj-gallery .g3 { grid-template-columns: 1fr 1fr; }
  .proj-divider { margin: 40px 24px; }
  .next-proj { padding: 48px 24px; }
  .next-proj:hover { padding: 48px 32px; }
}

@media (max-width: 600px) {
  .nav-links { display: none; }
  .hero-title { font-size: 44px; }
  .hero-desc { font-size: 16px; }
  .about-stats { grid-template-columns: 1fr 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .proj-gallery .g3 { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
}

/* ╔═══════════════════════════════════════════════════════════╗
   ║                                                           ║
   ║   DESKTOP VERSION  (screen wider than 900px)              ║
   ║   Everything below here with NO @media tag =             ║
   ║   what you see on a desktop or laptop.                    ║
   ║                                                           ║
   ╚═══════════════════════════════════════════════════════════╝ */

/* ─────────────────────────────────────────────────────────────
   DESKTOP: PAGE LOADER
   The black screen with the logo + loading bar that plays
   when someone first opens the site.
   ───────────────────────────────────────────────────────────── */
/* ── Page Loader ────────────────────────────────────────── */
.loader {
  position: fixed; inset: 0; z-index: 9500;
  background: var(--black);
  display: flex; align-items: center; justify-content: center;
  flex-direction: column; gap: 0;
  transition: transform .8s cubic-bezier(0.76, 0, 0.24, 1),
  opacity .3s ease .6s;
  transform-origin: top center;
}
.loader.hide {
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none;
}
.loader__logo {
  width: 64px; height: 64px;  /* ← size of the logo on the loading screen */
  opacity: 0; transform: translateY(12px) scale(.9);
  transition: opacity .5s ease .2s, transform .5s ease .2s;
}
.loader.active .loader__logo {
  opacity: 1; transform: none;
}
.loader__label {
  font-family: var(--font); font-size: 11px; font-weight: 600;
  letter-spacing: .22em; text-transform: uppercase;
  color: rgba(255,255,255,.3);  /* ← color of "Shah Saiyam Designs" text on loader */
  margin-top: 20px;             /* ← gap between logo and text */
  opacity: 0; transform: translateY(6px);
  transition: opacity .4s ease .4s, transform .4s ease .4s;
}
.loader.active .loader__label { opacity: 1; transform: none; }
.loader__bar {
  position: absolute; bottom: 0; left: 0;
  height: 2px; background: var(--yellow);
  width: 0%;
  transition: width 1.4s cubic-bezier(0.25, 0.1, 0.25, 1);
}
.loader.active .loader__bar { width: 100%; }

/* ─────────────────────────────────────────────────────────────
   DESKTOP: BOTTOM NAVIGATION BAR
   The pill-shaped floating nav at the bottom of the screen.
   Contains: GIF reel on the left | page links in the middle | Contact+ button on the right.
   Only visible on desktop/tablet — hidden on mobile (replaced by hamburger).
   ───────────────────────────────────────────────────────────── */
/* ── Bottom Nav ─────────────────────────────────────────── */
.bottom-nav {
  position: fixed; bottom: 24px; /* ← distance from bottom of screen */
  left: 50%;
  transform: translateX(-50%);
  z-index: 400;
  display: flex; align-items: center; gap: 0;
  background: rgba(72, 70, 66, 0.90);
  border-radius: 35px;
  padding: 10px 10px 10px 10px;
  box-shadow: 0 8px 40px rgba(0,0,0,.25);
  white-space: nowrap;
  transition: opacity .4s, transform .4s;
}
.bottom-nav.hidden { opacity: 0; transform: translateX(-50%) translateY(20px); pointer-events: none; }

.bottom-nav__reel {
  width: 100px;          /* ← GIF rectangle width on desktop */
  height: 68px;          /* ← GIF rectangle height on desktop */
  border-radius: 25px;   /* ← corner roundness of GIF rectangle */
  overflow: hidden; flex-shrink: 0;
  background: #d0d0d0;
  display: flex; align-items: center; justify-content: center;
}
.bottom-nav__reel a { display: block; width: 100%; height: 100%; }
.bottom-nav__reel img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}

.bottom-nav__links {
  display: flex; align-items: center;
  list-style: none; padding: 0 28px; gap: 6px;
}
.bottom-nav__links li a {
  font-family: var(--font); font-size: 13px; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase;
  color: rgba(255,255,255,.82);
  text-decoration: none; padding: 10px 18px;
  display: block;
  transition: color .2s;
}
.bottom-nav__links li a:hover { color: var(--yellow); }
.bottom-nav__links li a.active { color: var(--yellow); }

.bottom-nav__cta {
  background: var(--yellow); color: #000;
  padding: 25px 40px;   /* top/bottom | left/right padding inside Contact+ button */
  border-radius: 25px;  /* ← corner roundness of Contact+ button */
  font-family: var(--font); font-size: 14px; font-weight: 700; /* ← button text size */
  letter-spacing: .06em; text-transform: uppercase;
  text-decoration: none; flex-shrink: 0;
  display: flex; align-items: center; gap: 10px;
  transition: background .2s;
}
.bottom-nav__cta:hover { background: #ffe033; }

/* ─────────────────────────────────────────────────────────────
   DESKTOP: SECTION SCROLL FADE
   Sections slightly fade when you scroll — purely decorative.
   ───────────────────────────────────────────────────────────── */
/* ── Section Scroll Fade ────────────────────────────────── */
.hero-v2, .marquee-section, .statement, .home-projects, .about-v2, .footer-v2 {
  transition: opacity 0.4s ease;
}

/* ─────────────────────────────────────────────────────────────
   DESKTOP: HERO SECTION  (the very first thing people see)
   3 layers stacked on top of each other:
     1. .hero-v2__photo   → your photo (centered background)
     2. .hero-v2__left    → "SAIYAM SHAH" name on the left
     3. .hero-v2__right   → description text on the right

   To change on DESKTOP:
     • Photo size/position  → look for .hero-v2__photo img
     • Name font size       → look for .hero-v2__first, .hero-v2__last
     • Name position        → look for .hero-v2__left (left: / top:)
     • Description text     → look for .hero-v2__right p
     • Description position → look for .hero-v2__right (right: / top:)
   ───────────────────────────────────────────────────────────── */
/* ── Hero v2 ────────────────────────────────────────────── */
.hero-v2 {
  height: 100svh; min-height: 640px; position: relative;
  background: #fff; overflow: hidden;
}
/* ── DESKTOP HERO: Your Photo ────────────────────────────── */
.hero-v2__photo {
  position: absolute; inset: 0;
  display: flex; align-items: flex-end; justify-content: center;
  pointer-events: none; z-index: 1;
}
.hero-v2__photo img {
  height: 100%;    /* ← photo height on desktop (100% = full screen height) */
  width: auto;
  object-fit: contain; object-position: bottom center;
  display: block;
}

/* ── DESKTOP HERO: Your Name (SAIYAM SHAH) ───────────────── */
.hero-v2__left {
  position: absolute; left: 80px; /* ← distance from left edge on desktop */
  top: 50%; transform: translateY(-50%);
  z-index: 2;
}
.hero-v2__first,
.hero-v2__last {
  font-size: 110px;  /* ← name font size on desktop */
  font-weight: 600;
  line-height: 0.75; color: #000; display: block;
}
.hero-v2__last { margin-top: 16px; } /* ← gap between SAIYAM and SHAH */

/* ── DESKTOP HERO: Description Text ──────────────────────── */
.hero-v2__right {
  position: absolute; right: 80px; /* ← distance from right edge on desktop */
  top: 50%; transform: translateY(-50%);
  max-width: 280px; z-index: 2;    /* ← max width of description box */
}
.hero-v2__right p {
  font-size: 26px; font-weight: 400;  /* ← description font size on desktop */
  line-height: 1.20; color: #111;
}

/* ─────────────────────────────────────────────────────────────
   DESKTOP: STATEMENT / BIO PARAGRAPH SECTION
   The large centred paragraph that reads "I work across disciplines..."
   with inline clickable project thumbnail images.

   To change on DESKTOP:
     • Paragraph text size  → .statement__text { font-size: ... }
     • Section top/bottom spacing → .statement { padding: 180px 56px 180px; }
     • Thumbnail image size → .stmt-img { width: ... }
   ───────────────────────────────────────────────────────────── */
/* ── Statement Section ──────────────────────────────────── */
.statement {
  padding: 180px 56px 180px;
  background: var(--white);
  border-top: 1px solid var(--grey);
  transition: opacity 0.3s ease;
}
.statement__text {
  font-size: clamp(32px, 5vw, 72px);
  font-weight: 500; line-height: 1.2;
  letter-spacing: -.015em; color: var(--black);
  text-align: center; max-width: 1200px; margin: 0 auto;
}
.stmt-img {
  display: inline-block; vertical-align: middle;
  width: clamp(70px, 6.5vw, 120px);
  aspect-ratio: 4/3;
  border-radius: 20px; overflow: hidden;
  margin: 0 6px; cursor: pointer;
  position: relative; top: -5px;
  transition: transform .35s var(--ease), box-shadow .35s;
  text-decoration: none;
  flex-shrink: 0;
}
.stmt-img:hover {
  transform: scale(1.30) rotate(-1deg);
  box-shadow: 0 12px 32px rgba(0,0,0,.2);
  z-index: 2; position: relative;
}
.stmt-img img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ─────────────────────────────────────────────────────────────
   DESKTOP: PROJECTS LIST  ("Selected Work" section)
   The numbered list of projects (01 Doon, 02 Konoo, etc.)
   Each row shows: number | project name | category | arrow.
   Hovering shows a floating thumbnail and turns the row yellow.

   To change on DESKTOP:
     • Project name size    → .hp-item__name { font-size: ... }
     • Row padding/height   → .hp-item { padding: 28px 0; }
     • Section spacing      → .home-projects { padding: 80px 56px 120px; }
     • Hover image size     → .hp-item__img { width: / height: }
   ───────────────────────────────────────────────────────────── */
/* ── Home Projects (editorial list) ────────────────────── */
.home-projects { padding: 80px 56px 120px; background: var(--bg); transition: opacity 0.3s ease; }
.home-projects__header {
  display: flex; justify-content: space-between; align-items: baseline;
  padding-bottom: 24px; margin-bottom: 0;
  border-bottom: 1px solid var(--grey);
}
.home-projects__title {
  font-size: 19px; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase; color: var(--black);
}
.home-projects__count {
  font-size: 19px; font-weight: 600;
  letter-spacing: .08em; color: var(--black);
}

.hp-item {
  display: flex; align-items: center; gap: 32px;
  padding: 28px 0; border-bottom: 1px solid var(--grey);
  text-decoration: none; color: var(--muted);
  position: relative; overflow: hidden;
  transition: background .3s, padding .3s var(--ease);
}
.hp-item:hover { background: var(--yellow); color: var(--black); padding-left: 24px; padding-right: 24px; }
.hp-item__num {
  font-size: 14px; color: var(--muted); font-weight: 500;
  letter-spacing: .06em; min-width: 28px; flex-shrink: 0;
  transition: color .3s;
}
.hp-item:hover .hp-item__num { color: var(--black); font-size: 16px; font-weight: 700; }
.hp-item__name {
  font-size: clamp(24px, 3.5vw, 48px);
  font-weight: 500; letter-spacing: -.025em;
  flex: 1; transition: transform .3s var(--ease);
}
.hp-item:hover .hp-item__name { transform: translateX(8px);
font-weight: 700;
}
.hp-item__cat {
  font-size: 13px; font-weight: 500;
  letter-spacing: .08em; text-transform: uppercase;
  color: var(--muted); flex-shrink: 0;
  transition: color .3s;
}
.hp-item:hover .hp-item__cat { color: var(--black); }
.hp-item__img {
  position: absolute; right: 350px; top: 50%;
  width: 150px; height: 100px; object-fit: cover;
  border-radius: 20px;
  transform: translateY(-50%) scale(.8) rotate(3deg);
  opacity: 0;
  transition: all .4s var(--ease);
  pointer-events: none;
}
.hp-item:hover .hp-item__img {
  opacity: 1; transform: translateY(-50%) scale(1) rotate(0deg);
}
.hp-item__arrow {
  font-size: 20px; flex-shrink: 0;
  opacity: 0; transform: translateX(-8px);
  transition: opacity .3s, transform .3s var(--ease);
}
.hp-item:hover .hp-item__arrow { opacity: 1; transform: none; }


/* ─────────────────────────────────────────────────────────────
   DESKTOP: FOOTER
   Dark footer at the bottom of every page.
   Left side: logo + "Shah Saiyam" name.
   Right side: LinkedIn / Email / Phone links.
   Bottom: copyright line.

   To change on DESKTOP:
     • Footer padding/spacing → footer.footer-v2 { padding: ... }
     • Link font size         → .footer-v2__right a { font-size: ... }
     • Copyright text         → edit the HTML directly (search "Shah Saiyam Design © 2026")
   ───────────────────────────────────────────────────────────── */
/* ── Footer v2 ──────────────────────────────────────────── */
footer.footer-v2 {
  background: var(--black);
  padding: 30px 50px 20px;
}
.footer-v2__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 30px;
}
.footer-v2__left { display: flex; flex-direction: column; }
.footer-v2__logo-wrap { display: flex; flex-direction: column; }
.footer-v2__logo { width: 44px; height: 44px; display: block; margin-bottom: 10px; }
.footer-v2__brand { font-size: 16px; font-weight: 400; color: var(--white); }
.footer-v2__right { display: flex; flex-direction: row; align-items: center; gap: 40px; }
.footer-v2__right a {
  font-size: 15px; font-weight: 500;
  letter-spacing: .1em; text-transform: uppercase;
  color: rgb(255, 255, 255); text-decoration: none;
  transition: color .2s; margin-top: 30px;
}
.footer-v2__right a:hover { color: var(--yellow); }
.footer-v2__copy {
  display: flex; align-items: center; gap: 30px;
  padding-top: 10px;
  font-size: 12px; color: rgba(255,255,255,.35); text-transform: lowercase;
}
.footer-v2__copy a { color: rgba(255,255,255,.35); text-decoration: none; transition: color .2s; }
.footer-v2__copy a:hover { color: var(--yellow); }

/* ─────────────────────────────────────────────────────────────
   DESKTOP: JOURNAL PAGE
   The "coming soon" / placeholder journal page.
   ───────────────────────────────────────────────────────────── */
/* ── Journal ────────────────────────────────────────────── */
.journal-hero {
  min-height: 100svh; display: flex;
  flex-direction: column; justify-content: center; align-items: center;
  text-align: center; padding: 120px 56px 160px;
  background: var(--white);
}
.journal-hero h1 {
  font-size: clamp(64px, 9vw, 140px);
  font-weight: 700; letter-spacing: -.01em;
  line-height: .70; margin-bottom: 32px;
}
.journal-hero h1 em { font-style: italic; font-weight: 300; color: var(--muted); }
.journal-hero strong {font-size: 20px; font-weight: 600; }
.journal-hero p {
  font-size: 18px; font-weight: 300;
  line-height: 1.5; color: var(--black);
  max-width: 480px;
}
.journal-thought {
  padding: 80px 56px; max-width: 760px; margin: 0 auto;
  text-align: center;
}
.journal-thought blockquote {
  font-size: clamp(22px, 3vw, 36px);
  font-weight: 300; line-height: 1.55;
  color: var(--black); font-style: italic;
  border: none; margin: 0; padding: 0;
}
.journal-thought cite {
  display: block; margin-top: 24px;
  font-size: 12px; font-weight: 600;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--muted); font-style: normal;
}

/* ╔═══════════════════════════════════════════════════════════╗
   ║                                                           ║
   ║   TABLET VERSION  (screens between 601px and 900px)      ║
   ║   iPads, small laptops, landscape phones.                 ║
   ║   These rules OVERRIDE the desktop rules above.           ║
   ║                                                           ║
   ╚═══════════════════════════════════════════════════════════╝ */
@media (max-width: 900px) {

  /* ── TABLET: HERO — Your Name (SAIYAM SHAH) ─────────────── */
  .hero-v2__left {
    left: 4vw;           /* ← distance from left edge of screen */
    top: 38%;            /* ← vertical position (higher % = lower on screen) */
  }
  .hero-v2__first, .hero-v2__last {
    font-size: clamp(64px, 9vw, 90px);   /* ← name font size on tablet */
  }

  /* ── TABLET: HERO — Description Text ────────────────────── */
  .hero-v2__right {
    right: 4vw;          /* ← distance from right edge of screen */
    top: 50%;            /* ← vertical position */
    max-width: 22vw;     /* ← max width of the description text box */
  }
  .hero-v2__right p {
    font-size: clamp(12px, 1.5vw, 14px); /* ← description text size on tablet */
    line-height: 1.5;
  }

  /* ── TABLET: HERO — Your Photo ───────────────────────────── */
  .hero-v2__photo {
    justify-content: center;
    align-items: flex-end;
    padding-left: 0;
    padding-bottom: 0;
  }
  .hero-v2__photo img {
    height: 85%;
    max-width: 60%;
  }

  /* ── TABLET: 3D LOGO SECTION ─────────────────────────────── */
  .logo3d-section { padding: 5.5vw 2.5vw; }                        /* ← section spacing */
  .logo3d { width: clamp(240px, 33vw, 320px); height: clamp(240px, 33vw, 320px); } /* ← canvas size */

  /* ── TABLET: MARQUEE ─────────────────────────────────────── */
  .marquee-section { padding: 3.5vw 0; }                /* ← section top/bottom spacing */
  .marquee-item { font-size: clamp(10px, 1.2vw, 12px); } /* ← text size */
  .marquee-dot { width: 5px; height: 5px; margin: 0 2.5vw; }
  .marquee-track { animation-duration: 25s; }            /* ← speed (lower = faster) */

  /* ── TABLET: STATEMENT / BIO PARAGRAPH ──────────────────── */
  .statement { padding: 8.5vw 2.7vw; }                  /* top/bottom | left/right */
  .statement p { font-size: clamp(22px, 3.1vw, 32px); } /* ← statement text size */

  /* ── TABLET: PROJECTS LIST ───────────────────────────────── */
  .home-projects { padding: 6.5vw 2.7vw 8.5vw; }        /* top | sides | bottom */
  .hp-item__name { font-size: clamp(15px, 2vw, 20px); } /* ← project name size */
  .hp-item__cat { font-size: clamp(10px, 1.2vw, 12px); }/* ← project category size */

  /* ── TABLET: ABOUT TEASER (home page about block) ───────── */
  .home-about { padding: 6.5vw 2.7vw; }                 /* ← section padding */
  .home-about__content h2 { font-size: clamp(26px, 3.5vw, 36px); } /* ← heading size */
  .home-about__content p { font-size: clamp(13px, 1.7vw, 16px); }  /* ← body text size */

  /* ── TABLET: BOTTOM NAV (links + CTA button) ─────────────── */
  .bottom-nav__links li a { padding: 0.9vw 1.1vw; font-size: clamp(9px, 1.1vw, 11px); }
  .bottom-nav__cta { padding: 0.9vw 1.8vw; font-size: clamp(9px, 1.1vw, 11px); }

  /* ── TABLET: FOOTER ──────────────────────────────────────── */
  footer.footer-v2 { padding: 5.3vw 3.5vw 2.7vw; }
  .footer-v2__top { margin-bottom: 2.7vw; }
  .footer-v2__brand { font-size: clamp(12px, 1.4vw, 14px); }
  .footer-v2__right { gap: 2.7vw; }
  .footer-v2__right a { font-size: clamp(11px, 1.3vw, 13px); margin-top: 2.2vw; }
  .footer-v2__copy { font-size: clamp(9px, 1.1vw, 11px); padding-top: 1.8vw; gap: 2.2vw; }

  .about-v2__text { padding: 6.5vw 2.7vw 0; }
  .about-v2__stats { padding: 0 2.7vw 4.5vw; }
}

/* ╔═══════════════════════════════════════════════════════════╗
   ║                                                           ║
   ║   MOBILE / PHONE VERSION  (screens 600px and smaller)    ║
   ║   iPhones, Android phones in portrait mode.              ║
   ║   These rules OVERRIDE both desktop AND tablet above.    ║
   ║                                                           ║
   ╚═══════════════════════════════════════════════════════════╝ */
@media (max-width: 600px) {

  /* ── MOBILE: HERO — Container ────────────────────────────── */
  /* On mobile the hero is a full-screen layout with the photo
     filling the background, name in the middle-left,
     and description text at the bottom-right. */
  .hero-v2 {
    position: relative;
    min-height: 100svh;
    display: block;
  }

  /* ── MOBILE: HERO — Your Name (SAIYAM SHAH) ─────────────── */
  .hero-v2__left {
    position: absolute;
    left: 5vw;           /* ← distance from left edge of screen */
    top: auto;
    bottom: 68%;         /* ← height of name from bottom (increase = goes higher up) */
    transform: none;
    z-index: 2;
  }
  .hero-v2__first, .hero-v2__last {
    font-size: clamp(54px, 18vw, 76px); /* ← name font size on mobile */
    line-height: 0.60;
  }

  /* ── MOBILE: HERO — Description Text ────────────────────── */
  .hero-v2__right {
    position: absolute;
    left: 5vw;           /* ← distance from left edge of screen */
    bottom: 38svh;       /* ← distance from bottom of screen */
    top: auto;
    transform: none;
    max-width: 42vw;     /* ← width of the description text box */
    text-align: left;
    z-index: 2;
  }
  .hero-v2__right p {
    font-size: clamp(13px, 4vw, 16px); /* ← description text size on mobile */
    line-height: 1.3;
  }

  /* ── MOBILE: HERO — Your Photo ───────────────────────────── */
  .hero-v2__photo {
    position: absolute;
    inset: 0;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    padding-bottom: 0;
    padding-left: 0;
  }
  .hero-v2__photo img {
    height: 78%;
    width: auto;
    max-width: 180%;
    object-fit: contain;
    object-position: bottom center;
  }

  /* ── MOBILE: 3D LOGO SECTION ─────────────────────────────── */
  .logo3d-section { padding: 8vw 5vw; }                            /* ← section spacing */
  .logo3d { width: clamp(200px, 62vw, 260px); height: clamp(200px, 62vw, 260px); } /* ← canvas size */

  /* ── MOBILE: MARQUEE ─────────────────────────────────────── */
  .marquee-section { padding: 4.5vw 0; }                /* ← section top/bottom spacing */
  .marquee-item { font-size: clamp(8px, 2.3vw, 10px); } /* ← text size */
  .marquee-dot { width: 4px; height: 4px; margin: 0 5vw; }
  .marquee-track { animation-duration: 20s; }            /* ← speed (lower = faster) */

  /* ── MOBILE: STATEMENT / BIO PARAGRAPH ──────────────────── */
  .statement { padding: 15vw 5vw; }                      /* ← section padding */
  .statement p { font-size: clamp(18px, 5.6vw, 24px); } /* ← statement text size */
  .stmt-img { width: 15vw; }                             /* ← inline project thumbnails */

  /* ── MOBILE: PROJECTS LIST ───────────────────────────────── */
  .home-projects { padding: 10vw 5vw 15vw; }             /* top | sides | bottom */
  .hp-item__name { font-size: clamp(14px, 4vw, 17px); } /* ← project name size */
  .hp-item__cat { font-size: clamp(9px, 2.5vw, 11px); } /* ← project category size */
  .hp-item { padding: 4vw 0; }                           /* ← row top/bottom padding */

  /* ── MOBILE: ABOUT TEASER (home page about block) ───────── */
  .home-about { padding: 10vw 5vw; }                              /* ← section padding */
  .home-about__content h2 { font-size: clamp(22px, 6.5vw, 28px); }/* ← heading size */
  .home-about__content p { font-size: clamp(12px, 3.5vw, 15px); } /* ← body text size */

  /* ── MOBILE: BOTTOM NAV (not usually visible on phone) ───── */
  .bottom-nav { width: calc(100% - 8vw); border-radius: 20px; }

  /* ── MOBILE: FOOTER ──────────────────────────────────────── */
  footer.footer-v2 { padding: 9vw 5vw 5vw; }
  .footer-v2__top { flex-direction: row; align-items: center; justify-content: space-between; margin-bottom: 5vw; }
  .footer-v2__right { flex-direction: column; align-items: flex-end; gap: 2.5vw; margin-top: 0; }
  .footer-v2__right a { font-size: clamp(10px, 2.8vw, 12px); margin-top: 0; letter-spacing: .08em; }
  .footer-v2__brand { font-size: clamp(11px, 3vw, 13px); }
  .footer-v2__logo { width: 9vw; height: 9vw; }
  .footer-v2__copy { flex-direction: column; align-items: flex-start; gap: 8px; font-size: 10px; padding-top: 12px; }

  .about-v2__line1, .about-v2__line2 { font-size: clamp(72px, 20vw, 120px); }
}

/* ═══════════════════════════════════════════════════════════
   MOBILE: HAMBURGER BUTTON + FULL-SCREEN MENU
   The black circle button (top-right) shown only on mobile.
   When clicked, opens a full-screen menu overlay.

   To change:
     • Button size           → .ham-btn { width: / height: }
     • Button position       → .ham-btn { top: / right: }
     • Menu link font size   → .mob-menu__links a { font-size: ... }
     • Menu sub-link size    → .mob-sub li a { font-size: ... }
   ═══════════════════════════════════════════════════════════ */
/* ── Hamburger Menu Overlay ─────────────────────────── */
.ham-btn {
  display: none;
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 1100;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--black);
  border: none;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 0;
}
.ham-btn span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform .35s var(--ease), opacity .25s var(--ease), width .3s var(--ease);
  transform-origin: center;
}
.ham-btn.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.ham-btn.open span:nth-child(2) { opacity: 0; width: 0; }
.ham-btn.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mob-menu {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: var(--black);
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  padding: 56px 40px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .45s var(--ease);
}
.mob-menu.open {
  opacity: 1;
  pointer-events: all;
}
.mob-menu__links {
  list-style: none;
  margin: 0 0 40px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.mob-menu__links a {
  font-size: clamp(40px, 13vw, 80px);
  font-weight: 400;
  letter-spacing: -.01em;
  line-height: 1.1;
  color: var(--white);
  opacity: 0.80;
  text-decoration: none;
  display: block;
}
.mob-menu__links a.active { opacity: 1; color: var(--yellow); }


/* ═══════════════════════════════════════════════════════════
   MOBILE: GIF REEL PILL (top-left corner on mobile)
   The rounded rectangle with your reel.gif, fixed top-left.
   Shown ONLY on mobile (hidden on desktop/tablet).
   Clicking it goes to the home page.

   To change:
     • Size          → .mob-reel { width: / height: }
     • Position      → .mob-reel { top: / left: }
     • Corner radius → .mob-reel { border-radius: }
   ═══════════════════════════════════════════════════════════ */
/* Reel pill — hidden by default, shown only on mobile */
.mob-reel {
  display: none;
  position: fixed;
  top: 20px;
  left: 20px;
  z-index: 1100;
  width: 88px;
  height: 56px;
  border-radius: 20px;
  overflow: hidden;
  background: #d0d0d0;
}
.mob-reel a { display: block; width: 100%; height: 100%; }
.mob-reel img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}

/* ── Switch: at 768px hide desktop nav, show mobile elements ── */
@media (max-width: 768px) {
  .bottom-nav { display: none !important; } /* hide the pill nav bar */
  .ham-btn    { display: flex; }            /* show hamburger button */
  .mob-menu   { display: flex; }            /* show mobile menu overlay */
  .mob-reel   { display: block; }           /* show GIF pill top-left */
}

/* ╔═══════════════════════════════════════════════════════════╗
   ║   PROJECT PAGES — TABLET  (601px – 900px)                ║
   ║   Controls layout of individual project case studies.    ║
   ╚═══════════════════════════════════════════════════════════╝ */
@media (max-width: 900px) {
  /* ── TABLET PROJECT: Info block (title, meta, text) */
  .pm-info { padding: 80px 32px 60px; }           /* top | sides | bottom spacing */
  .pm-info__body { grid-template-columns: 1fr; gap: 48px; } /* stack meta + text vertically */

  /* ── TABLET PROJECT: Image modules layout */
  .pm-modules { padding: 0 12px 80px; gap: 12px; }   /* outer padding, gap between images */
  .pm-mod--2col,
  .pm-mod--asymL,
  .pm-mod--asymR { grid-template-columns: 1fr 1fr; }  /* keep 2-col on tablet */
  .pm-mod--text { padding: 60px 32px; }               /* editorial text block padding */
}

/* ╔═══════════════════════════════════════════════════════════╗
   ║   PROJECT PAGES — MOBILE  (≤ 600px phones)               ║
   ║   Stacks all image columns to single column.             ║
   ╚═══════════════════════════════════════════════════════════╝ */
@media (max-width: 600px) {

  /* ── MOBILE PROJECT: Hero Banner Image at top of project page */
  .pm-hero img { height: 55vw; min-height: 260px; } /* ← banner image height */

  /* ── MOBILE PROJECT: Info block (title + meta + text paragraphs) */
  .pm-info { padding: 48px 20px 40px; }              /* top | sides | bottom */
  .pm-info__header { flex-direction: column; align-items: flex-start; gap: 8px; }
  .pm-info__title { font-size: clamp(40px, 12vw, 72px); } /* ← project title size */
  .pm-info__body { grid-template-columns: 1fr; gap: 32px; } /* single column layout */

  /* ── MOBILE PROJECT: Image module gaps */
  .pm-modules { padding: 0 8px 60px; gap: 8px; }    /* outer padding | gap between images */

  /* ── MOBILE PROJECT: All multi-column layouts → single column */
  .pm-mod--2col,
  .pm-mod--3col,
  .pm-mod--asymL,
  .pm-mod--asymR { grid-template-columns: 1fr; gap: 8px; } /* ← 1fr = full width, stacked */

  /* ── MOBILE PROJECT: Image heights in multi-column modules */
  .pm-mod--2col img,
  .pm-mod--3col img,
  .pm-mod--asymL img,
  .pm-mod--asymR img { height: 56vw; min-height: 200px; } /* ← image height (56% of screen width) */

  /* ── MOBILE PROJECT: Full-bleed image height */
  .pm-mod--full img { height: 60vw; min-height: 240px; }  /* ← full-width image height */

  /* ── MOBILE PROJECT: Editorial text blocks */
  .pm-mod--text { padding: 48px 20px; }              /* top/bottom | left/right padding */
  .pm-editorial blockquote { font-size: clamp(22px, 6vw, 32px); } /* ← quote text size */
  .pm-text-block p { font-size: 16px; }              /* ← body paragraph text size */
}