
/* ── TOKENS ──────────────────────────────────────────── */
:root {
  --bg:          #F2EDE3;
  --bg-alt:      #EAE2D4;
  --bg-dark:     #19170F;
  --stone:       #C8BAA6;
  --stone-mid:   #9A8E80;
  --charcoal:    #28241B;
  --warm-gray:   #48413A;
  --accent:      #C4622D;
  --accent-glow: rgba(196, 98, 45, 0.13);
  --glass:       rgba(255, 245, 228, 0.06);
  --glass-border:rgba(255, 235, 200, 0.11);
  --serif:  'Libre Baskerville', Georgia, serif;
  --sans:   'Source Sans 3', system-ui, sans-serif;
}

/* ── RESET ───────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--charcoal);
  line-height: 1.6;
  overflow-x: hidden;
}
img   { display: block; max-width: 100%; }
a     { color: inherit; text-decoration: none; }
ul    { list-style: none; }

/* ── NAVIGATION ──────────────────────────────────────── */
#nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.75rem 3.5rem;
  transition: background 0.5s ease, padding 0.5s ease, border-color 0.5s ease;
  border-bottom: 1px solid transparent;
}
#nav.scrolled {
  background: rgba(242, 237, 227, 0.93);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 1rem 3.5rem;
  border-bottom-color: var(--stone);
}
.nav-logo {
  font-family: var(--serif);
  font-size: 1.1rem;
  font-weight: 400;
  letter-spacing: 0.18em;
  color: var(--charcoal);
  transition: color 0.5s;
}
.nav-links { display: flex; gap: 2.5rem; }
.nav-links a {
  font-size: 0.82rem;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(40, 36, 27, 0.72);
  transition: color 0.3s;
}
.nav-links a:hover { color: var(--charcoal); }

/* ── HERO ────────────────────────────────────────────── */
#hero {
  position: relative;
  height: 88vh;
  min-height: 560px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--bg);
}

/* parallax wrapper */
.hero-bg {
  position: absolute;
  inset: -10%;
  z-index: 0;
  pointer-events: none;
}

/* ceramic orbs */
.orb {
  position: absolute;
  border-radius: 50%;
}
.orb-1 {
  width: 900px; height: 900px;
  top: -260px; right: -140px;
  background: radial-gradient(circle at 38% 38%,
    rgba(170, 88, 28, 0.10) 0%,
    rgba(110, 58, 18, 0.04) 45%,
    transparent 70%);
  filter: blur(90px);
}
.orb-2 {
  width: 520px; height: 520px;
  bottom: -80px; left: 2%;
  background: radial-gradient(circle,
    rgba(140, 74, 20, 0.07) 0%,
    transparent 68%);
  filter: blur(70px);
}
.orb-3 {
  width: 320px; height: 320px;
  top: 38%; left: 32%;
  background: radial-gradient(circle,
    rgba(196, 98, 45, 0.06) 0%,
    transparent 70%);
  filter: blur(50px);
}

/* ceramic rings */
.ring {
  position: absolute;
  border-radius: 50%;
}
.ring-1 {
  width: 560px; height: 560px;
  top: 50%; right: 6%;
  transform: translateY(-50%);
  border: 1px solid rgba(160, 110, 70, 0.14);
  filter: blur(0.5px);
}
.ring-2 {
  width: 310px; height: 310px;
  top: 12%; right: 22%;
  border: 1px solid rgba(160, 110, 70, 0.09);
}
.ring-3 {
  width: 760px; height: 760px;
  top: 50%; right: 1%;
  transform: translateY(-50%);
  border: 1px solid rgba(160, 110, 70, 0.05);
}

/* glass panels */
.glass-panel {
  position: absolute;
  border: 1px solid rgba(160, 130, 100, 0.14);
  background: rgba(200, 180, 155, 0.06);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.gp-1 { width: 240px; height: 360px; top: 14%; right: 11%; }
.gp-2 { width: 140px; height: 200px; bottom: 16%; right: 5.5%; border-color: rgba(160,130,100,0.08); }
.gp-3 { width: 90px;  height: 54px;  top: 22%;  left: 9%;    border-color: rgba(160,130,100,0.09); }
.gp-4 { width: 60px;  height: 120px; bottom: 28%; left: 16%;  border-color: rgba(160,130,100,0.07); }

/* hero content */
.hero-inner {
  position: relative;
  z-index: 1;
  padding: 0 3.5rem;
  width: 100%;
  max-width: 1300px;
  margin: 0 auto;
}
.hero-eyebrow {
  font-size: 0.65rem;
  font-weight: 400;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(40, 36, 27, 0.6);
  margin-bottom: 2rem;
}
.hero-name {
  font-family: var(--serif);
  font-size: clamp(5rem, 10.5vw, 11.5rem);
  font-weight: 300;
  line-height: 1.05;
  color: var(--charcoal);
  letter-spacing: -0.015em;
}
.hero-name .dim { color: rgba(40, 36, 27, 0.32); }
.hero-rule {
  width: 64px;
  height: 1px;
  background: var(--accent);
  margin: 2.5rem 0;
}
.hero-subtitle {
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(40, 36, 27, 0.6);
}
.scroll-cue {
  position: absolute;
  bottom: 2.75rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  z-index: 1;
}
.scroll-cue span {
  font-size: 0.6rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--stone-mid);
}
.scroll-line {
  width: 1px;
  height: 44px;
  background: linear-gradient(to bottom, var(--stone), transparent);
  animation: pulse 2.2s ease infinite;
}
@keyframes pulse {
  0%,100% { opacity: 0.35; transform: scaleY(1);   }
  50%      { opacity: 1;    transform: scaleY(1.15); }
}

/* ── LAYOUT HELPERS ─────────────────────────────────── */
.wrap {
  max-width: 1360px;
  margin: 0 auto;
  padding: 5rem 3.5rem;
}
.eyebrow {
  font-size: 0.65rem;
  font-weight: 400;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.1rem;
}

/* ── ABOUT ───────────────────────────────────────────── */
#par-mani {
  background: var(--bg);
  border-top: 1px solid var(--stone);
}
.about-grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 5rem;
  align-items: start;
}
.about-photo img {
  width: 100%;
  height: 460px;
  object-fit: cover;
  object-position: center top;
  filter: grayscale(12%);
}
.about-photo figcaption {
  margin-top: 1.2rem;
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--stone-mid);
}
.about-body h2 {
  font-family: var(--serif);
  font-size: clamp(2.2rem, 4vw, 3.8rem);
  font-weight: 300;
  line-height: 1.08;
  margin-bottom: 2.5rem;
}
.about-body p {
  font-size: 0.92rem;
  font-weight: 400;
  line-height: 1.85;
  color: var(--warm-gray);
  max-width: 560px;
}
.about-body p + p { margin-top: 1.6rem; }
.about-meta {
  margin-top: 3.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--stone);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem 3rem;
}
.about-meta dt {
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--stone-mid);
  margin-bottom: 0.4rem;
}
.about-meta dd {
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 300;
  color: var(--charcoal);
}

/* ── CV DOWNLOAD BUTTON ─────────────────────────────── */
.cv-download {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: 2.5rem;
  padding: 0.75rem 1.6rem;
  border: 1px solid var(--accent);
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  text-decoration: none;
  transition: background 0.3s ease, color 0.3s ease;
}
.cv-download:hover {
  background: var(--accent);
  color: #fff;
}
.cv-icon {
  font-size: 1rem;
  line-height: 1;
}

/* ── WORKS ───────────────────────────────────────────── */
#darbi {
  background: var(--bg-alt);
  border-top: 1px solid var(--stone);
}
.works-masthead {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding-bottom: 3rem;
  margin-bottom: 5rem;
  border-bottom: 1px solid var(--stone);
}
.works-masthead h2 {
  font-family: var(--serif);
  font-size: clamp(2.5rem, 5vw, 4.2rem);
  font-weight: 300;
}
.works-masthead .range {
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--stone-mid);
}

/* series block */
.series {
  margin-bottom: 4.5rem;
  padding-bottom: 4.5rem;
  border-bottom: 1px solid rgba(200, 186, 166, 0.35);
}
.series:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}
.series-head {
  display: grid;
  grid-template-columns: 5.5rem 1fr auto;
  align-items: start;
  gap: 0 2rem;
  margin-bottom: 2.8rem;
}
.series-num {
  font-family: var(--serif);
  font-size: 4.5rem;
  font-weight: 300;
  line-height: 1;
  color: rgba(80, 62, 42, 0.65);
  user-select: none;
}
.series-title {
  font-family: var(--serif);
  font-size: clamp(1.55rem, 2.8vw, 2.4rem);
  font-weight: 500;
  font-style: normal;
  line-height: 1.1;
  color: var(--charcoal);
}
.series-year {
  font-size: 0.67rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(40, 36, 27, 0.6);
  margin-top: 0.5rem;
}
.series-medium {
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  padding-top: 0.5rem;
  text-align: right;
  white-space: nowrap;
}
.series-desc {
  max-width: 820px;
  margin-left: calc(5.5rem + 2rem);
  margin-bottom: 3.5rem;
  font-size: 0.9rem;
  font-weight: 400;
  line-height: 1.9;
  color: var(--warm-gray);
}

/* image grid */
.sgrid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  background: var(--stone);
}
.sgrid.four-col { grid-template-columns: repeat(4, 1fr); }

.gc {
  background: var(--bg-alt);
  overflow: hidden;
  position: relative;
}
.gc img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.65s cubic-bezier(0.25,0.46,0.45,0.94),
              filter 0.45s ease;
  filter: saturate(0.88);
}
.gc:hover img {
  transform: scale(1.04);
  filter: saturate(1.02);
}
/* spanning cards */
.gc.span2        { grid-column: span 2; }
.gc.span2 img    { height: 240px; }
.gc.span3        { grid-column: 1 / -1; }
.gc.span3 img    { height: 340px; object-position: center 40%; }
/* porcelain: fill mode */
.gc.porcelain img {
  height: 300px;
  object-fit: cover;
}

/* ── SERIES PREVIEW STRIP (homepage) ─────────────────── */
.preview-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--stone);
}
.preview-strip.four-col { grid-template-columns: repeat(4, 1fr); }
.preview-strip .gc img  { height: 160px; }
.preview-strip .gc.porcelain img {
  height: 160px;
  object-fit: cover;
}

/* ── SERIES CTA (homepage) ────────────────────────────── */
.series-cta-row {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  margin-top: 2rem;
}
.series-cta {
  font-size: 0.9rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  position: relative;
  padding-bottom: 3px;
}
.series-cta::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s;
}
.series-cta:hover::after { transform: scaleX(1); }

/* ── SERIES PAGE HERO OVERRIDE ─────────────────────────── */
.series-hero {
  height: 65vh;
  min-height: 420px;
  align-items: flex-end;
  padding-bottom: 4.5rem;
}
.series-hero .hero-name {
  font-size: clamp(3.5rem, 7.5vw, 8.5rem);
}

.back-link {
  display: inline-block;
  font-size: 0.62rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(40, 36, 27, 0.6);
  margin-bottom: 2.5rem;
  transition: color 0.3s;
}
.back-link:hover { color: var(--charcoal); }

/* ── SERIES PAGE BODY ─────────────────────────────────── */
.series-page-body {
  background: var(--bg-alt);
  border-top: 1px solid var(--stone);
}
.series-page-body .series {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}
.series-page-body .series-desc {
  margin-left: 0;
}

/* ── DESCRIPTION CREDIT ──────────────────────────────── */
.desc-credit {
  max-width: 820px;
  margin-left: calc(5.5rem + 2rem);
  margin-top: -2rem;
  margin-bottom: 3.5rem;
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(40, 36, 27, 0.55);
}
.series-page-body .desc-credit {
  margin-left: 0;
}

/* ── SERIES FOOTER NAV ────────────────────────────────── */
.series-footer-nav {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 1rem;
  padding-top: 3.5rem;
  margin-top: 5rem;
  border-top: 1px solid var(--stone);
  align-items: stretch;
}
.sfn-link {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.55rem;
  padding: 2rem 2.2rem;
  border: 1px solid var(--stone);
  background: var(--bg);
  transition: border-color 0.3s ease, background 0.3s ease;
}
.sfn-link:hover {
  border-color: var(--accent);
  background: rgba(196, 98, 45, 0.04);
}
.sfn-link.right { text-align: right; }
.sfn-center {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1.8rem;
  border: 1px solid var(--stone);
  background: var(--bg);
  transition: border-color 0.3s ease;
}
.sfn-center:hover { border-color: var(--stone-mid); }
.sfn-label {
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(40, 36, 27, 0.6);
}
.sfn-title {
  font-family: var(--serif);
  font-size: 1.4rem;
  font-weight: 400;
  line-height: 1.15;
  color: var(--charcoal);
  transition: color 0.3s;
}
.sfn-link:hover .sfn-title { color: var(--accent); }
.sfn-all {
  font-family: var(--serif);
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--stone-mid);
  transition: color 0.3s;
}
.sfn-all:hover { color: var(--charcoal); }

/* ── CONTACT ─────────────────────────────────────────── */
#kontakts {
  background: var(--bg-alt);
  border-top: 1px solid var(--stone);
  position: relative;
  overflow: hidden;
}
.kontakts-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.k-orb {
  position: absolute;
  border-radius: 50%;
}
.k-orb-1 {
  width: 700px; height: 700px;
  top: -260px; left: -160px;
  background: radial-gradient(circle,
    rgba(196,98,45,0.1) 0%, transparent 68%);
  filter: blur(70px);
}
.k-orb-2 {
  width: 400px; height: 400px;
  bottom: -120px; right: 8%;
  background: radial-gradient(circle,
    rgba(160,80,30,0.08) 0%, transparent 70%);
  filter: blur(60px);
}
.k-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(210,130,60,0.09);
}
.k-ring-1 {
  width: 500px; height: 500px;
  top: 50%; left: -100px;
  transform: translateY(-50%);
}
.kontakts-inner {
  position: relative;
  z-index: 1;
  animation: kontakts-fadein 0.8s cubic-bezier(0.22,1,0.36,1) 1s both;
}
@keyframes kontakts-fadein {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
.kontakts-inner h2 {
  font-family: var(--serif);
  font-size: clamp(3rem, 7vw, 7rem);
  font-weight: 300;
  line-height: 0.92;
  color: var(--charcoal);
  margin-bottom: 1rem;
}
.kontakts-inner h2 em {
  font-style: normal;
  color: rgba(40,36,27,0.3);
}
.k-rule {
  width: 56px;
  height: 1px;
  background: var(--accent);
  margin: 3rem 0;
}
.k-email {
  display: block;
  font-family: var(--serif);
  font-size: clamp(1.1rem, 2.2vw, 1.85rem);
  font-weight: 300;
  color: var(--warm-gray);
  letter-spacing: 0.02em;
  margin-bottom: 0.4rem;
  transition: color 0.3s;
}
.k-email:hover { color: var(--charcoal); }
.k-phone {
  display: block;
  font-family: var(--serif);
  font-size: clamp(0.95rem, 1.7vw, 1.45rem);
  font-weight: 300;
  color: var(--warm-gray);
  letter-spacing: 0.04em;
  margin-bottom: 3.5rem;
  transition: color 0.3s;
}
.k-phone:hover { color: var(--charcoal); }
.k-links { display: flex; gap: 2rem; align-items: center; }
.k-link {
  font-size: 0.84rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--stone-mid);
  transition: color 0.3s;
  position: relative;
  padding-bottom: 3px;
}
.k-link::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s;
}
.k-link:hover { color: var(--charcoal); }
.k-link svg { display: block; pointer-events: none; }
.k-link:hover::after { transform: scaleX(1); }

/* ── FOOTER ──────────────────────────────────────────── */
footer {
  background: var(--bg-alt);
  border-top: 1px solid var(--stone);
  padding: 2.2rem 3.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
footer span {
  font-size: 0.67rem;
  letter-spacing: 0.12em;
  color: var(--stone-mid);
}

/* ── LIGHTBOX ────────────────────────────────────────── */
.lb {
  position: fixed;
  inset: 0;
  z-index: 900;
  background: rgba(25, 23, 15, 0.97);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.lb.open {
  opacity: 1;
  pointer-events: all;
}
.lb-img {
  max-width: 88vw;
  max-height: 86vh;
  object-fit: contain;
  display: block;
  transition: opacity 0.22s ease;
  user-select: none;
}
.lb-img.fade { opacity: 0; }
.lb-close {
  position: absolute;
  top: 1.4rem;
  right: 1.8rem;
  background: none;
  border: none;
  font-family: var(--sans);
  font-size: 2rem;
  font-weight: 300;
  line-height: 1;
  color: rgba(200, 186, 166, 0.7);
  cursor: pointer;
  transition: color 0.3s;
  padding: 0.4rem;
}
.lb-close:hover { color: var(--stone); }
.lb-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: 1px solid rgba(200, 186, 166, 0.18);
  color: rgba(200, 186, 166, 0.5);
  width: 3rem;
  height: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: border-color 0.3s, color 0.3s;
  font-size: 1rem;
  padding: 0;
}
.lb-btn:hover {
  border-color: rgba(200, 186, 166, 0.45);
  color: var(--stone);
}
.lb-prev { left: 1.5rem; }
.lb-next { right: 1.5rem; }
.lb-counter {
  position: absolute;
  bottom: 1.8rem;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--sans);
  font-size: 0.58rem;
  font-weight: 300;
  letter-spacing: 0.22em;
  color: rgba(200, 186, 166, 0.35);
  pointer-events: none;
  white-space: nowrap;
}
.gc img { cursor: zoom-in; }

/* ── IMAGE FILENAME HOVER CAPTION ────────────────────── */
.img-name {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 0.55rem 0.8rem;
  background: linear-gradient(transparent, rgba(22, 20, 14, 0.82));
  color: rgba(220, 210, 195, 0.92);
  font-family: var(--sans);
  font-size: 0.62rem;
  letter-spacing: 0.09em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transform: translateY(100%);
  transition: transform 0.28s ease;
  pointer-events: none;
}
.gc:hover .img-name { transform: translateY(0); }
.romances-grid .img-name {
  padding: 4rem 0.8rem 0.55rem;
  background: linear-gradient(transparent, rgba(6, 4, 2, 1) 70%);
}

/* ── LIGHTBOX FILENAME ────────────────────────────────── */
.lb-caption {
  position: absolute;
  bottom: 3.8rem;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--sans);
  font-size: 0.62rem;
  letter-spacing: 0.13em;
  color: rgba(200, 186, 166, 0.5);
  pointer-events: none;
  white-space: nowrap;
}
@media (max-width: 640px) {
  .lb-img {
    max-height: 72vh;
    max-width: 96vw;
  }
  .lb-caption {
    bottom: 0;
    left: 0;
    right: 0;
    transform: none;
    text-align: center;
    white-space: normal;
    padding: 0.55rem 1.2rem 0.9rem;
    background: rgba(12, 10, 6, 0.88);
    font-size: 0.6rem;
    color: rgba(200, 186, 166, 0.8);
    letter-spacing: 0.08em;
  }
  .lb-counter {
    bottom: 3.2rem;
  }
}

/* ── REVEAL ANIMATION ────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 1s cubic-bezier(0.22,1,0.36,1),
              transform 1s cubic-bezier(0.22,1,0.36,1);
}
.reveal.in { opacity: 1; transform: translateY(0); }
.d1 { transition-delay: 0.08s; }
.d2 { transition-delay: 0.18s; }
.d3 { transition-delay: 0.28s; }
.d4 { transition-delay: 0.38s; }

/* ── RESPONSIVE ──────────────────────────────────────── */
@media (max-width: 1100px) {
  .about-grid { grid-template-columns: 1fr; gap: 3rem; }
  .about-photo img { height: 380px; }
}
@media (max-width: 900px) {
  .wrap { padding: 4rem 2rem; }
  #nav  { padding: 1.25rem 2rem; }
  #nav.scrolled { padding: 0.9rem 2rem; }
  .hero-inner { padding: 0 2rem; }
  .sgrid        { grid-template-columns: repeat(3, 1fr); }
  .sgrid.four-col { grid-template-columns: repeat(2, 1fr); }
  .gc.span2  { grid-column: span 1; }
  .gc.span2 img { height: 200px; }
  .gc.span3  { grid-column: span 3; }
  .gc.span3 img { height: 260px; }
  .series-head { grid-template-columns: 4rem 1fr; }
  .series-medium { display: none; }
  .series-desc { margin-left: calc(4rem + 2rem); }
  .desc-credit  { margin-left: calc(4rem + 2rem); }
  .works-masthead { flex-direction: column; gap: 0.6rem; }
  footer { flex-direction: column; gap: 1rem; text-align: center; }
  .series-footer-nav { grid-template-columns: 1fr 1fr; }
  .sfn-center { grid-column: 1 / -1; order: 3; }
  .sfn-link.right { text-align: left; }
  .series-page-body .series-desc { margin-left: 0; }
}
@media (max-width: 560px) {
  .sgrid        { grid-template-columns: repeat(2, 1fr); }
  .sgrid.four-col { grid-template-columns: 1fr 1fr; }
  .gc.span3 { grid-column: span 2; }
  .gc.span3 img { height: 220px; }
  .nav-links { display: none; }
  .series-desc  { margin-left: 0; }
  .desc-credit  { margin-left: 0; }
  .preview-strip { grid-template-columns: repeat(2, 1fr); }
  .preview-strip.four-col { grid-template-columns: repeat(2, 1fr); }
  .series-footer-nav { grid-template-columns: 1fr; }
  .sfn-center { grid-column: auto; order: 3; }
}
