/* ============================================================
   Amy Shin — Portfolio site (replica of funny-look-279196.framer.app)
   "Nuance" template skin: cream + teal grid + brand red #F21317
   Shared by: index.html, about.html, case-onboarding.html
   ============================================================ */

:root {
  --bg: #faf8ee;              /* main cream */
  --surface: #faf9f5;         /* card cream */
  --surface-2: #efeee6;       /* chip / muted surface */
  --surface-3: #f4f3ee;       /* testimonial card */
  --text: #1a1c1c;
  --text-2: #454747;
  --text-3: #5d5f5f;
  --muted: #909191;
  --brand-red: #f21317;
  --accent-red: #e32e25;      /* ticker dots */
  --border: #c6c6c6;
  --border-soft: rgba(26, 28, 28, 0.08);
  --grid-line: rgba(90, 158, 224, 0.18);  /* sky-blue graph paper */
  --footer-bg: #141414;
  --footer-text: #aaabab;
  --radius: 16px;
  --radius-sm: 10px;
  --max-width: 1200px;
  --font-display: 'Instrument Serif', Georgia, serif;
  --font-body: 'Instrument Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'Space Grotesk', var(--font-body);
}

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

body {
  font-family: var(--font-body);
  background-color: var(--bg);
  background-image:
    repeating-linear-gradient(0deg, var(--grid-line) 0px, var(--grid-line) 1px, transparent 1px, transparent 16px),
    repeating-linear-gradient(90deg, var(--grid-line) 0px, var(--grid-line) 1px, transparent 1px, transparent 16px);
  color: var(--text);
  line-height: 1.6;
  font-size: 16px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--brand-red); color: #fff; }
a { color: inherit; }

/* --- PROGRESS --- */
.progress {
  position: fixed; top: 0; left: 0; height: 3px;
  background: var(--brand-red); width: 0%; z-index: 1001;
  transition: width 0.05s linear;
}

/* --- NAV --- */
.nav {
  position: fixed; top: 18px; left: 50%; transform: translateX(-50%);
  width: calc(100% - 64px); max-width: var(--max-width);
  padding: 10px 12px 10px 22px;
  display: flex; justify-content: space-between; align-items: center;
  z-index: 900;
  background: rgba(250, 248, 238, 0.85);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: 100px;
}
.nav-logo {
  font-family: var(--font-body); font-size: 17px; font-weight: 600;
  color: var(--text); text-decoration: none; letter-spacing: -0.01em;
}
.nav-logo em { font-style: normal; color: var(--brand-red); }
.nav-links { display: flex; gap: 8px; list-style: none; align-items: center; }
.nav-links a {
  font-size: 14px; font-weight: 500; color: var(--text);
  text-decoration: none; transition: all 0.2s;
  padding: 9px 18px; border: 1px solid var(--border); border-radius: 100px;
  background: var(--bg);
}
.nav-links a:hover, .nav-links a.current { border-color: var(--brand-red); color: var(--brand-red); }
.nav-cta { display: inline-flex; align-items: center; gap: 8px; }
.nav-cta::before {
  content: ''; width: 8px; height: 8px; border-radius: 50%;
  background: var(--brand-red); box-shadow: 0 0 0 3px rgba(242,19,23,0.15);
}

/* --- SHARED SECTION LAYOUT --- */
.section { padding: 110px 32px; position: relative; }
.section-inner { max-width: var(--max-width); margin: 0 auto; }
.eyebrow {
  font-size: 12px; font-weight: 600; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--text-3); margin-bottom: 18px;
}
.section-title {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(38px, 5.5vw, 68px); line-height: 1.05;
  letter-spacing: -0.02em; margin-bottom: 18px; max-width: 860px;
}
.section-title em { font-style: italic; color: var(--brand-red); }
.section-desc { font-size: 18px; color: var(--text-2); max-width: 620px; line-height: 1.6; }

/* --- HOME HERO --- */
.hero {
  min-height: 92vh; display: flex; flex-direction: column;
  align-items: center; justify-content: center; text-align: center;
  padding: 150px 32px 40px; position: relative;
}
.hero h1 {
  font-family: var(--font-display); font-weight: 400; color: var(--brand-red);
  font-size: clamp(44px, 8.5vw, 108px); line-height: 1.0;
  letter-spacing: -0.03em; max-width: 1320px;
}
.hero h1 em { font-style: italic; }
.hero-eyebrow {
  font-size: 12px; font-weight: 600; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--brand-red); margin-top: 34px;
  opacity: 0; animation: fadeUp 0.8s ease 0.9s forwards;
}
.hero .smile {
  display: inline-block; width: 62px; height: 34px; vertical-align: middle;
  margin: 0 6px; border: 3px solid var(--brand-red); border-top: none;
  border-radius: 0 0 60px 60px; position: relative;
}
.hero .smile::before, .hero .smile::after {
  content: ''; position: absolute; top: -14px; width: 6px; height: 6px;
  border-radius: 50%; background: var(--brand-red);
}
.hero .smile::before { left: 14px; } .hero .smile::after { right: 14px; }
.hero h1 .word { display: inline-block; opacity: 0; transform: translateY(14px);
  animation: fadeUp 0.7s cubic-bezier(0.16,1,0.3,1) forwards; }

/* --- ANIMATED GRADIENT BOXES IN HEADLINE --- */
.hero h1 .gbox {
  display: inline-block; vertical-align: middle; margin: 0 clamp(8px, 1.2vw, 16px);
  width: clamp(84px, 11vw, 128px); height: clamp(38px, 5vw, 56px);
  border-radius: 0; opacity: 0; transform: translateY(16px);
  background-size: 300% 300%;
  animation: fadeUp 0.7s cubic-bezier(0.16,1,0.3,1) forwards,
             gboxFlow 6s ease-in-out infinite;
  will-change: background-position, transform;
}
.hero h1 .gbox-a { background-image: linear-gradient(115deg, #f2803a, #ef6b4d, #4fb0b8, #3a55b0, #f2803a); }
.hero h1 .gbox-b { background-image: linear-gradient(115deg, #4fb0b8, #f2803a, #3a55b0, #ef6b4d, #4fb0b8); }
@keyframes gboxFlow {
  0%,100% { background-position: 0% 50%; }
  50%     { background-position: 100% 50%; }
}
@media (prefers-reduced-motion: reduce) {
  .hero h1 .gbox { animation: fadeUp 0.7s ease forwards; }
}

/* --- TICKER --- */
.ticker { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  overflow: hidden; background: var(--bg); padding: 18px 0; }
.ticker-track { display: flex; gap: 0; width: max-content; animation: scrollX 60s linear infinite; }
.ticker-item { display: flex; align-items: center; gap: 12px; padding: 0 40px;
  border-left: 1px solid var(--border); white-space: nowrap; font-weight: 500; font-size: 15px; }
.ticker-item .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--accent-red); }

/* --- SERVICE CARDS --- */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px;
  border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden;
  margin-top: 48px; background: var(--border); }
.service-card { background: var(--surface); padding: 34px 28px; }
.service-card .ic { width: 54px; height: 54px; border: 1px solid var(--border); border-radius: 12px;
  display: flex; align-items: center; justify-content: center; margin-bottom: 22px; position: relative; }
.service-card .ic::before, .service-card .ic::after,
.service-card .ic i::before, .service-card .ic i::after {
  content: ''; position: absolute; width: 9px; height: 9px; border-color: var(--accent-red); border-style: solid; }
.service-card .ic::before { top: 6px; left: 6px; border-width: 2px 0 0 2px; }
.service-card .ic::after { top: 6px; right: 6px; border-width: 2px 2px 0 0; }
.service-card .ic i { position: absolute; inset: 0; }
.service-card .ic i::before { bottom: 6px; left: 6px; border-width: 0 0 2px 2px; }
.service-card .ic i::after { bottom: 6px; right: 6px; border-width: 0 2px 2px 0; }
.service-card .ic svg { width: 24px; height: 24px; color: #001946; position: relative; z-index: 1; }

/* --- FLOATING DECORATIVE SHAPES (What I Do) --- */
.services-shapes { position: absolute; top: -10px; right: 0; width: 340px; height: 220px; pointer-events: none; z-index: 0; }
.shape { position: absolute; border: 1px solid var(--accent-red); display: flex; align-items: center; justify-content: center; }
.shape img { width: 118%; height: 118%; object-fit: contain; }
.shape-pyramid { width: 118px; height: 118px; right: 168px; top: 18px; animation: floatA 7s ease-in-out infinite; }
.shape-cylinder { width: 168px; height: 132px; right: 0; top: 58px; animation: floatB 8.5s ease-in-out infinite; }
@keyframes floatA { 0%,100% { transform: translateY(0) rotate(4deg); } 50% { transform: translateY(-15px) rotate(7deg); } }
@keyframes floatB { 0%,100% { transform: translateY(0) rotate(-6deg); } 50% { transform: translateY(13px) rotate(-3deg); } }
.service-card h3 { font-family: var(--font-body); font-size: 19px; font-weight: 600; margin-bottom: 12px; }
.service-card p { font-size: 15px; color: var(--text-2); line-height: 1.6; }

/* --- EXPERTISE (pale-yellow band + moving logo ticker) --- */
#expertise { padding-top: 80px; padding-bottom: 90px; }
/* Expertise title + logo ticker share one row */
.expertise-head { display: flex; align-items: center; gap: 48px; }
.expertise-title { flex: 0 0 auto; }
.expertise-title .section-title { margin-bottom: 0; }
.expertise-head .logo-ticker { flex: 1 1 auto; min-width: 0; margin: 0; }

.logo-ticker { overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); }
.logo-ticker-track { display: flex; gap: 20px; width: max-content; animation: scrollX 34s linear infinite; }
.logo-tile { width: 82px; height: 82px; flex-shrink: 0; background: rgba(255,255,255,0.7);
  border: 1px solid rgba(26,28,28,0.08); border-radius: 20px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  display: flex; align-items: center; justify-content: center; }
.logo-tile img { width: 46px; height: 46px; object-fit: contain; }

@media (max-width: 860px) {
  .expertise-head { flex-direction: column; align-items: flex-start; gap: 28px; }
  .expertise-head .logo-ticker { width: 100%; }
}

/* --- WORK GRID --- */
.work-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-top: 48px; }
.work-card { display: block; text-decoration: none; color: inherit;
  border-radius: var(--radius); overflow: hidden;
  background: var(--surface); padding: 16px;
  transition: transform 0.35s cubic-bezier(0.16,1,0.3,1); }
.work-card:hover { transform: translateY(-6px); }
.work-card.featured { grid-column: span 2; }
.work-thumb { position: relative; width: 100%; aspect-ratio: 16/10;
  background: var(--surface-2); border-radius: var(--radius-sm);
  overflow: hidden; display: flex; align-items: center; justify-content: center; }
.work-card.featured .work-thumb { aspect-ratio: 24/9; }
.work-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.work-thumb-fallback { font-family: var(--font-display); font-size: clamp(26px, 3.5vw, 46px);
  color: var(--brand-red); text-align: center; padding: 0 24px; line-height: 1.1; }
/* --- FEATURED COVER (Amazon) --- */
.cover-amazon { display: flex; align-items: stretch; background: linear-gradient(135deg, #fdeee2 0%, #faf8ee 58%); overflow: hidden; }
.cover-left { flex: 0 0 42%; display: flex; flex-direction: column; justify-content: center; gap: 16px; padding: 40px 34px; }
.cover-amazon .cover-logo { height: 30px; width: auto; align-self: flex-start; object-fit: contain; }
.cover-title { font-family: var(--font-display); font-weight: 400; font-size: clamp(26px, 3vw, 46px); line-height: 1.04; letter-spacing: -0.02em; color: var(--text); }
.cover-title em { font-style: italic; color: var(--brand-red); }
.cover-sub { font-size: 14px; line-height: 1.55; color: var(--text-2); max-width: 340px; }
.cover-right { flex: 1 1 auto; position: relative; display: flex; align-items: flex-end; justify-content: center; padding: 30px 26px 0; min-width: 0; }
.cover-right::before { content: ""; position: absolute; width: 300px; height: 300px; right: -50px; top: 6px;
  background: radial-gradient(circle, rgba(242,19,23,0.16), transparent 70%); pointer-events: none; }
.cover-right img { position: relative; width: 100%; height: 100%; object-fit: cover; object-position: top center;
  border-radius: 12px 12px 0 0; border: 1px solid var(--border); border-bottom: none;
  box-shadow: 0 22px 55px rgba(0,0,0,0.16); }
@media (max-width: 768px) {
  .cover-amazon { flex-direction: column; }
  .cover-left { flex: none; padding: 26px 24px 8px; }
  .cover-sub { max-width: none; }
  .cover-right { padding: 8px 20px 0; }
}
/* --- FRAMED THUMB (screenshot on a color panel w/ border + shadow) --- */
.work-thumb.thumb-framed { display: flex; align-items: center; justify-content: center; padding: 34px; position: relative; overflow: hidden; }
.work-thumb.thumb-google { background: linear-gradient(135deg, #d6ebff 0%, #eef6ff 62%); }
.work-thumb.thumb-google::before { content: ""; position: absolute; width: 300px; height: 300px; right: -60px; top: -40px;
  background: radial-gradient(circle, rgba(66,133,244,0.20), transparent 70%); pointer-events: none; }
.work-thumb.thumb-green { background: linear-gradient(135deg, #d8f0e0 0%, #eefaf1 62%); }
.work-thumb.thumb-green::before { content: ""; position: absolute; width: 300px; height: 300px; right: -60px; top: -40px;
  background: radial-gradient(circle, rgba(52,168,83,0.20), transparent 70%); pointer-events: none; }
.work-thumb.thumb-framed img { position: relative; width: auto; height: auto; max-width: 100%; max-height: 100%;
  object-fit: contain; border-radius: 10px; border: 1px solid rgba(26,28,28,0.12);
  box-shadow: 0 18px 42px rgba(0,0,0,0.18); }
.work-thumb.thumb-rose { background: linear-gradient(135deg, #ffe1e0 0%, #fff3f2 62%); }
.work-thumb.thumb-rose::before { content: ""; position: absolute; width: 300px; height: 300px; right: -60px; top: -40px;
  background: radial-gradient(circle, rgba(234,67,53,0.18), transparent 70%); pointer-events: none; }
/* Pervacio blue panel + stacked-deck cover (3 on-device app screens, cropped at bottom) */
.work-thumb.thumb-cyan { background: linear-gradient(135deg, #d3eefb 0%, #eef8fe 62%); position: relative; overflow: hidden; }
.work-thumb.thumb-cyan::before { content: ""; position: absolute; width: 300px; height: 300px; right: -60px; top: -40px;
  background: radial-gradient(circle, rgba(27,161,226,0.22), transparent 70%); pointer-events: none; z-index: 0; }
.work-thumb.cover-stack { display: block; padding: 0; }
/* portrait phone frames: size by height, fan out horizontally, bottoms crop flush */
.cover-stack .stk { position: absolute; height: 118%; width: auto; top: 14%; border-radius: 14px;
  border: 1px solid rgba(26,28,28,0.12); box-shadow: 0 14px 30px rgba(0,0,0,0.2); }
.cover-stack .stk-1 { left: 5%; z-index: 3; }
.cover-stack .stk-2 { left: 32%; top: 7%; z-index: 2; }
.cover-stack .stk-3 { left: 59%; top: 17%; z-index: 1; }

/* tall image: framed with space on top/left/right, but crop the bottom flush (no bottom padding) */
.work-thumb.thumb-crop { padding: 34px 34px 0; align-items: flex-start; }
.work-thumb.thumb-crop img { width: 100%; height: 100%; object-fit: cover; object-position: top center;
  border: 1px solid rgba(26,28,28,0.12); border-bottom: none;
  border-radius: 10px 10px 0 0; box-shadow: 0 18px 42px rgba(0,0,0,0.18); }
.work-thumb .locked-badge { position: absolute; top: 14px; right: 14px; font-size: 10px; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-3);
  background: var(--bg); border: 1px solid var(--border); padding: 5px 12px; border-radius: 100px; }
.work-meta { padding: 20px 6px 8px; }
.work-meta h3 { font-family: var(--font-body); font-size: 21px; font-weight: 600; margin-bottom: 14px;
  display: flex; align-items: center; gap: 14px; justify-content: space-between; padding-right: 12px; }
.work-logo { order: 2; height: 40px; width: auto; max-width: 160px; object-fit: contain; flex-shrink: 0; margin-right: 8px; }
.work-desc { font-family: 'Merriweather Sans', var(--font-body); font-size: 14px; color: var(--text-2); line-height: 1.5; margin-bottom: 14px; }
/* reserve top-right space for the logo on the FIRST line only; lines 2+ run full width */
.work-desc::before { content: ""; float: right; width: 96px; height: 1.5em; }
.work-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.work-tags span { font-size: 12px; color: var(--text); background: var(--surface-2);
  border: 1px solid var(--border); border-radius: 100px; padding: 6px 12px; }

/* --- BENTO / STATS --- */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 48px; }
.bento .cell { border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); padding: 26px; }
.bento .label { font-size: 11px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-3); margin-bottom: 14px; }
.bento .stat { font-family: var(--font-mono); font-size: 46px; font-weight: 600; line-height: 1; }
.bento .stat .plus { color: var(--accent-red); }
.bento h4 { font-size: 17px; font-weight: 600; margin: 10px 0 6px; }
.bento p { font-size: 14px; color: var(--text-2); line-height: 1.55; }
.bento .span-2 { grid-column: span 2; }
.bento .green { background: linear-gradient(294deg, #c9ffbd 0%, #fafafa 70%); }
.bento .green .stat { color: #00530d; }
.bar-row { margin: 12px 0; }
.bar-row .bl { font-size: 12px; font-weight: 600; letter-spacing: 0.06em; color: var(--text-3); margin-bottom: 6px; }
.bar { height: 8px; background: #e2e2e2; border-radius: 15px; overflow: hidden; }
.bar > span { display: block; height: 100%; background: var(--muted); border-radius: 15px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.chips span { font-size: 12px; color: var(--text-3); background: var(--surface-2); border: 1px solid var(--border); border-radius: 100px; padding: 6px 12px; }
.process { display: flex; justify-content: space-between; gap: 8px; margin-top: 14px; }
.process .step { flex: 1; text-align: center; font-size: 12px; font-weight: 600; color: var(--text-2); }
.process .step .num { display: block; width: 26px; height: 26px; margin: 0 auto 8px; border-radius: 50%;
  background: #00a825; color: #fff; line-height: 26px; font-size: 12px; }

/* --- TESTIMONIALS / CAREER --- */
.testi-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 48px; }
.testi { border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface-3); padding: 28px; }
.testi .head { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.testi .mark { width: 48px; height: 48px; border-radius: 12px; background: #fff;
  border: 1px solid var(--border); display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: 22px; color: var(--brand-red); overflow: hidden; flex-shrink: 0; }
.testi .mark img { width: 30px; height: 30px; object-fit: contain; }
.testi .org { font-size: 15px; font-weight: 600; }
.testi .role { font-size: 13px; color: var(--muted); }
.testi p { font-size: 15px; color: var(--text-2); line-height: 1.6; }

/* --- FAQ --- */
.faq { border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; margin-top: 40px; background: var(--surface); }
.faq details { border-top: 1px solid var(--border); }
.faq details:first-child { border-top: none; }
.faq summary { list-style: none; cursor: pointer; padding: 22px 26px; font-size: 18px; font-weight: 500;
  display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; color: var(--text-3); font-size: 22px; transition: transform 0.2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 26px 24px; font-size: 15px; color: var(--text-2); line-height: 1.6; max-width: 760px; }

/* --- ABOUT PAGE --- */
.about-hero { padding: 170px 32px 20px; }
.about-hero-inner { max-width: var(--max-width); margin: 0 auto; }
.about-hero h1 { font-family: var(--font-display); font-weight: 400;
  font-size: clamp(44px, 7vw, 88px); line-height: 1.03; letter-spacing: -0.03em; max-width: 900px; }
.about-hero h1 em { font-style: italic; color: var(--brand-red); }
.about-layout { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 56px; align-items: start; }
.about-portrait { width: 100%; aspect-ratio: 4/5; background: var(--surface); border: 1px dashed var(--border);
  border-radius: var(--radius); display: flex; align-items: center; justify-content: center; position: sticky; top: 120px; }
.about-portrait img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius); }
.about-portrait .ph-text { font-size: 12px; color: var(--muted); }
.about-body p { font-size: 18px; color: var(--text-2); line-height: 1.7; margin-bottom: 22px; }
.about-body p strong { color: var(--text); font-weight: 600; }
.about-block { margin-top: 44px; }
.about-block h4 { font-size: 11px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--brand-red); margin-bottom: 16px; }
.about-list { list-style: none; }
.about-list li { font-size: 15px; color: var(--text); padding: 12px 0; border-bottom: 1px solid var(--border-soft); display: flex; justify-content: space-between; gap: 24px; }
.about-list li:last-child { border-bottom: none; }
.about-list li span { color: var(--muted); font-size: 13px; text-align: right; }
.principle-list { list-style: none; }
.principle-list li { font-size: 15px; color: var(--muted); line-height: 1.65; padding: 14px 0; border-bottom: 1px solid var(--border-soft); }
.principle-list li:last-child { border-bottom: none; }
.principle-list li strong { color: var(--text); font-weight: 650; }
.about-note { font-size: 15px; color: var(--muted); line-height: 1.7; }
.about-note strong { color: var(--text); }

/* Beyond work: text left, 3 photos overlap like a scrapbook on the right — balanced two-column band */
.beyond-wall { display: grid; grid-template-columns: 0.72fr 1.28fr; gap: 32px;
  align-items: start; margin-top: 64px; }
.beyond-text { grid-column: 1; max-width: 400px; }
.scrapbook { grid-column: 2; position: relative; height: 300px; }
.snap { position: absolute; background: #fff; padding: 8px; border-radius: 2px;
  box-shadow: 0 8px 22px rgba(0,0,0,0.18); transition: transform .28s ease, box-shadow .28s ease; }
.snap img { display: block; width: 100%; height: auto; border-radius: 1px; }
.snap::before { content: ""; position: absolute; top: -9px; left: 50%; width: 48px; height: 18px;
  transform: translateX(-50%) rotate(-5deg); background: rgba(226,183,120,0.42);
  box-shadow: 0 1px 2px rgba(0,0,0,0.08); }
.snap.s1 { width: 150px; left: 0;    top: 44px; transform: rotate(-5deg); z-index: 9; }
.snap.s2 { width: 148px; left: 132px; top: 16px; transform: rotate(4deg);  z-index: 3; }
.snap.s3 { width: 152px; left: 262px; top: 58px; transform: rotate(-3deg); z-index: 8; }
.snap.s4 { width: 148px; left: 394px; top: 20px; transform: rotate(5deg);  z-index: 4; }
.snap.s5 { width: 150px; left: 524px; top: 62px; transform: rotate(-4deg); z-index: 7; }
.snap.s6 { width: 148px; left: 656px; top: 24px; transform: rotate(3deg);  z-index: 5; }
.snap:hover { transform: rotate(0deg) scale(1.06); box-shadow: 0 18px 40px rgba(0,0,0,0.26); z-index: 30; }
.tag-row { display: flex; flex-wrap: wrap; gap: 10px; }
.tag-pill { background: var(--surface-2); border: 1px solid var(--border); border-radius: 100px; padding: 8px 16px; font-size: 13px; font-weight: 500; }

/* --- FOOTER (pale yellow + red) --- */
.footer { background: #ebe8a3; color: var(--brand-red); margin-top: 80px;
  border-radius: 28px 28px 0 0; padding: 80px 40px 40px; }
.footer-inner { max-width: var(--max-width); margin: 0 auto; }
.footer-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 48px; flex-wrap: wrap; }
.footer h3 { font-family: var(--font-display); font-size: clamp(30px, 4vw, 52px); font-weight: 400; color: var(--brand-red); line-height: 1.1; margin-bottom: 28px; max-width: 560px; }
.footer h3 em { font-style: italic; }
.footer-cta-btn { display: inline-flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 600;
  color: var(--brand-red); background: transparent; padding: 14px 30px; border: 1.5px solid var(--brand-red);
  border-radius: 100px; text-decoration: none; transition: all 0.2s; }
.footer-cta-btn:hover { background: var(--brand-red); color: #fff; }
.footer-btns { display: flex; gap: 12px; flex-wrap: wrap; }
.footer-cols { display: flex; gap: 56px; flex-wrap: wrap; }
.footer-col { display: flex; flex-direction: column; gap: 10px; font-size: 15px; }
.footer-col .lbl { text-transform: uppercase; letter-spacing: 0.1em; font-size: 12px; font-weight: 600; margin-bottom: 4px; opacity: 0.75; }
.footer-col a { color: var(--brand-red); text-decoration: none; transition: opacity 0.2s; }
.footer-col a:hover { opacity: 0.6; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 20px;
  border-top: 1px solid rgba(242,19,23,0.25); margin-top: 56px; padding-top: 24px; font-size: 12px; color: var(--brand-red); opacity: 0.8; flex-wrap: wrap; }

/* --- REVEAL --- */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity 0.8s cubic-bezier(0.16,1,0.3,1), transform 0.8s cubic-bezier(0.16,1,0.3,1); }
.reveal.visible { opacity: 1; transform: translateY(0); }

@keyframes fadeUp { from { opacity: 0; transform: translateY(16px);} to { opacity: 1; transform: translateY(0);} }
@keyframes scrollX { from { transform: translateX(0);} to { transform: translateX(-50%);} }

/* narrow: column too tight for the overlapping pile — stack text then a photo grid */
@media (max-width: 1100px) {
  .beyond-wall { grid-template-columns: 1fr; gap: 28px; }
  .beyond-text { grid-column: 1; }
  .scrapbook { grid-column: 1; position: static; height: auto; display: grid;
    grid-template-columns: repeat(3, 1fr); gap: 20px 22px; }
  .snap { position: static; width: auto !important; }
  .snap.s1 { transform: rotate(-4deg); } .snap.s2 { transform: rotate(3deg); }
  .snap.s3 { transform: rotate(2deg); } .snap.s4 { transform: rotate(-3deg); }
  .snap.s5 { transform: rotate(4deg); } .snap.s6 { transform: rotate(-2deg); }
}
@media (max-width: 1024px) {
  .hero, .section, .about-hero { padding-left: 24px; padding-right: 24px; }
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .services-shapes { display: none; }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .bento .span-2 { grid-column: span 2; }
  .about-layout { grid-template-columns: 1fr; gap: 32px; }
  .about-portrait { position: static; max-width: 360px; }
}
@media (max-width: 768px) {
  .nav { width: calc(100% - 32px); padding: 8px 8px 8px 16px; }
  .nav-links { gap: 6px; }
  .nav-links a { padding: 8px 13px; font-size: 13px; }
  .hero { padding: 130px 20px 30px; }
  .section { padding: 70px 20px; }
  .card-grid, .work-grid, .testi-grid { grid-template-columns: 1fr; }
  .bento { grid-template-columns: 1fr; }
  .bento .span-2 { grid-column: span 1; }
  .work-card.featured { grid-column: span 1; }
  .work-card.featured .work-thumb { aspect-ratio: 16/10; }
  .footer-top, .footer-meta, .footer-links { text-align: left; }
  .footer-links { justify-content: flex-start; }
  .scrapbook { grid-template-columns: 1fr 1fr; max-width: 460px; margin-left: 0; padding: 0 20px; }
}
