/* ── Fonts ── */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;1,400&family=Inter:wght@300;400;500;700&display=swap');

/* ── Tokens ── */
:root {
  --soil-dark:   #2c1a0e;
  --soil-mid:    #5a3620;
  --soil-warm:   #8b5e3c;
  --sand:        #c9a87c;
  --parchment:   #f2ece2;
  --stone:       #9e8e80;
  --text-main:   #1e1209;
  --text-muted:  #7a6555;
  --line:        #d6c9b8;
  --white:       #faf8f4;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  background: var(--white);
  color: var(--text-main);
  font-size: 16px;
  line-height: 1.7;
}

img { display: block; max-width: 100%; }
a  { color: inherit; text-decoration: none; }

/* ── Typography ── */
h1, h2, h3, h4 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 600;
  line-height: 1.2;
}

.section-label {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--soil-warm);
}

/* ── Nav ── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.4rem 3rem;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.nav-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  letter-spacing: 0.04em;
  color: var(--soil-dark);
}

.nav-links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
}

.nav-links a {
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color 0.2s;
}

.nav-links a:hover,
.nav-links a.active { color: var(--soil-dark); }

/* ── Page wrapper ── */
main { padding-top: 72px; }

/* ── Profile intro ── */
.profile-intro-wrap {
  border-bottom: 1px solid var(--line);
}

.profile-intro {
  padding: 4rem 3rem;
  display: flex;
  align-items: center;
  gap: 3.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.profile-photo {
  flex-shrink: 0;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  overflow: hidden;
  background: linear-gradient(135deg, var(--soil-dark), var(--soil-warm));
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.profile-photo-placeholder {
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
}

.profile-text { flex: 1; }

.profile-label {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--soil-warm);
  margin-bottom: 0.6rem;
}

.profile-name {
  font-size: clamp(2rem, 3.5vw, 3rem);
  color: var(--soil-dark);
  margin-bottom: 0.6rem;
}

.profile-tagline {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 1.1rem;
  color: var(--soil-mid);
  margin-bottom: 1rem;
}

.profile-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  max-width: 58ch;
  line-height: 1.85;
}

/* ── Section base ── */
.section {
  padding: 6rem 3rem;
  max-width: 1200px;
  margin: 0 auto;
}

.section-header {
  display: flex;
  align-items: baseline;
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.section-header h2 {
  font-size: 2rem;
  color: var(--soil-dark);
}

.section-divider {
  flex: 1;
  height: 1px;
  background: var(--line);
}

/* ── Home two-column layout ── */
.home-body {
  display: grid;
  grid-template-columns: 260px 1fr;
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 3rem;
  gap: 4rem;
  align-items: start;
}

/* ── Recent work sidebar ── */
.sidebar {
  position: sticky;
  top: 100px;
}

.sidebar-label {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--soil-dark);
  margin-bottom: 0.5rem;
  padding-bottom: 0.4rem;
  border-bottom: 1px solid var(--line);
}

.recent-list {
  list-style: none;
  display: flex;
  flex-direction: column;
}

.recent-item {
  padding: 0.05rem 0;
  border-bottom: 1px solid var(--line);
}

.recent-item-cat {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--sand);
  margin-bottom: 0;
}

.recent-item-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.02rem;
  color: var(--soil-dark);
  line-height: 1.4;
  transition: color 0.2s;
}

.recent-item a:hover .recent-item-title { color: var(--soil-warm); }

.recent-item-year {
  font-size: 0.78rem;
  color: var(--stone);
  margin-top: 0.25rem;
}

.sidebar-more {
  display: inline-block;
  margin-top: 1.2rem;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--soil-warm);
  transition: color 0.2s;
}

.sidebar-more:hover { color: var(--soil-dark); }

/* ── Sidebar blocks (Follow me, About) ── */
.sidebar-block {
  margin-top: 2.2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
}

.sidebar-socials {
  display: flex;
  flex-direction: row;
  gap: 1rem;
  margin-top: 0.9rem;
}

.sidebar-social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--stone);
  transition: color 0.2s;
}

.sidebar-social-icon:hover { color: var(--soil-dark); }

.sidebar-social-icon svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.sidebar-about-row {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1rem;
}

.sidebar-about {
  font-size: 0.95rem;
  color: var(--soil-dark);
  line-height: 1.8;
  flex: 1;
}

.sidebar-about-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 4px;
}

/* ── Featured work (main column) ── */
.main-col {
  background: var(--parchment);
  border-radius: 2px;
  padding: 1.8rem;
}

.main-col .section-header {
  margin-bottom: 1.5rem;
}

/* ── Featured Work ── */
.featured-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}

.featured-item {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--soil-dark);
  cursor: pointer;
  display: block;
  text-decoration: none;
}

/* Home page grid — no dark background, thumbnails fill their frames */
.featured-grid--home .featured-item { background: transparent; }
.featured-grid--home .featured-thumb { object-fit: cover; opacity: 1; }

/* Home hover: warm parchment tint instead of dark scale */
.featured-grid--home .featured-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--white);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}
.featured-grid--home .featured-item:hover::after { opacity: 0.28; }
.featured-grid--home .featured-overlay,
.featured-grid--home .play-btn { z-index: 2; }

.featured-item:first-child,
.featured-item--lead {
  grid-column: span 2;
  aspect-ratio: unset;
  max-height: clamp(260px, 48vh, 440px);
}

.featured-thumb {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.5s ease, opacity 0.3s;
  opacity: 0.75;
}

.featured-item:hover .featured-thumb {
  transform: scale(1.04);
}

.featured-thumb-placeholder {
  width: 100%;
  height: 100%;
  min-height: 220px;
  background: linear-gradient(135deg, var(--soil-dark), var(--soil-mid));
}

.featured-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
  background: linear-gradient(to top, rgba(30,12,5,0.85) 0%, transparent 60%);
}

.featured-category {
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--sand);
  margin-bottom: 0.4rem;
}

.featured-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem;
  color: var(--white);
  line-height: 1.3;
}

.featured-item:first-child .featured-title {
  font-size: 1.45rem;
}

.featured-watch-cta {
  margin-top: 0.5rem;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sand);
  opacity: 0.85;
}

.play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  border: 1.5px solid rgba(255,255,255,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s;
}

.play-btn svg { fill: white; width: 18px; height: 18px; margin-left: 3px; }
.featured-item:hover .play-btn { opacity: 1; }

.featured-text-item { cursor: default; }

.featured-stack-item {
  display: flex !important;
  flex-direction: column;
  gap: 2px;
  aspect-ratio: unset !important;
  overflow: hidden;
  height: clamp(260px, 48vh, 440px);
}
.featured-stack-text {
  flex: 1;
  background: var(--soil-dark);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.75rem;
}
.featured-stack-video {
  flex: 1;
  position: relative;
  overflow: hidden;
  background: var(--soil-dark);
  display: block;
  text-decoration: none;
}
.featured-stack-video img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0.75;
  transition: transform 0.5s ease;
}
.featured-stack-video:hover img { transform: scale(1.04); }
.featured-stack-video:hover .play-btn { opacity: 1; }
/* Reversed stack (video top, description bottom): video larger, text compact */
.featured-stack-item--reversed .featured-stack-video { flex: 3; }
.featured-stack-item--reversed .featured-stack-text  { flex: 1; padding: 1rem 1.5rem; justify-content: center; }
/* Text-card grid items: no aspect-ratio, scroll if content overflows */
.featured-text-item {
  aspect-ratio: unset;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--soil-warm) var(--soil-dark);
}
.featured-text-item::-webkit-scrollbar       { width: 3px; }
.featured-text-item::-webkit-scrollbar-track { background: var(--soil-dark); }
.featured-text-item::-webkit-scrollbar-thumb { background: var(--soil-warm); border-radius: 2px; }

.featured-text-panel {
  width: 100%;
  min-height: 100%;
  padding: 1.8rem;
  background: var(--soil-dark);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 1rem;
}
.featured-text-stat {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--soil-dark);
  background: var(--sand);
  padding: 0.22rem 0.55rem;
  border-radius: 2px;
  align-self: flex-start;
}
.featured-text-date {
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--soil-warm);
}
.featured-text-headline {
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem;
  color: var(--white);
  line-height: 1.4;
}
.featured-text-standfirst {
  font-size: 0.82rem;
  color: var(--sand);
  line-height: 1.6;
}
.featured-text-body {
  font-size: 0.78rem;
  color: var(--stone);
  line-height: 1.6;
}

/* Hide text cards in the regular all-view grid */
.video-grid { display: none !important; }
.video-grid .text-card,
.video-grid .stack-card { display: none; }

/* ── Experience ── */
.experience-list { display: flex; flex-direction: column; gap: 0; }

.experience-item {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 2rem;
  padding: 2rem 0;
  border-bottom: 1px solid var(--line);
}

.experience-item:first-child { border-top: 1px solid var(--line); }

.exp-period {
  font-size: 0.8rem;
  color: var(--stone);
  letter-spacing: 0.05em;
  padding-top: 0.2rem;
}

.exp-role {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  color: var(--soil-dark);
  margin-bottom: 0.3rem;
}

.exp-org {
  font-size: 0.85rem;
  color: var(--soil-warm);
  font-weight: 400;
  margin-bottom: 0.6rem;
}

.exp-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  max-width: 60ch;
}

/* ── Videos page ── */
.page-hero {
  background: var(--soil-dark);
  padding: 3rem 3rem 2rem;
  text-align: center;
}

.page-hero h1 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  color: var(--parchment);
  margin-bottom: 0.8rem;
}

.page-hero p {
  color: var(--stone);
  font-size: 0.95rem;
}

/* Filter tabs */
.filter-bar {
  display: flex;
  gap: 0;
  border-bottom: 1px solid var(--line);
  padding: 0 3rem;
  overflow-x: auto;
  background: var(--white);
  position: sticky;
  top: 72px;
  z-index: 50;
}

.filter-btn {
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 1.1rem 1.4rem;
  border: none;
  background: none;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  white-space: nowrap;
  transition: color 0.2s, border-color 0.2s;
}

.filter-btn:hover { color: var(--soil-dark); }
.filter-btn.active {
  color: var(--soil-dark);
  border-bottom-color: var(--soil-warm);
}

.featured-section-label {
  grid-column: 1 / -1;
  padding: 2rem 0 0.5rem;
  margin-top: 1rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--soil-warm);
  border-top: 1px solid var(--line);
}

/* Video grid */
.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 8px;
  padding: 8px 4rem;
  background: var(--white);
}

.video-card {
  background: var(--parchment);
  position: relative;
  overflow: hidden;
  display: block;
  text-decoration: none;
  color: inherit;
}

.video-card-thumb-wrap {
  width: 100%;
  aspect-ratio: 16/9;
  background: var(--parchment);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.video-card-thumb {
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0.85;
  transition: opacity 0.3s, transform 0.4s;
}

.video-card-thumb.landscape {
  object-fit: cover;
}

.video-card:hover .video-card-thumb {
  opacity: 0.65;
  transform: scale(1.02);
}

.video-card-thumb-placeholder {
  width: 100%;
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, var(--soil-dark), var(--soil-mid));
}

.video-card-info {
  padding: 1.2rem 1.4rem 1.4rem;
  background: var(--white);
}

.video-card-cat {
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--soil-warm);
  margin-bottom: 0.4rem;
}

.video-card-title {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  color: var(--soil-dark);
  line-height: 1.35;
  margin-bottom: 0.5rem;
}

.video-card-meta {
  font-size: 0.78rem;
  color: var(--stone);
}

/* Modal */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(20,10,4,0.92);
  z-index: 200;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.modal-overlay.open { display: flex; }

.modal-inner {
  width: 100%;
  max-width: 900px;
  position: relative;
}

.modal-close {
  position: absolute;
  top: -2.5rem;
  right: 0;
  background: none;
  border: none;
  color: var(--stone);
  font-size: 1.5rem;
  cursor: pointer;
  line-height: 1;
}

.modal-video,
#modalVideoWrap iframe,
#modalVideoWrap video {
  width: 100%;
  aspect-ratio: 16/9;
  background: #000;
  border: none;
  display: block;
}

.modal-caption {
  margin-top: 1rem;
  color: var(--sand);
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 0.95rem;
}

/* ── About page ── */
.about-wrap {
  max-width: 820px;
  margin: 0 auto;
  padding: 6rem 3rem;
}

.about-wrap h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--soil-dark);
  margin-bottom: 2rem;
}

.about-wrap p {
  font-size: 1.05rem;
  color: var(--soil-dark);
  margin-bottom: 0.8rem;
  max-width: 65ch;
  line-height: 1.6;
}

.about-facts {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.about-fact {
  display: flex;
  gap: 2rem;
  align-items: baseline;
}

.about-fact-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--soil-warm);
  min-width: 90px;
}

.about-fact-value {
  font-size: 0.95rem;
  color: var(--soil-dark);
}

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

.about-logo {
  display: block;
  height: 48px;
  max-height: 48px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
  opacity: 0.35;
  transition: opacity 0.25s ease;
}

.about-logo:hover {
  opacity: 1;
}

.about-logo--sky {
  height: 33px;
  max-height: 33px;
}

/* ── Map zoom animation ── */
.map-zoom-wrap {
  margin: 2rem 0 2.5rem;
}

.map-zoom-frame {
  position: relative;
  width: 100%;
  max-width: 380px;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 3px;
  background: #0d1117;
}

.map-zoom-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.06);
  transition: opacity 1.2s ease, transform 5s ease;
}

.map-zoom-img.active {
  opacity: 1;
  transform: scale(1.0);
}

.map-zoom-label {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  background: rgba(10, 6, 3, 0.72);
  color: var(--sand);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 0.3rem 0.65rem;
  border-radius: 2px;
  backdrop-filter: blur(4px);
}

.map-zoom-dots {
  position: absolute;
  bottom: 1rem;
  right: 1rem;
  display: flex;
  gap: 0.4rem;
  align-items: center;
}

.map-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background 0.3s, transform 0.3s;
}

.map-dot.active {
  background: var(--sand);
  transform: scale(1.3);
}

.about-logo--ul {
  height: 56px;
  max-height: 56px;
}

.about-logo--bjtc {
  height: 55px;
  max-height: 55px;
}

.share-bar {
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
}

.share-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--soil-dark);
  margin-bottom: 1rem;
}

.share-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.share-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.5rem 1rem;
  border: 1.5px solid var(--line);
  border-radius: 6px;
  background: var(--white);
  color: var(--soil-dark);
  font-size: 0.85rem;
  font-family: inherit;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  transition: border-color 0.2s, background 0.2s;
}

.share-btn:hover {
  border-color: var(--soil-warm);
  background: var(--parchment);
}

.share-btn svg {
  width: 15px;
  height: 15px;
  fill: currentColor;
  flex-shrink: 0;
}

/* ── Contact page ── */
.contact-wrap {
  max-width: 560px;
  margin: 0 auto;
  padding: 6rem 3rem;
}

.contact-wrap h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--soil-dark);
  margin-bottom: 0.5rem;
}

.contact-sub {
  color: var(--text-muted);
  margin-bottom: 3rem;
  font-size: 0.95rem;
}

.contact-form { display: flex; flex-direction: column; gap: 1.4rem; }

.form-group { display: flex; flex-direction: column; gap: 0.5rem; }

.form-group label {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--soil-warm);
}

.form-group input,
.form-group textarea {
  background: none;
  border: none;
  border-bottom: 1px solid var(--line);
  padding: 0.6rem 0;
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  color: var(--text-main);
  outline: none;
  transition: border-color 0.2s;
  resize: none;
}

.form-group input:focus,
.form-group textarea:focus { border-bottom-color: var(--soil-warm); }

.btn-submit {
  align-self: flex-start;
  margin-top: 0.5rem;
  padding: 0.75rem 2.2rem;
  background: var(--soil-dark);
  color: var(--parchment);
  border: none;
  font-family: 'Inter', sans-serif;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s;
}

.btn-submit:hover { background: var(--soil-mid); }

/* ── Footer ── */
footer {
  border-top: 1px solid var(--line);
  padding: 2.5rem 3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-name {
  font-family: 'Playfair Display', serif;
  color: var(--soil-dark);
  font-size: 0.95rem;
}

.footer-right {
  display: flex;
  align-items: center;
  gap: 1.8rem;
}

.footer-copy {
  font-size: 0.78rem;
  color: var(--stone);
}

.social-link {
  display: flex;
  align-items: center;
  color: var(--stone);
  transition: color 0.2s;
}

.social-link:hover { color: var(--soil-dark); }
.social-link svg { width: 17px; height: 17px; fill: currentColor; }

/* ── Contact social ── */
.contact-social {
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.contact-social span {
  font-size: 0.78rem;
  color: var(--stone);
  letter-spacing: 0.05em;
}

.title-mobile { display: none; }

/* ── Responsive ── */
@media (max-width: 768px) {
  .title-desktop { display: none; }
  .title-mobile  { display: inline; }

  /* ── Nav ── */
  nav { padding: 1rem 1.2rem; }
  .nav-links { gap: 1.2rem; }
  .nav-links a { font-size: 0.82rem; }

  /* ── Home: profile ── */
  .profile-intro-wrap { padding: 0 1.2rem; }
  .profile-intro { flex-direction: column; text-align: center; gap: 1.5rem; padding: 2rem 0; }
  .profile-desc { max-width: 100%; }
  .profile-name { font-size: clamp(1.8rem, 7vw, 2.4rem); }

  /* ── Home: body layout ── */
  .home-body { grid-template-columns: 1fr; padding: 1.5rem 1.2rem; gap: 2rem; }
  .sidebar { position: static; }

  /* ── Work page: hero + filter ── */
  .page-hero { padding: 1.8rem 1.2rem 1.2rem; }
  .filter-bar { padding: 0 1.2rem; }
  .filter-btn { font-size: 0.72rem; padding: 0.9rem 1rem; }

  /* ── Dynamic featured section ── */
  #dynamicFeaturedSection { padding: 4px 0 8px !important; }

  /* ── Featured grid: single column ── */
  .featured-grid { grid-template-columns: 1fr; }
  .featured-item:first-child,
  .featured-item--lead { grid-column: span 1 !important; max-height: clamp(200px, 56vw, 320px); }
  .featured-item:first-child .featured-title { font-size: 1.05rem; }

  /* ── Featured text + stack items ── */
  .featured-text-item { min-height: 160px; }
  .featured-stack-item { height: auto !important; }
  .featured-stack-item .featured-stack-video { height: 200px; flex: none; }
  .featured-stack-item .featured-stack-text  { flex: none; min-height: 110px; }
  .featured-stack-item--reversed .featured-stack-video { flex: none; height: 220px; }

  /* ── Section labels ── */
  .featured-section-label { padding: 0.8rem 1.2rem 0.6rem; }

  /* ── General grid / section ── */
  .section { padding: 4rem 1.2rem; }
  .experience-item { grid-template-columns: 1fr; gap: 0.5rem; }
  .video-grid { grid-template-columns: 1fr; }

  /* ── Modal ── */
  .modal-overlay { padding: 1rem; }
  .modal-close { font-size: 1.2rem; top: -2rem; }

  /* ── Filter bar scrolling ── */
  .filter-bar { -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .filter-bar::-webkit-scrollbar { display: none; }

  /* ── Footer ── */
  footer { flex-direction: column; gap: 0.5rem; text-align: center; }

  /* ── About page ── */
  .about-wrap { padding: 2rem 0 2rem; order: -1; }
  .sidebar-block--bio { display: none; }
  .about-wrap h1 { font-size: clamp(1.8rem, 7vw, 2.4rem); margin-bottom: 1.2rem; }
  .about-wrap p { font-size: 0.95rem; max-width: 100%; }
  .about-logos { gap: 1.2rem; flex-wrap: wrap; }
  .about-logo { height: 36px; max-height: 36px; }
  .about-logo--sky { height: 28px; max-height: 28px; }
  .share-btns { gap: 0.5rem; }
  .share-btn { font-size: 0.78rem; padding: 0.45rem 0.8rem; }
}
