/*
 * TimPaemi premium interface layer — 23 August 2026.
 * A restrained, mobile-first finish shared by every public route.
 */

:root {
  --ink: #08090c;
  --surface: #111218;
  --surface-strong: #181a22;
  --white: #fff;
  --text: #f6f3ed;
  --muted: #c4c0b8;
  --dim: #918d87;
  --ivory: #f4f0e8;
  --ivory-muted: #655f57;
  --champagne: #c9a75f;
  --champagne-soft: #ecd394;
  --pink: #c9a75f;
  --pink-soft: #ecd394;
  --cyan: #c9a75f;
  --line: rgba(255, 255, 255, 0.1);
  --line-strong: rgba(255, 255, 255, 0.2);
  --shadow: 0 2rem 6rem rgba(0, 0, 0, 0.4);
  --radius-sm: 0.85rem;
  --radius: 1.3rem;
  --radius-lg: 1.8rem;
  --content: 76rem;
  --reading: 48rem;
  --header-h: 4.75rem;
}

html {
  background: var(--ink);
}

body {
  background:
    radial-gradient(circle at 88% 4%, rgba(201, 167, 95, 0.12), transparent 29rem),
    radial-gradient(circle at 4% 42%, rgba(201, 167, 95, 0.055), transparent 25rem),
    var(--ink);
  font-size: 1rem;
  line-height: 1.62;
}

.page-shell,
.header-inner {
  width: min(calc(100% - 3rem), var(--content));
}

.site-header {
  border-bottom-color: rgba(255, 255, 255, 0.085);
  background: rgba(8, 9, 12, 0.84);
  box-shadow: 0 0.75rem 2.5rem rgba(0, 0, 0, 0.13);
  backdrop-filter: blur(1.15rem) saturate(130%);
  -webkit-backdrop-filter: blur(1.15rem) saturate(130%);
}

.brand-link img {
  width: clamp(8.7rem, 13vw, 10.75rem);
}

.site-nav ul {
  gap: clamp(0.45rem, 1.25vw, 1rem);
}

.site-nav a {
  padding-inline: 0.4rem;
  color: rgba(246, 243, 237, 0.72);
  font-size: 0.79rem;
  font-weight: 650;
  letter-spacing: 0.025em;
  text-transform: none;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--white);
}

.site-nav a[aria-current="page"]:not(.nav-cta) {
  text-decoration: underline;
  text-decoration-color: var(--champagne);
  text-decoration-thickness: 0.12rem;
  text-underline-offset: 0.52rem;
}

.site-nav .nav-cta {
  min-height: 2.8rem;
  margin-left: 0.25rem;
  padding: 0.68rem 1.05rem;
  border: 1px solid rgba(244, 240, 232, 0.96);
  border-radius: 999px;
  background: var(--ivory);
  color: var(--ink);
  box-shadow: 0 0.55rem 1.8rem rgba(0, 0, 0, 0.16);
}

.nav-toggle {
  width: 2.85rem;
  height: 2.85rem;
  border-color: rgba(255, 255, 255, 0.17);
  border-radius: 0.9rem;
  background: rgba(255, 255, 255, 0.045);
}

.eyebrow {
  margin-bottom: 1rem;
  color: var(--champagne-soft);
  font-size: 0.73rem;
  font-weight: 710;
  letter-spacing: 0.13em;
}

.eyebrow::before {
  content: "";
  width: 1.3rem;
  height: 1px;
  margin-right: 0.55rem;
  display: inline-block;
  background: currentColor;
  vertical-align: 0.25em;
}

.display,
.section-title,
.page-title {
  font-weight: 620;
  letter-spacing: -0.055em;
  line-height: 0.96;
  text-transform: none;
}

.display {
  max-width: 14ch;
  font-size: clamp(3.8rem, 6.3vw, 6.4rem);
}

.section-title {
  font-size: clamp(3.2rem, 5.7vw, 5.8rem);
}

.page-title {
  max-width: 16ch;
  font-size: clamp(3.7rem, 7vw, 6.8rem);
}

.editorial-accent {
  margin-top: 0.06em;
  font-size: 1.03em;
  letter-spacing: -0.045em;
  line-height: 0.9;
}

.hero-deck,
.page-deck,
.section-deck,
.section-intro {
  color: rgba(246, 243, 237, 0.72);
  letter-spacing: -0.012em;
}

.button-row {
  gap: 0.65rem;
}

.button {
  min-height: 3.2rem;
  padding: 0.78rem 1.25rem;
  border-radius: 0.9rem;
  font-size: 0.83rem;
  font-weight: 720;
  letter-spacing: 0.02em;
  text-transform: none;
  box-shadow: 0 0.7rem 2rem rgba(0, 0, 0, 0.11);
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 1rem 2.4rem rgba(0, 0, 0, 0.2);
}

.button-primary {
  border-color: var(--ivory);
  background: var(--ivory);
  color: var(--ink);
}

.button-primary:hover {
  border-color: var(--white);
  background: var(--white);
}

.button-secondary {
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.055);
}

.button-secondary:hover {
  border-color: rgba(236, 211, 148, 0.62);
  background: rgba(236, 211, 148, 0.1);
}

.button-text {
  box-shadow: none;
}

.flagship-hero {
  background:
    radial-gradient(circle at 79% 42%, rgba(201, 167, 95, 0.15), transparent 25rem),
    linear-gradient(120deg, rgba(201, 167, 95, 0.05), transparent 38%),
    var(--ink);
}

.hero-wordmark {
  max-width: 43rem;
  opacity: 0.92;
}

.flagship-hero .hero-home {
  min-height: min(48rem, calc(100svh - var(--header-h)));
  padding-block: clamp(2.5rem, 5.5vw, 5rem);
  gap: clamp(2.25rem, 5vw, 5rem);
}

.flagship-hero .hero-deck {
  max-width: 38rem;
  font-size: clamp(1.03rem, 1.55vw, 1.2rem);
}

.portrait-frame,
.founder-card,
.founder-couple,
.editorial-portrait,
.events-access-portrait {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.portrait-frame::after {
  inset: 1rem 1rem auto auto;
  width: 0.72rem;
  height: 0.72rem;
  border-radius: 50%;
}

.route-strip {
  padding-block: 1.1rem;
  background: rgba(255, 255, 255, 0.018);
}

.route-grid {
  gap: 0.6rem;
}

.route-link {
  min-height: 8.3rem;
  padding: 1.2rem;
  border: 1px solid transparent;
  border-right: 0;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.025);
}

.route-link:last-child {
  border-right: 1px solid transparent;
}

a.route-link:hover {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.055);
}

.route-label {
  font-weight: 720;
  letter-spacing: -0.015em;
}

.section {
  padding-block: clamp(4.5rem, 8vw, 7rem);
  border-bottom-color: rgba(255, 255, 255, 0.08);
}

.content-section,
.service-chapter {
  padding-block: clamp(4rem, 7vw, 6.5rem);
}

.section-head {
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

.card-grid {
  gap: 0.8rem;
}

.card {
  min-height: 17rem;
  border-color: rgba(255, 255, 255, 0.095);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 100% 0, rgba(201, 167, 95, 0.09), transparent 16rem),
    rgba(255, 255, 255, 0.026);
}

.card:hover {
  border-color: rgba(236, 211, 148, 0.3);
}

.card h2,
.card h3 {
  letter-spacing: -0.03em;
}

.home-work-section {
  background:
    radial-gradient(circle at 8% 100%, rgba(201, 167, 95, 0.09), transparent 23rem),
    rgba(255, 255, 255, 0.014);
}

.home-work-head {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(19rem, 0.72fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: end;
}

.home-work-head .section-title {
  max-width: 12ch;
}

.home-work-head .reading {
  max-width: 35rem;
}

.home-work-head .reading p {
  color: var(--muted);
}

.home-work-head .button {
  width: fit-content;
  margin-top: 1.15rem;
}

.home-work-list {
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.65rem;
  list-style: none;
}

.home-work-list li {
  min-height: 7rem;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid rgba(255, 255, 255, 0.095);
  border-radius: var(--radius);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.014));
}

.home-work-list span {
  color: var(--champagne-soft);
  font-size: 0.66rem;
  font-weight: 720;
  letter-spacing: 0.085em;
  text-transform: uppercase;
}

.home-work-list strong {
  color: var(--white);
  font-size: clamp(1rem, 1.7vw, 1.25rem);
  letter-spacing: -0.025em;
}

.trust-panel,
.cta-panel,
.brief-panel {
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 100% 0, rgba(201, 167, 95, 0.13), transparent 24rem),
    linear-gradient(145deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.018));
  box-shadow: 0 1.4rem 4rem rgba(0, 0, 0, 0.16);
}

.work-case,
.notice {
  border-radius: var(--radius);
}

.network-cloud span,
.signal-list li {
  border-radius: 999px;
}

.site-footer {
  border-top-color: rgba(255, 255, 255, 0.09);
  background: #07080a;
}

.footer-col h2 {
  letter-spacing: 0.08em;
}

.footer-col a {
  color: rgba(246, 243, 237, 0.68);
}

/* Work — a useful catalog rather than a case-study theatre. */
.work-page .page-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 88% 30%, rgba(201, 167, 95, 0.16), transparent 27rem),
    linear-gradient(130deg, rgba(201, 167, 95, 0.055), transparent 42%);
}

.work-page .page-hero::after {
  position: absolute;
  inset: auto -8rem -14rem auto;
  width: 31rem;
  aspect-ratio: 1;
  border: 1px solid rgba(236, 211, 148, 0.13);
  border-radius: 50%;
  box-shadow: 0 0 0 4rem rgba(236, 211, 148, 0.018), 0 0 0 9rem rgba(236, 211, 148, 0.012);
  content: "";
  pointer-events: none;
}

.work-summary {
  margin-top: clamp(2rem, 4vw, 3rem);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.7rem;
}

.work-summary div {
  padding: 1rem 1.1rem;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.035);
}

.work-summary dt,
.work-summary dd {
  margin: 0;
}

.work-summary div {
  display: flex;
  flex-direction: column;
}

.work-summary dd {
  order: -1;
  display: block;
  color: var(--white);
  font-size: clamp(1.5rem, 3vw, 2.35rem);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1;
}

.work-summary dt {
  margin-top: 0.4rem;
  display: block;
  color: var(--dim);
  font-size: 0.72rem;
  font-weight: 650;
  letter-spacing: 0.075em;
  text-transform: uppercase;
}

.portfolio-section {
  padding-block: clamp(3.75rem, 7vw, 6.5rem);
}

.portfolio-group + .portfolio-group {
  margin-top: clamp(4rem, 8vw, 7rem);
}

.portfolio-group-head {
  margin-bottom: 1.35rem;
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(18rem, 1fr);
  gap: 2rem;
  align-items: end;
}

.portfolio-group-head h3 {
  max-width: 13ch;
  margin: 0;
  color: var(--white);
  font-size: clamp(2.25rem, 4.7vw, 4.5rem);
  letter-spacing: -0.055em;
  line-height: 0.98;
}

.portfolio-group-head p {
  max-width: 42rem;
  margin: 0;
  color: var(--muted);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.7rem;
}

.portfolio-item {
  min-height: 12.4rem;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(255, 255, 255, 0.095);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.014));
}

.portfolio-kind {
  color: var(--champagne-soft);
  font-size: 0.66rem;
  font-weight: 720;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.portfolio-item h4 {
  margin: auto 0 0.52rem;
  color: var(--white);
  font-size: clamp(1.16rem, 2vw, 1.45rem);
  letter-spacing: -0.035em;
  line-height: 1.12;
}

.portfolio-item p {
  margin: 0;
  color: var(--muted);
  font-size: 0.89rem;
  line-height: 1.5;
}

.portfolio-boundary {
  margin-top: clamp(3rem, 6vw, 5rem);
  padding: 1.2rem 1.3rem;
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  border: 1px solid rgba(236, 211, 148, 0.24);
  border-radius: var(--radius);
  background: rgba(201, 167, 95, 0.06);
  color: var(--muted);
}

.portfolio-boundary::before {
  width: 0.55rem;
  height: 0.55rem;
  margin-top: 0.47rem;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--champagne);
  content: "";
}

.portfolio-boundary strong {
  color: var(--white);
}

/* Events — one confident path into a consented private list. */
.events-page .events-landing-header {
  background: linear-gradient(180deg, rgba(8, 9, 12, 0.94), rgba(8, 9, 12, 0));
  box-shadow: none;
  backdrop-filter: none;
}

.events-access-hero,
.events-access-frame {
  min-height: clamp(47rem, 100svh, 58rem);
}

.events-hero-media {
  width: min(58%, 58rem);
}

.events-hero-media img {
  object-position: 48% 44%;
  filter: saturate(0.82) contrast(1.05) brightness(0.84);
}

.events-hero-shade {
  background:
    linear-gradient(90deg, #08090c 0%, #08090c 31%, rgba(8, 9, 12, 0.9) 45%, rgba(8, 9, 12, 0.22) 78%, rgba(8, 9, 12, 0.16) 100%),
    linear-gradient(180deg, rgba(8, 9, 12, 0.14) 45%, rgba(8, 9, 12, 0.9) 100%);
}

.events-access-frame {
  padding-top: calc(var(--header-h) + clamp(2rem, 4vh, 3.5rem));
  padding-bottom: clamp(2rem, 5vh, 3.5rem);
}

.events-access-copy {
  width: min(55vw, 47rem);
}

.events-access-title,
.events-access-title em {
  letter-spacing: -0.065em;
  line-height: 0.84;
}

.events-access-title {
  margin-top: 1.2rem;
  font-size: clamp(4.5rem, 7.7vw, 7.6rem);
}

.events-access-deck {
  max-width: 33rem;
  margin-top: 1.15rem;
  font-size: clamp(1.45rem, 2.35vw, 2.35rem);
  letter-spacing: -0.045em;
  line-height: 0.98;
}

.events-access-action {
  width: min(100%, 42rem);
  margin-top: clamp(1.6rem, 4vh, 2.8rem);
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 1.4rem;
  background: rgba(8, 9, 12, 0.62);
  box-shadow: 0 1.5rem 5rem rgba(0, 0, 0, 0.26);
  backdrop-filter: blur(1.1rem);
  -webkit-backdrop-filter: blur(1.1rem);
}

.events-access-note {
  font-size: 1rem;
}

.events-entry {
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.55rem;
}

.events-field input,
.events-submit {
  min-height: 3.85rem;
  border-radius: 1rem;
}

.events-field input {
  padding-inline: 1.05rem;
  border-color: rgba(244, 240, 232, 0.94);
  background: rgba(244, 240, 232, 0.97);
  font-size: 1rem;
  letter-spacing: 0.015em;
}

.events-submit {
  min-width: 12.5rem;
  padding-inline: 1.15rem;
  border-color: var(--champagne-soft);
  background: var(--champagne-soft);
  font-size: 0.82rem;
  letter-spacing: 0.055em;
  box-shadow: none;
}

.events-submit:hover {
  border-color: var(--white);
  background: var(--white);
}

.events-trap,
.events-trap input {
  position: fixed !important;
  top: 0 !important;
  left: -10000px !important;
  width: 1px !important;
  max-width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.events-turnstile {
  max-width: 100%;
  overflow: clip;
}

.events-consent,
.events-noscript {
  font-size: 0.81rem;
}

.events-scope-section,
.event-standard,
.discretion-section + .section {
  padding-block: clamp(4.5rem, 8vw, 7rem);
}

.stage-ledger > li {
  min-height: 17rem;
}

.discretion-band {
  border-radius: var(--radius-lg);
}

@media (max-width: 66rem) {
  .site-header {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .site-nav {
    position: fixed;
    z-index: 150;
    inset: var(--header-h) 0 0;
    margin: 0;
    padding: 0.65rem 1rem 1rem;
    overflow-y: auto;
    overscroll-behavior: contain;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(8, 9, 12, 0.97);
    box-shadow: 0 2rem 4rem rgba(0, 0, 0, 0.42);
    backdrop-filter: blur(1.25rem);
    -webkit-backdrop-filter: blur(1.25rem);
  }

  .site-nav ul {
    width: min(100%, 40rem);
    margin-inline: auto;
    display: grid;
    gap: 0.3rem;
  }

  .site-nav a {
    min-height: 3.25rem;
    padding: 0.7rem 0.85rem;
    display: flex;
    align-items: center;
    border-radius: 0.8rem;
    font-size: 0.95rem;
  }

  .site-nav a:hover,
  .site-nav a[aria-current="page"]:not(.nav-cta) {
    background: rgba(255, 255, 255, 0.055);
    text-decoration: none;
  }

  .site-nav .nav-cta {
    margin: 0.25rem 0 0;
    justify-content: center;
  }

  .nav-toggle {
    display: block;
  }

  .portfolio-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .work-summary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 48rem) {
  :root {
    --header-h: 4rem;
  }

  .page-shell,
  .header-inner,
  .events-page .header-inner,
  .events-page .page-shell {
    width: min(calc(100% - 2.25rem), var(--content));
  }

  .header-inner {
    min-height: var(--header-h);
  }

  .brand-link img {
    width: 8.7rem;
  }

  .display,
  .page-title,
  .section-title,
  .editorial-page-hero .page-title,
  .contact-hero .page-title {
    max-width: 16ch;
    font-size: clamp(2.65rem, 11.8vw, 3.65rem);
    letter-spacing: -0.058em;
    line-height: 0.98;
    overflow-wrap: normal;
  }

  .editorial-accent {
    line-height: 0.92;
  }

  .hero-brandstage {
    display: none;
  }

  .flagship-hero .hero-home {
    min-height: 0;
    padding-block: 2.25rem 2rem;
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .flagship-hero .display {
    font-size: clamp(2.75rem, 12.1vw, 3.85rem);
  }

  .flagship-hero .hero-deck {
    margin-top: 1.15rem;
    font-size: 1rem;
    line-height: 1.5;
  }

  .flagship-hero .hero-copy .button-row {
    margin-top: 1.35rem;
  }

  .flagship-hero .hero-visual {
    width: 100%;
  }

  .flagship-portrait {
    aspect-ratio: 5 / 4;
  }

  .flagship-portrait img {
    object-position: 50% 36%;
  }

  .entity-rail {
    padding-block: 1rem 1.3rem;
    display: grid;
    gap: 0.24rem;
  }

  .button-row {
    display: grid;
    grid-template-columns: 1fr;
  }

  .button {
    width: 100%;
    min-height: 3.2rem;
    font-size: 0.87rem;
  }

  .button-text {
    min-height: 2.75rem;
  }

  .route-strip {
    padding-block: 0.8rem;
  }

  .route-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .route-link {
    min-height: 7.3rem;
    padding: 1rem;
    gap: 0.65rem;
    font-size: 0.82rem;
  }

  .route-label {
    font-size: 0.92rem;
  }

  .route-arrow {
    font-size: 1.1rem;
  }

  .section,
  .content-section,
  .service-chapter,
  .portfolio-section {
    padding-block: 3.75rem;
  }

  .section-head,
  .compact-section-head {
    margin-bottom: 1.85rem;
  }

  .section-deck,
  .page-deck,
  .section-intro {
    margin-top: 1rem;
    font-size: 1rem;
    line-height: 1.55;
  }

  .two-up,
  .content-grid,
  .editorial-hero-grid,
  .contact-stage,
  .home-work-head,
  .portfolio-group-head {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .home-work-head .button {
    width: 100%;
  }

  .home-work-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-work-list li {
    min-height: 6.5rem;
  }

  .card-grid,
  .card-grid-3 {
    grid-template-columns: 1fr;
  }

  .card {
    min-height: 13.5rem;
  }

  .trust-panel,
  .cta-panel,
  .brief-panel,
  .discretion-band {
    padding: 1.45rem;
    border-radius: var(--radius);
  }

  .site-footer {
    padding-top: 3.5rem;
  }

  .work-page .page-hero {
    padding-block: 3rem;
  }

  .work-summary {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }

  .work-summary div {
    display: grid;
    grid-template-columns: 4rem 1fr;
    align-items: center;
    gap: 0.75rem;
  }

  .work-summary dt {
    margin-top: 0;
    grid-column: 2;
    grid-row: 1;
  }

  .work-summary dd {
    order: 0;
    grid-column: 1;
    grid-row: 1;
  }

  .portfolio-group + .portfolio-group {
    margin-top: 3.75rem;
  }

  .portfolio-grid {
    grid-template-columns: 1fr;
  }

  .portfolio-item {
    min-height: 10.6rem;
  }

  .portfolio-boundary {
    font-size: 0.9rem;
  }

  .events-page {
    --header-h: 4rem;
  }

  .events-access-hero,
  .events-access-frame {
    min-height: max(46rem, 100svh);
  }

  .events-hero-media {
    inset: 0;
    width: 100%;
  }

  .events-hero-media img {
    object-position: 47% 42%;
    filter: saturate(0.78) contrast(1.05) brightness(0.78);
  }

  .events-hero-shade {
    background:
      linear-gradient(180deg, rgba(8, 9, 12, 0.92) 0%, rgba(8, 9, 12, 0.48) 25%, rgba(8, 9, 12, 0.16) 43%, rgba(8, 9, 12, 0.43) 62%, rgba(8, 9, 12, 0.96) 82%, #08090c 100%),
      linear-gradient(90deg, rgba(8, 9, 12, 0.45), rgba(8, 9, 12, 0.04));
  }

  .events-access-frame {
    padding-top: calc(var(--header-h) + 1rem);
    padding-bottom: max(1.15rem, env(safe-area-inset-bottom));
    align-items: stretch;
  }

  .events-access-copy {
    width: 100%;
    display: flex;
    flex-direction: column;
  }

  .events-campaign-signals {
    font-size: 0.72rem;
  }

  .events-access-title,
  .events-access-title em {
    letter-spacing: -0.06em;
    line-height: 0.86;
  }

  .events-access-title {
    margin-top: 0.85rem;
    font-size: clamp(3.15rem, 15.2vw, 4.55rem);
  }

  .events-access-deck {
    max-width: 20rem;
    margin-top: 0.8rem;
    font-size: clamp(1.18rem, 5.7vw, 1.55rem);
    line-height: 0.98;
  }

  .events-access-action {
    width: 100%;
    margin-top: auto;
    padding: 0.78rem;
    border-radius: 1.15rem;
  }

  .events-access-note {
    font-size: 0.91rem;
    line-height: 1.36;
  }

  .events-entry {
    grid-template-columns: 1fr;
    gap: 0.45rem;
  }

  .events-field input,
  .events-submit {
    width: 100%;
    min-height: 3.55rem;
    border-radius: 0.9rem;
  }

  .events-submit {
    min-width: 0;
  }

  .events-response {
    min-height: 2.5rem;
  }

  .events-consent,
  .events-noscript {
    font-size: 0.78rem;
    line-height: 1.4;
  }

  .events-scope-section,
  .event-standard,
  .discretion-section + .section {
    padding-block: 3.75rem;
  }

  .stage-ledger > li {
    min-height: 0;
  }
}

@media (max-width: 24rem) {
  .page-shell,
  .header-inner,
  .events-page .header-inner,
  .events-page .page-shell {
    width: min(calc(100% - 1.5rem), var(--content));
  }

  .route-grid {
    grid-template-columns: 1fr;
  }

  .home-work-list {
    grid-template-columns: 1fr;
  }

  .events-access-title {
    font-size: clamp(2.9rem, 14.5vw, 3.6rem);
  }
}

@media (max-width: 66rem) and (max-height: 32rem) and (orientation: landscape) {
  :root,
  .events-page {
    --header-h: 4rem;
  }

  .hero-brandstage {
    display: none;
  }

  .flagship-hero .hero-home {
    min-height: calc(100svh - var(--header-h));
    padding-block: 1.1rem;
    grid-template-columns: minmax(0, 1.15fr) minmax(15rem, 0.72fr);
    gap: 1.4rem;
  }

  .flagship-hero .display {
    max-width: 15ch;
    font-size: clamp(2.25rem, 5.6vw, 3.15rem);
    line-height: 0.94;
  }

  .flagship-hero .editorial-accent {
    display: inline;
  }

  .flagship-hero .hero-deck {
    margin-top: 0.65rem;
    font-size: 0.88rem;
    line-height: 1.38;
  }

  .flagship-hero .hero-copy .button-row {
    margin-top: 0.75rem;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .flagship-hero .button {
    min-height: 2.75rem;
    padding: 0.55rem 0.75rem;
    font-size: 0.75rem;
  }

  .flagship-hero .hero-visual {
    width: min(100%, 20rem);
    justify-self: end;
  }

  .flagship-portrait {
    aspect-ratio: 4 / 3;
  }

  .portrait-caption,
  .entity-rail {
    display: none;
  }

  .events-access-hero,
  .events-access-frame {
    min-height: 100svh;
  }

  .events-access-frame {
    padding-top: calc(var(--header-h) + 0.45rem);
    padding-bottom: 0.65rem;
    align-items: center;
  }

  .events-hero-media {
    inset: 0;
    width: 100%;
  }

  .events-hero-shade {
    background:
      linear-gradient(90deg, rgba(8, 9, 12, 0.98) 0%, rgba(8, 9, 12, 0.88) 46%, rgba(8, 9, 12, 0.34) 78%, rgba(8, 9, 12, 0.18) 100%),
      linear-gradient(180deg, rgba(8, 9, 12, 0.22), rgba(8, 9, 12, 0.78));
  }

  .events-access-copy {
    width: 100%;
    display: grid;
    grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.1fr);
    grid-template-rows: auto auto 1fr;
    align-items: center;
    gap: 0.45rem 1.4rem;
  }

  .events-campaign-signals,
  .events-access-title,
  .events-access-deck {
    grid-column: 1;
  }

  .events-campaign-signals {
    font-size: 0.65rem;
  }

  .events-access-title {
    margin-top: 0;
    font-size: clamp(2.45rem, 6vw, 3.6rem);
  }

  .events-access-deck {
    margin-top: 0.15rem;
    font-size: clamp(1rem, 2.6vw, 1.35rem);
  }

  .events-access-action {
    grid-column: 2;
    grid-row: 1 / 4;
    margin: 0;
    padding: 0.7rem;
  }

  .events-access-note {
    font-size: 0.82rem;
  }

  .events-signup {
    margin-top: 0.5rem;
  }

  .events-field input,
  .events-submit {
    min-height: 3.15rem;
  }

  .events-response {
    min-height: 2.2rem;
    margin-top: 0.35rem;
  }

  .events-threshold,
  .events-consent {
    font-size: 0.72rem;
  }
}

@media (max-width: 40rem) and (max-height: 24rem) and (orientation: landscape) {
  .flagship-hero .hero-home {
    min-height: calc(100svh - var(--header-h));
    padding-block: 0.6rem;
    display: block;
  }

  .flagship-hero .hero-copy {
    max-width: none;
  }

  .flagship-hero .display {
    max-width: 22ch;
    font-size: clamp(1.8rem, 6.4vw, 2.2rem);
    line-height: 0.94;
  }

  .flagship-hero .hero-deck {
    max-width: 70ch;
    margin-top: 0.4rem;
    font-size: 0.76rem;
    line-height: 1.28;
  }

  .flagship-hero .hero-copy .button-row {
    margin-top: 0.55rem;
  }

  .flagship-hero .button {
    min-height: 2.6rem;
  }

  .flagship-hero .hero-visual {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .button:hover {
    transform: none;
  }
}

@media (forced-colors: active) {
  .portfolio-item,
  .portfolio-boundary,
  .work-summary div,
  .events-access-action {
    border: 1px solid CanvasText;
  }
}

/* Work v2 — compact, mobile-first public selection. */
.work-page .page-deck {
  max-width: 52ch;
}

.work-page .work-summary {
  margin-top: clamp(1.35rem, 3vw, 2.1rem);
}

.work-page .work-summary div {
  min-width: 0;
}

.work-jump {
  width: min(100%, 31rem);
  margin-top: 0.75rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.5rem;
}

.work-jump a {
  min-width: 0;
  min-height: 2.75rem;
  padding: 0.65rem 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.035);
  color: var(--ivory);
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.1;
  text-align: center;
  text-decoration: none;
  text-wrap: balance;
  touch-action: manipulation;
}

.work-jump a:hover {
  border-color: rgba(236, 211, 148, 0.42);
  background: rgba(236, 211, 148, 0.08);
}

.work-page .portfolio-section {
  padding-block: clamp(2.25rem, 5vw, 4.5rem);
}

.work-page .portfolio-group + .portfolio-group {
  margin-top: clamp(3rem, 6vw, 4.75rem);
}

.work-page .portfolio-group-head {
  margin-bottom: 1rem;
  display: block;
}

.work-page .portfolio-group-head--noted {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(18rem, 1fr);
  gap: 2rem;
  align-items: end;
}

.work-page .portfolio-group-head h3 {
  max-width: none;
  font-size: clamp(1.9rem, 4vw, 3.35rem);
  line-height: 1;
  text-wrap: balance;
  scroll-margin-top: calc(var(--header-h) + 1rem);
}

.work-page .portfolio-group-head p {
  font-size: 0.92rem;
  line-height: 1.5;
}

.work-page .portfolio-grid {
  gap: 0.625rem;
}

.work-page .portfolio-item {
  min-width: 0;
  min-height: 10.25rem;
  padding: 1.15rem;
}

.work-page .portfolio-item--client {
  border-color: rgba(236, 211, 148, 0.28);
  background: linear-gradient(145deg, rgba(201, 167, 95, 0.105), rgba(255, 255, 255, 0.02));
}

.work-page .portfolio-item h4 {
  overflow-wrap: anywhere;
}

.work-page .portfolio-boundary {
  max-width: 52rem;
  margin-top: clamp(2.75rem, 5vw, 4rem);
  padding: 1rem 1.1rem;
  font-size: 0.9rem;
  line-height: 1.5;
}

.work-page .cta-panel .button-row {
  max-width: 16rem;
}

@media (max-width: 66rem) {
  .site-header {
    padding-top: env(safe-area-inset-top, 0px);
  }

  .site-nav {
    inset: calc(var(--header-h) + env(safe-area-inset-top, 0px)) 0 0;
    padding:
      0.65rem
      max(1rem, env(safe-area-inset-right, 0px))
      max(1rem, env(safe-area-inset-bottom, 0px))
      max(1rem, env(safe-area-inset-left, 0px));
  }
}

@media (max-width: 48rem) {
  .work-page .page-shell,
  .work-page .header-inner {
    width: 100%;
    padding-left: max(clamp(0.75rem, 3.5vw, 1.125rem), env(safe-area-inset-left, 0px));
    padding-right: max(clamp(0.75rem, 3.5vw, 1.125rem), env(safe-area-inset-right, 0px));
  }

  .work-page .page-hero {
    padding-block: 2.15rem 1.8rem;
  }

  .work-page .page-hero::after {
    opacity: 0.42;
  }

  .work-page .page-title {
    max-width: 12ch;
  }

  .work-page .page-deck {
    margin-top: 0.85rem;
    font-size: 0.96rem;
    line-height: 1.48;
  }

  .work-page .work-summary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.5rem;
  }

  .work-page .work-summary div {
    min-height: 5.15rem;
    padding: 0.78rem 0.82rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
  }

  .work-page .work-summary dt {
    margin-top: 0.35rem;
    font-size: 0.64rem;
    letter-spacing: 0.065em;
    line-height: 1.28;
  }

  .work-page .work-summary dd {
    order: -1;
    font-size: 1.6rem;
  }

  .work-jump {
    width: 100%;
    margin-top: 0.625rem;
    gap: 0.4rem;
  }

  .work-jump a {
    min-height: 2.75rem;
    padding-inline: 0.45rem;
    font-size: 0.72rem;
  }

  .work-page .portfolio-section {
    padding-block: 2.35rem 3.25rem;
  }

  .work-page .portfolio-group + .portfolio-group {
    margin-top: 2.65rem;
  }

  .work-page .portfolio-group-head,
  .work-page .portfolio-group-head--noted {
    margin-bottom: 0.85rem;
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.55rem;
  }

  .work-page .portfolio-group-head h3 {
    font-size: clamp(1.75rem, 8vw, 2.25rem);
    line-height: 1.02;
  }

  .work-page .portfolio-group-head p {
    max-width: 38rem;
    font-size: 0.88rem;
    line-height: 1.45;
  }

  .work-page .portfolio-grid {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }

  .work-page .portfolio-item {
    min-height: 0;
    padding: 0.95rem 1rem;
    display: block;
  }

  .work-page .portfolio-kind {
    font-size: 0.67rem;
  }

  .work-page .portfolio-item h4 {
    margin: 0.58rem 0 0.3rem;
    font-size: 1.12rem;
    line-height: 1.15;
  }

  .work-page .portfolio-item p {
    font-size: 0.86rem;
    line-height: 1.4;
  }

  .work-page .portfolio-boundary {
    margin-top: 2.65rem;
    padding: 0.95rem 1rem;
    font-size: 0.84rem;
    line-height: 1.45;
  }

  .work-page .cta-panel .button-row {
    max-width: none;
  }
}

@media (min-width: 40.01rem) and (max-width: 48rem) {
  .work-page .portfolio-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (forced-colors: active) {
  .work-jump a,
  .work-page .portfolio-item--client {
    border: 1px solid CanvasText;
  }
}
