/*
Theme Name: HERITAGE
Theme URI: https://claimyourheritage.eu/
Author: HERITAGE
Description: The HERITAGE website theme: black, pearl and blush, Grapevine headlines, bilingual (English / Slovak with Polylang). Run Appearance → HERITAGE setup once after activating.
Version: 1.0.2
Requires at least: 6.4
Requires PHP: 7.4
License: All rights reserved
Text Domain: heritage
*/

/* ---------- fonts (stored on this website, no Google tracking) ---------- */
@font-face { font-family: "Grapevine"; src: url("assets/fonts/grapevine.ttf") format("truetype"); font-display: swap; }
@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 300 700; font-display: swap; src: url("assets/fonts/cormorant-latin-ext-wght-normal.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 300 700; font-display: swap; src: url("assets/fonts/cormorant-latin-wght-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Cormorant Garamond"; font-style: italic; font-weight: 300 700; font-display: swap; src: url("assets/fonts/cormorant-latin-ext-wght-italic.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Cormorant Garamond"; font-style: italic; font-weight: 300 700; font-display: swap; src: url("assets/fonts/cormorant-latin-wght-italic.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("assets/fonts/montserrat-latin-ext-wght-normal.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("assets/fonts/montserrat-latin-wght-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* ---------- brand tokens ---------- */
:root {
	--ink: #121010;
	--pearl: #f7f1ea;
	--paper: #fffaf4;
	--blush: #f3d5d8;
	--rose: #c7848f;
	--bordeaux: #7d2c42;
	--gold: #b89a64;
	--text: #121010;
	--muted: #6d5f58;
	--line: #e4d8cc;
	--on-ink: #f3ebe2;
	--on-ink-muted: #bfb1a7;
	--line-ink: #3a2f2b;
	--display: "Grapevine", "Cormorant Garamond", Georgia, serif;
	--serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
	--sans: "Montserrat", "Helvetica Neue", Arial, sans-serif;
	--gut: max(20px, calc((100% - 1200px) / 2));
	--display-weight: 400;
	--display-tracking: .01em;
	color-scheme: light;
}
/* Grapevine has no č, ď, ľ, ň, ť – Slovak pages use Cormorant Garamond for headlines. */
html[lang^="sk"] { --display: "Cormorant Garamond", Georgia, serif; --display-weight: 500; --display-tracking: 0; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 120px; }
html, body { background: var(--pearl); color: var(--text); margin: 0; }
body { font-family: var(--serif); font-size: 20px; line-height: 1.6; font-weight: 400; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--rose); outline-offset: 3px; }
.hx-skip { position: absolute; left: -9999px; top: 0; z-index: 100; background: var(--blush); color: var(--ink); padding: 12px 16px; font-family: var(--sans); }
.hx-skip:focus { left: 12px; top: 12px; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); }

/* ---------- reset block spacing inside our pages ---------- */
.hx-content { display: block; }
.hx-content :where(p, h1, h2, h3, h4, figure, ul, ol, blockquote) { margin: 0; }
.hx-content .wp-block-group > * { margin-block: 0; }
.hx-content .wp-block-image { margin: 0; }
.hx-content .wp-block-image img { width: 100%; }
.hx-content p { max-width: 62ch; }
.hx-content :where(h1, h2, h3) { font-weight: 400; text-wrap: balance; }

/* ---------- type ---------- */
.hx-display { font-family: var(--display); font-weight: var(--display-weight); line-height: 1.05; letter-spacing: var(--display-tracking); }
h1.hx-display { font-size: clamp(42px, 7vw, 92px); }
h2.hx-display { font-size: clamp(34px, 5vw, 60px); }
h3.hx-display { font-size: clamp(26px, 3vw, 36px); }
.hx-eyebrow { font-family: var(--sans); font-size: 12px; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: var(--bordeaux); }
.hx-lede { font-size: clamp(21px, 2.2vw, 25px); font-style: italic; color: var(--muted); }
.hx-small { font-family: var(--sans); font-size: 13px; line-height: 1.55; color: var(--muted); }
.hx-sig { font-family: "Grapevine", var(--serif); font-size: 34px; line-height: 1.1; color: var(--bordeaux); }
.hx-her { color: var(--rose); font-weight: 700; }
.hx-go { font-family: var(--sans); font-size: 11.5px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; }
.hx-go a { text-decoration: none; border-bottom: 1px solid var(--rose); padding-bottom: 4px; }
.hx-go a:hover { color: var(--bordeaux); }
.hx-pill { font-family: var(--sans); font-size: 10px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; border: 1px solid currentColor; padding: 3px 7px; white-space: nowrap; display: inline-block; line-height: 1.4; }
p.hx-pill { color: var(--gold); align-self: flex-start; }

/* ---------- buttons (editor buttons + form buttons) ---------- */
.hx-content .wp-block-buttons { display: flex; flex-wrap: wrap; gap: 12px; }
.hx-content .wp-block-button { margin: 0; }
.hx-content .wp-block-button__link, .hx-btn {
	font-family: var(--sans); font-size: 12px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; line-height: 1.3;
	text-decoration: none; padding: 15px 26px; border: 1px solid currentColor; border-radius: 0;
	display: inline-flex; align-items: center; gap: 10px; cursor: pointer; background: transparent; color: inherit;
	transition: background-color .25s, color .25s, border-color .25s;
}
.hx-content .is-style-hx-solid .wp-block-button__link, .hx-btn-solid { background: var(--blush); color: var(--ink); border-color: var(--blush); }
.hx-content .is-style-hx-solid .wp-block-button__link:hover, .hx-btn-solid:hover { background: var(--paper); border-color: var(--paper); }
.hx-content .is-style-hx-dark .wp-block-button__link, .hx-btn-dark { background: var(--ink); color: var(--on-ink); border-color: var(--ink); }
.hx-content .is-style-hx-dark .wp-block-button__link:hover, .hx-btn-dark:hover { background: var(--bordeaux); border-color: var(--bordeaux); color: #fff; }
.hx-content .is-style-hx-line .wp-block-button__link { color: var(--on-ink); border-color: var(--on-ink); }
.hx-content .is-style-hx-line .wp-block-button__link:hover { background: var(--on-ink); color: var(--ink); }
.hx-content .is-style-hx-line-dark .wp-block-button__link { color: var(--ink); border-color: var(--ink); }
.hx-content .is-style-hx-line-dark .wp-block-button__link:hover { background: var(--ink); color: var(--on-ink); }
.hx-ink .is-style-hx-dark .wp-block-button__link { background: var(--blush); color: var(--ink); border-color: var(--blush); }

/* ---------- top bar ---------- */
.hx-topbar { background: #0b0909; color: var(--on-ink-muted); font-family: var(--sans); font-size: 11px; letter-spacing: .14em; }
.hx-topbar-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 38px; padding-inline: var(--gut); }
.hx-topbar-tag { text-transform: uppercase; }
.hx-topbar-right { display: flex; align-items: center; gap: 22px; margin-left: auto; }
.hx-social { display: inline-flex; align-items: center; gap: 14px; }
.hx-social a { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; color: inherit; }
.hx-social a:hover { color: var(--blush); }
.hx-social svg { flex: none; }
.hx-social-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); }
.hx-social-labels .hx-social-label { position: static; width: auto; height: auto; overflow: visible; clip: auto; }
.hx-lang { display: inline-flex; align-items: center; gap: 8px; font-family: var(--sans); font-size: 11.5px; font-weight: 600; letter-spacing: .16em; }
.hx-lang a { text-decoration: none; opacity: .75; }
.hx-lang a:hover { opacity: 1; color: var(--blush); }
.hx-lang-current { color: var(--blush); }
.hx-lang-sep { opacity: .4; }

/* ---------- header ---------- */
.hx-header { position: sticky; top: 0; z-index: 50; background: var(--ink); color: var(--on-ink); border-bottom: 1px solid var(--line-ink); }
.admin-bar .hx-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .hx-header { top: 0; } }
.hx-bar { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 80px; padding-inline: var(--gut); position: relative; }
.hx-brand { display: flex; align-items: center; flex-shrink: 0; }
.hx-brand img { height: 50px; width: auto; }
.hx-nav { display: flex; align-items: center; }
.hx-menu { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 22px; font-family: var(--sans); font-size: 11.5px; font-weight: 500; letter-spacing: .15em; text-transform: uppercase; }
.hx-menu li { margin: 0; }
.hx-menu a { text-decoration: none; padding-block: 6px; border-bottom: 1px solid transparent; display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.hx-menu a:hover, .hx-menu a[aria-current="page"], .hx-menu .current-menu-item > a { border-bottom-color: var(--blush); color: var(--blush); }
.hx-menu .hx-pill { color: var(--gold); border-color: var(--gold); }
.hx-menu .hx-sep-before { border-left: 1px solid var(--line-ink); padding-left: 22px; }
.hx-menu .hx-cta a { background: var(--blush); color: var(--ink); padding: 12px 18px; border: 0; font-weight: 600; }
.hx-menu .hx-cta a:hover, .hx-menu .hx-cta.current-menu-item a { background: var(--paper); color: var(--ink); }
.hx-menu-btn { display: none; background: none; border: 1px solid var(--line-ink); color: var(--on-ink); font-family: var(--sans); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; padding: 10px 14px; cursor: pointer; }
.hx-mobile-book { display: none; }

/* ---------- hero ---------- */
.hx-hero { position: relative; color: #fff; background: var(--ink); overflow: hidden; padding: clamp(80px, 12vw, 170px) var(--gut); }
.hx-hero .hx-hero-bg { position: absolute; inset: 0; z-index: 0; }
.hx-hero .hx-hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 35%; opacity: .82; }
.hx-hero::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(18,16,16,.94) 0%, rgba(18,16,16,.6) 45%, rgba(18,16,16,.08) 85%); pointer-events: none; }
.hx-hero-inner { position: relative; z-index: 2; max-width: 640px; display: flex; flex-direction: column; gap: 26px; }
.hx-hero h1 { color: var(--blush); }
.hx-hero p { color: #e8dfd6; font-size: clamp(19px, 2vw, 23px); }
.hx-hero .hx-eyebrow { color: var(--blush); font-size: 12px; }

/* ---------- sections ---------- */
.hx-section { padding: clamp(64px, 9vw, 120px) var(--gut); display: flex; flex-direction: column; gap: 22px; }
.hx-tight { padding-bottom: clamp(36px, 4vw, 56px); gap: 12px; }
.hx-tight-top { padding-top: 0; }
.hx-tight-y { padding-block: 56px; }
.hx-ink { background: var(--ink); color: var(--on-ink); }
.hx-ink .hx-eyebrow { color: var(--blush); }
.hx-ink .hx-lede, .hx-ink .hx-small { color: var(--on-ink-muted); }
.hx-blush { background: var(--blush); }
.hx-center { align-items: center; text-align: center; }
.hx-center p { margin-inline: auto; }
.hx-stack { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.hx-stack .wp-block-buttons { margin-top: 6px; }

.hx-split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.hx-split > * { min-width: 0; }
.hx-split.hx-top { align-items: start; }
.hx-split-img img { aspect-ratio: 4 / 5; object-fit: cover; object-position: center 25%; }
.hx-portrait .hx-split-img { order: 2; }
.hx-portrait .hx-split-img img { aspect-ratio: 3 / 4; object-position: center 20%; }
.hx-ink.hx-split .hx-split-img img { aspect-ratio: 4 / 3; }
.hx-sig + .hx-small { margin-top: -12px; }

/* four sectors */
.hx-sectors { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; padding-inline: 6px; }
.hx-sector { position: relative; overflow: hidden; background: var(--ink); color: #fff; aspect-ratio: 3 / 4.4; display: flex; flex-direction: column; justify-content: flex-end; gap: 10px; padding: 24px; }
.hx-sector .wp-block-image { position: absolute; inset: 0; z-index: 0; }
.hx-sector .wp-block-image img { width: 100%; height: 100%; object-fit: cover; opacity: .82; transition: transform 1.2s ease, opacity .5s; }
.hx-sector:hover .wp-block-image img { transform: scale(1.05); opacity: .95; }
.hx-sector::after { content: ""; position: absolute; inset: 40% 0 0; z-index: 1; background: linear-gradient(transparent, rgba(18,16,16,.92) 55%); pointer-events: none; }
.hx-sector > :not(.wp-block-image) { position: relative; z-index: 2; }
.hx-sector h3 { font-family: var(--display); font-weight: var(--display-weight); font-size: clamp(28px, 2.6vw, 38px); line-height: 1.05; color: var(--blush); }
.hx-sector p { font-size: 17px; line-height: 1.45; color: #e8dfd6; }
.hx-sector .hx-go { position: static; }
.hx-sector .hx-go a { border: 0; color: #fff; }
.hx-sector .hx-go a::after, .hx-card .hx-go a::after { content: ""; position: absolute; inset: 0; z-index: 3; }

/* countess cards */
.hx-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 18px; }
.hx-card { position: relative; display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.hx-card .wp-block-image { aspect-ratio: 3 / 4; overflow: hidden; background: var(--ink); }
.hx-card .wp-block-image img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; transition: transform 1s ease; }
.hx-card:hover .wp-block-image img { transform: scale(1.04); }
.hx-card-title { font-family: var(--serif); font-weight: 600 !important; font-size: 25px; line-height: 1.2; }
.hx-meta { font-family: var(--sans); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.hx-card p { font-size: 18px; line-height: 1.5; }

.hx-logos { font-family: var(--sans); font-size: 13px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); line-height: 2.2; max-width: 90ch !important; }

/* blush call to action */
.hx-bookband { background: var(--blush); display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px; padding: 56px var(--gut); }
.hx-bookband h2 { max-width: 20ch; }

/* couture coming soon */
.hx-soon { display: grid; grid-template-columns: 1fr 1fr; background: var(--ink); color: var(--on-ink); }
.hx-soon > * { min-width: 0; }
.hx-soon-img img { width: 100%; height: 100%; min-height: 460px; object-fit: cover; object-position: center 20%; }
.hx-soon-img { height: 100%; }
.hx-soon-text { padding: clamp(32px, 5vw, 72px); display: flex; flex-direction: column; justify-content: center; gap: 20px; }
.hx-soon-text h1, .hx-soon-text h2 { color: var(--blush); }
.hx-soon-text p { color: #e8dfd6; }
.hx-soon-text .hx-eyebrow { color: var(--blush); }
.hx-soon-page { min-height: 72vh; }

.hx-quote { font-family: var(--display); font-weight: var(--display-weight); font-size: clamp(30px, 4.4vw, 54px); line-height: 1.15; max-width: 24ch !important; color: var(--blush); }
.hx-quote-by { font-family: var(--sans); font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--on-ink-muted); }

/* ---------- inner pages ---------- */
.hx-pagehead { padding: clamp(56px, 8vw, 104px) var(--gut) clamp(40px, 5vw, 64px); display: flex; flex-direction: column; gap: 20px; }
.hx-pagehead > * { max-width: 820px; }
.hx-pagehead.hx-ink h1 { color: var(--blush); }
.hx-pagehero img { width: 100%; height: clamp(300px, 46vw, 580px); object-fit: cover; }

.hx-feature { display: grid; grid-template-columns: 1.1fr 1fr; background: var(--ink); color: var(--on-ink); }
.hx-feature > * { min-width: 0; }
.hx-feature-img { height: 100%; }
.hx-feature-img img { width: 100%; height: 100%; min-height: 440px; object-fit: cover; }
.hx-feature-text { padding: clamp(32px, 5vw, 64px); display: flex; flex-direction: column; gap: 20px; justify-content: center; }
.hx-feature-text .hx-eyebrow { color: var(--blush); }
.hx-facts { list-style: none; padding: 0 !important; display: flex; flex-direction: column; gap: 10px; font-size: 18px; }
.hx-facts li { display: grid; grid-template-columns: 120px 1fr; gap: 16px; }
.hx-facts strong { font-family: var(--sans); font-size: 11px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--blush); padding-top: 6px; }

.hx-services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 44px 32px; margin-top: 22px; }
.hx-section > .hx-services:first-child { margin-top: 0; }
.hx-service { display: flex; flex-direction: column; gap: 12px; padding-top: 18px; border-top: 2px solid var(--ink); min-width: 0; }
.hx-service h3 { font-family: var(--display); font-weight: var(--display-weight); font-size: 31px; line-height: 1.1; }
.hx-for { font-family: var(--sans); font-size: 12px; letter-spacing: .05em; color: var(--muted); }

.hx-gallery { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-auto-rows: clamp(180px, 22vw, 300px); gap: 6px; padding-inline: 6px; }
.hx-gallery .wp-block-image { height: 100%; }
.hx-gallery .wp-block-image img { width: 100%; height: 100%; object-fit: cover; }
.hx-gallery > .wp-block-image:first-child { grid-row: span 2; }

.hx-venues { list-style: none; padding: 0 !important; }
.hx-venues li { padding-block: 16px; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; gap: 16px; font-size: 20px; }
.hx-venues em { font-style: normal; font-family: var(--sans); font-size: 12px; letter-spacing: .1em; color: var(--muted); text-transform: uppercase; white-space: nowrap; padding-top: 6px; }
.hx-whofor { font-family: var(--sans); font-size: 14px; letter-spacing: .04em; line-height: 2; max-width: 90ch !important; }

.hx-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; margin-top: 22px; }
.hx-step { display: flex; flex-direction: column; gap: 10px; padding-top: 18px; border-top: 1px solid var(--line-ink); min-width: 0; }
.hx-n { font-family: var(--display); font-size: 46px; color: var(--blush); line-height: 1; }
.hx-step-title { font-family: var(--serif); font-weight: 600 !important; font-size: 24px; }

.hx-layers { list-style: none; padding: 0 !important; columns: 2; column-gap: 48px; }
.hx-layers.hx-one { columns: 1; }
.hx-layers li { break-inside: avoid; padding-block: 14px; border-bottom: 1px solid var(--line); }
.hx-blush .hx-layers li { border-color: rgba(18,16,16,.14); }
.hx-layers strong { display: block; font-family: var(--sans); font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--bordeaux); margin-bottom: 2px; }

/* ---------- HERstory ---------- */
.hx-story { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: start; padding-block: clamp(56px, 7vw, 96px); margin-inline: var(--gut); border-top: 1px solid var(--line); scroll-margin-top: 120px; }
.hx-story > * { min-width: 0; }
.hx-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; position: sticky; top: 140px; }
.hx-pair-img img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; object-position: center 20%; }
.hx-pair-img figcaption, .hx-content .wp-element-caption { font-family: var(--sans); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-top: 8px; text-align: left; }
.hx-story-text { display: flex; flex-direction: column; gap: 18px; }
.hx-dates { font-family: var(--sans); font-size: 13px; letter-spacing: .2em; color: var(--muted); }
.hx-name { font-family: var(--serif); font-weight: 600 !important; font-size: clamp(36px, 4.4vw, 56px); line-height: 1.05; }
.hx-nick { font-style: italic; font-size: 26px; color: var(--bordeaux); margin-top: -10px !important; }
.hx-pull { padding-left: 20px; border-left: 2px solid var(--rose); font-style: italic; font-size: 22px; }

/* ---------- media ---------- */
.hx-media-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 40px 28px; }
.hx-media-card { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.hx-media-img img { aspect-ratio: 4 / 3; object-fit: cover; }
.hx-media-card .wp-block-buttons { margin-top: 4px; }
.hx-media-card .wp-block-button__link { padding: 11px 18px; font-size: 11px; }

/* ---------- book ---------- */
.hx-direct { display: flex; flex-direction: column; gap: 22px; }
.hx-direct p { display: flex; flex-direction: column; gap: 6px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.hx-direct strong { font-family: var(--sans); font-size: 11px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.hx-direct .hx-social { flex-wrap: wrap; gap: 18px; font-family: var(--sans); font-size: 14px; }

/* ---------- forms ---------- */
.hx-enquiry { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.hx-full { grid-column: 1 / -1; }
.hx-field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.hx-field label { font-family: var(--sans); font-size: 11px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.hx-ink .hx-field label, .hx-soon .hx-field label { color: var(--on-ink-muted); }
.hx-field input, .hx-field select, .hx-field textarea { font: inherit; font-size: 18px; background: var(--paper); color: var(--text); border: 1px solid var(--line); border-radius: 0; padding: 12px 14px; width: 100%; }
.hx-field textarea { min-height: 150px; resize: vertical; }
.hx-form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.hx-thanks { background: var(--blush); color: var(--ink) !important; padding: 18px 20px; font-size: 18px; max-width: none !important; }
.hx-error { background: #fbe9e9; color: var(--bordeaux) !important; padding: 14px 18px; font-size: 17px; max-width: none !important; }
.hx-waitlist { display: flex; flex-wrap: wrap; gap: 10px; align-items: flex-end; margin-top: 6px; }
.hx-waitlist .hx-field { flex: 1 1 240px; }
.hx-waitlist .hx-thanks, .hx-waitlist .hx-error { flex-basis: 100%; }
.hx-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* plain pages (privacy policy etc.) */
.hx-prose { max-width: 820px; padding-inline: 20px; margin-inline: auto; }
.hx-prose p, .hx-prose ul { margin-bottom: 1em; }

/* ---------- footer ---------- */
.hx-footer { background: var(--ink); color: var(--on-ink-muted); padding: 72px var(--gut) 40px; }
.hx-foot { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.hx-foot > * { min-width: 0; }
.hx-foot-h { font-family: var(--sans); font-size: 11px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--on-ink); margin: 0 0 14px; }
.hx-foot ul { list-style: none; margin: 0 0 18px; padding: 0; display: flex; flex-direction: column; gap: 9px; font-family: var(--sans); font-size: 14px; }
.hx-foot a { text-decoration: none; }
.hx-foot a:hover { color: var(--blush); }
.hx-foot-tag { font-family: var(--display); font-weight: var(--display-weight); font-size: 26px; color: var(--blush); margin: 18px 0; line-height: 1.15; }
.hx-foot-brand .hx-social { font-family: var(--sans); font-size: 13px; gap: 20px; }
.hx-legal { margin-top: 56px; padding-top: 22px; border-top: 1px solid var(--line-ink); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-family: var(--sans); font-size: 12px; }

/* ---------- responsive ---------- */
@media (max-width: 1240px) {
	.hx-nav { display: none; position: absolute; top: 80px; left: 0; right: 0; background: var(--ink); flex-direction: column; align-items: stretch; padding: 8px var(--gut) 24px; border-bottom: 1px solid var(--line-ink); max-height: calc(100vh - 120px); overflow-y: auto; }
	.hx-nav.is-open { display: flex; }
	.hx-menu { flex-direction: column; align-items: stretch; gap: 0; font-size: 12.5px; }
	.hx-menu a { padding-block: 15px; border-bottom: 1px solid var(--line-ink); display: flex; }
	.hx-menu .hx-sep-before { border-left: 0; padding-left: 0; }
	.hx-menu .hx-cta { margin-top: 18px; }
	.hx-menu .hx-cta a { justify-content: center; }
	.hx-menu-btn { display: inline-block; }
	.hx-mobile-book { display: inline-flex; margin-left: auto; font-family: var(--sans); font-size: 11px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; text-decoration: none; background: var(--blush); color: var(--ink); padding: 10px 14px; }
	.hx-bar { gap: 12px; }
}
@media (max-width: 1000px) {
	.hx-sectors, .hx-cards { grid-template-columns: repeat(2, 1fr); }
	.hx-services, .hx-steps { grid-template-columns: repeat(2, 1fr); }
	.hx-foot { grid-template-columns: 1fr 1fr; }
	.hx-story { grid-template-columns: 1fr; }
	.hx-pair { position: static; max-width: 640px; }
}
@media (max-width: 760px) {
	body { font-size: 18px; }
	.hx-topbar-tag { display: none; }
	.hx-topbar-right { margin-inline: auto; }
	.hx-split, .hx-feature, .hx-soon, .hx-enquiry { grid-template-columns: 1fr; }
	.hx-portrait .hx-split-img { order: 0; }
	.hx-layers { columns: 1; }
	.hx-gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 200px; }
	.hx-gallery > .wp-block-image:first-child { grid-column: 1 / -1; grid-row: auto; }
	.hx-hero::after { background: linear-gradient(0deg, rgba(18,16,16,.94) 20%, rgba(18,16,16,.55) 70%, rgba(18,16,16,.3)); }
	.hx-soon-img img { min-height: 320px; max-height: 70vh; }
	.hx-feature-img img { min-height: 300px; max-height: 70vh; }
	.hx-facts li { grid-template-columns: 1fr; gap: 2px; }
}
@media (max-width: 520px) {
	.hx-sectors { grid-template-columns: 1fr; }
	.hx-sector { aspect-ratio: 4 / 3.8; }
	.hx-cards { grid-template-columns: 1fr 1fr; gap: 16px; }
	.hx-card p:not(.hx-meta):not(.hx-go) { display: none; }
	.hx-card-title { font-size: 21px; }
	.hx-services, .hx-steps, .hx-foot { grid-template-columns: 1fr; }
	.hx-brand img { height: 42px; }
	.hx-pair { gap: 6px; }
}
@media (prefers-reduced-motion: reduce) {
	* { transition: none !important; }
}


/* ===== 1.0.2 layout update: tidy centred column, medium photos, no text over photos ===== */
.hx-menu a{gap:0}
.hx-menu a .hx-pill{margin-left:8px}
.hx-hero{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.05fr);gap:clamp(32px,5vw,80px);align-items:center;padding:clamp(48px,6vw,96px) var(--gut);position:static;overflow:visible}
.hx-hero::after{display:none}
.hx-hero .hx-hero-bg{order:2;position:static;inset:auto}
.hx-hero .hx-hero-bg img{height:auto;aspect-ratio:4/3.4;object-position:center 30%;opacity:1}
.hx-hero-inner{order:1;max-width:none;gap:24px;min-width:0}
.hx-hero h1{font-size:clamp(40px,5.2vw,76px)!important}
.hx-hero p{font-size:clamp(18px,1.7vw,22px)}
.hx-sectors{gap:24px;padding:0 var(--gut)}
.hx-sector{aspect-ratio:auto;background:none;color:inherit;padding:0;justify-content:flex-start;overflow:visible;position:relative}
.hx-sector::after{display:none}
.hx-sector .wp-block-image{position:relative;inset:auto;overflow:hidden;margin-bottom:8px;background:var(--ink)}
.hx-sector .wp-block-image img{height:auto;aspect-ratio:4/5;opacity:1}
.hx-sector h3{color:inherit}
.hx-sector p{color:inherit;font-size:18px}
.hx-sector .hx-go a{color:inherit;border-bottom:1px solid var(--rose)}
.hx-soon,.hx-feature{display:grid;grid-template-columns:minmax(0,5fr) minmax(0,6fr);gap:clamp(32px,5vw,80px);align-items:center;background:var(--ink);color:var(--on-ink);padding:clamp(56px,7vw,100px) var(--gut);min-height:0}
.hx-soon-img,.hx-feature-img{max-width:500px;width:100%;height:auto}
.hx-soon-img img,.hx-feature-img img{width:100%;height:auto;min-height:0;max-height:none;aspect-ratio:4/5;object-fit:cover;object-position:center 25%}
.hx-soon-text,.hx-feature-text{padding:0}
.hx-soon-text p.hx-pill{color:var(--gold)}
.hx-content .hx-pagehero{padding-inline:var(--gut)}
.hx-pagehero img{height:clamp(240px,34vw,460px);object-position:center 35%}
.hx-gallery{grid-auto-rows:clamp(160px,17vw,240px);gap:10px;padding-inline:var(--gut)}
.hx-split-img{max-width:480px;width:100%;justify-self:center}
.hx-ink.hx-split .hx-split-img{max-width:600px}
@media (max-width:1000px){.hx-sectors{grid-template-columns:repeat(2,1fr)}}
@media (max-width:760px){
.hx-hero{grid-template-columns:1fr;gap:28px}
.hx-hero .hx-hero-bg{order:0}
.hx-soon,.hx-feature{grid-template-columns:1fr}
.hx-soon-img,.hx-feature-img{max-width:420px;margin-inline:auto}
.hx-split-img{max-width:420px}
.hx-gallery{grid-auto-rows:180px}
}
@media (max-width:520px){
.hx-sectors{grid-template-columns:1fr 1fr;gap:16px}
.hx-sector .wp-block-image img{aspect-ratio:4/5}
.hx-sector p:not(.hx-go){display:none}
.hx-sector h3{font-size:24px}
.hx-sector .hx-go{font-size:10.5px}
}
