/* Beehive Legal: holding pages (About, LPA, Trusts, Probate, IFA, News). One compact opener, a coming-soon note,
   and links to the finished pages. Built by includes/holding.php. */

/* ---------- Opener: about half a screen ---------- */
.ho { position: relative; background: var(--wax); padding: clamp(34px, 5.5vh, 64px) 0 clamp(46px, 7vh, 80px); overflow: clip; min-height: min(56vh, 560px); display: flex; align-items: center; }
.ho > .wrap { position: relative; }
.ho__comb { opacity: 1; -webkit-mask-image: radial-gradient(ellipse 70% 90% at 30% 50%, #000, transparent 75%); mask-image: radial-gradient(ellipse 70% 90% at 30% 50%, #000, transparent 75%); }
.ho__glow { position: absolute; width: 620px; height: 620px; right: 4%; top: -260px; border-radius: 50%; background: radial-gradient(circle, rgba(250, 153, 0, .2), transparent 62%); pointer-events: none; }
.ho__grid { display: grid; grid-template-columns: minmax(0, 1.22fr) minmax(0, .78fr); gap: clamp(32px, 3.6vw, 60px); align-items: center; }
.ho__copy h1 { font-size: clamp(2.6rem, 4.4vw, 4.3rem); line-height: 1.03; }
.ho__line { margin: 18px 0 28px; font-size: clamp(1.08rem, 1.3vw, 1.22rem); line-height: 1.55; color: var(--ink-2); }

.ho__media { position: relative; padding: 0 14px 14px 0; }
.ho__ring { position: absolute; z-index: 0; width: 36%; right: -3%; bottom: -12%; overflow: visible; pointer-events: none; }
.ho__ring polygon { fill: none; stroke: var(--honey); stroke-width: 1.2; vector-effect: non-scaling-stroke; stroke-dasharray: 1; stroke-dashoffset: 0; opacity: .7; }
.ho__fw { z-index: 1; }
.ho__frame { height: clamp(280px, 40vh, 410px); width: 100%; }
.ho__media--portrait .ho__fw { width: min(100%, calc(clamp(280px, 40vh, 410px) * .85)); margin-left: auto; margin-right: 12%; }
.ho__media--portrait .ho__fact { left: auto; width: max-content; max-width: 300px; right: calc(12% + min(100%, calc(clamp(280px, 40vh, 410px) * .85)) - 90px); }
.ho__zoom { position: absolute; inset: 0; transform: scale(var(--z, 1)); transform-origin: 50% 50%; }
.ho__zoom img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 50% 50%); }
.ho__frame::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(200deg, transparent 55%, rgba(38, 37, 44, .35)); }

.ho__fact {
  position: absolute; left: clamp(-40px, -2.4vw, -16px); bottom: -18px; z-index: 2; margin: 0; display: flex; align-items: center; gap: 14px;
  max-width: min(330px, 86%); padding: 14px 18px 14px 14px; border-radius: var(--r); background: var(--slate); color: #fff;
  font-weight: 600; line-height: 1.35; box-shadow: 0 24px 48px -22px rgba(0, 0, 0, .55);
}
.ho__cell { position: relative; flex: none; width: 46px; height: 40px; clip-path: var(--hex); background: var(--honey); overflow: hidden; }
.ho__cell::before { content: ''; position: absolute; inset: 2px; clip-path: var(--hex); background: var(--slate-2); }
.ho__fill { position: absolute; left: 0; right: 0; bottom: 0; height: 100%; background: linear-gradient(180deg, var(--pollen), var(--honey)); transform-origin: 50% 100%; transform: scaleY(.62); }
.ho__fill::before { content: ''; position: absolute; left: -40%; right: -40%; top: -5px; height: 10px; border-radius: 50%; background: var(--pollen); }

html.js:not(.no-motion) [data-ho-frame] { clip-path: inset(100% 0 0 0); }
html.js:not(.no-motion) [data-ho-fact] { opacity: 0; transform: translateY(24px); }

/* ---------- Coming soon ---------- */
.soon { background: var(--paper); padding-top: clamp(64px, 7vw, 100px); }
.soon__comb { opacity: .7; -webkit-mask-image: linear-gradient(180deg, transparent, #000 40%, transparent); mask-image: linear-gradient(180deg, transparent, #000 40%, transparent); }
.soon > .wrap { position: relative; }
.soon__head { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; align-items: start; margin-bottom: clamp(36px, 4vw, 54px); }
.soon__intro p { font-size: clamp(1.05rem, 1.2vw, 1.15rem); color: var(--ink-2); }
.soon__note { margin-top: 10px; font-weight: 600; color: var(--ink) !important; }
.soon__note a { color: var(--teal); }
.soon__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.soon-card {
  position: relative; display: flex; flex-direction: column; gap: 12px; padding: clamp(24px, 2.4vw, 32px); border-radius: var(--r);
  background: var(--wax); border: 1px solid rgba(31, 30, 36, .07); overflow: hidden; isolation: isolate;
  transition: box-shadow .5s var(--ease), border-color .5s var(--ease);
}
.soon-card:hover { box-shadow: 0 26px 50px -30px rgba(38, 37, 44, .45); border-color: rgba(250, 153, 0, .5); }
.soon-card__glare { position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: 0; transition: opacity .4s; background: radial-gradient(circle at var(--gx, 50%) var(--gy, 50%), rgba(252, 195, 31, .28), transparent 55%); }
.soon-card:hover .soon-card__glare { opacity: 1; }
.soon-card__cell { position: relative; width: 50px; height: 43.3px; clip-path: var(--hex); background: var(--honey); overflow: hidden; margin-bottom: 4px; }
.soon-card__cell::before { content: ''; position: absolute; inset: 2px; clip-path: var(--hex); background: #fff; }
.soon-card__fill { position: absolute; inset: 0; background: linear-gradient(180deg, var(--pollen), var(--honey)); transform-origin: 50% 100%; transform: scaleY(0); }
html.no-motion .soon-card__fill { transform: scaleY(1); }
.soon-card h3 { font-size: clamp(1.35rem, 1.7vw, 1.65rem); line-height: 1.18; }
.soon-card p { color: var(--ink-2); }
.soon-card__list { display: grid; gap: 8px; }
.soon-card__list li { position: relative; padding-left: 26px; font-weight: 500; line-height: 1.45; }
.soon-card__list li::before { content: ''; position: absolute; left: 0; top: .42em; width: 14px; height: 12.1px; clip-path: var(--hex); background: var(--honey); }
html.js:not(.no-motion) [data-soon-grid] > li { opacity: 0; transform: translateY(40px); }

/* ---------- Pages you can read now ---------- */
.ho-links { padding-top: 0; }
.ho-links__marquee { position: relative; overflow: hidden; padding: 18px 0; border-bottom: 1px solid var(--line-dark); margin-bottom: clamp(50px, 6vw, 84px); }
.ho-links__track { display: flex; width: max-content; }
.ho-links__track span { display: inline-flex; align-items: center; padding: 0 26px; font-family: var(--display); font-size: clamp(1.5rem, 2.4vw, 2.2rem); line-height: 1.2; white-space: nowrap; color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, .5); font-weight: 600; }
.ho-links__track span:nth-child(3n) { color: var(--honey); -webkit-text-stroke: 0; }
.ho-links__track span::after { content: ''; width: 14px; height: 12.1px; margin-left: 52px; clip-path: var(--hex); background: var(--honey); }
.ho-links__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 14px 40px; margin-bottom: clamp(30px, 3.4vw, 46px); }
.ho-links__head p { margin: 0; font-size: 1.1rem; }
.ho-links__head a { color: #fff; font-weight: 600; text-decoration-color: var(--honey); text-underline-offset: 4px; }
.ho-links__grid { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.ho-tile {
  position: relative; display: flex; flex-direction: column; height: 100%; border-radius: var(--r); overflow: hidden; background: var(--slate-2);
  color: #fff; text-decoration: none; border: 1px solid var(--line-dark); transition: border-color .4s var(--ease), transform .5s var(--ease);
}
.ho-tile::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--honey); transform: scaleX(0); transform-origin: 0 50%; transition: transform .6s var(--ease); }
.ho-tile:hover, .ho-tile:focus-visible { border-color: rgba(250, 153, 0, .6); transform: translateY(-4px); }
.ho-tile:hover::after, .ho-tile:focus-visible::after { transform: scaleX(1); }
.ho-tile__img { display: block; aspect-ratio: 16 / 10; overflow: hidden; }
.ho-tile__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.ho-tile:hover .ho-tile__img img { transform: scale(1.08); }
.ho-tile__body { display: grid; gap: 6px; padding: 18px 60px 22px 20px; }
.ho-tile__t { font-family: var(--display); font-size: 1.4rem; line-height: 1.15; font-weight: 600; }
.ho-tile__p { color: var(--mist); font-size: .97rem; line-height: 1.45; }
.ho-tile__go { position: absolute; right: 16px; bottom: 20px; width: 38px; height: 38px; border-radius: var(--r-btn); display: grid; place-items: center; background: var(--honey); color: var(--ink); transition: transform .4s var(--ease); }
.ho-tile:hover .ho-tile__go { transform: translateX(4px); }

@media (prefers-reduced-motion: reduce) {
  html.js [data-ho-frame], html.js [data-ho-fact], html.js [data-soon-grid] > li { opacity: 1 !important; transform: none !important; clip-path: none !important; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1060px) {
  .soon__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ho-links__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .ho { min-height: 0; }
  .ho__grid { grid-template-columns: minmax(0, 1fr); gap: 30px; }
  .ho__ring { position: absolute; z-index: 0; width: 36%; right: -3%; bottom: -12%; overflow: visible; pointer-events: none; }
.ho__ring polygon { fill: none; stroke: var(--honey); stroke-width: 1.2; vector-effect: non-scaling-stroke; stroke-dasharray: 1; stroke-dashoffset: 0; opacity: .7; }
.ho__fw { z-index: 1; }
.ho__frame { height: clamp(220px, 34vh, 340px); }
  .ho__fact { left: 12px; bottom: -14px; }
  .ho__ring { width: 34%; right: -2%; bottom: -8%; }
  .ho__media--portrait .ho__fw { width: 100%; margin: 0; }
  .ho__media--portrait .ho__frame { height: clamp(300px, 46vh, 420px); }
  .ho__media--portrait .ho__fact { right: auto; left: 12px; width: auto; max-width: min(330px, 86%); }
  .soon__head { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .ho { padding-top: 26px; }
  .ho__copy h1 { font-size: 2.45rem; }
  .ho__line { margin: 14px 0 22px; }
  .ho .btns .btn { flex: 1 1 auto; }
  .ho__media { padding: 0 8px 8px 0; }
  .ho__fact { position: relative; left: auto; bottom: auto; margin: -34px 12px 0; max-width: none; }
  .soon__grid { grid-template-columns: minmax(0, 1fr); }
  .ho-links__grid { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .ho-tile { flex-direction: row; }
  .ho-tile__img { flex: none; width: 112px; aspect-ratio: auto; }
  .ho-tile__body { padding: 14px 54px 16px 16px; }
  .ho-tile__t { font-size: 1.25rem; }
  .ho-tile__go { width: 34px; height: 34px; right: 12px; bottom: auto; top: 50%; margin-top: -17px; }
}

/* =====================================================================================================
   Privacy policy (privacy-policy.php): a slim slate title band with the comb, then the policy laid out
   for reading with a sticky contents list that follows you down the page.
   ===================================================================================================== */
.pv-band { position: relative; background: var(--slate); color: #fff; overflow: clip; min-height: min(32vh, 320px); display: flex; align-items: center; padding: clamp(36px, 5vh, 56px) 0; }
.pv-band__comb { opacity: 1; -webkit-mask-image: linear-gradient(90deg, rgba(0, 0, 0, .35), #000 70%); mask-image: linear-gradient(90deg, rgba(0, 0, 0, .35), #000 70%); }
.pv-band__glow { position: absolute; width: 560px; height: 560px; right: 8%; top: -300px; border-radius: 50%; background: radial-gradient(circle, rgba(250, 153, 0, .26), transparent 62%); pointer-events: none; }
.pv-band__inner { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.pv-band h1 { font-size: clamp(2.6rem, 4.8vw, 4.4rem); line-height: 1.02; }
.pv-band__dates { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.pv-band__dates span { padding: 7px 14px; border-radius: var(--r); border: 1px solid var(--line-dark); background: rgba(255, 255, 255, .05); color: var(--mist); font-size: .95rem; }
.pv-band__seal { flex: none; width: clamp(110px, 11vw, 150px); height: auto; overflow: visible; }
.pv-seal__hex { fill: none; stroke: var(--honey); stroke-width: 2; }
.pv-seal__in { fill: var(--honey); }
.pv-seal__shield { fill: none; stroke: var(--ink); stroke-width: 3.4; stroke-linejoin: round; }
.pv-seal__tick { fill: none; stroke: var(--ink); stroke-width: 3.4; stroke-linecap: round; stroke-linejoin: round; }

.pv { background: var(--paper); padding-top: clamp(56px, 6vw, 90px); }
.pv__comb { opacity: .55; -webkit-mask-image: linear-gradient(90deg, #000, transparent 30%); mask-image: linear-gradient(90deg, #000, transparent 30%); }
.pv__grid { position: relative; display: grid; grid-template-columns: 290px minmax(0, 1fr); gap: clamp(40px, 5vw, 80px); align-items: start; }
.pv-toc { position: sticky; top: 100px; }
.pv-toc__box { border-radius: var(--r); background: var(--wax); padding: 22px 20px 18px; border: 1px solid rgba(31, 30, 36, .07); }
.pv-toc__h { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; font-weight: 700; font-size: .85rem; letter-spacing: .06em; text-transform: uppercase; color: var(--teal); margin-bottom: 12px; }
.pv-toc__h::-webkit-details-marker { display: none; }
.pv-toc__wrap { position: relative; padding-left: 14px; }
.pv-toc__rail { position: absolute; left: 0; top: 4px; bottom: 4px; width: 2px; background: rgba(31, 30, 36, .1); border-radius: 2px; }
.pv-toc__rail i { position: absolute; inset: 0; background: linear-gradient(180deg, var(--pollen), var(--honey)); transform-origin: 50% 0; transform: scaleY(0); }
html.no-motion .pv-toc__rail i { transform: none; }
.pv-toc__bead { position: absolute; left: 50%; top: 0; width: 12px; height: 10.4px; margin: -5.2px 0 0 -6px; clip-path: var(--hex); background: var(--honey); }
html.no-motion .pv-toc__bead { display: none; }
.pv-toc__list { margin: 0; padding: 0; list-style: none; display: grid; gap: 1px; }
.pv-toc__list a { display: flex; gap: 10px; padding: 5px 8px; border-radius: calc(var(--r) - 4px); color: var(--ink-2); text-decoration: none; font-size: .95rem; line-height: 1.35; transition: color .3s, background-color .3s; }
.pv-toc__list a:hover { color: var(--ink); background: rgba(250, 153, 0, .1); }
.pv-toc__n { flex: none; min-width: 1.4em; color: rgba(31, 30, 36, .45); font-variant-numeric: tabular-nums; transition: color .3s; }
.pv-toc__list a.is-on { color: var(--ink); font-weight: 600; background: rgba(250, 153, 0, .16); }
.pv-toc__list a.is-on .pv-toc__n { color: var(--honey-deep); }
.pv-toc__ask { margin: 16px 4px 0; color: var(--ink-2); font-size: .95rem; }
.pv-toc__ask a { color: var(--teal); font-weight: 600; }

.pv-body { min-width: 0; }
.pv-prog { display: none; }
.pv-sec { scroll-margin-top: 110px; padding-bottom: clamp(34px, 3.4vw, 46px); margin-bottom: clamp(34px, 3.4vw, 46px); border-bottom: 1px solid var(--line); }
.pv-sec:last-child { border-bottom: 0; margin-bottom: 0; padding-bottom: 0; }
.pv-sec h2 { font-size: clamp(1.75rem, 2.5vw, 2.3rem); line-height: 1.12; margin-bottom: 18px; }
.pv-sec__n { color: var(--honey-deep); }
.pv-sec__body { font-size: 1.07rem; line-height: 1.7; color: #33323A; }
.pv-sec__body p { max-width: 110ch; }
.pv-sec__body a { color: var(--teal); font-weight: 600; text-underline-offset: 3px; }
.pv-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 28px; margin: 4px 0 18px; }
.pv-list li { position: relative; padding-left: 26px; line-height: 1.5; }
.pv-list li::before { content: ''; position: absolute; left: 0; top: .5em; width: 13px; height: 11.3px; clip-path: var(--hex); background: var(--honey); }
.pv-card { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 0; margin: 4px 0 20px; border-radius: var(--r); background: var(--wax); border: 1px solid rgba(31, 30, 36, .07); overflow: hidden; }
.pv-card > div { padding: 14px 18px; border-bottom: 1px solid var(--line); }
.pv-card dt { font-size: .85rem; color: var(--ink-2); }
.pv-card dd { margin: 2px 0 0; font-weight: 600; color: var(--ink); }
.pv-contact { font-weight: 600; }
html.js:not(.no-motion) [data-pv-body] { opacity: 0; transform: translateY(26px); }
@media (prefers-reduced-motion: reduce) {
  html.js [data-pv-body] { opacity: 1 !important; transform: none !important; }
}
@media (max-width: 900px) {
  .pv__grid { grid-template-columns: minmax(0, 1fr); gap: 30px; }
  .pv-toc { position: relative; top: auto; }
  .pv-prog { display: block; position: sticky; top: 68px; z-index: 5; height: 4px; margin: -30px calc(var(--gut) * -1) 0; background: rgba(31, 30, 36, .08); }
  .pv-prog i { position: absolute; inset: 0; background: linear-gradient(90deg, var(--pollen), var(--honey)); transform-origin: 0 50%; transform: scaleX(0); }
  .pv-toc__h { cursor: pointer; display: flex; justify-content: space-between; align-items: center; margin-bottom: 0; }
  .pv-toc__h::after { content: ''; width: 12px; height: 12px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-3px); transition: transform .3s; }
  .pv-toc__box[open] .pv-toc__h { margin-bottom: 12px; }
  .pv-toc__box[open] .pv-toc__h::after { transform: rotate(-135deg) translateY(-3px); }
}
@media (max-width: 640px) {
  .pv-band__inner { display: block; }
  .pv-band__seal { position: absolute; right: var(--gut); top: 4px; width: 66px; }
  .pv-band__dates span { font-size: .9rem; }
  .pv-list { grid-template-columns: minmax(0, 1fr); }
}

/* The contents list folds away at every size; its links are full tap targets on phones */
.pv-toc__h::after { content: ''; width: 10px; height: 10px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(-135deg) translateY(-3px); transition: transform .3s; }
.pv-toc__box:not([open]) .pv-toc__h { margin-bottom: 0; }
.pv-toc__box:not([open]) .pv-toc__h::after { transform: rotate(45deg) translateY(-3px); }
@media (max-width: 900px) {
  .pv-toc__box a { min-height: 44px; display: flex; align-items: center; }
}

.pv-card dd a { display: inline-flex; align-items: center; min-height: 44px; }
