/* ==========================================================================
   Yasha Pekarskyi — Wedding Photography — design system
   Same system as yanachumachenko.com, cut down to a card: landings of
   hero, gallery and inquiry form, plus a prices page. Mobile-first.
   ========================================================================== */

:root {
  --ink: #373737;
  --ink-soft: #656565;
  --black: #000;
  --white: #fff;
  --bg: #fff;
  --bg-soft: #f7f7f2;
  --line: rgba(0, 0, 0, .08);
  --btn: #363636;

  --sans: "Montserrat", -apple-system, "Helvetica Neue", Arial, sans-serif;
  --serif: "Lora", Georgia, "Times New Roman", serif;

  --gutter: 24px;
  --max: 1200px;
  --header-h: 72px;

  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---- Reset ------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  /* In-page links (#gallery, #contact) land below the fixed header. */
  scroll-padding-top: var(--header-h);
}
body {
  margin: 0;
  font-family: var(--serif);
  font-size: 14px;
  line-height: 1.85;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
/* <picture> only picks the file format; the <img> inside stays the layout box. */
picture { display: contents; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4, h5 { margin: 0; font-family: var(--sans); font-weight: 300; text-transform: uppercase; color: var(--black); line-height: 1.1; }
p { margin: 0 0 1.2em; }
p:last-child { margin-bottom: 0; }
::selection { background: #e9e5da; }

/* ---- Type scale -------------------------------------------------------- */
h1, .h1 { font-size: 36px; letter-spacing: .01em; }
h2, .h2 { font-size: 25px; letter-spacing: .01em; line-height: 1.15; }
h3, .h3 { font-size: 20px; letter-spacing: .01em; }

.eyebrow {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 11px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 18px;
}

@media (min-width: 900px) {
  :root { --gutter: 48px; --header-h: 84px; }
  h1, .h1 { font-size: 50px; }
  h2, .h2 { font-size: 36px; }
  h3, .h3 { font-size: 24px; }
}

/* ---- Layout helpers ---------------------------------------------------- */
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.section { padding: 72px 0; }
.section--tight { padding: 48px 0; }
.section--soft { background: var(--bg-soft); }
.center { text-align: center; }
.mb-24 { margin-bottom: 24px; }
.mb-40 { margin-bottom: 40px; }
.intro { max-width: 680px; margin: 0 auto 56px; text-align: center; }
@media (min-width: 900px) {
  .section { padding: 120px 0; }
  .section--tight { padding: 80px 0; }
  .intro { margin-bottom: 72px; }
}

/* ---- Buttons ----------------------------------------------------------- */
.btn {
  display: inline-block;
  font-family: var(--sans);
  font-weight: 500;
  font-size: 9.5px;
  letter-spacing: .18em;
  text-transform: uppercase;
  line-height: 1;
  padding: 15px 24px;
  background: var(--btn);
  color: var(--white);
  border: 1px solid var(--btn);
  transition: background .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease);
  white-space: nowrap;
}
.btn:hover { background: var(--black); border-color: var(--black); }
.btn:disabled { opacity: .6; cursor: default; }
.btn--ghost { background: transparent; color: var(--white); border-color: rgba(255,255,255,.85); }
.btn--ghost:hover { background: var(--white); color: var(--black); border-color: var(--white); }
.btn--outline { background: transparent; color: var(--black); border-color: var(--black); }
.btn--outline:hover { background: var(--black); color: var(--white); }

/* ---- Header ------------------------------------------------------------ */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  height: var(--header-h);
  display: flex;
  align-items: center;
  transition: background .4s var(--ease), color .4s var(--ease), box-shadow .4s var(--ease);
  color: var(--black);
}
.header__inner {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
}
.logo {
  grid-column: 2;
  font-family: var(--sans);
  font-weight: 400;
  font-size: 15px;
  letter-spacing: .16em;
  text-transform: uppercase;
  text-align: center;
  white-space: nowrap;
  line-height: 1.2;
}
.logo small {
  display: block;
  font-size: 7px;
  letter-spacing: .42em;
  font-weight: 400;
  margin-top: 4px;
  opacity: .85;
}
.nav { display: none; }
.nav ul { display: flex; gap: 28px; }
.nav--left { grid-column: 1; justify-self: start; }
.nav--right { grid-column: 3; justify-self: end; }
.nav a {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 9.5px;
  letter-spacing: .2em;
  text-transform: uppercase;
  position: relative;
  padding: 6px 0;
  display: inline-block;
}
.nav a::after {
  content: "";
  position: absolute; left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .4s var(--ease);
}
.nav a:hover::after, .nav a.is-active::after { transform: scaleX(1); transform-origin: left; }
/* The language switch sits apart from the page links, a hairline between. */
.nav .lang { padding-left: 28px; border-left: 1px solid currentColor; border-left-color: color-mix(in srgb, currentColor 35%, transparent); }
.nav .lang a { opacity: .8; }

/* header states */
.header--light { color: var(--white); }
.header.is-scrolled { background: rgba(255,255,255,.96); color: var(--black); box-shadow: 0 1px 0 var(--line); }
.header.is-open { color: var(--black); background: transparent; box-shadow: none; }

/* burger */
.burger {
  grid-column: 3;
  justify-self: end;
  width: 30px; height: 22px;
  position: relative;
  display: block;
}
.burger span {
  position: absolute; left: 0; right: 0;
  height: 1.5px; background: currentColor;
  transition: transform .4s var(--ease), opacity .3s, top .4s var(--ease);
}
.burger span:nth-child(1) { top: 0; }
.burger span:nth-child(2) { top: 10px; }
.burger span:nth-child(3) { top: 20px; }
.is-open .burger span:nth-child(1) { top: 10px; transform: rotate(45deg); }
.is-open .burger span:nth-child(2) { opacity: 0; }
.is-open .burger span:nth-child(3) { top: 10px; transform: rotate(-45deg); }

@media (min-width: 1024px) {
  .nav { display: block; }
  .burger { display: none; }
  .logo { font-size: 16px; }
}

/* ---- Mobile menu ------------------------------------------------------- */
.menu {
  position: fixed; inset: 0;
  z-index: 40;
  background: var(--white);
  color: var(--black);
  display: flex; flex-direction: column;
  padding: calc(var(--header-h) + 24px) var(--gutter) 40px;
  overflow-y: auto;
  opacity: 0; visibility: hidden;
  transition: opacity .45s var(--ease), visibility .45s;
}
.menu.is-open { opacity: 1; visibility: visible; }
.menu__list { margin: auto 0; text-align: center; }
.menu__list > li { margin: 0 0 26px; }
.menu__list a {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: .18em;
  text-transform: uppercase;
  display: inline-block;
  opacity: 0; transform: translateY(12px);
  transition: opacity .5s var(--ease), transform .5s var(--ease);
}
.menu.is-open .menu__list a { opacity: 1; transform: none; }
.menu__list > li:nth-child(1) a { transition-delay: .05s }
.menu__list > li:nth-child(2) a { transition-delay: .1s }
.menu__list > li:nth-child(3) a { transition-delay: .15s }
.menu__list > li:nth-child(4) a { transition-delay: .2s }
.menu__list > li:nth-child(5) a { transition-delay: .25s }
.menu__list > li:nth-child(6) a { transition-delay: .3s }
.menu__list .menu__lang a { font-weight: 400; font-size: 11px; letter-spacing: .26em; color: var(--ink-soft); }
.menu__foot { text-align: center; }
.menu__foot .socials { justify-content: center; margin-bottom: 18px; }
.menu__foot p { font-size: 12px; color: var(--ink-soft); }
@media (min-width: 1024px) { .menu { display: none; } }

/* ---- Socials ----------------------------------------------------------- */
.socials { display: flex; gap: 22px; align-items: center; }
.socials a { display: inline-flex; width: 18px; height: 18px; opacity: .9; transition: opacity .3s; }
.socials a:hover { opacity: .5; }
.socials svg { width: 100%; height: 100%; fill: currentColor; }

/* ---- Hero -------------------------------------------------------------- */
.hero {
  position: relative;
  height: 100vh;
  height: 100svh;
  min-height: 560px;
  color: var(--white);
  overflow: hidden;
  background: #2b2723;
}
.hero__slide {
  position: absolute; inset: 0;
  opacity: 0;
  transition: opacity 1.4s var(--ease);
}
.hero__slide.is-active { opacity: 1; }
.hero__slide img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  /* Focus points: one for the phone crop, one for the desktop crop. */
  object-position: var(--focus-m, center);
  transform: scale(1.04);
  transition: transform 7s linear;
}
@media (min-width: 900px) { .hero__slide img { object-position: var(--focus-d, center); } }
.hero__slide.is-active img { transform: scale(1); }
.hero::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,.30), rgba(0,0,0,.16) 45%, rgba(0,0,0,.38));
  pointer-events: none;
}
.hero__content {
  position: absolute;
  left: 0; right: 0;
  top: 50%; transform: translateY(-50%);
  text-align: center;
  padding: 0 var(--gutter);
  z-index: 2;
}
.hero__eyebrow {
  font-family: var(--sans); font-weight: 300; font-size: 10px;
  letter-spacing: .28em; text-transform: uppercase;
  color: rgba(255,255,255,.85); margin: 0 0 18px;
}
/* On a phone the longest line ("Wedding photographer", "Fotógrafo de bodas")
   must fit on one line, so the size follows the screen width. */
.hero__title { color: var(--white); font-size: clamp(20px, 5.6vw, 30px); letter-spacing: .02em; font-weight: 300; line-height: 1.3; }
.hero__sub {
  font-family: var(--sans);
  font-weight: 300;
  font-size: 11px;
  letter-spacing: .24em;
  text-transform: uppercase;
  margin: 20px auto 0;
  max-width: 330px;
  line-height: 1.8;
}
.hero__cta { margin-top: 34px; }
/* On a phone the tall photo has its faces in the upper half, so the words go
   to the bottom third, over a deeper shade, and leave the faces clear. */
@media (max-width: 899px) {
  .hero__content { top: auto; bottom: 92px; transform: none; }
  .hero::after { background: linear-gradient(to bottom, rgba(0,0,0,.30), rgba(0,0,0,0) 28%, rgba(0,0,0,.06) 48%, rgba(0,0,0,.62)); }
}
.hero__arrows { position: absolute; z-index: 3; left: var(--gutter); right: var(--gutter); bottom: 34px; display: flex; justify-content: space-between; }
.arrow {
  width: 44px; height: 12px;
  display: inline-block;
  color: var(--white);
  opacity: .9;
  transition: opacity .3s, transform .4s var(--ease);
}
.arrow svg { width: 100%; height: 100%; stroke: currentColor; fill: none; stroke-width: 1; }
.arrow:hover { opacity: 1; }
.arrow--prev:hover { transform: translateX(-4px); }
.arrow--next:hover { transform: translateX(4px); }
.arrow--dark { color: var(--black); }
.hero__scroll {
  position: absolute; left: 50%; bottom: 30px; transform: translateX(-50%);
  z-index: 3;
  font-family: var(--sans); font-size: 8px; letter-spacing: .3em; text-transform: uppercase;
  display: none;
}

@media (min-width: 900px) {
  .hero__title { font-size: 52px; letter-spacing: .06em; line-height: 1.15; }
  .hero__sub { font-size: 11px; max-width: none; margin-top: 24px; letter-spacing: .3em; }
  .hero__arrows {
    left: 48px; right: 48px; bottom: auto; top: 50%; transform: translateY(-50%);
    pointer-events: none;
  }
  .hero__arrows .arrow { pointer-events: auto; opacity: .6; }
  .hero__scroll { display: block; }
}

/* Page hero (inner pages): shorter, one photo, no button */
.hero--page { height: 62vh; height: 62svh; min-height: 420px; }
@media (min-width: 900px) {
  .hero--page { height: 68vh; min-height: 480px; }
  .hero--page .hero__title { font-size: 44px; }
}

/* ---- Gallery ----------------------------------------------------------- */
/* A grid whose cell is a landscape photo (3:2). A portrait photo is one cell
   wide and two cells tall, so it stands exactly as high as two landscapes
   with the gap between them. Placement is plain row-major, so photo N always
   lands in the N-th free cell reading left to right — the same order on a
   phone with two columns and a desktop with three. The row height follows
   the column width, hence the container units. */
.gallery { container-type: inline-size; }
.gallery__grid {
  --cols: 2; --gap: 10px;
  --col: calc((100cqw - (var(--cols) - 1) * var(--gap)) / var(--cols));
  display: grid;
  grid-template-columns: repeat(var(--cols), minmax(0, 1fr));
  grid-auto-rows: calc(var(--col) * 2 / 3);
  gap: var(--gap);
}
.gallery__grid figure { margin: 0; overflow: hidden; background: #eee; }
.gallery__grid figure.is-portrait { grid-row: span 2; }
.gallery__grid a { display: block; height: 100%; }
.gallery__grid img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.gallery__grid a:hover img { transform: scale(1.03); }
@media (min-width: 700px) { .gallery__grid { --cols: 3; --gap: 20px; } }
@media (min-width: 1000px) { .gallery__grid { --gap: 28px; } }

.gallery__more { margin-top: 56px; text-align: center; }
.gallery__more .eyebrow { display: block; margin-bottom: 18px; }
.gallery__more .btn + .btn { margin-left: 12px; }

/* ---- Contact ----------------------------------------------------------- */
.contact { display: grid; grid-template-columns: 1fr; gap: 56px; align-items: start; }
.contact__lead { margin-bottom: 40px; }
.contact__side img { width: 100%; aspect-ratio: 4/5; object-fit: cover; margin-bottom: 40px; }
@media (min-width: 900px) {
  .contact { grid-template-columns: 7fr 5fr; gap: 90px; }
  .contact__side { position: sticky; top: calc(var(--header-h) + 32px); }
}

/* ---- Forms ------------------------------------------------------------- */
.form { display: grid; grid-template-columns: 1fr; gap: 26px; }
.field { display: flex; flex-direction: column; justify-content: flex-end; }
.field label { display: block; font-family: var(--sans); font-weight: 400; font-size: 10px; letter-spacing: .24em; text-transform: uppercase; margin-bottom: 8px; }
.field input, .field textarea {
  width: 100%;
  font-family: var(--serif); font-size: 14px; color: var(--ink);
  background: transparent; border: 0; border-bottom: 1px solid rgba(0,0,0,.3); border-radius: 0;
  padding: 10px 0; outline: none; transition: border-color .3s;
  -webkit-appearance: none; appearance: none;
}
.field input::placeholder, .field textarea::placeholder { color: #9a9a96; font-style: italic; }
.field input:focus, .field textarea:focus { border-color: var(--black); }
.field textarea { min-height: 120px; resize: vertical; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 13px; line-height: 1.6; cursor: pointer; }
.consent input {
  flex: 0 0 16px; width: 16px; height: 16px; margin: 2px 0 0;
  -webkit-appearance: none; appearance: none;
  border: 1px solid rgba(0,0,0,.45); border-radius: 0; background: transparent;
  display: grid; place-content: center; cursor: pointer;
}
.consent input::after { content: ""; width: 8px; height: 8px; background: var(--black); transform: scale(0); transition: transform .2s var(--ease); }
.consent input:checked::after { transform: scale(1); }
.consent input:focus-visible { outline: 1px solid var(--black); outline-offset: 2px; }
.consent a { border-bottom: 1px solid currentColor; }
.form .btn { justify-self: start; }
@media (min-width: 700px) { .form { grid-template-columns: 1fr 1fr; gap: 32px 40px; } .field--full { grid-column: 1 / -1; } }

/* Honeypot + status line */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__note {
  margin: 16px 0 0; max-width: 460px;
  font-size: 13px; line-height: 1.7; color: var(--ink-soft);
}
.form__note--error { color: #8c3a2b; }

/* ---- Pricing ----------------------------------------------------------- */
.plans { display: grid; grid-template-columns: 1fr; gap: 28px; }
.plan {
  position: relative; display: flex; flex-direction: column;
  background: var(--white); border: 1px solid var(--line);
  padding: 44px 28px 36px; text-align: center;
}
.plan--dark { background: var(--btn); color: var(--white); border-color: var(--btn); }
.plan--dark h3, .plan--dark .plan__price, .plan--dark li { color: var(--white); }
.plan h3 { font-size: 14px; font-weight: 400; letter-spacing: .24em; line-height: 1.5; margin-bottom: 6px; }
.plan__tag { font-style: italic; color: var(--ink-soft); font-size: 13px; margin: 0; }
.plan--dark .plan__tag, .plan--dark .plan__text { color: rgba(255,255,255,.72); }
.plan__price { font-family: var(--sans); font-weight: 300; font-size: 34px; line-height: 1.1; letter-spacing: .02em; margin: 20px 0 22px; color: var(--black); }
.plan__price small { display: block; font-size: 10px; letter-spacing: .22em; text-transform: uppercase; margin-bottom: 8px; }
.plan__text { font-size: 13px; color: var(--ink-soft); margin-bottom: 22px; }
.plan ul { text-align: left; margin: 0 0 30px; }
.plan li { padding: 10px 0; border-top: 1px solid var(--line); font-size: 13px; line-height: 1.6; }
.plan li:last-child { border-bottom: 1px solid var(--line); }
.plan--dark li, .plan--dark li:last-child { border-color: rgba(255,255,255,.16); }
.plan__foot { margin-top: auto; }
.plan--dark .btn { background: var(--white); color: var(--black); border-color: var(--white); }
.plan--dark .btn:hover { background: transparent; color: var(--white); }
/* The label sits astride the card's top edge. */
.plan__badge {
  position: absolute; top: 0; left: 50%; transform: translate(-50%, -50%);
  margin: 0; padding: 7px 14px; white-space: nowrap;
  background: var(--white); color: var(--black); border: 1px solid var(--btn);
  font-family: var(--sans); font-weight: 500; font-size: 8.5px; letter-spacing: .22em; text-transform: uppercase; line-height: 1;
}
@media (min-width: 700px) { .plans { grid-template-columns: repeat(2, 1fr); gap: 28px 24px; } }
@media (min-width: 1180px) {
  .plans { grid-template-columns: repeat(4, 1fr); gap: 20px; }
  /* Room for three lines, so the lists start level across the row. */
  .plan__text { min-height: 5.55em; }
}

/* The terms in four short lines under the packages */
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 24px; margin: 56px 0 0; }
.facts dt { font-family: var(--sans); font-size: 10px; letter-spacing: .24em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 6px; }
.facts dd { margin: 0; font-size: 13px; line-height: 1.7; }
@media (min-width: 900px) { .facts { grid-template-columns: repeat(4, 1fr); gap: 40px; margin-top: 72px; } }

/* What every package includes, and what can be added */
.pricing-more { display: grid; grid-template-columns: 1fr; gap: 56px; }
@media (min-width: 900px) { .pricing-more { grid-template-columns: 1fr 1fr; gap: 90px; } }
.checklist li { position: relative; padding: 12px 0 12px 22px; border-bottom: 1px solid var(--line); font-size: 13px; }
.checklist li:first-child { border-top: 1px solid var(--line); }
.checklist li::before { content: ""; position: absolute; left: 0; top: 23px; width: 5px; height: 5px; border-radius: 50%; background: rgba(0,0,0,.35); }
.extras li { display: grid; grid-template-columns: 1fr auto; gap: 4px 20px; align-items: baseline; padding: 16px 0; border-bottom: 1px solid var(--line); }
.extras li:first-child { border-top: 1px solid var(--line); }
.extras__name { font-family: var(--sans); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--black); }
.extras__price { font-family: var(--sans); font-weight: 300; font-size: 18px; color: var(--black); white-space: nowrap; }
.extras__text { grid-column: 1 / -1; font-size: 13px; color: var(--ink-soft); }

/* ---- FAQ --------------------------------------------------------------- */
.faq { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q {
  width: 100%; text-align: left;
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 20px 0;
  font-family: var(--sans); font-weight: 400; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; line-height: 1.6;
}
.faq__q .plus { position: relative; width: 12px; height: 12px; flex: 0 0 12px; }
.faq__q .plus::before, .faq__q .plus::after { content: ""; position: absolute; background: currentColor; left: 0; top: 50%; width: 100%; height: 1px; transition: transform .4s var(--ease); }
.faq__q .plus::after { transform: rotate(90deg); }
.faq__item.is-open .plus::after { transform: rotate(0); }
.faq__a { max-height: 0; overflow: hidden; transition: max-height .5s var(--ease); }
.faq__a p { padding: 0 40px 22px 0; }
/* On a phone the two lists stack; the second must not draw a double line. */
.faq + .faq { border-top: 0; }
@media (min-width: 900px) {
  .faq-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 0 80px; align-items: start; }
  .faq + .faq { border-top: 1px solid var(--line); }
  .faq__q { padding: 24px 0; font-size: 12px; }
}

/* ---- Package question (dialog) ----------------------------------------- */
.ask {
  width: min(440px, calc(100vw - 32px)); max-height: calc(100vh - 32px); max-height: calc(100dvh - 32px);
  padding: 0; border: 0; background: var(--white); color: var(--ink);
  overflow-y: auto; overscroll-behavior: contain;
}
.ask::backdrop { background: rgba(20, 18, 16, .55); }
.ask[open] { animation: ask-in .4s var(--ease); }
@keyframes ask-in { from { opacity: 0; transform: translateY(14px); } }
.ask__inner { position: relative; padding: 52px 28px 36px; text-align: center; }
.ask__close { position: absolute; top: 18px; right: 18px; width: 22px; height: 22px; }
.ask__close::before, .ask__close::after { content: ""; position: absolute; left: 0; top: 50%; width: 100%; height: 1px; background: var(--black); transform: rotate(45deg); }
.ask__close::after { transform: rotate(-45deg); }
.ask__title { font-size: 22px; letter-spacing: .08em; }
.ask__price { font-family: var(--sans); font-weight: 300; font-size: 18px; color: var(--black); margin: 10px 0 18px; }
.ask__text { font-size: 13px; color: var(--ink-soft); max-width: 320px; margin: 0 auto; }
.ask .form { grid-template-columns: 1fr; gap: 24px; margin-top: 30px; text-align: left; }
/* 16px keeps iOS from zooming into the field. */
.ask .field input { font-size: 16px; }
.ask .form .btn { width: 100%; padding: 17px 24px; }
.ask__done { padding: 12px 0 8px; outline: none; }
.ask__done .btn { margin-top: 14px; }
@media (min-width: 700px) { .ask__inner { padding: 60px 44px 44px; } }
@media (prefers-reduced-motion: reduce) { .ask[open] { animation: none; } }

/* ---- Info list --------------------------------------------------------- */
.info dt { font-family: var(--sans); font-size: 10px; letter-spacing: .24em; text-transform: uppercase; margin-bottom: 4px; color: var(--ink-soft); }
.info dd { margin: 0 0 22px; }
.info a { border-bottom: 1px solid transparent; transition: border-color .3s; }
.info a:hover { border-color: currentColor; }

/* ---- Footer ------------------------------------------------------------ */
.footer { padding: 30px var(--gutter) 40px; text-align: center; color: var(--ink); }
.footer .socials { justify-content: center; margin-bottom: 44px; }
.footer__nav li { margin: 0 0 20px; }
.footer__nav a { font-family: var(--sans); font-weight: 500; font-size: 10px; letter-spacing: .24em; text-transform: uppercase; }
.footer__meta { margin-top: 36px; font-size: 12px; color: var(--ink-soft); line-height: 1.9; }
.footer__meta a { border-bottom: 1px solid currentColor; }
.footer__copy { font-size: 12px; color: var(--ink-soft); }
.footer__top {
  display: inline-block; margin-top: 30px;
  width: 14px; height: 30px;
  transition: transform .4s var(--ease);
}
.footer__top svg { width: 100%; height: 100%; stroke: currentColor; fill: none; stroke-width: 1; }
.footer__top:hover { transform: translateY(-4px); }
@media (min-width: 900px) {
  .footer { padding: 40px var(--gutter) 40px; }
  .footer__row { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; }
  .footer__nav { grid-column: 2; }
  .footer__nav ul { display: flex; gap: 30px; }
  .footer__nav li { margin: 0; }
  .footer__copy { grid-column: 1; justify-self: start; text-align: left; margin: 0; }
  .footer__top { grid-column: 3; justify-self: end; margin: 0; }
  .footer__meta { max-width: var(--max); margin: 40px auto 0; text-align: center; }
}

/* ---- Text pages (privacy, 404) ----------------------------------------- */
.page { padding: calc(var(--header-h) + 56px) 0 80px; }
.page .wrap { max-width: 760px; }
.page h1 { font-size: 30px; margin-bottom: 32px; }
.page h2 { font-size: 16px; font-weight: 400; letter-spacing: .14em; margin: 2.4em 0 .8em; }
.page p, .page li { font-size: 14px; }
.page ul { list-style: disc; padding-left: 20px; margin: 0 0 1.2em; }
.page a { text-decoration: underline; text-underline-offset: 3px; }
@media (min-width: 900px) { .page { padding: calc(var(--header-h) + 90px) 0 120px; } .page h1 { font-size: 40px; } }

/* ---- Lightbox ---------------------------------------------------------- */
.lightbox { position: fixed; inset: 0; z-index: 100; background: #fff; display: flex; align-items: center; justify-content: center; opacity: 0; visibility: hidden; transition: opacity .4s var(--ease), visibility .4s; }
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox img { max-width: calc(100% - 48px); max-height: calc(100% - 120px); object-fit: contain; box-shadow: 0 20px 60px rgba(0,0,0,.12); }
.lightbox__close { position: absolute; top: 22px; right: 24px; width: 24px; height: 24px; }
.lightbox__close::before, .lightbox__close::after { content: ""; position: absolute; left: 0; top: 50%; width: 100%; height: 1px; background: var(--black); transform: rotate(45deg); }
.lightbox__close::after { transform: rotate(-45deg); }
.lightbox__prev, .lightbox__next { position: absolute; bottom: 30px; }
.lightbox__prev { left: 24px; }
.lightbox__next { right: 24px; }
.lightbox__count { position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%); font-family: var(--sans); font-size: 10px; letter-spacing: .3em; }
@media (min-width: 900px) { .lightbox__prev, .lightbox__next { top: 50%; bottom: auto; transform: translateY(-50%); } .lightbox__prev { left: 48px; } .lightbox__next { right: 48px; } }

/* ---- Reveal animation -------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .12s; }
.reveal[data-delay="2"] { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero__slide img { transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---- Misc -------------------------------------------------------------- */
.divider { width: 40px; height: 1px; background: rgba(0,0,0,.25); margin: 28px auto; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
