/* Self-hosted Google Fonts (OFL): Libre Baskerville + Montserrat, latin + latin-ext subsets */
@font-face {
  font-family: 'Libre Baskerville';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/LibreBaskerville-italic-400-latin-ext.woff2) format('woff2');
  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: 'Libre Baskerville';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/LibreBaskerville-italic-400-latin.woff2) format('woff2');
  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: 'Libre Baskerville';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/LibreBaskerville-normal-400-latin-ext.woff2) format('woff2');
  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: 'Libre Baskerville';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/LibreBaskerville-normal-400-latin.woff2) format('woff2');
  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: 'Libre Baskerville';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/fonts/LibreBaskerville-normal-700-latin-ext.woff2) format('woff2');
  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: 'Libre Baskerville';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/fonts/LibreBaskerville-normal-700-latin.woff2) format('woff2');
  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: 'Montserrat';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/Montserrat-italic-400-latin-ext.woff2) format('woff2');
  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: 'Montserrat';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/Montserrat-italic-400-latin.woff2) format('woff2');
  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: 'Montserrat';
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
  src: url(/fonts/Montserrat-normal-300-900-latin-ext.woff2) format('woff2');
  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: 'Montserrat';
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
  src: url(/fonts/Montserrat-normal-300-900-latin.woff2) format('woff2');
  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;
}
:root {
  /* A3 palette (from concept D): warm off-white, beige, orange accent */
  --paper: #fafaf8;
  --paper-2: #efede8;
  --ink: #1d1d1d;
  --text: #444;
  --muted: #8a8780;
  --line: #e6e3dc;
  --accent: #f88749;
  --accent-ink: #c25a1f; /* darker orange for small text on light backgrounds */
  --serif: 'Libre Baskerville', Georgia, serif;
  --sans: 'Montserrat', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --gutter: clamp(20px, 4vw, 56px);
  --max: 1320px;
  --radius: 0px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 16px/1.7 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
a:hover { color: var(--accent); }
h1, h2, h3 { margin: 0; font-weight: 400; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.sr, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; top: 8px; left: 8px; z-index: 100; background: var(--ink); color: var(--paper); padding: 8px 12px; }

.wrap { max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.wrap-wide { max-width: 1600px; margin-inline: auto; padding-inline: var(--gutter); }
.section { margin-top: clamp(64px, 10vw, 128px); }
.center { text-align: center; }
.muted { color: var(--muted); }

.display {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: -0.02em;
}
.display em, .hero-title em { font-style: italic; color: var(--accent); }
.label {
  font: 500 12px/1.4 var(--sans);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 6px;
}
.label a { text-decoration: none; }
.lede { font-size: clamp(18px, 1.9vw, 22px); line-height: 1.5; font-weight: 400; max-width: 34em; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; gap: 24px;
  padding: 18px var(--gutter);
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
}
.site-header.scrolled { border-bottom-color: var(--line); }
.wordmark { font: 700 20px/1 var(--serif); text-decoration: none; white-space: nowrap; }
.wordmark span { color: var(--accent); }
.tagline { margin: 0; font-size: 13px; color: var(--muted); white-space: nowrap; }
.site-nav { margin-left: auto; display: flex; gap: 22px; font-size: 15px; }
.site-nav a { text-decoration: none; padding: 4px 0; border-bottom: 1px solid transparent; }
.site-nav a[aria-current='page'] { border-bottom-color: currentColor; }
.menu-btn { display: none; }

@media (max-width: 1000px) {
  .tagline { display: none; }
}
@media (max-width: 820px) {
  .menu-btn {
    display: grid; place-content: center; gap: 6px;
    margin-left: auto; width: 44px; height: 44px;
    background: none; border: 0; color: inherit; cursor: pointer;
  }
  .menu-btn span:not(.sr) { display: block; width: 24px; height: 1.5px; background: currentColor; transition: transform 0.25s; }
  .menu-btn[aria-expanded='true'] span:nth-child(1) { transform: translateY(3.75px) rotate(45deg); }
  .menu-btn[aria-expanded='true'] span:nth-child(2) { transform: translateY(-3.75px) rotate(-45deg); }
  .site-nav {
    position: fixed; inset: 64px 0 auto 0; height: calc(100dvh - 64px);
    flex-direction: column; gap: 0; padding: 16px var(--gutter);
    background: var(--paper);
    font: 400 30px/1.5 var(--serif);
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
  }
  .site-nav.open { opacity: 1; visibility: visible; transform: none; }
  .site-nav a[aria-current='page'] { color: var(--accent); border-bottom-color: transparent; }
  body.nav-open { overflow: hidden; }
  /* backdrop-filter would make the header the containing block for the fixed nav */
  body.nav-open .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--paper); }
}

/* ---------- buttons ---------- */
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 24px;
  border: 1px solid var(--ink); border-radius: 999px;
  background: var(--ink); color: var(--paper);
  font: 400 15px/1 var(--sans); text-decoration: none;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.btn:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn-ghost { background: transparent; color: var(--ink); }

/* ---------- home ---------- */
.hero { padding-top: clamp(48px, 10vw, 140px); display: grid; gap: 40px; }
.hero-title { font-size: clamp(40px, 7.6vw, 112px); }
.hero-body { max-width: 36em; font-size: clamp(18px, 1.6vw, 21px); }
.hero-cta { font-weight: 400; }
@media (min-width: 1000px) {
  .hero { grid-template-columns: 1.4fr 1fr; align-items: end; }
}

.section-head {
  display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap;
  border-top: 1px solid var(--line); padding-top: 16px; margin-bottom: 28px;
}
.section-head h2 { font: 400 clamp(22px, 2.6vw, 32px)/1.2 var(--serif); }
.more { font-size: 15px; text-decoration: none; color: var(--muted); }
.more:hover { color: var(--accent); }

/* ---------- grids & cards ---------- */
.grid { display: grid; gap: clamp(16px, 2.5vw, 32px); grid-template-columns: 1fr; }
@media (min-width: 600px) { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .grid { grid-template-columns: repeat(3, 1fr); } .grid-2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .grid-4 { grid-template-columns: repeat(4, 1fr); } }

.card { text-decoration: none; display: block; }
.card-img { display: block; overflow: hidden; background: var(--paper-2); border-radius: var(--radius); }
.card .card-img { aspect-ratio: 4 / 3; }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1); }
.card:hover img, .case-card:hover img, .case-row .card-img:hover img { transform: scale(1.035); }
.card-blank { width: 100%; height: 100%; background: repeating-linear-gradient(135deg, transparent 0 12px, var(--line) 12px 13px); }
.card-text { display: flex; justify-content: space-between; gap: 12px; padding-top: 10px; font-size: 15px; }
.card-title { font-weight: 400; }
.card-tags { color: var(--muted); font-size: 13px; text-align: right; }

.case-card { text-decoration: none; display: block; }
.case-card .card-img { aspect-ratio: 3 / 2; margin-bottom: 16px; }
.case-card h3 { font: 400 24px/1.2 var(--serif); margin-bottom: 8px; }
.case-card p { color: var(--muted); max-width: 34em; }

.client-cloud { display: flex; flex-wrap: wrap; gap: 4px 28px; font: 400 clamp(18px, 2.1vw, 26px)/1.5 var(--serif); }
.client-cloud a { text-decoration: none; }
.client-cloud li:not(:last-child)::after { content: '·'; margin-left: 28px; color: var(--muted); }
.client-cloud li { display: flex; }

/* ---------- inner pages ---------- */
.page-head { padding-top: clamp(40px, 7vw, 96px); padding-bottom: clamp(24px, 4vw, 48px); }
.page-head h1 { font-size: clamp(32px, 5.2vw, 72px); max-width: 14em; }
.page-head .lede, .page-head .muted { margin-top: 20px; }

.two-col { display: grid; gap: 48px; }
@media (min-width: 900px) { .two-col { grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: 80px; } }
.prose { font-size: 18px; max-width: 38em; }
.prose .lede { margin-bottom: 1.2em; }
.sign { font: italic 400 22px/1 var(--serif); margin-top: 1.4em; }
.side { font-size: 15px; }
.side .label { margin-top: 22px; }
.side .label:first-child { margin-top: 0; }
.side p { margin: 0; }
@media (min-width: 900px) { .side { border-left: 1px solid var(--line); padding-left: 28px; align-self: start; position: sticky; top: 100px; } }
.link-list li { padding: 3px 0; }
.ticks li { padding: 3px 0 3px 20px; position: relative; }
.ticks li::before { content: '✓'; position: absolute; left: 0; color: var(--accent); }

.roles { margin-top: 20px; font: 400 clamp(17px, 1.8vw, 22px)/1.4 var(--serif); }
.roles span { color: var(--accent); margin: 0 0.25em; }
.ways { margin-top: 32px; }
.way { border-top: 1px solid var(--ink); padding-top: 20px; }
.way h2 { font: 400 26px/1.2 var(--serif); margin: 10px 0 12px; }
.num { font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; }
.process { counter-reset: step; display: grid; gap: 0; margin-top: 24px; }
.process li { counter-increment: step; display: grid; gap: 8px 32px; padding: 28px 0; border-top: 1px solid var(--line); }
.process li::before { content: counter(step, decimal-leading-zero); font: 400 40px/1 var(--serif); color: var(--accent); }
.process h3 { font: 400 22px/1.2 var(--serif); }
.process p { color: var(--muted); max-width: 32em; margin: 0; }
@media (min-width: 800px) { .process li { grid-template-columns: 120px 1fr 1.4fr; align-items: baseline; } }

.client-list { columns: 2; column-gap: 32px; font: 400 clamp(19px, 2.2vw, 28px)/1.6 var(--serif); }
.client-list a { text-decoration: none; }

.case-row { display: grid; gap: 28px; align-items: center; padding: 40px 0; border-top: 1px solid var(--line); }
.case-row .card-img { aspect-ratio: 3 / 2; }
.case-row h2 { font-size: clamp(30px, 3.6vw, 46px); margin-bottom: 16px; }
.case-row p { max-width: 30em; font-size: 18px; }
@media (min-width: 900px) {
  .case-row { grid-template-columns: 1.3fr 1fr; gap: 64px; }
  .case-row.flip > :first-child { order: 2; }
}

.hero-img { margin: 0 auto 64px; }
.hero-img img { width: 100%; max-height: 80vh; object-fit: cover; border-radius: var(--radius); }

.contact { padding-bottom: 40px; }
.big-link { display: inline-block; font: 400 clamp(22px, 3.6vw, 44px)/1.2 var(--serif); margin-bottom: 32px; word-break: break-all; }

/* ---------- galleries ---------- */
.masonry { columns: 2; column-gap: 12px; }
@media (min-width: 700px) { .masonry { columns: 3; column-gap: 16px; } }
@media (min-width: 1100px) { .masonry { columns: 4; } }
.tile { position: relative; display: block; margin-bottom: 12px; break-inside: avoid; overflow: hidden; border-radius: var(--radius); background: var(--paper-2); }
@media (min-width: 700px) { .tile { margin-bottom: 16px; } }
.tile img { width: 100%; transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1), filter 0.3s; }
.tile-cap {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 28px 14px 12px; font-size: 14px; color: #fff;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.55));
  opacity: 0; transform: translateY(6px); transition: opacity 0.25s, transform 0.25s;
}
.tile:hover img { transform: scale(1.03); }
.tile:hover .tile-cap, .tile:focus-visible .tile-cap { opacity: 1; transform: none; }
@media (hover: none) { .tile-cap { opacity: 1; transform: none; } }

.cgi-grid { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 600px) { .cgi-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .cgi-grid { grid-template-columns: repeat(3, 1fr); } }
.cgi-grid .tile { margin: 0; aspect-ratio: 1; }
.cgi-grid .tile img { height: 100%; object-fit: cover; }

/* ---------- project ---------- */
.shots { display: grid; gap: clamp(12px, 2vw, 24px); margin-top: clamp(48px, 7vw, 96px); max-width: 1400px; }
.shot { margin: 0; overflow: hidden; border-radius: var(--radius); background: var(--paper-2); }
.shot img { width: 100%; cursor: zoom-in; }
@media (min-width: 800px) {
  .shots { grid-template-columns: repeat(2, 1fr); }
  .shots > .shot:first-child, .shots > .shot.wide { grid-column: 1 / -1; }
  .shots > .shot:not(:first-child) img { height: 100%; object-fit: cover; }
}
.shots > .shot:first-child img { max-height: 88vh; object-fit: cover; }
.shots .video video { width: 100%; }

.pager { margin-top: 80px; padding-top: 20px; padding-bottom: 20px; border-top: 1px solid var(--line); font: 400 17px/1.4 var(--serif); }
.pager a { text-decoration: none; }
.pager.split { display: flex; justify-content: space-between; gap: 24px; }
.pager.split a:last-child { text-align: right; }

/* ---------- lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 50; display: grid; place-items: center;
  background: rgba(10, 10, 10, 0.94); padding: 24px;
  opacity: 0; transition: opacity 0.2s;
}
.lightbox.show { opacity: 1; }
.lightbox img { max-width: 100%; max-height: calc(100dvh - 48px); width: auto; height: auto; object-fit: contain; }
.lightbox button {
  position: absolute; background: none; border: 0; color: #fff; cursor: pointer;
  font: 300 32px/1 var(--sans); width: 56px; height: 56px;
}
.lb-close { top: 8px; right: 8px; }
.lb-prev { left: 4px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 4px; top: 50%; transform: translateY(-50%); }

/* ---------- footer ---------- */
.site-footer {
  margin-top: clamp(96px, 14vw, 180px);
  padding: 48px var(--gutter) 32px;
  border-top: 1px solid var(--line);
  display: grid; gap: 32px;
}
.footer-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.footer-cta .display { font-size: clamp(30px, 5vw, 60px); margin: 0; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 15px; }
.footer-nav a { text-decoration: none; }
.footer-meta { display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: 13px; color: var(--muted); margin: 0; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* ---------- FAQ + at-a-glance ---------- */
.faq-list { max-width: 820px; }
.faq-list details { border-top: 1px solid var(--line); }
.faq-list details:last-child { border-bottom: 1px solid var(--line); }
.faq-list summary { list-style: none; cursor: pointer; padding: 18px 40px 18px 0; position: relative; font: 400 clamp(17px, 1.8vw, 20px)/1.4 var(--serif); }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: '+'; position: absolute; right: 4px; top: 14px; font: 300 26px/1 var(--sans); color: var(--accent); transition: transform 0.2s; }
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list details p { padding: 0 0 20px; margin: 0; color: var(--muted); max-width: 40em; }
.glance-head { margin-top: 2.4em; }
.glance { font-size: 16px; }

/* Comfortable tap targets on touch screens */
@media (pointer: coarse) {
  .wordmark { padding: 12px 0; }
  .pager a, .footer-nav a, .footer-meta a, .link-list a { display: inline-block; padding: 10px 0; }
  .footer-nav { gap: 0 22px; }
  .link-list li { padding: 0; }
}


/* =================== A3 "Index" design =================== */
body { color: var(--text); font-size: 15px; }
a:hover { color: var(--accent-ink); }
h1, h2, h3 { color: var(--ink); }

/* Header: wordmark + quiet nav */
.site-header { background: color-mix(in srgb, var(--paper) 92%, transparent); padding-top: 22px; padding-bottom: 22px; }
.wordmark { font-weight: 400; font-size: 19px; }
.wordmark span { color: var(--accent); }
.tagline { font-size: 12px; }
.site-nav { font-size: 13px; gap: 20px; }
.site-nav a { color: var(--text); }
.site-nav a[aria-current='page'] { color: var(--ink); border-bottom-color: var(--accent); }
@media (max-width: 820px) { .site-nav { font-size: 30px; } .site-nav a { color: var(--ink); } .site-nav a[aria-current='page'] { color: var(--accent-ink); } }

/* Buttons: ink, orange on hover */
.btn:hover { background: var(--accent); border-color: var(--accent); color: var(--ink); }

/* Homepage hero */
.hero-a3 { padding-top: clamp(40px, 9vw, 140px); padding-bottom: clamp(40px, 6vw, 80px); border-bottom: 1px solid var(--ink); }
.hero-a3 h1 { font: 400 clamp(38px, 6.6vw, 104px)/1.06 var(--serif); letter-spacing: -0.035em; max-width: 15ch; }
.hero-a3 h1 em { color: var(--accent); }
.hero-row { display: grid; gap: 24px; margin-top: clamp(32px, 4vw, 56px); }
.hero-row p { max-width: 40em; font-size: 17px; line-height: 1.7; margin: 0; }
.hero-row .meta { font-size: 13px; color: var(--muted); line-height: 1.9; }
.hero-row .meta a { color: var(--ink); border-bottom: 1.5px solid var(--accent); text-decoration: none; }
@media (min-width: 900px) { .hero-row { grid-template-columns: 1.5fr 1fr; } .hero-row .meta { text-align: right; } }

/* Index lists */
.index { margin-top: clamp(64px, 9vw, 120px); }
.index-head { display: grid; grid-template-columns: 56px 1fr auto; gap: 16px; align-items: baseline; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.index-head h2 { font: 400 clamp(22px, 2.4vw, 30px)/1.2 var(--serif); letter-spacing: -0.01em; }
.index-head .n, .index-head .c { font-size: 12px; color: var(--muted); }
.rows { list-style: none; margin: 0; padding: 0; }
.rows a { display: grid; grid-template-columns: 56px minmax(0, 1.1fr) minmax(0, 0.7fr) minmax(0, 1.6fr) 24px; gap: 16px; align-items: baseline; padding: 20px 0; border-bottom: 1px solid var(--line); text-decoration: none; transition: background 0.2s, padding 0.25s; }
.rows .i { font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; }
.rows .t { font: 400 clamp(19px, 1.8vw, 24px)/1.25 var(--serif); color: var(--ink); }
.rows .r { font-size: 11px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.rows .d { font-size: 14px; color: var(--text); }
.rows .go { color: var(--accent); opacity: 0; transform: translateX(-6px); transition: opacity 0.2s, transform 0.2s; }
.rows a:hover { background: var(--paper-2); padding-left: 12px; padding-right: 12px; }
.rows a:hover .t { color: var(--accent-ink); }
.rows a:hover .go { opacity: 1; transform: none; }
@media (max-width: 820px) {
  .rows a, .index-head { grid-template-columns: 36px 1fr; }
  .rows .r { grid-column: 2; order: -1; }
  .rows .t, .rows .d { grid-column: 2; }
  .rows .go, .index-head .c { display: none; }
}
.index-more { display: flex; flex-wrap: wrap; gap: 8px 28px; margin: 28px 0 0; font-size: 14px; }
.index-more a { color: var(--ink); text-decoration: none; border-bottom: 1.5px solid var(--accent); padding-bottom: 2px; }

/* Image that follows the cursor over an index row */
.peek { position: fixed; z-index: 30; width: 280px; aspect-ratio: 4 / 3; pointer-events: none; opacity: 0; transform: translate(28px, -50%) rotate(-1.5deg) scale(0.94); transition: opacity 0.18s, transform 0.2s; box-shadow: 0 24px 50px -22px rgba(0,0,0,0.4); background: var(--paper-2); }
.peek.on { opacity: 1; transform: translate(28px, -50%) rotate(-1.5deg) scale(1); }
.peek img { width: 100%; height: 100%; object-fit: cover; }
@media (hover: none) { .peek { display: none; } }

/* Footer sign-off */
.site-footer { border-top: 1px solid var(--ink); gap: 28px; }
.coffee { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 24px; padding: clamp(16px, 3vw, 40px) 0 clamp(12px, 2vw, 24px); }
.coffee .big { font: 400 clamp(34px, 6vw, 88px)/1 var(--serif); letter-spacing: -0.035em; color: var(--ink); text-decoration: none; }
.coffee .big i { color: var(--accent); }
.coffee .big:hover { color: var(--accent-ink); }
.coffee p { font-size: 13px; color: var(--muted); line-height: 1.9; margin: 0; }
.coffee p a { color: var(--ink); text-decoration: none; border-bottom: 1.5px solid var(--accent); }
.footer-nav a { color: var(--text); }

/* Inner pages: tie headings and accents into the palette */
.page-head h1 em, .display em { color: var(--accent); }
.label { color: var(--muted); }
.side a, .prose a { color: var(--ink); text-decoration-color: var(--accent); text-decoration-thickness: 1.5px; }
.card-img, .shot, .tile { background: var(--paper-2); }
/* Touch screens have no hover previews, so index rows show a small thumbnail instead */
.rows .thumb { display: none; }
@media (hover: none) and (max-width: 820px) {
  .rows a.has-thumb { grid-template-columns: 64px 1fr; }
  .rows a.has-thumb .i { display: none; }
  .rows .thumb { display: block; grid-column: 1; grid-row: 1 / span 3; width: 64px; height: 64px; object-fit: cover; align-self: start; margin-top: 4px; background: var(--paper-2); }
}

/* "Work with me" cards — concept B's bold style in the A3 palette */
.wwm-intro { max-width: 40em; margin: 20px 0 24px; color: var(--muted); font-size: 15px; }
.wwm-intro a { color: var(--ink); text-decoration-color: var(--accent); text-decoration-thickness: 1.5px; }
.offers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.offer { border: 1.5px solid var(--ink); border-radius: 18px; padding: clamp(22px, 2.6vw, 32px); display: grid; gap: 12px; align-content: start; grid-template-rows: auto auto 1fr auto; text-decoration: none; color: var(--ink); transition: background 0.2s, border-color 0.2s, transform 0.2s; }
.offer .rn { font: italic 400 16px/1 var(--serif); color: var(--accent-ink); }
.offer h3 { font: 800 clamp(24px, 2.2vw, 30px)/1.05 var(--sans); letter-spacing: -0.035em; }
.offer p { font-size: 15px; color: var(--text); margin: 0; }
.offer .more { font-size: 13px; font-weight: 600; opacity: 0; transform: translateY(4px); transition: opacity 0.2s, transform 0.2s; }
.offer:hover { background: var(--accent); border-color: var(--accent); color: var(--ink); transform: translateY(-3px); }
.offer:hover .rn, .offer:hover p { color: var(--ink); }
.offer:hover .more { opacity: 1; transform: none; }
@media (hover: none) { .offer .more { opacity: 1; transform: none; } }
@media (max-width: 900px) { .offers { grid-template-columns: 1fr; } }

/* Homepage results row */
.numbers { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); border-bottom: 1px solid var(--line); }
.numbers li { padding: clamp(20px, 3vw, 36px) 16px clamp(20px, 3vw, 36px) 0; }
.numbers li + li { padding-left: 16px; border-left: 1px solid var(--line); }
.numbers b { display: block; font: 400 clamp(38px, 4.4vw, 64px)/1 var(--serif); letter-spacing: -0.04em; color: var(--ink); }
.numbers li:nth-child(odd) b { color: var(--accent); }
.numbers span { display: block; margin-top: 8px; font-size: 13px; color: var(--muted); max-width: 18em; }
@media (max-width: 760px) {
  .numbers { grid-template-columns: 1fr 1fr; }
  .numbers li:nth-child(3) { padding-left: 0; border-left: 0; }
  .numbers li:nth-child(n+3) { border-top: 1px solid var(--line); }
}
