/* =====================================================================
   Homepage premium presentation (Nov 2026). Loaded ONLY by index.html.
   Every rule is scoped to homepage-only classes (.hp-*) so no other page changes.
   ===================================================================== */

/* ---------- Hero ---------- */
.hp-hero { position: relative; isolation: isolate; padding-block: clamp(2.25rem, 4.5vw, 4rem) clamp(1.75rem, 3.5vw, 2.75rem);
  background: radial-gradient(70% 60% at 78% 30%, rgba(194, 164, 109, .12), transparent 70%), linear-gradient(180deg, #FBF8F1, var(--ivory)); }
.hp-backdrop { position: absolute; z-index: -1; right: 0; top: 0; width: min(62%, 980px); height: 78%; pointer-events: none;
  background: url("../assets/images/photos/hp-backdrop.jpg") center 30% / cover no-repeat; opacity: .4;
  -webkit-mask-image: linear-gradient(to left, #000 25%, transparent 92%), linear-gradient(to bottom, #000 45%, transparent);
  -webkit-mask-composite: source-in; mask-image: linear-gradient(to left, #000 25%, transparent 92%), linear-gradient(to bottom, #000 45%, transparent); mask-composite: intersect; }
@supports (background-image: url("x.webp")) { .hp-backdrop { background-image: image-set(url("../assets/images/photos/hp-backdrop.webp") type("image/webp"), url("../assets/images/photos/hp-backdrop.jpg") type("image/jpeg")); } }

.hp-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(1.5rem, 3vw, 3rem); align-items: center; }
.hp-copy { display: grid; gap: 1.25rem; align-content: center; max-width: 40rem; }
.hp-hero .hp-h1 { font-size: clamp(2.5rem, 1.4rem + 3.1vw, 4.4rem); line-height: 1.02; letter-spacing: -.012em; margin: 0; }
.hp-hero .hp-h1 em { display: block; }
.hp-lede { font-size: clamp(1rem, .95rem + .3vw, 1.14rem); line-height: 1.65; color: #4D584F; max-width: 35rem; margin: 0; }
.hp-ctas { gap: .75rem; }
.hp-ctas .btn-lg { padding-inline: clamp(1.2rem, 1.6vw, 1.75rem); }
.hp-ctas .btn-primary { box-shadow: 0 10px 24px -12px rgba(31, 47, 37, .65); }
.hp-ctas .btn-primary span { transition: transform .25s; display: inline-block; }
.hp-ctas .btn-primary:hover span { transform: translateX(3px); }
.hp-trust { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .6rem 1.5rem; font-size: .9rem; color: var(--forest); }
.hp-trust li { display: inline-flex; align-items: center; gap: .5rem; }
.hp-trust svg { width: 20px; height: 20px; fill: none; stroke: var(--gold); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.hp-trust strong { font-weight: 700; font-variant-numeric: lining-nums; }
.hp-langs { margin: 0; max-width: 35rem; font-size: .8rem; }

/* ---------- Showcase stage ---------- */
.hp-stage { position: relative; width: 100%; max-width: 580px; justify-self: center; aspect-ratio: 1 / .94; }
.hp-stage::before { content: ""; position: absolute; inset: 6% 4% 0; border-radius: 50% 50% 44% 44% / 46% 46% 30% 30%;
  background: radial-gradient(closest-side, rgba(255, 253, 247, .95), rgba(248, 244, 236, .55) 70%, transparent); z-index: 0; }

/* Main phone */
.hp-phone { position: absolute; z-index: 3; left: 50%; top: 1%; width: 39%; aspect-ratio: 9 / 18.6; translate: -50% 0; display: block; color: inherit; text-decoration: none;
  border-radius: 15% / 7.2%; padding: 2.6%; background: linear-gradient(145deg, #3a3d3b, #111 40%, #2b2d2c); container-type: inline-size;
  box-shadow: 0 0 0 1.5px #d9d4c8, 0 0 0 2.5px #8d8a83, 0 34px 60px -26px rgba(31, 47, 37, .7), 0 12px 24px -12px rgba(0, 0, 0, .35); }
.hp-phone-notch { position: absolute; z-index: 2; top: 3.6%; left: 50%; width: 30%; height: 3.1%; translate: -50% 0; border-radius: 999px; background: #0b0b0b; }
.hp-screen { position: relative; display: grid; grid-template-rows: auto 1fr auto auto auto auto; justify-items: center; height: 100%; overflow: hidden; border-radius: 13% / 6.2%;
  background: radial-gradient(120% 60% at 50% 0%, #fffdf7, #f6f0e2); padding: 13cqw 6cqw 7cqw; gap: 2.6cqw; text-align: center; }
.hp-screen::after { content: ""; position: absolute; inset: 3cqw; border: 1px solid rgba(194, 164, 109, .45); border-radius: 10cqw / 9cqw; pointer-events: none; }
.hp-brand { font: 600 6.6cqw/1 var(--font-display); color: var(--forest); letter-spacing: .02em; display: inline-flex; align-items: center; gap: 1.6cqw; }
.hp-brand::before { content: ""; width: 4.6cqw; height: 4.6cqw; border: 1.2px solid var(--gold); transform: rotate(45deg); border-radius: 1cqw; }
.hp-photo { position: relative; width: 100%; min-height: 0; border-radius: 40cqw 40cqw 4cqw 4cqw; overflow: hidden; box-shadow: 0 0 0 1px rgba(194, 164, 109, .55), 0 6cqw 10cqw -7cqw rgba(31, 47, 37, .55); background: #e8e0cf; }
.hp-photo picture, .hp-photo img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; }
.hp-names { font: italic 500 10.4cqw/1 var(--font-display); color: var(--forest); white-space: nowrap; }
.hp-names i { color: var(--gold); font-style: italic; }
.hp-sub { font: 600 3.3cqw/1 var(--font-body); letter-spacing: .24em; text-transform: uppercase; color: var(--gold-ink); }
.hp-count { display: grid; grid-template-columns: repeat(4, 1fr); width: 100%; gap: 1.6cqw; }
.hp-count > span { display: grid; gap: .8cqw; padding: 2cqw 0 1.6cqw; border-radius: 2.6cqw; background: #fff; box-shadow: inset 0 0 0 1px rgba(194, 164, 109, .4); font: 600 2.7cqw/1 var(--font-body); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.hp-count b { font: 600 7.4cqw/1 var(--font-display); color: var(--forest); letter-spacing: 0; font-variant-numeric: tabular-nums lining-nums; }
.hp-rsvp-btn { width: 100%; padding: 3.4cqw 0; border-radius: 999px; background: var(--forest); color: #fff; font: 600 4cqw/1 var(--font-body); letter-spacing: .04em; box-shadow: 0 3cqw 6cqw -3cqw rgba(31, 47, 37, .8); }
.hp-phone:hover { translate: -50% -6px; }
.hp-phone { transition: translate .4s cubic-bezier(.2, .7, .2, 1); }
.hp-phone:focus-visible { outline: 3px solid var(--focus); outline-offset: 5px; }

/* Two complementary designs */
.hp-side { position: absolute; z-index: 2; top: 17%; width: 31%; aspect-ratio: 3 / 4; display: block; border-radius: 10px; text-decoration: none; color: inherit;
  transition: transform .5s cubic-bezier(.2, .7, .2, 1), box-shadow .3s; }
.hp-side img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; border-radius: 10px; background: #efe8d8;
  box-shadow: 0 0 0 5px #fffdf7, 0 0 0 6px rgba(194, 164, 109, .55), 0 26px 40px -22px rgba(31, 47, 37, .6); }
.hp-side-l { left: 3%; transform: rotate(-8deg); }
.hp-side-r { right: 3%; transform: rotate(8deg); }
/* Two more cultures (Amhara, Gurage) further out, behind the first pair */
.hp-side-ll, .hp-side-rr { z-index: 1; top: 37%; width: 25%; }
.hp-side-ll { left: -2%; transform: rotate(-14deg); }
.hp-side-rr { right: -2%; transform: rotate(14deg); }
.hp-stage .hp-side-l, .hp-stage .hp-side-r { top: 9%; }
.hp-stage .hp-side-l { left: 6%; } .hp-stage .hp-side-r { right: 6%; }
.hp-side-l .hp-side-tag { left: 38%; } .hp-side-r .hp-side-tag { left: 62%; }
.hp-side-l:focus-visible { transform: rotate(-4deg) translate(-4%, -5%) scale(1.04); }
.hp-side-r:focus-visible { transform: rotate(4deg) translate(4%, -5%) scale(1.04); }
.hp-side-ll:focus-visible { transform: rotate(-8deg) translate(-4%, -6%) scale(1.05); }
.hp-side-rr:focus-visible { transform: rotate(8deg) translate(4%, -6%) scale(1.05); }
.hp-side:focus-visible { z-index: 4; outline: none; }
@media (hover: hover) {
  .hp-side-l:hover { transform: rotate(-4deg) translate(-4%, -5%) scale(1.04); }
  .hp-side-r:hover { transform: rotate(4deg) translate(4%, -5%) scale(1.04); }
  .hp-side-ll:hover { transform: rotate(-8deg) translate(-4%, -6%) scale(1.05); }
  .hp-side-rr:hover { transform: rotate(8deg) translate(4%, -6%) scale(1.05); }
  .hp-side:hover { z-index: 4; outline: none; }
}
.hp-side:focus-visible img { box-shadow: 0 0 0 5px #fffdf7, 0 0 0 8px var(--focus); }
.hp-side-tag { position: absolute; left: 50%; bottom: -12px; translate: -50% 0; white-space: nowrap; padding: .38rem .7rem; border-radius: 999px; background: var(--forest); color: #fff;
  font: 600 .64rem/1 var(--font-body); letter-spacing: .14em; text-transform: uppercase; box-shadow: 0 0 0 2px #fffdf7, 0 0 0 3px var(--gold); }
.hp-side-tag span { letter-spacing: 0; text-transform: none; color: var(--gold-light); font-size: .74rem; margin-right: .2rem; }

/* Envelope the invitation rises from. Its parts sit in the stage's own layers:
   back and flap behind the invitation, the pocket front (with the seal) in front of its base. */
.hp-envelope { position: absolute; left: 17%; bottom: 0; width: 66%; height: 22%; pointer-events: none; }
.hp-env-back { position: absolute; z-index: 1; inset: 0; border-radius: 6px; background: linear-gradient(180deg, #efe6d3, #e6dac1); box-shadow: 0 20px 36px -20px rgba(31, 47, 37, .5); }
.hp-env-flap { position: absolute; z-index: 1; left: 0; right: 0; top: 0; height: 64%; transform-origin: top; transform: perspective(700px) rotateX(180deg);
  background: linear-gradient(180deg, #e9dec6, #ded0b2); clip-path: polygon(0 0, 100% 0, 50% 100%); }
.hp-env-front { position: absolute; z-index: 4; inset: 0; border-radius: 6px;
  background: linear-gradient(160deg, #f6efe0, #eadfc8); clip-path: polygon(0 0, 50% 60%, 100% 0, 100% 100%, 0 100%);
  filter: drop-shadow(0 -1px 0 rgba(194, 164, 109, .5)); }
.hp-env-seal { position: absolute; z-index: 5; left: 50%; top: 60%; width: 13%; aspect-ratio: 1; translate: -50% -50%; display: grid; place-items: center; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #d9bd84, #a8864a 70%); color: #fffdf7; font: 600 clamp(.8rem, 2.2vw, 1.15rem)/1 var(--font-display); box-shadow: 0 3px 8px rgba(122, 98, 54, .45), inset 0 0 0 2px rgba(255, 255, 255, .25); }

/* RSVP notification */
.hp-toast { position: absolute; z-index: 6; pointer-events: none; left: 0; top: 33%; display: flex; align-items: center; gap: .65rem; padding: .62rem .95rem .62rem .65rem; min-width: 12.5rem;
  border-radius: 14px; background: rgba(255, 253, 247, .96); box-shadow: 0 0 0 1px var(--line), 0 18px 34px -18px rgba(31, 47, 37, .55); color: var(--forest); }
.hp-toast-ic { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--sage); flex: none; }
.hp-toast-ic svg { width: 19px; height: 19px; fill: none; stroke: var(--forest); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.hp-toast-txt { display: grid; line-height: 1.25; font-size: .86rem; transition: opacity .4s, transform .4s; }
.hp-toast-txt b { font-weight: 600; }
.hp-toast-txt small { color: var(--muted); font-size: .74rem; }
.hp-toast-txt.is-out { opacity: 0; transform: translateY(4px); }

/* Pillars under the hero */
.hp-pillars { list-style: none; margin: clamp(1.5rem, 3vw, 2.5rem) 0 0; padding: .5rem; display: grid; grid-template-columns: repeat(4, 1fr);
  background: rgba(255, 253, 247, .9); border-radius: 18px; box-shadow: 0 0 0 1px var(--line), 0 18px 40px -30px rgba(31, 47, 37, .5); }
.hp-pillars li + li { border-left: 1px solid var(--line); }
.hp-pillars a { display: flex; align-items: center; gap: .8rem; padding: .9rem 1.1rem; border-radius: 12px; color: var(--forest); text-decoration: none; height: 100%; transition: background .25s; }
.hp-pillars a:hover { background: #f4efe4; }
.hp-pillars strong { display: block; font-weight: 600; font-size: .95rem; }
.hp-pillars small { display: block; color: var(--muted); font-size: .8rem; }
.hp-pi { width: 42px; height: 42px; flex: none; display: grid; place-items: center; border-radius: 50%; background: #f3ecdc; box-shadow: inset 0 0 0 1px rgba(194, 164, 109, .45); }
.hp-pi svg { width: 21px; height: 21px; fill: none; stroke: var(--gold-ink); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- The opening: envelope opens, invitation rises, designs fan out, RSVP arrives ---------- */
@keyframes hpFlap { from { transform: perspective(700px) rotateX(0deg); } to { transform: perspective(700px) rotateX(180deg); } }
@keyframes hpRise { from { translate: -50% 30%; scale: .72; opacity: 0; } 35% { opacity: 1; } to { translate: -50% 0; scale: 1; opacity: 1; } }
@keyframes hpFanL { from { transform: rotate(0deg) translate(55%, 12%) scale(.9); opacity: 0; } to { transform: rotate(-8deg); opacity: 1; } }
@keyframes hpFanR { from { transform: rotate(0deg) translate(-55%, 12%) scale(.9); opacity: 0; } to { transform: rotate(8deg); opacity: 1; } }
@keyframes hpFanLL { from { transform: rotate(0deg) translate(110%, -10%) scale(.88); opacity: 0; } to { transform: rotate(-14deg); opacity: 1; } }
@keyframes hpFanRR { from { transform: rotate(0deg) translate(-110%, -10%) scale(.88); opacity: 0; } to { transform: rotate(14deg); opacity: 1; } }
@keyframes hpToast { from { opacity: 0; transform: translate(-14px, 8px) scale(.96); } to { opacity: 1; transform: none; } }
@keyframes hpPhoto { from { scale: 1.12; } to { scale: 1; } }
@keyframes hpEnv { from { opacity: 0; translate: 0 14%; } to { opacity: 1; translate: 0 0; } }
.hp-env-back, .hp-env-front, .hp-env-seal { animation: hpEnv .6s ease-out both; }
.hp-env-seal { animation-name: hpSeal; }
@keyframes hpSeal { from { opacity: 0; translate: -50% -20%; } to { opacity: 1; translate: -50% -50%; } }
.hp-env-flap { animation: hpFlap .75s .45s cubic-bezier(.5, 0, .3, 1) both; }
.hp-phone { animation: hpRise 1.1s 1s cubic-bezier(.2, .75, .2, 1) both; transform-origin: 50% 100%; }
.hp-photo img { animation: hpPhoto 2.8s 1.4s cubic-bezier(.2, .6, .2, 1) both; }
.hp-side-l { animation: hpFanL .9s 1.8s cubic-bezier(.2, .75, .2, 1) both; }
.hp-side-r { animation: hpFanR .9s 1.95s cubic-bezier(.2, .75, .2, 1) both; }
.hp-side-ll { animation: hpFanLL .9s 2.15s cubic-bezier(.2, .75, .2, 1) both; }
.hp-side-rr { animation: hpFanRR .9s 2.3s cubic-bezier(.2, .75, .2, 1) both; }
.hp-toast { animation: hpToast .6s 2.7s cubic-bezier(.2, .75, .2, 1) both; }
/* after the opening, hover transforms take over from the animation */
.hp-stage.is-done .hp-side, .hp-stage.is-done .hp-phone { animation: none; }
@media (prefers-reduced-motion: reduce) {
  .hp-stage *, .hp-stage { animation: none !important; transition: none !important; }
}

/* ---------- Heritage: editorial photographs + the five collections ---------- */
.hp-heritage { position: relative; overflow: hidden; background: radial-gradient(55% 60% at 100% 0%, rgba(194, 164, 109, .13), transparent 70%), linear-gradient(180deg, var(--ivory), #f2ece0); }
.hp-her { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.hp-her-copy { display: grid; gap: 1.1rem; align-content: center; }
.hp-her-copy h2 { margin: 0; font-size: clamp(2.1rem, 1.4rem + 2.2vw, 3.3rem); line-height: 1.05; letter-spacing: -.01em; }
.hp-her-copy .lede { margin: 0; max-width: 32rem; }
.hp-her-list { list-style: none; margin: .4rem 0 0; padding: 0; border-top: 1px solid var(--line-strong); }
.hp-her-list li { border-bottom: 1px solid var(--line); }
.hp-her-link { --hp-c: var(--forest); position: relative; display: grid; grid-template-columns: 5.4rem minmax(0, 1fr) auto; align-items: center; gap: .9rem; padding: .85rem .4rem .85rem .2rem; color: var(--charcoal); text-decoration: none; transition: background .3s, padding .3s; }
.hp-her-link::after { content: "→"; color: var(--gold); font-size: 1.1rem; transition: transform .3s; }
.hp-her-link::before { content: ""; position: absolute; left: 0; top: 22%; bottom: 22%; width: 2px; background: var(--hp-c); transform: scaleY(0); transition: transform .3s; }
.hp-her-link:hover, .hp-her-link:focus-visible { background: rgba(255, 253, 247, .75); padding-left: .8rem; outline: none; }
.hp-her-link:hover::before, .hp-her-link:focus-visible::before { transform: none; }
.hp-her-link:hover::after, .hp-her-link:focus-visible::after { transform: translateX(4px); }
.hp-her-link:focus-visible { box-shadow: inset 0 0 0 2px var(--focus); }
.hp-her-native { font: italic 500 1.05rem/1.2 var(--font-display); color: var(--hp-c); }
.hp-her-native.ethiopic { font: 500 1rem/1.2 var(--font-ethiopic); }
.hp-her-native { display: inline-flex; align-items: center; gap: .5rem; }
.hp-her-native::before { content: ""; flex: none; width: 14px; height: 14px; border-radius: 3px; background: var(--hp-m, var(--hp-c)); box-shadow: 0 0 0 1px rgba(194, 164, 109, .6); transform: rotate(45deg); transition: transform .45s cubic-bezier(.2, .7, .2, 1); }
.hp-her-link:hover .hp-her-native::before, .hp-her-link:focus-visible .hp-her-native::before { transform: rotate(225deg) scale(1.15); }
.hp-her-list li:nth-child(1) .hp-her-link { --hp-m: repeating-linear-gradient(45deg, #8C2A36 0 3px, #C2A46D 3px 5px); }
.hp-her-list li:nth-child(2) .hp-her-link { --hp-m: linear-gradient(90deg, #1c1c1c 0 33%, #9B2C2C 33% 66%, #F2EBD8 66%); }
.hp-her-list li:nth-child(3) .hp-her-link { --hp-m: repeating-linear-gradient(0deg, #8A6A2E 0 2px, #F2EBD8 2px 4px); }
.hp-her-list li:nth-child(4) .hp-her-link { --hp-m: radial-gradient(circle at 50% 50%, #F2EBD8 0 22%, #1F4E6B 24%); }
.hp-her-list li:nth-child(5) .hp-her-link { --hp-m: repeating-linear-gradient(90deg, #304638 0 2px, #C2A46D 2px 3px, #F2EBD8 3px 5px); }
/* Choosing a collection: a short gold sweep before its page opens (see js/home-premium.js). */
.hp-her-link.is-opening { background: rgba(255, 253, 247, .9); padding-left: .8rem; }
.hp-her-link.is-opening::before { transform: none; }
.hp-her-link .hp-her-name { position: relative; }
.hp-her-link.is-opening .hp-her-name::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 2px; background: linear-gradient(90deg, var(--gold), #E2CC98); transform-origin: left; animation: hpSweep .42s cubic-bezier(.4, 0, .2, 1) both; }
@keyframes hpSweep { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.hp-her-gallery.is-opening .hp-ph { filter: brightness(1.04) saturate(1.06); }
.hp-her-gallery.is-opening .hp-ph-a { transform: scale(1.02); transition: transform .45s cubic-bezier(.2, .7, .2, 1); }
.hp-her-name { display: grid; gap: .1rem; }
.hp-her-name strong { font: 600 1.35rem/1.1 var(--font-display); color: var(--forest); }
.hp-her-name small { font-size: .84rem; line-height: 1.4; color: var(--muted); }

/* Gallery: one featured photograph and four supporting ones, shown no larger than their real size. */
.hp-her-gallery { position: relative; display: grid; grid-template-columns: repeat(10, minmax(0, 1fr)); grid-template-rows: repeat(9, minmax(0, 1fr)); gap: clamp(.5rem, 1vw, .85rem); aspect-ratio: 1 / 1.02; max-width: 640px; width: 100%; justify-self: end; }
.hp-her-gallery::before { content: ""; position: absolute; inset: 7% -5% -5% 12%; border: 1px solid rgba(194, 164, 109, .55); border-radius: 22px; z-index: 0; pointer-events: none; }
.hp-ph { position: relative; z-index: 1; margin: 0; overflow: hidden; border-radius: 14px; background: #e9e1cf; box-shadow: 0 22px 40px -28px rgba(31, 47, 37, .55); }
.hp-ph picture, .hp-ph img { display: block; width: 100%; height: 100%; }
.hp-ph img { object-fit: cover; transition: transform 1.1s cubic-bezier(.2, .7, .2, 1); }
.hp-ph::after { content: ""; position: absolute; inset: 6px; border-radius: 10px; box-shadow: inset 0 0 0 1px rgba(255, 253, 247, .55); pointer-events: none; }
@media (hover: hover) { .hp-ph:hover img { transform: scale(1.045); } .hp-ph:hover { box-shadow: 0 0 0 1px rgba(194, 164, 109, .7), 0 26px 46px -26px rgba(31, 47, 37, .6); } }
.hp-ph { transition: box-shadow .4s; }
/* Crossfading photographs (featured frame and one small tile) */
.hp-slides { position: absolute; inset: 0; }
.hp-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.4s ease; }
.hp-slide.is-active { opacity: 1; z-index: 1; }
.hp-slide img { transform: scale(1.06); transition: transform 7s linear; }
.hp-slide.is-active img { transform: scale(1); }
.hp-dots { position: absolute; z-index: 3; left: 50%; bottom: 18px; translate: -50% 0; display: flex; gap: 8px; padding: 6px 9px; border-radius: 999px; background: rgba(31, 47, 37, .35); backdrop-filter: blur(4px); }
.hp-dot { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 50%; background: rgba(255, 253, 247, .6); cursor: pointer; transition: width .35s, background .35s; }
.hp-dot.is-active { width: 20px; border-radius: 999px; background: #E2CC98; }
.hp-dot:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
/* make each dot an easy tap target without changing its look */
.hp-dot { position: relative; } .hp-dot::after { content: ""; position: absolute; inset: -10px -6px; }
.hp-ph-a { grid-column: 1 / 7; grid-row: 1 / 7; border-radius: 200px 200px 16px 16px; }
.hp-ph-a::after { border-radius: 196px 196px 12px 12px; }
.hp-ph-a::before { content: ""; position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; height: 9px; pointer-events: none;
  background: repeating-linear-gradient(90deg, #2F5D3A 0 10px, #C2A46D 10px 14px, #8C2A36 14px 20px, #C2A46D 20px 24px); opacity: .92; }
.hp-ph-b { grid-column: 7 / 11; grid-row: 1 / 4; }
.hp-ph-c { grid-column: 7 / 11; grid-row: 4 / 10; }
.hp-ph-d { grid-column: 1 / 4; grid-row: 7 / 10; }
.hp-ph-e { grid-column: 4 / 7; grid-row: 7 / 10; }
/* Gentle arrival as the section comes into view (skipped for reduced motion or without the script). */
@media (prefers-reduced-motion: no-preference) {
  .hp-her-gallery.is-ready .hp-ph { opacity: 0; transform: translateY(18px); clip-path: inset(12% 0 0 0 round 14px); transition: opacity .9s ease, transform 1s cubic-bezier(.2, .7, .2, 1), clip-path 1.2s cubic-bezier(.2, .7, .2, 1); }
  .hp-her-gallery.is-ready .hp-ph > picture img, .hp-her-gallery.is-ready .hp-ph-a .hp-slide.is-active img { scale: 1.12; transition: scale 1.8s cubic-bezier(.2, .7, .2, 1), transform 7s linear; }
  .hp-her-gallery.is-in .hp-ph > picture img, .hp-her-gallery.is-in .hp-ph-a .hp-slide.is-active img { scale: 1; }
  .hp-her-gallery.is-ready .hp-ph-b { transition-delay: .1s; } .hp-her-gallery.is-ready .hp-ph-c { transition-delay: .2s; }
  .hp-her-gallery.is-ready .hp-ph-d { transition-delay: .28s; } .hp-her-gallery.is-ready .hp-ph-e { transition-delay: .36s; }
  .hp-her-gallery.is-in .hp-ph { opacity: 1; transform: none; clip-path: inset(0 0 0 0 round 14px); }
  .hp-her-gallery.is-in .hp-ph-a { clip-path: inset(0 0 0 0 round 0); }
  .hp-her-gallery.is-done .hp-ph { clip-path: none; transition: box-shadow .4s; }
}
@media (prefers-reduced-motion: reduce) { .hp-ph img, .hp-slide, .hp-slide img { transition: none; } .hp-ph:hover img, .hp-slide img { transform: none; } .hp-her-native::before { transition: none; } }

/* ---------- Section polish (homepage only) ---------- */
.hp-designs .section-head h2, .hp-how .section-head h2, .hp-feat .section-head h2, .hp-stories .section-head h2, .hp-heritage .section-head h2 { letter-spacing: -.01em; }
.hp-steps { counter-reset: hpstep; gap: clamp(1rem, 2vw, 1.75rem); }
.hp-steps .step { position: relative; border-top: 0; padding: 1.4rem 1.3rem 1.5rem; border-radius: 18px; background: var(--warm-white); box-shadow: 0 0 0 1px var(--line); }
.hp-steps .step::before { counter-increment: hpstep; content: counter(hpstep); width: 2.8rem; height: 2.8rem; display: grid; place-items: center; border-radius: 50%; font-size: 1.5rem;
  color: var(--forest); background: radial-gradient(circle at 35% 30%, #fffdf7, #efe4cc); box-shadow: inset 0 0 0 1px var(--gold), 0 6px 14px -8px rgba(122, 98, 54, .6); }
.hp-steps .step:not(:last-child)::after { content: ""; position: absolute; top: 2.8rem; right: calc(-1 * clamp(1rem, 2vw, 1.75rem)); width: clamp(1rem, 2vw, 1.75rem); border-top: 1px dashed var(--line-strong); }
.hp-feat .card-link { border-radius: 18px; transition: transform .3s cubic-bezier(.2, .7, .2, 1), box-shadow .3s; }
.hp-feat .card-link:hover { transform: translateY(-4px); }
.hp-feat .feature-icon { box-shadow: inset 0 0 0 1px rgba(194, 164, 109, .55); }
.hp-ty .home-cards { filter: drop-shadow(0 24px 30px rgba(31, 47, 37, .14)); }
.hp-stories figure.card { position: relative; border-radius: 18px; padding-top: 2.4rem; }
.hp-stories figure.card::before { content: "“"; position: absolute; top: .2rem; left: 1.2rem; font: 600 3.4rem/1 var(--font-display); color: var(--gold); opacity: .8; }
.hp-final { position: relative; overflow: hidden; color: var(--ivory);
  background: radial-gradient(60% 70% at 85% 10%, rgba(194, 164, 109, .2), transparent 70%), radial-gradient(50% 60% at 5% 100%, rgba(227, 233, 223, .1), transparent 70%), linear-gradient(160deg, #2C4234, var(--forest-deep)); }
.hp-final h2 { color: var(--ivory); max-width: 22ch; }
.hp-final .lede { color: rgba(248, 244, 236, .8); margin: 0; }
.hp-final .btn-primary { background: var(--gold-light); border-color: var(--gold-light); color: var(--forest-deep); }
.hp-final .btn-primary:hover { background: #ecd9ad; border-color: #ecd9ad; color: var(--forest-deep); }
.hp-final .btn-outline { color: var(--ivory); border-color: rgba(248, 244, 236, .6); background: transparent; }
.hp-final .btn-outline:hover { background: rgba(248, 244, 236, .08); color: #fff; border-color: #fff; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .hp-steps .step::after { display: none; }
}
@media (max-width: 900px) {
  /* Phones and tablets: headline, then the invitation, then the main button. */
  .hp-grid { grid-template-columns: minmax(0, 1fr); gap: 1.1rem; }
  .hp-copy { display: contents; }
  .hp-eyebrow { order: 1; } .hp-h1 { order: 2; } .hp-stage { order: 3; } .hp-ctas { order: 4; } .hp-lede { order: 5; } .hp-trust { order: 6; } .hp-langs { order: 7; }
  .hp-hero .hp-h1 { text-align: left; }
  .hp-stage { max-width: 480px; margin-block: .25rem .5rem; }
  .hp-pillars { grid-template-columns: repeat(2, 1fr); }
  .hp-pillars li:nth-child(3) { border-left: 0; }
  .hp-pillars li:nth-child(n+3) { border-top: 1px solid var(--line); }
  .hp-backdrop { width: 100%; height: 55%; opacity: .32; }
  .hp-her { grid-template-columns: minmax(0, 1fr); gap: 1.1rem; }
  .hp-her-copy { display: contents; }
  .hp-her-copy > .eyebrow { order: 1; } .hp-her-copy > h2 { order: 2; } .hp-her-copy > .lede { order: 3; }
  .hp-her-gallery { order: 4; justify-self: center; max-width: 620px; margin: .6rem 0 2.2rem; }
  .hp-her-list { order: 5; }
}
@media (max-width: 560px) {
  .hp-hero .hp-h1 { font-size: clamp(2.3rem, 10.5vw, 2.9rem); }
  .hp-ctas .btn { width: 100%; justify-content: center; }
  .hp-toast { top: auto; bottom: 1%; min-width: 0; padding: .5rem .75rem .5rem .5rem; }
  .hp-toast-ic { width: 28px; height: 28px; }
  .hp-toast-txt { font-size: .76rem; }
  .hp-side { width: 30%; top: 20%; }
  .hp-stage .hp-side-l, .hp-stage .hp-side-r { top: 11%; }
  .hp-side-ll, .hp-side-rr { width: 25%; top: 40%; }
  .hp-side-ll { left: -1%; } .hp-side-rr { right: -1%; }
  .hp-side-tag { font-size: .54rem; padding: .32rem .5rem; }
  .hp-side-tag span { display: none; }
  .hp-pillars a { padding: .75rem .6rem; gap: .55rem; }
  .hp-pi { width: 34px; height: 34px; }
  .hp-pillars strong { font-size: .84rem; }
  .hp-pillars small { font-size: .72rem; }
  /* Heritage on phones: featured photograph full width, four supporting ones in pairs */
  .hp-her-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: none; aspect-ratio: auto; }
  .hp-her-gallery::before { display: none; }
  .hp-ph-a { grid-column: 1 / 3; grid-row: auto; aspect-ratio: 1 / 1.02; border-radius: 160px 160px 14px 14px; }
  .hp-ph-a::after { border-radius: 156px 156px 10px 10px; }
  .hp-ph-b, .hp-ph-c, .hp-ph-d, .hp-ph-e { grid-column: auto; grid-row: auto; aspect-ratio: 1 / 1.1; }
  .hp-her-link { grid-template-columns: 4.6rem minmax(0, 1fr) auto; gap: .7rem; }
}
