/* Public portfolio design system.
   Based on DESIGN.md: photography first, one blue accent, quiet UI, no decorative shadows. */

body:not(.admin-body) {
  --apple-blue: #0066cc;
  --apple-blue-focus: #0071e3;
  --apple-blue-dark: #2997ff;
  --apple-ink: #1d1d1f;
  --apple-muted: #6e6e73;
  --apple-muted-dark: #cccccc;
  --apple-canvas: #ffffff;
  --apple-parchment: #f5f5f7;
  --apple-pearl: #fafafc;
  --apple-dark: #272729;
  --apple-black: #000000;
  --apple-hairline: rgba(0, 0, 0, 0.1);
  --apple-chip: rgba(210, 210, 215, 0.72);
  --apple-nav-height: 44px;
  --apple-content: 1180px;
  --apple-grid: 1180px;
  --apple-copy: 700px;
  --apple-gutter: max(24px, calc((100vw - var(--apple-content)) / 2));
  --apple-section-space: 80px;
  color-scheme: light;
  overflow-x: hidden;
  background: var(--apple-canvas);
  color: var(--apple-ink);
  font-family: "SF Pro Text", system-ui, -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  font-weight: 400;
  line-height: 1.47;
  letter-spacing: 0;
}

body:not(.admin-body) *,
body:not(.admin-body) *::before,
body:not(.admin-body) *::after {
  letter-spacing: 0;
}

body:not(.admin-body) main {
  width: 100%;
  overflow: clip;
}

body:not(.admin-body) a,
body:not(.admin-body) button {
  -webkit-tap-highlight-color: transparent;
}

body:not(.admin-body) .side-rail,
body:not(.admin-body) .numbered-section::before,
body:not(.admin-body) .project-number,
body:not(.admin-body) .project-overline {
  display: none !important;
}

/* Global navigation */

body:not(.admin-body) .site-topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  width: 100%;
  min-height: var(--apple-nav-height);
  padding: 0 var(--apple-gutter);
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.88);
  color: #ffffff;
  box-shadow: none;
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
}

body:not(.admin-body) .site-topbar::after {
  right: 0;
  bottom: -1px;
  left: 0;
  height: 1px;
  background: var(--apple-blue);
  opacity: 0.34;
}

body:not(.admin-body) .site-topbar.is-scrolled {
  border-bottom-color: rgba(255, 255, 255, 0.14);
  background: rgba(0, 0, 0, 0.82);
  box-shadow: none;
}

body:not(.admin-body) .site-topbar.is-nav-hidden {
  transform: none;
}

body:not(.admin-body) .brand-mark {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  color: #ffffff;
}

body:not(.admin-body) .brand-mark span {
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: #ffffff;
  color: var(--apple-black);
  font-size: 10px;
  font-weight: 600;
}

body:not(.admin-body) .brand-mark strong {
  max-width: 210px;
  color: #ffffff;
  font-size: 12px;
  font-weight: 400;
  line-height: 1;
}

body:not(.admin-body) .top-nav {
  display: flex;
  justify-self: end;
  align-items: center;
  gap: 24px;
}

body:not(.admin-body) .language-switch {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-height: 44px;
  padding: 0 8px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.42);
  font-size: 11px;
  line-height: 1;
}

body:not(.admin-body) .language-switch button {
  min-width: 36px;
  min-height: 44px;
  padding: 0 6px;
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.58);
  font: inherit;
  cursor: pointer;
  transition: color 180ms ease;
}

body:not(.admin-body) .language-switch button:hover,
body:not(.admin-body) .language-switch button:focus-visible,
body:not(.admin-body) .language-switch button.is-active {
  color: #ffffff;
}

body:not(.admin-body) .language-switch button:focus-visible {
  outline: 2px solid var(--apple-blue-focus);
  outline-offset: 1px;
}

body:not(.admin-body) .top-nav a {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  min-height: 44px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.78);
  font-size: 12px;
  font-weight: 400;
  line-height: 1;
  opacity: 1;
}

body:not(.admin-body) .top-nav a span {
  display: none;
}

body:not(.admin-body) .top-nav a:hover,
body:not(.admin-body) .top-nav a:focus-visible,
body:not(.admin-body) .top-nav a.is-active {
  background: transparent;
  color: #ffffff;
  outline: 0;
}

body:not(.admin-body) .top-nav a:focus-visible,
body:not(.admin-body) .brand-mark:focus-visible,
body:not(.admin-body) .nav-toggle:focus-visible {
  outline: 2px solid var(--apple-blue-focus);
  outline-offset: 2px;
}

body:not(.admin-body) .top-nav .admin-link {
  min-height: 32px;
  margin: 0;
  padding: 0 14px;
  border: 0;
  border-radius: 8px;
  background: var(--apple-ink);
  color: #ffffff;
}

body:not(.admin-body) .nav-toggle {
  position: relative;
  z-index: 2;
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  place-items: center;
  border: 0;
  background: transparent;
  color: #ffffff;
  cursor: pointer;
}

body:not(.admin-body) .nav-toggle span {
  position: absolute;
  width: 17px;
  height: 1px;
  background: currentColor;
  transition: transform 220ms ease, top 220ms ease;
}

body:not(.admin-body) .nav-toggle span:first-child {
  top: 18px;
}

body:not(.admin-body) .nav-toggle span:last-child {
  top: 25px;
}

body:not(.admin-body) .site-topbar.is-menu-open .nav-toggle span:first-child {
  top: 22px;
  transform: rotate(45deg);
}

body:not(.admin-body) .site-topbar.is-menu-open .nav-toggle span:last-child {
  top: 22px;
  transform: rotate(-45deg);
}

/* Hero */

body:not(.admin-body) .hero-shell {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, var(--apple-copy));
  grid-template-rows: 1fr auto auto auto;
  align-content: end;
  justify-content: start;
  gap: 24px;
  min-height: calc(100svh - var(--apple-nav-height));
  padding: clamp(96px, 16vh, 176px) var(--apple-gutter) 96px;
  border: 0;
  background: var(--apple-black);
  color: #ffffff;
  text-align: left;
}

body:not(.admin-body) .hero-backdrop,
body:not(.admin-body) .hero-slide,
body:not(.admin-body) .hero-slide img,
body:not(.admin-body) .hero-tone {
  border-radius: 0;
}

body:not(.admin-body) .hero-backdrop {
  inset: 0;
  background: var(--apple-black);
}

body:not(.admin-body) .hero-slide {
  inset: -1%;
  transition:
    opacity 1400ms cubic-bezier(0.25, 0.1, 0.25, 1),
    transform 7600ms cubic-bezier(0.25, 0.1, 0.25, 1);
}

body:not(.admin-body) .hero-slide img {
  filter: saturate(0.9) contrast(1.02) brightness(0.72);
}

body:not(.admin-body) .hero-tone {
  z-index: 2;
  background: rgba(0, 0, 0, 0.5);
}

body:not(.admin-body) .hero-dot-field {
  position: absolute;
  inset: 0;
  z-index: 3;
  opacity: 0.16;
  mix-blend-mode: screen;
  pointer-events: none;
}

body:not(.admin-body) .hero-copy,
body:not(.admin-body) .hero-statement {
  position: relative;
  z-index: 4;
  width: min(100%, var(--apple-copy));
  max-width: var(--apple-copy);
  margin: 0;
  justify-self: start;
  text-align: left;
  min-width: 0;
}

body:not(.admin-body) .hero-copy {
  grid-row: 2;
}

body:not(.admin-body) .hero-statement {
  grid-row: 3;
}

body:not(.admin-body) .eyebrow {
  margin: 0 0 12px;
  color: var(--apple-blue-dark);
  font-family: "SF Pro Text", system-ui, -apple-system, sans-serif;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.29;
  text-transform: none;
}

body:not(.admin-body) h1,
body:not(.admin-body) h2,
body:not(.admin-body) h3 {
  margin-top: 0;
  letter-spacing: 0;
}

body:not(.admin-body) h1 {
  max-width: 100%;
  margin: 0 0 17px;
  color: #ffffff;
  font-family: "SF Pro Display", system-ui, -apple-system, sans-serif;
  font-size: 56px;
  font-weight: 600;
  line-height: 1.07;
}

body:not(.admin-body) #profileName {
  display: inline-grid;
  width: 100%;
  max-width: 100%;
  justify-items: start;
}

body:not(.admin-body) .hero-title-main,
body:not(.admin-body) .role-line,
body:not(.admin-body) .intro-line {
  max-width: 100%;
  white-space: normal;
  overflow-wrap: break-word;
}

body:not(.admin-body) .hero-title-note {
  font-size: 17px;
  font-weight: 600;
}

body:not(.admin-body) .hero-title-note-invert {
  min-height: 40px;
  padding: 8px 14px;
  border-radius: 11px;
  background: #ffffff;
  color: var(--apple-ink);
  box-shadow: none;
}

body:not(.admin-body) .role-line {
  margin: 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: 21px;
  font-weight: 600;
  line-height: 1.19;
}

body:not(.admin-body) .intro-line {
  max-width: var(--apple-copy);
  margin: 8px 0 24px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.47;
}

body:not(.admin-body) .intro-line .split-char {
  display: inline;
}

body:not(.admin-body) .hero-actions {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
}

body:not(.admin-body) .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 22px;
  border: 1px solid var(--apple-blue);
  border-radius: 9999px;
  background: transparent;
  color: var(--apple-blue);
  font-size: 17px;
  font-weight: 400;
  line-height: 1;
  text-decoration: none;
  box-shadow: none;
  transition: background-color 160ms ease, color 160ms ease, opacity 160ms ease, transform 120ms ease;
}

body:not(.admin-body) .button.primary {
  border-color: var(--apple-blue);
  background: var(--apple-blue);
  color: #ffffff;
}

body:not(.admin-body) .button:hover {
  opacity: 1;
  transform: none;
}

body:not(.admin-body) .button.primary:hover {
  border-color: var(--apple-blue-focus);
  background: var(--apple-blue-focus);
}

body:not(.admin-body) .button.quiet:hover {
  background: rgba(0, 102, 204, 0.06);
}

body:not(.admin-body) .button:active {
  transform: scale(0.95);
}

body:not(.admin-body) .button:focus-visible {
  outline: 2px solid var(--apple-blue-focus);
  outline-offset: 2px;
}

body:not(.admin-body) .hero-shell .button.primary {
  border-color: var(--apple-blue);
  background: var(--apple-blue);
  color: #ffffff;
}

body:not(.admin-body) .hero-shell .button.quiet {
  border-color: var(--apple-blue-dark);
  color: var(--apple-blue-dark);
}

body:not(.admin-body) .hero-control {
  position: absolute;
  top: 44%;
  z-index: 5;
  display: grid;
  width: 44px;
  height: 44px;
  padding: 0;
  place-items: center;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: transparent;
  opacity: 0.56;
  transform: translateY(-50%);
  cursor: pointer;
  transition: opacity 160ms ease, transform 120ms ease;
}

body:not(.admin-body) .hero-control::before {
  width: 10px;
  height: 10px;
  border-top: 1.5px solid #ffffff;
  border-right: 1.5px solid #ffffff;
}

body:not(.admin-body) .hero-control-prev {
  left: 24px;
}

body:not(.admin-body) .hero-control-next {
  right: 24px;
}

body:not(.admin-body) .hero-control:hover,
body:not(.admin-body) .hero-control:focus-visible {
  opacity: 1;
  transform: translateY(-50%);
}

body:not(.admin-body) .hero-control:active {
  transform: translateY(-50%) scale(0.95);
}

body:not(.admin-body) .hero-control:focus-visible {
  outline: 2px solid var(--apple-blue-focus);
  outline-offset: 2px;
}

body:not(.admin-body) .hero-index {
  position: relative;
  z-index: 4;
  right: auto;
  bottom: auto;
  left: auto;
  grid-row: 4;
  display: flex;
  width: min(100%, var(--apple-copy));
  max-width: var(--apple-copy);
  align-items: baseline;
  justify-self: start;
  flex-wrap: wrap;
  gap: 4px 14px;
  margin-top: 4px;
  padding: 0;
  border: 0;
  text-align: left;
  min-width: 0;
}

body:not(.admin-body) .hero-index span,
body:not(.admin-body) .hero-index em {
  color: rgba(255, 255, 255, 0.58);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.35;
}

body:not(.admin-body) .hero-index strong {
  min-width: 0;
  color: #ffffff;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

body:not(.admin-body) .split-char {
  animation-duration: 620ms;
  animation-delay: calc(var(--char-index, 0) * 12ms);
}

/* Shared section rhythm */

body:not(.admin-body) .work-band,
body:not(.admin-body) .about-band,
body:not(.admin-body) .cv-band,
body:not(.admin-body) .contact-band {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: var(--apple-section-space) 24px;
  border: 0;
}

body:not(.admin-body) .work-band,
body:not(.admin-body) .cv-band {
  background: var(--apple-canvas);
}

body:not(.admin-body) .about-band,
body:not(.admin-body) .contact-band {
  background: var(--apple-parchment);
}

body:not(.admin-body) .section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  width: min(100%, var(--apple-content));
  max-width: var(--apple-content);
  margin: 0 auto 48px;
  text-align: left;
}

body:not(.admin-body) .section-heading h2::after {
  display: none;
}

body:not(.admin-body) .section-heading .eyebrow,
body:not(.admin-body) .about-copy .eyebrow {
  color: var(--apple-muted);
}

body:not(.admin-body) h2 {
  margin-bottom: 0;
  color: var(--apple-ink);
  font-family: "SF Pro Display", system-ui, -apple-system, sans-serif;
  font-size: 40px;
  font-weight: 600;
  line-height: 1.1;
}

body:not(.admin-body) h3 {
  margin-bottom: 12px;
  color: var(--apple-ink);
  font-family: "SF Pro Display", system-ui, -apple-system, sans-serif;
  font-size: 28px;
  font-weight: 600;
  line-height: 1.14;
}

body:not(.admin-body) .filter-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
  width: auto;
  margin: 0;
}

body:not(.admin-body) .filter-button {
  min-height: 44px;
  padding: 0 17px;
  border: 1px solid var(--apple-hairline);
  border-radius: 9999px;
  background: var(--apple-canvas);
  color: var(--apple-ink);
  font-size: 14px;
  font-weight: 400;
  cursor: pointer;
  transition: border-color 160ms ease, background-color 160ms ease, color 160ms ease, transform 120ms ease;
}

body:not(.admin-body) .filter-button:hover,
body:not(.admin-body) .filter-button:focus-visible {
  border-color: rgba(0, 102, 204, 0.46);
  color: var(--apple-blue);
  outline: 0;
}

body:not(.admin-body) .filter-button.is-active {
  border-color: var(--apple-blue);
  background: var(--apple-blue);
  color: #ffffff;
}

body:not(.admin-body) .filter-button:active {
  transform: scale(0.95);
}

body:not(.admin-body) .filter-button:focus-visible {
  outline: 2px solid var(--apple-blue-focus);
  outline-offset: 2px;
}

/* Work grid */

body:not(.admin-body) .project-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: min(100%, var(--apple-grid));
  max-width: var(--apple-grid);
  margin: 0 auto;
  gap: 24px;
}

body:not(.admin-body) .project-card,
body:not(.admin-body) .project-card:nth-child(odd) {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: auto 1fr auto;
  min-width: 0;
  min-height: 100%;
  gap: 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--apple-hairline);
  border-radius: 18px;
  background: var(--apple-parchment);
  text-align: left;
  box-shadow: none;
  transform: none;
  cursor: pointer;
  color: inherit;
  text-decoration: none;
}

body:not(.admin-body) .project-card:hover,
body:not(.admin-body) .project-card:focus-visible {
  transform: none;
  outline: 0;
}

body:not(.admin-body) .project-card:focus-visible {
  outline: 2px solid var(--apple-blue-focus);
  outline-offset: 3px;
}

body:not(.admin-body) .project-thumb,
body:not(.admin-body) .project-card:nth-child(odd) .project-thumb {
  grid-column: 1;
  grid-row: 1;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: var(--apple-black);
  opacity: 1;
}

body:not(.admin-body) .project-thumb::after {
  display: none;
}

body:not(.admin-body) .project-thumb img,
body:not(.admin-body) .project-thumb video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: none;
  transition: transform 700ms cubic-bezier(0.25, 0.1, 0.25, 1);
}

body:not(.admin-body) .project-card:hover .project-thumb img,
body:not(.admin-body) .project-card:hover .project-thumb video {
  transform: scale(1.02);
}

body:not(.admin-body) .project-card-body,
body:not(.admin-body) .project-card:nth-child(odd) .project-card-body {
  grid-column: 1;
  grid-row: 2;
  max-width: none;
  padding: 24px 24px 17px;
  text-align: left;
}

body:not(.admin-body) .project-meta,
body:not(.admin-body) .project-card:nth-child(odd) .project-meta {
  display: flex;
  justify-content: flex-start;
  gap: 12px;
  margin-bottom: 17px;
  color: var(--apple-muted);
  font-size: 12px;
  font-weight: 400;
  text-transform: none;
}

body:not(.admin-body) .project-card .project-card-source {
  margin: -5px 0 17px;
  color: var(--apple-ink);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.45;
}

body:not(.admin-body) .project-description {
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

body:not(.admin-body) .project-card p,
body:not(.admin-body) .dialog-content p,
body:not(.admin-body) #profileBio {
  color: var(--apple-muted);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.47;
}

body:not(.admin-body) .project-card p {
  margin-bottom: 0;
}

body:not(.admin-body) .tag-row,
body:not(.admin-body) .project-card .tag-row,
body:not(.admin-body) .project-card:nth-child(odd) .tag-row {
  display: flex;
  justify-content: flex-start;
  gap: 8px 12px;
  margin-top: 24px;
  text-align: left;
}

body:not(.admin-body) .tag-row span {
  padding: 0;
  border: 0;
  border-radius: 0;
  color: var(--apple-muted);
  font-size: 14px;
  font-weight: 400;
}

body:not(.admin-body) .project-open {
  position: static;
  grid-column: 1;
  grid-row: 3;
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  padding: 0 24px 17px;
  color: var(--apple-blue);
  font-size: 17px;
  font-weight: 400;
  text-transform: none;
}

body:not(.admin-body) .project-media-count {
  right: 12px;
  bottom: 12px;
  min-height: 28px;
  padding: 5px 10px;
  border: 0;
  border-radius: 9999px;
  background: var(--apple-chip);
  color: var(--apple-ink);
  font-size: 12px;
  font-weight: 400;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

/* About */

body:not(.admin-body) .about-layout {
  display: grid;
  grid-template-columns: minmax(260px, 360px) minmax(0, var(--apple-copy));
  align-items: center;
  width: min(100%, 1080px);
  max-width: 1080px;
  margin: 0 auto;
  gap: 64px;
}

body:not(.admin-body) .portrait {
  width: 100%;
  aspect-ratio: 1;
  overflow: hidden;
  border: 0;
  border-radius: 18px;
  background: var(--apple-canvas);
  color: var(--apple-ink);
  box-shadow: none;
}

body:not(.admin-body) .portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

body:not(.admin-body) .about-copy {
  max-width: var(--apple-copy);
}

body:not(.admin-body) .about-copy h2 {
  margin-bottom: 32px;
}

body:not(.admin-body) .profile-facts {
  grid-column: 2;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin: 0;
}

body:not(.admin-body) .profile-facts div {
  padding: 17px 0 0;
  border-top: 1px solid var(--apple-hairline);
  border-bottom: 0;
}

body:not(.admin-body) .profile-facts dt {
  color: var(--apple-muted);
  font-size: 12px;
  font-weight: 400;
}

body:not(.admin-body) .profile-facts dd {
  margin: 8px 0 0;
  color: var(--apple-ink);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.43;
}

/* CV */

body:not(.admin-body) .cv-display,
body:not(.admin-body) .cv-card {
  width: min(100%, var(--apple-content));
  max-width: var(--apple-content);
  margin: 0 auto;
}

body:not(.admin-body) .cv-empty,
body:not(.admin-body) .cv-card {
  border: 1px solid var(--apple-hairline);
  border-radius: 18px;
  background: var(--apple-parchment);
  box-shadow: none;
}

body:not(.admin-body) .cv-empty {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 144px;
  gap: 24px;
  padding: 24px 32px;
}

body:not(.admin-body) .cv-empty p {
  max-width: var(--apple-copy);
  margin: 0;
  color: var(--apple-muted);
  font-size: 17px;
  line-height: 1.47;
}

body:not(.admin-body) .cv-card {
  display: grid;
  grid-template-columns: minmax(260px, 0.34fr) minmax(0, 0.66fr);
  min-height: 560px;
  overflow: hidden;
}

body:not(.admin-body) .cv-meta {
  padding: 32px;
  border-right: 1px solid var(--apple-hairline);
}

body:not(.admin-body) .cv-meta span {
  color: var(--apple-blue);
  font-size: 12px;
  font-weight: 400;
}

body:not(.admin-body) .cv-meta strong {
  color: var(--apple-ink);
  font-size: 28px;
  font-weight: 600;
}

body:not(.admin-body) .cv-meta p {
  color: var(--apple-muted);
  font-size: 17px;
  line-height: 1.47;
}

body:not(.admin-body) .cv-text-preview,
body:not(.admin-body) .cv-document-placeholder {
  min-height: 560px;
  background: var(--apple-canvas);
}

body:not(.admin-body) .cv-text-preview {
  padding: 32px;
  overflow: auto;
}

body:not(.admin-body) .cv-text-preview pre {
  max-width: 720px;
  margin: 0;
  color: var(--apple-ink);
  font-family: var(--apple-font);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.65;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

body:not(.admin-body) .cv-document-placeholder span {
  border: 1px solid var(--apple-hairline);
  border-radius: 8px;
  color: var(--apple-blue);
}

body:not(.admin-body) .cv-page {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  width: 100%;
  min-height: 100svh;
  overflow: hidden;
  background: var(--apple-canvas);
}

body:not(.admin-body) .cv-page-toolbar {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(120px, 1fr) minmax(0, 2fr) minmax(120px, 1fr);
  min-height: 72px;
  align-items: center;
  gap: 24px;
  padding: 12px max(24px, calc((100vw - var(--apple-grid)) / 2));
  border-bottom: 1px solid var(--apple-hairline);
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
}

body:not(.admin-body) .cv-page-toolbar > div {
  display: grid;
  min-width: 0;
  justify-items: center;
  gap: 2px;
  text-align: center;
}

body:not(.admin-body) .cv-page-toolbar span {
  color: var(--apple-muted);
  font-size: 12px;
}

body:not(.admin-body) .cv-page-toolbar strong {
  max-width: 100%;
  overflow: hidden;
  color: var(--apple-ink);
  font-size: 14px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body:not(.admin-body) .cv-page-back {
  color: var(--apple-blue);
  font-size: 14px;
  text-decoration: none;
}

body:not(.admin-body) .cv-page-toolbar > .button {
  justify-self: end;
}

body:not(.admin-body) .cv-page-toolbar .cv-page-toolbar-actions {
  display: flex;
  justify-self: end;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  text-align: right;
}

body:not(.admin-body) .cv-page-toolbar .language-switch {
  border-color: var(--apple-hairline);
  color: var(--apple-muted);
}

body:not(.admin-body) .cv-page-toolbar .language-switch button {
  color: var(--apple-muted);
}

body:not(.admin-body) .cv-page-toolbar .language-switch button:hover,
body:not(.admin-body) .cv-page-toolbar .language-switch button:focus-visible,
body:not(.admin-body) .cv-page-toolbar .language-switch button.is-active {
  color: var(--apple-ink);
}

body:not(.admin-body) .cv-page-document {
  display: block;
  width: 100%;
  height: 100%;
  min-height: calc(100svh - 72px);
  border: 0;
  background: #525659;
}

body:not(.admin-body) .cv-page-empty {
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 16px;
  padding: 48px 24px;
  text-align: center;
}

body:not(.admin-body) .cv-page-empty h1,
body:not(.admin-body) .cv-page-empty p {
  margin: 0;
}

/* Contact */

body:not(.admin-body) .contact-band {
  position: relative;
  display: grid;
  min-height: 680px;
  place-content: center;
  place-items: center;
  overflow: hidden;
  isolation: isolate;
  text-align: center;
}

body:not(.admin-body) .contact-band::after {
  display: none;
}

body:not(.admin-body) .contact-ether {
  z-index: 0;
  opacity: 0.2;
  filter: grayscale(0.72) saturate(0.72) contrast(0.92);
  pointer-events: auto;
}

body:not(.admin-body) .contact-copy,
body:not(.admin-body) .contact-links {
  position: relative;
  z-index: 2;
  width: min(100%, 960px);
  max-width: 960px;
  margin-right: auto;
  margin-left: auto;
}

body:not(.admin-body) .contact-copy {
  display: grid;
  justify-items: center;
  text-align: center;
  pointer-events: none;
}

body:not(.admin-body) .contact-copy h2 {
  width: min(100%, 760px);
  max-width: 760px;
  margin: 0 auto;
}

body:not(.admin-body) .contact-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 24px 32px;
  margin-top: 48px;
  text-align: center;
}

body:not(.admin-body) .contact-link {
  position: relative;
  z-index: 3;
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 8px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--apple-blue);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.24;
  text-decoration: none;
  text-shadow: none;
  pointer-events: auto;
}

body:not(.admin-body) a.contact-link:hover {
  color: var(--apple-blue-focus);
}

body:not(.admin-body) a.contact-link:focus-visible {
  outline: 2px solid var(--apple-blue-focus);
  outline-offset: 4px;
}

body:not(.admin-body) .contact-icon {
  width: 20px;
  height: 20px;
  flex-basis: 20px;
}

body:not(.admin-body) .contact-icon svg {
  width: 18px;
  height: 18px;
  stroke-width: 1.7;
}

body:not(.admin-body) .contact-icon img {
  display: block;
  width: 18px;
  height: 18px;
  border-radius: 3px;
  object-fit: contain;
}

/* Project dialog */

body:not(.admin-body) .project-dialog {
  width: min(1180px, calc(100vw - 32px));
  max-height: calc(100svh - 32px);
  padding: 0;
  overflow: auto;
  border: 1px solid var(--apple-hairline);
  border-radius: 18px;
  background: var(--apple-canvas);
  color: var(--apple-ink);
  box-shadow: none;
}

body:not(.admin-body) .project-dialog::backdrop {
  background: rgba(0, 0, 0, 0.48);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

body:not(.admin-body) .dialog-close {
  top: 16px;
  right: 16px;
}

body:not(.admin-body) .icon-button {
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: var(--apple-chip);
  color: var(--apple-ink);
  font-size: 24px;
}

body:not(.admin-body) .icon-button:active {
  transform: scale(0.95);
}

body:not(.admin-body) .dialog-media {
  aspect-ratio: 16 / 9;
  background: var(--apple-black);
}

body:not(.admin-body) .dialog-gallery {
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
  padding: 17px 24px 0;
}

body:not(.admin-body) .dialog-thumb {
  border: 1px solid var(--apple-hairline);
  border-radius: 8px;
  background: var(--apple-parchment);
  opacity: 1;
  transform: none;
}

body:not(.admin-body) .dialog-thumb:hover,
body:not(.admin-body) .dialog-thumb:focus-visible {
  transform: none;
}

body:not(.admin-body) .dialog-thumb.is-active {
  border-color: var(--apple-blue-focus);
  box-shadow: inset 0 0 0 1px var(--apple-blue-focus);
}

body:not(.admin-body) .dialog-content {
  max-width: 800px;
  padding: 56px 48px 64px;
}

body:not(.admin-body) .dialog-content .eyebrow {
  margin-bottom: 16px;
}

body:not(.admin-body) .dialog-content h2 {
  margin-bottom: 24px;
}

body:not(.admin-body) .dialog-content .summary {
  margin: 0 0 32px;
  color: var(--apple-ink) !important;
  font-size: 21px;
  font-weight: 400;
  line-height: 1.48;
}

body:not(.admin-body) .dialog-content > p:not(.eyebrow):not(.summary) {
  margin: 0;
  line-height: 1.6;
}

body:not(.admin-body) .dialog-content .tag-row {
  margin-top: 40px;
}

/* Standalone project pages */

body:not(.admin-body) .project-page {
  min-height: calc(100svh - var(--apple-nav-height));
  overflow: hidden;
  background: var(--apple-canvas);
  color: var(--apple-ink);
}

body:not(.admin-body) .project-detail {
  padding-bottom: 120px;
}

body:not(.admin-body) .project-detail-header {
  width: min(calc(100% - 48px), var(--apple-content));
  margin: 0 auto;
  padding: 80px 0 56px;
  text-align: left;
}

body:not(.admin-body) .project-detail-back {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 8px;
  margin-bottom: 48px;
  color: var(--apple-blue);
  font-size: 14px;
  font-weight: 400;
  text-decoration: none;
}

body:not(.admin-body) .project-detail-back span {
  font-size: 18px;
  line-height: 1;
}

body:not(.admin-body) .project-detail-header .eyebrow {
  margin-bottom: 16px;
  color: var(--apple-muted);
}

body:not(.admin-body) .project-detail-header h1 {
  max-width: 980px;
  margin: 0 0 24px;
  color: var(--apple-ink);
  font-size: 64px;
  line-height: 1.06;
}

body:not(.admin-body) .project-detail-summary {
  max-width: 760px;
  margin: 0;
  color: var(--apple-muted);
  font-size: 21px;
  line-height: 1.52;
}

body:not(.admin-body) .project-detail-client {
  display: flex;
  max-width: 760px;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 16px;
  margin: 24px 0 0;
  font-size: 14px;
  line-height: 1.5;
}

body:not(.admin-body) .project-detail-client span {
  color: var(--apple-muted);
}

body:not(.admin-body) .project-detail-client strong {
  color: var(--apple-ink);
  font-size: 17px;
  font-weight: 600;
}

body:not(.admin-body) .project-detail-media {
  width: min(calc(100% - 48px), var(--apple-grid));
  margin: 0 auto;
}

body:not(.admin-body) .project-detail-stage {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 18px;
  background: var(--apple-black);
}

body:not(.admin-body) .project-detail-stage img,
body:not(.admin-body) .project-detail-stage video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

body:not(.admin-body) .project-detail-count {
  position: absolute;
  right: 16px;
  bottom: 16px;
  padding: 6px 10px;
  border-radius: 9999px;
  background: rgba(245, 245, 247, 0.82);
  color: var(--apple-ink);
  font-size: 12px;
  line-height: 1.3;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

body:not(.admin-body) .project-media-info-trigger {
  position: absolute;
  z-index: 4;
  left: 16px;
  bottom: 16px;
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 8px;
  padding: 8px 12px 8px 9px;
  border: 1px solid rgba(245, 245, 247, 0.24);
  border-radius: 9999px;
  background: rgba(29, 29, 31, 0.62);
  color: #f5f5f7;
  font: inherit;
  font-size: 13px;
  line-height: 1;
  cursor: pointer;
  backdrop-filter: saturate(140%) blur(16px);
  -webkit-backdrop-filter: saturate(140%) blur(16px);
  transition: background-color 220ms ease, border-color 220ms ease, opacity 220ms ease;
}

body:not(.admin-body) .project-media-info-trigger:hover,
body:not(.admin-body) .project-media-info-trigger:focus-visible,
body:not(.admin-body) .project-media-info-trigger.is-active {
  border-color: rgba(245, 245, 247, 0.42);
  background: rgba(29, 29, 31, 0.8);
}

body:not(.admin-body) .project-media-info-icon {
  display: grid;
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  place-items: center;
  border: 1px solid rgba(245, 245, 247, 0.46);
  border-radius: 50%;
  font-size: 12px;
  font-weight: 600;
}

body:not(.admin-body) .project-media-info-panel {
  position: absolute;
  z-index: 5;
  left: 16px;
  bottom: 68px;
  width: min(520px, calc(100% - 32px));
  max-height: calc(100% - 100px);
  padding: 24px 52px 24px 24px;
  overflow-y: auto;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 12px;
  background: rgba(245, 245, 247, 0.94);
  color: var(--apple-ink);
  text-align: left;
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  backdrop-filter: saturate(160%) blur(20px);
  -webkit-backdrop-filter: saturate(160%) blur(20px);
  transition: opacity 260ms cubic-bezier(0.25, 0.1, 0.25, 1), transform 260ms cubic-bezier(0.25, 0.1, 0.25, 1);
}

body:not(.admin-body) .project-media-info-panel.is-open {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

body:not(.admin-body) .project-media-info-label {
  display: block;
  margin-bottom: 8px;
  color: var(--apple-blue);
  font-size: 12px;
  font-weight: 600;
}

body:not(.admin-body) .project-media-info-panel strong {
  display: block;
  margin-bottom: 10px;
  font-size: 21px;
  line-height: 1.25;
}

body:not(.admin-body) .project-media-info-panel p {
  margin: 0;
  color: var(--apple-muted);
  font-size: 15px;
  line-height: 1.6;
  white-space: pre-wrap;
}

body:not(.admin-body) .project-media-info-panel .project-media-info-empty {
  color: var(--apple-muted);
  font-style: normal;
}

body:not(.admin-body) .project-media-resources,
body:not(.admin-body) .project-media-tutorial {
  display: grid;
  gap: 8px;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--apple-hairline);
}

body:not(.admin-body) .project-media-resources > span,
body:not(.admin-body) .project-media-tutorial > span {
  color: var(--apple-muted);
  font-size: 12px;
  font-weight: 600;
}

body:not(.admin-body) .project-media-downloads {
  display: grid;
  gap: 8px;
}

body:not(.admin-body) .project-media-downloads a {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 9px 12px;
  border: 1px solid var(--apple-hairline);
  border-radius: 8px;
  background: #ffffff;
  color: var(--apple-blue);
  text-decoration: none;
  transition: border-color 160ms ease, background-color 160ms ease;
}

body:not(.admin-body) .project-media-downloads a:hover,
body:not(.admin-body) .project-media-downloads a:focus-visible {
  border-color: rgba(0, 102, 204, 0.42);
  background: #f5f5f7;
}

body:not(.admin-body) .project-media-downloads a strong {
  min-width: 0;
  margin: 0;
  overflow: hidden;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body:not(.admin-body) .project-media-downloads a small {
  color: var(--apple-muted);
  font-size: 11px;
  white-space: nowrap;
}

body:not(.admin-body) .project-media-tutorial a {
  display: flex;
  width: 100%;
  min-height: 40px;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 12px 14px;
  border: 1px solid var(--apple-hairline);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--apple-blue);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

body:not(.admin-body) .project-media-tutorial a:hover,
body:not(.admin-body) .project-media-tutorial a:focus-visible {
  border-color: rgba(0, 102, 204, 0.32);
  background: #fff;
}

body:not(.admin-body) .project-media-info-close {
  position: absolute;
  top: 12px;
  right: 12px;
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--apple-muted);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

body:not(.admin-body) .project-detail-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 12px;
  margin-top: 16px;
}

body:not(.admin-body) .project-detail-thumb {
  position: relative;
  min-width: 0;
  aspect-ratio: 16 / 10;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--apple-hairline);
  border-radius: 8px;
  background: var(--apple-parchment);
  cursor: pointer;
}

body:not(.admin-body) .project-detail-thumb img,
body:not(.admin-body) .project-detail-thumb video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

body:not(.admin-body) .project-detail-thumb span {
  position: absolute;
  right: 8px;
  bottom: 8px;
  display: grid;
  min-width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 9999px;
  background: rgba(245, 245, 247, 0.84);
  color: var(--apple-ink);
  font-size: 12px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

body:not(.admin-body) .project-detail-thumb.is-active {
  border-color: var(--apple-blue-focus);
  box-shadow: inset 0 0 0 1px var(--apple-blue-focus);
}

body:not(.admin-body) .project-detail-thumb:focus-visible {
  outline: 2px solid var(--apple-blue-focus);
  outline-offset: 3px;
}

body:not(.admin-body) .project-detail-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 240px;
  width: min(calc(100% - 48px), 980px);
  margin: 0 auto;
  padding: 96px 0;
  gap: 96px;
  text-align: left;
}

body:not(.admin-body) .project-detail-copy h2 {
  margin-bottom: 32px;
}

body:not(.admin-body) .project-detail-copy > p:not(.eyebrow) {
  margin: 0;
  color: var(--apple-muted);
  font-size: 19px;
  line-height: 1.6;
}

body:not(.admin-body) .project-detail-copy .tag-row {
  margin-top: 40px;
}

body:not(.admin-body) .project-detail-facts {
  margin: 36px 0 0;
}

body:not(.admin-body) .project-detail-facts div {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 16px;
  padding: 16px 0;
  border-top: 1px solid var(--apple-hairline);
}

body:not(.admin-body) .project-detail-facts dt {
  color: var(--apple-muted);
  font-size: 12px;
}

body:not(.admin-body) .project-detail-facts dd {
  margin: 0;
  color: var(--apple-ink);
  font-size: 14px;
  font-weight: 600;
}

body:not(.admin-body) .project-detail-footer {
  width: min(calc(100% - 48px), var(--apple-content));
  margin: 0 auto;
  padding-top: 32px;
  border-top: 1px solid var(--apple-hairline);
}

body:not(.admin-body) .project-detail-footer a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  color: var(--apple-blue);
  font-size: 17px;
  text-decoration: none;
}

body:not(.admin-body) .project-not-found {
  display: grid;
  min-height: calc(100svh - var(--apple-nav-height));
  place-content: center;
  justify-items: start;
  padding: 48px;
  background: var(--apple-canvas);
}

body:not(.admin-body) .project-not-found h1 {
  margin-bottom: 32px;
  color: var(--apple-ink);
}

/* Motion */

body:not(.admin-body) .reveal-item {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 700ms cubic-bezier(0.25, 0.1, 0.25, 1),
    transform 700ms cubic-bezier(0.25, 0.1, 0.25, 1);
}

body:not(.admin-body) .reveal-item.is-revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive system */

@media (min-width: 1600px) {
  body:not(.admin-body) {
    --apple-content: 1480px;
    --apple-grid: 1480px;
    --apple-copy: 760px;
    --apple-section-space: 120px;
  }

  body:not(.admin-body) .hero-shell {
    grid-template-rows: auto auto auto;
    align-content: center;
    gap: 32px;
    padding-top: 120px;
    padding-bottom: 120px;
  }

  body:not(.admin-body) .hero-copy {
    grid-row: 1;
  }

  body:not(.admin-body) .hero-statement {
    grid-row: 2;
  }

  body:not(.admin-body) .hero-index {
    grid-row: 3;
    width: min(100%, 760px);
    max-width: 760px;
  }

  body:not(.admin-body) h1 {
    font-size: 72px;
    line-height: 1.06;
  }

  body:not(.admin-body) h2 {
    font-size: 48px;
  }

  body:not(.admin-body) h3 {
    font-size: 32px;
  }

  body:not(.admin-body) .role-line {
    font-size: 24px;
  }

  body:not(.admin-body) .intro-line {
    max-width: 760px;
    font-size: 19px;
  }

  body:not(.admin-body) .hero-copy,
  body:not(.admin-body) .hero-statement {
    width: min(100%, 760px);
    max-width: 760px;
  }

  body:not(.admin-body) .section-heading {
    margin-bottom: 64px;
  }

  body:not(.admin-body) .project-grid {
    gap: 32px;
  }

  body:not(.admin-body) .project-card-body {
    padding: 32px 32px 24px;
  }

  body:not(.admin-body) .project-open {
    padding-right: 32px;
    padding-bottom: 24px;
    padding-left: 32px;
  }

  body:not(.admin-body) .about-layout {
    grid-template-columns: minmax(340px, 420px) minmax(0, 760px);
    width: min(100%, 1280px);
    max-width: 1280px;
    gap: 96px;
  }

  body:not(.admin-body) .contact-copy,
  body:not(.admin-body) .contact-links {
    width: min(100%, 1100px);
    max-width: 1100px;
  }

  body:not(.admin-body) .project-detail-header {
    padding-top: 120px;
    padding-bottom: 64px;
  }

  body:not(.admin-body) .project-detail-header h1 {
    font-size: 80px;
  }

  body:not(.admin-body) .project-detail-body {
    width: min(calc(100% - 48px), 1120px);
  }
}

@media (max-width: 1199px) {
  body:not(.admin-body) .project-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: var(--apple-content);
  }
}

@media (max-width: 1068px) {
  body:not(.admin-body) {
    --apple-gutter: 32px;
  }

  body:not(.admin-body) h1 {
    font-size: 40px;
    line-height: 1.1;
  }

  body:not(.admin-body) .hero-shell {
    padding-bottom: 80px;
  }
}

@media (max-width: 833px) {
  body:not(.admin-body) {
    --apple-gutter: 24px;
    --apple-section-space: 64px;
  }

  body:not(.admin-body) .site-topbar {
    grid-template-columns: auto 44px;
    padding: 0 var(--apple-gutter);
  }

  body:not(.admin-body) .nav-toggle {
    display: grid;
    justify-self: end;
  }

  body:not(.admin-body) .top-nav {
    position: absolute;
    top: var(--apple-nav-height);
    right: 0;
    left: 0;
    display: grid;
    grid-column: 1 / -1;
    gap: 0;
    max-height: 0;
    padding: 0 var(--apple-gutter);
    overflow: hidden;
    border-bottom: 0 solid rgba(255, 255, 255, 0.12);
    background: rgba(0, 0, 0, 0.96);
    opacity: 0;
    pointer-events: none;
    transition: max-height 260ms ease, opacity 180ms ease, border-width 180ms ease;
  }

  body:not(.admin-body) .site-topbar.is-menu-open .top-nav {
    max-height: 320px;
    padding-bottom: 12px;
    border-bottom-width: 1px;
    opacity: 1;
    pointer-events: auto;
  }

  body:not(.admin-body) .top-nav a {
    justify-content: space-between;
    min-height: 48px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 14px;
  }

  body:not(.admin-body) .top-nav .language-switch {
    justify-self: start;
    margin: 10px 0 4px;
  }

  body:not(.admin-body) .top-nav a span {
    display: inline;
    color: rgba(255, 255, 255, 0.44);
    font-size: 12px;
  }

  body:not(.admin-body) .top-nav .admin-link {
    justify-content: center;
    min-height: 44px;
    margin-top: 12px;
    border: 0;
    background: var(--apple-ink);
  }

  body:not(.admin-body) .hero-shell {
    min-height: calc(92svh - var(--apple-nav-height));
    padding-top: 96px;
    padding-bottom: 72px;
  }

  body:not(.admin-body) .section-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 24px;
  }

  body:not(.admin-body) .filter-bar {
    justify-content: flex-start;
  }

  body:not(.admin-body) .about-layout {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  body:not(.admin-body) .portrait {
    width: min(100%, 440px);
  }

  body:not(.admin-body) .profile-facts {
    grid-column: 1;
  }

  body:not(.admin-body) .cv-card {
    grid-template-columns: 1fr;
  }

  body:not(.admin-body) .cv-meta {
    border-right: 0;
    border-bottom: 1px solid var(--apple-hairline);
  }

  body:not(.admin-body) .cv-text-preview,
  body:not(.admin-body) .cv-document-placeholder {
    min-height: 480px;
  }

  body:not(.admin-body) .project-detail-header {
    padding-top: 64px;
  }

  body:not(.admin-body) .project-detail-header h1 {
    font-size: 48px;
  }

  body:not(.admin-body) .project-detail-body {
    grid-template-columns: 1fr;
    padding: 72px 0;
    gap: 48px;
  }

  body:not(.admin-body) .project-detail-facts {
    margin-top: 0;
  }
}

@media (max-width: 735px) {
  body:not(.admin-body) .project-grid {
    grid-template-columns: 1fr;
  }

  body:not(.admin-body) .project-card-body {
    padding: 24px 24px 17px;
  }

  body:not(.admin-body) .cv-empty {
    align-items: flex-start;
    flex-direction: column;
  }

  body:not(.admin-body) .cv-page-toolbar {
    grid-template-columns: 1fr auto;
    gap: 12px;
    padding: 10px 20px;
  }

  body:not(.admin-body) .cv-page-toolbar > div:not(.cv-page-toolbar-actions) {
    display: none;
  }

  body:not(.admin-body) .cv-page-toolbar .cv-page-toolbar-actions {
    display: flex;
  }

  body:not(.admin-body) .cv-page-toolbar > .button {
    min-height: 40px;
    padding: 0 16px;
  }
}

@media (max-width: 640px) {
  body:not(.admin-body) {
    --apple-gutter: 20px;
    --apple-section-space: 56px;
  }

  body:not(.admin-body) .brand-mark strong {
    display: inline;
    max-width: 170px;
  }

  body:not(.admin-body) .top-nav a:not(.admin-link) {
    display: inline-flex;
  }

  body:not(.admin-body) .hero-shell {
    min-height: calc(88svh - var(--apple-nav-height));
    padding-top: 80px;
    padding-bottom: 64px;
  }

  body:not(.admin-body) h1 {
    font-size: 44px;
    line-height: 1.1;
  }

  body:not(.admin-body) h2 {
    font-size: 34px;
    line-height: 1.12;
  }

  body:not(.admin-body) h3 {
    font-size: 24px;
  }

  body:not(.admin-body) .role-line {
    font-size: 17px;
    line-height: 1.24;
  }

  body:not(.admin-body) .hero-title-note {
    font-size: 14px;
  }

  body:not(.admin-body) .hero-title-note-invert {
    min-height: 36px;
    padding: 7px 11px;
  }

  body:not(.admin-body) .hero-control {
    top: 42%;
    width: 44px;
    height: 44px;
  }

  body:not(.admin-body) .hero-control-prev {
    left: 8px;
  }

  body:not(.admin-body) .hero-control-next {
    right: 8px;
  }

  body:not(.admin-body) .hero-index {
    display: flex;
    width: 100%;
    gap: 3px 10px;
    margin-top: 0;
  }

  body:not(.admin-body) .hero-index span,
  body:not(.admin-body) .hero-index em {
    font-size: 11px;
  }

  body:not(.admin-body) .hero-index strong {
    font-size: 13px;
  }

  body:not(.admin-body) .section-heading {
    margin-bottom: 32px;
  }

  body:not(.admin-body) .filter-bar {
    width: 100%;
    flex-wrap: nowrap;
    padding-bottom: 4px;
    overflow-x: auto;
    scrollbar-width: none;
  }

  body:not(.admin-body) .filter-bar::-webkit-scrollbar {
    display: none;
  }

  body:not(.admin-body) .filter-button {
    flex: 0 0 auto;
  }

  body:not(.admin-body) .profile-facts {
    grid-template-columns: 1fr;
  }

  body:not(.admin-body) .cv-empty {
    padding: 24px;
  }

  body:not(.admin-body) .contact-band {
    min-height: 620px;
  }

  body:not(.admin-body) .contact-links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
    gap: 12px 20px;
  }

  body:not(.admin-body) .contact-link {
    justify-content: flex-start;
    min-width: 0;
    overflow-wrap: anywhere;
    text-align: left;
  }

  body:not(.admin-body) .dialog-content {
    padding: 40px 24px 48px;
  }

  body:not(.admin-body) .dialog-content h2 {
    margin-bottom: 20px;
  }

  body:not(.admin-body) .dialog-content .summary {
    margin-bottom: 24px;
    font-size: 19px;
  }

  body:not(.admin-body) .dialog-content .tag-row {
    margin-top: 32px;
  }

  body:not(.admin-body) .project-detail {
    padding-bottom: 80px;
  }

  body:not(.admin-body) .project-detail-header,
  body:not(.admin-body) .project-detail-media,
  body:not(.admin-body) .project-detail-body,
  body:not(.admin-body) .project-detail-footer {
    width: min(calc(100% - 32px), var(--apple-content));
  }

  body:not(.admin-body) .project-detail-header {
    padding-top: 48px;
    padding-bottom: 40px;
  }

  body:not(.admin-body) .project-detail-back {
    margin-bottom: 32px;
  }

  body:not(.admin-body) .project-detail-header h1 {
    margin-bottom: 20px;
    font-size: 40px;
  }

  body:not(.admin-body) .project-detail-summary {
    font-size: 19px;
  }

  body:not(.admin-body) .project-detail-stage {
    aspect-ratio: 4 / 3;
    border-radius: 12px;
  }

  body:not(.admin-body) .project-media-info-panel {
    padding: 20px 48px 20px 20px;
  }

  body:not(.admin-body) .project-media-info-panel strong {
    font-size: 17px;
  }

  body:not(.admin-body) .project-detail-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body:not(.admin-body) .project-detail-body {
    padding: 56px 0;
  }

  body:not(.admin-body) .project-detail-copy h2 {
    margin-bottom: 24px;
  }

  body:not(.admin-body) .project-detail-copy > p:not(.eyebrow) {
    font-size: 17px;
  }
}

@media (max-width: 419px) {
  body:not(.admin-body) {
    --apple-gutter: 16px;
    --apple-section-space: 48px;
  }

  body:not(.admin-body) .brand-mark strong {
    max-width: 145px;
  }

  body:not(.admin-body) h1 {
    font-size: 40px;
    line-height: 1.12;
  }

  body:not(.admin-body) h2 {
    font-size: 28px;
  }

  body:not(.admin-body) .hero-shell {
    padding-top: 64px;
    padding-bottom: 56px;
  }

  body:not(.admin-body) .hero-actions {
    align-items: stretch;
    flex-direction: column;
    width: min(100%, 240px);
  }

  body:not(.admin-body) .button {
    width: 100%;
  }

  body:not(.admin-body) .contact-links {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  body:not(.admin-body) *,
  body:not(.admin-body) *::before,
  body:not(.admin-body) *::after {
    scroll-behavior: auto !important;
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 1ms !important;
  }
}

body:not(.admin-body) .site-footer {
  border-top: 1px solid var(--apple-hairline);
}

body:not(.admin-body) .site-footer a {
  color: var(--apple-muted);
}

body:not(.admin-body) .site-footer a:hover,
body:not(.admin-body) .site-footer a:focus-visible {
  color: var(--apple-ink);
}
