/* Ricardo Benavente III — personal site.
   Dark, typography-led, text-first. No frameworks, no JS.
   Type system: Benavente Display (display, self-hosted), Inter (body), IBM Plex Mono (labels/captions). */
@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,400;9..144,600&family=IBM+Plex+Mono:wght@400;500&family=Inter:wght@400;500;600&display=swap');

@font-face {
  font-family: 'Benavente Display';
  src: url('assets/fonts/benavente-display-regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Benavente Display';
  src: url('assets/fonts/benavente-display-italic.woff2') format('woff2');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

:root {
  --ink: #f0eee8;
  --muted: #a6a49a;
  --paper: #0b0f16;
  --panel: #141416;
  --line: #2a2f3a;
  --link: #8fc1ff;
  --accent: #d8b36a;
  --serif: 'Benavente Display', 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background-color: #10161f;
  background-image: url('/assets/founder/geometric-tile.jpg');
  background-repeat: repeat;
  background-attachment: fixed;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 18px;
  line-height: 1.7;
}

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.15;
}

h1 { font-size: 3rem; margin: 0 0 1rem; }
h2 { font-size: 2rem; margin: 2.5rem 0 0.75rem; }
h3 { font-size: 1.35rem; margin: 1.5rem 0 0.4rem; }

p { margin: 0 0 1.1rem; }

a { color: var(--link); text-decoration: underline; text-underline-offset: 2px; }
a:hover { text-decoration-thickness: 2px; }

/* Header */
.site-header {
  border-bottom: 1px solid var(--line);
}
.site-header .row {
  max-width: 720px;
  margin: 0 auto;
  padding: 1rem 1.25rem;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.brand {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.35rem;
  color: var(--ink);
  text-decoration: none;
}
.site-header nav a {
  color: var(--muted);
  text-decoration: none;
  font-family: var(--sans);
  font-size: 0.92rem;
  margin-left: 1rem;
}
.site-header nav a:hover { color: var(--ink); }

/* Layout */
main {
  max-width: 720px;
  margin: 0 auto;
  padding: 2rem 1.25rem 3rem;
}

.hero-name { margin: 0 0 0.5rem; font-size: 2.5rem; font-weight: 400; text-align: center; }
.tagline {
  font-size: 1.25rem;
  font-weight: 500;
  max-width: 34rem;
}
.vision {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.4rem;
  color: var(--muted);
  border-left: 3px solid var(--line);
  padding-left: 1rem;
  margin: 2rem 0;
}

/* Hero portrait — session look, light-gray studio backdrop on the dark page */
figure.hero-portrait { margin: 1.5rem 0; text-align: center; }
figure.hero-portrait img {
  max-width: 220px;
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  border: 1px solid var(--line);
}
figure.hero-portrait figcaption {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.75rem;
  margin-top: 0.5rem;
  text-align: center;
}

ul.tight { padding-left: 1.25rem; }
ul.tight li { margin-bottom: 0.6rem; }

.meta { color: var(--muted); font-family: var(--mono); font-size: 0.75rem; }
.rule { border: 0; border-top: 1px solid var(--line); margin: 2.5rem 0; }

figure.portrait { margin: 2rem 0; }
figure.portrait img {
  max-width: 340px;
  width: 100%;
  height: auto;
  border: 1px solid var(--line);
  display: block;
}
figure.portrait figcaption {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.75rem;
  margin-top: 0.5rem;
}

figure.wide img {
  max-width: 100%;
  width: 100%;
  height: auto;
  border: 1px solid var(--line);
  display: block;
}

.note-stub {
  border: 1px solid var(--line);
  background: var(--panel);
  padding: 1.1rem 1.25rem;
  margin-bottom: 1.25rem;
}
.note-stub h3 { margin-top: 0; }
.pill {
  display: inline-block;
  font-family: var(--mono);
  font-size: 0.75rem;
  color: var(--muted);
  border: 1px solid var(--line);
  padding: 0.1rem 0.55rem;
  border-radius: 999px;
  margin-bottom: 0.6rem;
}

footer {
  border-top: 1px solid var(--line);
  max-width: 720px;
  margin: 0 auto;
  padding: 1.5rem 1.25rem 3rem;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.75rem;
}
footer p { margin: 0 0 0.4rem; }

@media (max-width: 560px) {
  .hero-name { font-size: 1.9rem; }
  h1 { font-size: 2.25rem; }
  h2 { font-size: 1.625rem; }
  .tagline { font-size: 1.1rem; }
  .site-header nav a { margin-left: 0.75rem; }
}

.hero-title {
  font-family: var(--sans);
  font-size: 1.1rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 1.6rem;
  text-align: center;
}

.biz-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 14px;
  margin: 1.6rem 0 2.5rem;
}

.biz-card {
  display: block;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 18px 16px;
  background: rgba(20, 20, 22, 0.55);
  text-decoration: none;
  transition: border-color 0.2s, transform 0.2s;
}

a.biz-card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}

.biz-name {
  display: block;
  font-family: var(--serif);
  font-size: 1.25rem;
  color: var(--ink);
  margin-bottom: 6px;
}

a.biz-card .biz-name { text-decoration: none; }

.biz-blurb {
  display: block;
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.45;
}

.ticker {
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin: 0 -24px 2.5rem;
  padding: 14px 0;
  -webkit-mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
  mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
}

.ticker-track {
  display: inline-flex;
  gap: 3.5rem;
  white-space: nowrap;
  animation: ticker-scroll 150s linear infinite;
  padding-right: 3.5rem;
}

.ticker-item {
  font-family: var(--serif);
  font-size: 1.15rem;
  color: var(--muted);
  letter-spacing: 0.04em;
}

@keyframes ticker-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .ticker-track { animation: none; }
}

.hours-strip {
  text-align: center;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin: 2.4rem 0 0;
  padding: 1.6rem 1rem;
}
.hours-kicker {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.6rem;
}
.hours-big { display: block; }
.hours-number {
  font-family: var(--serif);
  font-size: 3rem;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.hours-unit {
  font-size: 1.1rem;
  color: var(--muted);
}
.hours-sub {
  display: block;
  margin-top: 0.5rem;
  font-size: 0.85rem;
  color: var(--muted);
}

.ticker-icon {
  height: 1.4em;
  width: auto;
  vertical-align: middle;
}

/* ---------- Businesses: infinite carousel, fresh cards ---------- */
.our-work {
  max-width: 64ch; color: var(--ink);
  font-size: 1.06rem; line-height: 1.65; margin: 0 0 0.4rem;
}
.our-work strong { color: var(--accent); font-weight: 600; }
.section-sub { color: var(--muted); font-size: 0.95rem; margin: 0.6rem 0 0; }

.carousel { position: relative; margin: 1.6rem -24px 0; }
.carousel-viewport { overflow: hidden; padding: 10px 72px 22px; }
.carousel-track {
  display: flex; gap: 18px; width: max-content;
  align-items: flex-start; will-change: transform;
}
.carousel-slide { flex: 0 0 230px; width: 230px; }
.slide-hit {
  display: block; width: 100%; padding: 0;
  background: #101318; border: 1px solid var(--line); border-radius: 18px;
  overflow: hidden; cursor: pointer; color: inherit; text-align: left;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.slide-hit:hover, .slide-hit:focus-visible {
  transform: translateY(-5px); border-color: var(--accent);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.5); outline: none;
}
.slide-media {
  display: block; aspect-ratio: 16 / 10; overflow: hidden;
  background: #0a0d13; border-bottom: 1px solid var(--line);
}
.slide-media img {
  width: 100%; height: 100%; object-fit: cover; object-position: top center;
  display: block; transition: transform 0.45s ease;
}
.slide-hit:hover .slide-media img { transform: scale(1.05); }
.wordmark-media {
  display: flex; align-items: center; justify-content: center;
  background: radial-gradient(120% 130% at 50% 0%, #1b2231 0%, #0b0f16 72%);
}
.wordmark-media > span {
  font-family: var(--serif); font-size: 2rem; color: var(--ink);
  padding: 0 20px; text-align: center; line-height: 1.25;
}
.slide-bar { display: flex; align-items: center; gap: 8px; padding: 12px; }
.slide-logo {
  height: 22px; max-width: 96px; object-fit: contain; flex: none;
  filter: brightness(0) invert(1); opacity: 0.92;
}
.slide-wordmark { font-family: var(--serif); font-size: 0.92rem; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.slide-name {
  margin-left: auto; font-size: 0.58rem; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--muted); text-align: right; flex: none;
}
.slide-drop {
  margin-top: 10px; padding: 14px 18px 16px;
  border: 1px solid var(--line); border-radius: 14px;
  background: rgba(16, 19, 24, 0.92);
}
.slide-drop p { font-size: 0.9rem; color: var(--muted); line-height: 1.55; margin: 0 0 10px; }
.slide-cta { font-size: 0.9rem; color: var(--link); }
.carousel-arrow {
  position: absolute; top: 34%; z-index: 2;
  width: 42px; height: 42px; border-radius: 50%;
  border: 1px solid var(--line); background: rgba(12, 12, 14, 0.88);
  color: var(--ink); font-size: 1.15rem; cursor: pointer;
}
.carousel-arrow.prev { left: 10px; }
.carousel-arrow.next { right: 10px; }
.carousel-arrow:hover { border-color: var(--accent); }

/* ---------- Logo ticker: pure-white monochrome ---------- */
.ticker-logo {
  height: 30px; max-width: 150px; object-fit: contain; flex: none;
  filter: brightness(0) invert(1); opacity: 0.88;
}

/* ---------- Newsroom cards ---------- */
.news-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; margin: 1.4rem 0 2.5rem; }
.news-card {
  display: block; border: 1px solid var(--line); border-radius: 10px;
  padding: 18px; background: rgba(20, 20, 22, 0.55); text-decoration: none;
}
.news-card:hover { border-color: var(--accent); }
.news-title { display: block; font-family: var(--serif); font-size: 1.2rem; color: var(--ink); margin-bottom: 8px; line-height: 1.35; }
.news-dek { display: block; font-size: 0.88rem; color: var(--muted); line-height: 1.5; }

/* ---------- Contact form ---------- */
.contact-form { display: grid; gap: 14px; max-width: 560px; margin: 1.4rem 0 2.5rem; }
.contact-form label { display: grid; gap: 6px; font-size: 0.9rem; color: var(--muted); }
.contact-form input, .contact-form textarea {
  background: rgba(20, 20, 22, 0.7); border: 1px solid var(--line); border-radius: 8px;
  color: var(--ink); padding: 12px; font: inherit; font-size: 1rem;
}
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--accent); }
.contact-form button {
  justify-self: start; background: var(--accent); color: #111;
  border: none; border-radius: 8px; padding: 12px 28px;
  font: inherit; font-weight: 600; cursor: pointer;
}
.form-note { color: var(--muted); font-size: 0.9rem; }

/* ---------- Exit intent ---------- */
.exit-modal {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(5, 5, 8, 0.78);
  display: flex; align-items: center; justify-content: center; padding: 20px;
}
.exit-modal[hidden] { display: none; }
.exit-card {
  position: relative; max-width: 520px; width: 100%;
  background: #101318; border: 1px solid var(--line); border-radius: 16px;
  padding: 36px 32px; text-align: center;
}
.exit-close {
  position: absolute; top: 10px; right: 14px;
  background: none; border: none; color: var(--muted);
  font-size: 1.6rem; cursor: pointer; line-height: 1;
}
.exit-kicker { font-size: 0.8rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--accent); margin: 0 0 10px; }
.exit-card h3 { font-family: var(--serif); font-size: 1.7rem; margin: 0 0 12px; font-weight: 400; }
.exit-copy { color: var(--muted); font-size: 0.95rem; line-height: 1.6; margin: 0 0 22px; }
.exit-ctas { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.exit-cta {
  border: 1px solid var(--line); border-radius: 10px; padding: 16px 12px;
  text-decoration: none; display: grid; gap: 6px;
}
.exit-cta:hover { border-color: var(--accent); }
.exit-cta strong { color: var(--ink); font-size: 1.1rem; }
.exit-cta span { color: var(--muted); font-size: 0.82rem; line-height: 1.4; }
@media (max-width: 520px) { .exit-ctas { grid-template-columns: 1fr; } }

/* Footer footnote: signature + powered-by */
.site-footer {
  max-width: 720px;
  margin: 0 auto;
  padding: 2rem 1.25rem 1.75rem;
  text-align: center;
  border-top: 1px solid var(--line);
}
.site-footer .signature {
  width: min(300px, 70vw);
  height: auto;
  display: block;
  margin: 0 auto 1rem;
}
.site-footer .powered {
  color: var(--muted);
  font-size: 0.95rem;
  margin: 0;
}

/* "You are leaving this page" interstitial */
.leave-modal {
  position: fixed; inset: 0;
  background: rgba(5, 8, 13, 0.72);
  display: flex; align-items: center; justify-content: center;
  z-index: 60; padding: 1rem;
}
.leave-modal[hidden] { display: none; }
.leave-card {
  background: #101318; border: 1px solid var(--line); border-radius: 16px;
  padding: 2rem; text-align: center; max-width: 26rem;
}
.leave-card h3 { font-family: var(--serif); font-size: 1.5rem; margin: 0 0 0.6rem; font-weight: 400; }
.leave-copy { color: var(--muted); font-size: 0.98rem; margin: 0 0 1.5rem; }
.leave-copy strong { color: var(--ink); }
.leave-actions { display: flex; gap: 0.75rem; justify-content: center; flex-wrap: wrap; }
.leave-go {
  background: var(--accent); color: #14100a; font-weight: 600;
  padding: 0.7rem 1.4rem; border-radius: 999px; text-decoration: none;
}
.leave-go:hover { text-decoration: none; filter: brightness(1.08); }
.leave-stay {
  background: transparent; color: var(--muted);
  border: 1px solid var(--line); border-radius: 999px;
  padding: 0.7rem 1.4rem; cursor: pointer; font-size: 1rem;
}
.leave-stay:hover { color: var(--ink); border-color: var(--muted); }

/* Outbound learn-more pill */
.outbound { text-align: center; margin: 2.5rem 0 1rem; }
.outbound a {
  display: inline-block;
  border: 1px solid var(--accent); color: var(--ink);
  padding: 0.7rem 1.6rem; border-radius: 999px; text-decoration: none;
  font-weight: 500;
}
.outbound a:hover { background: var(--accent); color: #14100a; }

/* ---------- Redesign 2026-10-03: authoritative homepage order ---------- */

/* 1 · Hero: name + small portrait side by side, intro copy beside */
.hero {
  display: flex;
  gap: 2.5rem;
  align-items: flex-start;
  margin: 1rem 0 2.5rem;
}
.hero-id { flex: 0 0 auto; text-align: center; }
.hero .hero-name {
  font-size: 1.6rem;
  margin: 0 0 1rem;
  text-align: center;
  white-space: nowrap;
}
.hero .hero-portrait { margin: 0; }
.hero .hero-portrait img {
  width: 168px;
  height: auto;
  display: block;
  border: 1px solid var(--line);
}
.hero .hero-portrait figcaption {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-top: 0.6rem;
}
.hero-copy { flex: 1 1 auto; min-width: 0; }
.hero-copy .tagline { margin-top: 0; }
.hero-copy p { color: var(--ink); }
@media (max-width: 640px) {
  .hero { flex-direction: column; gap: 1.5rem; }
  .hero .hero-name { white-space: normal; }
}

/* 3 · Experience */
.experience { margin: 0 0 2.5rem; }
.xp-list { list-style: none; margin: 1.2rem 0 0; padding: 0; display: grid; gap: 1rem; }
.xp-list li {
  border-left: 3px solid var(--line);
  padding-left: 1rem;
}
.xp-list li:hover { border-left-color: var(--accent); }
.xp-list strong { font-family: var(--serif); font-size: 1.15rem; font-weight: 400; color: var(--ink); }
.xp-role {
  display: inline-block;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-left: 0.6rem;
}
.xp-line { display: block; color: var(--muted); font-size: 0.95rem; margin-top: 0.25rem; }

/* 4 · Work: pill-shaped outer component, small interactive cards */
.work { margin: 0 0 2rem; }
.work h2 { margin-top: 0; }
.work-pill {
  margin: 1.4rem -24px 0;
  padding: 2rem;
  border: 1px solid var(--line);
  border-radius: 44px;
  background: rgba(16, 19, 24, 0.72);
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(168px, 1fr));
  gap: 16px;
}
.work-card {
  display: block;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  background: #0d1117;
  text-decoration: none;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  position: relative;
}
.work-card:hover, .work-card:focus-visible {
  transform: scale(1.07);
  border-color: var(--accent);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.55);
  outline: none;
  z-index: 2;
}
.work-name {
  display: block;
  font-family: var(--serif);
  font-size: 1rem;
  color: var(--ink);
  padding: 10px 12px 8px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  border-bottom: 1px solid var(--line);
}
.work-shot {
  display: block;
  height: 132px;
  overflow: hidden;
  background: #0a0d13;
}
.work-shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  animation: shot-pan 16s ease-in-out infinite alternate;
}
.work-card:hover .work-shot img, .work-card:focus-visible .work-shot img {
  animation-play-state: paused;
}
@keyframes shot-pan {
  from { object-position: top center; }
  to { object-position: bottom center; }
}
.work-shot-word {
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(120% 130% at 50% 0%, #1b2231 0%, #0b0f16 72%);
}
.work-shot-word > span {
  font-family: var(--serif);
  font-size: 1.35rem;
  color: var(--ink);
  padding: 0 16px;
  text-align: center;
  line-height: 1.3;
}
.work-wordmark { cursor: default; }
@media (prefers-reduced-motion: reduce) {
  .work-shot img { animation: none; }
  .work-card:hover, .work-card:focus-visible { transform: none; }
}

/* 5 · Takumi + Tetsuko banner slot (artwork pending) */
.banner-wrap { margin: 0 -24px 2.5rem; }
.banner-slot {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
  background: #10161f;
  padding: 0 0 2.4rem;
}
.banner-art { display: block; width: 100%; height: auto; }
.duo-names {
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 0.6rem 14% 0;
  text-align: center;
}
.duo-person { display: flex; flex-direction: column; align-items: center; gap: 1rem; }
.duo-name { margin: 0; font-size: 2.6rem; line-height: 1; font-weight: 400; }
.duo-name-tetsuko { font-family: 'Fraunces', Georgia, serif; color: #ae6446; }
.duo-name-takumi { font-family: 'Benavente Display', Georgia, serif; color: var(--ink); }
.banner-pill {
  background: transparent;
  border: 1px solid var(--accent);
  color: var(--ink);
  border-radius: 999px;
  padding: 0.65rem 1.3rem;
  font: inherit;
  font-size: 0.92rem;
  cursor: pointer;
}
.banner-pill:hover { background: var(--accent); color: #14100a; }
@media (max-width: 640px) {
  .banner-slot { aspect-ratio: auto; min-height: 380px; }
  .banner-title { font-size: 1.6rem; }
}

/* 6 · Newsroom: featured + smaller */
.newsroom { margin: 0 0 2rem; }
.newsroom h2 { margin-top: 0; }
.news-featured {
  display: block;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1.8rem;
  background: rgba(20, 20, 22, 0.55);
  text-decoration: none;
  margin: 1.4rem 0 1rem;
}
.news-featured:hover { border-color: var(--accent); }
.news-kicker {
  display: inline-block;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.7rem;
}
.news-featured .news-title { font-size: 1.7rem; }
.news-small { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; }
@media (max-width: 640px) { .news-featured .news-title { font-size: 1.35rem; } }

/* 7 · Floating contact form */
.contact { margin: 0 0 2.5rem; }
.contact-float {
  background: rgba(16, 19, 24, 0.92);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 2rem;
  margin: 1.4rem auto 0;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
  float: none;
}
.contact-float button { justify-self: stretch; }

/* 8 · Quote */
.quote {
  margin: 0 0 2.5rem;
  padding: 2rem 1rem;
  text-align: center;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.quote p {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.5rem;
  color: var(--ink);
  max-width: 36rem;
  margin: 0 auto 0.8rem;
  line-height: 1.5;
}
.quote cite {
  font-family: var(--mono);
  font-style: normal;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

/* 9+10 · Footer: small signature in the corner, powered-by */
.site-footer { text-align: left; }
.foot-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
}
.foot-note { margin: 0; }
.foot-mark { text-align: right; }
.site-footer .signature {
  width: 120px;
  height: auto;
  display: block;
  margin: 0 0 0.4rem auto;
  opacity: 0.9;
}
.site-footer .powered { margin: 0; }

/* ---------- Rebuild 2026-10-03 (night): simplified founder page ---------- */
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* Bluish top nav: no brand text, links + search */
.topnav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.7rem 1.25rem;
  background: rgba(23, 38, 62, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid #2c425f;
}
.topnav-links { display: flex; gap: 1.4rem; flex-wrap: wrap; }
.topnav-links a {
  color: #c8d6ea;
  text-decoration: none;
  font-size: 0.95rem;
}
.topnav-links a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.topnav-search { position: relative; }
.topnav-search input {
  background: rgba(10, 16, 26, 0.8);
  border: 1px solid #2c425f;
  border-radius: 999px;
  color: var(--ink);
  padding: 0.45rem 1rem;
  font: inherit;
  font-size: 0.9rem;
  width: 210px;
}
.topnav-search input:focus { outline: none; border-color: var(--accent); }
.topnav-search input::placeholder { color: #7d8ea6; }
.search-results {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  min-width: 240px;
  background: #101826;
  border: 1px solid #2c425f;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.55);
}
.search-results[hidden] { display: none; }
.search-results a {
  display: block;
  padding: 0.6rem 1rem;
  color: #c8d6ea;
  text-decoration: none;
  font-size: 0.9rem;
  border-bottom: 1px solid rgba(44, 66, 95, 0.5);
}
.search-results a:last-child { border-bottom: none; }
.search-results a:hover { background: rgba(44, 66, 95, 0.5); color: #fff; }
.sr-ext { color: var(--muted); font-size: 0.8rem; }

/* Hero: picture → name → role → companies → lede */
.hero-simple {
  text-align: center;
  padding: 2rem 1.25rem 1.75rem;
  max-width: 640px;
  margin: 0 auto;
}
.hero-face {
  width: 172px;
  height: 172px;
  object-fit: cover;
  object-position: top center;
  border-radius: 50%;
  border: 2px solid var(--line);
  display: block;
  margin: 0 auto 1.2rem;
}
.hero-simple .hero-name {
  font-size: 2.2rem;
  margin: 0 0 0.3rem;
}
.hero-role {
  font-family: var(--mono);
  font-size: 0.8rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 0.6rem;
}
.hero-companies {
  color: var(--accent);
  font-size: 0.95rem;
  margin: 0 0 1.4rem;
}
.hero-lede {
  font-size: 1.08rem;
  line-height: 1.7;
  color: var(--ink);
  margin: 0 0 1.2rem;
}
.learn-link {
  background: none;
  border: none;
  color: var(--link);
  font: inherit;
  font-size: 1rem;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
  padding: 0;
}
.learn-link:hover { text-decoration-thickness: 2px; }

/* Brand ticker: mixed logos + wordmarks */
.brand-ticker {
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 16px 0;
  margin: 0 0 2.5rem;
  -webkit-mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
  mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
}
.brand-ticker-track {
  display: inline-flex;
  align-items: center;
  gap: 3.2rem;
  white-space: nowrap;
  animation: ticker-scroll 55s linear infinite;
  padding-right: 3.2rem;
}
.ticker-word {
  font-family: var(--serif);
  font-size: 1.25rem;
  color: var(--ink);
  letter-spacing: 0.03em;
}
@media (prefers-reduced-motion: reduce) { .brand-ticker-track { animation: none; } }

/* Site carousel */
.site-carousel {
  overflow-x: auto;
  margin: 1.4rem -24px 0;
  padding: 10px 24px 24px;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
}
.site-track { display: flex; gap: 18px; width: max-content; }
.site-card {
  flex: 0 0 240px;
  width: 240px;
  scroll-snap-align: start;
  display: block;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  background: #0d1117;
  text-decoration: none;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.site-card:hover, .site-card:focus-visible {
  transform: scale(1.06);
  border-color: var(--accent);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.55);
  outline: none;
  z-index: 2;
}
.site-name {
  display: block;
  font-family: var(--serif);
  font-size: 1.05rem;
  color: var(--ink);
  padding: 10px 14px 8px;
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.site-shot { display: block; height: 220px; overflow: hidden; background: #0a0d13; }
.site-shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  animation: shot-pan 14s ease-in-out infinite alternate;
}
.site-card:hover .site-shot img { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) {
  .site-shot img { animation: none; }
  .site-card:hover, .site-card:focus-visible { transform: none; }
}

/* Duo banner art + names */
.banner-art {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.banner-names {
  display: flex;
  gap: 3rem;
  justify-content: flex-start;
}
.banner-person { text-align: left; }
.banner-name {
  font-size: 1.9rem;
  margin: 0 0 0.7rem;
  font-weight: 400;
}
.tetsuko-name { font-family: Georgia, 'Times New Roman', serif; color: #AE6446; }
.takumi-name { font-family: var(--serif); color: var(--ink); }

/* Generic modal */
.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(5, 8, 13, 0.78);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.modal[hidden] { display: none; }
.modal-card {
  position: relative;
  max-width: 560px;
  width: 100%;
  max-height: 86vh;
  overflow-y: auto;
  background: #101826;
  border: 1px solid #2c425f;
  border-radius: 18px;
  padding: 2.2rem 2rem;
}
.modal-card h3 { font-family: var(--serif); font-weight: 400; font-size: 1.6rem; margin: 0 0 1rem; }
.modal-card p { color: #c8d6ea; line-height: 1.7; margin: 0 0 1rem; }
.modal-close {
  position: absolute;
  top: 10px;
  right: 16px;
  background: none;
  border: none;
  color: var(--muted);
  font-size: 1.7rem;
  cursor: pointer;
  line-height: 1;
}
.modal-close:hover { color: var(--ink); }

/* Exit card */
.exit-card { text-align: center; border-color: var(--accent); }
.exit-card .exit-kicker { margin-bottom: 0.6rem; }
.contact-pill {
  background: var(--accent);
  color: #14100a;
  border: none;
  border-radius: 999px;
  padding: 0.8rem 2.4rem;
  font: inherit;
  font-weight: 600;
  font-size: 1.05rem;
  cursor: pointer;
  margin-top: 0.6rem;
}
.contact-pill:hover { filter: brightness(1.08); }

/* Footer links row */
.foot-links { display: flex; gap: 1.2rem; flex-wrap: wrap; }
.foot-links a { color: var(--muted); text-decoration: none; font-size: 0.9rem; }
.foot-links a:hover { color: var(--ink); }

@media (max-width: 640px) {
  .topnav { flex-wrap: wrap; }
  .topnav-search input { width: 160px; }
  .hero-simple .hero-name { font-size: 1.8rem; }
  .banner-names { gap: 1.6rem; }
  .banner-name { font-size: 1.5rem; }
}

/* Newsroom editorial themes */
.news-themes {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
  margin-top: 1.2rem;
}
.news-theme {
  font-family: var(--serif);
  font-size: 1.05rem;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.55rem 1.3rem;
  background: rgba(20, 20, 22, 0.55);
}
.news-theme:hover { border-color: var(--accent); }

/* ---------- 2026-10-04: Ricardo fixes — wider page, edge-to-edge, dark scrollbar, compact banner ---------- */

/* 1 · The page breathes: 720px column was strangling it */
main { max-width: 1140px; }
.site-footer { max-width: 1140px; }

/* 2 · Edge to edge: ticker, work carousel, duo banner break out to the viewport edges */
.brand-ticker,
.site-carousel,
.banner-wrap {
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}
html, body { overflow-x: clip; }
@supports not (overflow: clip) { html, body { overflow-x: hidden; } }
.site-carousel {
  margin-top: 1.4rem;
  padding: 10px max(24px, calc((100vw - 1140px) / 2 + 24px)) 24px;
}

/* 3 · Kill the white edge: dark scrollbar to match the page */
html { scrollbar-color: #2c425f #0b0f16; scrollbar-width: thin; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: #0b0f16; }
::-webkit-scrollbar-thumb { background: #2c425f; border-radius: 8px; border: 2px solid #0b0f16; }
::-webkit-scrollbar-thumb:hover { background: #3d5878; }

/* 4 · Duo banner: full-art floating card, interactive lantern + flashlight light play */
.banner-wrap {
  width: auto;
  max-width: 1180px;
  margin: 0 auto 3rem;
  padding: 0 1.5rem;
}
.banner-slot {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  background: radial-gradient(120% 120% at 50% 8%, #1c2432 0%, #0b0e13 60%, #07090c 100%);
  border: 1px solid rgba(255, 255, 255, 0.09);
  box-shadow: 0 44px 90px rgba(0, 0, 0, 0.62), 0 10px 26px rgba(0, 0, 0, 0.5);
  animation: bannerFloat 7s ease-in-out infinite;
}
@keyframes bannerFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-9px); }
}
.banner-art {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: auto;
}
.banner-fx {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
  mix-blend-mode: screen;
}
.banner-fx .fx { transition: opacity 0.45s ease; }
.banner-fx .fx-lantern,
.banner-fx .fx-lantern-pool { opacity: var(--fx-glow, 0); }
.banner-fx .fx-beam,
.banner-fx .fx-flash,
.banner-fx .fx-beam-pool { opacity: var(--fx-beam, 0); }
.banner-copy {
  position: absolute;
  bottom: 5%;
  z-index: 3;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  text-align: center;
}
.tetsuko-copy { left: 30%; }
.takumi-copy { left: 70%; }
.banner-name { font-size: 1.5rem; margin: 0; text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7); }
.banner-pill {
  font-size: 0.85rem;
  padding: 0.5rem 1.15rem;
  transition: box-shadow 0.45s ease, border-color 0.45s ease, color 0.45s ease, background 0.25s ease;
}
.banner-slot.tetsuko-lit .tetsuko-copy .banner-pill {
  border-color: rgba(255, 190, 110, 0.95);
  color: #ffe9c9;
  box-shadow: 0 0 24px rgba(255, 160, 70, 0.8), inset 0 0 12px rgba(255, 170, 80, 0.28);
}
.banner-slot.takumi-lit .takumi-copy .banner-pill {
  border-color: rgba(170, 210, 255, 0.95);
  color: #e9f3ff;
  box-shadow: 0 0 24px rgba(140, 190, 255, 0.85), inset 0 0 12px rgba(150, 200, 255, 0.28);
}
@media (max-width: 640px) {
  .banner-wrap { padding: 0 0.9rem; }
  .banner-slot { border-radius: 18px; }
  .banner-copy { gap: 0.35rem; }
  .banner-name { font-size: 1.15rem; }
  .tetsuko-copy { left: 28%; }
  .takumi-copy { left: 72%; }
}
@media (prefers-reduced-motion: reduce) {
  .banner-slot { animation: none; }
  .banner-fx .fx { transition: none; }
}

/* ---------- 2026-10-04: Ricardo redesign — hero split, ticker second-nav, work cards, thin duo, footer footnote, contact ---------- */

/* 1 · Hero: picture left, smaller name, Solo Founder, copy + Learn More on the side */
.hero-split {
  display: flex;
  gap: 3rem;
  align-items: center;
  max-width: 1020px;
  margin: 0 auto;
  padding: 3rem 1.25rem 2.75rem;
}
.hero-photo {
  flex: 0 0 290px;
  width: 290px;
  height: 370px;
  object-fit: cover;
  object-position: top center;
  border-radius: 18px;
  border: 1px solid var(--line);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  display: block;
}
.hero-side { flex: 1 1 auto; min-width: 0; }
.hero-split .hero-name {
  font-size: 1.85rem;
  margin: 0 0 0.3rem;
  text-align: left;
}
.hero-split .hero-role { text-align: left; margin-bottom: 0.7rem; }
.hero-split .hero-companies { text-align: left; }
.hero-split .hero-lede { margin-bottom: 1.4rem; }
@media (max-width: 700px) {
  .hero-split { flex-direction: column; gap: 1.6rem; text-align: center; padding-top: 2.2rem; }
  .hero-photo { flex: none; width: 220px; height: 280px; }
  .hero-split .hero-name, .hero-split .hero-role, .hero-split .hero-companies { text-align: center; }
}

/* 2 · Ticker: second navigation — white logo + name per brand, seamless loop */
.brand-ticker-track {
  gap: 3rem;
  padding-right: 3rem;
  animation-duration: 70s;
}
.brand-ticker:hover .brand-ticker-track { animation-play-state: paused; }
.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  flex: none;
}
.ticker-item img {
  height: 30px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
  display: block;
  opacity: 0.92;
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.ticker-item:hover img, .ticker-item:focus-visible img { opacity: 1; transform: translateY(-2px); }
.ticker-item:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; border-radius: 4px; }
.ticker-name {
  font-family: var(--sans);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
  white-space: nowrap;
}
.ticker-item:hover .ticker-name { color: var(--accent); }

/* 3 · Work cards: logo on top, site preview, name + identification */
.site-carousel { scroll-snap-type: none; scrollbar-width: none; }
.site-carousel::-webkit-scrollbar { display: none; }
.site-card { flex: 0 0 252px; width: 252px; scroll-snap-align: unset; }
.site-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 80px;
  padding: 14px 18px 10px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
}
.site-logo img { max-height: 54px; max-width: 190px; width: auto; object-fit: contain; display: block; }
.site-logo-mark img { max-height: 46px; }
.site-shot { height: 200px; }
.site-meta { display: block; padding: 12px 16px 14px; }
.site-card .site-name {
  display: block;
  border-bottom: none;
  padding: 0;
  margin: 0 0 3px;
  font-size: 1.08rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.site-id {
  display: block;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.site-card:hover .site-id { color: var(--accent); }

/* 5 · Duo: thin banner, Learn More on each corresponding side */
.duo-thin {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  max-width: 1180px;
  margin: 0 auto 3rem;
  padding: 1rem 2.2rem;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 20px;
  background: linear-gradient(180deg, #141a24 0%, #0b0e13 100%);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
  overflow: hidden;
}
.duo-thin::before, .duo-thin::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  transition: opacity 0.45s ease;
}
.duo-thin::before {
  /* Tetsuko's lantern: warm pool of light with a soft stream rising from it */
  background:
    radial-gradient(42% 125% at 9% 55%, rgba(255, 172, 82, 0.30), transparent 70%),
    conic-gradient(from 270deg at 9% 88%, transparent 238deg, rgba(255, 186, 102, 0.16) 270deg, transparent 302deg);
  opacity: var(--glow-l, 0);
}
.duo-thin::after {
  /* Takumi's flashlight: a cool beam streaming left from the right edge */
  background:
    conic-gradient(from 180deg at 101% 50%, transparent 165deg, rgba(150, 200, 255, 0.32) 180deg, transparent 195deg),
    radial-gradient(30% 100% at 96% 50%, rgba(150, 200, 255, 0.22), transparent 70%);
  opacity: var(--glow-r, 0);
}
.duo-side {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.65rem;
  min-width: 140px;
}
.duo-right { align-items: flex-end; text-align: right; }
.duo-art {
  position: relative;
  z-index: 1;
  height: 148px;
  width: auto;
  max-width: 44%;
  object-fit: contain;
  display: block;
}
.duo-thin .banner-name { font-size: 1.45rem; text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7); }
@media (max-width: 640px) {
  .duo-thin { padding: 0.9rem 1rem; gap: 0.7rem; border-radius: 16px; }
  .duo-art { height: 92px; }
  .duo-thin .banner-name { font-size: 1.05rem; }
  .duo-side { min-width: 0; }
  .duo-thin .banner-pill { font-size: 0.75rem; padding: 0.45rem 0.9rem; }
}
@media (prefers-reduced-motion: reduce) {
  .duo-thin::before, .duo-thin::after { transition: none; }
}

/* 6 · Footer: signature + Powered by Creytix on the left, visible footnote */
.foot-row { align-items: center; }
.foot-mark { text-align: left; }
.site-footer .signature { width: 150px; margin: 0 0 0.5rem 0; }
.foot-note {
  margin: 1.5rem 0 0;
  padding-top: 1.1rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.75rem;
  text-align: left;
}
@media (max-width: 640px) {
  .foot-row { flex-direction: column; align-items: flex-start; }
}

/* 7 · Contact: higher-design modal */
.contact-card {
  max-width: 620px;
  padding: 2.8rem 2.8rem 2.4rem;
  border-color: rgba(216, 179, 106, 0.35);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
}
.contact-kicker {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 0.7rem;
}
.contact-card h3 { font-size: 2.1rem; margin-bottom: 0.5rem; }
.contact-dek { color: var(--muted); font-size: 1rem; margin-bottom: 0; }
.contact-card .contact-form { margin: 1.8rem 0 0; max-width: none; gap: 18px; }
.contact-card .contact-form label {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  gap: 8px;
}
.contact-card .contact-form input,
.contact-card .contact-form textarea {
  background: rgba(8, 11, 17, 0.72);
  border: 1px solid #2c425f;
  border-radius: 10px;
  padding: 14px 16px;
  font-size: 1rem;
  text-transform: none;
  letter-spacing: normal;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.contact-card .contact-form input:focus,
.contact-card .contact-form textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(216, 179, 106, 0.15);
  outline: none;
}
.contact-card .contact-form input::placeholder,
.contact-card .contact-form textarea::placeholder { color: #5c6b82; }
.contact-card .contact-form button {
  justify-self: stretch;
  background: var(--accent);
  color: #14100a;
  border-radius: 999px;
  padding: 1rem 1.4rem;
  font-size: 1.05rem;
  margin-top: 6px;
  transition: filter 0.2s ease, transform 0.2s ease;
}
.contact-card .contact-form button:hover { filter: brightness(1.08); transform: translateY(-1px); }

/* Exit card: expand-your-enterprise */
.exit-card h3 { font-size: 1.9rem; }
@media (max-width: 640px) {
  .contact-card { padding: 2rem 1.4rem 1.8rem; }
  .contact-card h3 { font-size: 1.7rem; }
}

/* Featured newsroom article snippet */
.news-featured .news-dek { margin-bottom: 1rem; }
.news-more {
  display: inline-block;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--accent);
}
.news-featured:hover .news-more { text-decoration: underline; text-underline-offset: 3px; }

/* Work cards: true brand colors on logos; site previews pan at different speeds */
.site-card:nth-child(15n+1) .site-shot img { animation-duration: 32s; }
.site-card:nth-child(15n+2) .site-shot img { animation-duration: 55s; }
.site-card:nth-child(15n+3) .site-shot img { animation-duration: 38s; }
.site-card:nth-child(15n+4) .site-shot img { animation-duration: 66s; }
.site-card:nth-child(15n+5) .site-shot img { animation-duration: 45s; }
.site-card:nth-child(15n+6) .site-shot img { animation-duration: 60s; }
.site-card:nth-child(15n+7) .site-shot img { animation-duration: 35s; }
.site-card:nth-child(15n+8) .site-shot img { animation-duration: 70s; }
.site-card:nth-child(15n+9) .site-shot img { animation-duration: 42s; }
.site-card:nth-child(15n+10) .site-shot img { animation-duration: 58s; }
.site-card:nth-child(15n+11) .site-shot img { animation-duration: 40s; }
.site-card:nth-child(15n+12) .site-shot img { animation-duration: 52s; }
.site-card:nth-child(15n+13) .site-shot img { animation-duration: 48s; }
.site-card:nth-child(15n+14) .site-shot img { animation-duration: 63s; }
.site-card:nth-child(15n+15) .site-shot img { animation-duration: 36s; }

/* Work cards: hover reveals description + consumer edge */
.site-shot { position: relative; }
.site-hover {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 0.55rem;
  padding: 16px;
  background: linear-gradient(180deg, rgba(8, 11, 17, 0.15) 0%, rgba(8, 11, 17, 0.95) 80%);
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  text-align: left;
}
.site-card:hover .site-hover,
.site-card:focus-visible .site-hover,
.site-card:focus-within .site-hover { opacity: 1; transform: none; }
.site-card:hover .site-shot img { transform: scale(1.04); }
.site-desc { font-size: 0.88rem; line-height: 1.5; color: var(--ink); }
.site-edge { font-size: 0.82rem; line-height: 1.5; color: #c8d6ea; }
.site-edge em {
  display: block;
  font-style: normal;
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 3px;
}
@media (prefers-reduced-motion: reduce) {
  .site-hover { transition: none; transform: none; }
  .site-card:hover .site-shot img { transform: none; }
}
.site-shot img { transition: transform 0.45s ease; }

.site-logo-name {
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink);
  line-height: 1.7;
  text-align: left;
}

/* Closing section */
.closing {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(2rem, 6vw, 5rem);
  padding: clamp(3rem, 8vh, 5rem) clamp(1.5rem, 6vw, 4rem);
  border-top: 1px solid var(--line);
}
.closing-photo {
  width: min(300px, 38vw);
  border-radius: 14px;
  display: block;
}
.closing-copy h2 {
  font-family: var(--display);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  margin: 0 0 0.5rem;
}
.closing-copy p { color: var(--muted); margin: 0 0 0.4rem; }
@media (max-width: 640px) {
  .closing { flex-direction: column; text-align: center; }
}
/* Floating contact pill */
.contact-fab {
  position: fixed;
  right: 1.2rem;
  bottom: 1.2rem;
  z-index: 60;
  background: var(--accent);
  color: #14100a;
  border: none;
  border-radius: 999px;
  padding: 0.75rem 1.6rem;
  font: inherit;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.45);
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.contact-fab:hover { filter: brightness(1.08); }
.contact-fab.fab-hidden { opacity: 0; transform: translateY(12px); pointer-events: none; }
