/*
Theme Name: Joe Nguyen Personal Site
Theme URI: https://meetjoenguyen.com
Author: Joe Nguyen
Description: A modern personal biography and media site for Joe Nguyen.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: joe-nguyen-site
*/

:root {
  --ink: #0b2638;
  --ink-soft: #405c6c;
  --paper: #f3f7f5;
  --paper-deep: #dce9e3;
  --white: #ffffff;
  --rust: #0f7f6b;
  --rust-dark: #075849;
  --highlight: #d8ef67;
  --line: rgba(11, 38, 56, 0.16);
  --background: var(--paper);
  --foreground: var(--ink);
  --card: var(--white);
  --card-foreground: var(--ink);
  --popover: var(--white);
  --popover-foreground: var(--ink);
  --primary: var(--ink);
  --primary-foreground: var(--white);
  --secondary: var(--paper-deep);
  --secondary-foreground: var(--ink);
  --muted: var(--paper-deep);
  --muted-foreground: var(--ink-soft);
  --accent: var(--rust);
  --accent-foreground: var(--white);
  --destructive: #b42318;
  --border: var(--line);
  --input: var(--line);
  --ring: var(--rust);
  --radius: 0.25rem;
}

.dark {
  --background: #071b29;
  --foreground: #f4f8f6;
  --card: #0d3042;
  --card-foreground: #f4f8f6;
  --popover: #0d3042;
  --popover-foreground: #f4f8f6;
  --primary: #f4f8f6;
  --primary-foreground: #071b29;
  --secondary: #143a4a;
  --secondary-foreground: #f4f8f6;
  --muted: #143a4a;
  --muted-foreground: #b8c9d0;
  --accent: #46bca4;
  --accent-foreground: #071b29;
  --border: rgba(244, 248, 246, 0.18);
  --input: rgba(244, 248, 246, 0.2);
  --ring: #46bca4;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
}

body.admin-bar .site-header {
  top: 32px;
}

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

.site-header {
  align-items: center;
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  margin: 0 auto;
  max-width: 1500px;
  min-height: 86px;
  padding: 0 5vw;
}

.wordmark {
  align-items: center;
  display: inline-flex;
  font-size: 0.82rem;
  font-weight: 700;
  gap: 0.8rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.wordmark-mark {
  align-items: center;
  background: var(--ink);
  color: var(--white);
  display: inline-flex;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 0.95rem;
  height: 39px;
  justify-content: center;
  letter-spacing: -0.06em;
  width: 39px;
}

.desktop-nav {
  display: flex;
  font-size: 0.76rem;
  font-weight: 700;
  gap: clamp(1.5rem, 3vw, 3rem);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.mobile-nav {
  display: none;
}

.desktop-nav a,
.header-link,
.text-link {
  transition: color 180ms ease;
}

.desktop-nav a:hover,
.header-link:hover,
.text-link:hover {
  color: var(--rust);
}

.header-link {
  font-size: 0.78rem;
  font-weight: 700;
  justify-self: end;
  letter-spacing: 0.04em;
}

.hero {
  background:
    linear-gradient(135deg, transparent 48%, rgba(15, 127, 107, 0.065)),
    var(--paper);
  display: grid;
  gap: clamp(3rem, 8vw, 8rem);
  grid-template-columns: minmax(0, 1.12fr) minmax(320px, 0.72fr);
  margin: 0 auto;
  max-width: 1500px;
  min-height: calc(100vh - 86px - 116px);
  overflow: hidden;
  padding: clamp(4.5rem, 10vh, 8rem) 5vw clamp(4rem, 8vh, 7rem);
  position: relative;
}

.hero::before {
  background-image: radial-gradient(circle, rgba(11, 38, 56, 0.14) 1px, transparent 1px);
  background-size: 17px 17px;
  content: '';
  height: 140px;
  left: 1.8vw;
  opacity: 0.55;
  position: absolute;
  top: 11%;
  width: 74px;
}

.hero-copy {
  align-self: center;
  max-width: 820px;
  position: relative;
  z-index: 1;
}

.eyebrow {
  align-items: center;
  display: flex;
  font-size: 0.72rem;
  font-weight: 800;
  gap: 0.8rem;
  letter-spacing: 0.17em;
  margin: 0 0 1.75rem;
  text-transform: uppercase;
}

.eyebrow::before {
  background: var(--rust);
  content: '';
  height: 2px;
  width: 38px;
}

h1 {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(3.4rem, 6.8vw, 7.7rem);
  font-weight: 400;
  letter-spacing: -0.06em;
  line-height: 0.93;
  margin: 0;
  max-width: 900px;
}

h1 em {
  color: var(--rust);
  font-weight: 400;
}

.hero-intro {
  color: var(--ink-soft);
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(1.05rem, 1.5vw, 1.34rem);
  line-height: 1.65;
  margin: 2rem 0 0;
  max-width: 660px;
}

.hero-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  margin-top: 2.2rem;
}

.button {
  align-items: center;
  display: inline-flex;
  font-size: 0.76rem;
  font-weight: 800;
  gap: 1.5rem;
  letter-spacing: 0.06em;
  padding: 1rem 1.15rem;
  text-transform: uppercase;
  transition: background 180ms ease, transform 180ms ease;
}

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

.button-primary:hover {
  background: var(--rust-dark);
  transform: translateY(-2px);
}

.text-link {
  border-bottom: 1px solid var(--ink);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  padding-bottom: 0.35rem;
}

.portrait-wrap {
  align-self: center;
  margin: 0;
  max-width: 500px;
  position: relative;
  width: 100%;
}

.portrait-frame {
  aspect-ratio: 4 / 5.1;
  background: #c9d7da;
  box-shadow: 28px 28px 0 var(--paper-deep);
  overflow: hidden;
  position: relative;
}

.portrait-frame::after {
  border: 1px solid rgba(255, 255, 255, 0.6);
  content: '';
  inset: 18px;
  pointer-events: none;
  position: absolute;
}

.portrait {
  height: 100%;
  object-fit: cover;
  object-position: 62% 30%;
  width: 100%;
}

.portrait-accent {
  background: var(--rust);
  bottom: 0;
  height: 18%;
  position: absolute;
  right: 0;
  width: 11px;
}

figcaption {
  display: flex;
  font-size: 0.65rem;
  font-weight: 700;
  justify-content: space-between;
  letter-spacing: 0.12em;
  padding-top: 1.5rem;
  text-transform: uppercase;
}

figcaption span:last-child {
  color: var(--rust);
}

.chapter-strip {
  background: linear-gradient(110deg, var(--ink), #103d4e);
  color: var(--white);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 0 5vw;
}

.chapter-strip > div {
  border-left: 1px solid rgba(255, 255, 255, 0.17);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  min-height: 116px;
  padding: 1.65rem clamp(1rem, 3vw, 3rem);
}

.chapter-strip > div:last-child {
  border-right: 1px solid rgba(255, 255, 255, 0.17);
}

.chapter-year {
  color: var(--highlight);
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 1.55rem;
}

.chapter-strip span:last-child {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  opacity: 0.78;
  text-transform: uppercase;
}

.section-shell {
  display: grid;
  grid-template-columns: 70px minmax(280px, 0.8fr) minmax(420px, 1.25fr);
  margin: 0 auto;
  max-width: 1500px;
  padding: clamp(6rem, 11vw, 10rem) 5vw;
}

.section-number {
  color: var(--rust);
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 1rem;
  padding-top: 0.3rem;
}

.section-heading {
  padding-right: clamp(2rem, 6vw, 7rem);
}

.section-heading .eyebrow {
  margin-bottom: 1.4rem;
}

.section-heading h2,
.now-content h2,
.contact-section h2 {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(2.5rem, 4.2vw, 5rem);
  font-weight: 400;
  letter-spacing: -0.05em;
  line-height: 1.02;
  margin: 0;
}

.about-copy {
  border-left: 1px solid var(--line);
  padding-left: clamp(2rem, 5vw, 5rem);
}

.lead {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(1.45rem, 2vw, 2rem);
  letter-spacing: -0.02em;
  line-height: 1.42;
  margin: 0 0 3rem;
}

.body-columns {
  color: var(--ink-soft);
  display: grid;
  font-size: 1rem;
  gap: 2rem;
  grid-template-columns: 1fr 1fr;
  line-height: 1.75;
}

.body-columns p {
  margin: 0;
}

.personal-note {
  align-items: flex-start;
  border-top: 1px solid var(--line);
  display: flex;
  font-family: Georgia, 'Times New Roman', serif;
  font-style: italic;
  gap: 1rem;
  line-height: 1.55;
  margin-top: 3rem;
  padding-top: 1.5rem;
}

.personal-note span {
  color: var(--rust);
  font-style: normal;
}

.about-socials {
  align-items: center;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem 2rem;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
}

.social-label,
.about-socials a,
.contact-socials a {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.social-label {
  color: var(--ink-soft);
  margin-right: auto;
}

.about-socials a {
  border-bottom: 1px solid var(--line);
  padding-bottom: 0.25rem;
  transition: border-color 180ms ease, color 180ms ease;
}

.about-socials a:hover {
  border-color: var(--rust);
  color: var(--rust);
}

.journey-section {
  background: var(--ink);
  color: var(--white);
}

.journey-intro {
  grid-template-columns: 70px minmax(350px, 1fr) minmax(300px, 0.65fr);
  padding-bottom: clamp(4rem, 7vw, 6rem);
}

.section-number-light {
  color: var(--highlight);
}

.section-heading-light .eyebrow::before,
.eyebrow-light::before {
  background: var(--highlight);
}

.journey-kicker {
  align-self: end;
  border-left: 1px solid rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.72);
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 1.2rem;
  font-style: italic;
  line-height: 1.5;
  margin: 0;
  padding-left: clamp(2rem, 5vw, 5rem);
}

.timeline {
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  display: grid;
  grid-template-columns: repeat(5, 1fr);
}

.timeline-item {
  border-right: 1px solid rgba(255, 255, 255, 0.18);
  min-height: 440px;
  padding: 2rem clamp(1.5rem, 2.6vw, 3rem) 3.5rem;
}

.timeline-item:last-child {
  border-right: 0;
}

.timeline-index {
  align-items: center;
  color: var(--highlight);
  display: flex;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 0.9rem;
  gap: 0.75rem;
}

.timeline-index i {
  background: rgba(255, 255, 255, 0.25);
  display: block;
  height: 1px;
  width: 36px;
}

.timeline-period {
  color: var(--highlight) !important;
  font-size: 0.67rem !important;
  font-weight: 800;
  letter-spacing: 0.14em;
  margin: 4.5rem 0 1.1rem !important;
  text-transform: uppercase;
}

.timeline-item h3,
.service-grid h3 {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(1.55rem, 2vw, 2.25rem);
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 1.12;
  margin: 0 0 1.4rem;
}

.timeline-item > p:last-child {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  line-height: 1.72;
  margin: 0;
}

.service-section {
  background: var(--white);
}

.service-content {
  border-left: 1px solid var(--line);
  padding-left: clamp(2rem, 5vw, 5rem);
}

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

.service-grid article {
  border-top: 1px solid var(--line);
  min-height: 300px;
  padding: 2rem clamp(1.5rem, 3vw, 3rem) 2rem 0;
}

.service-grid article:nth-child(odd) {
  border-right: 1px solid var(--line);
}

.service-grid article:nth-child(even) {
  padding-left: clamp(1.5rem, 3vw, 3rem);
}

.service-icon {
  color: var(--rust);
  display: block;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  margin-bottom: 3.5rem;
}

.service-grid article p {
  color: var(--ink-soft);
  line-height: 1.7;
  margin: 0;
}

.archive-note {
  border-bottom: 1px solid var(--line);
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 0.78rem;
  font-style: italic;
  margin: 0;
  padding: 1.25rem 0;
}

.now-section {
  background: var(--rust);
  color: var(--white);
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  min-height: 720px;
}

.now-photo {
  overflow: hidden;
  position: relative;
}

.now-photo::after {
  background: linear-gradient(90deg, rgba(11, 38, 56, 0.18), rgba(15, 127, 107, 0.28));
  content: '';
  inset: 0;
  position: absolute;
}

.now-photo img {
  filter: grayscale(100%) contrast(0.96);
  height: 100%;
  object-fit: cover;
  object-position: 50% 24%;
  width: 100%;
}

.now-content {
  align-self: center;
  max-width: 850px;
  padding: clamp(5rem, 9vw, 9rem);
}

.now-content h2 {
  font-size: clamp(3rem, 5vw, 6rem);
}

.now-lead {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(1.35rem, 2vw, 1.8rem);
  line-height: 1.48;
  margin: 2.5rem 0 1.5rem;
}

.now-content > p:not(.eyebrow):not(.now-lead) {
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.75;
  max-width: 650px;
}

.button-light {
  background: var(--white);
  color: var(--rust-dark);
  margin-top: 2rem;
}

.button-light:hover {
  background: var(--ink);
  color: var(--white);
  transform: translateY(-2px);
}

.media-section {
  grid-template-columns: 70px minmax(280px, 0.8fr) minmax(420px, 1.25fr);
}

.media-grid {
  border-left: 1px solid var(--line);
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  padding-left: clamp(2rem, 5vw, 5rem);
}

.media-card {
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  min-height: 310px;
  padding: clamp(1.6rem, 2.4vw, 2.5rem);
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.media-card:hover {
  border-color: rgba(15, 127, 107, 0.56);
  box-shadow: 0 18px 46px rgba(11, 38, 56, 0.09);
  transform: translateY(-4px);
}

.media-card-featured {
  background: linear-gradient(120deg, var(--ink), #114358);
  color: var(--white);
  grid-column: 1 / -1;
  min-height: 370px;
}

.media-card-top {
  align-items: baseline;
  display: flex;
  justify-content: space-between;
  margin-bottom: clamp(3rem, 7vw, 6rem);
}

.media-type,
.media-source {
  font-size: 0.67rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.media-type {
  color: var(--rust);
}

.media-title {
  display: block;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(1.55rem, 2.2vw, 2.55rem);
  letter-spacing: -0.035em;
  line-height: 1.08;
  margin-bottom: 1.25rem;
}

.media-source {
  color: var(--ink-soft);
  line-height: 1.45;
}

.media-summary {
  color: var(--ink-soft);
  line-height: 1.65;
  margin: 0 0 2.5rem;
}

.media-card .media-source {
  margin-top: auto;
}

.media-card-featured .media-type {
  color: var(--highlight);
}

.media-card-featured .media-source,
.media-card-featured .media-summary {
  color: rgba(255, 255, 255, 0.72);
}

.media-card-featured .media-title {
  font-size: clamp(2.25rem, 3.7vw, 4.5rem);
  max-width: 880px;
}

.media-all-link {
  align-items: center;
  border: 1px solid var(--ink);
  display: flex;
  font-size: 0.72rem;
  font-weight: 800;
  grid-column: 1 / -1;
  justify-content: space-between;
  letter-spacing: 0.08em;
  padding: 1.25rem 1.5rem;
  text-transform: uppercase;
  transition: background 180ms ease, color 180ms ease;
}

.media-all-link:hover {
  background: var(--ink);
  color: var(--white);
}

.desktop-nav a[aria-current='page'] {
  color: var(--rust);
}

.media-page {
  background: var(--paper);
}

.media-page-hero {
  display: grid;
  gap: clamp(3rem, 8vw, 8rem);
  grid-template-columns: minmax(0, 1.3fr) minmax(300px, 0.55fr);
  margin: 0 auto;
  max-width: 1500px;
  padding: clamp(6rem, 11vw, 10rem) 5vw clamp(5rem, 8vw, 8rem);
}

.media-page-hero h1 {
  font-size: clamp(3.6rem, 7.2vw, 8rem);
}

.media-page-intro {
  align-self: end;
  border-left: 1px solid var(--line);
  color: var(--ink-soft);
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(1.15rem, 1.55vw, 1.45rem);
  line-height: 1.6;
  margin: 0;
  padding-left: clamp(2rem, 4vw, 4rem);
}

.media-page-feature {
  background: var(--ink);
  color: var(--white);
  padding: 0 5vw;
}

.media-page-feature > a {
  display: flex;
  flex-direction: column;
  margin: 0 auto;
  max-width: 1350px;
  min-height: 590px;
  padding: clamp(3rem, 6vw, 6rem) 0;
}

.media-page-feature .media-card-top {
  margin-bottom: auto;
}

.media-page-feature .media-type {
  color: var(--highlight);
}

.media-feature-date,
.media-library-date {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin-bottom: 1rem;
  text-transform: uppercase;
}

.media-feature-date {
  color: rgba(255, 255, 255, 0.6);
}

.media-page-feature h2 {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(3rem, 6vw, 7rem);
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 0.96;
  margin: 0;
  max-width: 1050px;
}

.media-page-feature p {
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.7;
  margin: 2rem 0;
  max-width: 690px;
}

.media-page-feature .media-source {
  color: rgba(255, 255, 255, 0.72);
}

.media-library {
  margin: 0 auto;
  max-width: 1500px;
  padding: clamp(5rem, 9vw, 9rem) 5vw;
}

.media-category {
  border-top: 1px solid var(--line);
  display: grid;
  gap: clamp(2rem, 5vw, 5rem);
  grid-template-columns: minmax(180px, 0.35fr) minmax(0, 1fr);
  padding: 3rem 0 clamp(5rem, 8vw, 8rem);
}

.media-category-heading > span {
  color: var(--rust);
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 0.9rem;
}

.media-category-heading h2 {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(2rem, 3vw, 3.6rem);
  font-weight: 400;
  letter-spacing: -0.04em;
  margin: 1rem 0 0;
}

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

.media-library-card {
  background: var(--white);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  min-height: 390px;
  padding: clamp(1.6rem, 2.5vw, 2.6rem);
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.media-library-card:hover {
  border-color: rgba(15, 127, 107, 0.56);
  box-shadow: 0 18px 46px rgba(11, 38, 56, 0.09);
  transform: translateY(-4px);
}

.media-library-card .media-card-top {
  margin-bottom: 3.5rem;
}

.media-library-date {
  color: var(--ink-soft);
}

.media-library-card h3 {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(1.7rem, 2.4vw, 2.75rem);
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 1.06;
  margin: 0 0 1.25rem;
}

.media-library-card p {
  color: var(--ink-soft);
  line-height: 1.65;
  margin: 0 0 2rem;
}

.media-library-card .media-source {
  margin-top: auto;
}

.media-page-contact {
  background: var(--rust);
  color: var(--white);
  padding: clamp(5rem, 10vw, 9rem) 5vw;
  text-align: center;
}

.media-page-contact .eyebrow {
  justify-content: center;
}

.media-page-contact h2 {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(3rem, 6vw, 6.5rem);
  font-weight: 400;
  letter-spacing: -0.05em;
  margin: 0;
}

.media-page-contact > p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.8);
  margin: 1.5rem auto 2rem;
}

.media-page-contact > a {
  border-bottom: 1px solid rgba(255, 255, 255, 0.65);
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(1.15rem, 2.4vw, 2rem);
  padding-bottom: 0.4rem;
}

.media-page-contact .contact-links {
  align-items: center;
}

.media-arrow {
  font-size: 1.2rem;
  justify-self: end;
}

.contact-section {
  background: var(--ink);
  color: var(--white);
  padding: clamp(6rem, 12vw, 11rem) 5vw;
  text-align: center;
}

.contact-section .eyebrow {
  justify-content: center;
}

.contact-section h2 {
  font-size: clamp(3rem, 6.5vw, 7rem);
  margin: 0 auto;
  max-width: 1000px;
}

.contact-section > p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.68);
  line-height: 1.6;
  margin: 2rem auto;
  max-width: 520px;
}

.contact-email {
  border-bottom: 1px solid rgba(255, 255, 255, 0.55);
  display: inline-block;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(1.15rem, 2.5vw, 2.2rem);
  padding-bottom: 0.45rem;
  transition: color 180ms ease;
}

.contact-email:hover {
  color: var(--highlight);
}

.contact-links {
  align-items: center;
  display: flex;
  flex-direction: column;
  gap: 1.8rem;
}

.contact-socials {
  display: flex;
  gap: 2rem;
}

.contact-socials a {
  border-bottom: 1px solid rgba(255, 255, 255, 0.28);
  padding-bottom: 0.3rem;
  transition: border-color 180ms ease, color 180ms ease;
}

.contact-socials a:hover {
  border-color: var(--highlight);
  color: var(--highlight);
}

footer {
  align-items: center;
  background: #061923;
  color: rgba(255, 255, 255, 0.62);
  display: grid;
  font-size: 0.68rem;
  grid-template-columns: 1fr 2fr 1fr;
  letter-spacing: 0.03em;
  padding: 2.5rem 5vw;
}

.footer-wordmark {
  color: var(--white);
}

.wordmark-mark-light {
  background: var(--white);
  color: var(--ink);
}

footer p {
  justify-self: center;
  margin: 0;
  max-width: 560px;
  text-align: center;
}

footer > a:last-child {
  justify-self: end;
}

@media (max-width: 900px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .desktop-nav {
    display: none;
  }

  .mobile-nav {
    background: var(--ink);
    color: var(--white);
    display: flex;
    font-size: 0.69rem;
    font-weight: 800;
    gap: 1.5rem;
    justify-content: center;
    letter-spacing: 0.08em;
    padding: 0.9rem 5vw;
    text-transform: uppercase;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .portrait-wrap {
    max-width: 620px;
  }

  .chapter-strip {
    grid-template-columns: repeat(2, 1fr);
  }

  .section-shell,
  .journey-intro,
  .media-section {
    grid-template-columns: 48px 1fr;
  }

  .about-copy,
  .service-content,
  .media-grid,
  .journey-kicker {
    grid-column: 2;
    margin-top: 3rem;
  }

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

  .timeline-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
    border-right: 0;
    min-height: auto;
    padding: 2rem 5vw 3.5rem;
  }

  .timeline-period {
    margin-top: 2.5rem !important;
  }

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

  .media-page-hero {
    grid-template-columns: 1fr;
  }

  .media-page-intro {
    max-width: 680px;
  }

  .media-category {
    grid-template-columns: 1fr;
  }

  .now-photo {
    max-height: 580px;
  }

  footer {
    gap: 2rem;
    grid-template-columns: 1fr;
    text-align: center;
  }

  footer p,
  footer > a,
  footer > a:last-child {
    justify-self: center;
  }
}

@media (max-width: 520px) {
  .site-header {
    min-height: 72px;
  }

  .wordmark > span:last-child {
    display: none;
  }

  .hero {
    padding-top: 3.5rem;
  }

  h1 {
    font-size: clamp(3rem, 15vw, 4.6rem);
  }

  .hero-intro {
    font-size: 1rem;
  }

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

  .chapter-strip > div {
    border-bottom: 1px solid rgba(255, 255, 255, 0.17);
    min-height: 94px;
  }

  .section-shell,
  .journey-intro,
  .media-section {
    display: block;
  }

  .section-number {
    margin-bottom: 1.25rem;
  }

  .section-heading {
    padding-right: 0;
  }

  .about-copy,
  .service-content,
  .media-grid,
  .journey-kicker {
    border-left: 0;
    margin-top: 2.5rem;
    padding-left: 0;
  }

  .body-columns,
  .service-grid {
    grid-template-columns: 1fr;
  }

  .service-grid article:nth-child(odd) {
    border-right: 0;
  }

  .service-grid article:nth-child(even) {
    padding-left: 0;
  }

  .service-grid article {
    min-height: auto;
    padding-bottom: 3rem;
  }

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

  .media-card-featured {
    grid-column: auto;
  }

  .media-card,
  .media-card-featured {
    min-height: 285px;
  }

  .media-page-hero {
    padding-top: 4.5rem;
  }

  .media-page-hero h1 {
    font-size: clamp(3rem, 15vw, 4.8rem);
  }

  .media-page-intro {
    border-left: 0;
    padding-left: 0;
  }

  .media-page-feature > a {
    min-height: 520px;
  }

  .media-library-grid {
    grid-template-columns: 1fr;
  }

  .media-library-card {
    min-height: 340px;
  }

  .about-socials {
    align-items: flex-start;
    flex-direction: column;
  }

  .social-label {
    margin-right: 0;
  }

  .now-content {
    padding: 4.5rem 7vw;
  }
}
