@import url('https://fonts.googleapis.com/css2?family=EB+Garamond:ital,wght@0,400;0,500;1,400&family=Inter:wght@400;500&display=swap');

/* Refined layer: an editorial sketchbook.
   Warm paper, an editorial serif for statements, a quiet sans for reading, tiny mono labels,
   and the personal pieces (board, paintings, receipt, pencil) given room instead of competing.
   Loaded last on every page so it can be reviewed, tuned or removed as one unit. */

:root {
  /* palette taken from the lipstick painting */
  --paper: #f4f1eb;            /* primed canvas */
  --paper-2: #ebe6dc;
  --ink: #23272e;              /* the shadow's blue-black */
  --ink-soft: #4a4d52;
  --muted: #85817a;
  --rule: #ddd5c6;
  --accent: #b62d26;           /* lipstick red */
  --accent-deep: #6e1d22;      /* the bullet's shaded side */
  --gold: #b8963f;             /* brass tube */
  --font-serif: 'EB Garamond', Garamond, Georgia, serif;
  --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
  --font-mono: 'IBM Plex Mono', ui-monospace, monospace;
  --type-grey: #5c5c5c;           /* the soft grey of the display serif */
  --font-head: var(--font-serif);
  --font-body: var(--font-sans);
  --navy: var(--ink);
  --max-w: 1120px;
}

body, body.dotted-bg {
  background: var(--paper);
  color: var(--ink-soft);
  font-family: var(--font-sans);
  font-size: 15.5px;
  line-height: 1.7;
}
p { color: var(--ink-soft); }
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 600;
  font-optical-sizing: auto;
  color: var(--ink);
  letter-spacing: -0.01em;
  line-height: 1.15;
}
::selection { background: rgba(182, 45, 38, 0.16); }

/* ---------- Header: stamp mark + name, small mono links ---------- */
.site-header { padding: 22px 0 18px; border-bottom: 1px solid var(--rule); }
.brand { gap: 12px; color: var(--ink); }
.brand-mark { width: 36px; height: 36px; image-rendering: pixelated; border-radius: 3px; transition: transform 0.35s ease; }
.brand-mark .bm-edge, .brand-mark .bm-inner { fill: none; stroke: var(--ink); stroke-width: 1.1; }
.brand-mark .bm-inner { stroke-width: 0.6; opacity: 0.55; }
.brand-mark .bm-text { font-family: var(--font-serif); font-style: italic; font-size: 19px; fill: var(--accent); }
.brand:hover .brand-mark { transform: rotate(-6deg); }
.brand-name { display: none; font-family: var(--font-serif); font-size: 19px; font-weight: 500; letter-spacing: -0.005em; }

.main-nav { gap: 30px; }
.main-nav a {
  font-family: var(--font-mono);
  font-weight: 400;
  font-size: 11.5px;
  letter-spacing: 0.14em;
  color: var(--ink-soft);
  padding: 4px 0;
  border-radius: 0;
  background: none !important;
  transform: none !important;
  border-bottom: 1px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.main-nav a:hover { color: var(--ink); border-bottom-color: var(--rule); }
.main-nav a.active { color: var(--ink); border-bottom-color: var(--ink); }
.nav-toggle { border-color: var(--rule); border-radius: 4px; }
@media (max-width: 640px) {
  .brand-name { font-size: 17px; }
  .main-nav { top: 64px; background: var(--paper); border: 1px solid var(--rule); border-radius: 6px; box-shadow: 0 16px 30px rgba(30, 34, 48, 0.08); gap: 0; padding: 6px 16px; }
  .main-nav a { padding: 12px 0; text-align: left; border-bottom: 1px solid var(--rule); }
  .main-nav a:last-child { border-bottom: 0; }
}

/* ---------- Section labels (formerly yellow tape) ---------- */
.featured-tag {
  display: flex;
  align-items: center;
  gap: 14px;
  background: none;
  box-shadow: none;
  transform: none;
  padding: 0;
  font-family: var(--font-mono);
  font-weight: 400;
  font-size: 11.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
.featured-tag::before { content: ''; width: 28px; height: 1px; background: var(--gold); }
.featured-tag::after { display: none; }

/* ---------- Project list: editorial captions, a quiet hover label that follows the cursor ---------- */
.projects { counter-reset: proj; gap: 72px; }
.project-card .thumb { border-radius: 4px; box-shadow: none; background: var(--paper-2); }
.project-card:hover .thumb { box-shadow: none; }
.project-card .thumb img { transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1), filter 0.4s ease; }
.project-card:hover .thumb img { filter: none; transform: none; }
.thumb-ht {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none;
  filter: blur(0.7px);
  -webkit-mask-image: url(../images/hero/wave-mask-halftone.svg); mask-image: url(../images/hero/wave-mask-halftone.svg);
  -webkit-mask-size: 100% 500%; mask-size: 100% 500%;
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
  -webkit-mask-position: 0 100%; mask-position: 0 100%;
}
/* hover: the halftone ripples down over the cover; leaving, a second ripple carries the cover back */
.project-card.ht-in .thumb-ht { animation: thumbWaveIn 1.3s cubic-bezier(0.45, 0, 0.55, 1) forwards; }
.project-card.ht-out .thumb-ht { animation: thumbWaveOut 1.3s cubic-bezier(0.45, 0, 0.55, 1) forwards; }
@keyframes thumbWaveIn  { from { -webkit-mask-position: 0 100%; mask-position: 0 100%; } to { -webkit-mask-position: 0 50%; mask-position: 0 50%; } }
@keyframes thumbWaveOut { from { -webkit-mask-position: 0 50%;  mask-position: 0 50%; }  to { -webkit-mask-position: 0 0%;  mask-position: 0 0%; } }
.project-card .case-cta { z-index: 3; }
.project-card .meta {
  display: grid; grid-template-columns: 1fr auto; column-gap: 32px; align-items: baseline;
  margin-top: 18px; padding: 14px 0 0; border-top: 1px solid var(--rule);
}
.project-card h3 {
  grid-column: 1; font-family: var(--font-serif); font-weight: 600; font-variation-settings: 'opsz' 36;
  font-size: 27px; letter-spacing: -0.012em; line-height: 1.2; margin: 0 0 4px; color: var(--ink);
}
.project-card .tag-line {
  grid-column: 2; grid-row: 1; margin: 0; white-space: nowrap;
  font-family: var(--font-mono); font-style: normal; font-size: 11px;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted);
}
.project-card .desc { grid-column: 1; font-size: 15px; color: var(--muted); margin: 0; }
@media (max-width: 640px) {
  .project-card .meta { grid-template-columns: 1fr; }
  .project-card h3 { font-size: 22px; }
  .project-card .tag-line { grid-column: 1; grid-row: auto; margin: 0 0 6px; white-space: normal; }
}

.case-cta { display: block; background: none; }
.case-cta span {
  position: absolute;
  left: var(--cx, 50%);
  top: var(--cy, 50%);
  transform: translate(-50%, -50%);
  background: var(--accent-deep);
  color: var(--paper);
  border-radius: 3px;
  padding: 7px 12px;
  font-family: var(--font-mono);
  font-weight: 400;
  font-size: 11.5px;
  letter-spacing: 0.04em;
  box-shadow: 0 8px 20px rgba(30, 34, 48, 0.18);
  transition: none;
  white-space: nowrap;
}
.project-card:hover .case-cta span { transform: translate(-50%, -50%); }
.case-cta.follow span { transform: translate(14px, 14px) !important; }
.cta-lock { margin-left: 6px; }

/* ---------- Footer: a warm sign-off and plain links ---------- */
.site-footer {
  background: none;
  border-radius: 0;
  color: var(--ink-soft);
  border-top: 1px solid var(--rule);
  padding: 56px 0 64px;
  margin-top: 96px;
}
.site-footer .container { flex-direction: row; justify-content: space-between; align-items: flex-start; gap: 40px; flex-wrap: wrap; }
.footer-line { font-family: var(--font-serif); font-size: 17px; font-weight: 400; line-height: 1.4; color: var(--ink); margin: 0 0 8px; }
.footer-copy { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin: 0; }
.footer-nav { flex-direction: column; gap: 10px; align-items: flex-start; }
.footer-nav a {
  font-family: var(--font-mono);
  font-weight: 400;
  font-size: 12.5px;
  letter-spacing: 0.04em;
  color: var(--ink-soft);
}
.footer-nav a:hover { color: var(--accent); text-decoration: none; }
.doodle-toggle {
  margin: 8px 0 0;
  padding: 6px 8px 6px 0;
  background: none;
  color: var(--ink-soft);
  font-family: var(--font-mono);
  font-weight: 400;
  font-size: 11.5px;
  letter-spacing: 0.08em;
  border-radius: 0;
}
.doodle-toggle:hover { background: none; color: var(--ink); }
.doodle-toggle:focus-visible { outline: 1px solid var(--ink); }
.doodle-toggle svg path:first-child { fill: none; }
.doodle-toggle-track { background: var(--rule); width: 30px; height: 16px; }
.doodle-toggle-track::after { width: 12px; height: 12px; left: 2px; top: 2px; box-shadow: none; }
.doodle-toggle[aria-checked="true"] .doodle-toggle-track { background: var(--ink); }
.doodle-toggle[aria-checked="true"] .doodle-toggle-track::after { transform: translateX(14px); background: var(--paper); }

/* ---------- Doodle tip: a small paper card instead of yellow tape ---------- */
.doodle-chip {
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: 4px;
  box-shadow: 0 10px 24px rgba(30, 34, 48, 0.08);
  transform: none;
  font-family: var(--font-mono);
  font-weight: 400;
  font-size: 12px;
  color: var(--ink-soft);
}
.doodle-chip::before, .doodle-chip::after { display: none; }
.doodle-chip svg path:first-child { fill: none; }

/* ---------- Case studies ---------- */
.case-hero { border-radius: 4px; }
.case-title h1 { font-size: clamp(38px, 5vw, 60px); font-weight: 400; font-variation-settings: 'opsz' 60; letter-spacing: -0.02em; margin-bottom: 12px; }
.case-title .sub { font-family: var(--font-serif); font-style: italic; font-size: 20px; color: var(--muted); }
.meta-grid { border-color: var(--rule); }
.meta-grid .value { font-weight: 500; color: var(--ink); }
.case-section h2 { font-size: 30px; display: block; margin-bottom: 18px; }
.case-section h2::before { display: none; }
.highlight { font-weight: 600; }
.highlight-orange, .highlight-pink, .highlight-blue { color: var(--accent-deep); }
.case-section p a:hover { color: var(--accent); }
.stat-box { border-radius: 4px; }
.stat-box.filled { background: var(--accent-deep); }
.stat-box.outline { background: transparent; border-color: var(--rule); }
.stat-box .num { font-family: var(--font-serif); font-weight: 400; }
.stat-box.outline .num { color: var(--ink); }
.img-grid img, .stacked-images img, .two-col img, .reflection img, .walkthrough video, .figma-embed { border-radius: 4px; }
.walkthrough video, .figma-embed { box-shadow: 0 1px 2px rgba(30, 34, 48, 0.08), 0 18px 40px rgba(30, 34, 48, 0.08); }
.case-nav a { font-family: var(--font-mono); font-size: 12.5px; letter-spacing: 0.04em; }

/* ---------- About ---------- */
.contact-blurb p { color: var(--ink-soft); }
.icon-links .fill { background: var(--ink); }
.icon-links .outline { border-color: var(--ink); color: var(--ink); }
.icon-links a { border-radius: 4px; }

/* the About board's notes in softer, slightly faded colour */
.sticky-board .note img, .sticky-board .note-shadow-stain { filter: saturate(0.72) contrast(0.96); }

/* ---------- Header: small palette mark, plain links divided by hairlines ---------- */
.site-header { padding: 24px 0 14px; border-bottom: 0; }
.brand-mark { width: 30px !important; height: 30px !important; border-radius: 0 !important; image-rendering: auto !important; }
.main-nav { gap: 0; }
.main-nav a {
  font-family: var(--font-sans); font-size: 14.5px; letter-spacing: 0; text-transform: none;
  color: var(--ink-soft); padding: 2px 18px; border-bottom: 0;
}
.main-nav a + a { border-left: 1px solid var(--rule); }
.main-nav a:last-child { padding-right: 0; }
.main-nav a.active, .main-nav a:hover { color: var(--accent); }
@media (max-width: 640px) { .main-nav a + a { border-left: 0; } .main-nav a { padding: 12px 0; } }

/* ---------- Home ---------- */
body.home {
  background-image:
    linear-gradient(rgba(35, 39, 46, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(35, 39, 46, 0.04) 1px, transparent 1px);
  background-size: 44px 44px;
}
body.home .site-header { border-bottom: 0; }

/* hero: a modest statement on the left, the lipstick small on the right with its shadow running off-screen */
.home-hero { position: relative; min-height: clamp(520px, 35vw, 840px); padding: 72px 0 40px; }
.hh-text { position: relative; z-index: 2; pointer-events: none; }
.hh-text > * { pointer-events: auto; }
.hs-title {
  font-family: var(--font-serif); font-weight: 300; font-variation-settings: 'opsz' 60;
  font-size: clamp(42px, 4.9vw, 70px); line-height: 1.04; letter-spacing: -0.025em;
  color: var(--ink); max-width: 13ch; margin: clamp(150px, 11vw, 270px) 0 0;
}
.hs-title strong { font-weight: 600; color: var(--accent); }

/* curly graphite arrow just above "Selected work": draws itself once on load, turns red on hover */
.scroll-cue { display: block; width: 92px; margin: 0 0 6px 26px; color: #6b6e74; }
.scroll-cue svg { width: 100%; height: auto; overflow: visible; }
.scroll-cue path {
  fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
  stroke-dasharray: 1; stroke-dashoffset: 1;
  animation: cueDraw 1.4s ease-in-out 0.6s 1 forwards;
  transition: stroke 0.2s ease;
}
.scroll-cue path.head { animation: cueDraw 0.35s ease-out 1.9s 1 forwards; }
.scroll-cue:hover { color: var(--accent); }
@keyframes cueDraw { to { stroke-dashoffset: 0; } }

/* anchored to the right edge (not the page centre) and scaled with the viewport, so the shadow always
   runs off-screen and the painting keeps its presence on wide monitors */
.lip-stack { position: absolute; top: 26px; right: -2vw; height: clamp(540px, 36vw, 860px); aspect-ratio: 882 / 1180; margin: 0; z-index: 1; outline: none; }
.lip-stack img { position: absolute; inset: 0; width: 100%; height: 100%; }

/* museum wall label, shown on hover / keyboard focus */
.museum-tag {
  position: absolute; right: 96%; top: 52%; z-index: 3;
  display: flex; flex-direction: column; gap: 1px;
  width: max-content; padding: 8px 12px 9px;
  background: var(--accent-deep); color: var(--paper); border-radius: 3px;
  box-shadow: 0 8px 20px rgba(30, 34, 48, 0.18);
  font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.04em; line-height: 1.5;
  opacity: 0; transform: translateY(4px); pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.mt-medium { opacity: 0.75; }
.lip-stack:hover .museum-tag, .lip-stack:focus-visible .museum-tag { opacity: 1; transform: none; }

/* slow, regular wave: every 13s a wavy edge carries the pixel halftone down the painting, it rests,
   then a second wave carries the painting back. The two masks are exact complements. */
.lip-base, .lip-ht {
  -webkit-mask-size: 100% 500%; mask-size: 100% 500%;
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
  animation: lipWave 13s cubic-bezier(0.45, 0, 0.55, 1) infinite;
}
.lip-base { -webkit-mask-image: url(../images/hero/wave-mask-base.svg); mask-image: url(../images/hero/wave-mask-base.svg); }
.lip-ht   { -webkit-mask-image: url(../images/hero/wave-mask-halftone.svg); mask-image: url(../images/hero/wave-mask-halftone.svg); }
@keyframes lipWave {
  0%, 16%  { -webkit-mask-position: 0 100%; mask-position: 0 100%; }
  41%, 55% { -webkit-mask-position: 0 50%;  mask-position: 0 50%; }
  80%, 100% { -webkit-mask-position: 0 0%;  mask-position: 0 0%; }
}
@media (prefers-reduced-motion: reduce) {
  .scroll-cue path.none { animation: none !important; stroke-dashoffset: 0 !important; }
  .lip-ht { display: none; }
  .lip-base { animation: none; -webkit-mask: none; mask: none; }
  .scroll-cue path { animation: none; stroke-dashoffset: 0; }
  .thumb-ht { transition: none; }
}

#work { scroll-margin-top: 24px; }
#work .featured-tag { margin: 0 0 34px; }

@media (max-width: 760px) {
  .home-hero { min-height: 0; padding: 32px 0 20px; }
  .hs-title { max-width: 11ch; margin-top: 24px; }
  .lip-stack { top: 24px; right: -96px; height: 300px; }
  .museum-tag { right: 40%; top: 60%; font-size: 10.5px; }
  .scroll-cue { width: 72px; margin-left: 18px; }
}
@media (max-width: 480px) {
  .hs-title { font-size: 38px; max-width: 9ch; }
  .lip-stack { height: 250px; right: -84px; top: 40px; }
}

/* ---------- Cursor: a small deep-red dot (the pencil and doodle mode are retired for now) ---------- */
html, body { cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Ccircle cx='10' cy='10' r='6.5' fill='%238f1d1f'/%3E%3C/svg%3E") 10 10, auto; }
a, button, [role="button"], label, summary, .lb-zoomable, .lip-stack {
  cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='28'%3E%3Ccircle cx='14' cy='14' r='10' fill='%238f1d1f'/%3E%3C/svg%3E") 14 14, pointer;
}
input, textarea { cursor: text; }

/* ---------- About: the chai painting's frame and note in red pencil ---------- */
.about-collage .art:nth-child(2) .sketch-frame path,
.sketch-art-note.art-note-hands-tea path { stroke: var(--accent); }
.sketch-art-note.art-note-hands-tea text { fill: var(--accent); }

/* ---------- Project tiles: double pencil frame (js/sketches.js frameTile), like the headshot's ---------- */
.project-card { position: relative; }
.project-card .thumb { z-index: 1; }
.project-card .sketch-tile-frame { position: absolute; z-index: 0; pointer-events: none; }

/* =====================================================================
   Typography system (after akshithavenkat.com):
   - EB Garamond, regular weight, tight tracking, soft grey: statements and headings
   - Inter: navigation in bracketed caps, and reading text
   - IBM Plex Mono: labels, captions, project names and metadata, mostly lowercase or caps
   ===================================================================== */
h1, h2, h3, h4 { font-variation-settings: normal; }
body { font-family: var(--font-sans); font-size: 15px; }

/* nav: [ WORK ]   [ ABOUT ]   [ RESUME ] */
.main-nav { gap: 56px; }
.main-nav a { font-family: var(--font-sans); font-size: 15px; font-weight: 400; text-transform: uppercase; letter-spacing: 0.01em; color: var(--ink); padding: 2px 0; }
.main-nav a + a { border-left: 0; }
.main-nav a::before { content: '[ '; } .main-nav a::after { content: ' ]'; }
.main-nav a.active, .main-nav a:hover { color: var(--accent); }
@media (max-width: 640px) { .main-nav { gap: 0; } .main-nav a::before, .main-nav a::after { content: none; } }

/* home statement: lowercase, regular weight, grey, a red asterisk after the name */
.hs-title {
  font-family: var(--font-serif); font-weight: 400; color: var(--type-grey);
  font-size: clamp(46px, 5.4vw, 80px); line-height: 0.96; letter-spacing: -0.045em; max-width: 12ch;
}
.hs-title .hs-name { color: var(--accent); }

/* section labels: "* browse my gallery" */
.featured-tag { font-family: var(--font-mono); font-size: 17px; letter-spacing: 0.01em; text-transform: none; color: var(--ink); gap: 10px; }
.featured-tag::before { content: '*'; width: auto; height: auto; background: none; color: var(--accent); font-size: 1.3em; line-height: 1; transform: translateY(0.12em); }

/* project captions: name in mono caps, "• role year" in grey on the right */
.project-card h3 { font-family: var(--font-mono); font-weight: 400; font-size: 17px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink); line-height: 1.35; }
.project-card .tag-line { font-family: var(--font-mono); font-size: 15px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.project-card .tag-line::before { content: '\2022\00a0\00a0'; }
.project-card .desc { font-family: var(--font-sans); font-size: 14px; color: var(--muted); margin-top: 4px; }
.project-card .meta { border-top: 0; padding-top: 2px; margin-top: 26px; }
@media (max-width: 640px) { .project-card h3 { font-size: 14px; } .project-card .tag-line { font-size: 12px; } }

/* hover labels in the same mono */
.case-cta span, .museum-tag { font-family: var(--font-mono); }

/* case studies */
.case-title h1 { font-family: var(--font-serif); font-weight: 400; color: var(--type-grey); letter-spacing: -0.04em; line-height: 1; font-size: clamp(42px, 5.4vw, 72px); }
.case-title .sub { font-family: var(--font-mono); font-style: normal; font-size: 14px; letter-spacing: 0.02em; color: var(--muted); }
.case-section h2 { font-family: var(--font-serif); font-weight: 400; color: var(--type-grey); letter-spacing: -0.03em; font-size: 36px; line-height: 1.05; }
.case-section h3, .case-section h4 { font-family: var(--font-mono); font-weight: 400; font-size: 14px; text-transform: uppercase; letter-spacing: 0.08em; }
.meta-grid .label { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.1em; }
.meta-grid .value { font-family: var(--font-sans); font-weight: 400; }
.highlight { font-weight: 500; }
.stat-box .num { font-family: var(--font-serif); }
.quote-card blockquote { font-family: var(--font-mono); }
.case-nav a { font-family: var(--font-mono); text-transform: lowercase; font-size: 14px; }

/* about */
.contact-blurb p, .about-layout p { font-family: var(--font-sans); }

/* footer: a quiet serif line, mono links */
.footer-line { font-family: var(--font-serif); font-weight: 400; font-size: 21px; letter-spacing: -0.02em; color: var(--type-grey); }
.footer-copy, .footer-nav a { font-family: var(--font-mono); text-transform: lowercase; letter-spacing: 0.02em; }

/* ---------- Background: white primed canvas (linen weave + grain) ---------- */
:root { --paper: #fefefc; --paper-2: #f5f3ef; --rule: #e6e1d9; }
body, body.dotted-bg, body.home {
  background-color: #fefefc;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' seed='8'/%3E%3CfeColorMatrix values='0 0 0 0 .45 0 0 0 0 .42 0 0 0 0 .38 0 0 0 .13 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)'/%3E%3C/svg%3E"),
    repeating-linear-gradient(0deg, rgba(120, 108, 92, 0.03) 0 1px, transparent 1px 3px),
    repeating-linear-gradient(90deg, rgba(120, 108, 92, 0.025) 0 1px, transparent 1px 3px);
  background-size: 220px 220px, auto, auto;
}

/* ---------- Logo: "pk" on a maroon wall label, like the painting's museum tag ---------- */
.brand-pk {
  display: inline-block; padding: 4px 7px 5px; border-radius: 3px;
  background: var(--accent-deep); color: #f6f1e7;
  font-family: var(--font-serif); font-size: 17px; line-height: 1; letter-spacing: -0.02em;
  box-shadow: 0 6px 14px rgba(58, 38, 34, 0.16);
  transition: background-color 0.2s ease;
}
.brand:hover .brand-pk { background: var(--accent); }

/* ---------- Text colour: dark brown from the lipstick (shaded bullet / tube shadow) ---------- */
:root { --ink: #3a2622; --ink-soft: #5b463f; --muted: #8c7a71; --type-grey: #3a2622; }

/* =====================================================================
   Two fonts only. EB Garamond (main): statement, headings, project and page titles, footer line.
   Inter (secondary): everything else: nav, labels, metadata, descriptions, captions, notes.
   ===================================================================== */
:root { --font-mono: var(--font-sans); --font-hand: var(--font-serif); }
.featured-tag { font-family: var(--font-sans); font-size: 15px; letter-spacing: 0.01em; }
.project-card h3 {
  font-family: var(--font-serif); font-weight: 400; font-size: 30px; letter-spacing: -0.02em;
  text-transform: none; line-height: 1.1; color: var(--ink);
}
.project-card .tag-line {
  font-family: var(--font-sans); font-size: 12px; font-weight: 500; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--muted); align-self: center;
}
.project-card .tag-line::before { content: none; }
.project-card .desc { font-family: var(--font-sans); font-size: 15px; color: var(--ink-soft); margin-top: 6px; }
@media (max-width: 640px) { .project-card h3 { font-size: 24px; } .project-card .tag-line { font-size: 11px; margin-top: 6px; } }
.case-cta span, .museum-tag { font-family: var(--font-sans); letter-spacing: 0.01em; }
.mt-title { font-family: var(--font-serif); font-size: 16px; }
.case-title .sub, .meta-grid .label, .case-section h3, .case-section h4, .quote-card blockquote,
.case-nav a, .footer-copy, .footer-nav a { font-family: var(--font-sans); }
.sketch text { font-family: var(--font-serif); font-style: italic; font-weight: 400; }
