/* Xeres · /market — the export / local switch and what it reveals */

.mkt-switch{
  display:flex;align-items:center;gap:1.1rem;justify-content:center;
  margin-top:clamp(1.6rem,3.5vh,2.4rem);
}
.mkt-switch i{font-style:normal;color:var(--rule-2);font-size:clamp(1.2rem,2vw,1.6rem)}
.mkt-btn{
  background:none;border:0;padding:.6rem .3rem;min-height:48px;cursor:pointer;
  font:500 clamp(1.35rem,2.4vw,1.9rem)/1 "Poppins",system-ui,sans-serif;
  color:var(--ink-quiet);letter-spacing:-.015em;position:relative;
  transition:color .3s;
}
.mkt-btn::after{
  content:"";position:absolute;left:0;right:0;bottom:.35rem;height:2px;
  background:currentColor;transform:scaleX(0);transform-origin:center;
  transition:transform .35s var(--ease);
}
.mkt-btn:hover{color:var(--head)}
.mkt-btn.is-on{color:var(--head)}
.mkt-btn.is-on::after{transform:scaleX(1)}
.mkt-btn[data-mkt="local"].is-on{color:var(--wood,#8A3A1E)}
.mkt-btn:focus-visible{outline:2px solid var(--accent-text);outline-offset:4px}
@media (prefers-reduced-motion:reduce){.mkt-btn::after{transition:none}}

/* sections that belong to one market only */
[data-mkt="export"] [data-mkt-only="local"],
[data-mkt="local"]  [data-mkt-only="export"]{display:none}

/* a quiet marker so the reader knows which market they are reading */
.mkt-tag{
  display:inline-block;margin-bottom:.9rem;padding:.26rem .66rem;
  font-size:.7rem;letter-spacing:.18em;text-transform:uppercase;
  border:1px solid currentColor;color:var(--accent-text);
}

/* the hero photograph fills the whole first screen: an older rule in the shared
   sheet pins the band to a fixed height, which leaves it as a strip here */
.hero-clear .hero-band{position:absolute;inset:0;height:auto!important;z-index:-2;overflow:hidden}
.hero-clear .hero-band img{width:100%;height:100%;object-fit:cover;display:block}
.hero-clear{min-height:min(calc(100svh - var(--navh)),860px);display:flex;align-items:center;justify-content:center}
.hero-clear .hero-copy{width:100%;text-align:center}
@media (max-width:640px){.hero-clear{min-height:calc(100svh - var(--navh))}}

/* the second market carries weight as well as colour */
.hero-clear h1 em{font-weight:500;font-style:italic}
/* the ampersand sits between the two markets in white */
.hero-clear h1 i{font-style:normal;color:var(--blue);font-weight:300}
