/*
Theme Name: AV Horizon
Description: Photography theme for avwedstudio.com — filmstrip hero, wedding stories first, enquiry form on every page.
Version: 2.0
Requires PHP: 7.4
Text Domain: av-horizon
*/

:root {
  --ink: #191714;
  --ink-2: #4f483f;
  --muted: #776c5f;
  --line: #e6e0d7;
  --soft: #f6f3ee;
  --accent: #191714;
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1360px;
  --pad: clamp(18px, 3.2vw, 44px);
  --gap: clamp(14px, 1.6vw, 24px);
  --header: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header) + 10px); }
body { margin: 0; background: #fff; color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.7; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--muted); }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 300; line-height: 1.08; letter-spacing: -.01em; margin: 0 0 .5em; }
p { margin: 0 0 1em; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px,1px,1px,1px); white-space: nowrap; }
.skip-link:focus { position: fixed; left: 10px; top: 10px; z-index: 999; width: auto; height: auto; clip: auto; background: #fff; padding: 10px 16px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--pad); }
.narrow { max-width: 760px; margin: 0 auto; padding: 0 var(--pad); }
.section { padding: clamp(64px, 9vw, 120px) 0; }
.eyebrow { font-family: var(--sans); font-size: 12px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin: 0 0 14px; }
.lead { font-size: clamp(17px, 1.4vw, 19px); line-height: 1.75; color: var(--ink-2); }
.display { font-size: clamp(44px, 7.4vw, 116px); line-height: .96; letter-spacing: -.02em; }
.h2 { font-size: clamp(34px, 4.4vw, 60px); }
.h3 { font-size: clamp(26px, 2.6vw, 40px); }
em, .it { font-style: italic; }
.center { text-align: center; }

/* Buttons and links */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 14px 28px; border-radius: 40px; background: var(--ink); color: #fff; font: 600 14px/1 var(--sans); letter-spacing: .02em; border: 1px solid var(--ink); cursor: pointer; transition: background .2s, color .2s; }
.btn:hover { background: #3a352f; color: #fff; }
.btn--ghost { background: transparent; color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: #fff; }
.btn--light { background: #fff; color: var(--ink); border-color: #fff; }
.btn--light:hover { background: var(--soft); color: var(--ink); }
.link { font-weight: 600; font-size: 14px; border-bottom: 1px solid currentColor; padding-bottom: 3px; }
.btns { display: flex; gap: 12px; flex-wrap: wrap; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 60; background: #fff; border-bottom: 1px solid transparent; transition: border-color .2s; }
.site-header.is-scrolled { border-bottom-color: var(--line); }
.site-header__in { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: var(--header); padding: 0 var(--pad); gap: 20px; }
.logo { display: inline-flex; flex-direction: column; align-items: center; font-size: 25px; line-height: 1; white-space: nowrap; color: var(--ink); }
.logo__name { font-family: "Cormorant Garamond", var(--serif); font-weight: 500; font-size: 1em; letter-spacing: .2em; margin-right: -.2em; text-transform: uppercase; }
.logo__mark { display: block; height: 1.6em; width: auto; }
.logo__sub { font-family: var(--sans); font-weight: 500; font-size: .36em; letter-spacing: .42em; margin-right: -.42em; text-transform: uppercase; color: var(--muted); margin-top: .5em; }
.nav-main ul { list-style: none; margin: 0; padding: 0; display: flex; gap: clamp(12px, calc(1.5vw - 6px), 26px); }
.nav-main li { position: relative; }
.nav-main a { font-family: "Cormorant Garamond", var(--serif); font-size: clamp(12px, .95vw, 14px); font-weight: 600; letter-spacing: .1em; white-space: nowrap; text-transform: uppercase; padding: 8px 0; display: inline-block; }
.nav-main .current-menu-item > a, .nav-main .current-menu-ancestor > a { border-bottom: 1px solid var(--ink); }
.nav-main .sub-menu { display: none; position: absolute; left: -16px; top: 100%; background: #fff; border: 1px solid var(--line); padding: 10px 16px; min-width: 180px; flex-direction: column; gap: 0; }
.nav-main li:hover > .sub-menu, .nav-main li:focus-within > .sub-menu { display: flex; }
.header-cta { justify-self: end; display: flex; align-items: center; gap: 12px; }
.header-cta .btn { min-height: 42px; padding: 11px 20px; }
.header-cta .btn--quiet { white-space: nowrap; background: transparent; color: var(--ink); border-color: rgba(29, 26, 23, .3); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; padding: 11px 18px; gap: 9px; }
.header-cta .btn--quiet:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.burger { display: none; background: none; border: 0; width: 44px; height: 44px; padding: 0; cursor: pointer; align-items: center; justify-content: center; flex-direction: column; gap: 5px; margin-left: -10px; }
.burger i { width: 22px; height: 1.5px; background: var(--ink); display: block; transition: transform .25s, opacity .25s; }
.menu-open .burger i:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.menu-open .burger i:nth-child(2) { opacity: 0; }
.menu-open .burger i:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Filmstrip */
.strip { display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 0 10px; scrollbar-width: none; cursor: grab; overscroll-behavior-x: contain; }
.strip::-webkit-scrollbar { display: none; }
.strip.is-drag { cursor: grabbing; scroll-snap-type: none; }
.strip img { flex: 0 0 auto; height: var(--strip-h, min(60vh, 640px)); width: auto; object-fit: cover; scroll-snap-align: start; user-select: none; -webkit-user-drag: none; background: var(--soft); }
.strip--small img { --strip-h: clamp(240px, 32vw, 420px); }
.strip-bar { display: flex; justify-content: flex-end; align-items: center; padding: 14px var(--pad) 0; font-size: 13px; color: var(--muted); }
.strip-arrows { display: flex; gap: 8px; }
.strip-arrows button { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: #fff; cursor: pointer; font-size: 18px; line-height: 1; color: var(--ink); }
.strip-arrows button:hover { border-color: var(--ink); }

/* Hero */
.hero-title { text-align: center; padding: clamp(56px, 8vw, 100px) var(--pad) clamp(40px, 5vw, 60px); }
.hero-title p.lead { max-width: 560px; margin: 26px auto 30px; }
.hero-title .btns { justify-content: center; }
.facts { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px 34px; padding: 0 var(--pad); color: var(--muted); font-size: 14px; }
.facts span::before { content: "— "; }

/* Split stories */
.stories { display: flex; flex-direction: column; gap: clamp(70px, 9vw, 130px); }
.split { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.split--rev { grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); }
.split--rev .split__media { order: 2; }
.split__media img { width: 100%; height: clamp(380px, 48vw, 680px); object-fit: cover; }
.split__num { font-family: var(--serif); font-weight: 300; font-size: clamp(56px, 6vw, 84px); line-height: 1; color: #cfc5b6; margin: 0 0 12px; }

/* Gallery cards */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 2.4vw, 36px) var(--gap); }
.cards--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(18px, 2vw, 30px) clamp(14px, 1.6vw, 24px); }
.card { display: block; }
.card__img { overflow: hidden; background: var(--soft); aspect-ratio: 4 / 5; }
.card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s ease; }
.card:hover .card__img img { transform: scale(1.035); }
.card__title { font-family: var(--serif); font-weight: 400; font-size: clamp(18px, 1.4vw, 22px); margin: 12px 0 2px; color: var(--ink); }
.card__meta { font-size: 13px; color: var(--muted); }

/* Value / process */
.values { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap); }
.value { border-top: 1px solid var(--ink); padding-top: 20px; }
.value h3 { font-size: 24px; margin-bottom: 8px; }
.value p { color: var(--ink-2); font-size: 15px; margin: 0; }
.steps { counter-reset: s; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); }
.step { counter-increment: s; background: var(--soft); padding: 28px 24px; border-radius: 4px; }
.step::before { content: "0" counter(s); display: block; font-family: var(--serif); font-size: 40px; font-weight: 300; color: #b8ab98; line-height: 1; margin-bottom: 18px; }
.step h3 { font-size: 22px; margin-bottom: 6px; }
.step p { font-size: 15px; color: var(--ink-2); margin: 0; }

/* Quotes */
.quotes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); }
.quote { margin: 0; }
.quote img { width: 100%; aspect-ratio: 4/3; object-fit: cover; margin-bottom: 20px; }
.quote p { font-family: var(--serif); font-weight: 300; font-size: clamp(19px, 1.6vw, 23px); line-height: 1.4; margin-bottom: 12px; }
.quote footer { font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }

/* Band (photo with overlay) */
.band { position: relative; margin: 0 10px; overflow: hidden; }
.band > img { width: 100%; height: clamp(420px, 52vw, 640px); object-fit: cover; }
.band__in { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 22px; padding: 30px; color: #fff; background: rgba(18, 15, 12, .34); }
.band__in h2 { color: #fff; }

/* Secondary (portrait & family) */
.duo { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.1fr); gap: var(--gap); align-items: end; }
.duo a img { width: 100%; height: auto; }
.duo a span { display: block; margin-top: 12px; font-family: var(--serif); font-size: 22px; }
.duo--single { grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); align-items: center; max-width: 1000px; }
.duo--single a img { height: clamp(320px, 34vw, 480px); }

/* Film block */
.film { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.film__media { display: grid; grid-template-columns: 1.2fr 1fr; gap: 10px; align-items: end; }
.film__media img { width: 100%; object-fit: cover; object-position: 50% 30%; }
.film__media img { height: auto; }

/* Journal */
.posts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(28px, 3vw, 44px) var(--gap); }
.post-card { display: block; border-top: 1px solid var(--ink); padding-top: 22px; }
.post-card .card__meta { display: block; letter-spacing: .14em; text-transform: uppercase; font-size: 12px; font-weight: 600; margin-bottom: 14px; }
.post-card:hover h2, .post-card:hover h3 { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.post-card h2, .post-card h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(20px, 1.7vw, 25px); line-height: 1.25; margin: 0 0 10px; }
.post-card p { font-size: 15px; color: var(--ink-2); margin: 0 0 12px; }

/* Page headers */
.page-head { text-align: center; padding: clamp(48px, 7vw, 96px) var(--pad) clamp(30px, 4vw, 54px); }
.page-head p.lead { max-width: 640px; margin: 18px auto 0; }
.page-hero img { width: 100%; height: clamp(360px, 56vw, 720px); object-fit: cover; }

/* Gallery single */
.g-body { max-width: 1000px; margin: 0 auto; padding: 0 var(--pad) 40px; }
.g-body .wp-block-gallery { display: flex !important; flex-wrap: nowrap !important; gap: 10px !important; margin: 0 0 10px !important; }
.g-body .wp-block-gallery.has-nested-images figure.wp-block-image { margin: 0 !important; flex: 1 1 0 !important; width: auto !important; }
.g-body .wp-block-gallery figure.wp-block-image img { width: 100%; height: 100% !important; object-fit: cover; cursor: zoom-in; }
.g-body .wp-block-gallery.columns-1 img { width: 100% !important; height: auto !important; }
/* a lone vertical photo never gets taller than the screen */
@media (min-width: 641px) {
  .g-body .wp-block-gallery.columns-1 figure.is-tall { display: flex !important; justify-content: center; }
  .g-body .wp-block-gallery.columns-1 figure.is-tall img { width: auto !important; max-width: 100%; max-height: calc(100vh - var(--header) - 48px); }
}
.g-body > p, .g-body > .wp-block-group { max-width: 720px; margin-left: auto; margin-right: auto; }
.g-nav { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); max-width: 1000px; margin: 40px auto 0; padding: 0 var(--pad); }
.g-nav a { display: grid; grid-template-columns: 120px 1fr; gap: 16px; align-items: center; }
.g-nav a:last-child { grid-template-columns: 1fr 120px; text-align: right; }
.g-nav a:last-child img { order: 2; }
.g-nav img { width: 120px; height: 90px; object-fit: cover; }
.g-nav small { display: block; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.g-nav strong { font-family: var(--serif); font-weight: 400; font-size: 21px; }

/* Entry content */
.entry { font-size: 17px; line-height: 1.8; color: #2b2723; }
.entry > * { margin-top: 0; margin-bottom: 1.15em; }
.entry h2 { font-size: clamp(28px, 3vw, 38px); margin-top: 1.6em; }
.entry h3 { font-size: clamp(22px, 2.2vw, 28px); margin-top: 1.4em; }
.entry h1 { font-size: clamp(30px, 3.4vw, 42px); }
.entry a { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.entry ul, .entry ol { padding-left: 1.2em; }
.entry li { margin-bottom: .4em; }
.entry img { margin: 0 auto; }
.entry .wp-block-image { margin: 2em 0; }
.entry .wp-block-separator { border: 0; border-top: 1px solid var(--line); margin: 3em auto; }
.entry blockquote { margin: 2em 0; padding: 0 0 0 24px; border-left: 2px solid var(--ink); font-family: var(--serif); font-size: 22px; line-height: 1.45; }
.entry table { width: 100%; border-collapse: collapse; font-size: 15px; display: block; overflow-x: auto; }
.entry td, .entry th { border-bottom: 1px solid var(--line); padding: 10px 8px; text-align: left; vertical-align: top; }
.has-text-align-center { text-align: center; }
.single-head { text-align: center; padding: clamp(40px, 6vw, 80px) var(--pad) 30px; }
.single-head h1 { font-size: clamp(34px, 4.6vw, 60px); max-width: 980px; margin: 0 auto 16px; }
.post-cta { margin: 3em 0; padding: 30px; background: var(--soft); display: grid; grid-template-columns: 120px 1fr; gap: 22px; align-items: center; }
.post-cta img { width: 120px; height: 150px; object-fit: cover; }
.post-cta p { margin: 0 0 12px; font-family: var(--serif); font-size: 22px; line-height: 1.3; }
.tags { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.tags a { margin-right: 12px; }

/* About page */
.about-hero { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(28px, 5vw, 80px); align-items: center; max-width: 1080px; }
.about-hero img { width: 100%; max-width: 420px; height: auto; aspect-ratio: 4 / 5; object-fit: cover; justify-self: end; display: block; margin-left: auto; }
.about-hero__title { font-size: clamp(34px, 3.6vw, 54px); line-height: 1.1; }
.about-hero .lead { font-size: 16px; }
.people { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 60px); }
.person img { width: 100%; height: clamp(380px, 42vw, 600px); object-fit: cover; margin-bottom: 24px; }
.person h3 { font-size: 36px; margin-bottom: 4px; }
.person .role { font-size: 13px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: 16px; }

/* Reviews page */
.reviews { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 5vw, 80px) clamp(28px, 4vw, 60px); }
.review img { width: 100%; height: clamp(300px, 32vw, 460px); object-fit: cover; margin-bottom: 22px; }
.review blockquote { margin: 0; font-family: var(--serif); font-weight: 300; font-size: clamp(19px, 1.6vw, 22px); line-height: 1.5; }
.review cite { display: block; margin-top: 14px; font-style: normal; font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }

/* Enquiry section (on every page) */
.enquire { background: var(--soft); padding: clamp(64px, 8vw, 110px) 0; margin-top: clamp(60px, 8vw, 110px); }
.enquire__grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.enquire__aside .photos { display: grid; grid-template-columns: 1.3fr 1fr; gap: 10px; margin-top: 34px; align-items: end; }
.enquire__aside .photos img { width: 100%; object-fit: cover; }
.enquire__aside .photos img { height: auto; }
.checklist { list-style: none; padding: 0; margin: 24px 0 0; }
.checklist li { position: relative; padding-left: 28px; margin-bottom: 10px; color: var(--ink-2); font-size: 15px; }
.checklist li::before { content: ""; position: absolute; left: 2px; top: 8px; width: 12px; height: 7px; border-left: 1.5px solid var(--ink); border-bottom: 1.5px solid var(--ink); transform: rotate(-45deg); }
.enquire__form { background: #fff; padding: clamp(24px, 3.4vw, 46px); border-radius: 6px; }

/* Flo Forms skin */
.flo-form .form-style1 { display: flex; flex-wrap: wrap; gap: 0 18px; }
.flo-form .field-row { margin: 0 0 18px; padding: 0 !important; float: none !important; }
.flo-form .field-row.width-100 { flex: 1 1 100%; }
.flo-form .field-row.width-50 { flex: 1 1 calc(50% - 9px); min-width: 220px; }
.flo-form .main-label, .flo-form label.main-label { display: block; font-family: var(--sans) !important; font-size: 13px !important; font-weight: 600 !important; color: var(--ink) !important; margin: 0 0 7px !important; letter-spacing: .01em; text-transform: none !important; }
.flo-form input[type=text], .flo-form input[type=email], .flo-form textarea, .flo-form select {
  width: 100% !important; min-height: 50px; border: 1px solid #d8d0c4 !important; border-radius: 4px !important; background: #fff !important; padding: 12px 14px !important;
  font: 400 16px/1.4 var(--sans) !important; color: var(--ink) !important; box-shadow: none !important; -webkit-appearance: none; appearance: none; }
.flo-form select { background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%) !important; background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50% !important; background-size: 5px 5px !important; background-repeat: no-repeat !important; padding-right: 40px !important; }
.flo-form textarea { min-height: 110px; resize: vertical; }
.flo-form input:focus, .flo-form textarea:focus, .flo-form select:focus { border-color: var(--ink) !important; outline: none; }
.flo-form ::placeholder { color: #9b9184; opacity: 1; }
.flo-form .field-box.radio_button { display: flex; flex-wrap: wrap; gap: 8px; }
.flo-form .the-choice { display: inline-flex; margin: 0 !important; }
.flo-form .kh-f-type label.choice { display: inline-flex; align-items: center; min-height: 46px; padding: 10px 18px; border: 1px solid #d8d0c4; border-radius: 40px; cursor: pointer; font-size: 15px; background: #fff; margin: 0 !important; transition: border-color .2s, background .2s, color .2s; }
.flo-form .kh-f-type label.choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.flo-form .kh-f-type label.choice:has(input:checked) { background: var(--ink); border-color: var(--ink); color: #fff; }
.flo-form .kh-f-type label.choice:has(input:focus-visible) { outline: 2px solid var(--ink); outline-offset: 2px; }
.flo-form .kh-f-film label.choice { display: inline-flex; align-items: flex-start; gap: 10px; font-size: 15px; cursor: pointer; color: var(--ink-2); margin: 0 !important; }
.flo-form .kh-f-film input { width: 18px; height: 18px; margin: 3px 0 0; accent-color: var(--ink); }
.flo-form .submit-row { flex: 1 1 100%; margin: 6px 0 0 !important; position: relative; }
.flo-form .flo-submit-button { min-height: 54px; padding: 16px 34px !important; border-radius: 40px !important; background: var(--ink) !important; color: #fff !important; border: 0 !important; font: 600 15px/1 var(--sans) !important; letter-spacing: .02em; cursor: pointer; width: auto; text-transform: none !important; }
.flo-form .flo-submit-button:hover { background: #3a352f !important; }
.flo-form label.error, .flo-form .error:not(input):not(textarea):not(select) { display: block; color: #a3261b !important; font-size: 13px !important; margin-top: 6px !important; font-family: var(--sans) !important; }
.flo-form input.error, .flo-form textarea.error { border-color: #a3261b !important; }
.flo-response, .flo-form .response, .flo-form-response { font-family: var(--serif); font-size: 21px; line-height: 1.4; }
.form-note { font-size: 13px; color: var(--muted); margin: 14px 0 0; }

/* Footer */
.site-footer { padding: 54px var(--pad) 34px; }
.site-footer__in { max-width: var(--wrap); margin: 0 auto; display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 30px; align-items: start; }
.site-footer .logo { font-size: 27px; align-items: flex-start; margin-bottom: 18px; }
.site-footer p, .site-footer li { font-size: 14px; color: var(--ink-2); }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.site-footer h4 { font-family: var(--sans); font-size: 12px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.site-footer__bottom { max-width: var(--wrap); margin: 40px auto 0; padding-top: 20px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: 13px; color: var(--muted); }

/* Lightbox */
.lb { position: fixed; inset: 0; z-index: 100; background: rgba(255,255,255,.98); display: none; align-items: center; justify-content: center; }
.lb.is-open { display: flex; }
.lb img { max-width: 94vw; max-height: 90vh; width: auto; height: auto; }
.lb button { position: absolute; background: none; border: 0; cursor: pointer; font-size: 34px; line-height: 1; padding: 16px; color: var(--ink); min-width: 52px; min-height: 52px; }
.lb__close { top: 6px; right: 8px; }
.lb__prev { left: 4px; top: 50%; transform: translateY(-50%); }
.lb__next { right: 4px; top: 50%; transform: translateY(-50%); }

/* Mobile sticky CTA */
.mobile-cta { display: none; }

/* Pagination */
.pagination { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px; margin-top: 60px; font-family: var(--serif); font-size: 18px; }
.pagination .page-numbers { min-width: 44px; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; padding: 0 10px; }
.pagination .current { border-bottom: 1px solid var(--ink); }

/* ---------- Responsive ---------- */
/* Desktop: logo centred on the first row, menu on its own row underneath */
@media (min-width: 981px) {
  :root { --header: 110px; }
  .site-header__in { grid-template-areas: "l logo cta" "nav nav nav"; height: auto; row-gap: 0; padding-top: 16px; }
  .site-header__in > div:first-child { display: contents !important; }
  .burger { grid-area: l; }
  .logo { grid-area: logo; }
  .header-cta { grid-area: cta; }
  .nav-main { grid-area: nav; justify-self: center; }
  .nav-main ul { gap: clamp(28px, 2.6vw, 40px); }
  .nav-main a { font-size: 13px; letter-spacing: .18em; padding: 12px 0 13px; }
}
@media (max-width: 980px) {
  :root { --header: 64px; }
  /* backdrop-filter would make the header the containing block of the fixed menu and squash it to 60px */
  .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: #fff; }
  .site-header__in { grid-template-columns: auto 1fr auto; }
  .burger { display: inline-flex; }
  .logo { justify-self: center; font-size: 21px; }
  .nav-main { position: fixed; top: var(--header); left: 0; right: 0; bottom: auto; height: calc(100vh - var(--header)); height: calc(100dvh - var(--header)); box-sizing: border-box; background: #fff; z-index: 59; padding: 30px var(--pad); overflow-y: auto; opacity: 0; visibility: hidden; transition: opacity .25s, visibility .25s; }
  .menu-open .nav-main { opacity: 1; visibility: visible; transition: none; }
  .menu-open { overflow: hidden; }
  .nav-main ul { flex-direction: column; gap: 0; }
  .nav-main a { font-size: 26px; font-weight: 500; letter-spacing: .12em; padding: 10px 0; }
  .nav-main .sub-menu { display: flex; position: static; border: 0; padding: 0 0 6px 18px; min-width: 0; }
  .nav-main .sub-menu a { font-size: 22px; color: var(--ink-2); }
  .header-cta .btn { padding: 10px 14px; min-height: 40px; }
}
@media (max-width: 1180px) {
  .cards--4 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .values { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 980px) {
  .split, .split--rev, .film, .about-hero, .enquire__grid { grid-template-columns: 1fr; }
  .about-hero img { margin: 0 auto; }
  .about-hero > div:last-child { text-align: center; } .about-hero .btns { justify-content: center; }
  .split--rev .split__media { order: 0; }
  .cards, .cards--4, .posts, .quotes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .duo { grid-template-columns: 1fr 1fr; }
  .duo > div { grid-column: 1 / -1; order: -1; }
  .duo--single { grid-template-columns: 1fr; }
  .site-footer__in { grid-template-columns: 1fr 1fr; }
  .site-footer__in > div:first-child { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .cards, .posts, .quotes, .values, .steps, .reviews, .people { grid-template-columns: 1fr; }
  .cards--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 12px; }
  .cards--4 .card__title { font-size: 17px; margin-top: 8px; }
  .card__img { aspect-ratio: 4 / 5; }
  .strip img { --strip-h: 62vh; max-height: 520px; }
  .strip--small img { --strip-h: 260px; }
  .header-cta .btn { display: none; }
  .mobile-cta { display: flex; position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 55; transform: translateY(140%); transition: transform .3s; }
  .mobile-cta.is-visible { transform: none; }
  .mobile-cta .btn { width: 100%; box-shadow: 0 6px 24px rgba(0,0,0,.18); }
  .g-body { padding: 0 8px 30px; }
  .g-body .wp-block-gallery { gap: 6px !important; margin-bottom: 6px !important; }
  .logo { font-size: 19px; }
  .g-nav { grid-template-columns: 1fr; }
  .g-nav a, .g-nav a:last-child { grid-template-columns: 90px 1fr; text-align: left; }
  .g-nav a:last-child img { order: 0; }
  .g-nav img { width: 90px; height: 70px; }
  .flo-form .field-row.width-50 { flex-basis: 100%; min-width: 0; }
  .flo-form .flo-submit-button { width: 100%; }
  .post-cta { grid-template-columns: 1fr; }
  .post-cta img { display: none; }
  .site-footer__in { grid-template-columns: 1fr; }
  .facts { flex-direction: column; align-items: center; gap: 4px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }

/* About: balanced columns */
.about-entry .wp-block-columns { gap: clamp(28px, 4vw, 64px); align-items: flex-start; margin-bottom: 0; }
.about-entry .wp-block-column .wp-block-image { margin: 0 0 24px; }
.about-entry .wp-block-column .wp-block-image img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.about-entry .wp-block-columns:first-child .wp-block-image img { aspect-ratio: 3 / 2; }
.about-entry h2 { margin-top: 0; }
.about-entry h2 { font-size: clamp(26px, 2.4vw, 34px); }
.about-entry h3 { font-size: 26px; margin: 0 0 10px; }
.about-entry ul { list-style: none; padding: 0; }
.about-entry li { padding: 12px 0; border-bottom: 1px solid var(--line); margin: 0; }
@media (max-width: 781px) { .about-entry .wp-block-columns { flex-wrap: wrap; } .about-entry .wp-block-column { flex-basis: 100% !important; } }

/* Cards: favour people over sky when cropping */
.card__img img, .quote img { object-position: 50% 68%; }

/* Private packages page */
.pk-entry { max-width: 1180px; }
.pk-entry .pk-cards { display: grid !important; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); align-items: stretch; margin: 0 0 48px; }
.pk-entry .pk-cards > .wp-block-column { border: 1px solid var(--line); padding: clamp(18px, 2vw, 28px); display: flex; flex-direction: column; margin: 0; }
.pk-entry .pk-cards > .wp-block-column.is-featured { border-color: var(--ink); }
.pk-entry .pk-img { margin: 0 0 22px !important; }
.pk-entry .pk-img img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; display: block; }
.pk-entry .pk-kicker { font-size: 11px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin: 0 0 6px; }
.pk-entry .wp-block-column h3 { font-size: clamp(24px, 2vw, 30px); margin: 0 0 12px; }
.pk-entry .wp-block-column h4 { font-family: var(--sans); font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ink); margin: 22px 0 6px; }
.pk-entry .pk-intro, .pk-entry .pk-note { font-size: 15px; color: var(--ink-2); margin: 0 0 6px; }
.pk-entry .pk-note { margin-top: 10px; }
.pk-entry .wp-block-column ul { list-style: none; padding: 0; margin: 0; font-size: 15px; color: var(--ink-2); }
.pk-entry .wp-block-column li { padding: 8px 0; border-bottom: 1px solid var(--line); margin: 0; line-height: 1.5; }
.pk-entry .wp-block-column li:last-child { border-bottom: 0; }
.pk-entry .pk-rates li { display: flex; justify-content: space-between; gap: 14px; align-items: baseline; color: var(--ink); }
.pk-entry .pk-rates strong { font-family: var(--serif); font-weight: 400; font-size: 19px; white-space: nowrap; }
.pk-entry .pk-price { font-family: var(--serif); font-weight: 300; font-size: clamp(34px, 3vw, 44px); line-height: 1.1; margin: 4px 0 0; }
.pk-entry .pk-price s { font-size: .5em; color: var(--muted); margin-right: 10px; vertical-align: middle; }
.pk-entry .pk-cta { margin: auto 0 0; padding-top: 26px; text-align: center; }
.pk-entry .pk-cta .btn { min-width: 180px; }
.pk-entry .pk-callout { text-align: center; font-family: var(--serif); font-weight: 300; font-size: clamp(20px, 2vw, 26px); margin: 0 auto 64px; max-width: 760px; }
.pk-entry .pk-callout a { border-bottom: 1px solid currentColor; }
.pk-entry > h2 { font-size: clamp(26px, 2.4vw, 34px); margin: 0 auto 12px; max-width: 760px; }
.pk-entry > p { max-width: 760px; margin-left: auto; margin-right: auto; }
.pk-entry .pk-closing { border-top: 1px solid var(--line); padding-top: 22px; margin-top: 30px; color: var(--ink-2); }
@media (max-width: 980px) { .pk-entry .pk-cards { grid-template-columns: 1fr; max-width: 560px; margin-left: auto; margin-right: auto; } }
.pk-entry .pk-cta .btn { text-decoration: none; }
.pk-entry .pk-cards > .wp-block-column:nth-child(1) .pk-img img { object-position: 50% 85%; }
.pk-entry .pk-cards > .wp-block-column:nth-child(2) .pk-img img { object-position: 50% 90%; }
.pk-entry .pk-cards > .wp-block-column:nth-child(3) .pk-img img { object-position: 50% 62%; }
/* Viktoriia's portrait is shown whole, in its original proportions (no crop) */
.about-entry .wp-block-column .wp-block-image img.wp-image-1402 { aspect-ratio: auto; height: auto; object-fit: contain; }

.form-note--privacy { margin-top: 6px; font-size: 12px; }
.review--text { align-self: center; background: var(--soft); padding: clamp(28px, 4vw, 56px); }
.review--text blockquote { font-size: clamp(20px, 1.8vw, 26px); }

/* Heading variant B: headings in the logo typeface (Cormorant Garamond) */
body.font-b { --serif: "KH Cormorant", "Cormorant Garamond", Georgia, serif; }
body.font-b h1, body.font-b h2, body.font-b h3, body.font-b .display, body.font-b .h2, body.font-b .h3 { font-weight: 400; letter-spacing: 0; }
body.font-b .display { line-height: 1; }
body.font-b .card__title, body.font-b .post-card h2, body.font-b .post-card h3, body.font-b .pk-entry .wp-block-column h3 { font-weight: 500; }
body.font-b .quote p, body.font-b .review blockquote, body.font-b .pk-price, body.font-b .split__num, body.font-b .step::before { font-weight: 400; }
body.font-b .split__num, body.font-b .step::before, body.font-b .pk-price, body.font-b .pk-rates strong { font-variant-numeric: lining-nums; }
/* Our own photos inside blog articles */
.entry .kh-auto-photo { margin: 2.6em 0; }
.entry .kh-auto-photo img { width: 100%; height: auto; display: block; }
.entry .kh-auto-photo figcaption { font-size: 13px; color: var(--muted); text-align: center; margin-top: 10px; }
.entry .kh-auto-photo figcaption a { color: var(--ink); border-bottom: 1px solid currentColor; }

/* Journal structure */
.journal-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; margin: 34px auto 0; font-size: 14px; }
.journal-nav a { color: var(--ink-2); padding: 6px 0; border-bottom: 1px solid transparent; }
.journal-nav a:hover, .journal-nav a[aria-current] { color: var(--ink); border-bottom-color: var(--ink); }
.journal-start { border: 1px solid var(--line); padding: clamp(22px, 3vw, 36px); margin-bottom: clamp(36px, 5vw, 60px); }
.journal-start h2 { margin: 0 0 14px; }
.journal-start ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.journal-start a { border-bottom: 1px solid var(--line); }
.byline { font-size: 14px; color: var(--muted); margin: 14px 0 0; }
.byline a { border-bottom: 1px solid currentColor; }
.eyebrow a { color: inherit; }
.toc { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 14px 0; font-size: 15px; }
.toc summary { cursor: pointer; font-weight: 600; min-height: 28px; }
.toc ol { margin: 12px 0 4px; }
.entry h2[id] { scroll-margin-top: 130px; }
.kh-next { border-top: 1px solid var(--ink); padding-top: 18px; margin-top: 2.6em; }
.kh-next p { font-weight: 600; margin: 0 0 10px; }
.kh-next ul { margin: 0; }
.kh-note { font-size: 14px; color: var(--muted); }
.g-guides { font-size: 15px; margin-top: 26px; color: var(--ink-2); }

/* Long names without spaces must not widen the page on phones */
.card__title { overflow-wrap: anywhere; }
.cards > * { min-width: 0; }
