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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 72px; /* height of sticky subnav */
}

/* ── tokens ── */
:root {
  --cream:     #FDFCF9;
  --grid-line: #D8D3C8;
  --ink:       #111111;
  --green:     #305D30;
  --navy:      #131821;
  --gray:      #B5AFA4;
  --lime:      #BAFC99;
  --yellow:    #F5E642;
  --red:        #FF3B00;
  --cell:      28px;
}

/* ── custom cursors ── */
html, body {
  cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 32 32'%3E%3Cpolygon points='16,2 19.5,11.5 30,11.6 22,18.1 24.7,28 16,22.6 7.3,28 10,18.1 2,11.6 12.5,11.5' fill='%23111111'/%3E%3C/svg%3E") 16 16, default;
}

a, button, [href], .nav-item, label, [role="button"] {
  cursor: url('star-cursor.png') 24 24, pointer;
}

a:active, button:active, .nav-item:active {
  cursor: url('star-cursor.png') 24 24, pointer;
}

/* ── body / background ── */
body {
  background-color: var(--cream);
  color: var(--ink);
  font-family: 'IBM Plex Mono', monospace;
  min-height: 100vh;
}

/* ── page label (e.g. "LANDING PAGE") ── */
.page-label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.58rem;
  letter-spacing: 0.12em;
  color: #aaa;
  text-transform: uppercase;
  padding: 14px 0 2px 28px;
  max-width: 1040px;
  margin: 0 auto;
}

/* ── page wrapper ── */
.page {
  max-width: 100%;
  margin: 0 auto;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  border-left: 1px solid var(--grid-line);
  border-right: 1px solid var(--grid-line);
  /* no solid background — lets the body grid show through */
  position: relative;
}

/* Red left margin line (notebook paper) */
.page::before {
  content: '';
  position: absolute;
  top: 0;
  left: 20px;
  width: 1px;
  height: 100%;
  background: rgba(210, 70, 70, 0.32);
  pointer-events: none;
  z-index: 0;
}

/* ── nav ── */
nav {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  /* Slightly blue ruled-paper top border */
  border-bottom: 1px solid rgba(100, 135, 210, 0.55);
  position: relative;
  z-index: 1;
}

.nav-item {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px 20px;
  text-decoration: none;
}

/* Nav SVG heights — tuned per item for visual cohesion */
.nav-item img {
  display: block;
  width: auto;
  transition: transform 0.2s ease;
}
.nav-item:hover img {
  transform: translateX(4px);
}
.nav-item--projects img  { height: 72px; }
.nav-item--illus    img  { height: 56px; }

/* ── main (landing layout: two columns) ── */
main.landing {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 0 56px 0;
  gap: 0;
  position: relative;
  min-height: 600px;
  z-index: 1;
}

main.landing::after {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  width: 1px;
  height: 100%;
  background: var(--grid-line);
  pointer-events: none;
}

/* ── bio (landing left col) ── */
.bio {
  padding-right: 48px;
  padding-top: 28%;
}

.bio h1 {
  font-family: 'IBM Plex Mono', monospace;
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 18px;
}

.bio p {
  font-family: 'IBM Plex Mono', monospace;
  font-size: clamp(0.8rem, 1.1vw, 0.95rem);
  line-height: 1.7;
}

.bio p strong { font-weight: 700; }

/* ── illustration col (landing right col) ── */
.illustration-col {
  padding-left: 40px;
  padding-top: 28px;
  padding-bottom: 28px;
  display: flex;
  flex-direction: column;
}

.quote {
  font-family: 'Playfair Display', Georgia, serif;
  font-style: italic;
  font-size: 0.68rem;
  color: var(--gray);
  text-align: right;
  line-height: 1.55;
  margin-bottom: 8px;
  padding-right: 2px;
  align-self: flex-end;
}

.portrait-wrap {
  flex: 1;
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.portrait-wrap img {
  display: block;
  width: 100%;
  max-width: 400px;
  height: auto;
  mix-blend-mode: multiply;
}

/* ── caption ── */
.caption-block {
  padding-top: 8px;
  padding-bottom: 28px;
  text-align: center !important;

}

.caption-line {
  width: 100%;
  border: none;
  border-top: 2px solid var(--grid-line);
  margin-bottom: 7px;
  opacity: 0.5;
}

.caption-text {
  font-family: 'Playfair Display', Georgia, serif;
  font-style: italic;
  font-size: 0.72rem;
  color: var(--gray);
}

/* ── svg landing: margin note hotspots ── */
.landing-img-wrap {
  position: relative;
  width: 100%;
  max-width: 790px;
}

.landing-img-wrap img {
  display: block;
  width: 100%;
  height: auto;
}

.landing-hotspot {
  position: absolute;
  z-index: 2;
  /* debug: uncomment the line below to see the hotspot area, remove once positioned */
  /* outline: 2px solid red; */
}

.margin-note {
  position: fixed;
  left: 28px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.58rem;
  font-style: italic;
  color: var(--gray);
  white-space: nowrap;
  transform: translateY(-50%);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  z-index: 600;
}

.margin-note.visible { opacity: 1; }

@media (max-width: 800px) {
  .landing-hotspot { display: none; }
}

/* ── rebus landing ── */
main.rebus {
  flex: 1;
  padding: 56px 56px 64px;
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 48px;
}

/* Rebus paragraph — natural wrap, justified, last line left */
.rebus-line {
  font-family: 'Ibarra Real Nova', Georgia, serif;
  font-size: 64px;
  line-height: 1.55;
  color: var(--ink);
  margin: 0;
  width: 100%;
  max-width: 890px;
  text-align: justify;
  text-align-last: left;
  font-weight: 300;
}

.rebus-line strong { font-weight: 700; display: inline-block; white-space: nowrap; }
.rebus-line em { font-style: italic; }

.rebus-img--draw { height: 0.7em !important; }

.rebus-img {
  display: inline-block;
  vertical-align: middle;
  height: 1.7em;
  width: auto;
  margin: 0 0.05em;
  position: relative;
  top: -0.05em;
}

.rebus-mark {
  background: linear-gradient(transparent 80%, var(--yellow) 54%);
  padding: 0 2px;
}

.rebus-cta {
  font-family: 'Ibarra Real Nova', Georgia, serif;
  font-size: clamp(1.1rem, 2.2vw, 1.6rem);
  display: flex;
  align-items: baseline;
  gap: 48px;
  width: 100%;
  max-width: 890px;
}

.cta-hello {
  color: var(--ink);
  text-decoration: none;
  transition: color 0.15s ease;
}
.cta-hello:hover { color: var(--red); }

/* ── inner nav (projects / branding / illustration pages) ── */
.inner-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 48px 12px 28px;
  border-bottom: 1px solid rgba(100, 135, 210, 0.55);
  position: relative;
  z-index: 1;
}

.inner-nav-title img {
  display: block;
  width: auto;
}
.inner-nav-title--projects img { height: 72px; }
.inner-nav-title--illus    img { height: 56px; }

/* "see more" trigger button */
.see-more-btn {
  background: none;
  border: none;
  padding: 8px 0;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 1.0rem;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: 0.06em;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: color 0.15s ease;
  white-space: nowrap;
}
.see-more-btn:hover { color: var(--red); }

.eye-icon {
  width: 28px;
  height: 28px;
  display: block;
  flex-shrink: 0;
  transition: filter 0.15s ease;
}
.see-more-btn:hover .eye-icon {
  filter: brightness(0) saturate(100%) invert(20%) sepia(32%) saturate(800%)
          hue-rotate(283deg) brightness(200%) contrast(98%);
          color: var(--red);
}

/* ── full-screen menu overlay ── */
.menu-overlay {
  position: fixed;
  inset: 0;
  z-index: 500;
  background-color: var(--cream);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease;
}

.menu-overlay.open {
  opacity: 1;
  pointer-events: all;
}

/* red margin line inside the overlay */
.menu-overlay::before {
  content: '';
  position: absolute;
  top: 0;
  left: 20px;
  width: 1px;
  height: 100%;
  background: rgba(210, 70, 70, 0.32);
  pointer-events: none;
}

.menu-items {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 50px;
  position: relative;
  z-index: 1;
}

.menu-link {
  display: block;
  text-decoration: none;
  opacity: 1;
  transition: opacity 0.15s ease, transform 0.15s ease;
}
.menu-link:hover {
  opacity: 0.6;
  transform: translateX(4px);
}
.menu-link img {
  display: block;
  width: auto;
}

/* menu item SVG heights */
.menu-link--projects img,
.menu-link--illus    img,
.menu-link--social   img { height: 70px; }
.menu-link--home     img { height: 70px; }

/* close (ESC / background click) hint */
.menu-close-hint {
  position: absolute;
  bottom: 28px;
  right: 36px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.62rem;
  color: var(--gray);
  letter-spacing: 0.1em;
  pointer-events: none;
}

/* ── projects page ── */
main.projects {
  flex: 1;
  position: relative;
  z-index: 1;
}

/* subnav */
.projects-subnav {
  display: flex;
  align-items: center;
  gap: 0;
  padding: 20px 56px;
  /* border-bottom: 1px solid rgba(100, 135, 210, 0.55); */
  font-family: 'Ibarra Real Nova', Georgia, serif;
  /* font-style: italic; */
  font-size: 1.2rem;
  color: var(--black);
  position: sticky;
  top: 0;
  /* background: var(--cream); */
  z-index: 10;
}

.subnav-label {
  margin-right: 16px;
  white-space: nowrap;
}

.subnav-tabs {
  display: flex;
  gap: 4px;
}

.subnav-tab {
  font-family: 'IBM Plex Mono', monospace;
  font-style: normal;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--ink);
  text-decoration: none;
  padding: 2px 15px;
  border-radius: 2px;
  transition: background 0.15s ease;
  white-space: nowrap;
}

/* default yellow highlight — sits low, barely overlapping letters */
.subnav-tab--active {
  background: linear-gradient(transparent 68%, var(--yellow) 58%);
}

/* when subnav is hovered, remove default highlight */
.subnav-tabs:hover .subnav-tab--active { background: transparent; }

/* give yellow to whatever tab is being hovered */
.subnav-tab:hover {
  background: linear-gradient(transparent 58%, var(--yellow) 58%);
}

/* project sections */
.project-section {
  padding: 56px 56px 24px;
}

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

.section-title {
  font-family: 'Ibarra Real Nova', Georgia, serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.1;
  margin-bottom: 10px;
}

.section-desc {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.78rem;
  line-height: 1.65;
  color: var(--ink);
  max-width: 320px;
}

/* project entries */
.project-entry {
  display: grid;
  grid-template-columns: 36% 64%;
  padding: 100px 0;
  gap: 0;
}

.project-info {
  padding-right: 32px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 8px;
  padding-top: 4px;
}

.project-fig {
  font-family: 'Playfair Display', Georgia, serif;
  font-style: italic;
  font-size: 0.72rem;
  color: var(--gray);
  display: block;
  letter-spacing: 0.02em;
}

.project-title {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1.3;
  margin-top: 2px;
}

.project-org {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.72rem;
  color: var(--ink);
  line-height: 1.4;
}

.project-tags {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.65rem;
  color: var(--gray);
  line-height: 1.55;
  letter-spacing: 0.03em;
}

/* learn more button */
.learn-more-btn {
  background: none;
  border: none;
  padding: 0;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-top: 6px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: color 0.15s ease;
}
.learn-more-btn:hover { color: var(--red); }

/* expand panel */
.learn-more-panel {
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  margin-top: 0;
  padding-top: 0;
  border-top: none;
  transition: max-height 0.5s ease, opacity 0.3s ease, padding-top 0.35s ease, margin-top 0.35s ease, border-color 0.3s ease;
}
.learn-more-panel.is-open {
  max-height: 4000px;
  opacity: 1;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--grid-line);
}

.learn-more-panel p {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.75rem;
  line-height: 1.7;
  color: var(--ink);
  margin-bottom: 12px;
}

.assets-label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.45;
  margin-top: 16px !important;
  margin-bottom: 8px !important;
}

.learn-more-panel .panel-assets {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 16px;
}

.learn-more-panel .panel-assets img {
  width: 100%;
  height: auto;
  display: block;
}

.learn-more-panel .panel-assets .print-pages {
  display: flex;
  flex-direction: row;
  gap: 12px;
}

.learn-more-panel .panel-assets .print-pages img {
  width: calc(50% - 6px);
  flex-shrink: 0;
}

.learn-more-panel .panel-assets .vertical-screens {
  display: flex;
  flex-direction: row;
  gap: 12px;
}

.learn-more-panel .panel-assets .vertical-screens img {
  width: calc(33.333% - 8px);
  flex-shrink: 0;
  height: auto;
}

.learn-more-panel .panel-assets .screen-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  align-items: start;
}

.learn-more-panel .panel-assets .screen-grid img {
  width: 100%;
  height: auto;
  display: block;
}

.learn-more-panel .panel-assets .grid-2col {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  align-items: start;
}

.learn-more-panel .panel-assets .grid-2col img {
  width: 100%;
  height: auto;
  display: block;
}

.learn-more-panel .panel-assets .asset-row {
  display: flex;
  flex-direction: row;
  gap: 8px;
}

.learn-more-panel .panel-assets .asset-row img {
  flex: 1;
  min-width: 0;
  width: 0;
  height: auto;
  display: block;
}

.video-embed {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
}

.video-embed iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.story-link {
  font-family: inherit;
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
  opacity: 0.7;
}

.story-link:hover {
  opacity: 1;
}

.learn-more-panel .panel-assets video {
  width: 100%;
  height: auto;
  display: block;
}

/* expanded state — panel fills full row, image hides */
.project-entry.is-expanded .project-media { display: none; }
.project-entry.is-expanded .project-info  { grid-column: 1 / -1; }

/* project media */
.project-media img {
  display: block;
  width: 100%;
  height: auto;
  mix-blend-mode: multiply;
}

/* back to top */
.back-to-top {
  display: block;
  text-align: center;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: none;
  padding: 28px 56px 32px;
  border-top: 1px solid var(--grid-line);
  transition: color 0.15s ease;
}
.back-to-top:hover { color: var(--red); }

/* ── stub pages ── */
.stub-content {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 56px;
  z-index: 1;
  position: relative;
}

.stub-content p {
  font-family: 'Playfair Display', Georgia, serif;
  font-style: italic;
  font-size: 1.1rem;
  color: var(--gray);
}

/* ── illustration gallery ── */
.illus-gallery {
  flex: 1;
  position: relative;
  z-index: 1;
  padding: 40px 56px 56px;
}

.illus-grid {
  columns: 3;
  column-gap: 20px;
}

.illus-item {
  break-inside: avoid;
  margin-bottom: 20px;
  position: relative;
}

.illus-item {
  cursor: url('star-cursor.png') 24 24, pointer;
}

.illus-item img {
  display: block;
  width: 100%;
  height: auto;
  mix-blend-mode: multiply;
  transition: opacity 0.2s ease;
}
.illus-item:hover img { opacity: 0.85; }

.illus-fig {
  font-family: 'Playfair Display', Georgia, serif;
  font-style: italic;
  font-size: 0.65rem;
  color: var(--gray);
  margin-top: 5px;
  text-align: right;
  letter-spacing: 0.02em;
}

.illus-fig a {
  color: #918369;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ── lightbox ── */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 600;
  background: rgba(17, 17, 17, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

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

.lightbox-inner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  max-width: 90vw;
  max-height: 90vh;
}

.lightbox-inner img {
  display: block;
  max-width: 90vw;
  max-height: 82vh;
  width: auto;
  height: auto;
  object-fit: contain;
  mix-blend-mode: normal;
}

.lightbox-fig {
  font-family: 'Playfair Display', Georgia, serif;
  font-style: italic;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.04em;
}

.lightbox-close {
  position: fixed;
  top: 24px;
  right: 32px;
  background: none;
  border: none;
  color: rgba(255,255,255,0.6);
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 8px;
  transition: color 0.15s ease;
}
.lightbox-close:hover { color: #fff; }

/* ── art direction page ── */
.inner-nav-title--ad img { height: 44px; }

.ad-main {
  flex: 1;
  position: relative;
  z-index: 1;
  padding: 56px 0 40px;
  display: flex !important;
  flex-direction: column;
  align-items: center;
}

.ad-project {
  width: 100%;
  max-width: 680px;
  padding: 0 40px 64px;
}

.ad-project-header {
  margin-bottom: 14px;
}

.ad-project-title {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.3;
  color: var(--ink);
  margin-bottom: 4px;
}

.ad-project-role {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.65rem;
  color: var(--gray);
  letter-spacing: 0.02em;
  margin-bottom: 3px;
}

.ad-project-meta {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.65rem;
  color: var(--gray);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.ad-images {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ad-images img {
  display: block;
  width: 100%;
  height: auto;
}

@media (max-width: 800px) {
  .ad-main { padding: 32px 0 24px; }
  .ad-project { padding: 0 24px 48px; }
  .inner-nav-title--ad img { height: 32px; }
  .menu-link--ad img { height: 50px; }
}

/* menu item for art direction */
.menu-link--ad img { height: 64px; }

/* ── footer ── */
footer {
  border-top: 1px solid var(--grid-line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 56px;
  gap: 16px;
  position: relative;
  z-index: 1;
}

.footer-links {
  display: flex;
  gap: 48px;
}

.footer-links a,
.footer-links span {
  font-family: 'Playfair Display', Georgia, serif;
  font-style: italic;
  font-size: 0.8rem;
  color: var(--ink);
  text-decoration: none;
}

.footer-links a:hover { text-decoration: underline; }

.swatches {
  display: flex;
  align-items: center;
  gap: 14px;
}

.swatch {
  width: 21px;
  height: 21px;
  display: block;
  flex-shrink: 0;
}

.swatch--yellow { background: var(--yellow); }
.swatch--green  { background: var(--green); }
.swatch--navy   { background: var(--navy); width: 63px; }
.swatch--gray   { background: var(--gray); }
.swatch--lime   { background: var(--lime); }
.swatch--cream  { background: var(--cream); border: 1px solid var(--ink); }

/* ── mobile ── */
@media (max-width: 800px) {

  .page {
    max-width: 100%;
    border-left: none;
    border-right: none;
  }

  /* keep red margin line at same position on mobile */
  .page::before { left: 20px; }

  .page-label { padding-left: 16px; }

  nav { grid-template-columns: 1fr 1fr 1fr; }

  .nav-item { padding: 10px 8px; }
  .nav-item--projects img { height: 36px; }
  .nav-item--illus    img { height: 28px; }

  /* landing: single column */
  main.landing {
    grid-template-columns: 1fr;
    padding: 32px 30px 0;
    min-height: auto;
  }
  main.landing::after { display: none; } 

  .bio {
    padding-right: 0;
    padding-top: 0;
    padding-bottom: 32px;
    border-bottom: 1px solid var(--grid-line);
  }
  .bio h1 { font-size: 1.75rem; }
  .bio p  { font-size: 0.9rem; }

  .illustration-col {
    padding-left: 0;
    padding-top: 20px;
    position: relative;
  }

  .quote {
    position: absolute;
    top: 24px;
    right: 0;
    font-size: 0.6rem;
    max-width: 110px;
    margin-bottom: 0;
    z-index: 1;
  }

  .portrait-wrap {
    flex: none;
    height: auto;
    overflow: visible;
  }
  .portrait-wrap img {
    width: 100%;
    height: auto;
    max-height: none;
    object-fit: unset;
  }

  /* inner nav mobile */
  .inner-nav { padding: 10px 20px 10px 24px; }
  .inner-nav-title--projects img { height: 36px; }
  .inner-nav-title--branding img { height: 44px; }
  .inner-nav-title--illus    img { height: 28px; }
  .see-more-btn { font-size: 0.82rem; gap: 7px; }
  .eye-icon { width: 22px; height: 22px; }

  /* menu overlay mobile */
  .menu-overlay::before { left: 20px; }
  .menu-link--projects img,
  .menu-link--illus    img,
  .menu-link--social   img,
  .menu-link--ad       img,
  .menu-link--home     img { height: 52px; }
  .menu-items { gap: 14px; }

  /* illustration gallery mobile */
  .illus-gallery { padding: 24px 24px 40px; }
  .illus-grid { columns: 2; column-gap: 14px; }
  .illus-item { margin-bottom: 14px; }

  /* nav mobile */
  nav { grid-template-columns: 1fr 1fr; }
  .nav-item--projects img { height: 36px; }
  .nav-item--illus    img { height: 28px; }

  /* projects subnav mobile */
  .projects-subnav { padding: 8px 20px; flex-wrap: wrap; gap: 4px; }
  .subnav-label { font-size: 0.68rem; }
  .subnav-tab { font-size: 0.68rem; }

  /* projects sections mobile */
  .project-section { padding: 32px 24px 12px; }
  .section-title { font-size: 1.8rem; }
  .section-desc { max-width: 100%; }

  /* projects entries mobile: single column, media on top */
  .project-entry {
    grid-template-columns: 1fr;
    padding: 28px 0;
    gap: 16px;
  }
  .project-entry .project-info { padding-right: 0; order: 2; }
  .project-entry .project-media { order: 1; }

  .back-to-top { padding: 20px 24px 28px; }

  footer {
    padding: 14px 30px;
    flex-wrap: no-wrap;
    gap: 10px;
  }

  .footer-links { gap: 10px; flex-wrap: no-wrap; }
  .footer-links a, .footer-links span { font-size: 0.72rem; }
  .footer-resume { display: none; }
  .swatches { gap: 8px; }
  .swatch--navy { width: 42px; }

  /* rebus mobile */
  .rebus { padding: 40px 24px 48px; gap: 28px; }
  .rebus-line { font-size: 36px; max-width: 100%; text-align: left; text-align-last: left; }
  .rebus-img { height: 1.4em; }
  .rebus-img--draw { height: 1.1em; }
  .rebus-cta { font-size: 1rem; gap: 24px; max-width: 100%; }  
}
