/* Still — minimal, cinematic: white, the names very large and stacked, the photos in two numbered columns. */
:root {
  --st-paper: #fff;
  --st-ink: #292923;
  --st-muted: #6c6b62;
  --st-line: #d4d3ca;
  --st-serif: 'Cormorant Garamond', Georgia, serif;
  --st-sans: 'Hanken Grotesk', Arial, sans-serif;
  --st-gutter: clamp(20px, 5vw, 72px);
  --st-width: 1240px;
}

html { scroll-behavior: smooth; }
body.st { margin: 0; background: var(--st-paper); color: var(--st-ink); font: 400 14px/1.6 var(--st-sans); }
.st a { color: inherit; text-decoration: none; }
.st a:hover { color: inherit; opacity: .65; }
.st p { margin: 0; }

.st-eyebrow { font-size: 10px; line-height: 1.6; letter-spacing: .11em; text-transform: uppercase; }

/* the opening: one screen */
.st-opening { position: relative; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; }
.st-header { width: calc(100% - var(--st-gutter) * 2); max-width: var(--st-width); margin: 0 auto; height: 135px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; font-size: 10px; letter-spacing: .07em; text-transform: uppercase; }
.st-link { justify-self: start; }
.st-link--gallery { justify-self: end; }
.st-link--gallery span { margin-left: 12px; }
.st-brand { display: block; justify-self: center; }
.st-brand img { display: block; width: 72px; max-height: 80px; height: auto; object-fit: contain; }
.st-brand span { font: 300 22px/1 var(--st-serif); letter-spacing: .02em; text-transform: none; }

.st-intro { flex: 1; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; padding: 20px 30px 110px; }
.st-intro .st-eyebrow:first-child { margin-bottom: 30px; }
.st-names { width: 100%; max-width: 780px; margin: 0 0 28px; display: flex; flex-direction: column; align-items: center; font: 300 clamp(68px, 7vw, 112px)/.82 var(--st-serif); letter-spacing: -.05em; text-transform: uppercase; }
.st-line { display: block; max-width: 100%; white-space: nowrap; }
.st-line--title { white-space: normal; line-height: .95; }
.st-amp { font-size: .6em; line-height: 1.12; font-style: italic; letter-spacing: -.06em; }
.st-text { max-width: 460px; margin-bottom: 30px !important; font-size: 12px; line-height: 1.7; color: #57574f; }
.st .wedz-actions { margin-top: 26px; }
.st-btn { display: none; background: transparent; border: 1px solid var(--st-ink); color: var(--st-ink); padding: 10px 22px; font: 400 10px/1.4 var(--st-sans); letter-spacing: .11em; text-transform: uppercase; border-radius: 0; }
.st-btn:hover { background: var(--st-ink); color: var(--st-paper); }
.st-credit-corner { position: absolute; left: max(var(--st-gutter), calc((100vw - var(--st-width)) / 2)); bottom: 26px; font-size: 10px; letter-spacing: .015em; text-transform: uppercase; }

/* the gallery: a heading between hairlines, then two columns, 24 px apart, a number under each photo */
.st-gallery { width: calc(100% - var(--st-gutter) * 2); max-width: var(--st-width); margin: 0 auto; padding: 80px 0 64px; }
.st-gallery-head { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 20px; padding-bottom: 30px; border-bottom: 1px solid var(--st-line); }
.st-title { margin: 12px 0 0; font: 300 clamp(36px, 4.4vw, 68px)/1 var(--st-serif); letter-spacing: -.04em; text-transform: uppercase; }
.st-count { display: flex; justify-content: center; gap: 16px; font-size: 10px; letter-spacing: .06em; text-transform: uppercase; }
.st #lgallery { margin: 32px -12px 0; counter-reset: st-photo; }
.st #lgallery .grid-item { width: 50%; padding: 0 12px 28px; }
.st #lgallery .grid-item img { width: 100%; height: auto; display: block; background: #f4f4f1; }
.st #lgallery .grid-item::after { counter-increment: st-photo; content: counter(st-photo, decimal-leading-zero) " / " var(--st-total, ''); display: block; margin-top: 12px; font: 400 9px/1.5 var(--st-sans); letter-spacing: .05em; color: var(--st-muted); }
.st-end { margin-top: 20px; padding-top: 32px; border-top: 1px solid var(--st-line); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; font-size: 9px; letter-spacing: .08em; text-transform: uppercase; }
.st-top { justify-self: end; }

.st-footer { padding: 8px 24px 48px; text-align: center; font-size: 10px; letter-spacing: .03em; color: var(--st-muted); }
.st-footer a { text-decoration: underline; text-underline-offset: 3px; }

/* the viewer (live/: lightGallery, appended to <body>; live/custom.css paints it black after this file — hence body.st):
   white, the photo, its number, close and the arrows — no strip of thumbnails */
body.st .lg-outer, body.st .lg-backdrop { background-color: #fff !important; }
body.st .lg-outer .lg-toolbar, body.st .lg-outer .lg-icon, body.st .lg-outer .lg-counter { color: var(--st-ink) !important; background: transparent !important; }
body.st .lg-outer .lg-prev, body.st .lg-outer .lg-next { background: transparent !important; color: var(--st-ink) !important; }
body.st .lg-outer .lg-progress-bar .lg-progress { background-color: #292923; } /* the slideshow's bar, not lightGallery's blue */
body.st .lg-outer .lg-thumb-outer, body.st .lg-outer .lg-toggle-thumb { display: none !important; }
body.st .lg-outer .lg-counter { font: 400 11px/1 var(--st-sans); letter-spacing: .08em; padding-left: 28px; }

@media (min-width: 1800px) {
  .st-text { font-size: 14px; max-width: 420px; }
  .st-eyebrow { font-size: 12px; }
}
@media (max-width: 767px) {
  .st-header { height: 104px; }
  /* the shared Login button sits in the top-right corner on phones: Gallery on the left, Home not needed */
  .st-header > .st-link:first-child { display: none; }
  .st-link--gallery { grid-column: 1; grid-row: 1; justify-self: start; font-size: 9px; }
  .st-brand { grid-column: 2; }
  .st-brand img { width: 62px; }
  .st-intro { padding: 30px 24px 90px; }
  .st-names { font-size: clamp(54px, 14.5vw, 97px); margin-bottom: 26px; }
  .st-text { max-width: 350px; }
  .st-credit-corner { display: none; } /* the shared studio badge is in the corner on phones */
  .st-gallery { padding: 48px 0 40px; }
  .st-title { font-size: clamp(34px, 10vw, 42px); }
  .st-count { font-size: 8px; gap: 12px; }
  .st #lgallery { margin: 24px 0 0; }
  .st #lgallery .grid-item { width: 100%; padding: 0 0 24px; }
  .st-end { font-size: 8px; }
}
