:root {
  --bg: #f6f3ee;
  --surface: #fffdf8;
  --surface-strong: #ebe4d8;
  --ink: #162235;
  --muted: #637083;
  --line: #d6cec0;
  --navy: #0d2b4c;
  --teal: #49796f;
  --wine: #7c3f4c;
  --shadow: 0 22px 70px rgba(22, 34, 53, 0.11);
  --radius: 8px;
  --serif: Georgia, "Times New Roman", serif;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(90deg, rgba(13, 43, 76, 0.035) 1px, transparent 1px) 0 0 / 88px 88px,
    var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: 0;
}

body::selection {
  background: rgba(73, 121, 111, 0.24);
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px clamp(18px, 5vw, 64px);
  border-bottom: 1px solid rgba(214, 206, 192, 0.8);
  background: rgba(246, 243, 238, 0.86);
  backdrop-filter: blur(16px);
}

.brand-mark {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid var(--navy);
  border-radius: 50%;
  color: var(--navy);
  font-family: var(--serif);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.site-nav a {
  border-radius: 999px;
  padding: 9px 13px;
  color: var(--muted);
  font-size: 0.86rem;
  transition: background 180ms ease, color 180ms ease;
}

.site-nav a:hover,
.site-nav a.is-active {
  background: var(--surface);
  color: var(--navy);
}

main {
  overflow: hidden;
}

.section-grid,
.content-section,
.impact-section,
.profile-section,
.site-footer {
  width: min(1160px, calc(100% - 36px));
  margin-inline: auto;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.13fr) minmax(290px, 0.67fr);
  align-items: end;
  gap: clamp(28px, 6vw, 72px);
  min-height: calc(100vh - 82px);
  padding: clamp(54px, 9vw, 108px) 0 34px;
}

.hero-copy {
  padding-bottom: clamp(12px, 4vw, 56px);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 750;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  max-width: 780px;
  margin: 0;
  color: var(--navy);
  font-family: var(--serif);
  font-size: clamp(4rem, 11vw, 8.8rem);
  font-weight: 500;
  line-height: 0.92;
  letter-spacing: 0;
}

.hero-title {
  margin: 24px 0 0;
  color: var(--wine);
  font-family: var(--serif);
  font-size: clamp(1.3rem, 2vw, 2rem);
  line-height: 1.15;
}

.hero-statement {
  max-width: 690px;
  margin: 26px 0 0;
  color: #26354b;
  font-size: clamp(1.05rem, 1.8vw, 1.3rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.hero-actions a,
.hero-actions span {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 253, 248, 0.72);
  padding: 9px 14px;
  color: var(--navy);
  font-size: 0.9rem;
}

.hero-panel {
  display: grid;
  gap: 16px;
}

.image-slot {
  position: relative;
  overflow: hidden;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(13, 43, 76, 0.08), transparent 38%),
    linear-gradient(315deg, rgba(73, 121, 111, 0.16), transparent 46%),
    var(--surface-strong);
}

.image-slot::before {
  position: absolute;
  inset: 22px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(13, 43, 76, 0.16);
  border-radius: calc(var(--radius) - 2px);
  color: rgba(13, 43, 76, 0.55);
  content: "Photo";
  font-family: var(--serif);
  font-size: clamp(2.2rem, 7vw, 4.8rem);
  line-height: 1;
}

.image-slot[data-placeholder]::before {
  content: attr(data-placeholder);
}

.image-slot img {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.image-slot img.is-hidden {
  display: none;
}

.portrait-frame {
  min-height: 480px;
  box-shadow: var(--shadow);
}

.content-section,
.impact-section,
.profile-section {
  padding: clamp(64px, 10vw, 112px) 0 0;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(190px, 0.34fr) minmax(0, 0.66fr);
  gap: 24px;
  align-items: end;
  margin-bottom: clamp(24px, 5vw, 44px);
}

.section-heading h2 {
  max-width: 720px;
  margin: 0;
  color: var(--navy);
  font-family: var(--serif);
  font-size: clamp(2.2rem, 5vw, 4.5rem);
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0;
  overflow-wrap: normal;
  word-break: normal;
}

.impact-section .section-heading {
  grid-template-columns: minmax(150px, 0.22fr) minmax(0, 0.78fr);
}

.impact-section .section-heading h2 {
  max-width: 920px;
  font-size: clamp(2.2rem, 4.7vw, 4.35rem);
}

.strength-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.strength-grid article {
  min-height: 320px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 253, 248, 0.58);
  padding: clamp(22px, 3vw, 34px);
}

.strength-grid span {
  color: var(--teal);
  font-family: var(--serif);
  font-size: 2.8rem;
}

.strength-grid h3,
.experience-card h3,
.experience-card h4,
.detail-card h3 {
  margin: 18px 0 10px;
  color: var(--navy);
  font-family: var(--serif);
  font-size: clamp(1.35rem, 2vw, 1.75rem);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: 0;
}

.strength-grid p,
.experience-card p,
.detail-card p {
  margin: 0;
  color: #344056;
}

.education-list {
  display: grid;
  gap: 12px;
}

.education-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) max-content;
  gap: 24px;
  align-items: start;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(73, 121, 111, 0.12), transparent 56%),
    rgba(255, 253, 248, 0.78);
  padding: clamp(22px, 3vw, 30px);
}

.education-item h3 {
  margin: 0 0 6px;
  color: var(--navy);
  font-family: var(--serif);
  font-size: clamp(1.35rem, 2vw, 1.75rem);
  font-weight: 500;
  line-height: 1.12;
}

.education-item p {
  margin: 0;
  color: #344056;
}

.education-item > span {
  color: var(--muted);
  font-size: 0.92rem;
  text-align: right;
  white-space: nowrap;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}

.metric-grid article {
  display: grid;
  min-height: 190px;
  align-content: space-between;
  border-radius: var(--radius);
  background: var(--navy);
  padding: 22px;
  color: var(--surface);
}

.metric-grid article:nth-child(2) {
  background: #243f5a;
}

.metric-grid article:nth-child(3) {
  background: var(--teal);
}

.metric-grid article:nth-child(4) {
  background: #384b54;
}

.metric-grid article:nth-child(5) {
  background: var(--wine);
}

.metric-grid strong {
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 3.6rem);
  font-weight: 500;
  line-height: 0.96;
}

.metric-grid span {
  color: rgba(255, 253, 248, 0.84);
  font-size: 0.9rem;
  line-height: 1.35;
}

.timeline {
  display: grid;
  gap: 14px;
}

.experience-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 253, 248, 0.72);
  padding: clamp(22px, 4vw, 34px);
}

.experience-card.featured {
  background: var(--surface);
  box-shadow: var(--shadow);
}

.experience-card.with-media {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 0.42fr);
  gap: clamp(18px, 4vw, 34px);
  align-items: stretch;
}

.experience-meta {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 18px;
}

.experience-meta h3 {
  margin: 3px 0 0;
}

.experience-meta > span {
  max-width: 300px;
  color: var(--muted);
  font-size: 0.92rem;
  text-align: right;
}

.role-kicker {
  margin: 0;
  color: var(--teal);
  font-size: 0.8rem;
  font-weight: 780;
  text-transform: uppercase;
}

.compact-list {
  display: grid;
  gap: 9px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.compact-list li {
  position: relative;
  padding-left: 22px;
  color: #344056;
}

.compact-list li::before {
  position: absolute;
  top: 0.68em;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--teal);
  content: "";
}

.project-showcase {
  margin-top: clamp(28px, 5vw, 44px);
  border-top: 1px solid var(--line);
  padding-top: clamp(22px, 4vw, 32px);
}

.project-showcase-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 18px;
}

.project-showcase-heading h4 {
  margin: 4px 0 0;
}

.project-showcase-heading > span {
  max-width: 330px;
  color: var(--muted);
  font-size: 0.9rem;
  text-align: right;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}

.project-tile {
  display: block;
  min-height: 310px;
  padding: 0;
  border: 1px solid var(--line);
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  text-align: left;
}

.project-tile::before {
  font-size: clamp(1.7rem, 3vw, 2.7rem);
  text-align: center;
  transition: opacity 180ms ease;
}

.project-tile img {
  transition: opacity 180ms ease, transform 260ms ease;
}

.project-tile:hover img {
  transform: scale(1.035);
}

.project-front,
.project-back {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
}

.project-front {
  justify-content: flex-end;
  background: linear-gradient(180deg, transparent 30%, rgba(13, 43, 76, 0.74));
  padding: 14px;
  color: var(--surface);
  transition: opacity 180ms ease;
}

.project-front strong,
.project-back strong {
  font-family: var(--serif);
  font-size: clamp(1.08rem, 1.7vw, 1.28rem);
  font-weight: 500;
  line-height: 1.08;
}

.project-front > span:last-child {
  margin-top: 6px;
  color: rgba(255, 253, 248, 0.82);
  font-size: 0.78rem;
  line-height: 1.35;
}

.project-index {
  margin-bottom: auto;
  color: rgba(255, 253, 248, 0.76);
  font-family: var(--serif);
  font-size: 1.7rem;
}

.project-back {
  justify-content: flex-start;
  gap: 14px;
  background: var(--navy);
  padding: 16px;
  color: var(--surface);
  opacity: 0;
  overflow-y: auto;
  pointer-events: none;
  scrollbar-color: rgba(255, 253, 248, 0.26) transparent;
  transform: translateY(8px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.project-back span {
  color: rgba(255, 253, 248, 0.84);
  font-size: 0.86rem;
  line-height: 1.48;
}

.project-tile.is-open::before,
.project-tile.is-open img,
.project-tile.is-open .project-front {
  opacity: 0;
}

.project-tile.is-open .project-back {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.project-tile:focus-visible {
  outline: 3px solid rgba(73, 121, 111, 0.45);
  outline-offset: 3px;
}

.lila-carousel {
  position: relative;
  display: grid;
  grid-template-rows: minmax(360px, 1fr) auto;
  min-height: 100%;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-strong);
}

.carousel-track {
  position: relative;
  min-height: 360px;
}

.carousel-slide {
  position: absolute;
  inset: 0;
  border: 0;
  border-radius: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 220ms ease;
}

.carousel-slide.is-active {
  opacity: 1;
  pointer-events: auto;
}

.carousel-controls {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border-top: 1px solid rgba(13, 43, 76, 0.12);
  background: rgba(255, 253, 248, 0.86);
  padding: 12px;
}

.carousel-controls button {
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--navy);
  cursor: pointer;
  transition: border-color 180ms ease, background 180ms ease, color 180ms ease;
}

.carousel-controls button:hover {
  border-color: var(--teal);
  background: rgba(73, 121, 111, 0.11);
}

.carousel-controls > button {
  display: grid;
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  font-size: 1.45rem;
  line-height: 1;
}

.carousel-dots {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.carousel-dots button {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  padding: 0;
}

.carousel-dots button.is-active {
  border-color: var(--navy);
  background: var(--navy);
}

.lila-brandbook-card {
  display: grid;
  gap: clamp(26px, 4vw, 38px);
}

.brandbook-viewer {
  display: grid;
  gap: 14px;
  border-top: 1px solid var(--line);
  padding-top: clamp(18px, 3vw, 28px);
}

.brandbook-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
}

.brandbook-header h4 {
  margin: 4px 0 0;
}

.brandbook-header > span {
  max-width: 360px;
  color: var(--muted);
  font-size: 0.9rem;
  text-align: right;
}

.brandbook-stage {
  position: relative;
  display: flex;
  overflow: hidden;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #eee8de;
  aspect-ratio: 16 / 9;
  box-shadow: var(--shadow);
  cursor: zoom-in;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  touch-action: pan-y pinch-zoom;
  -webkit-overflow-scrolling: touch;
}

.brandbook-stage::-webkit-scrollbar {
  display: none;
}

.brandbook-slide {
  position: relative;
  inset: auto;
  flex: 0 0 100%;
  margin: 0;
  background: #eee8de;
  opacity: 1;
  pointer-events: auto;
  scroll-snap-align: start;
  transition: none;
}

.brandbook-slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  user-select: none;
  -webkit-user-drag: none;
}

.brandbook-controls {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
}

.brandbook-controls button {
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--navy);
  cursor: pointer;
  transition: border-color 180ms ease, background 180ms ease, color 180ms ease;
}

.brandbook-controls button:hover,
.brandbook-controls button.is-active {
  border-color: var(--teal);
  background: rgba(73, 121, 111, 0.11);
}

.brandbook-controls > button {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 50%;
  font-size: 1.55rem;
  line-height: 1;
}

.brandbook-thumbnails {
  display: grid;
  grid-auto-columns: minmax(78px, 112px);
  grid-auto-flow: column;
  grid-template-columns: none;
  gap: 8px;
  overflow-x: auto;
  padding: 2px 2px 8px;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-color: var(--line) transparent;
}

.brandbook-thumbnails button {
  position: relative;
  overflow: hidden;
  min-width: 58px;
  border-radius: var(--radius);
  padding: 0;
  aspect-ratio: 16 / 9;
  scroll-snap-align: start;
}

.brandbook-thumbnails img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  background: #eee8de;
}

.brandbook-thumbnails span {
  position: absolute;
  right: 5px;
  bottom: 4px;
  border-radius: 999px;
  background: rgba(13, 43, 76, 0.76);
  color: var(--surface);
  padding: 2px 6px;
  font-size: 0.66rem;
  font-weight: 700;
  line-height: 1.1;
}

.has-brandbook-lightbox {
  overflow: hidden;
}

.brandbook-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  background: rgba(8, 16, 28, 0.96);
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
  visibility: hidden;
}

.brandbook-lightbox.is-open {
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
}

.brandbook-lightbox-bar {
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: max(14px, env(safe-area-inset-top)) max(16px, env(safe-area-inset-right))
    12px max(16px, env(safe-area-inset-left));
  color: var(--surface);
  font-weight: 700;
}

.brandbook-lightbox button {
  border: 1px solid rgba(255, 253, 248, 0.28);
  background: rgba(255, 253, 248, 0.12);
  color: var(--surface);
  cursor: pointer;
  transition: background 180ms ease, border-color 180ms ease;
}

.brandbook-lightbox button:hover {
  border-color: rgba(255, 253, 248, 0.58);
  background: rgba(255, 253, 248, 0.2);
}

.brandbook-lightbox [data-lightbox-close] {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 50%;
  font-size: 1.65rem;
  line-height: 1;
}

.brandbook-lightbox-track {
  display: flex;
  min-width: 0;
  min-height: 0;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  touch-action: pan-y pinch-zoom;
  -webkit-overflow-scrolling: touch;
}

.brandbook-lightbox-track::-webkit-scrollbar {
  display: none;
}

.brandbook-lightbox-slide {
  display: grid;
  flex: 0 0 100%;
  box-sizing: border-box;
  min-width: 0;
  min-height: 0;
  margin: 0;
  overflow: hidden;
  place-items: center;
  padding: clamp(16px, 3vw, 30px);
  scroll-snap-align: start;
}

.brandbook-lightbox-slide img {
  display: block;
  width: min(100%, 1400px);
  max-height: calc(100dvh - 110px);
  object-fit: contain;
  border-radius: var(--radius);
  background: #eee8de;
  box-shadow: 0 24px 90px rgba(0, 0, 0, 0.38);
  user-select: none;
  -webkit-user-drag: none;
}

.brandbook-lightbox-nav {
  position: fixed;
  top: 50%;
  z-index: 3;
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 50%;
  font-size: 2rem;
  line-height: 1;
  transform: translateY(-50%);
}

.brandbook-lightbox-nav.is-prev {
  left: max(14px, env(safe-area-inset-left));
}

.brandbook-lightbox-nav.is-next {
  right: max(14px, env(safe-area-inset-right));
}

.profile-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.detail-card {
  min-height: 205px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 253, 248, 0.74);
  padding: 24px;
}

.detail-card h3 {
  margin-top: 0;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: clamp(70px, 10vw, 120px);
  padding: 28px 0 40px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.92rem;
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  color: var(--navy);
  font-weight: 700;
}

@media (max-width: 980px) {
  .hero,
  .section-heading,
  .experience-card.with-media {
    grid-template-columns: 1fr;
  }

  .impact-section .section-heading {
    grid-template-columns: 1fr;
  }

  .impact-section .section-heading h2 {
    max-width: 720px;
    font-size: clamp(2.2rem, 5vw, 4.5rem);
  }

  .hero {
    min-height: 0;
    padding-top: 52px;
  }

  .hero-copy {
    padding-bottom: 0;
  }

  .portrait-frame {
    min-height: 360px;
  }

  .strength-grid,
  .metric-grid,
  .project-grid {
    grid-template-columns: 1fr;
  }

  .strength-grid article,
  .metric-grid article {
    min-height: auto;
  }

  .education-item {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .education-item > span {
    text-align: left;
    white-space: normal;
  }

  .metric-grid article {
    gap: 34px;
  }

  .project-showcase-heading {
    display: grid;
    gap: 8px;
  }

  .project-showcase-heading > span {
    max-width: none;
    text-align: left;
  }

  .project-tile {
    min-height: 280px;
  }

  .brandbook-header {
    display: grid;
    gap: 8px;
  }

  .brandbook-header > span {
    max-width: none;
    text-align: left;
  }

  .brandbook-thumbnails {
    grid-auto-columns: minmax(96px, calc((100% - 8px) / 3));
  }

  .lila-carousel {
    min-height: 360px;
  }

  .carousel-track {
    min-height: 300px;
  }

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

  .detail-card {
    grid-column: auto;
  }
}

@media (max-width: 680px) {
  .site-header {
    position: static;
    align-items: flex-start;
    padding: 16px 18px;
  }

  .brand-mark {
    flex: 0 0 auto;
  }

  .site-nav {
    gap: 4px;
  }

  .site-nav a {
    padding: 7px 9px;
    font-size: 0.78rem;
  }

  .section-grid,
  .content-section,
  .impact-section,
  .profile-section,
  .site-footer {
    width: min(100% - 28px, 1160px);
  }

  h1 {
    font-size: clamp(3.35rem, 18vw, 5rem);
  }

  .hero-actions {
    display: grid;
  }

  .hero-actions a,
  .hero-actions span {
    justify-content: center;
    text-align: center;
  }

  .portrait-frame {
    min-height: 320px;
  }

  .image-slot::before {
    inset: 16px;
    font-size: 3rem;
  }

  .experience-meta {
    display: grid;
    gap: 8px;
  }

  .experience-meta > span {
    max-width: none;
    text-align: left;
  }

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

  .brandbook-controls {
    grid-template-columns: 38px minmax(0, 1fr) 38px;
    gap: 8px;
  }

  .brandbook-controls > button {
    width: 38px;
    height: 38px;
  }

  .brandbook-thumbnails {
    grid-auto-columns: calc((100% - 8px) / 2);
  }

  .brandbook-lightbox-slide {
    padding: 12px;
  }

  .brandbook-lightbox-slide img {
    width: 100%;
    max-height: calc(100dvh - 104px);
  }

  .brandbook-lightbox-nav {
    top: auto;
    bottom: max(14px, env(safe-area-inset-bottom));
    width: 44px;
    height: 44px;
    transform: none;
  }

  .site-footer {
    display: grid;
  }
}
