:root {
  --bg: #f6f2ec;
  --bg-soft: #fbf8f4;
  --panel: #fffdf9;
  --text: #1f1c19;
  --muted: #6e655b;
  --line: rgba(31, 28, 25, 0.12);
  --line-strong: rgba(31, 28, 25, 0.18);
  --accent: #8f7457;
  --accent-dark: #5b4633;
  --shadow: 0 24px 70px rgba(20, 16, 12, 0.08);
  --radius: 26px;
  --max-width: 1180px;
}

* { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  scrollbar-gutter: stable;
}
body {
  margin: 0;
  font-family: "Source Sans 3", ui-sans-serif, system-ui, sans-serif;
  font-weight: 300;
  background: linear-gradient(180deg, #f8f4ef 0%, #f5efe8 100%);
  color: var(--text);
  line-height: 1.65;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.container { width: min(calc(100% - 2rem), var(--max-width)); margin: 0 auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(248, 244, 239, 0.82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(31, 28, 25, 0.08);
}
.nav {
  min-height: 5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.brand-lockup { display: flex; flex-direction: column; gap: 0.15rem; }
.brand-name {
  font-size: 0.92rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 800;
}
.brand-sub { font-size: 0.84rem; color: var(--muted); }

.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  background: var(--panel);
  border-radius: 14px;
  padding: 0.7rem 0.85rem;
  color: var(--text);
  font: inherit;
  cursor: pointer;
}
.nav-links {
  display: flex;
  gap: 1.15rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.nav-links a {
  font-size: 0.95rem;
  font-weight: 400;
  color: var(--muted);
  position: relative;
  padding: 0.3rem 0;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.2rem;
  width: 100%;
  height: 1px;
  background: var(--text);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}
.nav-links a:hover::after,
.nav-links a:focus-visible::after,
.nav-links a.is-active::after {
  transform: scaleX(1);
}
.nav-links a.is-active { color: var(--text); }

.hero {
  min-height: calc(100vh - 5rem);
  display: grid;
  align-items: center;
  padding: 4rem 0 5rem;
}
.hero-grid,
.split-grid,
.contact-grid,
.story-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.hero-copy, .section-copy, .contact-copy { display: grid; gap: 1.25rem; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}
.eyebrow::before {
  content: "";
  width: 2.3rem;
  height: 1px;
  background: currentColor;
  opacity: 0.5;
}
h1, h2, h3 {
  margin: 0;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.45rem, 3vw, 2.3rem); }
h3 { font-size: clamp(1.1rem, 2vw, 1.35rem); }

p {
  margin: 0;
  color: var(--muted);
  font-size: 1.02rem;
  margin-bottom: 2em;
}

.preface {
  margin-bottom: 1em;
}

.cardtext {
  margin-bottom: 0em;
}

.lead {
  font-size: clamp(1.06rem, 2vw, 1.28rem);
  max-width: 42rem;
  margin-bottom: 0em;
}

.infolead {
  font-size: clamp(1.02rem, 2vw, 1.22rem);
  max-width: 42rem;
  line-height: 1.45;
}

.button-row,
.stats,
.value-grid,
.story-grid,
.contact-list,
.footer-links,
.chip-row,
.preview-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.95rem 1.4rem;
  border: 1px solid var(--line);
  font-weight: 400;
  letter-spacing: 0.03em;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}
.button:hover, .button:focus-visible { transform: translateY(-2px); }
.button.primary { background: var(--text); color: white; border-color: var(--text); }
.button.secondary { background: rgba(255, 255, 255, 0.72); }

.hero-image,
.about-image,
.vision-image,
.story-image,
.page-hero-image {
  min-height: 36rem;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid rgba(31, 28, 25, 0.08);
  background-size: cover;
  background-position: center;
  position: relative;
}
.hero-image {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.06), rgba(0, 0, 0, 0.30)), center/cover;
    position: relative;
    overflow: hidden;
    border-radius: var(--radius);
    min-height: 36rem;
}
.hero-portrait {
   user-select: none;
  -webkit-user-drag: none;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.about-image {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.06), rgba(0, 0, 0, 0.30)), center/cover;
    position: relative;
    overflow: hidden;
    border-radius: var(--radius);
    min-height: 36rem;
}
.about-portrait {
  user-select: none;
  -webkit-user-drag: none;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.vision-image {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.06), rgba(0, 0, 0, 0.30)), center/cover;
    position: relative;
    overflow: hidden;
    border-radius: var(--radius);
    min-height: 36rem;
}
.vision-picture {
  user-select: none;
  -webkit-user-drag: none;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.story-image {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.06), rgba(0, 0, 0, 0.30)), center/cover;
    position: relative;
    overflow: hidden;
    border-radius: var(--radius);
    min-height: 36rem;
}
.story-picture {
  user-select: none;
  -webkit-user-drag: none;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.page-hero {
  padding: 4rem 0 2rem;
}
.portfolio-image{
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.06), rgba(0, 0, 0, 0.30)), center/cover;
    position: relative;
    overflow: hidden;
    border-radius: var(--radius);
    min-height: 24rem;
}
.portfolio-picture {
  user-select: none;
  -webkit-user-drag: none;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.page-hero-image {
    user-select: none;
  -webkit-user-drag: none;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  min-height: 24rem;
}
.page-hero-content {
  display: grid;
  gap: 1rem;
}
.floating-card {
  position: absolute;
  left: 1.25rem;
  bottom: 1.25rem;
  max-width: 18rem;
  background: rgba(255, 253, 249, 0.82);
  backdrop-filter: blur(10px);
  padding: 1rem 1.1rem;
  border-radius: 20px;
  border: 1px solid rgba(31, 28, 25, 0.08);
}
.floating-card strong { display: block; margin-bottom: 0.35rem; }

.stats { margin-top: 0.25rem; }
.stat {
  min-width: 9rem;
  padding: 1rem 1.1rem;
  background: rgba(255,255,255,0.55);
  border: 1px solid rgba(31, 28, 25, 0.08);
  border-radius: 20px;
}
.stat strong {
  display: block;
  font-size: 1.45rem;
  color: var(--text);
  margin-bottom: 0.2rem;
}

section, .page-section { padding: clamp(4.5rem, 8vw, 7rem) 0; }
.page-section + .page-section { border-top: 1px solid rgba(31, 28, 25, 0.08); }
.page-shell {
  background: linear-gradient(180deg, rgba(255,255,255,0.62), rgba(255,255,255,0.85));
}
.section-intro {
  display: grid;
  gap: 1rem;
  max-width: 48rem;
  margin-bottom: 2.4rem;
}

.info-card,
.story-card,
.contact-card,
.quote-card,
.gallery-card,
.preview-card {
  background: var(--panel);
  border-radius: 24px;
  border: 1px solid rgba(31, 28, 25, 0.08);
  box-shadow: var(--shadow);
}
.info-card, .contact-card, .quote-card, .preview-card { padding: 2rem; }
.info-card h3 {margin-bottom: 0.75rem; }

.value-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.value-card {
  background: var(--panel);
  border-radius: 24px;
  border: 1px solid rgba(31, 28, 25, 0.08);
  box-shadow: var(--shadow);
  padding: 2rem;
}
.value-card p { margin-top: 0.8rem; }
.number-tag {
  width: 3rem;
  height: 3rem;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: #f1e8dd;
  color: var(--accent-dark);
  margin-bottom: 1rem;
  font-weight: 700;
}
.chip {
  padding: 0.55rem 0.85rem;
  border-radius: 999px;
  background: #f2ebe2;
  color: var(--accent-dark);
  font-size: 0.92rem;
  font-weight: 400;
  border: 1px solid rgba(31, 28, 25, 0.06);
}

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

.preview-card h2 {margin-bottom: 0.75rem; }

.preview-card h3 {margin-bottom: 0.65rem; }

.story-content h3,
.gallery-caption strong { margin-bottom: 0.35rem; }
.preview-card p { margin-bottom: 1rem; }

.gallery-intro {
  margin-bottom: 2rem;
}
.masonry {
  column-count: 3;
  column-gap: 1rem;
}
.masonry-item {
  break-inside: avoid;
  margin-bottom: 1rem;
  overflow: hidden;
}
.masonry-item img {
  width: 100%;
  height: auto;
  border-radius: 20px 20px 0 0;
}
.gallery-card { overflow: hidden; }
.gallery-caption {
  padding: 1rem 1rem 1.2rem;
}
.gallery-caption span,
.meta,
.story-meta,
.footer-copy {
  color: var(--muted);
  font-size: 0.92rem;
}
.footer-build {
  color: var(--muted);
  font-size: 0.92rem;
  place-items: center;
}
.gallery-caption .meta {
  display: inline-block;
  margin-top: 0.45rem;
  color: var(--accent-dark);
}

.story-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.story-card { overflow: hidden; }
.story-card img {
  width: 100%;
  aspect-ratio: 1.15;
  object-fit: cover;
}
.story-content { padding: 1.5rem; }
.story-meta {
  margin-bottom: 0.8rem;
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.75rem;
}
.story-content p { margin-top: 0.8rem; }

blockquote {
  margin: 0;
  font-size: clamp(1.2rem, 2.3vw, 1.8rem);
  letter-spacing: -0.03em;
  font-style: italic;
  font-weight: 300;
  line-height: 1.7;
  color: #444;
}

.contact-wrap { display: grid; gap: 2rem; }
.contact-list { gap: 0.8rem; }
.contact-item {
  padding: 0.9rem 1rem;
  border-radius: 18px;
  background: #f4ece3;
  color: var(--accent-dark);
  border: 1px solid rgba(31, 28, 25, 0.06);
}

form { display: grid; gap: 1rem; }
.field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}
label {
  display: grid;
  gap: 0.55rem;
  font-size: 0.92rem;
  color: var(--muted);
}
input, textarea {
  width: 100%;
  font: inherit;
  color: var(--text);
  background: white;
  border: 1px solid rgba(31, 28, 25, 0.12);
  border-radius: 18px;
  padding: 1rem;
}
textarea { min-height: 10rem; resize: vertical; }

.honeypot {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  overflow: hidden;
}

.site-footer {
  border-top: 1px solid rgba(31, 28, 25, 0.08);
  padding: 2rem 0 3rem;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.footer-links a { color: var(--muted); }

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 650ms ease, transform 650ms ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1040px) {
  .value-grid, .story-grid, .preview-grid { grid-template-columns: 1fr; }
  .masonry { column-count: 2; }
}

@media (max-width: 900px) {
  .hero-grid,
  .split-grid,
  .contact-grid,
  .story-layout,
  .field-grid {
    grid-template-columns: 1fr;
  }
  .hero { min-height: auto; }
  .hero-image,
  .about-image,
  .vision-image,
  .story-image,
  .page-hero-image {
    min-height: 24rem;
  }
  .nav {
    padding: 1rem 0;
    align-items: flex-start;
    flex-direction: column;
  }
  .nav-toggle { display: inline-flex; }
  .nav-links {
    display: none;
    width: 100%;
    flex-direction: column;
    gap: 0.8rem;
    padding-top: 0.8rem;
  }
  .nav-links.open { display: flex; }
}

@media (max-width: 720px) {
  .masonry { column-count: 1; }
  .button-row {
    flex-direction: column;
    align-items: stretch;
  }
  .button { width: 100%; }
  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

.masonry-item > a {
  display: block;
  color: inherit;
}
.masonry-item > a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
  border-radius: 24px;
}

.lightbox-trigger {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  text-align: left;
  color: inherit;
  cursor: zoom-in;
}

.lightbox-trigger:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
  border-radius: 24px;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: none;
}

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

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(18, 15, 12, 0.82);
  backdrop-filter: blur(10px);
}

.lightbox-dialog {
  position: relative;
  z-index: 1;
  width: min(92vw, 1240px);
  max-height: 92vh;
  margin: 4vh auto;
  padding: 3.5rem 0.75rem 1rem;
  overflow: auto;
}

.lightbox-figure {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.lightbox-figure img {
  max-width: 100%;
  max-height: calc(92vh - 10rem);
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 24px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
  background: #111;
}

.lightbox-caption {
  width: min(100%, 900px);
  max-width: calc(100vw - 2rem);
  height: auto;
  min-height: 0;
  padding: 0.85rem 1rem;
  margin: 0;
  background: rgba(255, 253, 249, 0.92);
  border: 1px solid rgba(31, 28, 25, 0.10);
  border-radius: 18px;
  box-shadow: var(--shadow);
}

.lightbox-caption-top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  margin-bottom: 0.4rem;
}

.lightbox-caption strong,
.lightbox-caption span {
  display: block;
  margin: 0;
}

.lightbox-caption span + span {
  margin-top: 0.25rem;
}

.lightbox-exif {
  font-size: 0.82rem;
  color: var(--muted);
  white-space: nowrap;
  text-align: right;
}

#lightbox-description {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.35;
}

.lightbox-close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  z-index: 2;
  width: 3rem;
  height: 3rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.10);
  color: white;
  backdrop-filter: blur(10px);
  cursor: pointer;
  font-size: 1.8rem;
  line-height: 1;
}

.lightbox-close:hover,
.lightbox-close:focus-visible {
  background: rgba(255, 255, 255, 0.18);
}

body.lightbox-open {
  overflow: hidden;
}

@media (max-width: 900px) {
  .lightbox-dialog {
    width: min(94vw, 1240px);
    max-height: 100vh;
    margin: 0 auto;
    padding: 4.5rem 0.75rem 1rem;
  }

  .lightbox-figure img {
    max-height: calc(100vh - 13rem);
  }

  .lightbox-caption {
    padding: 0.75rem 0.85rem;
    border-radius: 14px;
  }

  .lightbox-caption strong {
    font-size: 0.95rem;
  }

  .lightbox-caption span {
    font-size: 0.85rem;
    line-height: 1.3;
  }

  .lightbox-caption-top {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.2rem;
  }

  .lightbox-exif {
    text-align: left;
    white-space: normal;
  }

  .lightbox-close {
    position: fixed;
  }
}

.brand-lockup img {
  display: block;
}


.gallery-caption {
  display: block;
}
.gallery-caption strong + .meta {
  display: inline-block;
  margin-top: 0.45rem;
}


.story-open {
  margin-top: 0.5rem;
  width: auto;
}
.story-lightbox {
  position: fixed;
  inset: 0;
  z-index: 320;
  display: none;
}
.story-lightbox.is-open {
  display: block;
}
.story-lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(18, 15, 12, 0.82);
  backdrop-filter: blur(10px);
}
.story-lightbox-dialog {
  position: relative;
  z-index: 1;
  width: min(94vw, 980px);
  max-height: 92vh;
  margin: 4vh auto;
  overflow: auto;
  background: var(--panel);
  border-radius: 28px;
  border: 1px solid rgba(31, 28, 25, 0.08);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
}
.story-lightbox-body {
  padding: 2.25rem 2.25rem 2rem;
}
.story-lightbox-body h2 {
  margin: 0.35rem 0 1.2rem;
}
.story-article-content {
  color: var(--muted);
  font-size: 1.04rem;
  line-height: 1.85;
}
.story-article-content p + p {
  margin-top: 1rem;
}
.story-lightbox-close {
  position: sticky;
  top: 1rem;
  float: right;
  margin: 1rem 1rem 0 0;
  z-index: 2;
  width: 3rem;
  height: 3rem;
  border-radius: 999px;
  border: 1px solid rgba(31, 28, 25, 0.12);
  background: rgba(255, 253, 249, 0.92);
  color: var(--text);
  backdrop-filter: blur(10px);
  cursor: pointer;
  font-size: 1.8rem;
  line-height: 1;
}
body.story-open {
  overflow: hidden;
}

@media (max-width: 720px) {
  .story-lightbox-dialog {
    width: min(96vw, 980px);
    max-height: 94vh;
    margin: 3vh auto;
  }
  .story-lightbox-body {
    padding: 1.25rem;
  }
}

.story-article-content::after {
  content: "";
  display: block;
  clear: both;
}

.story-article-image-wrap {
  margin: 0.35rem 0 1rem;
  width: 30%;
  min-width: 220px;
  max-width: 360px;
}

.story-article-image-wrap.align-left {
  float: left;
  margin-right: 1.5rem;
}

.story-article-image-wrap.align-right {
  float: right;
  margin-left: 1.5rem;
}

.story-article-image-button {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
}

.story-article-image-button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
  border-radius: 22px;
}

.story-article-image {
  display: block;
  width: 100%;
  height: auto;
  max-height: none;
  object-fit: contain;
  border-radius: 22px;
  box-shadow: var(--shadow);
  background: transparent;
}

@media (max-width: 900px) {
  .story-article-image-wrap {
    width: min(50%, 320px);
    min-width: 0;
  }
}

@media (max-width: 720px) {
  .story-article-image-wrap,
  .story-article-image-wrap.align-left,
  .story-article-image-wrap.align-right {
    float: none;
    width: 100%;
    max-width: none;
    margin: 1rem 0 1.25rem;
  }
}


.home-slideshow {
  display: grid;
  gap: 1rem;
}

.home-slideshow-frame {
  position: relative;
  min-height: 36rem;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid rgba(31, 28, 25, 0.08);
  background: var(--panel);
}

.home-slide {
  user-select: none;
  -webkit-user-drag: none;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 700ms ease;
}

.home-slide.is-active {
  opacity: 1;
}

.home-slideshow-dots {
  display: flex;
  justify-content: center;
  gap: 0.65rem;
}

.home-slideshow-dot {
  width: 0.8rem;
  height: 0.8rem;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(31, 28, 25, 0.22);
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease;
}

.home-slideshow-dot.is-active {
  background: var(--accent-dark);
  transform: scale(1.08);
}

.home-slideshow-dot:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

@media (max-width: 900px) {
  .home-slideshow-frame {
    min-height: 24rem;
  }
}


.story-article-image-wrap {
  position: relative;
}

.story-article-image-hint {
  position: absolute;
  bottom: 0.5rem;
  left: 0.5rem;
  padding: 0.3rem 0.5rem;
  font-size: 0.7rem;
  color: white;
  background: rgba(0,0,0,0.5);
  border-radius: 6px;
  pointer-events: none;
}

.story-article-image-hint {
  position: absolute;
  bottom: 0.5rem;
  left: 0.5rem;
  padding: 0.3rem 0.5rem;
  font-size: 0.7rem;
  color: white;
  background: rgba(0, 0, 0, 0.5);
  border-radius: 6px;
  pointer-events: none;
  z-index: 2;
}

.story-image-lightbox {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: none;
}

.story-image-lightbox.is-open {
  display: block;
}

.story-image-lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(18, 15, 12, 0.88);
  backdrop-filter: blur(10px);
}

.story-image-lightbox-dialog {
  position: relative;
  z-index: 1;
  width: min(96vw, 1400px);
  height: 100vh;
  margin: 0 auto;
  display: grid;
  place-items: center;
  padding: 4rem 1rem 1.5rem;
}

.story-image-lightbox-dialog img {
  max-width: 100%;
  max-height: calc(100vh - 6rem);
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 18px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.32);
}

.story-image-lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 2;
  width: 3rem;
  height: 3rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.10);
  color: white;
  backdrop-filter: blur(10px);
  cursor: pointer;
  font-size: 1.8rem;
  line-height: 1;
}

.story-image-lightbox-close:hover,
.story-image-lightbox-close:focus-visible {
  background: rgba(255, 255, 255, 0.18);
}

body.story-image-open {
  overflow: hidden;
}
