/* Public site */

/* ---------- Header ---------- */

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid transparent;
  transition: border-color var(--dur-2) var(--ease-out);
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.header-inner { display: flex; align-items: center; gap: 24px; height: 72px; }

.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--fg); }
.brand-word { font: 500 1.08rem/1 var(--font-mono); letter-spacing: -0.02em; text-transform: lowercase; }
.brand-word strong { font-weight: 600; }
.brand-word span { color: var(--fg-subtle); font-weight: 500; }

.site-nav { margin-left: auto; }
.site-nav ul { display: flex; align-items: center; gap: 4px; list-style: none; }
.site-nav a:not(.btn) {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px;
  border-radius: var(--radius-pill);
  color: var(--fg-muted); text-decoration: none; font-weight: 500; font-size: 0.95rem;
  transition: color var(--dur-1) var(--ease-out), background-color var(--dur-1) var(--ease-out);
}
.site-nav a:not(.btn):hover { color: var(--fg); background: var(--bg-elev-2); }
.nav-cta-mobile { display: none; }

.header-actions { display: flex; align-items: center; gap: 8px; }
.menu-btn { display: none; }
.menu-btn .when-open { display: none; }
.menu-btn[aria-expanded="true"] .when-open { display: block; }
.menu-btn[aria-expanded="true"] .when-closed { display: none; }

@media (max-width: 900px) {
  .header-cta { display: none; }
  .menu-btn { display: inline-grid; }
  .header-actions { margin-left: auto; }
  .site-nav {
    position: fixed; inset: 72px 0 auto 0; z-index: 49;
    margin: 0; padding: 16px var(--gutter) 24px;
    background: var(--bg); border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-lg);
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity var(--dur-2) var(--ease-out), transform var(--dur-2) var(--ease-out), visibility 0s linear var(--dur-2);
  }
  .site-nav.is-open { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
  .site-nav ul { flex-direction: column; align-items: stretch; gap: 2px; }
  .site-nav a:not(.btn) { min-height: 52px; font-size: 1.1rem; color: var(--fg); border-radius: var(--radius-sm); }
  .nav-cta-mobile { display: block; margin-top: 12px; }
  .nav-cta-mobile .btn { width: 100%; min-height: 52px; }
}

/* ---------- Hero ---------- */

.hero { position: relative; padding: clamp(48px, 9vw, 112px) 0 clamp(56px, 8vw, 104px); overflow: hidden; }
.hero-bg {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(60% 50% at 75% 10%, color-mix(in srgb, var(--tint, var(--accent)) 18%, transparent), transparent 70%),
    radial-gradient(40% 40% at 10% 0%, var(--accent-soft), transparent 70%);
}
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(var(--grid-line) 1px, transparent 1px), linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(70% 60% at 50% 20%, #000 30%, transparent 75%);
  mask-image: radial-gradient(70% 60% at 50% 20%, #000 30%, transparent 75%);
}

.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero-copy { display: grid; gap: 28px; justify-items: start; }

.status-pill {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 7px 14px 7px 12px;
  border: 1px solid var(--line-strong); border-radius: var(--radius-pill);
  background: var(--bg-elev);
  font: 500 0.8rem/1.2 var(--font-mono); color: var(--fg-muted);
}
.pulse { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--ok); }
.pulse::after {
  content: ""; position: absolute; inset: -4px; border-radius: 50%;
  border: 2px solid var(--ok); opacity: 0;
  animation: pulse 2.4s var(--ease-out) infinite;
}
@keyframes pulse { 0% { transform: scale(0.6); opacity: 0.7; } 100% { transform: scale(1.6); opacity: 0; } }

.hero-title {
  font-size: clamp(2.5rem, 5.4vw, 4.75rem);
  line-height: 1.02; letter-spacing: -0.045em; font-weight: 600;
}
.hl { font-style: normal; color: var(--accent-text); }
.hero-text { max-width: 54ch; font-size: clamp(1.05rem, 1.4vw, 1.2rem); color: var(--fg-muted); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.hero-stack { position: relative; aspect-ratio: 1 / 0.86; }
.stack-window {
  position: absolute; width: 78%;
  border: 1px solid var(--line-strong); border-radius: 14px; overflow: hidden;
  background: var(--bg-elev-2);
  box-shadow: var(--shadow-lg), 0 0 0 1px rgb(0 0 0 / 0.1);
  transition: transform var(--dur-3) var(--ease-spring);
}
.stack-window img { aspect-ratio: 16 / 10; width: 100%; object-fit: cover; object-position: top center; }
.stack-1 { top: 0; right: 0; z-index: 3; transform: rotate(1.5deg); }
.stack-2 { top: 28%; left: 0; z-index: 2; transform: rotate(-3deg); width: 66%; }
.stack-3 { bottom: 0; right: 8%; z-index: 1; transform: rotate(4deg); width: 58%; opacity: 0.9; }
.hero-stack:hover .stack-1 { transform: rotate(0deg) translate(8px, -8px); }
.hero-stack:hover .stack-2 { transform: rotate(-5deg) translate(-10px, 0); }
.hero-stack:hover .stack-3 { transform: rotate(6deg) translate(6px, 10px); }

@media (max-width: 1023px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-stack { max-width: 640px; width: 100%; justify-self: center; }
}
@media (max-width: 640px) {
  .hero-stack { aspect-ratio: 1 / 0.75; }
  .stack-3 { display: none; }
  .stack-1 { width: 86%; }
  .stack-2 { width: 72%; top: 34%; }
  .hero-actions .btn { flex: 1 1 auto; }
}

/* ---------- Sections ---------- */

.section { padding: clamp(64px, 10vw, 128px) 0; }
.hero + .section { padding-top: clamp(40px, 5vw, 64px); }
.section-alt { background: var(--bg-elev); border-block: 1px solid var(--line); }
.section-head { display: grid; gap: 16px; margin-bottom: clamp(32px, 5vw, 56px); max-width: 760px; }
.section-head-row { max-width: none; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px 48px; }
.section-head-row > :first-child { flex: 0 0 auto; }
.section-head-row > .filters { flex: 1 1 420px; }
.section-title { font-size: clamp(2rem, 4.2vw, 3.4rem); letter-spacing: -0.035em; line-height: 1.05; }
.section-title-xl { font-size: clamp(2.4rem, 5.6vw, 4.6rem); letter-spacing: -0.045em; }
.section-lead { font-size: 1.1rem; color: var(--fg-muted); max-width: 58ch; }
.section-head > div:not(.filters) { display: grid; gap: 16px; }


/* ---------- Filters ---------- */

.filters { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; }
.filter {
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 40px; padding: 0 14px;
  border: 1px solid var(--line-strong); border-radius: var(--radius-pill);
  background: transparent; color: var(--fg-muted);
  font-weight: 500; font-size: 0.9rem;
  transition: background-color var(--dur-1) var(--ease-out), color var(--dur-1) var(--ease-out), border-color var(--dur-1) var(--ease-out);
}
.filter span { font: 500 0.75rem/1 var(--font-mono); color: var(--fg-subtle); }
.filter:hover { color: var(--fg); border-color: var(--fg-subtle); }
.filter.is-active { background: var(--fg); border-color: var(--fg); color: var(--bg); }
.filter.is-active span { color: color-mix(in srgb, var(--bg) 65%, transparent); }
@media (max-width: 900px) { .filters { justify-content: flex-start; } }

/* ---------- Bento grid ---------- */

.bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 16px; }
.work-card[data-span="4"] { grid-column: span 4; }
.work-card[data-span="6"] { grid-column: span 6; }
.work-card[data-span="8"] { grid-column: span 8; }
.work-card[data-span="12"] { grid-column: span 12; }
.work-card[hidden] { display: none; }

@media (max-width: 1023px) {
  .bento { grid-auto-flow: dense; }
  .work-card[data-span] { grid-column: span 6; }
  .work-card[data-span="8"], .work-card[data-span="12"] { grid-column: span 12; }
}
@media (max-width: 680px) {
  .work-card[data-span] { grid-column: span 12; }
}

.work-card {
  position: relative;
  display: flex; flex-direction: column;
  min-width: 0;
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color var(--dur-2) var(--ease-out), box-shadow var(--dur-2) var(--ease-out);
}
.work-card:hover { border-color: color-mix(in srgb, var(--tint) 45%, var(--line)); box-shadow: 0 30px 60px -30px color-mix(in srgb, var(--tint) 35%, transparent); }

.work-media {
  position: relative;
  flex: 1 1 auto;
  display: flex; flex-direction: column;
  min-height: 220px;
  padding: 20px 20px 0;
  background:
    radial-gradient(120% 90% at 50% 0%, color-mix(in srgb, var(--tint) 30%, transparent), transparent 70%),
    var(--bg-elev-2);
  border-bottom: 1px solid var(--line);
}
.work-media .window {
  flex: 1 1 auto;
  border-bottom: 0; border-radius: 12px 12px 0 0;
  box-shadow: 0 -10px 40px -20px rgb(0 0 0 / 0.5);
  transform: translateY(6px);
  transition: transform var(--dur-3) var(--ease-spring);
}
.work-card:hover .work-media .window { transform: translateY(0); }
.window-shot { position: relative; flex: 1 1 auto; min-height: 170px; aspect-ratio: 16 / 9; overflow: hidden; background: var(--bg-elev-3); }
.is-featured .window-shot { aspect-ratio: 16 / 8.2; }
.window-shot img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: top center;
  transition: transform 900ms var(--ease-out);
}
.work-card:hover .window-shot img { transform: scale(1.025); }
.shot-placeholder { position: absolute; inset: 0; display: grid; place-items: center; color: var(--fg-subtle); }

.work-body { display: grid; gap: 12px; padding: 22px 24px 24px; }
.work-meta { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.work-title { font-size: 1.45rem; letter-spacing: -0.025em; }
.is-featured .work-title { font-size: clamp(1.6rem, 2.4vw, 2.1rem); }
.work-title a { text-decoration: none; }
.stretched::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: inherit; }
.work-card:has(.stretched:focus-visible) { outline: 2px solid var(--focus); outline-offset: 3px; }
.stretched:focus-visible { outline: none; }
.work-summary {
  color: var(--fg-muted);
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.is-featured .work-summary { max-width: 60ch; }
.work-foot { display: flex; flex-direction: column; align-items: stretch; gap: 16px; margin-top: 4px; }
.work-actions { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.work-card[data-span="8"] .work-foot, .work-card[data-span="12"] .work-foot { flex-direction: row; align-items: center; justify-content: space-between; }
.work-card[data-span="8"] .work-actions, .work-card[data-span="12"] .work-actions { margin-left: auto; justify-content: flex-end; }
.work-actions .icon-btn { position: relative; z-index: 2; }
.link-arrow {
  display: inline-flex; align-items: center; gap: 6px;
  font-weight: 600; font-size: 0.9rem; color: var(--fg);
  white-space: nowrap;
}
.link-arrow .icon { transition: transform var(--dur-2) var(--ease-out); }
.work-card:hover .link-arrow .icon { transform: translateX(4px); }

@media (max-width: 680px) {
  .work-card[data-span] .work-foot { flex-direction: column; align-items: stretch; }
  .work-card[data-span] .work-actions { margin-left: 0; justify-content: space-between; }
}
@media (max-width: 480px) {
  .work-body { padding: 18px 18px 20px; }
  .work-media { padding: 14px 14px 0; }
}

.empty-state { padding: 48px; text-align: center; border: 1px dashed var(--line-strong); border-radius: var(--radius-lg); color: var(--fg-muted); }

/* ---------- Services ---------- */

.services { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.service {
  display: grid; align-content: start; gap: 12px;
  padding: 28px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  transition: border-color var(--dur-2) var(--ease-out);
}
.service:hover { border-color: var(--line-strong); }
.service-icon {
  display: grid; place-items: center;
  width: 48px; height: 48px; margin-bottom: 8px;
  border-radius: 14px;
  background: var(--accent-soft); color: var(--accent-text);
}
.service h3 { font-size: 1.2rem; }
.service p { color: var(--fg-muted); font-size: 0.97rem; }
@media (max-width: 1023px) { .services { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .services { grid-template-columns: 1fr; } .service { padding: 22px; } }

/* ---------- Process ---------- */

.process { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); list-style: none; border-top: 1px solid var(--line); }
.step { display: grid; align-content: start; gap: 12px; padding: 28px 24px 0 0; }
.step + .step { padding-left: 24px; border-left: 1px solid var(--line); }
.step-num { font: 600 0.85rem/1 var(--font-mono); color: var(--accent-text); }
.step h3 { font-size: 1.3rem; }
.step p { color: var(--fg-muted); }
@media (max-width: 900px) {
  .process { grid-template-columns: 1fr 1fr; row-gap: 32px; }
  .step:nth-child(3) { padding-left: 0; border-left: 0; }
}
@media (max-width: 560px) {
  .process { grid-template-columns: 1fr; row-gap: 0; }
  .step, .step + .step { padding: 24px 0; border-left: 0; border-bottom: 1px solid var(--line); }
}

/* ---------- About ---------- */

.about { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 96px); }
.about > div:first-child { display: grid; gap: 16px; align-content: start; }
.about-body { display: grid; gap: 40px; }
.about-label { margin-bottom: 14px; }
.prose { display: grid; gap: 1em; color: var(--fg-muted); font-size: 1.08rem; }
.prose-lg { font-size: 1.15rem; }
.prose strong { color: var(--fg); font-weight: 600; }
.prose a { color: var(--accent-text); }
.prose ul { display: grid; gap: 8px; padding-left: 1.2em; }
@media (max-width: 900px) { .about { grid-template-columns: 1fr; } }

/* ---------- Contact ---------- */

.contact { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
.contact-copy { display: grid; gap: 20px; position: sticky; top: 104px; }
.contact-list { display: grid; gap: 12px; list-style: none; margin-top: 12px; }
.contact-list li { display: flex; align-items: center; gap: 12px; color: var(--fg-muted); }
.contact-list a { color: var(--fg); font-weight: 500; }
.contact-list a:hover { color: var(--accent-text); }

.contact-form { display: grid; gap: 20px; padding: clamp(20px, 3vw, 36px); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.form-status { font-size: 0.95rem; color: var(--fg-muted); }
.form-status.is-ok { color: var(--ok); }
.form-status.is-error { color: var(--danger); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.contact-form.is-sent .field, .contact-form.is-sent .form-row, .contact-form.is-sent .reach { opacity: 0.5; pointer-events: none; }

.reach { margin: 0; padding: 0; border: 0; min-width: 0; }
.reach legend { display: block; padding: 0; margin-bottom: 8px; }
.reach-options { display: flex; flex-wrap: wrap; gap: 8px; }
.reach-chip { position: relative; }
.reach-chip input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.reach-chip span {
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 44px; padding: 0 16px;
  border: 1px solid var(--line-strong); border-radius: var(--radius-pill);
  color: var(--fg-muted); font-weight: 500; font-size: 0.95rem;
  cursor: pointer;
  transition: background-color var(--dur-1) var(--ease-out), border-color var(--dur-1) var(--ease-out), color var(--dur-1) var(--ease-out);
}
.reach-chip:hover span { border-color: var(--fg-subtle); color: var(--fg); }
.reach-chip input:checked + span { background: var(--accent-soft); border-color: var(--accent); color: var(--fg); }
.reach-chip input:checked + span .icon { color: var(--accent-text); }
.reach-chip input:focus-visible + span { outline: 2px solid var(--focus); outline-offset: 2px; }
.opt { color: var(--fg-subtle); font-weight: 400; }
.opt[hidden] { display: none; }

@media (max-width: 900px) {
  .contact { grid-template-columns: 1fr; }
  .contact-copy { position: static; }
}
@media (max-width: 560px) {
  .form-row { grid-template-columns: 1fr; }
  .form-foot .btn { width: 100%; }
}

/* ---------- Footer ---------- */

.site-footer { border-top: 1px solid var(--line); padding: 48px 0 32px; }
.footer-inner { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 32px; }
.footer-brand { display: grid; gap: 10px; }
.footer-brand p { color: var(--fg-subtle); font-size: 0.92rem; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 4px; }
.footer-nav a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px;
  color: var(--fg-muted); text-decoration: none; border-radius: var(--radius-pill);
}
.footer-nav a:hover { color: var(--fg); background: var(--bg-elev-2); }
.footer-social { display: flex; gap: 8px; }
.footer-base {
  position: relative;
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px;
  margin-top: 32px; padding-top: 24px;
  font-size: 0.85rem; color: var(--fg-subtle);
}
.footer-base::before { content: ""; position: absolute; top: 0; left: var(--gutter); right: var(--gutter); height: 1px; background: var(--line); }
@media (max-width: 900px) {
  .footer-inner { grid-template-columns: 1fr; justify-items: start; gap: 20px; }
  .footer-nav { margin-left: -12px; }
}

/* ---------- Case study ---------- */

.case-hero { position: relative; padding: clamp(32px, 6vw, 72px) 0 clamp(32px, 5vw, 56px); overflow: hidden; }
.back-link {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; margin-bottom: 24px;
  color: var(--fg-muted); text-decoration: none; font-weight: 500;
}
.back-link:hover { color: var(--fg); }
.draft-banner {
  display: flex; align-items: center; gap: 10px; margin-bottom: 24px; padding: 12px 16px;
  border-radius: var(--radius-sm); background: var(--warn-soft); color: var(--warn); font-weight: 500;
}
.case-head { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 32px; }
.case-head > div { display: grid; gap: 18px; }
.case-title { font-size: clamp(2.8rem, 7vw, 6rem); letter-spacing: -0.05em; line-height: 0.98; }
.case-summary { max-width: 60ch; font-size: clamp(1.1rem, 1.6vw, 1.3rem); color: var(--fg-muted); }
.case-meta {
  display: grid; grid-template-columns: repeat(3, auto) 1fr; gap: 0;
  margin: 40px 0 0; border-top: 1px solid var(--line);
}
.case-meta > div { display: grid; gap: 8px; align-content: start; padding: 20px 32px 0 0; }
.case-meta > div + div { padding-left: 32px; border-left: 1px solid var(--line); }
.case-meta dt { font: 500 0.75rem/1.2 var(--font-mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--fg-subtle); }
.case-meta dd { margin: 0; font-weight: 500; }
@media (max-width: 900px) {
  .case-head { grid-template-columns: 1fr; align-items: start; }
  .case-head .btn { justify-self: start; }
  .case-meta { grid-template-columns: 1fr 1fr; row-gap: 20px; }
  .case-meta > div, .case-meta > div + div { padding: 16px 16px 0 0; border-left: 0; }
  .case-meta-wide { grid-column: 1 / -1; }
}

.case-cover { margin: 0; box-shadow: var(--shadow-lg), 0 0 120px -40px color-mix(in srgb, var(--tint) 60%, transparent); border-radius: 16px; }
.case-cover img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top center; }

.case-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.case-label { display: block; margin-bottom: 16px; }
.case-highlights { padding: 28px; position: sticky; top: 104px; }
.check-list { display: grid; gap: 14px; list-style: none; }
.check-list li { display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: start; }
.check-dot {
  display: grid; place-items: center; width: 24px; height: 24px; margin-top: 1px;
  border-radius: 50%; background: var(--accent-soft); color: var(--accent-text);
}
@media (max-width: 900px) {
  .case-grid { grid-template-columns: 1fr; }
  .case-highlights { position: static; }
}

.case-gallery { padding-top: 0; }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 16px; }
.gallery-item { display: block; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--bg-elev-2); }
.gallery-item img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; transition: transform 700ms var(--ease-out); }
.gallery-item:hover img { transform: scale(1.03); }

.next-project { padding-top: 0; }
.next-card {
  position: relative; display: grid; grid-template-columns: 1fr minmax(0, 360px) auto; align-items: center; gap: 32px;
  padding: clamp(20px, 3vw, 32px); text-decoration: none; overflow: hidden;
  transition: border-color var(--dur-2) var(--ease-out);
}
.next-card:hover { border-color: color-mix(in srgb, var(--tint) 50%, var(--line)); }
.next-card > div { display: grid; gap: 8px; }
.next-title { font-size: clamp(1.8rem, 3.6vw, 2.8rem); font-weight: 600; letter-spacing: -0.04em; line-height: 1.05; }
.next-summary { color: var(--fg-muted); max-width: 50ch; }
.next-card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; border-radius: 12px; border: 1px solid var(--line); }
.next-arrow { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); transition: transform var(--dur-2) var(--ease-spring); }
.next-card:hover .next-arrow { transform: translateX(4px); }
@media (max-width: 800px) {
  .next-card { grid-template-columns: 1fr auto; }
  .next-card img { display: none; }
}

.cta-band { background: var(--bg-elev); border-top: 1px solid var(--line); }
.cta-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }

.not-found .container { display: grid; gap: 20px; justify-items: start; min-height: 50vh; align-content: center; }
