/* ==========================================================================
   Gayle Merrill — Fine Art Website
   Stylesheet · Version 2
   ========================================================================== */

/* ---- Design tokens ------------------------------------------------------- */
:root {
  --bg:          #FBFAF8;   /* warm off-white page */
  --surface:     #FFFFFF;   /* cards, tiles */
  --surface-alt: #F4F0EB;   /* tinted section */
  --ink:         #2B2A28;   /* primary text */
  --ink-soft:    #595550;   /* secondary text */
  --muted:       #8C857C;   /* tertiary text */
  --line:        #E7E1D9;   /* hairline borders */

  --blush:       #FFD1DC;   /* Gayle's signature soft pink */
  --blush-soft:  #FBEEF1;   /* faint pink wash */
  --rose:        #B26E7B;   /* refined accent — buttons, links */
  --rose-deep:   #8E5562;   /* accent hover / active */

  --nav-h: 68px;

  --shadow-sm: 0 1px 3px rgba(43,42,40,.06), 0 1px 2px rgba(43,42,40,.04);
  --shadow-md: 0 10px 30px rgba(43,42,40,.10), 0 4px 10px rgba(43,42,40,.06);
  --shadow-lg: 0 24px 60px rgba(43,42,40,.22);

  --ease: cubic-bezier(.22,.61,.36,1);
  --maxw: 1280px;

  --serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --sans:  'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 24px);
  -webkit-text-size-adjust: 100%;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  font-size: 17px;
  padding-top: var(--nav-h);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a { color: var(--rose-deep); text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--rose); }

h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; line-height: 1.18; color: var(--ink); }

::selection { background: var(--blush); color: var(--ink); }

:focus-visible { outline: 2px solid var(--rose); outline-offset: 3px; border-radius: 2px; }

/* ---- Layout ------------------------------------------------------------- */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 32px; }
.section   { padding: 96px 0; }
.section--tint  { background: var(--surface-alt); }
.section--blush { background: var(--blush-soft); }

.section-head { text-align: center; max-width: 640px; margin: 0 auto 56px; }
.eyebrow {
  font-family: var(--sans);
  font-size: .76rem; font-weight: 600;
  letter-spacing: .22em; text-transform: uppercase;
  color: var(--rose); margin-bottom: 14px;
}
.section-head h2 { font-size: clamp(2rem, 4vw, 2.85rem); }
.section-head p  { color: var(--ink-soft); margin-top: 14px; font-size: 1.04rem; }
.rule {
  width: 56px; height: 2px; background: var(--rose);
  margin: 18px auto 0; border: 0;
}

/* ---- Buttons ------------------------------------------------------------ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--sans); font-size: .82rem; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase;
  padding: 14px 30px; border-radius: 2px; cursor: pointer;
  border: 1.5px solid transparent;
  transition: background .25s var(--ease), color .25s var(--ease),
              border-color .25s var(--ease), transform .25s var(--ease),
              box-shadow .25s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--primary { background: var(--rose); color: #fff; }
.btn--primary:hover { background: var(--rose-deep); color: #fff; box-shadow: var(--shadow-md); }

.btn--outline { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--outline:hover { background: var(--ink); color: #fff; }

.btn--light { background: #fff; color: var(--ink); border-color: #fff; }
.btn--light:hover { background: transparent; color: #fff; border-color: #fff; }

.btn--ghost { background: transparent; color: var(--rose-deep); border-color: var(--line); }
.btn--ghost:hover { background: var(--rose); color: #fff; border-color: var(--rose); }

/* ==========================================================================
   Navbar
   ========================================================================== */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: var(--nav-h);
  background: rgba(251,250,248,.86);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .3s var(--ease), background .3s var(--ease);
}
.nav.is-scrolled { box-shadow: var(--shadow-sm); background: rgba(251,250,248,.95); }

.nav__inner {
  max-width: var(--maxw); margin: 0 auto; height: 100%;
  padding: 0 32px; display: flex; align-items: center; justify-content: space-between;
}
.nav__brand {
  font-family: var(--serif); font-size: 1.5rem; font-weight: 600;
  color: var(--ink); letter-spacing: .01em; line-height: 1;
}
.nav__brand:hover { color: var(--ink); }
.nav__brand span { display: block; font-family: var(--sans); font-size: .58rem;
  font-weight: 600; letter-spacing: .28em; text-transform: uppercase;
  color: var(--rose); margin-top: 3px; }

.nav__links { display: flex; align-items: center; gap: 6px; list-style: none; }
.nav__link {
  font-size: .82rem; font-weight: 500; letter-spacing: .1em; text-transform: uppercase;
  color: var(--ink); padding: 9px 16px; border-radius: 2px; position: relative;
}
.nav__link::after {
  content: ""; position: absolute; left: 16px; right: 16px; bottom: 4px;
  height: 1.5px; background: var(--rose); transform: scaleX(0);
  transform-origin: left; transition: transform .25s var(--ease);
}
.nav__link:hover { color: var(--rose-deep); }
.nav__link:hover::after,
.nav__link.is-active::after { transform: scaleX(1); }
.nav__link.is-active { color: var(--rose-deep); }
.nav__cta { margin-left: 8px; padding: 10px 22px; }

.nav__toggle {
  display: none; width: 44px; height: 44px; background: none; border: 0;
  cursor: pointer; position: relative;
}
.nav__toggle span,
.nav__toggle span::before,
.nav__toggle span::after {
  content: ""; position: absolute; left: 10px; width: 24px; height: 2px;
  background: var(--ink); border-radius: 2px; transition: all .3s var(--ease);
}
.nav__toggle span { top: 21px; }
.nav__toggle span::before { top: -7px; }
.nav__toggle span::after  { top: 7px; }
.nav.is-open .nav__toggle span { background: transparent; }
.nav.is-open .nav__toggle span::before { top: 0; transform: rotate(45deg); }
.nav.is-open .nav__toggle span::after  { top: 0; transform: rotate(-45deg); }

@media (max-width: 860px) {
  .nav__toggle { display: block; }
  .nav__links {
    position: fixed; top: var(--nav-h); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--bg); border-bottom: 1px solid var(--line);
    padding: 12px 20px 22px;
    transform: translateY(-12px); opacity: 0; pointer-events: none;
    transition: opacity .25s var(--ease), transform .25s var(--ease);
    box-shadow: var(--shadow-md);
  }
  .nav.is-open .nav__links { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav__link { padding: 14px 8px; font-size: .9rem; border-bottom: 1px solid var(--line); }
  .nav__link::after { display: none; }
  .nav__cta { margin: 14px 8px 0; }
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  min-height: calc(100vh - var(--nav-h));
  display: flex; align-items: center; justify-content: center;
  text-align: center; color: #fff; overflow: hidden;
}
.hero__bg {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center 42%;
  z-index: 0;
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(180deg, rgba(20,16,18,.42) 0%, rgba(20,16,18,.30) 45%, rgba(20,16,18,.66) 100%);
}
.hero__content {
  position: relative; z-index: 2;
  padding: 60px 32px; max-width: 880px;
  animation: heroIn 1s var(--ease) both;
}
@keyframes heroIn { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }

.hero__eyebrow {
  font-size: .8rem; font-weight: 600; letter-spacing: .26em; text-transform: uppercase;
  color: var(--blush); margin-bottom: 22px;
}
.hero h1 {
  font-size: clamp(3rem, 8.5vw, 6rem); font-weight: 700; color: #fff;
  letter-spacing: .005em; line-height: 1.02;
  text-shadow: 0 2px 30px rgba(0,0,0,.4);
}
.hero__tagline {
  font-family: var(--serif); font-style: italic;
  font-size: clamp(1.15rem, 2.6vw, 1.6rem); font-weight: 500;
  margin-top: 18px; color: rgba(255,255,255,.94);
}
.hero__actions {
  margin-top: 38px; display: flex; gap: 16px; justify-content: center; flex-wrap: wrap;
}
.hero__scroll {
  position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%);
  z-index: 2; color: rgba(255,255,255,.85); width: 30px; height: 48px;
  border: 1.5px solid rgba(255,255,255,.55); border-radius: 16px;
  display: flex; justify-content: center; padding-top: 9px;
}
.hero__scroll::before {
  content: ""; width: 4px; height: 9px; border-radius: 2px;
  background: #fff; animation: scrollDot 1.7s var(--ease) infinite;
}
@keyframes scrollDot { 0%{opacity:0;transform:translateY(-4px);} 40%{opacity:1;} 80%{opacity:0;transform:translateY(10px);} 100%{opacity:0;} }

/* ==========================================================================
   Featured carousel
   ========================================================================== */
.carousel { position: relative; margin-top: 8px; }
.carousel__viewport { overflow: hidden; }
.carousel__track {
  display: flex; transition: transform .55s var(--ease);
  will-change: transform;
}
.carousel.is-dragging .carousel__track { transition: none; }
.carousel__card { flex: 0 0 auto; padding: 0 14px; }

.carousel__btn {
  position: absolute; top: 38%; transform: translateY(-50%);
  width: 50px; height: 50px; border-radius: 50%;
  background: #fff; border: 1px solid var(--line); color: var(--ink);
  display: flex; align-items: center; justify-content: center; cursor: pointer;
  box-shadow: var(--shadow-md); z-index: 5;
  transition: background .2s var(--ease), color .2s var(--ease), transform .2s var(--ease);
}
.carousel__btn:hover { background: var(--rose); color: #fff; transform: translateY(-50%) scale(1.07); }
.carousel__btn--prev { left: -8px; }
.carousel__btn--next { right: -8px; }
.carousel__btn svg { width: 19px; height: 19px; }

.carousel__dots {
  display: flex; gap: 9px; justify-content: center; margin-top: 34px;
}
.carousel__dot {
  width: 9px; height: 9px; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--line); padding: 0;
  transition: background .25s var(--ease), transform .25s var(--ease);
}
.carousel__dot:hover { background: var(--blush); }
.carousel__dot.is-active { background: var(--rose); transform: scale(1.35); }

@media (max-width: 640px) {
  .carousel__btn { width: 42px; height: 42px; }
  .carousel__btn--prev { left: 2px; }
  .carousel__btn--next { right: 2px; }
}

/* ==========================================================================
   Artwork tiles (shared: carousel + gallery)
   ========================================================================== */
.art {
  background: var(--surface); border: 1px solid var(--line); border-radius: 4px;
  overflow: hidden; cursor: pointer;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease),
              border-color .35s var(--ease);
  display: flex; flex-direction: column; height: 100%;
  width: 100%; text-align: center; text-decoration: none;
  font: inherit; color: inherit;
  -webkit-appearance: none; appearance: none;
}
.art:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--blush); }

.art__frame {
  position: relative; aspect-ratio: 4 / 3;
  background: #fff; display: flex; align-items: center; justify-content: center;
  padding: 16px; overflow: hidden;
}
.art__frame img {
  max-width: 100%; max-height: 100%; width: auto; height: auto;
  object-fit: contain;
  transition: transform .5s var(--ease);
}
.art:hover .art__frame img { transform: scale(1.045); }

.art__badge {
  position: absolute; top: 12px; left: 12px;
  font-family: var(--sans); font-size: .64rem; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
  background: var(--ink); color: #fff; padding: 5px 11px; border-radius: 2px;
}
.art__badge--new { background: var(--rose); }

.art__zoom {
  position: absolute; bottom: 12px; right: 12px;
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(255,255,255,.92); color: var(--ink);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transform: scale(.8); transition: all .3s var(--ease);
  box-shadow: var(--shadow-sm);
}
.art:hover .art__zoom { opacity: 1; transform: scale(1); }
.art__zoom svg { width: 17px; height: 17px; }

.art__meta {
  padding: 18px 18px 20px; text-align: center;
  border-top: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 3px; flex: 1;
}
.art__title { font-family: var(--serif); font-size: 1.12rem; font-weight: 600; color: var(--ink); }
.art__size  { font-size: .82rem; color: var(--muted); font-style: italic; }
.art__price { font-size: .94rem; font-weight: 600; color: var(--rose-deep); margin-top: 4px; }
.art__price.is-sold { color: var(--muted); font-weight: 600; letter-spacing: .06em; text-transform: uppercase; font-size: .8rem; }

/* ==========================================================================
   About
   ========================================================================== */
.about__grid {
  display: grid; grid-template-columns: 0.92fr 1.08fr; gap: 64px; align-items: center;
}
.about__photo { position: relative; }
.about__photo img {
  width: 100%; border-radius: 4px; box-shadow: var(--shadow-md);
}
.about__photo::before {
  content: ""; position: absolute; inset: 20px -20px -20px 20px;
  border: 2px solid var(--blush); border-radius: 4px; z-index: -1;
}
.about__body h2 { font-size: clamp(1.9rem, 3.6vw, 2.6rem); margin-bottom: 8px; }
.about__body p { color: var(--ink-soft); margin-top: 16px; }
.about__sign {
  font-family: var(--serif); font-style: italic; font-size: 1.5rem;
  color: var(--rose-deep); margin-top: 24px;
}
@media (max-width: 820px) {
  .about__grid { grid-template-columns: 1fr; gap: 52px; }
  .about__photo::before { inset: 14px -14px -14px 14px; }
}

/* ==========================================================================
   Exhibits
   ========================================================================== */
.exhibits__grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px;
}
.exhibit-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: 4px;
  padding: 38px 32px; transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.exhibit-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.exhibit-card__icon {
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--blush-soft); color: var(--rose-deep);
  display: flex; align-items: center; justify-content: center; margin: 0 auto 20px;
}
.exhibit-card__icon svg { width: 24px; height: 24px; }
.exhibit-card h3 { text-align: center; font-size: 1.32rem; margin-bottom: 22px; }
.exhibit-list { list-style: none; }
.exhibit-list li { padding: 13px 0; border-top: 1px solid var(--line); }
.exhibit-list li:first-child { border-top: 0; }
.exhibit-list strong { display: block; font-weight: 600; color: var(--ink); font-size: .98rem; }
.exhibit-list span { font-size: .86rem; color: var(--muted); }
@media (max-width: 820px) { .exhibits__grid { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; } }

/* ==========================================================================
   Contact
   ========================================================================== */
.contact__grid {
  display: grid; grid-template-columns: 1fr 1.15fr; gap: 60px; align-items: start;
}
.contact__intro h2 { font-size: clamp(1.9rem, 3.6vw, 2.6rem); }
.contact__intro p { color: var(--ink-soft); margin-top: 16px; }
.contact__detail {
  display: flex; align-items: center; gap: 14px; margin-top: 22px;
  font-size: .96rem; color: var(--ink-soft);
}
.contact__detail svg { width: 20px; height: 20px; color: var(--rose-deep); flex: none; }

.form { display: grid; gap: 18px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field label {
  display: block; font-size: .76rem; font-weight: 600; letter-spacing: .1em;
  text-transform: uppercase; color: var(--ink-soft); margin-bottom: 7px;
}
.field input, .field textarea {
  width: 100%; font-family: var(--sans); font-size: .98rem; color: var(--ink);
  background: var(--surface); border: 1px solid var(--line); border-radius: 3px;
  padding: 13px 15px; transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.field input:focus, .field textarea:focus {
  outline: none; border-color: var(--rose);
  box-shadow: 0 0 0 3px var(--blush-soft);
}
.field textarea { resize: vertical; min-height: 130px; }
.form button { justify-self: start; }
.form__note { font-size: .82rem; color: var(--muted); }
@media (max-width: 820px) {
  .contact__grid { grid-template-columns: 1fr; gap: 44px; }
  .form__row { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer { background: var(--ink); color: rgba(255,255,255,.72); }
.footer__top {
  max-width: var(--maxw); margin: 0 auto; padding: 60px 32px 40px;
  display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px;
}
.footer__brand .footer__name {
  font-family: var(--serif); font-size: 1.7rem; color: #fff; font-weight: 600;
}
.footer__brand p { margin-top: 12px; font-size: .92rem; max-width: 320px; }
.footer h4 {
  font-family: var(--sans); font-size: .76rem; font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase; color: var(--blush); margin-bottom: 16px;
}
.footer__links { list-style: none; display: grid; gap: 10px; }
.footer__links a { color: rgba(255,255,255,.72); font-size: .92rem; }
.footer__links a:hover { color: var(--blush); }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,.12);
  max-width: var(--maxw); margin: 0 auto; padding: 22px 32px;
  display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap;
  font-size: .82rem; color: rgba(255,255,255,.55);
}
@media (max-width: 760px) {
  .footer__top { grid-template-columns: 1fr; gap: 32px; padding: 48px 32px 32px; }
  .footer__bottom { justify-content: center; text-align: center; }
}

/* ==========================================================================
   Gallery page
   ========================================================================== */
.page-header { text-align: center; padding: 64px 0 8px; }
.page-header .eyebrow { color: var(--rose); }
.page-header h1 { font-size: clamp(2.4rem, 5.5vw, 3.6rem); }
.page-header p { color: var(--ink-soft); margin-top: 14px; max-width: 600px; margin-inline: auto; }

/* sticky category bar */
.catbar {
  position: sticky; top: var(--nav-h); z-index: 900;
  background: rgba(251,250,248,.94);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  margin-top: 32px;
}
.catbar__inner {
  max-width: var(--maxw); margin: 0 auto; padding: 12px 32px;
  display: flex; gap: 10px; justify-content: center; flex-wrap: wrap;
}
.catbar__link {
  font-family: var(--sans); font-size: .8rem; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--ink-soft); background: transparent;
  border: 1px solid var(--line); border-radius: 30px;
  padding: 9px 22px; cursor: pointer;
  transition: all .25s var(--ease);
}
.catbar__link:hover { border-color: var(--rose); color: var(--rose-deep); }
.catbar__link.is-active {
  background: var(--rose); border-color: var(--rose); color: #fff;
}
.catbar__link span { opacity: .7; font-weight: 500; margin-left: 4px; }

.gallery-section { padding: 54px 0 26px; }
.gallery-section:first-of-type { padding-top: 40px; }
.gallery-section:last-of-type { padding-bottom: 44px; }
.gallery-section__head { text-align: center; margin-bottom: 44px; }
.gallery-section__head h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); }
.gallery-section__head .count { color: var(--muted); font-size: .9rem; margin-top: 8px; }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 32px;
}
@media (max-width: 560px) {
  .gallery-grid { grid-template-columns: 1fr; gap: 26px; }
  .catbar__inner { padding: 10px 16px; gap: 7px; }
  .catbar__link { padding: 8px 15px; font-size: .72rem; }
}

/* ==========================================================================
   Lightbox
   ========================================================================== */
.lightbox {
  position: fixed; inset: 0; z-index: 2000;
  background: rgba(22,18,20,.94);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none; transition: opacity .3s var(--ease);
}
.lightbox.is-open { opacity: 1; pointer-events: auto; }
.lightbox__stage {
  display: flex; flex-direction: column; align-items: center;
  max-width: 92vw; max-height: 92vh; padding: 20px;
}
.lightbox__img {
  max-width: 88vw; max-height: 74vh; width: auto; height: auto;
  border-radius: 3px; box-shadow: var(--shadow-lg);
  background: #fff;
}
.lightbox__caption {
  margin-top: 20px; text-align: center; color: #fff;
}
.lightbox__caption .t { font-family: var(--serif); font-size: 1.5rem; font-weight: 600; }
.lightbox__caption .m { color: rgba(255,255,255,.7); font-size: .9rem; margin-top: 4px; font-style: italic; }
.lightbox__caption .p { color: var(--blush); font-size: 1rem; font-weight: 600; margin-top: 6px; }

.lightbox__btn {
  position: absolute; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.25);
  color: #fff; width: 54px; height: 54px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; cursor: pointer;
  transition: background .2s var(--ease), transform .2s var(--ease);
}
.lightbox__btn:hover { background: var(--rose); border-color: var(--rose); transform: scale(1.06); }
.lightbox__btn svg { width: 22px; height: 22px; }
.lightbox__btn--prev  { left: 26px; top: 50%; transform: translateY(-50%); }
.lightbox__btn--next  { right: 26px; top: 50%; transform: translateY(-50%); }
.lightbox__btn--prev:hover { transform: translateY(-50%) scale(1.06); }
.lightbox__btn--next:hover { transform: translateY(-50%) scale(1.06); }
.lightbox__btn--close { top: 24px; right: 26px; width: 48px; height: 48px; }
.lightbox__count {
  position: absolute; top: 30px; left: 30px; color: rgba(255,255,255,.7);
  font-size: .85rem; letter-spacing: .08em;
}
@media (max-width: 640px) {
  .lightbox__btn--prev  { left: 10px; }
  .lightbox__btn--next  { right: 10px; }
  .lightbox__img { max-height: 66vh; }
}

/* ==========================================================================
   Scroll reveal
   ========================================================================== */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .09s; }
.reveal[data-delay="2"] { transition-delay: .18s; }
.reveal[data-delay="3"] { transition-delay: .27s; }
