/* Vonzla: matches the Pixieset "theme two" dark look. Tweak these first. */
:root {
  --bg: #181818;
  --bg-alt: #1f1f1f;
  --text: #ffffff;
  --text-soft: #eae9e5;
  --line: rgba(255, 255, 255, 0.14);
  --tint: rgba(0, 0, 0, 0.25);
  --button-bg: #eae9e5;
  --button-text: #181818;
  /* Freight Big Pro is the original display face (Adobe Fonts). Cormorant Garamond is the free stand-in. */
  --display: 'freight-big-pro', 'Freight Big Pro', 'Cormorant Garamond', serif;
  --body: 'Cardo', serif;
  --gap: 10px;
  --block-pad: clamp(28px, 4vw, 56px);
  --max: 1200px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--body); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, p { margin: 0; font-weight: 400; }

/* Type scale (from the original theme variables) */
.h2 { font-family: var(--display); font-weight: 500; font-size: min(2.125rem, 1rem + 1.25vw); line-height: 1.2; }
.h3 { font-family: var(--display); font-weight: 500; font-size: min(1.75rem, 1rem + 0.83vw); line-height: 1.3; }
.p1 { font-size: min(1.125rem, 1rem + 0.14vw); line-height: 1.8; }
.p2 { font-size: 1rem; line-height: 2; }
.center { text-align: center; }
.text-link strong { color: var(--text-soft); }
.text-link { border-bottom: 1px solid transparent; transition: border-color .3s; }
.text-link:hover { border-bottom-color: currentColor; }

/* Layout */
.block { padding: var(--block-pad) 40px; }
.block--tight { padding-top: calc(var(--block-pad) * .5); padding-bottom: calc(var(--block-pad) * .5); }
.block--alt { background: var(--bg-alt); }
.block--page-title { padding-top: 24px; padding-bottom: 32px; }
.container { max-width: var(--max); margin: 0 auto; padding: 0 15px; }
.container.narrow { max-width: 720px; }
.text .h2 { margin-bottom: 1.8em; }
.spacer { height: 80px; }
.divider { width: 33.33%; min-width: 200px; margin: 0 auto; border: 0; border-top: 1px solid var(--line); }

/* ---------- Header / nav ---------- */
.site-header { position: relative; z-index: 20; padding: 40px 40px 0; }
.site-header--overlay { position: absolute; top: 0; left: 0; right: 0; }
.site-header:not(.site-header--overlay) { padding-bottom: 72px; }
.nav { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; max-width: 900px; margin: 24px auto 0; }
.nav__list { display: flex; gap: 22px; }
.nav__list--left { justify-content: flex-end; padding-right: 7.5vw; }
.nav__list--right { justify-content: flex-start; padding-left: 7.5vw; }
.nav__item { position: relative; }
.nav__link, .nav__logo { font-family: var(--display); font-weight: 500; font-size: min(1.125rem, 1rem + 0.14vw); white-space: nowrap; }
.nav__link { position: relative; padding: 4px 0; }
.nav__link::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.nav__link:hover::after { transform: scaleX(1); }
.nav__logo { font-weight: 600; font-size: 1.2rem; letter-spacing: .01em; }
.nav__dropdown { position: absolute; top: 100%; left: 50%; width: 240px; margin-left: -120px; padding: 20px 0; background: var(--bg); opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .25s, transform .25s, visibility .25s; }
.site-header--overlay .nav__dropdown { background: rgba(24, 24, 24, .92); }
.nav__item--dropdown:hover .nav__dropdown, .nav__item--dropdown:focus-within .nav__dropdown { opacity: 1; visibility: visible; transform: none; }
.nav__dropdown a { display: block; padding: 6px 24px; text-align: center; font-family: var(--display); font-weight: 500; font-size: 14px; letter-spacing: .14em; text-transform: uppercase; transition: opacity .2s; }
.nav__dropdown a:hover { opacity: .6; }
.nav__toggle { display: none; }
.mobile-menu { display: none; }

@media (max-width: 991px) {
  .site-header { padding: 20px 20px 0; }
  .site-header:not(.site-header--overlay) { padding-bottom: 40px; }
  .nav { grid-template-columns: 1fr auto 1fr; margin-top: 8px; }
  .nav__list { display: none; }
  .nav__logo { grid-column: 2; }
  .nav__toggle { display: flex; grid-column: 3; justify-self: end; flex-direction: column; gap: 6px; padding: 10px; background: none; border: 0; cursor: pointer; position: relative; z-index: 31; }
  .nav__toggle span { display: block; width: 24px; height: 1px; background: #fff; transition: transform .3s; }
  .nav__toggle[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
  .nav__toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
  .mobile-menu { display: flex; position: fixed; inset: 0; z-index: 30; background: var(--bg); align-items: center; justify-content: center; text-align: center; opacity: 0; transition: opacity .3s; }
  .mobile-menu.is-open { opacity: 1; }
  .mobile-menu > ul > li > a { display: block; padding: 10px; font-family: var(--display); font-size: 1.75rem; font-weight: 500; }
  .mobile-menu__sub a { display: block; padding: 4px; font-family: var(--display); font-size: 13px; letter-spacing: .14em; text-transform: uppercase; opacity: .75; }
}

/* ---------- Hero ---------- */
.hero { position: relative; display: flex; align-items: center; justify-content: center; overflow: hidden; background: #000; }
.hero--lg { height: 100vh; min-height: 520px; max-height: 1100px; }
.hero--md { height: 62vh; min-height: 420px; }
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; animation: hero-zoom 2.2s var(--ease) both; }
.hero__content { position: relative; text-align: center; padding: 0 8%; max-width: 900px; }
.hero__title { font-family: var(--display); font-weight: 500; font-size: min(3.875rem, 1rem + 3.19vw); line-height: 1.1; text-shadow: 0 1px 24px rgba(0, 0, 0, .25); }
.hero__word { display: inline-block; animation: rise 1.1s var(--ease) both; animation-delay: calc(.25s + var(--i) * .12s); }
.hero__subtitle { margin-top: 20px; font-family: var(--display); font-weight: 500; font-size: min(1.125rem, 1rem + 0.14vw); letter-spacing: .1em; text-transform: uppercase; animation: fade 1.2s .7s var(--ease) both; }
.site-header--overlay .nav { animation: fade 1s .2s both; }
@keyframes hero-zoom { from { transform: scale(1.06); } to { transform: none; } }
@keyframes rise { from { opacity: 0; transform: translateY(40%); } to { opacity: 1; transform: none; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }

/* ---------- Scroll reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--delay, 0s); }
.js .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal, .hero__img, .hero__word, .hero__subtitle { animation: none !important; transition: none !important; opacity: 1 !important; transform: none !important; }
}

/* ---------- Justified grid (home) ---------- */
.jgrid { display: flex; flex-direction: column; gap: var(--gap); }
.jgrid__row { display: flex; gap: var(--gap); max-height: 500px; }
.jgrid__item { flex: var(--ar) 1 0; aspect-ratio: var(--ar); max-height: 500px; overflow: hidden; cursor: zoom-in; }
.jgrid__row--last .jgrid__item { flex: 0 0 auto; width: calc(min(50%, 449px * var(--ar))); }
.jgrid__item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.jgrid__item:hover img, .sgrid__item:hover img { transform: scale(1.03); }
@media (max-width: 575px) {
  .jgrid__row { flex-direction: column; max-height: none; }
  .jgrid__item, .jgrid__row--last .jgrid__item { width: 100%; max-height: none; flex: none; }
}

/* ---------- Square grid (galleries) ---------- */
.sgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gap); }
.sgrid__item { aspect-ratio: 1; overflow: hidden; cursor: zoom-in; }
.sgrid__item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
@media (max-width: 575px) { .sgrid { grid-template-columns: 1fr; } }

/* ---------- Feature links ---------- */
.features { display: grid; gap: 30px; }
.features--3 { grid-template-columns: repeat(3, 1fr); }
.features--2 { grid-template-columns: repeat(2, 1fr); }
.features--1 { grid-template-columns: minmax(0, calc((100% - 60px) / 3)); justify-content: center; }
.block--flush-top { padding-top: 0; }
.features + .features, .block--flush-top .features { margin-top: 0; }
.feature { position: relative; display: block; overflow: hidden; aspect-ratio: 280 / 408; }
.features--2 .feature { aspect-ratio: 1; }
.feature img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.feature__tint { position: absolute; inset: 0; background: var(--tint); transition: background .5s; }
.feature__content { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; }
.feature__title { font-family: var(--display); font-weight: 500; font-size: min(2.125rem, 1rem + 1.25vw); line-height: 1.2; }
.feature__arrow { opacity: 0; transform: translateX(-10px); transition: opacity .4s, transform .4s var(--ease); }
.feature:hover img { transform: scale(1.05); }
.feature:hover .feature__tint { background: rgba(0, 0, 0, .35); }
.feature:hover .feature__arrow { opacity: 1; transform: none; }
@media (max-width: 767px) {
  .features--3, .features--2, .features--1 { grid-template-columns: 1fr; }
  .feature, .features--2 .feature { aspect-ratio: 4 / 5; }
  .feature__arrow { opacity: 1; transform: none; }
}

/* ---------- Instagram ---------- */
.instagram { padding-left: 0; padding-right: 0; text-align: center; }
.instagram .h2 { margin-bottom: 40px; }
.instagram__row { display: grid; grid-template-columns: repeat(4, 1fr); }
.instagram__row a { aspect-ratio: 1; background: center / cover no-repeat; transition: opacity .3s; }
.instagram__row a:hover { opacity: .8; }
.instagram__handle svg { width: 20px; height: 20px; }
.instagram__handle { display: inline-flex; flex-direction: column; align-items: center; gap: 12px; margin-top: 24px; font-family: var(--display); font-weight: 500; font-size: 1rem; letter-spacing: .14em; text-transform: uppercase; }
@media (max-width: 767px) { .instagram__row { grid-template-columns: repeat(3, 1fr); } .instagram__row a:nth-child(n+4) { display: none; } }

/* ---------- Packages ---------- */
.pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-top: 48px; text-align: center; }
.tier__img { width: 100%; aspect-ratio: 262 / 305; object-fit: cover; }
.tier__name { margin: 28px 0 20px; }
.tier__lines li { font-size: 1rem; line-height: 2; }
.tier__price { margin-top: 32px; font-family: var(--display); font-weight: 500; font-size: 1rem; letter-spacing: .14em; }
@media (max-width: 767px) { .pricing { grid-template-columns: 1fr; gap: 56px; } }

/* ---------- Contact form ---------- */
.block--alt .h2 { margin-bottom: 8px; }
.form { display: flex; flex-direction: column; gap: 26px; }
.form__field { display: flex; flex-direction: column; gap: 10px; border: 0; padding: 0; margin: 0; }
.form__label { padding: 0; font-family: var(--display); font-weight: 500; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; }
.form__label i { font-style: normal; }
.form input:not([type=radio]), .form select, .form textarea { width: 100%; padding: 12px 14px; background: transparent; border: 1px solid var(--line); border-radius: 0; color: var(--text); font: 1rem var(--body); transition: border-color .25s; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: rgba(255, 255, 255, .5); }
.form textarea { resize: vertical; }
.form__radio { display: flex; align-items: center; gap: 12px; margin: 2px 0; font-size: 1rem; cursor: pointer; }
.form__radio input { appearance: none; width: 12px; height: 12px; margin: 0; border-radius: 50%; background: #fff; box-shadow: 0 0 0 0 var(--bg) inset; transition: box-shadow .2s; }
.form__radio input:checked { box-shadow: 0 0 0 2px #fff inset, 0 0 0 4px var(--bg) inset; outline: 1px solid #fff; outline-offset: 1px; }
.form__select { position: relative; }
.form__select select { appearance: none; cursor: pointer; }
.form__select select option { background: var(--bg); }
.form__select svg { position: absolute; right: 16px; top: 50%; margin-top: -3px; pointer-events: none; }
.button { align-self: flex-start; padding: 13px 26px; background: var(--button-bg); color: var(--button-text); border: 0; font: 500 1.05rem var(--display); cursor: pointer; transition: opacity .25s, transform .25s; }
.button:hover { opacity: .85; }
.button:disabled { opacity: .5; cursor: default; }
.form__status { min-height: 1.6em; font-size: .95rem; color: var(--text-soft); }

/* ---------- Footer ---------- */
.site-footer { padding: 60px 30px 30px; }
.site-footer__inner { max-width: var(--max); margin: 0 auto; padding: 0 15px; }
.site-footer__top { display: flex; align-items: flex-start; gap: 64px; padding-bottom: 72px; }
.site-footer__nav li a { display: inline-block; padding: 10px 0; font-family: var(--display); font-weight: 500; font-size: min(1.125rem, 1rem + 0.14vw); transition: opacity .25s; }
.site-footer__nav li a:hover { opacity: .6; }
.site-footer__top-link { margin-left: auto; padding: 8px; transition: transform .3s var(--ease); }
.site-footer__top-link:hover { transform: translateY(-4px); }
.site-footer__bottom { display: flex; align-items: center; justify-content: space-between; padding: 22px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.site-footer__bottom p { font-size: 13px; }
.site-footer__social { display: flex; gap: 26px; }
.site-footer__social a { transition: opacity .25s; }
.site-footer__social a:hover { opacity: .6; }

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 100; display: flex; align-items: center; justify-content: center; background: rgba(12, 12, 12, .97); opacity: 0; transition: opacity .3s; touch-action: pan-y; }
.lightbox.is-open { opacity: 1; }
.lightbox__img { max-width: calc(100vw - 160px); max-height: calc(100vh - 100px); object-fit: contain; user-select: none; transition: opacity .25s; }
.lightbox__img.is-loading { opacity: 0; }
.lightbox button { position: absolute; padding: 18px; background: none; border: 0; color: #fff; cursor: pointer; opacity: .7; transition: opacity .2s; }
.lightbox button:hover { opacity: 1; }
.lightbox__close { top: 12px; right: 12px; }
.lightbox__prev { left: 12px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 12px; top: 50%; transform: translateY(-50%); }
.lightbox__count { position: absolute; bottom: 20px; left: 0; right: 0; text-align: center; font-size: 13px; letter-spacing: .1em; opacity: .6; }
@media (max-width: 767px) {
  .lightbox__img { max-width: 100vw; max-height: calc(100vh - 120px); }
  .lightbox__prev, .lightbox__next { top: auto; bottom: 4px; transform: none; }
  .block { padding-left: 16px; padding-right: 16px; }
  .site-footer { padding-left: 16px; padding-right: 16px; }
  .site-footer__top { gap: 40px; }
}
