/* Homepage (template-parts/home/layout.php). Dark cinematic hero, warm editorial body. */

.hx {
	--hx-ink: #161412;
	--hx-paper: #f7f4ef;
	--hx-stone: #ebe5dc;
	--hx-dim: #5f5850;
	--hx-line: #dcd4c9;
	--hx-gold: #a48a6a;
	--hx-ease: cubic-bezier(0.22, 1, 0.36, 1);
	--hx-serif: var(--font-editorial, "Cormorant Garamond", Georgia, serif);
	--hx-sans: var(--font-sans, system-ui, sans-serif);
	background: var(--hx-paper);
	color: var(--hx-ink);
	overflow-x: clip;
}
.hx-wrap { width: 100%; max-width: 1440px; margin-inline: auto; padding-inline: clamp(1rem, 4vw, 3.5rem); }
.hx a { color: inherit; }
.hx-kicker { font: 500 .72rem/1 var(--hx-sans); letter-spacing: .22em; text-transform: uppercase; color: var(--hx-dim); margin: 0 0 1.25rem; }
.hx-h2 { font: 400 clamp(2.4rem, 5.2vw, 4.75rem)/1 var(--hx-serif); letter-spacing: -.01em; margin: 0; }
.hx-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem; margin-bottom: clamp(2rem, 4vw, 3.5rem); }
.hx-link { font: 500 .78rem/1 var(--hx-sans); letter-spacing: .16em; text-transform: uppercase; text-decoration: none; white-space: nowrap; padding-bottom: .45rem; background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat; transition: background-size .5s var(--hx-ease); }
.hx-link:hover, .hx-link:focus-visible { background-size: 30% 1px; }

/* Buttons */
.hx-btn { position: relative; overflow: hidden; isolation: isolate; display: inline-flex; align-items: center; gap: .75rem; padding: 1.1rem 1.9rem; border: 1px solid var(--hx-paper); background: var(--hx-paper); color: var(--hx-ink) !important; font: 500 .74rem/1 var(--hx-sans); letter-spacing: .16em; text-transform: uppercase; text-decoration: none; transition: color .45s var(--hx-ease), border-color .45s; }
.hx-btn::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--hx-ink); transform: translateY(101%); transition: transform .55s var(--hx-ease); }
.hx-btn i { font-style: normal; transition: transform .45s var(--hx-ease); }
.hx-btn:hover, .hx-btn:focus-visible { color: var(--hx-paper) !important; border-color: var(--hx-ink); }
.hx-btn:hover::before, .hx-btn:focus-visible::before { transform: none; }
.hx-btn:hover i, .hx-btn:focus-visible i { transform: translateX(5px); }
.hx-btn--ghost, .hx-btn--glass { background: rgba(255,255,255,.06); color: #fff !important; border-color: rgba(255,255,255,.45); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.hx-btn--ghost::before, .hx-btn--glass::before { background: #fff; }
.hx-btn--ghost:hover, .hx-btn--glass:hover, .hx-btn--ghost:focus-visible, .hx-btn--glass:focus-visible { color: var(--hx-ink) !important; border-color: #fff; }
.hx-btn--ink { background: var(--hx-ink); color: var(--hx-paper) !important; border-color: var(--hx-ink); }
.hx-btn--ink::before { background: var(--hx-gold); }
.hx-btn--ink:hover, .hx-btn--ink:focus-visible { color: #fff !important; border-color: var(--hx-gold); }
.hx-pulse { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #79c27d; margin-right: .65rem; vertical-align: middle; animation: hx-ping 2.4s infinite; }
@keyframes hx-ping { 0% { box-shadow: 0 0 0 0 rgba(121,194,125,.55); } 70% { box-shadow: 0 0 0 9px rgba(121,194,125,0); } 100% { box-shadow: 0 0 0 0 rgba(121,194,125,0); } }

/* 1. Hero */
.hx-hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; color: #fff; background: #0c0b0a; isolation: isolate; }
.hx-hero__media { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.hx-hero__media img { width: 100% !important; height: 100% !important; object-fit: cover; transform: scale(1.12); animation: hx-settle 2.6s var(--hx-ease) .1s forwards; }
.hx-hero__shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0,0,0,.45) 0%, rgba(0,0,0,.05) 35%, rgba(0,0,0,.7) 100%); }
.hx-hero__inner { padding-top: 8rem; padding-bottom: clamp(2.5rem, 6vh, 4.5rem); }
.hx-hero__title { font: 400 clamp(2.75rem, min(6.6vw, 11vh), 7.5rem)/.95 var(--hx-serif); letter-spacing: -.02em; margin: 0 0 clamp(2.5rem, 6vh, 4rem); max-width: 16ch; color: #fff; }
.hx-line { display: block; overflow: hidden; padding-bottom: .06em; }
.hx-line > span { display: block; transform: translateY(105%); animation: hx-rise 1.2s var(--hx-ease) forwards; animation-delay: calc(var(--d) + .35s); }
.hx-hero__foot { display: grid; gap: 2rem; align-items: end; border-top: 1px solid rgba(255,255,255,.28); padding-top: 1.75rem; opacity: 0; animation: hx-fade 1s ease 1.1s forwards; }
@media (min-width: 900px) { .hx-hero__foot { grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); } }
.hx-hero__sub { margin: 0; max-width: 44ch; font: 400 1.02rem/1.6 var(--hx-sans); color: rgba(255,255,255,.85); }
.hx-hero__doors { display: grid; gap: .25rem; }
@media (min-width: 640px) { .hx-hero__doors { grid-template-columns: repeat(3, 1fr); gap: 1rem; } }
.hx-hero__doors a { display: flex; align-items: baseline; gap: .6rem; padding: .9rem 0; border-bottom: 1px solid rgba(255,255,255,.28); text-decoration: none; font: 400 1.35rem/1.1 var(--hx-serif); color: #fff; transition: border-color .4s; }
.hx-hero__doors a span { font: 500 .68rem/1 var(--hx-sans); letter-spacing: .14em; opacity: .7; }
.hx-hero__doors a i { margin-left: auto; font-style: normal; transition: transform .4s var(--hx-ease); }
.hx-hero__doors a:hover, .hx-hero__doors a:focus-visible { border-color: #fff; }
.hx-hero__doors a:hover i, .hx-hero__doors a:focus-visible i { transform: translateX(6px); }
.hx-hero__scroll { position: absolute; right: clamp(1rem, 4vw, 3.5rem); top: 50%; width: 1px; height: 72px; background: rgba(255,255,255,.25); overflow: hidden; display: none; }
@media (min-width: 900px) { .hx-hero__scroll { display: block; } }
.hx-hero__scroll span { position: absolute; inset: 0; background: #fff; animation: hx-scroll 2.2s ease-in-out infinite; }

@keyframes hx-settle { to { transform: scale(1); } }
@keyframes hx-rise { to { transform: translateY(0); } }
@keyframes hx-fade { to { opacity: 1; } }
@keyframes hx-scroll { 0% { transform: translateY(-100%); } 60%, 100% { transform: translateY(100%); } }

/* 2. Marquee */
.hx-marquee { padding: clamp(2.5rem, 5vw, 4rem) 0; border-bottom: 1px solid var(--hx-line); }
.hx-marquee__track { display: flex; width: max-content; animation: hx-marquee 38s linear infinite; }
.hx-marquee:hover .hx-marquee__track { animation-play-state: paused; }
.hx-marquee__list { display: flex; list-style: none; margin: 0; padding: 0; }
.hx-marquee__list li { font: 400 clamp(1.6rem, 3vw, 2.6rem)/1 var(--hx-serif); white-space: nowrap; padding-right: clamp(2.5rem, 5vw, 4.5rem); color: var(--hx-ink); }
.hx-marquee__list li::after { content: "✦"; font-size: .45em; vertical-align: middle; margin-left: clamp(2.5rem, 5vw, 4.5rem); color: var(--hx-gold); }
@keyframes hx-marquee { to { transform: translateX(-50%); } }

/* 3. Statement */
.hx-statement { display: grid; gap: clamp(2rem, 4vw, 4rem); padding-block: clamp(5rem, 11vw, 10rem); }
@media (min-width: 1000px) { .hx-statement { grid-template-columns: 1.5fr 1fr; } }
.hx-statement__title { font: 400 clamp(2rem, 4vw, 3.6rem)/1.1 var(--hx-serif); margin: 0; max-width: 22ch; }
.hx-statement__side { align-self: end; }
.hx-statement__side p { font: 400 1.05rem/1.75 var(--hx-sans); color: var(--hx-dim); margin: 0 0 2rem; max-width: 46ch; }
.hx-metrics { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(2, 1fr); margin: clamp(1rem, 3vw, 2rem) 0 0; border-top: 1px solid var(--hx-line); }
@media (min-width: 900px) { .hx-metrics { grid-template-columns: repeat(4, 1fr); } }
.hx-metrics > div { padding: 2rem 1.5rem 0 0; }
.hx-metrics dt { font: 400 clamp(2.6rem, 5vw, 4.25rem)/1 var(--hx-serif); }
.hx-metrics dt .lh-metrics__number { font: inherit; color: inherit; }
.hx-amp { font-style: italic; color: var(--hx-gold); padding: 0 .05em; }
.hx-metrics dd { margin: .75rem 0 0; font: 400 .88rem/1.5 var(--hx-sans); color: var(--hx-dim); max-width: 22ch; }

/* 4. Pillars */
.hx-pillars { padding-bottom: clamp(5rem, 10vw, 9rem); }
.hx-pillars__row { display: grid; gap: 6px; padding-inline: clamp(1rem, 4vw, 3.5rem); max-width: 1440px; margin-inline: auto; }
@media (min-width: 900px) {
	.hx-pillars__row { display: flex; height: min(84vh, 780px); }
	.hx-panel { flex: 1; transition: flex 1.1s var(--hx-ease); }
	.hx-pillars__row:hover .hx-panel { flex: .78; }
	.hx-pillars__row .hx-panel:hover, .hx-pillars__row .hx-panel:focus-within { flex: 1.8; }
}
.hx-panel { position: relative; overflow: hidden; color: #fff; background: #1b1916; min-height: 540px; display: flex; flex-direction: column; justify-content: space-between; isolation: isolate; }
.hx-panel__media { position: absolute; inset: 0; z-index: -2; }
.hx-panel__media img { width: 100% !important; height: 100% !important; object-fit: cover; transform: scale(1.06); transition: transform 1.6s var(--hx-ease), filter .9s; filter: brightness(.7) saturate(.85); }
.hx-panel::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0,0,0,.35) 0%, rgba(0,0,0,0) 30%, rgba(0,0,0,.25) 55%, rgba(0,0,0,.85) 100%); }
.hx-panel:hover .hx-panel__media img, .hx-panel:focus-within .hx-panel__media img { transform: scale(1); filter: brightness(.6) saturate(1); }
.hx-panel__big { position: absolute; right: clamp(1rem, 2vw, 1.75rem); top: clamp(.75rem, 1.5vw, 1.25rem); z-index: 0; font: 400 clamp(5rem, 9vw, 8.5rem)/1 var(--hx-serif); color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.55); transition: -webkit-text-stroke-color .5s, transform .9s var(--hx-ease); }
.hx-panel:hover .hx-panel__big { -webkit-text-stroke-color: rgba(255,255,255,.95); transform: translateY(-4px); }
.hx-panel__top { padding: clamp(1.25rem, 2.5vw, 2rem); }
.hx-panel__top span { display: inline-block; padding: .45rem .75rem; border: 1px solid rgba(255,255,255,.35); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); background: rgba(0,0,0,.15); font: 500 .66rem/1 var(--hx-sans); letter-spacing: .18em; text-transform: uppercase; }
.hx-panel__body { position: relative; padding: clamp(1.5rem, 3vw, 2.5rem); }
.hx-panel__title { font: 400 clamp(2.1rem, 3.3vw, 3.2rem)/1 var(--hx-serif); margin: 0 0 .9rem; }
.hx-panel__title a { color: #fff; text-decoration: none; }
.hx-panel__title a::after { content: ""; position: absolute; inset: -100vh 0 0; }
.hx-panel__desc { font: 400 .95rem/1.55 var(--hx-sans); color: rgba(255,255,255,.82); margin: 0; max-width: 36ch; }
.hx-panel__list { list-style: none; margin: 1.25rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: .4rem; position: relative; z-index: 1; }
.hx-panel__list a { display: block; padding: .5rem .85rem; border: 1px solid rgba(255,255,255,.4); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); background: rgba(255,255,255,.04); font: 400 .78rem/1 var(--hx-sans); color: #fff; text-decoration: none; transition: background .3s, color .3s; }
.hx-panel__list a:hover, .hx-panel__list a:focus-visible { background: #fff; color: var(--hx-ink); }
.hx-panel__go { display: inline-flex; gap: .5rem; margin-top: 1.5rem; padding-top: 1rem; border-top: 1px solid rgba(255,255,255,.3); width: 100%; font: 500 .7rem/1 var(--hx-sans); letter-spacing: .2em; text-transform: uppercase; }
.hx-panel__go i { font-style: normal; transition: transform .45s var(--hx-ease); }
.hx-panel:hover .hx-panel__go i { transform: translateX(6px); }
@media (min-width: 900px) {
	.hx-panel__list { max-height: 0; opacity: 0; overflow: hidden; transition: max-height .8s var(--hx-ease), opacity .5s; }
	.hx-panel:hover .hx-panel__list, .hx-panel:focus-within .hx-panel__list { max-height: 220px; opacity: 1; }
}

/* 5. Services strip */
.hx-strip { padding-bottom: clamp(5rem, 10vw, 9rem); }
.hx-strip__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1.5rem; margin-bottom: clamp(2rem, 4vw, 3.5rem); }
.hx-strip__nav { display: flex; align-items: center; gap: .5rem; }
.hx-strip__count { margin-right: 1rem; font: 400 .85rem/1 var(--hx-sans); letter-spacing: .12em; color: var(--hx-dim); font-variant-numeric: tabular-nums; }
.hx-strip__count b { color: var(--hx-ink); font-weight: 500; }
.hx-arrow { width: 3.4rem; height: 3.4rem; border-radius: 50%; border: 1px solid var(--hx-line); background: transparent; color: var(--hx-ink); font-size: 1.05rem; cursor: pointer; transition: background .35s, color .35s, border-color .35s, transform .35s var(--hx-ease); }
.hx-arrow:hover, .hx-arrow:focus-visible { background: var(--hx-ink); color: var(--hx-paper); border-color: var(--hx-ink); transform: scale(1.06); }
.hx-strip__track { display: flex; gap: clamp(1rem, 2vw, 1.5rem); overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: clamp(1rem, 4vw, 3.5rem); padding: 0 clamp(1rem, 4vw, 3.5rem) 1rem; scrollbar-width: none; cursor: grab; }
.hx-strip__track.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.hx-strip__track.is-dragging a { pointer-events: none; }
.hx-strip__track::-webkit-scrollbar { display: none; }
.hx-tile { flex: 0 0 clamp(260px, 25vw, 360px); scroll-snap-align: start; text-decoration: none; }
.hx-tile__media { position: relative; aspect-ratio: 3 / 4; overflow: hidden; background: var(--hx-stone); margin-bottom: 1.1rem; isolation: isolate; }
.hx-tile__media img { width: 100% !important; height: 100% !important; object-fit: cover; transition: transform 1.4s var(--hx-ease), filter .6s; }
.hx-tile:hover .hx-tile__media img, .hx-tile:focus-visible .hx-tile__media img { transform: scale(1.06); filter: brightness(.55); }
.hx-tile__num { position: absolute; top: 1rem; left: 1rem; font: 500 .7rem/1 var(--hx-sans); letter-spacing: .16em; color: #fff; mix-blend-mode: difference; }
.hx-tile__price { position: absolute; left: 1rem; bottom: 1rem; padding: .55rem .8rem; background: var(--hx-paper); color: var(--hx-ink); font: 500 .7rem/1 var(--hx-sans); letter-spacing: .12em; text-transform: uppercase; transition: opacity .4s, transform .5s var(--hx-ease); }
.hx-tile__reveal { position: absolute; inset: auto 1.25rem 1.25rem; margin: 0; color: #fff; font: 400 1.25rem/1.3 var(--hx-serif); opacity: 0; transform: translateY(14px); transition: opacity .5s, transform .6s var(--hx-ease); }
.hx-tile__reveal span { display: block; margin-top: 1rem; font: 500 .68rem/1 var(--hx-sans); letter-spacing: .18em; text-transform: uppercase; }
.hx-tile:hover .hx-tile__reveal, .hx-tile:focus-visible .hx-tile__reveal { opacity: 1; transform: none; }
.hx-tile:hover .hx-tile__price, .hx-tile:focus-visible .hx-tile__price { opacity: 0; transform: translateY(8px); }
.hx-tile__pillar { margin: 0 0 .45rem; font: 500 .66rem/1 var(--hx-sans); letter-spacing: .18em; text-transform: uppercase; color: var(--hx-gold); }
.hx-tile__title { font: 400 1.65rem/1.1 var(--hx-serif); margin: 0; }
.hx-strip__bar { height: 1px; background: var(--hx-line); margin-top: 2rem; position: relative; overflow: hidden; }
.hx-strip__bar span { position: absolute; inset: 0; background: var(--hx-ink); transform-origin: 0 50%; transform: scaleX(var(--hx-p, .1)); transition: transform .3s; }
@media (hover: none) { .hx-tile__reveal { display: none; } }

/* 6. Work: pinned horizontal gallery */
.hx-work { position: relative; background: var(--hx-ink); color: var(--hx-paper); }
.hx-work__sticky { padding-block: clamp(4rem, 8vw, 6rem) clamp(2.5rem, 5vw, 4rem); overflow: hidden; }
.hx-work__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1.5rem; margin-bottom: clamp(2rem, 4vh, 3rem); }
.hx-work__head .hx-h2 { color: var(--hx-paper); }
.hx-work__meta { display: flex; align-items: center; gap: 2rem; }
.hx-work__count { font: 400 .85rem/1 var(--hx-sans); letter-spacing: .12em; color: rgba(247,244,239,.6); font-variant-numeric: tabular-nums; }
.hx-work__count b { font-weight: 500; color: var(--hx-paper); }
.hx-work .hx-link { color: var(--hx-paper); }
.hx-work__viewport { overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.hx-work__viewport::-webkit-scrollbar { display: none; }
.hx-work__track { display: flex; gap: clamp(1rem, 2vw, 1.75rem); padding-inline: clamp(1rem, 4vw, 3.5rem); width: max-content; will-change: transform; }
.hx-work__intro { flex: 0 0 min(78vw, 340px); display: flex; flex-direction: column; justify-content: space-between; padding: 1.5rem 0; scroll-snap-align: start; }
.hx-work__intro p { font: 400 clamp(1.3rem, 2vw, 1.75rem)/1.35 var(--hx-serif); color: rgba(247,244,239,.85); margin: 0; max-width: 18ch; }
.hx-work__hint { font: 500 .72rem/1 var(--hx-sans); letter-spacing: .2em; text-transform: uppercase; color: var(--hx-gold); }
.hx-work__hint i { display: inline-block; font-style: normal; animation: hx-nudge 1.8s ease-in-out infinite; }
@keyframes hx-nudge { 50% { transform: translateX(8px); } }

.hx-case { position: relative; flex: 0 0 min(82vw, 560px); height: min(60vh, 620px); min-height: 380px; overflow: hidden; display: block; text-decoration: none; color: #fff; scroll-snap-align: start; background: #222; clip-path: inset(0 0 0 0); transition: clip-path .9s var(--hx-ease); }
.hx-case:nth-of-type(odd) { flex-basis: min(82vw, 720px); }
.hx-case__media { position: absolute; inset: 0; }
.hx-case__media img { width: 100% !important; height: 100% !important; object-fit: cover; transform: scale(1.08); transition: transform 1.6s var(--hx-ease), filter .8s; filter: brightness(.78) saturate(.9); }
.hx-case::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(0,0,0,.78)); }
.hx-case:hover .hx-case__media img, .hx-case:focus-visible .hx-case__media img { transform: scale(1); filter: brightness(.9) saturate(1); }
.hx-case:hover, .hx-case:focus-visible { clip-path: inset(10px 10px 10px 10px); }
.hx-case__num { position: absolute; top: 1.25rem; left: 1.5rem; z-index: 1; font: 400 clamp(3.5rem, 7vw, 6rem)/1 var(--hx-serif); color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.7); }
.hx-case__meta { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: clamp(1.25rem, 2.5vw, 2rem); }
.hx-case__sector { display: block; font: 500 .7rem/1 var(--hx-sans); letter-spacing: .18em; text-transform: uppercase; color: rgba(255,255,255,.75); margin-bottom: .75rem; }
.hx-case__meta h3 { font: 400 clamp(1.6rem, 2.6vw, 2.5rem)/1.05 var(--hx-serif); margin: 0; color: #fff; max-width: 18ch; }
.hx-case__cta { display: inline-flex; gap: .5rem; margin-top: 1rem; font: 500 .72rem/1 var(--hx-sans); letter-spacing: .16em; text-transform: uppercase; opacity: 0; transform: translateY(8px); transition: opacity .4s, transform .5s var(--hx-ease); }
.hx-case:hover .hx-case__cta, .hx-case:focus-visible .hx-case__cta { opacity: 1; transform: none; }
@media (hover: none) { .hx-case__cta { opacity: 1; transform: none; } }

.hx-work__end { flex: 0 0 min(70vw, 320px); display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 1.25rem; padding: 2rem; border: 1px solid rgba(247,244,239,.25); text-decoration: none; color: var(--hx-paper); scroll-snap-align: start; transition: background .4s, color .4s; }
.hx-work__end span { font: 400 clamp(1.8rem, 2.6vw, 2.4rem)/1.05 var(--hx-serif); }
.hx-work__end i { font-style: normal; font-size: 1.5rem; transition: transform .4s var(--hx-ease); }
.hx-work__end:hover, .hx-work__end:focus-visible { background: var(--hx-paper); color: var(--hx-ink); }
.hx-work__end:hover i { transform: translateX(8px); }

.hx-work__bar { height: 1px; background: rgba(247,244,239,.18); margin-top: clamp(1.75rem, 4vh, 2.5rem); position: relative; }
.hx-work__bar span { position: absolute; inset: 0 auto 0 0; width: 100%; background: var(--hx-paper); transform-origin: 0 50%; transform: scaleX(var(--hx-p, 0)); }

/* Desktop pinned mode (JS adds .is-pinned) */
.hx-work.is-pinned .hx-work__sticky { position: sticky; top: 0; height: 100vh; padding-top: 6.5rem; padding-bottom: 2rem; box-sizing: border-box; display: flex; flex-direction: column; justify-content: center; }
.hx-work.is-pinned .hx-work__viewport { overflow: visible; scroll-snap-type: none; }

/* 7. Quote */
.hx-quote { position: relative; min-height: 90vh; display: flex; align-items: center; color: #fff; background: #12100e; overflow: hidden; isolation: isolate; }
.hx-quote__media { position: absolute; inset: -12% 0; z-index: -1; will-change: transform; }
.hx-quote__media img { width: 100% !important; height: 100% !important; object-fit: cover; filter: brightness(.45); }
.hx-quote blockquote { margin: 0 auto; text-align: center; }
.hx-quote p { font: 400 clamp(2.2rem, 5.4vw, 5rem)/1.08 var(--hx-serif); margin: 0 auto 2rem; max-width: 20ch; color: #fff; }
.hx-quote cite { font: 500 .74rem/1 var(--hx-sans); letter-spacing: .2em; text-transform: uppercase; font-style: normal; color: rgba(255,255,255,.75); }

/* 8. Packages: tabs + preview (desktop), accordion (mobile) */
.hx-packages { padding-block: clamp(5rem, 10vw, 9rem); background: var(--hx-stone); }
.hx-pk { position: relative; border-top: 1px solid var(--hx-ink); }
.hx-pk__tab { width: 100%; display: grid; grid-template-columns: 2.25rem 1fr auto 1.25rem; align-items: center; gap: 1rem; padding: clamp(1.2rem, 2.4vw, 1.9rem) 0; background: none; border: 0; border-bottom: 1px solid var(--hx-line); color: var(--hx-ink); text-align: left; cursor: pointer; font: inherit; transition: padding .5s var(--hx-ease), color .3s; }
.hx-pk__num { font: 500 .7rem/1 var(--hx-sans); letter-spacing: .14em; color: var(--hx-dim); }
.hx-pk__name { font: 400 clamp(1.7rem, 3vw, 2.75rem)/1 var(--hx-serif); }
.hx-pk__price { font: 500 .76rem/1 var(--hx-sans); letter-spacing: .12em; text-transform: uppercase; color: var(--hx-dim); white-space: nowrap; }
.hx-pk__icon { position: relative; width: 1.1rem; height: 1.1rem; }
.hx-pk__icon::before, .hx-pk__icon::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: currentColor; transition: transform .45s var(--hx-ease); }
.hx-pk__icon::after { transform: rotate(90deg); }
.hx-pk__item.is-active .hx-pk__icon::after { transform: rotate(0); }
.hx-pk__item.is-active .hx-pk__tab { color: var(--hx-ink); }
.hx-pk__tab:focus-visible { outline: 2px solid var(--hx-ink); outline-offset: 4px; }

.hx-pk__panel { display: none; }
.hx-pk__item.is-active .hx-pk__panel { display: block; padding: 1.25rem 0 2rem; animation: hx-pk-in .6s var(--hx-ease); }
@keyframes hx-pk-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.hx-pk__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: #d8d0c4; }
.hx-pk__media img { width: 100% !important; height: 100% !important; object-fit: cover; transform: scale(1.06); transition: transform 1.4s var(--hx-ease); }
.hx-pk__item.is-active .hx-pk__media img { transform: scale(1); }
.hx-pk__badge { position: absolute; left: 1rem; bottom: 1rem; margin: 0; padding: .7rem 1rem; background: var(--hx-paper); color: var(--hx-ink); font: 400 1.5rem/1 var(--hx-serif); }
.hx-pk__badge small { font: 500 .66rem/1 var(--hx-sans); letter-spacing: .12em; text-transform: uppercase; color: var(--hx-dim); }
.hx-pk__body { padding-top: 1.5rem; }
.hx-pk__tagline { font: 400 clamp(1.3rem, 2vw, 1.75rem)/1.3 var(--hx-serif); margin: 0 0 1.25rem; max-width: 30ch; color: var(--hx-ink); }
.hx-pk__chips { list-style: none; margin: 0 0 1.5rem; padding: 0; display: flex; flex-wrap: wrap; gap: .4rem; }
.hx-pk__chips a { display: block; padding: .5rem .85rem; border: 1px solid var(--hx-ink); font: 500 .74rem/1 var(--hx-sans); letter-spacing: .04em; text-decoration: none; transition: background .3s, color .3s; }
.hx-pk__chips a:hover, .hx-pk__chips a:focus-visible { background: var(--hx-ink); color: var(--hx-paper); }
.hx-pk__list { list-style: none; margin: 0 0 2rem; padding: 0; columns: 2 220px; column-gap: 2rem; }
.hx-pk__list li { break-inside: avoid; padding: .6rem 0 .6rem 1.4rem; border-top: 1px solid rgba(22,20,18,.14); position: relative; font: 400 .95rem/1.45 var(--hx-sans); color: var(--hx-dim); }
.hx-pk__list li::before { content: "—"; position: absolute; left: 0; color: var(--hx-gold); }
.hx-pk__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.75rem; }
.hx-pk__btn { display: inline-block; padding: 1.05rem 1.9rem; background: var(--hx-ink); color: var(--hx-paper) !important; border: 1px solid var(--hx-ink); font: 500 .76rem/1 var(--hx-sans); letter-spacing: .16em; text-transform: uppercase; text-decoration: none; transition: background .35s, color .35s; }
.hx-pk__btn:hover, .hx-pk__btn:focus-visible { background: transparent; color: var(--hx-ink) !important; }

/* Desktop: list on the left, active panel fills a sticky preview on the right. */
@media (min-width: 1000px) {
	.hx-pk { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); column-gap: clamp(2.5rem, 5vw, 5rem); border-top: 0; }
	.hx-pk__item { display: contents; }
	.hx-pk__tab { grid-column: 1; grid-template-columns: 2.5rem 1fr auto; }
	.hx-pk__item:first-child .hx-pk__tab { border-top: 1px solid var(--hx-ink); }
	.hx-pk__icon { display: none; }
	.hx-pk__tab:hover, .hx-pk__item.is-active .hx-pk__tab { padding-left: 1rem; }
	.hx-pk__item:not(.is-active) .hx-pk__tab { color: rgba(22,20,18,.45); }
	.hx-pk__item:not(.is-active) .hx-pk__tab:hover { color: var(--hx-ink); }
	.hx-pk__item:not(.is-active) .hx-pk__price { opacity: .6; }
	.hx-pk__panel { grid-column: 2; grid-row: 1 / span 10; align-self: start; position: sticky; top: 7rem; display: block; padding: 0 !important; animation: none !important; opacity: 0; visibility: hidden; transform: translateY(18px); transition: opacity .5s ease, transform .7s var(--hx-ease), visibility 0s .5s; }
	.hx-pk__item.is-active .hx-pk__panel { opacity: 1; visibility: visible; transform: none; transition: opacity .6s ease .05s, transform .8s var(--hx-ease), visibility 0s; }
	.hx-pk__media { aspect-ratio: 16 / 10; }
}

/* 9. About */
.hx-about { padding-block: clamp(5rem, 10vw, 9rem); background: var(--hx-paper); }
.hx-about__grid { display: grid; gap: clamp(3rem, 6vw, 6rem); align-items: center; }
@media (min-width: 960px) { .hx-about__grid { grid-template-columns: 1fr 1.05fr; } }
.hx-about__media { position: relative; padding: 0 14% 16% 0; }
.hx-about__frame { position: relative; overflow: hidden; }
.hx-about__frame::after { content: ""; position: absolute; inset: 1rem; border: 1px solid rgba(255,255,255,.45); pointer-events: none; }
.hx-about__a { width: 100% !important; height: auto; aspect-ratio: 4 / 5; object-fit: cover; display: block; transition: transform 1.6s var(--hx-ease); }
.hx-about__media:hover .hx-about__a { transform: scale(1.03); }
.hx-about__b { position: absolute; right: 0; bottom: 0; width: 44% !important; height: auto; aspect-ratio: 3 / 4; object-fit: cover; border: 10px solid var(--hx-paper); box-shadow: 0 30px 60px -30px rgba(22,20,18,.45); }
.hx-about__caption { position: absolute; left: 1.5rem; bottom: calc(16% + 1.5rem); margin: 0; padding: .9rem 1.1rem; background: var(--hx-paper); font: 500 .72rem/1.4 var(--hx-sans); letter-spacing: .16em; text-transform: uppercase; color: var(--hx-dim); }
.hx-about__caption span { display: block; font: italic 400 1.3rem/1.1 var(--hx-serif); letter-spacing: 0; text-transform: none; color: var(--hx-ink); margin-bottom: .2rem; }
.hx-about__title { font: 400 clamp(2.8rem, 6vw, 5.5rem)/.95 var(--hx-serif); letter-spacing: -.02em; margin: 0 0 2rem; }
.hx-about__lede { font: 400 clamp(1.25rem, 1.8vw, 1.55rem)/1.45 var(--hx-serif) !important; color: var(--hx-ink) !important; }
.hx-about__copy p { font: 400 1.02rem/1.75 var(--hx-sans); color: var(--hx-dim); max-width: 52ch; margin: 0 0 1.25rem; }
.hx-about__facts { list-style: none; margin: 2.25rem 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--hx-line); }
.hx-about__facts li { padding: 1.25rem 1rem 0 0; }
.hx-about__facts b { display: block; font: 400 clamp(2.2rem, 3.4vw, 3rem)/1 var(--hx-serif); color: var(--hx-ink); }
.hx-about__facts span { display: block; margin-top: .5rem; font: 400 .82rem/1.45 var(--hx-sans); color: var(--hx-dim); }
.hx-about__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.75rem; }

/* 10. Blog */
.hx-journal { padding-bottom: clamp(5rem, 10vw, 9rem); border-top: 1px solid var(--hx-line); padding-top: clamp(4rem, 8vw, 7rem); }
.hx-journal__grid { display: grid; gap: clamp(1.5rem, 3vw, 2.5rem); }
@media (min-width: 900px) {
	.hx-journal__grid { grid-template-columns: 1.35fr 1fr; grid-template-rows: auto auto; }
	.hx-post--lead { grid-row: span 2; }
	.hx-post:not(.hx-post--lead) { display: grid; grid-template-columns: 1fr 1.1fr; gap: 1.5rem; align-items: center; }
	.hx-post:not(.hx-post--lead) .hx-post__media { margin: 0; aspect-ratio: 4 / 3; }
}
.hx-post { text-decoration: none; display: block; }
.hx-post__media { position: relative; aspect-ratio: 3 / 2; overflow: hidden; background: var(--hx-stone); margin-bottom: 1.4rem; }
.hx-post--lead .hx-post__media { aspect-ratio: 4 / 3; }
.hx-post__media img { width: 100% !important; height: 100% !important; object-fit: cover; transition: transform 1.4s var(--hx-ease); }
.hx-post:hover .hx-post__media img, .hx-post:focus-visible .hx-post__media img { transform: scale(1.05); }
.hx-post__meta { display: flex; flex-wrap: wrap; gap: .4rem 1rem; margin: 0 0 .8rem; font: 500 .72rem/1 var(--hx-sans); letter-spacing: .16em; text-transform: uppercase; color: var(--hx-dim); }
.hx-post__meta span:first-child { color: var(--hx-gold); }
.hx-post h3 { font: 400 1.5rem/1.2 var(--hx-serif); margin: 0; }
.hx-post--lead h3 { font-size: clamp(1.9rem, 2.8vw, 2.6rem); line-height: 1.1; }
.hx-post__excerpt { margin: 1rem 0 0; font: 400 1rem/1.65 var(--hx-sans); color: var(--hx-dim); max-width: 52ch; }
.hx-post__go { display: inline-flex; gap: .5rem; margin-top: 1.1rem; font: 500 .68rem/1 var(--hx-sans); letter-spacing: .18em; text-transform: uppercase; padding-bottom: .35rem; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .5s var(--hx-ease); }
.hx-post__go i { font-style: normal; transition: transform .45s var(--hx-ease); }
.hx-post:hover .hx-post__go { background-size: 100% 1px; }
.hx-post:hover .hx-post__go i { transform: translateX(5px); }

/* 11. CTA */
.hx-cta { position: relative; overflow: hidden; background: var(--hx-ink); color: var(--hx-paper); padding-block: clamp(6rem, 12vw, 10rem); isolation: isolate; }
.hx-cta__marquee { position: absolute; left: 0; right: 0; top: 50%; transform: translateY(-50%); z-index: -1; overflow: hidden; pointer-events: none; }
.hx-cta__marquee div { display: flex; width: max-content; animation: hx-marquee 40s linear infinite; }
.hx-cta__marquee span { font: italic 400 clamp(8rem, 22vw, 20rem)/1 var(--hx-serif); white-space: nowrap; color: transparent; -webkit-text-stroke: 1px rgba(247,244,239,.07); padding-right: .25em; }
.hx-kicker--light { color: rgba(247,244,239,.65); }
.hx-cta__title { font: 400 clamp(3rem, 9vw, 8.5rem)/.95 var(--hx-serif); letter-spacing: -.02em; margin: 0 0 1.75rem; max-width: 14ch; color: var(--hx-paper); }
.hx-cta__text { margin: 0 0 clamp(2.5rem, 5vw, 4rem); max-width: 50ch; color: rgba(247,244,239,.72); font: 400 1.05rem/1.65 var(--hx-sans); }
.hx-cta__options { display: grid; gap: 1px; background: rgba(247,244,239,.14); border: 1px solid rgba(247,244,239,.14); }
@media (min-width: 900px) { .hx-cta__options { grid-template-columns: repeat(3, 1fr); } }
.hx-opt { position: relative; display: grid; gap: .6rem; padding: clamp(1.75rem, 3vw, 2.5rem); background: var(--hx-ink); color: var(--hx-paper) !important; text-decoration: none; isolation: isolate; overflow: hidden; transition: color .5s var(--hx-ease); }
.hx-opt::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--hx-paper); transform: translateY(101%); transition: transform .6s var(--hx-ease); }
.hx-opt:hover, .hx-opt:focus-visible { color: var(--hx-ink) !important; }
.hx-opt:hover::before, .hx-opt:focus-visible::before { transform: none; }
.hx-opt__num { font: 500 .66rem/1 var(--hx-sans); letter-spacing: .18em; color: var(--hx-gold); }
.hx-opt__title { font: 400 clamp(1.5rem, 2.2vw, 2rem)/1.1 var(--hx-serif); word-break: break-word; }
.hx-opt__text { font: 400 .9rem/1.5 var(--hx-sans); opacity: .7; }
.hx-opt i { position: absolute; top: clamp(1.75rem, 3vw, 2.5rem); right: clamp(1.75rem, 3vw, 2.5rem); font-style: normal; font-size: 1.2rem; transition: transform .5s var(--hx-ease); }
.hx-opt:hover i, .hx-opt:focus-visible i { transform: translate(4px, -4px) rotate(-45deg); }

/* Scroll reveal (JS adds .hx-js to <html>) */
.hx-js [data-hx-reveal] { opacity: 0; transform: translateY(36px); transition: opacity 1.1s var(--hx-ease), transform 1.1s var(--hx-ease); }
.hx-js [data-hx-reveal].is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
	.hx *, .hx *::before, .hx *::after { animation: none !important; transition: none !important; }
	.hx-line > span, .hx-hero__media img { transform: none !important; }
	.hx-hero__foot { opacity: 1 !important; }
	.hx-js [data-hx-reveal] { opacity: 1; transform: none; }
	.hx-marquee__track { flex-wrap: wrap; width: auto; }
	.hx-marquee__list[aria-hidden] { display: none; }
}

/* Mobile hero: fit title, intro and links within the first screen. */
@media (max-width: 639px) {
	.hx-hero__inner { padding-top: 6.5rem; padding-bottom: 1.5rem; }
	.hx-hero__title { font-size: clamp(2.4rem, 11vw, 3.2rem); margin-bottom: 1.5rem; }
	.hx-hero__foot { gap: 1rem; padding-top: 1.1rem; }
	.hx-hero__sub { font-size: .92rem; }
	.hx-hero__doors a { padding: .7rem 0; font-size: 1.15rem; }
	.hx-panel { min-height: 440px; }
}
@media (max-width: 639px) {
	.hx-head { flex-wrap: wrap; align-items: flex-start; gap: 1rem; }
}

/* Hero: status row, grain, CTAs, door cards */
.hx-hero__grain { position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .14; mix-blend-mode: overlay; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>"); }
.hx-hero__top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; margin-bottom: clamp(1.5rem, 4vh, 2.75rem); opacity: 0; animation: hx-fade 1s ease .2s forwards; }
.hx-hero__status, .hx-hero__clock { margin: 0; padding: .55rem .9rem; border: 1px solid rgba(255,255,255,.28); background: rgba(255,255,255,.06); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); font: 500 .66rem/1 var(--hx-sans); letter-spacing: .18em; text-transform: uppercase; color: rgba(255,255,255,.9); }
.hx-hero__clock span { font-variant-numeric: tabular-nums; margin-left: .5rem; color: #fff; }
.hx-hero__lead { display: grid; gap: 1.75rem; align-content: end; }
.hx-hero__ctas { display: flex; flex-wrap: wrap; gap: .75rem; }
.hx-hero__doors a { display: grid !important; grid-template-columns: auto 1fr auto; grid-template-areas: "num num arrow" "name name arrow" "meta meta arrow"; align-items: end; gap: .35rem .6rem; padding: 1.1rem 1.1rem 1rem !important; border: 1px solid rgba(255,255,255,.22) !important; background: rgba(12,11,10,.18); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); transition: background .45s, border-color .45s, transform .6s var(--hx-ease) !important; }
.hx-hero__doors a:hover, .hx-hero__doors a:focus-visible { background: rgba(255,255,255,.95); color: var(--hx-ink) !important; transform: translateY(-4px); }
.hx-door__num { grid-area: num; font: 500 .64rem/1 var(--hx-sans); letter-spacing: .16em; opacity: .7; }
.hx-door__name { grid-area: name; font: 400 1.45rem/1.05 var(--hx-serif); }
.hx-door__meta { grid-area: meta; font: 500 .64rem/1 var(--hx-sans); letter-spacing: .14em; text-transform: uppercase; opacity: .65; }
.hx-hero__doors a i { grid-area: arrow; align-self: start; }
.hx-hero__doors { gap: .6rem !important; }
@media (max-width: 639px) {
	.hx-hero__top { margin-bottom: 1rem; }
	.hx-hero__clock { display: none; }
	.hx-hero__ctas .hx-btn { padding: .95rem 1.2rem; }
	.hx-hero__doors a { grid-template-areas: "num name arrow" "num meta arrow"; grid-template-columns: auto 1fr auto; padding: .8rem 1rem !important; }
	.hx-door__name { font-size: 1.15rem; }
	.hx-about__facts { grid-template-columns: 1fr; }
	.hx-about__facts li { display: flex; align-items: baseline; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid var(--hx-line); }
	.hx-about__facts span { margin: 0; }
	.hx-about__caption { bottom: calc(16% + .75rem); left: .75rem; }
	.hx-strip__count { display: none; }
}
@media (prefers-reduced-motion: reduce) { .hx-pulse { animation: none; } .hx-hero__top { opacity: 1 !important; } }
@media (min-width: 640px) {
	.hx-hero__inner { padding-top: 6.75rem; padding-bottom: clamp(1.75rem, 4vh, 3rem); }
	.hx-hero__title { font-size: clamp(2.75rem, min(5.8vw, 9.5vh), 6.75rem); margin-bottom: clamp(1.5rem, 3.5vh, 2.5rem); }
	.hx-hero__top { margin-bottom: clamp(1rem, 3vh, 2rem); }
	.hx-hero__foot { padding-top: 1.4rem; }
	.hx-hero__doors a { padding: .9rem 1rem .85rem !important; }
	.hx-hero__lead { gap: 1.25rem; }
}
@media (min-width: 900px) { .hx-hero__title { max-width: 21ch; } }
.hx-opt__title--email { font-size: clamp(1.15rem, 1.5vw, 1.4rem) !important; word-break: normal; overflow-wrap: anywhere; }
@media (max-width: 639px) {
	.hx-hero { min-height: auto; }
	.hx-hero__inner { padding-top: 6rem; }
	.hx-hero__ctas { flex-wrap: nowrap; gap: .5rem; }
	.hx-hero__ctas .hx-btn { padding: .85rem .9rem; font-size: .62rem; letter-spacing: .12em; white-space: nowrap; }
	.hx-hero__sub { font-size: .88rem; }
}

/* Hero: quieter, editorial door links (no cards, no badges) */
.hx-hero__doors a { display: flex !important; align-items: baseline; gap: .7rem; padding: .95rem 0 !important; border: 0 !important; border-bottom: 1px solid rgba(255,255,255,.3) !important; background: none !important; -webkit-backdrop-filter: none !important; backdrop-filter: none !important; color: #fff !important; transform: none !important; }
.hx-hero__doors a:hover, .hx-hero__doors a:focus-visible { border-bottom-color: #fff !important; }
.hx-door__num { font: 500 .62rem/1 var(--hx-sans); letter-spacing: .14em; opacity: .6; }
.hx-door__name { font: 400 1.3rem/1.1 var(--hx-serif); }
.hx-hero__doors a i { margin-left: auto; }
.hx-hero__doors a .hx-door__name { font: 400 1.3rem/1.1 var(--hx-serif); letter-spacing: 0; opacity: 1; }
