/* ---------- Self-hosted fonts (downloaded from the Framer site) ---------- */
@font-face { font-family: "DM Mono"; src: url("../fonts/dm-mono-400-ext.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "DM Mono"; src: url("../fonts/dm-mono-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Geist Mono"; src: url("../fonts/geist-mono-600.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Geist Mono"; src: url("../fonts/geist-mono-600-ext.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "PT Serif"; src: url("../fonts/pt-serif-400-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "PT Serif"; src: url("../fonts/pt-serif-400-italic-ext.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Beast"; src: url("../fonts/beast-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Clash Display"; src: url("../fonts/clash-display-700.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Clash Display"; src: url("../fonts/clash-display-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Clash Grotesk"; src: url("../fonts/clash-grotesk-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Clash Grotesk"; src: url("../fonts/clash-grotesk-700.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Geist Mono"; src: url("../fonts/geist-mono-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Geist Mono"; src: url("../fonts/geist-mono-700.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "General Sans"; src: url("../fonts/general-sans-500.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "General Sans"; src: url("../fonts/general-sans-200.woff2") format("woff2"); font-weight: 200; font-style: normal; font-display: swap; }
@font-face { font-family: "General Sans"; src: url("../fonts/general-sans-400-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "General Sans"; src: url("../fonts/general-sans-700-italic.woff2") format("woff2"); font-weight: 700; font-style: italic; font-display: swap; }
@font-face { font-family: "General Sans"; src: url("../fonts/general-sans-700.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "General Sans"; src: url("../fonts/general-sans-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "General Sans"; src: url("../fonts/general-sans-500-italic.woff2") format("woff2"); font-weight: 500; font-style: italic; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-400-italic-ext.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-700.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2070, U+2074-207E, U+2080-208E, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-400-ext.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-700-italic.woff2") format("woff2"); font-weight: 700; font-style: italic; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-700-ext.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-700-italic-ext.woff2") format("woff2"); font-weight: 700; font-style: italic; font-display: swap; unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-400-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2070, U+2074-207E, U+2080-208E, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* ==========================================================================
   Gina Lee — portfolio
   Rebuilt from the Framer project "portfolio v1.5" as plain HTML/CSS/JS.
   Breakpoints mirror Framer: desktop >= 1200px, tablet 810–1199px, phone <= 809px.
   ========================================================================== */

/* ---------- Design tokens ---------- */
:root {
  /* Framer color styles */
  --c-bg: #f5f4f0;            /* beige */
  --c-ink: #220030;           /* dark blue */
  --c-ink-2: #2d023d;
  --c-magenta: #8a3262;       /* magenta */
  --c-secondary: #76648b;     /* Secondary */
  --c-light-blue: #a8d7ff;    /* light blue */
  --c-pink: #f57fbe;          /* pink */
  --c-yellow: #f0c26e;        /* yelllo */
  --c-green: #c1de78;         /* green */
  --c-white: #ffffff;         /* "blue" token (white) */
  --c-cream: #faf9f5;
  --c-off-white: #f5f5f5;
  --c-dark: #131416;
  --c-body: #141414;
  --c-muted: rgba(0, 0, 0, 0.76);
  --c-muted-2: rgba(0, 0, 0, 0.61);
  --c-line: rgba(0, 0, 0, 0.1);

  /* Gradients */
  --g-pill: linear-gradient(162deg, rgba(255, 188, 107, 0.23) 0%, rgba(255, 64, 124, 0.19) 100%);
  --g-card: linear-gradient(114deg, rgba(245, 127, 190, 0.2) 0%, rgba(240, 194, 110, 0.2) 100%);
  --g-card-alt: linear-gradient(285deg, rgba(245, 127, 190, 0.2) 0%, rgba(240, 194, 110, 0.2) 100%);

  /* Fonts */
  --f-display: "Beast", "Geist Mono", monospace;
  --f-sans: "General Sans", "Inter", system-ui, sans-serif;
  --f-mono: "Geist Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --f-dm-mono: "DM Mono", var(--f-mono);
  --f-inter: "Inter", system-ui, sans-serif;
  --f-grotesk: "Clash Grotesk", var(--f-sans);
  --f-clash: "Clash Display", var(--f-sans);

  /* Type scale (desktop values; overridden per breakpoint) */
  --fs-h1: 36px;
  --fs-h2: 45px;
  --fs-h3: 30px;
  --fs-tag: 10px;
  --fs-footer-title: 100px;

  /* Spacing */
  --pad-x: 50px;
  --radius-card: 30px;
  --ease: cubic-bezier(0.44, 0, 0.56, 1);
}

@media (max-width: 1199px) {
  :root { --fs-h1: 33px; --fs-h2: 35px; --fs-h3: 24px; --fs-tag: 15px; }
}
@media (max-width: 809px) {
  :root { --fs-h1: 25px; --fs-h2: 33px; --fs-h3: 25px; --fs-tag: 16px; --pad-x: 30px; --fs-footer-title: 40px; }
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--c-bg);
  color: var(--c-ink);
  font-family: var(--f-sans);
  font-size: 16px;
  line-height: 1.2;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
h1, h2, h3, h4, h5, h6, p, figure, ul, ol { margin: 0; padding: 0; font-weight: 400; }
ul, ol { list-style: none; }
img, video { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}
.skip-link { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--c-ink); color: #fff; padding: 8px 12px; }
.skip-link:focus { left: 8px; }

/* Framer's link preset: dotted underline */
.link {
  text-decoration: underline dotted;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 4px;
  transition: color 0.2s var(--ease);
}
.link:hover { color: var(--c-light-blue); }
.link--magenta { color: var(--c-magenta); }
.link--magenta:hover { color: var(--c-pink); }

/* ---------- Navigation ---------- */
.site-nav {
  position: relative;
  z-index: 10;
  padding: 50px var(--pad-x);
  backdrop-filter: blur(1px);
  -webkit-backdrop-filter: blur(1px);
}
.site-nav--sticky { position: sticky; top: 0; }
.site-nav__inner { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.site-nav__brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--c-ink); }
.site-nav__logo { width: 40px; height: 38px; object-fit: cover; }
.site-nav__name { font-size: 28px; line-height: 1.2; }
.site-nav__links { display: flex; align-items: flex-end; justify-content: flex-end; gap: 15px; }
.site-nav__links a {
  font-size: 18px; line-height: 1.2; color: var(--c-ink); text-decoration: none;
  transition: color 0.2s var(--ease);
}
.site-nav__links a:hover { color: var(--c-light-blue); }
.site-nav__links a[aria-current="page"],
.site-nav__links a.is-external { text-decoration: underline dotted; text-underline-offset: 4px; text-decoration-thickness: 1.5px; }

@media (max-width: 809px) {
  .site-nav { padding: 30px var(--pad-x); }
  .site-nav__links { display: none; }   /* Framer's phone variant shows the logo only */
}

/* ---------- Shader-style gradient (replaces Framer's WebGL ShaderGradient) ---------- */
.shader-bg {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background-color: var(--c-dark);
  background-image: linear-gradient(100deg, #6d5e65 0%, #5a3f55 30%, #3d1745 62%, #1d012e 100%);
}
.shader-bg::before,
.shader-bg::after {
  content: "";
  position: absolute;
  inset: -40%;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(40% 35% at 25% 75%, rgba(125, 105, 112, 0.45), transparent 70%),
    radial-gradient(35% 40% at 85% 20%, rgba(20, 0, 35, 0.6), transparent 70%);
  animation: shader-drift 18s ease-in-out infinite alternate;
}
.shader-bg::after {
  background:
    radial-gradient(30% 30% at 65% 65%, rgba(95, 45, 85, 0.35), transparent 70%),
    radial-gradient(25% 30% at 30% 30%, rgba(110, 90, 100, 0.3), transparent 70%);
  animation-duration: 24s;
  animation-direction: alternate-reverse;
}
@keyframes shader-drift {
  0%   { transform: translate3d(-4%, -3%, 0) rotate(0deg) scale(1); }
  50%  { transform: translate3d(3%, 4%, 0) rotate(8deg) scale(1.05); }
  100% { transform: translate3d(5%, -2%, 0) rotate(-6deg) scale(1); }
}

/* ---------- Footer ---------- */
.site-footer { padding-top: 50px; }
.site-footer__panel {
  display: flex; flex-direction: column; gap: 106px;
  padding: 89px 100px;
}
.site-footer__eyebrow {
  font-family: var(--f-mono); font-weight: 600; font-size: 15px; line-height: 1.2;
  text-transform: uppercase; color: var(--c-light-blue);
}
.site-footer__title {
  margin-top: 32px;
  font-family: var(--f-display); font-style: italic; font-size: var(--fs-footer-title); line-height: 0.8;
  color: var(--c-cream);
}
.site-footer__contacts { display: flex; justify-content: space-between; align-items: flex-start; gap: 34px; }
.site-footer__contacts-left { display: flex; gap: 34px; }
.site-footer__label {
  font-family: var(--f-mono); font-weight: 600; font-size: 15px; line-height: 1.2;
  text-transform: uppercase; color: var(--c-light-blue);
}
.site-footer__value { margin-top: 5px; font-family: var(--f-inter); font-size: 16px; line-height: 1.2; color: var(--c-off-white); }
.site-footer__credit {
  align-self: center;
  font-family: var(--f-mono); font-size: 15px; line-height: 1.4; letter-spacing: 0.02em;
  text-transform: uppercase; color: var(--c-light-blue); text-align: center;
}
@media (max-width: 809px) {
  .site-footer { padding-top: 100px; }
  .site-footer__panel { padding: 80px 50px; gap: 153px; }
  .site-footer__eyebrow { font-size: 12px; }
  .site-footer__title { margin-top: 18px; }
  .site-footer__contacts, .site-footer__contacts-left { flex-direction: column; gap: 20px; }
  .site-footer__value { font-size: 15px; }
  .site-footer__credit { align-self: flex-start; text-align: left; margin-top: -102px; }
}

/* ---------- Shared bits ---------- */
.pill {
  display: inline-flex; align-items: center;
  padding: 5px 12px; border-radius: 100px;
  background: var(--g-pill);
  font-family: var(--f-mono); font-size: var(--fs-tag); line-height: 1.4; letter-spacing: 0.02em;
  text-transform: uppercase; color: var(--c-magenta);
}
.pill-row { display: flex; flex-wrap: wrap; gap: 10px; }
@media (max-width: 809px) {
  .pill { padding: 0 8px; }
  .pill-row { flex-direction: column; align-items: flex-start; gap: 12px; }
}

.section-title { font-size: var(--fs-h3); line-height: 1.2; color: var(--c-magenta); }

.icon { width: 25px; height: 25px; flex: 0 0 auto; color: var(--c-magenta); fill: currentColor; }

/* Reveal-on-scroll (mirrors Framer appear effects). Content stays visible without JS. */
.js [data-reveal] { opacity: 0; transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); transition-delay: var(--reveal-delay, 0s); }
.js [data-reveal="scale"] { transform: scale(0.9); }
.js [data-reveal="down"]  { transform: translateY(-40px); transition-duration: 0.8s; }
.js [data-reveal="up"]    { transform: translateY(20px); }
.js [data-reveal].is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  html { scroll-behavior: auto; }
}

/* ==========================================================================
   Home
   ========================================================================== */
.hero {
  display: flex; flex-direction: column; align-items: flex-start; gap: 32px;
  padding: 10px var(--pad-x) 20px;
}
.hero__title { font-family: var(--f-display); font-style: italic; font-size: 50px; line-height: 1.2; color: var(--c-magenta); }
.hero__tagline { display: flex; flex-wrap: wrap; align-items: center; column-gap: 6px; font-size: 20px; line-height: 1.2; color: var(--c-ink); }
.hero__glyph { display: inline-block; font-size: 30px; line-height: 1.2; }
.hero__glyph--spin { animation: spin 5s linear infinite; }
.hero__glyph--rock { font-family: "PT Serif", serif; animation: rock 0.8s linear infinite alternate; transform-origin: 50% 60%; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes rock { from { transform: rotate(0deg); } to { transform: rotate(20deg); } }
.hero__intro { max-width: 514px; font-size: 20px; line-height: 1.2; color: var(--c-ink); }
.hero__intro em { font-style: normal; color: var(--c-magenta); }

.work { padding: 50px var(--pad-x); scroll-margin-top: 0; }
.work__grid { margin-top: 40px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 45px; }
.project-card { display: flex; flex-direction: column; gap: 15px; text-decoration: none; color: inherit; }
.project-card__media { border-radius: 8px; overflow: hidden; aspect-ratio: 648 / 320; transition: opacity 0.45s var(--ease); }
.project-card__media img { width: 100%; height: 100%; object-fit: cover; }
a.project-card:hover .project-card__media { opacity: 0.9; }
.project-card__body { position: relative; display: flex; flex-direction: column; gap: 15px; }
.project-card__title { width: 80%; font-family: var(--f-mono); font-size: 27px; line-height: 1.2; color: var(--c-ink-2); }
.project-card__desc { width: 80%; margin-top: -11px; font-family: var(--f-inter); font-size: 16px; line-height: 1; color: var(--c-muted); }
.project-card__arrow { position: absolute; top: 0; right: 2px; font-size: 35px; font-weight: 200; line-height: 1.2; color: #000; }

.case-studies { color: var(--c-white); }
.case-studies__inner { min-height: 929px; display: flex; flex-direction: column; justify-content: center; padding: 120px 120px; position: relative; }
.case-studies__title { font-size: 31px; line-height: 1.2; padding-bottom: 107px; }
.case-studies__list { display: flex; flex-direction: column; align-items: flex-start; gap: 42px; }
.case-item { position: relative; font-family: var(--f-mono); font-size: 18px; line-height: 1.2; color: var(--c-light-blue); }
.case-item__label { margin-right: 10px; text-transform: uppercase; }
.case-item__link { font-family: var(--f-sans); font-size: var(--fs-h2); line-height: 1.2; color: var(--c-off-white); }
.case-item__preview {
  position: absolute; left: calc(100% - 20px); bottom: calc(100% - 12px); z-index: 2;
  width: 390px; padding: 8px; background: var(--c-light-blue);
  opacity: 0; transform: translateY(8px); pointer-events: none;
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease);
}
.case-item__preview p { padding: 4px 4px 8px; font-family: var(--f-clash); font-size: 20px; line-height: 1.2; color: var(--c-white); }
.case-item__preview img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.case-item:hover .case-item__preview,
.case-item:focus-within .case-item__preview { opacity: 1; transform: none; }
.case-item:hover .case-item__link { color: var(--c-light-blue); }
.case-studies__more { position: absolute; right: 126px; bottom: 179px; font-size: var(--fs-h3); line-height: 1.2; text-align: right; }
.case-studies__more a { color: var(--c-off-white); }

.sandbox-teaser { padding: 130px 0 70px; overflow: hidden; }
.sandbox-teaser__head { display: flex; align-items: center; gap: 155px; padding: 0 100px 40px; }
.sandbox-teaser__title { flex: 0 0 auto; font-size: 31px; line-height: 1.2; color: var(--c-magenta); }
.sandbox-teaser__text { font-family: var(--f-inter); font-size: 16px; line-height: 1; color: var(--c-muted); }

/* Ticker (marquee) */
.ticker { --gap: 26px; overflow: hidden; margin-top: 10px; }
.ticker + .ticker { margin-top: 35px; }
.ticker__track { display: flex; gap: var(--gap); width: max-content; animation: ticker var(--duration, 60s) linear infinite; }
.ticker--reverse .ticker__track { animation-direction: reverse; }
.ticker:hover .ticker__track { animation-play-state: paused; }
.ticker__group { display: flex; gap: var(--gap); }
.ticker__item { flex: 0 0 auto; height: var(--h, 327px); border-radius: 13px; overflow: hidden; transition: transform 0.5s cubic-bezier(0.13, -0.04, 0, 1.01); }
.ticker__item:hover { transform: scale(1.05); }
.ticker__item img, .ticker__item video { height: 100%; width: auto; object-fit: cover; }
@keyframes ticker { to { transform: translateX(calc(-50% - var(--gap) / 2)); } }

@media (max-width: 1199px) {
  .case-studies__inner { padding: 120px 80px; }
  .case-studies__more { right: 80px; }
  .sandbox-teaser__head { gap: 60px; padding: 0 50px 40px; }
}
@media (max-width: 809px) {
  .hero__title { max-width: 264px; }
  .hero__tagline { max-width: 264px; }
  .hero__intro { max-width: 243px; }
  .work { padding: 60px var(--pad-x) 70px; }
  .work__grid { grid-template-columns: 1fr; gap: 40px; }
  .project-card__media { aspect-ratio: 330 / 209; }
  .case-studies__inner { min-height: 0; padding: 100px 46px 120px; }
  .case-studies__title { padding-bottom: 80px; }
  .case-studies__list { gap: 30px; }
  .case-item__label { display: block; margin: 0 0 4px; }
  .case-item__preview { display: none; }
  .case-studies__more { position: static; margin-top: 60px; align-self: flex-end; }
  .sandbox-teaser { padding: 90px 0 70px; }
  .sandbox-teaser__head { flex-direction: column; align-items: flex-start; gap: 30px; padding: 0 40px 40px; }
  .ticker__item { height: calc(var(--h, 327px) * 0.84); }
  .shader-bg { background-image: linear-gradient(165deg, #4f2a4c 0%, #3a1440 35%, #4a2448 70%, #6d4b5f 100%); }
}

/* ==========================================================================
   About
   ========================================================================== */
.about { display: flex; justify-content: center; padding: 50px var(--pad-x); }
.about__grid { display: grid; grid-template-columns: minmax(0, 600px) 297px; column-gap: 61px; align-items: start; }
.about__title { font-family: var(--f-display); font-size: 36px; line-height: 1.2; color: var(--c-magenta); }
.about__body { margin-top: 45px; display: flex; flex-direction: column; gap: 20px; font-size: 20px; line-height: 1.2; color: #000; }
.about__learning-title { margin-top: 45px; font-size: 16px; line-height: 1.2; color: rgba(35, 0, 48, 0.39); }
.about__learning { margin-top: 10px; font-family: var(--f-dm-mono); font-size: 16px; line-height: 1.2; color: var(--c-magenta); }
.about__photo { grid-column: 2; grid-row: 1; margin-top: 31px; border-radius: 13px; overflow: hidden; aspect-ratio: 297 / 348; transform: rotate(4deg); }
.about__photo img { width: 100%; height: 100%; object-fit: cover; }
.about__text { grid-column: 1; grid-row: 1; }
@media (max-width: 1199px) {
  .about__grid { grid-template-columns: minmax(0, 1fr) 260px; column-gap: 40px; }
}
@media (max-width: 809px) {
  .about { padding: 4px 50px 50px; }
  .about__grid { grid-template-columns: 1fr; row-gap: 40px; }
  .about__photo { grid-column: 1; grid-row: 1; justify-self: center; width: 238px; margin-top: 0; }
  .about__text { grid-row: 2; }
}

/* ==========================================================================
   Case-study pages (K18, Solomon, IKEA, Weee!)
   ========================================================================== */
.case { display: grid; grid-template-columns: 348px minmax(0, 1fr); column-gap: 50px; padding: 50px var(--pad-x); }
.case__aside { position: relative; }
.case__aside-inner { position: sticky; top: 50px; padding-right: 50px; border-right: 1px solid var(--c-line); min-height: calc(100vh - 100px); }
.case__back { display: inline-flex; width: 24px; height: 24px; transition: opacity 0.3s var(--ease); }
.case__back:hover { opacity: 0.7; }
.case__eyebrow, .eyebrow {
  font-family: var(--f-grotesk); font-size: 12px; line-height: 1.4; letter-spacing: 0.02em;
  text-transform: uppercase; color: var(--c-secondary);
}
.case__eyebrow { margin-top: 30px; }
.case__title { margin-top: 10px; font-size: 28px; line-height: 1.2; color: #000; }
.case__summary, .case__disciplines { font-family: var(--f-inter); font-size: 16px; line-height: 1; color: var(--c-muted); }
.case__summary { margin-top: 10px; }
.case__disciplines-label { margin-top: 30px; }
.case__disciplines { margin-top: 5px; }

.case__main { display: flex; flex-direction: column; gap: 80px; min-width: 0; }
.case__main--slides { gap: 10px; }
.case__slide img { width: 100%; height: auto; }
.block { padding: 0 20px; display: flex; flex-direction: column; gap: 10px; }
.block__head { display: flex; align-items: center; gap: 10px; }
.block__title { font-family: var(--f-grotesk); font-size: 24px; line-height: 1.1; letter-spacing: -0.7px; color: var(--c-magenta); }
.prose { font-size: 16px; line-height: 1.6; color: var(--c-body); }
.prose strong, .card strong { font-weight: 500; }
.prose a, .card a { color: var(--c-magenta); }
.project-heading { padding: 0 20px; font-size: var(--fs-h3); line-height: 1.2; color: var(--c-magenta); }
.stack { display: flex; flex-direction: column; gap: 40px; }
.stack--tight { gap: 17px; }

.hero-img { border-radius: 30px; overflow: hidden; aspect-ratio: 942 / 560; }
.hero-img img { width: 100%; height: 100%; object-fit: cover; }
.hero-mosaic { display: grid; grid-template-columns: 622fr 301fr; gap: 20px 19px; }
.hero-mosaic img { width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 50% 50%); border-radius: 10px; }
.hero-mosaic > :first-child { grid-row: span 2; aspect-ratio: 622 / 602; }
.hero-mosaic > :not(:first-child) { aspect-ratio: 301 / 292; }

.two-col { display: grid; grid-template-columns: 362fr 453fr; gap: 87px; padding: 0 20px; }
.two-col > .block { padding: 0; }

.card { border-radius: var(--radius-card); padding: 40px; background: var(--g-card); }
.card--alt { background: var(--g-card-alt); }
.card--split { display: grid; grid-template-columns: 241px minmax(0, 1fr); gap: 21px 40px; }
.card--split .block__title { max-width: 110px; }
.card__text { display: flex; flex-direction: column; gap: 21px; font-size: 19px; line-height: 1.2; color: #000; }
.card__text--sm { font-size: 16px; line-height: 1.6; color: var(--c-body); gap: 20px; }
.strategy { display: flex; flex-direction: column; gap: 22px; }
.strategy .card { display: flex; flex-direction: column; gap: 30px; }
.strategy__title { font-size: 19px; font-weight: 500; line-height: 1.2; color: var(--c-magenta); text-align: center; }
.strategy__text { font-size: 19px; line-height: 1.2; color: #000; }
.inset { padding: 0 20px; }

/* Image collages: fixed column ratios, items keep the Framer frame proportions */
.collage { display: grid; gap: 20px; }
.collage--2 { grid-template-columns: 1fr 1fr; }
.collage--3 { grid-template-columns: repeat(3, 1fr); gap: 21px; }
.collage__col { display: flex; flex-direction: column; gap: inherit; min-width: 0; }
.collage img { width: 100%; height: 100%; object-fit: cover; }
.collage .contain img { object-fit: contain; }
.collage figure { border-radius: 12px; overflow: hidden; aspect-ratio: var(--ar); }
.collage--r10 figure { border-radius: 10px; }

/* Carousel */
.carousel { position: relative; }
.carousel__track {
  display: flex; gap: var(--gap, 32px); overflow-x: auto; scroll-snap-type: x mandatory;
  scroll-behavior: smooth; scrollbar-width: none; -ms-overflow-style: none;
}
.carousel__track::-webkit-scrollbar { display: none; }
.carousel__slide { flex: 0 0 var(--slide-w, 100%); scroll-snap-align: start; border-radius: var(--slide-r, 0); overflow: hidden; aspect-ratio: var(--ar, auto); }
.carousel__slide img { width: 100%; height: 100%; object-fit: cover; }
.carousel__btn {
  position: absolute; top: 50%; translate: 0 -50%; z-index: 2;
  width: 40px; height: 40px; padding: 0; border: 0; border-radius: 40px; cursor: pointer;
  background: rgba(0, 0, 0, 0.2); transition: opacity 0.25s var(--ease);
}
.carousel__btn img { width: 40px; height: 40px; }
.carousel__btn--prev { left: 20px; }
.carousel__btn--next { right: 20px; }
.carousel__btn[disabled] { opacity: 0; pointer-events: none; }
.carousel__dots {
  position: absolute; left: 50%; bottom: 10px; translate: -50% 0; z-index: 2;
  display: flex; gap: 10px; padding: 10px; border-radius: 50px; background: rgba(0, 0, 0, 0.2);
}
.carousel__dots:empty { display: none; }
.carousel__dot { width: 10px; height: 10px; padding: 0; border: 0; border-radius: 50%; background: #fff; opacity: 0.5; cursor: pointer; }
.carousel__dot[aria-current="true"] { opacity: 1; }
.carousel--decks { --gap: 32px; --slide-w: calc((100% - 64px) / 3); --slide-r: 13px; --ar: 286 / 405; margin: 0 10px; }

@media (max-width: 1199px) {
  .case { grid-template-columns: 282px minmax(0, 1fr); }
  .two-col { grid-template-columns: 1fr; gap: 50px; }
  .card--split { grid-template-columns: 1fr !important; }
  .carousel--decks { --slide-w: calc((100% - 32px) / 2); }
}
@media (max-width: 809px) {
  .case { grid-template-columns: 1fr; row-gap: 80px; padding: 30px var(--pad-x) 30px; }
  .case__aside-inner { position: static; min-height: 0; padding: 0 0 30px; border-right: 0; border-bottom: 1px solid var(--c-line); }
  .case__eyebrow { margin-top: 30px; }
  .case__main { gap: 80px; }
  .hero-img { aspect-ratio: 330 / 196; }
  .block, .two-col, .inset, .project-heading { padding: 0 20px; }
  .card { padding: 40px 30px; }
  .card__text, .strategy__text { font-size: 17px; }
  .collage--3 { grid-template-columns: 1fr 1fr; gap: 5px; }
  .collage--2 { gap: 10px; }
  .carousel--decks { --slide-w: 94%; margin: 0; }
}

/* ==========================================================================
   Sandbox page
   ========================================================================== */
.page-title { padding: 0 var(--pad-x); font-family: var(--f-display); font-style: italic; font-size: 50px; line-height: 1.2; color: var(--c-magenta); }
.sandbox { display: grid; grid-template-columns: 204px minmax(0, 1fr); padding: 50px var(--pad-x); }
.sandbox__nav { position: sticky; top: 50px; align-self: start; }
.sandbox__nav ul { margin-top: 10px; display: flex; flex-direction: column; gap: 10px; }
.sandbox__nav a { font-size: 18px; line-height: 1.2; color: rgba(0, 0, 0, 0.7); text-decoration: none; transition: color 0.2s var(--ease); }
.sandbox__nav a:hover { color: var(--c-magenta); }
.sandbox__examples { display: flex; flex-direction: column; gap: 40px; padding-left: 50px; min-width: 0; }
.sandbox__group { display: flex; flex-direction: column; gap: 10px; scroll-margin-top: 30px; }
.sb-row { display: grid; gap: 30px; align-items: start; }
.sb-row--2-1 { grid-template-columns: 2fr 1fr; }
.sb-row--1-1 { grid-template-columns: 1fr 1fr; }
.sb-row--web { grid-template-columns: 1fr 1fr; gap: 20px; }
.sb-item { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.sb-item__media { overflow: hidden; aspect-ratio: var(--ar); }
.sb-item__media img, .sb-item__media video { width: 100%; height: 100%; object-fit: cover; }
.sb-item__media--group { display: grid; gap: 15px; aspect-ratio: auto; overflow: visible; }
.sb-item__media--group > * { overflow: hidden; aspect-ratio: var(--ar); }
.sb-item__media--group img { width: 100%; height: 100%; object-fit: cover; }
.sb-item__title { font-family: var(--f-mono); font-size: 18px; line-height: 1.2; color: var(--c-ink-2); }
.sb-item__desc { max-width: 500px; margin-top: -7px; font-family: var(--f-inter); font-size: 14px; line-height: 1; color: var(--c-muted-2); }
.sb-item__tools { font-family: var(--f-mono); font-size: var(--fs-tag); line-height: 1.4; letter-spacing: 0.02em; text-transform: uppercase; color: var(--c-magenta); }
.sb-stack { display: flex; flex-direction: column; gap: 30px; min-width: 0; }
.carousel--diary { --gap: 10px; --ar: 528 / 297; }
.illustration-collage { display: grid; grid-template-columns: 456fr 406fr; gap: 20px; width: 81%; margin: 0 auto; }
.illustration-collage__col { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.illustration-collage__pair { display: grid; grid-template-columns: 220fr 226fr; gap: 10px; align-items: center; }
.illustration-collage figure { overflow: hidden; aspect-ratio: var(--ar); }
.illustration-collage img { width: 100%; height: 100%; object-fit: cover; }
.photo-row { display: grid; grid-template-columns: 749fr 321fr; gap: 16px; align-items: center; }

@media (max-width: 1199px) {
  .sandbox { grid-template-columns: 170px minmax(0, 1fr); }
  .sandbox__examples { padding-left: 30px; }
  .sb-row { gap: 20px; }
}
@media (max-width: 809px) {
  .page-title { padding: 10px var(--pad-x) 20px; }
  .sandbox { grid-template-columns: 1fr; row-gap: 31px; padding: 30px var(--pad-x); }
  .sandbox__nav { position: static; }
  .sandbox__examples { padding-left: 0; }
  .sb-row { gap: 30px; }
  .sb-item__media--group { gap: 15px; }
  .illustration-collage { width: 100%; }
}
