:root {
  --bg: var(--royal-bg, #07040f);
  --surface: var(--royal-surface, #120a1f);
  --surface-2: #1b102d;
  --gold: var(--royal-gold, #d7b56d);
  --gold-2: #f3df9a;
  --purple: var(--royal-purple, #7c3aed);
  --text: var(--royal-text, #f8f2e7);
  --muted: #b9aeca;
  --line: rgba(215, 181, 109, 0.18);
  --line-soft: rgba(255, 255, 255, 0.08);
  --glass: rgba(18, 10, 31, 0.74);
  --shadow: 0 26px 80px rgba(0, 0, 0, 0.34);
  --radius: 8px;
  --shell: 1180px;
  --header-height: 84px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Sora", system-ui, sans-serif;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
}

body.nav-open,
body.lightbox-open {
  overflow: hidden;
}

img,
video {
  display: block;
  width: 100%;
  max-width: 100%;
}

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

button,
input,
textarea {
  font: inherit;
}

button {
  color: inherit;
}

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: 1rem;
  left: 1rem;
  z-index: 100;
  transform: translateY(-180%);
  padding: 0.75rem 1rem;
  border-radius: var(--radius);
  background: var(--gold);
  color: #08050f;
  font-weight: 700;
}

.skip-link:focus {
  transform: translateY(0);
}

.royal-backdrop {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    conic-gradient(from 160deg at 18% 12%, rgba(215, 181, 109, 0.16), transparent 24%, rgba(124, 58, 237, 0.18), transparent 52%, rgba(215, 181, 109, 0.08)),
    linear-gradient(135deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 18px),
    linear-gradient(180deg, #07040f 0%, #0f071c 50%, #06030b 100%);
  background-size: auto, 36px 36px, auto;
  animation: royal-shift 18s ease-in-out infinite alternate;
}

.shell {
  width: min(calc(100% - 2rem), var(--shell));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  padding: 0.9rem 0;
}

.site-header__inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: 4rem;
  padding: 0.75rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(9, 5, 18, 0.76);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(20px);
}

.site-header.is-scrolled .site-header__inner {
  border-color: rgba(215, 181, 109, 0.32);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  min-width: 13rem;
}

.brand__mark {
  display: grid;
  place-items: center;
  width: 3.1rem;
  height: 3.1rem;
  border: 1px solid rgba(215, 181, 109, 0.36);
  border-radius: var(--radius);
  overflow: hidden;
  background: #050505;
  color: var(--gold-2);
  font-family: "Cormorant Garamond", serif;
  font-weight: 700;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.28);
}

.brand__mark img {
  height: 100%;
  width: 100%;
  object-fit: cover;
}

.brand__copy {
  display: grid;
  gap: 0.1rem;
  min-width: 0;
}

.brand__copy strong,
.footer-title {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.25rem;
  line-height: 1;
}

.brand__copy small {
  color: var(--muted);
  font-size: 0.74rem;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  margin-left: auto;
}

.site-nav__link {
  min-height: 2.55rem;
  padding: 0.65rem 0.85rem;
  border-radius: var(--radius);
  color: var(--muted);
  font-size: 0.88rem;
  transition: background 180ms ease, color 180ms ease;
}

.site-nav__link:hover,
.site-nav__link.is-active {
  background: rgba(215, 181, 109, 0.1);
  color: var(--text);
}

.site-header__actions {
  display: flex;
  align-items: center;
}

.nav-toggle {
  display: none;
  flex: 0 0 2.8rem;
  width: 2.8rem;
  height: 2.8rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
}

.nav-toggle span {
  display: block;
  width: 1.25rem;
  height: 2px;
  margin: 0.25rem auto;
  background: var(--text);
  border-radius: 999px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.9rem;
  padding: 0.8rem 1rem;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 700;
  line-height: 1.1;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, color 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button--gold {
  background: linear-gradient(135deg, var(--gold), var(--gold-2));
  color: #090510;
  box-shadow: 0 16px 42px rgba(215, 181, 109, 0.18);
}

.button--ghost {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
}

.button--text {
  color: var(--gold-2);
  border-color: transparent;
}

.button--full {
  width: 100%;
}

.message-stack {
  position: fixed;
  top: calc(var(--header-height) + 0.8rem);
  left: 50%;
  z-index: 80;
  display: grid;
  gap: 0.7rem;
  transform: translateX(-50%);
}

.message-pill {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: min(42rem, calc(100vw - 2rem));
  padding: 0.9rem 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(18, 10, 31, 0.94);
  box-shadow: var(--shadow);
}

.message-pill button {
  border: 0;
  background: transparent;
  color: var(--gold-2);
  cursor: pointer;
}

.site-main {
  min-height: 60vh;
}

.hero-section {
  position: relative;
  min-height: calc(100vh - var(--header-height));
  display: grid;
  align-content: center;
  padding: 2rem 0 4rem;
  overflow: hidden;
}

.hero-section::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(7, 4, 15, 0.96), rgba(7, 4, 15, 0.72), rgba(7, 4, 15, 0.94)),
    repeating-linear-gradient(90deg, rgba(215, 181, 109, 0.06) 0 1px, transparent 1px 90px);
}

.hero-motion {
  position: absolute;
  inset: 0;
  z-index: -2;
  opacity: 0.34;
}

.hero-motion img,
.hero-motion video {
  height: 100%;
  object-fit: cover;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(18rem, 0.72fr);
  gap: 2rem;
  align-items: center;
}

.hero-copy {
  display: grid;
  gap: 1.25rem;
  min-width: 0;
}

.eyebrow {
  margin: 0;
  color: var(--gold-2);
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--text);
}

h1,
h2 {
  font-family: "Cormorant Garamond", serif;
  font-weight: 700;
  line-height: 0.98;
}

h1 {
  max-width: 16ch;
  font-size: 5.8rem;
}

h2 {
  font-size: 3.55rem;
}

h3 {
  font-size: 1.1rem;
  font-weight: 700;
}

p {
  margin: 0;
}

.hero-typing {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  color: var(--muted);
}

.hero-typing strong {
  color: var(--gold-2);
  min-width: 12ch;
}

.hero-lead,
.page-hero__copy,
.section-head > p,
.section-copy-block p,
.story-card,
.side-card p,
.rich-text,
.footer-copy,
.empty-state p,
.project-card__body p,
.post-card__body p,
.media-card__body small,
.timeline-item span,
.timeline-item p {
  color: var(--muted);
  line-height: 1.75;
}

.hero-lead {
  max-width: 58rem;
  font-size: 1.05rem;
}

.hero-actions,
.hero-social,
.tag-row,
.filter-row,
.post-card__meta,
.project-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.hero-social a,
.footer-social a,
.footer-links a,
.contact-methods a {
  color: var(--muted);
  transition: color 180ms ease;
}

.hero-social a:hover,
.footer-social a:hover,
.footer-links a:hover,
.contact-methods a:hover {
  color: var(--gold-2);
}

.hero-portrait {
  display: grid;
  gap: 1rem;
}

.portrait-frame {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 4 / 5;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: linear-gradient(145deg, rgba(215, 181, 109, 0.16), rgba(124, 58, 237, 0.22));
  box-shadow: var(--shadow);
}

.portrait-frame img {
  height: 100%;
  object-fit: cover;
}

.portrait-frame .portrait-frame__logo {
  width: min(100%, 28rem);
  height: auto;
  object-fit: contain;
}

.portrait-frame span {
  font-family: "Cormorant Garamond", serif;
  font-size: 6rem;
  color: var(--gold-2);
}

.availability-strip {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.75rem;
  align-items: center;
  padding: 0.9rem 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--glass);
  backdrop-filter: blur(18px);
}

.availability-strip span {
  width: 0.65rem;
  height: 0.65rem;
  border-radius: 999px;
  background: #70f0a0;
  box-shadow: 0 0 18px rgba(112, 240, 160, 0.8);
}

.availability-strip small {
  color: var(--gold-2);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.stat-card,
.story-card,
.side-card,
.article-card,
.skill-group,
.empty-state,
.snapshot-card,
.quote-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--glass);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.stat-card {
  display: grid;
  gap: 0.55rem;
  padding: 1.2rem;
}

.stat-card strong {
  font-family: "Cormorant Garamond", serif;
  color: var(--gold-2);
  font-size: 2.4rem;
  line-height: 1;
}

.stat-card span {
  color: var(--muted);
  line-height: 1.55;
}

.section {
  padding: 5.5rem 0;
}

.section--compact {
  padding: 3.8rem 0;
}

.split-layout,
.contact-grid,
.detail-layout,
.page-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(18rem, 1fr);
  gap: 2rem;
}

.section-copy-block {
  display: grid;
  align-content: start;
  gap: 1rem;
}

.timeline {
  display: grid;
  gap: 1rem;
}

.timeline-item {
  display: grid;
  grid-template-columns: 8rem 1fr;
  gap: 1rem;
  padding: 1.1rem 0 1.1rem 1rem;
  border-left: 1px solid var(--line);
}

.timeline-item time {
  color: var(--gold-2);
  font-weight: 700;
}

.timeline-item div {
  display: grid;
  gap: 0.35rem;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 1.4rem;
}

.section-head > div {
  display: grid;
  gap: 0.65rem;
}

.section-head > p {
  max-width: 34rem;
}

.skill-groups {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.skill-group {
  padding: 1.25rem;
}

.skill-group h3 {
  margin-bottom: 1rem;
}

.skill-list {
  display: grid;
  gap: 1rem;
}

.skill-meter {
  display: grid;
  gap: 0.45rem;
}

.skill-meter__top {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.skill-meter__top span {
  color: var(--gold-2);
}

.skill-meter__track {
  height: 0.55rem;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.skill-meter__track span {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--gold), var(--purple));
  transition: width 900ms ease;
}

.skill-meter p {
  color: var(--muted);
  line-height: 1.6;
  font-size: 0.9rem;
}

.project-grid,
.journal-grid,
.media-grid {
  display: grid;
  gap: 1rem;
}

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

.project-grid--home .project-card:first-child {
  grid-column: span 2;
}

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

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

.project-card,
.post-card,
.media-card {
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  overflow: hidden;
  background: rgba(18, 10, 31, 0.72);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.22);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.project-card:hover,
.post-card:hover,
.media-card:hover {
  transform: translateY(-4px);
  border-color: rgba(215, 181, 109, 0.34);
  box-shadow: 0 26px 80px rgba(0, 0, 0, 0.34);
}

.project-card__link,
.post-card__link {
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.project-card__media,
.post-card__media,
.media-card__frame {
  position: relative;
  display: block;
  aspect-ratio: 16 / 11;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(215, 181, 109, 0.18), rgba(124, 58, 237, 0.18));
}

.project-card__media-element,
.post-card__element,
.media-card__element {
  height: 100%;
  object-fit: cover;
  transition: transform 240ms ease, filter 240ms ease;
}

.project-card:hover .project-card__media-element,
.post-card:hover .post-card__element,
.media-card:hover .media-card__element {
  transform: scale(1.04);
  filter: saturate(1.08);
}

.project-card__year,
.post-card__badge,
.media-card__type {
  position: absolute;
  left: 0.8rem;
  bottom: 0.8rem;
  padding: 0.4rem 0.58rem;
  border: 1px solid rgba(215, 181, 109, 0.3);
  border-radius: var(--radius);
  background: rgba(7, 4, 15, 0.78);
  color: var(--gold-2);
  font-size: 0.76rem;
  font-weight: 700;
}

.project-card__body,
.post-card__body,
.media-card__body {
  display: grid;
  gap: 0.75rem;
  padding: 1rem;
}

.project-card__meta,
.post-card__meta {
  color: var(--gold-2);
  font-size: 0.76rem;
}

.chip,
.filter-pill {
  display: inline-flex;
  align-items: center;
  min-height: 2rem;
  padding: 0.4rem 0.62rem;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
}

.chip--gold,
.filter-pill.is-active {
  border-color: rgba(215, 181, 109, 0.42);
  color: var(--gold-2);
  background: rgba(215, 181, 109, 0.1);
}

.media-card {
  width: 100%;
  padding: 0;
  border-color: var(--line-soft);
  text-align: left;
  cursor: pointer;
}

.media-card__body {
  display: grid;
}

.media-card__body small {
  display: block;
}

.abstract-thumb {
  display: grid;
  align-items: end;
  height: 100%;
  min-height: 14rem;
  padding: 1rem;
  background:
    linear-gradient(135deg, rgba(215, 181, 109, 0.2), transparent 48%),
    linear-gradient(225deg, rgba(124, 58, 237, 0.28), transparent 54%),
    #120a1f;
}

.abstract-thumb--stage {
  min-height: 30rem;
}

.abstract-thumb--journal {
  min-height: 13rem;
}

.page-hero {
  padding: 5rem 0 2rem;
}

.page-hero--detail {
  padding-bottom: 1rem;
}

.page-hero h1 {
  max-width: 12ch;
}

.archive-toolbar {
  display: flex;
  align-items: end;
  gap: 0.8rem;
  margin-bottom: 1rem;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--glass);
  backdrop-filter: blur(16px);
}

.search-field,
.contact-form label {
  display: grid;
  gap: 0.45rem;
  color: var(--muted);
  font-size: 0.86rem;
}

.search-field {
  flex: 1;
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 0.86rem 0.9rem;
  background: rgba(255, 255, 255, 0.055);
  color: var(--text);
}

input::placeholder,
textarea::placeholder {
  color: rgba(185, 174, 202, 0.66);
}

input:focus,
textarea:focus {
  border-color: rgba(215, 181, 109, 0.6);
  outline: none;
  box-shadow: 0 0 0 4px rgba(215, 181, 109, 0.08);
}

.filter-block,
.filter-row {
  display: grid;
  gap: 0.7rem;
  margin-bottom: 1.2rem;
}

.filter-row {
  display: flex;
}

.filter-row--tags {
  opacity: 0.88;
}

.detail-layout {
  grid-template-columns: minmax(0, 1fr) minmax(18rem, 22rem);
  align-items: start;
}

.detail-layout--article {
  grid-template-columns: minmax(0, 48rem) minmax(18rem, 22rem);
  justify-content: center;
}

.detail-main {
  display: grid;
  gap: 1.2rem;
}

.media-stage {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #08050f;
  box-shadow: var(--shadow);
}

.media-stage img,
.media-stage video {
  width: 100%;
  max-height: 44rem;
  object-fit: cover;
}

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

.story-card,
.side-card,
.article-card,
.snapshot-card,
.quote-card {
  padding: 1.2rem;
}

.story-card {
  display: grid;
  gap: 0.75rem;
}

.detail-sidebar {
  position: sticky;
  top: calc(var(--header-height) + 1rem);
  display: grid;
  gap: 1rem;
}

.snapshot-card {
  display: grid;
  gap: 1rem;
}

.snapshot-card div {
  display: grid;
  gap: 0.2rem;
}

.snapshot-card span {
  color: var(--muted);
  font-size: 0.78rem;
}

.snapshot-card strong {
  color: var(--gold-2);
}

.side-card,
.side-card--actions {
  display: grid;
  gap: 0.8rem;
}

.asset-list {
  display: grid;
  gap: 0.7rem;
}

.asset-list a {
  display: grid;
  gap: 0.2rem;
  padding: 0.8rem;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.035);
}

.asset-list a:hover {
  border-color: rgba(215, 181, 109, 0.34);
}

.asset-list span {
  color: var(--muted);
  font-size: 0.84rem;
}

.quote-card {
  color: var(--gold-2);
  font-family: "Cormorant Garamond", serif;
  font-size: 1.55rem;
  line-height: 1.25;
}

.rich-text {
  display: grid;
  gap: 1rem;
}

.rich-text h2,
.rich-text h3 {
  font-family: "Cormorant Garamond", serif;
}

.rich-text a {
  color: var(--gold-2);
  text-decoration: underline;
}

.rich-text ul,
.rich-text ol {
  padding-left: 1.3rem;
}

.article-card {
  min-height: 20rem;
}

.rich-text--article {
  color: var(--text);
  font-size: 1.02rem;
}

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

.form-grid__full {
  grid-column: 1 / -1;
}

.contact-form {
  display: grid;
  gap: 1rem;
  padding: 1.2rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--glass);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.contact-methods {
  display: grid;
  gap: 0.7rem;
  margin-top: 0.8rem;
}

.empty-state {
  padding: 1.5rem;
  text-align: center;
}

.site-footer {
  padding: 3rem 0 2rem;
  border-top: 1px solid var(--line-soft);
  background: rgba(5, 3, 10, 0.72);
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 1.2fr 0.7fr 0.7fr;
  gap: 2rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.footer-brand__logo {
  width: 3.4rem;
  height: 3.4rem;
  border: 1px solid rgba(215, 181, 109, 0.32);
  border-radius: var(--radius);
  object-fit: cover;
  background: #050505;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.28);
}

.footer-copy {
  margin-top: 0.7rem;
  max-width: 36rem;
}

.footer-links,
.footer-social {
  display: grid;
  gap: 0.55rem;
  align-content: start;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 2rem;
  color: var(--muted);
  font-size: 0.86rem;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.lightbox.is-open {
  display: flex;
}

.lightbox__backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(12px);
}

.lightbox__panel {
  position: relative;
  z-index: 1;
  width: min(72rem, 100%);
  max-height: calc(100vh - 2rem);
  padding: 0.8rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.lightbox__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 2;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0.55rem 0.75rem;
  background: rgba(7, 4, 15, 0.78);
  color: var(--text);
  cursor: pointer;
}

.lightbox__media img,
.lightbox__media video {
  max-height: calc(100vh - 8rem);
  object-fit: contain;
  background: #05030a;
}

.lightbox__caption {
  padding: 0.75rem 0.2rem 0;
  color: var(--muted);
}

.reveal,
.will-reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 600ms ease, transform 600ms ease;
}

.reveal.is-visible,
.will-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes royal-shift {
  from {
    background-position: 0 0, 0 0, 0 0;
  }
  to {
    background-position: 0 0, 36px 36px, 0 0;
  }
}

@media (max-width: 1100px) {
  h1 {
    font-size: 4.6rem;
  }

  h2 {
    font-size: 3rem;
  }

  .site-header__actions {
    display: none;
  }

  .project-grid,
  .journal-grid,
  .media-grid,
  .media-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .project-grid--home .project-card:first-child {
    grid-column: span 1;
  }
}

@media (max-width: 920px) {
  .site-header__inner {
    flex-wrap: wrap;
  }

  .nav-toggle {
    display: block;
    margin-left: auto;
  }

  .royal-body .nav-toggle {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
  }

  .site-nav {
    display: none;
    width: 100%;
    margin-left: 0;
    padding-top: 0.75rem;
    border-top: 1px solid var(--line-soft);
  }

  .site-nav.is-open {
    display: grid;
  }

  .site-nav__link {
    justify-content: flex-start;
  }

  .availability-strip {
    grid-template-columns: auto 1fr;
  }

  .availability-strip small {
    grid-column: 2;
    justify-self: start;
  }

  .hero-grid,
  .split-layout,
  .contact-grid,
  .detail-layout,
  .detail-layout--article,
  .page-hero__grid,
  .site-footer__grid {
    grid-template-columns: 1fr;
  }

  .detail-sidebar {
    position: static;
  }

  .hero-section {
    min-height: auto;
  }
}

@media (max-width: 720px) {
  :root {
    --header-height: 74px;
  }

  .shell {
    width: min(calc(100% - 1rem), var(--shell));
  }

  h1 {
    font-size: 3.4rem;
  }

  h2 {
    font-size: 2.5rem;
  }

  .hero-stats,
  .skill-groups,
  .project-grid,
  .journal-grid,
  .media-grid,
  .media-strip,
  .story-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 4rem 0;
  }

  .section-head,
  .archive-toolbar,
  .footer-bottom {
    display: grid;
    align-items: stretch;
  }

  .timeline-item {
    grid-template-columns: 1fr;
  }

  .brand {
    min-width: 0;
  }

  .brand__copy small {
    display: none;
  }
}

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

  .reveal,
  .will-reveal {
    opacity: 1;
    transform: none;
  }
}

.royal-body h1,
.royal-body h2,
.royal-body h3 {
  color: var(--text);
  max-width: 100%;
  overflow-wrap: break-word;
}

.royal-body h1,
.royal-body h2 {
  font-family: "Cormorant Garamond", serif !important;
  font-weight: 700 !important;
  line-height: 0.98 !important;
}

.royal-body h1 {
  max-width: 16ch;
  font-size: 5.8rem !important;
}

.royal-body h2 {
  font-size: 3.55rem !important;
}

.royal-body h3 {
  font-size: 1.1rem !important;
  font-weight: 700 !important;
}

@media (max-width: 1100px) {
  .royal-body h1 {
    font-size: 4.6rem !important;
  }

  .royal-body h2 {
    font-size: 3rem !important;
  }
}

@media (max-width: 720px) {
  .royal-body h1 {
    font-size: 2.85rem !important;
  }

  .royal-body h2 {
    font-size: 2.5rem !important;
  }
}

@media (max-width: 420px) {
  .royal-body h1 {
    font-size: 2.62rem !important;
  }
}
