/* Layout: one centered column with wide margins and generous space between sections, so the work has room to breathe. */
:root {
  /* Dark site; the case study folders and process notes are paper and carry their own light tokens */
  --bg: #121314;
  --surface: #1C1F20;
  --ink: #ECEDEA;
  --muted: #A3A9AC;
  --line: #2C3133;
  --accent: #87C1D4;
  --hero-ink: #8DBBCE;
  --ph-ink: #8A9195;
  --grid: rgba(135, 193, 212, 0.42);
  --paper: #E3E6E8;
  --panel: #E1E4E6;
  --tab-1: #E1E4E6;
  --tab-1-ink: #1E2022;
  --tab-2: #BFC4C8;
  --tab-2-ink: #1E2022;
  --tab-3: #5E666C;
  --tab-3-ink: #F1F3F4;
  --tab-ink: #F7F5F0;

  --font-display: "Host Grotesk", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Source Serif 4", Georgia, "Times New Roman", serif;
  --font-label: "IBM Plex Mono", ui-monospace, Menlo, monospace;

  --col: 1040px;
  --gutter: clamp(20px, 5vw, 40px);
  --space-section: clamp(72px, 11vw, 136px);
  color-scheme: dark;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 2px; }

.wrap { max-width: var(--col); margin-inline: auto; padding-inline: var(--gutter); }

/* Header: sticks to the top; the name is larger at the top of the page and shrinks once you scroll */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 10;
  background: var(--bg); border-bottom: 1px solid transparent; transition: border-color 0.3s ease;
}
.site-header .wrap {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 8px 24px; padding-block: 30px; transition: padding-block 0.3s ease;
}
.wordmark { font-family: var(--font-display); font-weight: 600; font-size: 1.6rem; text-decoration: none; letter-spacing: -0.005em; transition: font-size 0.3s ease; }
.site-header.is-scrolled { border-bottom-color: var(--line); }
.site-header.is-scrolled .wrap { padding-block: 14px; }
.site-header.is-scrolled .wordmark { font-size: 1.12rem; }
.nav { display: flex; flex-wrap: wrap; gap: 8px 28px; font-size: 0.95rem; }
.nav a { text-decoration: none; color: var(--muted); }
.nav a:hover { color: var(--ink); }
[id] { scroll-margin-top: 90px; }

/* Interface text (navigation, buttons, links to more) stays in the heading sans; reading text uses the serif */
.nav, .btn, .fb-btn, .lb-close, .more, .all-work, .back, .chip, .fb-count { font-family: var(--font-display); }

/* Type */
.eyebrow {
  font-family: var(--font-label); font-size: 0.78rem; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--muted); margin: 0 0 18px;
}
h1, h2, h3 { font-family: var(--font-display); font-weight: 600; letter-spacing: -0.01em; text-wrap: balance; margin: 0; }
h1 { font-size: clamp(2.5rem, 6.4vw, 4.6rem); line-height: 1.02; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); line-height: 1.12; }
h3 { font-size: 1.3rem; line-height: 1.25; }
p { margin: 0; }
.lead { font-size: clamp(1.15rem, 1.9vw, 1.32rem); line-height: 1.55; color: var(--muted); max-width: 58ch; }

/* Hero */
.hero { padding-block: clamp(56px, 10vw, 120px) clamp(48px, 7vw, 88px); }
.hero h1 { max-width: 14ch; margin-bottom: 32px; color: var(--hero-ink); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.btn {
  display: inline-flex; align-items: center; gap: 8px; padding: 12px 20px; border-radius: 999px;
  font-weight: 500; font-size: 0.98rem; text-decoration: none; border: 1px solid var(--ink);
}
.btn-solid { background: var(--ink); color: var(--bg); }
.btn-solid:hover { background: var(--accent); border-color: var(--accent); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }

.section { padding-block: var(--space-section) 0; }
.hero + #work { padding-top: clamp(24px, 4vw, 48px); }
.section-head { display: grid; gap: 4px; margin-bottom: 44px; }

/* Image slots: a labeled placeholder sits behind each image until the file is added */
.shot { position: relative; margin: 0; aspect-ratio: var(--ratio, 4 / 3); max-width: 100%; background: var(--surface); border-radius: 6px; overflow: hidden; }
.shot picture { position: absolute; inset: 0; }
.shot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.shot.contain img { object-fit: contain; padding: 6%; }
.ph {
  position: absolute; inset: 0; display: grid; place-content: center; gap: 6px; padding: 20px;
  text-align: center; color: var(--ph-ink); border: 1px dashed var(--line); border-radius: 6px;
}
.ph code { font-family: var(--font-label); font-size: 0.8rem; color: var(--ink); opacity: 0.75; }
.ph span { font-size: 0.85rem; max-width: 30ch; }
.shot.has-img .ph { display: none; }
/* Natural frames: the frame takes the image's own shape, so nothing is cropped (used for full-page screenshots) */
.shot.natural { aspect-ratio: var(--ratio, 3 / 4); }
.shot.natural.has-img { aspect-ratio: auto; }
.shot.natural.has-img img { position: static; width: 100%; height: auto; }
.align-top { align-items: start; }
.shot.natural.has-img { background: transparent; }
.shot.logo-lineup img { padding: 4% 5%; }
figcaption { font-size: 0.88rem; color: var(--muted); margin-top: 10px; }
.figure { margin: 0; display: grid; }

/* Case study cards */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.card { display: grid; gap: 16px; align-content: start; text-decoration: none; min-width: 0; }
.card .shot { transition: transform 0.4s ease; }
.card:hover .shot { transform: translateY(-4px); }
.card h3 { font-size: 1.25rem; }
.card p { color: var(--muted); font-size: 0.98rem; }
.card .more { font-size: 0.92rem; font-weight: 500; color: var(--accent); }

/* Process */
.steps { list-style: none; margin: 0; padding: 0; display: grid; }
.step { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 16px 48px; padding-block: 32px; border-top: 1px solid var(--line); }
.step:last-child { border-bottom: 1px solid var(--line); }
.step-num { font-family: var(--font-label); font-size: 0.8rem; color: var(--accent); display: block; margin-bottom: 8px; }
.step h3 { font-size: clamp(1.45rem, 2.4vw, 1.75rem); line-height: 1.2; }
.step p { color: var(--muted); max-width: 60ch; }

/* Experience: horizontal timeline, newest first; turns vertical on narrow screens */
.jobs { position: relative; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 28px; padding-top: 36px; }
.jobs::before { content: ""; position: absolute; top: 5px; left: 0; right: 0; height: 1px; background: var(--line); }
.job { position: relative; min-width: 0; }
.job::before {
  content: ""; position: absolute; top: -36px; left: 0; width: 11px; height: 11px; border-radius: 50%;
  background: var(--bg); border: 2px solid var(--accent);
}
.job:first-child::before { background: var(--accent); }
.job .years { display: block; font-family: var(--font-label); font-size: 0.82rem; color: var(--accent); font-variant-numeric: tabular-nums; margin-bottom: 10px; }
.job h3 { font-size: 1.08rem; margin-bottom: 4px; }
.job .title { color: var(--muted); font-size: 0.88rem; line-height: 1.45; margin-bottom: 10px; }
.job p:not(.title) { font-size: 0.93rem; line-height: 1.55; }

/* Contact */
.contact { padding-block: var(--space-section); }
.contact h2 { font-size: clamp(2.2rem, 5vw, 3.4rem); margin-bottom: 20px; }
.contact-links { display: flex; flex-wrap: wrap; gap: 12px 32px; margin-top: 28px; font-size: 1.05rem; }
.todo { background: var(--surface); border: 1px dashed var(--muted); border-radius: 4px; padding: 1px 8px; font-family: var(--font-label); font-size: 0.85em; }

.site-footer { border-top: 1px solid var(--line); }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-block: 28px; font-size: 0.88rem; color: var(--muted); }

/* Case study pages */
.cs-hero { padding-block: clamp(40px, 7vw, 80px) 40px; }
.back { display: inline-block; font-size: 0.92rem; color: var(--muted); text-decoration: none; margin-bottom: 40px; }
.back:hover { color: var(--accent); }
.cs-hero h1 { font-size: clamp(2.2rem, 5.2vw, 3.8rem); max-width: 18ch; margin-bottom: 24px; }
.meta { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px 40px; margin: 48px 0 0; padding-top: 28px; border-top: 1px solid var(--line); }
.meta div { min-width: 0; }
.meta dt { font-family: var(--font-label); font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.meta dd { margin: 0; font-size: 0.98rem; }

.cs-section { padding-block: clamp(56px, 8vw, 96px) 0; display: grid; gap: 32px; }
.cs-text { display: grid; gap: 16px; max-width: 64ch; }
.cs-text p { color: var(--ink); }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }

.subcards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.subcard { display: grid; gap: 14px; align-content: start; min-width: 0; }
.subcard h3 { font-size: 1.15rem; }
.subcard p { color: var(--muted); font-size: 0.97rem; }
a.subcard { text-decoration: none; }
a.subcard .shot { transition: transform 0.4s ease; }
a.subcard:hover .shot { transform: translateY(-4px); }
.subcard .more { font-size: 0.92rem; font-weight: 500; color: var(--accent); }

.next { margin-top: var(--space-section); border-top: 1px solid var(--line); }
.next a { display: grid; gap: 6px; padding-block: 40px; text-decoration: none; }
.next a:hover h2 { color: var(--accent); }

/* Flipbook (ERA'ZINE): a two-page book. The cover sits alone on the right; Next turns the right page on the spine, Previous turns the left page back. */
.flipbook { display: grid; gap: 20px; justify-items: center; }
.fb-stage { position: relative; width: min(100%, 880px); aspect-ratio: 17 / 11; touch-action: pan-y; }
.fb-book { position: absolute; inset: 0; filter: drop-shadow(0 14px 22px rgba(0, 0, 0, 0.28)); transition: transform 0.6s ease; }
.fb-book.is-closed { transform: translateX(-25%); }
.fb-half, .fb-leaf { position: absolute; top: 0; bottom: 0; width: 50%; }
.fb-left { left: 0; }
.fb-right, .fb-leaf { left: 50%; }
.fb-leaf.on-left { left: 0; }
.fb-half, .fb-face { background-repeat: no-repeat; }
.fb-leaf { transform-style: preserve-3d; transform-origin: left center; z-index: 2; }
.fb-leaf.on-left { transform-origin: right center; }
.fb-face { position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.fb-back { transform: rotateY(180deg); }
.fb-stage .ph { z-index: 3; }
.fb-controls { display: flex; align-items: center; justify-content: center; gap: 20px; flex-wrap: wrap; }
.fb-count { font-family: var(--font-label); font-size: 0.82rem; color: var(--muted); font-variant-numeric: tabular-nums; min-width: 13ch; text-align: center; }
.fb-btn { font: inherit; font-size: 0.95rem; font-weight: 500; color: var(--ink); background: transparent;
  border: 1px solid var(--ink); border-radius: 999px; padding: 10px 18px; cursor: pointer; }
.fb-btn:hover:not(:disabled) { border-color: var(--accent); color: var(--accent); }
.fb-btn:disabled { opacity: 0.35; cursor: default; }
.fb-btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* Case study folder: three tabs, each its own color; the active tab merges into the panel below */
.tabs { display: flex; gap: 6px; padding-inline: 0; margin-top: clamp(12px, 3vw, 32px); position: relative; z-index: 1; }
.tab {
  display: flex; align-items: baseline; gap: 10px; min-width: 0;
  padding: 12px 32px 11px; border-radius: 10px 10px 0 0;
  background: var(--tab-1); color: var(--tab-1-ink); text-decoration: none;
  font-family: var(--font-display); font-weight: 500; font-size: 1rem; white-space: nowrap;
  transform: translateY(4px); transition: transform 0.2s ease, background-color 0.2s ease;
}
.tab-2 { background: var(--tab-2); color: var(--tab-2-ink); }
.tab-3 { background: var(--tab-3); color: var(--tab-3-ink); }
.tab:hover { transform: translateY(0); }
.tab.is-active { transform: none; padding-top: 14px; }
.tab:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.tab-num { font-family: var(--font-label); font-size: 0.78rem; letter-spacing: 0.04em; opacity: 0.8; }
.tab-label { overflow: hidden; text-overflow: ellipsis; }
.folder {
  --panel: var(--tab-1); --bg: #EFF1F2; --ink: #17191B; --muted: #555A5E;
  --line: #BFC5C9; --accent: #25294F; --ph-ink: #6E7579;
  color: var(--ink);
}
.folder.is-green {
  --panel: var(--tab-2); --bg: #D2D6D9; --ink: #1E2022; --muted: #44474A;
  --line: #9DA4A9; --accent: #1E2022; --ph-ink: #4A4D50;
}
.folder.is-dark {
  --panel: var(--tab-3); --bg: #6E767C; --ink: #F1F3F4; --muted: #D3D8DB;
  --line: #848C92; --accent: #F1F3F4; --ph-ink: #D3D8DB;
  color: var(--ink);
}
.folder { background: var(--panel); border-radius: 14px; padding: 0 clamp(20px, 5vw, 56px) clamp(8px, 2vw, 16px); }
.folder .cs-hero { padding-top: clamp(32px, 5vw, 56px); }
.folder .shot { background: var(--bg); }
.folder .next { margin-top: clamp(64px, 9vw, 112px); }

/* Home work folder: slanted tabs in each case study's color; hovering a tab swaps the card below */
.work-folder { position: relative; }
.ftabs { display: flex; gap: 6px; position: relative; padding-inline: 0; }
.ftab {
  position: relative; z-index: 3; display: flex; align-items: baseline; gap: 10px; min-width: 0;
  padding: 12px 32px 19px; margin-bottom: -8px; border-radius: 10px 10px 0 0;
  text-decoration: none; white-space: nowrap;
  font-family: var(--font-display); font-weight: 500; font-size: 1rem;
  background: var(--tab-1); color: var(--tab-1-ink);
  transform: translateY(4px); transition: transform 0.2s ease;
}
.ftab-2 { background: var(--tab-2); color: var(--tab-2-ink); }
.ftab-3 { background: var(--tab-3); color: var(--tab-3-ink); }
.ftab:hover { transform: translateY(0); }
.ftab.is-active { z-index: 6; transform: none; padding-top: 14px; }
.ftab:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.ftab .tab-num { font-family: var(--font-label); font-size: 0.78rem; letter-spacing: 0.04em; opacity: 0.8; }
.wpanel {
  position: relative; z-index: 5; border-radius: 14px;
  padding: clamp(20px, 4vw, 40px); display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(24px, 4vw, 48px); align-items: center;
}
.wpanel[hidden] { display: none; }
.wpanel .shot { border-radius: 8px; }
.wpanel-text { display: grid; gap: 14px; align-content: center; min-width: 0; }
.wpanel-text .eyebrow { margin: 0; }
.wpanel-text h3 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); line-height: 1.15; }
.wpanel-text p { color: var(--muted); }
.btn-panel { justify-self: start; margin-top: 8px; border-color: var(--ink); color: var(--ink); }
.btn-panel:hover { border-color: var(--accent); color: var(--accent); }

/* Tap to enlarge: opens an image full screen; wide pieces scroll sideways at full size */
.zoomable { cursor: zoom-in; }
.zoomable:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.zoom-hint { display: none; }
.lightbox {
  position: fixed; inset: 0; z-index: 100; display: flex; flex-direction: column;
  background: #0E0F10; color: #F2F0EA;
  padding: calc(env(safe-area-inset-top, 0px) + 12px) 0 calc(env(safe-area-inset-bottom, 0px) + 12px);
}
.lightbox[hidden] { display: none; }
.lb-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 0 16px 12px; }
.lb-hint { font-size: 0.85rem; color: #B9BDBF; }
.lb-close {
  font: inherit; font-size: 0.95rem; color: #F2F0EA; background: transparent; cursor: pointer;
  border: 1px solid rgba(242, 240, 234, 0.5); border-radius: 999px; padding: 8px 16px; margin-left: auto;
}
.lb-close:focus-visible { outline: 2px solid #87C1D4; outline-offset: 2px; }
.lb-scroll { flex: 1; min-height: 0; overflow: auto; display: flex; align-items: center; -webkit-overflow-scrolling: touch; }
.lb-scroll img { max-width: none; width: auto; height: auto; max-height: 100%; margin: auto; padding-inline: 16px; box-sizing: content-box; }
@media (min-width: 861px) { .lb-scroll img { max-width: calc(100% - 32px); } }

/* Brochure pair: full trifolds stacked on desktop; on phones, the two front covers side by side (tap opens the full trifold) */
.brochure-pair { display: grid; gap: 32px; }
.stack { display: grid; gap: 32px; }
.print-set { display: grid; gap: 48px; }
.print-flyer { justify-self: center; width: min(100%, 520px); }
.folder .shot.clear, .shot.clear { background: transparent; }

/* All Work page */
.hero-sm { padding-block: clamp(40px, 7vw, 80px) clamp(24px, 4vw, 40px); }
.hero-sm h1 { margin-bottom: 20px; }
.section-tight { padding-block: 8px 0; }
.work-page { padding-bottom: var(--space-section); }
.chip { justify-self: start; font-family: var(--font-label); font-size: 0.74rem; letter-spacing: 0.04em; padding: 4px 10px; border-radius: 999px; }
.chip-1 { background: var(--tab-1); color: var(--tab-1-ink); }
.chip-2 { background: var(--tab-2); color: var(--tab-2-ink); }
.chip-3 { background: var(--tab-3); color: var(--tab-3-ink); }
.gallery-lead { margin-bottom: 32px; }
.cards-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.feature { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 32px 48px; align-items: center; text-decoration: none; }
.feature .shot { transition: transform 0.4s ease; }
.feature:hover .shot { transform: translateY(-4px); }
.feature-text { display: grid; gap: 14px; justify-items: start; min-width: 0; }
.feature-text h3 { font-size: clamp(1.3rem, 2.4vw, 1.7rem); }
.feature-text p { color: var(--muted); }
.feature .more { font-size: 0.92rem; font-weight: 500; color: var(--accent); }
.all-work { display: inline-block; margin-top: 24px; font-weight: 500; color: var(--accent); text-decoration: none; }
.all-work:hover { text-decoration: underline; }
.nav a[aria-current="page"] { color: var(--ink); }

/* Finished space: one tall photo on the left, two wide photos stacked on the right */
.finished-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: repeat(2, minmax(0, 1fr)); gap: 20px; }
.finished-grid .tall { grid-row: 1 / 3; aspect-ratio: 3 / 4; }
.finished-grid .wide { aspect-ratio: auto; height: 100%; }

/* Paper texture on the case study panels: fine grain plus a faint linen weave, drawn under the content */
.folder, .tab, .ftab, .note { position: relative; isolation: isolate; }
.folder::before, .tab::before, .ftab::before, .note::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: -1;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.5  0 0 0 0 0.5  0 0 0 0 0.5  0 0 0 0.55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"),
    repeating-linear-gradient(0deg, rgba(0, 0, 0, 0.035) 0 1px, transparent 1px 3px),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.05) 0 1px, transparent 1px 3px);
  background-size: 240px 240px, auto, auto;
  mix-blend-mode: multiply; opacity: 0.45;
}
.folder.is-dark::before, .tab-3::before, .ftab-3::before { mix-blend-mode: soft-light; opacity: 0.9; }

/* Headings on the paper panels read as ink: roughened edges, uneven density, and on the light panel the grain shows through */
.folder h1, .folder h2, .folder h3 { filter: url(#ink); }

/* The first tab sits flush with the panel's left edge, so that corner is square */
.folder { border-top-left-radius: 0; }

/* Process: a full-width grid band with three paper notes pinned on it */
.grid-band {
  border-block: 1.6px solid var(--grid);
  background-image: linear-gradient(var(--grid) 1.6px, transparent 1.6px), linear-gradient(90deg, var(--grid) 1.6px, transparent 1.6px);
  background-size: 29px 29px; background-position: center top;
  padding-block: clamp(44px, 6vw, 72px);
}
.notes { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 4vw, 52px); align-items: start; }
.note {
  background: var(--paper); color: #17191B; --muted: #4A4F53; --accent: #25294F;
  padding: 26px 24px 30px; display: grid; gap: 10px; align-content: start; min-width: 0;
  box-shadow: 0 16px 26px -12px rgba(0, 0, 0, 0.7), 0 2px 5px rgba(0, 0, 0, 0.35);
}
.note-1 { transform: rotate(-3.2deg); margin-top: 14px; }
.note-2 { transform: rotate(0.5deg); }
.note-3 { transform: rotate(2.6deg); margin-top: 8px; }
.note .step-num { margin: 0; }
.note h3 { font-size: clamp(1.3rem, 2vw, 1.55rem); line-height: 1.2; filter: url(#ink); }
.note p { margin: 0; color: var(--muted); font-size: 0.98rem; line-height: 1.6; }

/* Card photos mounted like prints: white border, soft corner shadow, and a paper clip at the top-left corner */
.pinned { position: relative; min-width: 0; }
.pinned .shot {
  border: 8px solid #F6F7F8; border-radius: 2px;
  box-shadow: 0 1px 2px rgba(0,0,0,0.18), 0 10px 18px -8px rgba(0,0,0,0.35), 6px 14px 22px -14px rgba(0,0,0,0.45), -6px 14px 22px -14px rgba(0,0,0,0.45);
  transform: rotate(-0.6deg);
}
.pinned::after {
  content: ""; position: absolute; z-index: 2; top: -26px; left: 28px; width: 27px; height: 78px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 28 80'%3E%3Cpath d='M11 30 V10 a5 5 0 0 1 10 0 V64 a9 9 0 0 1 -18 0 V9 a7 7 0 0 1 14 0 V52' fill='none' stroke='%23656C71' stroke-width='3.4' stroke-linecap='round'/%3E%3Cpath d='M11 30 V10 a5 5 0 0 1 10 0 V64 a9 9 0 0 1 -18 0 V9 a7 7 0 0 1 14 0 V52' fill='none' stroke='%23D9DEE1' stroke-width='1.3' stroke-linecap='round' transform='translate(-0.6 -0.6)'/%3E%3C/svg%3E") no-repeat center / contain;
  transform: rotate(-12deg); filter: drop-shadow(1px 2px 1.5px rgba(0,0,0,0.35)); pointer-events: none;
}

@media (max-width: 860px) {
  .zoom-hint { display: inline; }
  .wpanel { grid-template-columns: minmax(0, 1fr); }
  .cards, .subcards, .cards-2, .feature { grid-template-columns: minmax(0, 1fr); gap: 44px; }
  .feature { gap: 16px; }
  .step { grid-template-columns: minmax(0, 1fr); }
  .meta { grid-template-columns: minmax(0, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .jobs { grid-template-columns: minmax(0, 1fr); gap: 36px; padding-top: 0; padding-left: 32px; }
  .jobs::before { top: 6px; bottom: 6px; left: 5px; right: auto; width: 1px; height: auto; }
  .job::before { top: 4px; left: -32px; }
  .job p:not(.title) { max-width: 62ch; }
}
@media (max-width: 560px) {
  .notes { grid-template-columns: minmax(0, 1fr); gap: 30px; max-width: 420px; margin-inline: auto; }
  .note-1 { transform: rotate(-2deg); margin-top: 0; }
  .note-2 { transform: rotate(1.4deg); }
  .note-3 { transform: rotate(-1.2deg); margin-top: 0; }
  .finished-grid { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; gap: 14px; }
  .finished-grid .tall { grid-row: auto; }
  .finished-grid .wide { aspect-ratio: 3 / 2; height: auto; }
  .brochure-pair { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .print-set { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; align-items: start; }
  .print-flyer { width: 100%; }
  .shot.brochure { aspect-ratio: 1 / 1; }
  .shot.brochure.clear img { object-fit: contain; }
  .ftabs { padding-inline: 0; gap: 4px; }
  .ftab { flex: 1 1 0; justify-content: center; padding: 10px 8px 17px; font-size: 0.86rem; }
  .ftab.is-active { padding-top: 12px; }
  .ftab .tab-num { display: none; }
  .tabs { padding-inline: 0; gap: 4px; }
  .tab { flex: 1 1 0; justify-content: center; padding: 10px 8px 9px; font-size: 0.86rem; }
  .tab.is-active { padding-top: 12px; }
  .tab-num { display: none; }
  .wordmark { font-size: 1.35rem; }
  .site-header .wrap { padding-block: 20px; }
  .grid-2, .grid-3 { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  .card .shot { transition: none; }
  .card:hover .shot, a.subcard:hover .shot, .feature:hover .shot { transform: none; }
  a.subcard .shot { transition: none; }
  .fb-book { transition: none; }
  .site-header, .site-header .wrap, .wordmark, .tab, .ftab { transition: none; }
}
