/*
Theme Name:  Beyond Concierge
Theme URI:   https://beyond-luxuryservices.com
Author:      Beyond Concierge
Description: Bespoke one-page theme for Beyond Concierge — luxury lifestyle management, Dubai. Every section, card, form field and tracking ID is editable from the dashboard; no page builder or third-party plugin required.
Version:     1.0.0
Requires at least: 6.2
Tested up to: 6.7
Requires PHP: 7.4
License:     GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: beyond
Tags:        one-column, custom-colors, custom-menu, custom-logo, editor-style, featured-images, full-width-template, theme-options
*/

/* ==========================================================================
   Beyond Concierge

   Colour comes from the brand assets: the gold is the exact fill from Logo.pdf
   (#C1AC7D); the greens are sampled from the leather ground and lifted so the
   page reads as dark green rather than black.

   One typeface throughout — Archivo, a variable grotesque. Hierarchy is built
   from its width and weight axes rather than from a second family: display type
   runs light and expanded (font-stretch 110–125%), body sits at normal width,
   and utility type runs medium, letterspaced and small. Never mix the roles.
   ========================================================================== */

/* --------------------------------------------------------------- tokens -- */
:root{
  /* colour */
  --ink:        #162922;   /* page base — dark green, not black */
  --forest:     #1E3730;   /* bands and surfaces, a step lighter than the base */
  --forest-2:   #274740;   /* raised surface: inputs, portal cards */
  --gold:       #C1AC7D;   /* exact wordmark gold */
  --gold-lt:    #E2D3AC;
  --gold-dk:    #7C663A;   /* gold that survives the bone ground */
  --bone:       #EFEBE1;
  --bone-2:     #E3DED1;
  --text:       #D3DAD4;   /* body on dark */
  --sage:       #9DACA3;   /* muted on dark */
  --ink-bone:   #16211B;   /* text on bone */
  --sage-bone:  #5A6960;   /* muted on bone */
  --hair:       color-mix(in srgb, var(--gold) 26%, transparent);
  --hair-bone:  color-mix(in srgb, var(--ink-bone) 16%, transparent);

  /* type — one family, three roles */
  --sans: "Archivo", "Helvetica Neue", Arial, system-ui, sans-serif;

  /* motion */
  --ease: cubic-bezier(.22,.61,.36,1);
  --slow: cubic-bezier(.16,1,.3,1);

  /* metrics */
  --gutter: clamp(1.25rem, 5vw, 4rem);
  --measure: 34rem;
  --nav-h: 78px;
}

*,*::before,*::after{ box-sizing:border-box }
html{ -webkit-text-size-adjust:100% }

/* A `display` declaration on an element beats the UA's [hidden] rule, so any
   hidden overlay would otherwise stay in the layer stack and eat clicks. */
[hidden]{ display:none !important }

html:focus-within{ scroll-behavior:smooth }
html{ scroll-padding-top: calc(var(--nav-h) + 1rem) }

body{
  margin:0;
  background:var(--ink);
  color:var(--text);
  font-family:var(--sans);
  font-weight:350;
  font-size:clamp(1rem, .96rem + .18vw, 1.0625rem);
  line-height:1.72;
  letter-spacing:.002em;
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}

img,svg{ display:block; max-width:100% }
img{ height:auto }

::selection{ background:var(--gold); color:var(--ink) }

.sr{
  position:absolute; width:1px; height:1px; padding:0; margin:-1px;
  overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap; border:0;
}

.skip{
  position:absolute; left:1rem; top:-4rem; z-index:200;
  background:var(--gold); color:var(--ink);
  padding:.7rem 1.1rem; font-size:.72rem; font-weight:500; line-height:1;
  letter-spacing:.14em; text-transform:uppercase; text-decoration:none;
  transition:top .2s var(--ease);
}
.skip:focus{ top:1rem }

:where(a,button,input,select,textarea):focus-visible{
  outline:2px solid var(--gold-lt);
  outline-offset:3px;
  border-radius:1px;
}

/* -------------------------------------------------------- type helpers -- */
.wrap{ width:100%; max-width:1340px; margin-inline:auto; padding-inline:var(--gutter) }

/* Utility voice: medium weight, wide tracking, always small. */
.eyebrow{
  margin:0 0 1.6rem;
  font-size:.68rem; font-weight:500; line-height:1.4;
  letter-spacing:.2em;
  text-transform:uppercase;
  color:var(--gold);
  display:flex; align-items:center; gap:.85rem; flex-wrap:wrap;
}
.eyebrow em{
  font-style:normal;
  color:var(--gold-lt);
  padding-right:.85rem;
  border-right:1px solid var(--hair);
}
.eyebrow i{ display:block; width:2.5rem; height:1px; background:var(--hair) }

/* Display voice: light weight, slightly expanded, tight tracking. */
.h2{
  margin:0;
  font-weight:300; font-stretch:118%;
  font-size:clamp(1.8rem, 1.05rem + 2.7vw, 3.25rem);
  line-height:1.12;
  letter-spacing:-.026em;
  color:var(--bone);
  max-width:21ch;
  text-wrap:balance;
}

.head{ margin-bottom:clamp(3rem, 6vw, 5.5rem) }
.head--center{ text-align:center }
.head--center .eyebrow{ justify-content:center }
.head--center .h2{ margin-inline:auto; max-width:24ch }

.lede{
  font-size:clamp(1.1rem, 1rem + .45vw, 1.35rem);
  line-height:1.56;
  color:var(--bone);
  letter-spacing:-.004em;
  font-weight:350;
}
.lede--wide{ max-width:54ch; margin-block:0 clamp(3rem,5vw,4.5rem) }

p{ margin:0 0 1.35em; max-width:var(--measure) }
p:last-child{ margin-bottom:0 }

/* ------------------------------------------------------------ controls -- */
.btn{
  --btn-fg:var(--ink); --btn-bg:var(--gold);
  display:inline-flex; align-items:center; justify-content:center;
  padding:1.05rem 2.1rem;
  background:var(--btn-bg); color:var(--btn-fg);
  font-size:.72rem; font-weight:500; line-height:1;
  letter-spacing:.15em; text-transform:uppercase; text-decoration:none;
  border:1px solid var(--btn-bg); border-radius:0; cursor:pointer;
  font-family:inherit;
  transition:background .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease);
}
.btn:hover{ background:transparent; color:var(--gold-lt); border-color:var(--gold-lt) }
.btn--sm{ padding:.78rem 1.4rem; font-size:.67rem }

.link{
  display:inline-block;
  font-size:.72rem; font-weight:500; line-height:1;
  letter-spacing:.15em; text-transform:uppercase;
  color:var(--gold); text-decoration:none;
  padding-bottom:.5rem;
  background:linear-gradient(var(--gold),var(--gold)) 0 100%/100% 1px no-repeat;
  transition:color .3s var(--ease), background-size .45s var(--slow);
}
.link:hover{ color:var(--gold-lt); background-size:38% 1px }

/* ================================================================= nav == */
.nav{
  position:fixed; inset:0 0 auto; z-index:100;
  height:var(--nav-h);
  display:flex; align-items:center;
  border-bottom:1px solid transparent;
  transition:background .5s var(--ease), border-color .5s var(--ease), transform .5s var(--ease);
}
.nav.is-stuck{
  background:color-mix(in srgb, var(--forest) 88%, transparent);
  backdrop-filter:blur(14px) saturate(1.3);
  border-bottom-color:var(--hair);
}

.nav__inner{
  width:100%; max-width:1340px; margin-inline:auto; padding-inline:var(--gutter);
  display:flex; align-items:center; gap:2rem;
}
.nav__mark{ display:block; flex:none; margin-right:auto }
.nav__mark img{ width:clamp(112px,12vw,148px); transition:opacity .3s var(--ease) }
.nav__mark:hover img{ opacity:.72 }

.nav__links{ display:flex; gap:clamp(1.5rem,2.6vw,2.75rem) }
.nav__links a{
  font-size:.71rem; font-weight:500; line-height:1;
  letter-spacing:.15em; text-transform:uppercase;
  color:var(--text); text-decoration:none;
  padding-bottom:.4rem;
  background:linear-gradient(var(--gold),var(--gold)) 0 100%/0 1px no-repeat;
  transition:color .3s var(--ease), background-size .4s var(--slow);
}
.nav__links a:hover{ color:var(--gold-lt); background-size:100% 1px }

.nav__toggle{
  display:none; flex:none;
  width:44px; height:44px; margin-right:-10px;
  background:none; border:0; cursor:pointer;
  align-items:center; justify-content:center;
}
.nav__toggle-bars{ display:block; width:24px }
.nav__toggle-bars i{
  display:block; height:1px; background:var(--gold);
  transition:transform .4s var(--slow), opacity .3s;
}
.nav__toggle-bars i:first-child{ margin-bottom:7px }
.nav__toggle[aria-expanded="true"] i:first-child{ transform:translateY(4px) rotate(45deg) }
.nav__toggle[aria-expanded="true"] i:last-child{ transform:translateY(-4px) rotate(-45deg) }

/* mobile menu ------------------------------------------------------------ */
.menu{
  position:fixed; inset:0; z-index:99;
  background:var(--forest);
  padding:calc(var(--nav-h) + 2rem) var(--gutter) 3rem;
  display:flex; flex-direction:column; justify-content:space-between;
  opacity:0; transition:opacity .4s var(--ease);
}
.menu.is-open{ opacity:1 }
.menu__list{ display:flex; flex-direction:column }
.menu__list a{
  display:flex; align-items:baseline; gap:1.1rem;
  padding:1.05rem 0;
  border-top:1px solid var(--hair);
  font-weight:300; font-stretch:114%;
  font-size:clamp(1.3rem,5.6vw,1.8rem);
  letter-spacing:-.024em; color:var(--bone); text-decoration:none;
}
.menu__list a:last-child{ border-bottom:1px solid var(--hair) }
.menu__list em{
  font-style:normal; font-size:.68rem; font-weight:500; line-height:1;
  letter-spacing:.16em; color:var(--gold); min-width:2.5ch;
}
.menu__foot{ margin:0 }
.menu__foot a{
  font-size:.72rem; font-weight:500; line-height:1; letter-spacing:.1em;
  color:var(--gold); text-decoration:none;
}

/* ================================================================ hero == */
.hero{
  position:relative;
  min-height:100svh;
  display:flex; align-items:flex-end;
  padding:calc(var(--nav-h) + 3rem) 0 clamp(3.5rem,10vh,7rem);
  overflow:hidden;
}
.hero__media{ position:absolute; inset:0; z-index:0 }
.hero__media img{
  width:100%; height:100%; object-fit:cover; object-position:50% 42%;
  animation:heroDrift 2.4s var(--slow) both;
}
.hero::after{
  content:""; position:absolute; inset:0; z-index:1; pointer-events:none;
  /* A pool of shade in the lower left so the wordmark, headline and sub-copy
     always sit on a dark field, whatever the photograph is doing behind them. */
  background:
    linear-gradient(180deg, color-mix(in srgb,var(--ink) 68%, transparent) 0%, transparent 24%),
    radial-gradient(118% 112% at 2% 88%,
      color-mix(in srgb,var(--ink) 93%, transparent) 0%,
      color-mix(in srgb,var(--ink) 62%, transparent) 42%,
      transparent 74%),
    linear-gradient(0deg, var(--ink) 0%, color-mix(in srgb,var(--ink) 58%, transparent) 20%, transparent 54%);
}
.hero__body{ position:relative; z-index:2; width:100%; max-width:1340px; margin-inline:auto; padding-inline:var(--gutter) }
/* A wide, very soft shade behind the hero type — imperceptible as an effect,
   but it holds the light strokes legible wherever the fog line falls. */
.hero__title{ text-shadow:0 2px 44px color-mix(in srgb,var(--ink) 55%, transparent) }
.hero__eyebrow,.hero__sub{ text-shadow:0 1px 18px color-mix(in srgb,var(--ink) 72%, transparent) }

.hero__eyebrow{ margin-bottom:1.6rem; opacity:0; animation:fadeUp .9s var(--ease) .35s both }

.hero__title{
  margin:0;
  font-weight:300; font-stretch:125%;
  font-size:clamp(2.75rem, .5rem + 6.95vw, 7.1rem);
  line-height:1.02; letter-spacing:-.032em; color:var(--bone);
  text-wrap:nowrap;
}
.hero__title em{ font-style:normal; font-weight:400; color:var(--gold) }
.mask{ display:block; overflow:hidden; padding-bottom:.06em }
.mask > span{ display:block; transform:translateY(105%); animation:rise 1.25s var(--slow) both }
.mask:nth-of-type(1) > span{ animation-delay:.5s }
.mask:nth-of-type(2) > span{ animation-delay:.64s }

.hero__rule{
  height:1px; margin:clamp(1.6rem,3vw,2.4rem) 0 clamp(1.4rem,2.5vw,2rem);
  background:var(--gold); transform-origin:left;
  max-width:min(620px,60%);
  animation:draw 1.4s var(--slow) 1.05s both;
}
.hero__sub{
  max-width:46ch;
  font-size:clamp(1.05rem,.94rem + .45vw,1.28rem); line-height:1.56;
  color:var(--bone); font-weight:350; letter-spacing:-.004em;
  opacity:0; animation:fadeUp .9s var(--ease) 1.15s both;
}
.hero__acts{
  display:flex; align-items:center; gap:clamp(1.4rem,3vw,2.5rem); flex-wrap:wrap;
  margin-top:clamp(2rem,4vw,2.8rem);
  opacity:0; animation:fadeUp .9s var(--ease) 1.3s both;
}

.hero__cue{
  position:absolute; z-index:2; right:var(--gutter); bottom:clamp(3.5rem,10vh,7rem);
  width:1px; height:76px; background:var(--hair); overflow:hidden;
  opacity:0; animation:fadeUp .9s var(--ease) 1.6s both;
}
.hero__cue span{
  position:absolute; inset:0; background:var(--gold);
  animation:cue 2.6s var(--ease) infinite;
}

@keyframes rise{ to{ transform:none } }
@keyframes fadeUp{ from{ opacity:0; transform:translateY(14px) } to{ opacity:1; transform:none } }
@keyframes draw{ from{ transform:scaleX(0) } to{ transform:none } }
@keyframes heroDrift{ from{ transform:scale(1.09) } to{ transform:none } }
@keyframes cue{ 0%{ transform:translateY(-100%) } 55%,100%{ transform:translateY(100%) } }

/* ============================================================ sections == */
.section{ padding-block:clamp(4.5rem,8.6vw,8rem) }
.section--flush{ padding-block:0 }

.section--leather{
  position:relative;
  background:var(--forest);
  border-block:1px solid var(--hair);
}
.section--leather::before{
  content:""; position:absolute; inset:0; pointer-events:none;
  background:url("assets/img/leather.webp") center/cover;
  opacity:.3; mix-blend-mode:luminosity;
}
.section--leather > *{ position:relative }

.section--bone{ background:var(--bone); color:var(--ink-bone) }
.section--bone .h2{ color:var(--ink-bone) }
.section--bone .eyebrow{ color:var(--gold-dk) }
.section--bone .eyebrow em{ color:var(--gold-dk); border-right-color:var(--hair-bone) }
.section--bone .lede{ color:var(--ink-bone) }

/* concept ---------------------------------------------------------------- */
.split{
  display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr);
  gap:clamp(2.5rem,6vw,6rem); align-items:start;
}
.split__text > p + p{ margin-top:0 }
.split__text .lede{ margin-bottom:1.9rem; color:var(--bone) }
.split__text p{ color:var(--sage) }
.split__media{ margin:0; overflow:hidden }
.split__media img{ width:100%; aspect-ratio:3/2; object-fit:cover }

.pair{
  display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,20rem),1fr));
  gap:clamp(2rem,5vw,4.5rem);
  margin-top:clamp(3.5rem,7vw,6rem);
  padding-top:clamp(3rem,5vw,4rem);
  border-top:1px solid var(--hair);
}
.pair__text{
  margin:0; max-width:40ch;
  font-weight:300; font-stretch:110%;
  font-size:clamp(1.1rem,.98rem + .55vw,1.42rem);
  line-height:1.44; letter-spacing:-.022em; color:var(--bone);
}

/* values ----------------------------------------------------------------- */
.values{
  list-style:none; margin:0; padding:0;
  display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,13.5rem),1fr));
  border-top:1px solid var(--hair);
}
.values__item{
  padding:clamp(1.9rem,3vw,2.6rem) clamp(1.2rem,2vw,1.9rem) clamp(2.2rem,3.5vw,3rem) 0;
  border-bottom:1px solid var(--hair);
}
.values__item + .values__item{ border-left:1px solid var(--hair); padding-left:clamp(1.2rem,2vw,1.9rem) }
.values__item h3{
  margin:0 0 .7rem;
  font-weight:400; font-stretch:112%;
  font-size:clamp(1.1rem,.98rem + .45vw,1.32rem);
  letter-spacing:-.018em; color:var(--gold);
}
.values__item p{ margin:0; font-size:.95rem; line-height:1.6; color:var(--sage) }

/* services index --------------------------------------------------------- */
.index{
  display:grid; grid-template-columns:minmax(0,.78fr) minmax(0,1.22fr);
  gap:clamp(2.5rem,6vw,6rem); align-items:start;
}
.index__panel{ position:sticky; top:calc(var(--nav-h) + 4vh) }
.index__frame{
  position:relative; aspect-ratio:3/4; overflow:hidden;
  background:var(--bone-2);
}
.index__img{
  position:absolute; inset:0;
  opacity:0; transform:scale(1.05);
  transition:opacity .7s var(--ease), transform 1.4s var(--slow);
}
.index__img img{ width:100%; height:100%; object-fit:cover; display:block }
.index__img.is-on{ opacity:1; transform:none }
.index__desc{
  margin:1.6rem 0 0; max-width:40ch; min-height:5.5em;
  font-size:1rem; line-height:1.6; color:var(--sage-bone);
  transition:opacity .35s var(--ease);
}
.index__desc.is-fading{ opacity:0 }

.index__list{ list-style:none; margin:0; padding:0 }
.index__row{ border-top:1px solid var(--hair-bone); position:relative }
.index__row:last-child{ border-bottom:1px solid var(--hair-bone) }
.index__row button{
  display:block; width:100%; text-align:left;
  padding:clamp(1.05rem,2vw,1.6rem) 0;
  background:none; border:0; cursor:pointer;
  font-family:inherit; font-weight:300; font-stretch:114%;
  font-size:clamp(1.2rem,.85rem + 1.32vw,1.98rem);
  line-height:1.22; letter-spacing:-.028em;
  color:color-mix(in srgb,var(--ink-bone) 54%, transparent);
  transition:color .4s var(--ease);
}
.index__row button span{
  display:inline-block;
  transition:transform .55s var(--slow);
}
.index__row.is-on button{ color:var(--ink-bone) }
.index__row.is-on button span{ transform:translateX(clamp(.9rem,2vw,1.8rem)) }
.index__row::before{
  content:""; position:absolute; left:0; top:50%;
  width:0; height:1px; background:var(--gold-dk);
  transition:width .55s var(--slow);
}
.index__row.is-on::before{ width:clamp(.55rem,1.4vw,1.25rem) }
.index__row button:hover{ color:color-mix(in srgb,var(--ink-bone) 84%, transparent) }
.index__thumb{ display:none }
.index__text{ display:none; margin:0; max-width:44ch; font-size:.98rem; line-height:1.62; color:var(--sage-bone) }

/* the difference --------------------------------------------------------- */
.diff{
  display:grid; grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);
  align-items:stretch;
}
.diff__media{ margin:0; position:relative; overflow:hidden; min-height:100% }
.diff__media img{
  position:absolute; inset:0; width:100%; height:100%; object-fit:cover;
}
.diff__media::after{
  content:""; position:absolute; inset:0;
  background:linear-gradient(90deg, transparent 55%, var(--ink) 100%);
}
.diff__body{
  padding:clamp(4.5rem,9vw,8rem) var(--gutter) clamp(4.5rem,9vw,8rem) clamp(2.5rem,6vw,6rem);
  max-width:calc(1340px * .62 + var(--gutter));
}
.diff__body .lede{ margin-bottom:clamp(2.5rem,5vw,4rem); max-width:48ch }

.diff__list{ margin:0; padding:0; border-top:1px solid var(--hair) }
.diff__list > div{
  display:grid; grid-template-columns:minmax(0,15rem) minmax(0,1fr);
  gap:clamp(1rem,3vw,2.5rem);
  padding:clamp(1.1rem,2vw,1.5rem) 0;
  border-bottom:1px solid var(--hair);
}
.diff__list dt{
  font-weight:400; font-stretch:112%;
  font-size:clamp(.98rem,.93rem + .28vw,1.15rem);
  letter-spacing:-.018em; color:var(--gold);
}
.diff__list dd{ margin:0; font-size:.98rem; line-height:1.6; color:var(--sage) }

/* portal ----------------------------------------------------------------- */
.portal{
  position:relative; overflow:hidden;
  padding-block:clamp(4.5rem,8.6vw,8rem);
  border-block:1px solid var(--hair);
}
.portal__bg{
  position:absolute; inset:0; width:100%; height:100%; object-fit:cover;
  object-position:50% 58%;
  opacity:.62;
}
.portal::after{
  content:""; position:absolute; inset:0;
  background:
    radial-gradient(75% 65% at 50% 62%, transparent 0%, color-mix(in srgb,var(--ink) 82%, transparent) 68%, var(--ink) 100%),
    linear-gradient(180deg, var(--ink) 0%, transparent 22%, transparent 76%, var(--ink) 100%);
}
.portal__wrap{ position:relative; z-index:1 }
.portal__list{
  list-style:none; margin:0 auto; padding:0; max-width:70rem;
  display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,16rem),1fr));
  gap:1px; background:var(--hair); border:1px solid var(--hair);
}
.portal__list li{
  background:color-mix(in srgb,var(--ink) 78%, transparent);
  backdrop-filter:blur(6px);
  padding:clamp(1.6rem,3vw,2.4rem);
  font-weight:350; font-stretch:106%;
  font-size:clamp(.98rem,.93rem + .3vw,1.14rem);
  line-height:1.45; letter-spacing:-.012em; color:var(--bone);
  text-wrap:balance;
}

/* network ---------------------------------------------------------------- */
.partners{
  list-style:none; margin:0; padding:0;
  border-top:1px solid var(--hair);
}
.partner{
  display:grid; grid-template-columns:minmax(0,18rem) minmax(0,1fr) auto;
  gap:clamp(1rem,3vw,3rem); align-items:baseline;
  padding:clamp(1.4rem,2.6vw,2.1rem) 0;
  border-bottom:1px solid var(--hair);
  transition:background .4s var(--ease), padding-left .5s var(--slow);
}
.partner:hover{ background:color-mix(in srgb,var(--gold) 6%, transparent); padding-left:clamp(.6rem,1.5vw,1.4rem) }
.partner h3{
  margin:0;
  font-weight:300; font-stretch:114%;
  font-size:clamp(1.2rem,1rem + .78vw,1.7rem);
  letter-spacing:-.03em; color:var(--bone);
}
.partner p{ margin:0; font-size:.98rem; color:var(--sage) }
.partner__tag{
  font-size:.66rem; font-weight:500; line-height:1.5;
  letter-spacing:.2em; text-transform:uppercase;
  color:var(--gold); white-space:nowrap;
  position:relative; padding-left:1.6rem;
}
.partner__tag::before{
  content:""; position:absolute; left:0; top:.62em;
  width:.9rem; height:1px; background:var(--hair);
}

.reach{
  display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,20rem),1fr));
  gap:clamp(2rem,5vw,4.5rem);
  margin-top:clamp(3.5rem,7vw,5.5rem);
}
.reach__text{
  margin:0; max-width:38ch;
  font-weight:300; font-stretch:110%;
  font-size:clamp(1.05rem,.96rem + .5vw,1.35rem);
  line-height:1.46; letter-spacing:-.022em; color:var(--bone);
}

/* ============================================================= contact == */
.contact{
  position:relative; overflow:hidden;
  padding-block:clamp(4.5rem,8.6vw,8rem);
  border-top:1px solid var(--hair);
}
.contact__bg{
  position:absolute; inset:0; width:100%; height:100%; object-fit:cover;
  opacity:.3;
}
.contact::after{
  content:""; position:absolute; inset:0;
  background:linear-gradient(180deg, var(--ink) 0%, color-mix(in srgb,var(--ink) 76%, transparent) 45%, var(--ink) 100%);
}
.contact__wrap{
  position:relative; z-index:1;
  display:grid; grid-template-columns:minmax(0,.95fr) minmax(0,1.05fr);
  gap:clamp(3rem,7vw,7rem); align-items:start;
}
.contact__title{ max-width:15ch; font-size:clamp(1.75rem, 1.15rem + 2.1vw, 2.9rem) }
.contact__blurb{ margin:1.8rem 0 0; max-width:36ch; color:var(--sage) }

.contact__facts{ margin:clamp(2.5rem,5vw,3.5rem) 0 0; padding:0; border-top:1px solid var(--hair) }
.contact__facts > div{
  display:grid; grid-template-columns:minmax(0,7rem) minmax(0,1fr); gap:1.5rem;
  padding:.95rem 0; border-bottom:1px solid var(--hair); align-items:baseline;
}
.contact__facts dt{
  font-size:.66rem; font-weight:500; line-height:1.6;
  letter-spacing:.18em; text-transform:uppercase; color:var(--gold);
}
.contact__facts dd{ margin:0; font-size:.98rem; color:var(--text); overflow-wrap:anywhere }
.contact__facts a{ color:var(--text); text-decoration:none; border-bottom:1px solid var(--hair) }
.contact__facts a:hover{ color:var(--gold-lt); border-bottom-color:var(--gold-lt) }

/* form ------------------------------------------------------------------- */
.form{
  display:grid; grid-template-columns:repeat(2,minmax(0,1fr));
  gap:clamp(1.1rem,2vw,1.6rem);
}
.field{ display:flex; flex-direction:column; gap:.55rem }
.field--full{ grid-column:1 / -1 }
.field label{
  font-size:.66rem; font-weight:500; line-height:1.5;
  letter-spacing:.17em; text-transform:uppercase;
  color:var(--gold);
}
.field .opt{ color:var(--sage); letter-spacing:.1em }
.field input,.field select,.field textarea{
  width:100%; padding:.95rem 1rem;
  background:color-mix(in srgb,var(--forest-2) 62%, transparent);
  border:1px solid var(--hair); border-radius:0;
  color:var(--bone); font-family:inherit; font-size:1rem; font-weight:350;
  transition:border-color .3s var(--ease), background .3s var(--ease);
}
.field textarea{ resize:vertical; min-height:7.5rem; line-height:1.6 }
.field select{
  appearance:none;
  background-image:linear-gradient(45deg,transparent 50%,var(--gold) 50%),linear-gradient(135deg,var(--gold) 50%,transparent 50%);
  background-position:calc(100% - 1.15rem) 1.32rem, calc(100% - .8rem) 1.32rem;
  background-size:6px 6px, 6px 6px;
  background-repeat:no-repeat;
  padding-right:2.6rem;
}
.field input::placeholder,.field textarea::placeholder{ color:color-mix(in srgb,var(--sage) 76%, transparent) }
.field input:hover,.field select:hover,.field textarea:hover{ border-color:color-mix(in srgb,var(--gold) 45%, transparent) }
.field input:focus,.field select:focus,.field textarea:focus{
  border-color:var(--gold); background:color-mix(in srgb,var(--forest-2) 85%, transparent);
}
.field.is-bad input,.field.is-bad textarea{ border-color:#C4826A }

.form__foot{
  grid-column:1 / -1;
  display:flex; align-items:center; gap:1.6rem 2rem; flex-wrap:wrap;
  margin-top:.6rem;
}
.form__note{
  margin:0; max-width:28ch;
  font-size:.72rem; font-weight:400; line-height:1.6; letter-spacing:.06em;
  color:var(--sage);
}
.form__note.is-good{ color:var(--gold-lt) }
.form__note.is-bad{ color:#DDA089 }

/* ============================================================== footer == */
.foot{
  padding-block:clamp(3.5rem,7vw,5.5rem);
  background:var(--forest);
  border-top:1px solid var(--hair);
}
.foot__wrap{
  display:grid; grid-template-columns:minmax(0,1.3fr) minmax(0,1fr) minmax(0,1fr);
  gap:clamp(2.5rem,5vw,4rem);
}
.foot__brand img{ width:clamp(150px,14vw,190px) }
.foot__brand p{
  margin:1.5rem 0 0; max-width:28ch;
  font-weight:300; font-stretch:112%;
  font-size:1.1rem; line-height:1.46; letter-spacing:-.022em; color:var(--gold);
}
.foot__nav{ display:flex; flex-direction:column; gap:.75rem; align-content:start }
.foot__nav a{
  font-size:.71rem; font-weight:500; line-height:1;
  letter-spacing:.14em; text-transform:uppercase;
  color:var(--text); text-decoration:none; transition:color .3s var(--ease);
  width:fit-content;
}
.foot__nav a:hover{ color:var(--gold-lt) }
.foot__meta{ display:flex; flex-direction:column; gap:.65rem; font-size:.9rem; color:var(--sage) }
.foot__meta p{ margin:0; max-width:none }
.foot__meta a{ color:var(--gold); text-decoration:none; overflow-wrap:anywhere }
.foot__meta a:hover{ color:var(--gold-lt) }
.foot__legal{
  margin-top:.8rem; font-size:.68rem; line-height:1.6; letter-spacing:.05em;
  color:color-mix(in srgb,var(--sage) 76%, transparent);
}

/* ============================================================== reveal == */
.reveal{
  opacity:0; transform:translateY(20px);
  transition:opacity .85s var(--ease), transform 1s var(--slow);
  transition-delay:calc(var(--d,0) * 90ms);
}
.reveal.is-in{ opacity:1; transform:none }

/* ========================================================== responsive == */
@media (max-width:1080px){
  .diff{ grid-template-columns:1fr }
  .diff__media{ min-height:52vh }
  .diff__media img{ position:relative; height:52vh; object-position:50% 22% }
  .diff__media::after{ background:linear-gradient(180deg, transparent 42%, var(--ink) 100%) }
  .diff__body{ padding-inline:var(--gutter); max-width:none }
  .diff__list > div{ grid-template-columns:1fr; gap:.35rem }
}

@media (max-width:900px){
  :root{ --nav-h:66px }
  .nav__links,.nav__cta{ display:none }
  .nav__toggle{ display:flex }
  .nav:not(.is-stuck).has-menu{ background:var(--forest) }

  .split,.contact__wrap{ grid-template-columns:1fr }
  .contact__wrap{ gap:clamp(2.5rem,6vw,4rem) }
  .hero__title{ text-wrap:wrap }

  /* services collapse to a stacked, image-led list */
  .index{ grid-template-columns:1fr; gap:0 }
  .index__panel{ display:none }
  .index__row{ border-top:0; border-bottom:1px solid var(--hair-bone); padding-bottom:2.2rem }
  .index__row:first-child{ border-top:1px solid var(--hair-bone) }
  .index__row::before{ display:none }
  .index__row button{ cursor:default; color:var(--ink-bone) }
  .index__row.is-on button span,.index__row button span{ transform:none }
  .index__thumb{ display:block; width:100%; aspect-ratio:5/4; object-fit:cover; margin-bottom:1.1rem }
  .index__text{ display:block }

  .values__item + .values__item{ border-left:0; padding-left:0 }
  .partner{ grid-template-columns:1fr auto; gap:.4rem 1.5rem }
  .partner h3,.partner p{ grid-column:1 }
  .partner__tag{ grid-row:1; grid-column:2; padding-left:0 }
  .partner__tag::before{ display:none }
  .partner:hover{ padding-left:0 }

  .foot__wrap{ grid-template-columns:1fr 1fr }
  .foot__brand{ grid-column:1 / -1 }
}

@media (max-width:640px){
  .form{ grid-template-columns:1fr }
  .foot__wrap{ grid-template-columns:1fr }
  .contact__facts > div{ grid-template-columns:1fr; gap:.2rem }
  .hero__cue{ display:none }
}

/* ------------------------------------------------------- reduced motion -- */
@media (prefers-reduced-motion:reduce){
  html:focus-within{ scroll-behavior:auto }
  *,*::before,*::after{
    animation-duration:.001ms !important;
    animation-iteration-count:1 !important;
    transition-duration:.001ms !important;
    scroll-behavior:auto !important;
  }
  .mask > span{ transform:none }
  .reveal{ opacity:1; transform:none }
  .hero__media img{ transform:none }
}

/* ==========================================================================
   WordPress additions
   ========================================================================== */

/* ------------------------------------------------------------ core bits -- */
.screen-reader-text{
  position:absolute; width:1px; height:1px; padding:0; margin:-1px;
  overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap; border:0;
}
.screen-reader-text:focus{
  position:fixed; top:1rem; left:1rem; z-index:200;
  width:auto; height:auto; clip:auto; margin:0;
  padding:.7rem 1.1rem; background:var(--gold); color:var(--ink);
  font-size:.72rem; font-weight:500; letter-spacing:.14em; text-transform:uppercase;
}
.admin-bar .nav,.admin-bar .menu{ top:32px }
@media screen and (max-width:782px){
  .admin-bar .nav,.admin-bar .menu{ top:46px }
}

/* ------------------------------------------------------------ the portal -- */
/* Centred throughout: heading, cards and the copy inside them. */
.portal__list{ max-width:66rem }
.portal__list li{
  display:flex; align-items:center; justify-content:center;
  text-align:center; text-wrap:balance;
}

/* ---------------------------------------------------------------- loader -- */
.loader{
  position:fixed; inset:0; z-index:1000;
  display:grid; place-content:center; justify-items:center; gap:2.4rem;
  background:var(--ink);
  transition:opacity .7s var(--ease), visibility .7s;
  /* Safety net: if the script never runs, the overlay still clears itself. */
  animation:loaderBail .01s linear 6s forwards;
}
.loader.is-done{ opacity:0; visibility:hidden; pointer-events:none }
@keyframes loaderBail{ to{ opacity:0; visibility:hidden; pointer-events:none } }

/* The wordmark masks a band of brighter gold that sweeps across it. */
.loader__mark{
  display:block; width:min(260px,56vw); aspect-ratio:299.76 / 82.56;
  /* Solid gold underneath, with a wider highlight band travelling over it.
     The band is no-repeat, so the base colour is what shows once it passes. */
  background-color:var(--gold);
  background-image:linear-gradient(100deg,
    var(--gold) 0 36%, var(--gold-lt) 46%, var(--gold) 56% 100%);
  background-size:300% 100%; background-repeat:no-repeat;
  -webkit-mask:var(--mark) center/contain no-repeat;
          mask:var(--mark) center/contain no-repeat;
  animation:sheen 2.2s var(--ease) infinite;
}
@keyframes sheen{ from{ background-position:130% 0 } to{ background-position:-55% 0 } }

.loader__bar{ display:block; width:min(180px,40vw); height:1px; background:var(--hair); overflow:hidden }
.loader__bar i{
  display:block; height:100%; width:34%; background:var(--gold);
  animation:loaderSlide 1.5s var(--ease) infinite;
}
@keyframes loaderSlide{ from{ transform:translateX(-110%) } to{ transform:translateX(320%) } }

/* -------------------------------------------------- 404 and maintenance -- */
.state{
  position:relative; overflow:hidden;
  min-height:100svh;
  display:grid; place-items:center;
  padding:clamp(5rem,12vh,9rem) var(--gutter);
  text-align:center;
}
.state__bg{
  position:absolute; inset:0; width:100%; height:100%; object-fit:cover;
  opacity:.42;
}
.state::after{
  content:""; position:absolute; inset:0;
  background:
    radial-gradient(90% 80% at 50% 50%, transparent 0%, color-mix(in srgb,var(--ink) 80%, transparent) 72%, var(--ink) 100%),
    linear-gradient(180deg, var(--ink) 0%, transparent 26%, transparent 74%, var(--ink) 100%);
}
.state__inner{ position:relative; z-index:1; max-width:46rem }
.state__mark{ width:clamp(150px,18vw,210px); margin:0 auto clamp(2.5rem,5vw,3.5rem) }
.state__code{ justify-content:center }
.state__title{
  margin:0 0 1.4rem;
  font-weight:300; font-stretch:118%;
  font-size:clamp(1.9rem, 1.1rem + 2.9vw, 3.4rem);
  line-height:1.12; letter-spacing:-.028em; color:var(--bone);
  text-wrap:balance;
}
.state__text{ margin:0 auto; max-width:44ch; color:var(--sage) }
.state__acts{ display:flex; gap:1.6rem 2rem; flex-wrap:wrap; justify-content:center; margin-top:clamp(2.2rem,4vw,3rem) }

/* ----------------------------------------------------------- form extras -- */
.hp{
  position:absolute !important; left:-9999px; top:auto;
  width:1px; height:1px; overflow:hidden;
}
.field__help{ margin:0; font-size:.8rem; line-height:1.5; color:var(--sage) }

.checks{ display:grid; gap:.65rem; padding-top:.15rem }
/* Scoped past `.field label`, which sets the uppercase gold utility voice that
   suits a field label but not a choice the visitor reads. */
.field .check,.check{
  display:flex; align-items:flex-start; gap:.75rem;
  font-size:.95rem; font-weight:350; line-height:1.5;
  letter-spacing:normal; text-transform:none;
  color:var(--text); cursor:pointer;
}
.field .check input,.check input{
  appearance:none; flex:none; margin:.28em 0 0; padding:0;
  width:1.05rem; height:1.05rem;
  background:color-mix(in srgb,var(--forest-2) 62%, transparent);
  border:1px solid var(--hair); border-radius:0; cursor:pointer;
  display:grid; place-content:center;
  transition:background .25s var(--ease), border-color .25s var(--ease);
}
.check input[type="radio"]{ border-radius:50% }
.check input:hover{ border-color:color-mix(in srgb,var(--gold) 55%, transparent) }
.check input:checked{ background:var(--gold); border-color:var(--gold) }
.check input:checked::after{
  content:""; width:.34rem; height:.62rem; margin-top:-.12rem;
  border:solid var(--ink); border-width:0 1.5px 1.5px 0; transform:rotate(42deg);
}
.check input[type="radio"]:checked::after{
  width:.4rem; height:.4rem; margin:0; border:0; border-radius:50%;
  background:var(--ink); transform:none;
}

.file{ display:flex; align-items:center; gap:1rem; flex-wrap:wrap }
.file input[type="file"]{ position:absolute; left:-9999px }
.file__btn{
  display:inline-flex; align-items:center;
  padding:.82rem 1.4rem;
  border:1px solid var(--hair); background:color-mix(in srgb,var(--forest-2) 62%, transparent);
  color:var(--gold); cursor:pointer;
  font-size:.68rem; font-weight:500; letter-spacing:.15em; text-transform:uppercase;
  transition:border-color .3s var(--ease), color .3s var(--ease);
}
.file__btn:hover{ border-color:var(--gold); color:var(--gold-lt) }
.file input:focus-visible + .file__btn{ outline:2px solid var(--gold-lt); outline-offset:3px }
.file__name{ font-size:.9rem; color:var(--sage); overflow-wrap:anywhere }

.form__msg{
  grid-column:1 / -1; margin:0;
  padding:1rem 1.2rem; border-left:2px solid var(--gold);
  background:color-mix(in srgb,var(--gold) 8%, transparent);
  font-size:.95rem; color:var(--bone);
}
.form__msg--bad{ border-left-color:#DDA089; background:color-mix(in srgb,#DDA089 9%, transparent) }

/* -------------------------------------------------- contact and socials -- */
.socials{ display:flex; align-items:center; gap:.75rem; flex-wrap:wrap; margin-top:1.8rem }
.social{
  width:2.5rem; height:2.5rem; flex:none;
  display:grid; place-items:center;
  border:1px solid var(--hair); color:var(--gold);
  text-decoration:none;
  transition:border-color .3s var(--ease), background .3s var(--ease), color .3s var(--ease);
}
.social:hover{ border-color:var(--gold); background:color-mix(in srgb,var(--gold) 12%, transparent); color:var(--gold-lt) }
.social svg{ width:1.05rem; height:1.05rem; fill:currentColor }
.social img{ width:1.05rem; height:1.05rem; object-fit:contain }
.foot__socials{ margin-top:1.6rem }

/* ----------------------------------------------------------- empty state -- */
.empty{
  padding:2.5rem 0; margin:0;
  font-size:.95rem; color:var(--sage);
  border-top:1px solid var(--hair); border-bottom:1px solid var(--hair);
}
.section--bone .empty{ color:var(--sage-bone); border-color:var(--hair-bone) }

@media (prefers-reduced-motion:reduce){
  .loader__mark{ background-position:50% 0 }
  .loader__bar{ display:none }
}

/* -------------------------------------------- template odds and ends -- */
.state__mark img{ width:100%; height:auto }

/* The side menu's foot holds a contact line above the social tiles, so the
   link styling is scoped to that line rather than to every anchor in there. */
.menu__contact{
  display:block; margin-bottom:1.1rem;
  font-size:.72rem; font-weight:500; letter-spacing:.1em;
  color:var(--gold); text-decoration:none;
}
.menu__contact:hover{ color:var(--gold-lt) }

/* Without an uploaded icon a social tile shows its first two letters, which
   still reads as part of the set. */
.social__initials{
  font-size:.62rem; font-weight:500; letter-spacing:.1em;
  text-transform:uppercase; color:currentColor;
}

/* Checkbox groups need a label that is not tied to a single input. */
.byd-label{
  display:block;
  font-size:.66rem; font-weight:500; line-height:1.5;
  letter-spacing:.17em; text-transform:uppercase; color:var(--gold);
}

.beyond-maintenance{ min-height:100svh }
