/* ============================================
   PORTFOLIO — WARM PASTEL THEME
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Syne:wght@400;500;600;700&family=Yesteryear&display=swap');

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

:root {
  --accent:       #5b8fa8;
  --accent-dim:   rgba(91, 143, 168, 0.35);
  --accent-glow:  rgba(91, 143, 168, 0.12);
  --bg:           #faf7f2;
  --bg-card:      #f2ede5;
  --bg-card-alt:  #ede7de;
  --bg-nav:       rgba(250, 247, 242, 0.96);
  --text-primary: #28211a;
  --text-muted:   #6b5f55;
  --text-dim:     #a8998e;
  --border:       rgba(40, 33, 26, 0.1);
  --border-hover: rgba(91, 143, 168, 0.4);
  --sans:         'Syne', sans-serif;
  --serif:        'Syne', sans-serif;
  --script:       'Yesteryear', cursive;
  --gap:          3px;
  --transition:   0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

html { }

body {
  background: var(--bg);
  color: var(--text-primary);
  font-family: var(--sans);
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

img, video {
  display: block;
  width: 100%;
}

/* ── SCRIPT ACCENT ─────────────────────────── */
.script-accent {
  font-family: var(--script);
  font-style: normal;
  font-weight: 400;
  color: var(--accent);
  font-size: 1.3em;
  white-space: nowrap;
  position: relative;
  display: inline-block;
  line-height: 1;
  margin-top: 0.1em;
  letter-spacing: 0.02em;
}

.script-accent::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 18px;
 background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 12' preserveAspectRatio='none'%3E%3Cpath d='M2 8 C30 3, 60 11, 100 6 C140 1, 170 10, 198 5' stroke='%237ab8d4' stroke-width='2.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: 100% 100%;
}

/* ── CUSTOM CURSOR ─────────────────────────── */
* { cursor: none; }

.cursor {
  position: fixed;
  top: 0; left: 0;
  width: 10px; height: 10px;
  background: var(--accent);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: width 0.2s, height 0.2s, background 0.2s;
}

.cursor-ring {
  position: fixed;
  top: 0; left: 0;
  width: 36px; height: 36px;
  border: 1.5px solid var(--accent-dim);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition: width 0.3s, height 0.3s, border-color 0.3s;
}

body:has(a:hover) .cursor,
body:has(.work-card:hover) .cursor { width: 16px; height: 16px; }
body:has(a:hover) .cursor-ring,
body:has(.work-card:hover) .cursor-ring {
  width: 56px; height: 56px;
  border-color: var(--accent);
}

/* ── NAVIGATION ────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 48px;
  background: var(--bg-nav);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: padding var(--transition), box-shadow var(--transition);
}

.nav.scrolled {
  padding: 14px 48px;
  box-shadow: 0 2px 20px rgba(40, 33, 26, 0.06);
}

.nav-logo {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 400;
  letter-spacing: 0.06em;
  color: var(--text-primary);
}

.nav-logo span {
  color: var(--accent);
  font-style: italic;
}

.nav-links {
  display: flex;
  gap: 36px;
  list-style: none;
}

.nav-links a {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color 0.3s;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 2px;
  background: var(--accent);
  border-radius: 2px;
  transition: width 0.3s;
}

.nav-links a:hover,
.nav-links a.active { color: var(--text-primary); }
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }

.nav-cta {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1.5px solid var(--accent-dim);
  padding: 8px 20px;
  border-radius: 40px;
  transition: background 0.3s, border-color 0.3s, color 0.3s;
}

.nav-cta:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

section[id] {
  scroll-margin-top: 80px;
}

/* ── HERO ──────────────────────────────────── */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  overflow: hidden;
}

.hero-video-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-video-wrap video {
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 1;
}

.hero-video-wrap .hero-fallback {
  display: none;
}

.hero-grain {
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 180px;
  pointer-events: none;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(
    to top,
    rgba(9, 9, 9, 0.88) 0%,
    rgba(9, 9, 9, 0.4) 25%,
    rgba(9, 9, 9, 0.0) 60%,
    rgba(9, 9, 9, 0.0) 100%
  );
}

.hero-overlay::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(9, 9, 9, 0.5) 0%,
    transparent 30%,
    transparent 70%,
    rgba(9, 9, 9, 0.5) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 3;
  padding: 0 48px 72px;
  max-width: 820px;
  text-align: left;
  width: auto;
}

.hero-eyebrow {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: #7ab8d4;
  margin-bottom: 0.8em;
  opacity: 0;
  transform: translateY(16px);
}

.hero-title {
  font-family: var(--serif);
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: #faf7f2;
  opacity: 0;
  transform: translateY(20px);
}

.hero-title em {
  font-style: italic;
  color: #7ab8d4;
}

.hero-subtitle {
  justify-content: flex-start;
}

.hero-subtitle::before {
  display: block;
}

.hero-scroll-cue {
  position: absolute;
  bottom: 32px;
  right: 48px;
  left: auto;
  transform: none;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  opacity: 0;
  margin-top: 0;
}

.scroll-line {
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, #7ab8d4, transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

.scroll-label {
  font-size: 9px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: #7ab8d4;
  writing-mode: vertical-lr;
  opacity: 0.7;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.4; transform: scaleY(1); }
  50%       { opacity: 1;   transform: scaleY(1.1); }
}

.reel-badge {
  position: absolute;
  bottom: 60px;
  right: 100px;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(250, 247, 242, 0.7);
  opacity: 0;
  background: none;
  border: none;
  padding: 0;
  font-family: var(--sans);
}

.reel-play {
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(91, 143, 168, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.3s, background 0.3s;
}

.reel-play:hover {
  border-color: #7ab8d4;
  background: rgba(91, 143, 168, 0.15);
}

.reel-play svg {
  width: 14px; height: 14px;
  fill: #7ab8d4;
  margin-left: 2px;
}

/* ── SECTION SHARED ────────────────────────── */
.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.8em 48px 1.2em;
}

.section-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-dim);
  display: flex;
  align-items: center;
  gap: 14px;
}

.section-label::before {
  content: '';
  display: block;
  width: 24px; height: 2px;
  background: var(--accent-dim);
  border-radius: 2px;
}

.section-link {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  transition: opacity 0.3s;
  display: flex;
  align-items: center;
  gap: 8px;
}

.section-link:hover { opacity: 0.7; }

.section-link svg {
  width: 14px; height: 14px;
  stroke: var(--accent);
  fill: none;
  transition: transform 0.3s;
}

.section-link:hover svg { transform: translateX(4px); }

/* ── VIDEO WORK GRID ───────────────────────── */
.work-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr;
  grid-template-rows: auto auto;
  gap: var(--gap);
  background: var(--bg-card-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.work-card {
  position: relative;
  overflow: hidden;
  background: var(--bg-card);
  cursor: none;
  display: flex;
  flex-direction: column;
}

.work-card.featured {
  grid-row: 1 / 3;
}

.work-card-thumb {
  position: relative;
  overflow: hidden;
  flex: 1;
}

.work-card.featured .work-card-thumb {
  min-height: 480px;
}

.work-card:not(.featured) .work-card-thumb {
  min-height: 200px;
}

.work-card-thumb::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 1;
  transition: opacity var(--transition);
}

.work-card:nth-child(1) .work-card-thumb::before { background: radial-gradient(ellipse at 60% 40%, #d4e8f0 0%, #b8d4e0 60%, #a0c0d0 100%); }
.work-card:nth-child(2) .work-card-thumb::before { background: radial-gradient(ellipse at 40% 60%, #e8d4c0 0%, #d4bca8 60%, #c0a890 100%); }
.work-card:nth-child(3) .work-card-thumb::before { background: radial-gradient(ellipse at 50% 50%, #d4e0d4 0%, #b8ccb8 60%, #a0b8a0 100%); }
.work-card:nth-child(4) .work-card-thumb::before { background: radial-gradient(ellipse at 30% 70%, #e0d4e8 0%, #ccb8d4 60%, #b8a0c4 100%); }
.work-card:nth-child(5) .work-card-thumb::before { background: radial-gradient(ellipse at 70% 30%, #f0e8d0 0%, #dcd0b0 60%, #c8b890 100%); }

.work-card-thumb img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.work-card:hover .work-card-thumb img { transform: scale(1.04); }

.play-btn {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.play-circle {
  width: 52px; height: 52px;
  border-radius: 50%;
  border: 1.5px solid rgba(91, 143, 168, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(250, 247, 242, 0.6);
  backdrop-filter: blur(4px);
  transition: border-color 0.3s, transform 0.3s, background 0.3s;
}

.work-card.featured .play-circle { width: 68px; height: 68px; }

.play-circle svg {
  width: 16px; height: 16px;
  fill: var(--accent);
  margin-left: 3px;
}

.work-card.featured .play-circle svg { width: 20px; height: 20px; }

.work-card:hover .play-circle {
  border-color: var(--accent);
  background: rgba(91, 143, 168, 0.15);
  transform: scale(1.1);
}

.work-card-thumb::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(91, 143, 168, 0.08);
  opacity: 0;
  transition: opacity var(--transition);
  z-index: 1;
}

.work-card:hover .work-card-thumb::after { opacity: 1; }

.work-card-info {
  padding: 14px 18px 16px;
  background: var(--bg);
  border-top: 1px solid var(--border);
  position: relative;
  z-index: 3;
}

.work-card-tag {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.5em;
}

.work-card-title {
  font-family: var(--serif);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.3;
  color: var(--text-muted);
  transition: color 0.3s;
}

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

.work-card:hover .work-card-title { color: var(--text-primary); }

.work-card-info::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 2px;
  background: var(--accent);
  transition: width 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  border-radius: 2px;
}

.work-card:hover .work-card-info::after { width: 100%; }

/* ── DESIGN GRID ───────────────────────────── */
.design-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(2, 240px);
  gap: var(--gap);
  background: var(--bg-card-alt);
  border-bottom: 1px solid var(--border);
}

.design-card:nth-child(1) { grid-column: 1 / 2; grid-row: 1 / 2; }
.design-card:nth-child(2) { grid-column: 3 / 4; grid-row: 1 / 3; }
.design-card:nth-child(3) { grid-column: 4 / 5; grid-row: 1 / 2; }
.design-card:nth-child(4) { grid-column: 1 / 2; grid-row: 2 / 3; }
.design-card:nth-child(5) { grid-column: 2 / 3; grid-row: 2 / 3; }
.design-card:nth-child(6) { grid-column: 4 / 5; grid-row: 2 / 3; }
.design-card:nth-child(7) { grid-column: 2 / 3; grid-row: 1 / 2; }

.design-card {
  position: relative;
  overflow: hidden;
  background: var(--bg-card);
  cursor: none;
}

.design-card-thumb {
  position: absolute;
  inset: 0;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.design-card:hover .design-card-thumb { transform: scale(1.04); }

.d-thumb-a { background: radial-gradient(ellipse at 40% 40%, #d4e8f0 0%, #b0ccd8 100%); }
.d-thumb-b { background: radial-gradient(ellipse at 60% 30%, #f0e4d0 0%, #d8c4a8 100%); }
.d-thumb-c { background: radial-gradient(ellipse at 50% 60%, #d8ead8 0%, #b4ccb4 100%); }
.d-thumb-d { background: radial-gradient(ellipse at 40% 70%, #ead8f0 0%, #ccb4d8 100%); }
.d-thumb-e { background: radial-gradient(ellipse at 70% 40%, #f0e8d0 0%, #d8ccac 100%); }
.d-thumb-f { background: radial-gradient(ellipse at 30% 50%, #d0e8e8 0%, #b0ccd0 100%); }
.d-thumb-g { background: radial-gradient(ellipse at 60% 60%, #f0d8d8 0%, #d8b4b4 100%); }

.design-card-thumb img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.design-card-overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 16px;
  background: linear-gradient(to top, rgba(250,247,242,0.95) 0%, transparent 100%);
  transform: translateY(8px);
  opacity: 0;
  transition: opacity 0.4s, transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  z-index: 2;
}

.design-card:hover .design-card-overlay {
  opacity: 1;
  transform: translateY(0);
}

.design-card-tag {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.5em;
}

.design-card-title {
  font-family: var(--sans);
  font-size: 18px;
  font-weight: 400;
  color: var(--text-primary);
}

.design-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 2px solid var(--accent-dim);
  opacity: 0;
  transition: opacity 0.4s;
  z-index: 3;
  pointer-events: none;
}

.design-card:hover::after { opacity: 1; }

/* ── ABOUT STRIP ───────────────────────────── */
.about-strip {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-top: 80px;
  background: var(--bg-card);
}

.about-strip-text {
  padding: 64px;
  border-right: 1px solid var(--border);
}

.about-eyebrow {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.75em;
  display: flex;
  align-items: center;
  gap: 12px;
}

.about-eyebrow::before {
  content: '';
  display: block;
  width: 20px; height: 2px;
  background: var(--accent-dim);
  border-radius: 2px;
}

.about-title {
  font-family: var(--sans);
  font-size: clamp(28px, 3.5vw, 46px);
  font-weight: 600;
  line-height: 1.1;
  color: var(--text-primary);
  margin-bottom: 0.7em;
}

.about-title em { font-style: italic; color: var(--accent); }

.about-body {
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.7;
  color: var(--text-muted);
  max-width: 480px;
  margin-bottom: 1.5em;
}

.about-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1.5px solid var(--accent-dim);
  padding: 10px 24px;
  border-radius: 40px;
  transition: background 0.3s, border-color 0.3s, color 0.3s;
}

.about-btn:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.about-btn svg {
  width: 14px; height: 14px;
  stroke: currentColor; fill: none;
  transition: transform 0.3s;
}

.about-btn:hover svg { transform: translateX(4px); }

.about-strip-stats {
  padding: 64px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 36px;
}

.stat-item {
  border-top: 1px solid var(--border);
  padding-top: 0.75em;
}

.stat-number {
  font-family: var(--serif);
  font-size: clamp(36px, 4.5vw, 58px);
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1;
  letter-spacing: -0.02em;
}

.stat-number em {
  font-style: italic;
  color: var(--accent);
  font-size: 0.6em;
}

.stat-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-top: 0.4em;
}

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

.footer-logo {
  font-family: var(--serif);
  font-size: 16px;
  color: var(--text-muted);
}

.footer-logo span { color: var(--accent); font-style: italic; }

.footer-links {
  display: flex;
  gap: 28px;
  list-style: none;
}

.footer-links a {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-dim);
  transition: color 0.3s;
}

.footer-links a:hover { color: var(--accent); }

.footer-copy {
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--text-dim);
}

/* ── REEL MODAL ────────────────────────────── */
.reel-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reel-modal.open {
  opacity: 1;
  pointer-events: all;
}

.reel-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(40, 33, 26, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.reel-modal-content {
  position: relative;
  z-index: 2;
  width: 90vw;
  max-width: 1100px;
  transform: scale(0.95) translateY(20px);
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reel-modal.open .reel-modal-content {
  transform: scale(1) translateY(0);
}

.reel-modal-close {
  position: absolute;
  top: -44px;
  right: 0;
  background: none;
  border: none;
  color: rgba(250,247,242,0.7);
  cursor: none;
  padding: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: color 0.3s;
}

.reel-modal-close:hover { color: #faf7f2; }
.reel-modal-close svg { width: 18px; height: 18px; }

.reel-modal-frame {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  border: 1px solid rgba(250,247,242,0.15);
}

.reel-modal-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

/* ── DESIGN MODAL ──────────────────────────── */
.design-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.design-modal.open {
  opacity: 1;
  pointer-events: all;
}

.design-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(40, 33, 26, 0.8);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.design-modal-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 300px;
  width: 90vw;
  max-width: 1100px;
  max-height: 85vh;
  border: 1px solid var(--border);
  transform: scale(0.95) translateY(20px);
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  overflow: hidden;
  border-radius: 12px;
}

.design-modal.open .design-modal-content {
  transform: scale(1) translateY(0);
}

.design-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: rgba(250,247,242,0.9);
  border: 1px solid var(--border);
  color: var(--text-muted);
  cursor: none;
  padding: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  border-radius: 50%;
  transition: color 0.3s, background 0.3s;
}

.design-modal-close:hover {
  color: var(--text-primary);
  background: #fff;
}

.design-modal-close svg { width: 18px; height: 18px; }

.design-modal-image {
  position: relative;
  min-height: 400px;
  overflow: hidden;
  background: var(--bg-card);
}

.design-modal-thumb {
  position: absolute;
  inset: 0;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.design-modal-image:hover .design-modal-thumb { transform: scale(1.02); }

/* ── KEY FIX: top-aligned, tight padding, no justify-content center ── */
.design-modal-info {
  padding: 52px 20px 24px;
  background: var(--bg);
  border-left: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  overflow-y: auto;
}

.design-modal-tag {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.75em;
  display: flex;
  align-items: center;
  gap: 10px;
}

.design-modal-tag::before {
  content: '';
  display: block;
  width: 16px; height: 2px;
  background: var(--accent-dim);
  border-radius: 2px;
  flex-shrink: 0;
}

.design-modal-title {
  font-family: var(--sans);
  font-size: 28px;
  font-weight: 400;
  color: var(--text-primary);
  line-height: 1.2;
  margin-bottom: 0.25em;
}

.design-modal-desc {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.75;
  color: var(--text-muted);
}

/* ── VIDEO MODAL ───────────────────────────── */
.video-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.video-modal.open {
  opacity: 1;
  pointer-events: all;
}

.video-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(40, 33, 26, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.video-modal-content {
  position: relative;
  z-index: 2;
  width: 90vw;
  max-width: 1100px;
  transform: scale(0.95) translateY(20px);
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.video-modal-role {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-top: 0.75em;
  padding-top: 0.75em;
  border-top: 1px solid rgba(250,247,242,0.15);
}

.video-modal.open .video-modal-content {
  transform: scale(1) translateY(0);
}

.video-modal-close {
  position: absolute;
  top: -44px;
  right: 0;
  background: none;
  border: none;
  color: rgba(250,247,242,0.7);
  cursor: none;
  padding: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: color 0.3s;
}

.video-modal-close:hover { color: #faf7f2; }
.video-modal-close svg { width: 20px; height: 20px; }

.video-modal-frame {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  border: 1px solid rgba(250,247,242,0.15);
  background: #000;
  border-radius: 8px;
  overflow: hidden;
}

.video-modal-frame iframe,
.video-modal-frame video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.video-modal-frame.no-video::after {
  content: 'Video coming soon';
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.video-modal-info {
  padding: 0.75em 0 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.video-modal-tag {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--accent);
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 0.6em;
}

.video-modal-tag::before {
  content: '';
  display: block;
  width: 16px; height: 2px;
  background: var(--accent-dim);
  border-radius: 2px;
  flex-shrink: 0;
}

.video-modal-title {
  font-family: var(--sans);
  font-size: 22px;
  font-weight: 600;
  color: #faf7f2;
  line-height: 1.2;
  margin-bottom: 0.5em;
}

.video-modal-desc {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.7;
  color: rgba(250,247,242,0.6);
  max-width: 700px;
}

/* ── ABOUT MODAL ───────────────────────────── */
.about-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.about-modal.open {
  opacity: 1;
  pointer-events: all;
}

.about-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(40, 33, 26, 0.8);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.about-modal-content {
  position: relative;
  z-index: 2;
  width: 90vw;
  max-width: 1100px;
  max-height: 88vh;
  overflow-y: auto;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  transform: scale(0.95) translateY(20px);
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.about-modal.open .about-modal-content {
  transform: scale(1) translateY(0);
}

.about-modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-muted);
  cursor: none;
  padding: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  border-radius: 50%;
  transition: color 0.3s, background 0.3s;
}

.about-modal-close:hover {
  color: var(--text-primary);
  background: var(--bg-card-alt);
}

.about-modal-close svg { width: 18px; height: 18px; }

.about-modal-inner {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 40px;
  padding: 40px 44px;
  align-items: start;
}

.about-photo-col {
  position: sticky;
  top: 20px;
}

.about-photo-wrap {
  position: relative;
  display: inline-block;
  width: 100%;
}

.about-photo {
  width: 100%;
  display: block;
  border-radius: 12px;
  filter: grayscale(15%);
  transition: filter 0.5s;
}

.about-photo-wrap:hover .about-photo {
  filter: grayscale(0%);
}

.about-photo-accent {
  position: absolute;
  inset: 10px -10px -10px 10px;
  border: 2px solid var(--accent-dim);
  border-radius: 12px;
  z-index: -1;
  transition: border-color 0.4s;
}

.about-photo-wrap:hover .about-photo-accent {
  border-color: var(--accent);
}

.about-photo-caption {
  margin-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 3px;
  border-left: 2px solid var(--accent-dim);
  padding-left: 12px;
}

.about-photo-caption span:first-child {
  font-family: var(--serif);
  font-size: 15px;
  font-weight: 500;
  color: var(--text-primary);
}

.about-photo-caption span:last-child {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
}

.about-text-col {
  padding-top: 0;
}

.about-eyebrow {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.75em;
  display: flex;
  align-items: center;
  gap: 12px;
}

.about-eyebrow::before {
  content: '';
  display: block;
  width: 16px; height: 2px;
  background: var(--accent-dim);
  border-radius: 2px;
  flex-shrink: 0;
}

.about-full-title {
  font-family: var(--sans);
  font-size: clamp(24px, 2.8vw, 34px);
  font-weight: 600;
  line-height: 1.15;
  color: var(--text-primary);
  margin-bottom: 0.7em;
}

.about-full-title em {
  font-family: var(--script);
  font-style: normal;
  color: var(--accent);
  font-size: 1.05em;
}

.about-bio {
  display: flex;
  flex-direction: column;
  gap: 0.9em;
  margin-bottom: 1.2em;
}

.about-bio p {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.75;
  color: var(--text-muted);
}

.about-skills {
  margin-bottom: 1em;
  padding-top: 1em;
  border-top: 1px solid var(--border);
}

.about-skills-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 0.75em;
  display: flex;
  align-items: center;
  gap: 12px;
}

.about-skills-label::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

.about-skills-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.about-skills-list span {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1.5px solid var(--accent-dim);
  padding: 5px 12px;
  border-radius: 40px;
  transition: background 0.3s, border-color 0.3s, color 0.3s;
}

.about-skills-list span:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.about-ctas {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  padding-top: 1em;
  border-top: 1px solid var(--border);
}

.about-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #fff;
  background: var(--accent);
  padding: 10px 22px;
  border-radius: 40px;
  transition: opacity 0.3s, transform 0.2s;
}

.about-btn-primary:hover {
  opacity: 0.88;
  transform: translateY(-1px);
}

.about-btn-primary svg {
  width: 13px; height: 13px;
  stroke: currentColor; fill: none;
}

.about-socials {
  display: flex;
  align-items: center;
  gap: 10px;
}

.about-social-link {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color 0.3s;
}

.about-social-link:hover { color: var(--accent); }

.about-social-dot {
  width: 3px; height: 3px;
  border-radius: 50%;
  background: var(--text-dim);
}

/* ── HAMBURGER MENU ────────────────────────── */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: none;
  padding: 4px;
  z-index: 200;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

.hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
}

.hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--bg);
  z-index: 150;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 40px;
}

.mobile-menu.open {
  display: flex;
}

.mobile-menu a {
  font-family: var(--sans);
  font-size: 28px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-primary);
  transition: color 0.3s;
}

.mobile-menu a:hover { color: var(--accent); }

.mobile-menu-close {
  position: absolute;
  top: 24px;
  right: 24px;
  background: none;
  border: none;
  font-size: 28px;
  color: var(--text-muted);
  cursor: none;
}

/* ── MOBILE BREAKPOINT ─────────────────────── */
@media (max-width: 768px) {

  /* Nav */
  .nav { padding: 16px 20px; }
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .hamburger { display: flex; }

  /* Hero */
  .hero-content { padding: 0 24px 56px; }

  .hero-title {
    font-size: clamp(28px, 8vw, 48px);
    line-height: 1.1;
  }

  .script-accent {
    font-size: 1.6em;
  }

  .hero-eyebrow {
    font-size: 10px;
    letter-spacing: 0.2em;
  }

  .hero-subtitle {
    font-size: 10px;
    letter-spacing: 0.15em;
  }

  .hero-scroll-cue {
    right: 20px;
    bottom: 20px;
  }

  /* Section headers */
  .section-header { padding: 24px 16px 16px; }

  /* Video grid — single column */
  .work-grid {
    grid-template-columns: 1fr;
    border-top: none;
  }

  .work-card.featured {
    grid-column: auto;
    grid-row: auto;
  }

  .work-card.featured .work-card-thumb {
    min-height: 240px;
  }

  .work-card:not(.featured) .work-card-thumb {
    min-height: 180px;
  }

  /* Design grid — 2 equal columns */
  .design-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: none;
    grid-auto-rows: 160px;
  }

  .design-card:nth-child(1) { grid-column: auto; grid-row: auto; }
  .design-card:nth-child(2) { grid-column: auto; grid-row: auto; }
  .design-card:nth-child(3) { grid-column: auto; grid-row: auto; }
  .design-card:nth-child(4) { grid-column: auto; grid-row: auto; }
  .design-card:nth-child(5) { grid-column: auto; grid-row: auto; }
  .design-card:nth-child(6) { grid-column: auto; grid-row: auto; }
  .design-card:nth-child(7) { grid-column: auto; grid-row: auto; }

  /* About strip */
  .about-strip {
    grid-template-columns: 1fr;
    margin-top: 0;
  }

  .about-strip-text {
    padding: 40px 20px;
    border-right: none;
    border-bottom: 1px solid var(--border);
  }

  .about-strip-stats { padding: 40px 20px; gap: 24px; }

  /* Design modal — stack vertically */
  .design-modal-content {
    grid-template-columns: 1fr;
    grid-template-rows: 260px auto;
    max-height: 90vh;
    width: 95vw;
    border-radius: 12px;
  }

  .design-modal-image {
    min-height: 260px;
  }

  .design-modal-info {
    padding: 20px 16px;
    border-left: none;
    border-top: 1px solid var(--border);
  }

  /* Video modal */
  .video-modal-content {
    width: 95vw;
  }

  .video-modal-title { font-size: 18px; }
  .video-modal-desc { font-size: 12px; }

  /* About modal — fix sticky photo overlap */
  .about-modal-content {
    width: 95vw;
    max-height: 92vh;
    border-radius: 12px;
  }

  .about-modal-inner {
    grid-template-columns: 1fr;
    padding: 20px 16px;
    gap: 20px;
  }

  .about-photo-col {
    position: relative;
    top: auto;
    max-width: 200px;
    margin: 0 auto;
  }

  .about-photo-accent {
    display: none;
  }

  .about-full-title {
    font-size: 24px;
  }

  .about-bio p { font-size: 13px; }

  /* Footer */
  .footer {
    flex-direction: column;
    gap: 16px;
    text-align: center;
    padding: 28px 20px;
  }

  /* Hide custom cursor on touch */
  .cursor, .cursor-ring { display: none; }
  * { cursor: auto; }
}