/* ==========================================================================
   SGP Schneider Geiwitz – Homepage rebuild
   Layout, tokens and components are a hand-written re-implementation of the
   deployed page (see README.md). No build step required.
   ========================================================================== */

/* --- fonts ---------------------------------------------------------------- */
@font-face {
  font-family: 'Beausite Classic';
  src: url('../fonts/BeausiteClassicWeb_Clear.woff2') format('woff2');
  font-weight: 100 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Beausite Classic';
  src: url('../fonts/BeausiteClassicWeb_Semibold.woff2') format('woff2');
  font-weight: 500 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Beausite Fit';
  src: url('../fonts/BeausiteFitWeb_Light.woff2') format('woff2');
  font-weight: 100 400;
  font-style: normal;
  font-display: swap;
}

/* --- design tokens -------------------------------------------------------- */
:root {
  --bg: #fff;
  --fg: #000;
  --accent: #e0ff47;              /* hsl(70 100% 64%)  */
  --accent-dark: #051b24;         /* hsl(197 76% 8%)   */
  --primary: #003252;             /* hsl(203 100% 16%) */
  --popover: #f0f0f0;             /* hsl(0 0% 94%)     */
  --muted: hsl(210 4% 91%);
  --line: rgb(0 0 0 / 0.12);
  --radius: 1.625rem;             /* 26px              */
  --radius-sm: 0.75rem;

  --font-classic: 'Beausite Classic', Arial, Helvetica, sans-serif;
  --font-fit: 'Beausite Fit', Arial, Helvetica, sans-serif;

  /* fluid type scale – mirrors the original clamp() definitions */
  --text-lg: clamp(1.0625rem, 1.0518rem + 0.0458vw, 1.125rem);
  --text-2xl: clamp(1.375rem, 1.3106rem + 0.2746vw, 1.75rem);
  --text-4xl: clamp(1.375rem, 0.9245rem + 1.9222vw, 4rem);
  --text-7xl: clamp(2rem, 1.1419rem + 3.6613vw, 7rem);

  --shell-pad: 2rem;              /* text sections            */
  --bleed-pad: 1rem;              /* full-bleed media / panels */
  --panel-gap: 1rem;
  --section-gap: 4rem;            /* pt-16 / md:pt-64          */

  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}
@media (min-width: 768px) {
  :root {
    --shell-pad: 5.5rem;
    --bleed-pad: 4rem;
    --section-gap: 16rem;
  }
}
@media (min-width: 1024px) {
  :root { --shell-pad: 10rem; }
}
@media (min-width: 1536px) {
  :root { --shell-pad: 12rem; }
}

/* --- reset ---------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-classic);
  font-weight: 350;
  font-size: var(--text-lg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, h4, p, figure, blockquote { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--accent-dark); outline-offset: 3px; }

/* --- helpers -------------------------------------------------------------- */
.shell {
  width: 100%;
  max-width: 120rem;
  margin-inline: auto;
  padding-inline: var(--shell-pad);
}
.shell--bleed { padding-inline: var(--bleed-pad); }
.section { padding-top: var(--section-gap); }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}

/* eyebrow label */
.eyebrow {
  font-size: var(--text-lg);
  font-weight: 350;
  color: var(--fg);
}

/* section headline */
.lead {
  font-family: var(--font-fit);
  font-weight: 300;
  font-size: var(--text-4xl);
  line-height: 1.1;
}
.lead-block { position: relative; }
@media (min-width: 1024px) {
  .lead-block > .eyebrow { position: absolute; inset-inline-start: 0; top: 0; }
  .lead--indent { text-indent: 30%; }
}

/* running copy that starts at the 30% column */
.copy {
  font-size: var(--text-lg);
  font-weight: 350;
  color: rgb(0 0 0 / 0.7);
}
.copy > * + * { margin-top: 1rem; }
.copy--xl { font-size: var(--text-2xl); line-height: 1.28; }
@media (min-width: 1024px) {
  .copy--offset { width: 70%; margin-inline-start: 30%; }
  .copy--start { padding-inline-start: 30%; }
}

/* --- circle buttons / pills ---------------------------------------------- */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  border-radius: 999px;
  padding: 0.25rem;
  font-size: var(--text-lg);
  font-weight: 350;
  color: inherit;
  transition: color 0.3s var(--ease), background-color 0.3s var(--ease);
}
@media (min-width: 768px) { .pill { gap: 1.25rem; } }
.pill__label { transition: transform 0.3s var(--ease); }
.pill:hover .pill__label { transform: translateX(-0.25rem); }
.pill:hover { color: #fff; background: #000; }
.pill--invert:hover { color: #000; background: var(--accent); }
.pill--ghost:hover { color: inherit; background: transparent; }

.circle {
  position: relative;
  flex: none;
  width: 3rem;
  height: 3rem;
  border-radius: 999px;
  background: #000;
  color: #fff;
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease);
}
@media (min-width: 1024px) { .circle { width: 3.25rem; height: 3.25rem; } }
.circle::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 999px;
  background: #fff;
  transform: scale(0);
  transition: transform 0.2s var(--ease);
}
.pill:hover .circle::before,
.circle--swap:hover::before { transform: scale(1); }

.circle__icon {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 1.5rem;
  height: 1.5rem;
  overflow: hidden;
}
@media (min-width: 1024px) { .circle__icon { width: 2rem; height: 2rem; } }
.circle__row {
  position: absolute;
  right: 0;
  display: flex;
  width: 3rem;
  transition: transform 0.2s var(--ease);
}
@media (min-width: 1024px) { .circle__row { width: 4rem; } }
.circle__row > svg { flex: none; width: 1.5rem; height: 1.5rem; }
@media (min-width: 1024px) { .circle__row > svg { width: 2rem; height: 2rem; } }
/* a row with a single glyph keeps it inside the visible window */
.circle__row > svg:only-child { margin-inline-start: auto; }
.circle__row > svg.i-dark { color: #000; }
.circle__row > svg.i-light { color: #fff; }
.circle__row > svg.i-accent { color: var(--accent); }
.pill:hover .circle__row { transform: translateX(1.5rem); }
@media (min-width: 1024px) { .pill:hover .circle__row { transform: translateX(2rem); } }

/* accent circle – lime disc, grows from 90% to 100% on hover */
.circle--accent { background: transparent; color: #000; }
.circle--accent .circle__row > svg { color: #000; }
.circle--accent::before { background: var(--accent); transform: scale(0.9); }
.circle--accent:hover::before { transform: scale(1); }
.circle--accent .circle__row { transition: none; }
.circle--accent:hover .circle__row { transform: none; }

/* outlined circle – used on the dark careers band */
.circle--outline { background: transparent; color: var(--accent); border: 1px solid var(--accent); }
.circle--outline::before { background: var(--accent); }
.circle--outline-dark { background: transparent; color: var(--fg); border: 1px solid var(--fg); }
.circle--outline-dark::before { background: var(--fg); }
.pill--accent { color: var(--accent); }
.pill--accent:hover { color: var(--accent); background: transparent; }
.pill--accent:hover .circle__row { transform: translateX(1.5rem); }

/* small square-ish icon button (search) */
.icon-btn {
  position: relative;
  display: grid;
  place-items: center;
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 999px;
  color: #fff;
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease);
}
.icon-btn svg { width: 1.5rem; height: 1.5rem; }
.icon-btn:hover { color: #000; background: #fff; }

/* --- header --------------------------------------------------------------- */
.site-header { position: relative; }
.logo {
  position: absolute;
  top: 3rem;
  left: 3rem;
  z-index: 40;
  display: block;
  width: 9rem;
  color: #fff;
}
@media (min-width: 768px) { .logo { width: 10rem; } }
@media (min-width: 1024px) { .logo { top: 4rem; left: 4rem; width: 11rem; } }
.logo svg { width: 100%; height: auto; }
.logo--dark { color: #000; }

.header-tools {
  position: fixed;
  top: 2.5rem;
  right: 2.5rem;
  z-index: 40;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: top 0.5s var(--ease);
}
@media (min-width: 1024px) { .header-tools { top: 3.5rem; right: 3.5rem; } }

.tool-btn {
  display: flex;
  align-items: center;
  gap: 1rem;
  border-radius: 999px;
  padding: 0.25rem;
  color: #fff;
  background: rgb(0 0 0 / 0.5);
  backdrop-filter: blur(2.5px);
  transition: background-color 0.3s var(--ease), color 0.3s var(--ease), gap 0.3s var(--ease);
}
.tool-btn:hover { background: rgb(0 0 0 / 0.6); gap: 1.25rem; }
.tool-btn__label { padding-left: 1.5rem; font-size: var(--text-lg); }
@media (max-width: 1023px) { .tool-btn__label { display: none; } }
.tool-btn .circle { background: transparent; width: 3.25rem; height: 3.25rem; }
@media (min-width: 1024px) { .tool-btn .circle { width: 3rem; height: 3rem; } }
.tool-btn .circle::before { background: #fff; }
.tool-btn:hover .circle { color: #000; }
.tool-btn:hover .circle::before { transform: scale(1); }
.tool-btn .paren-icon { position: absolute; inset: 0; width: 100%; height: 100%; transition: opacity 0.2s var(--ease); }
.tool-btn:hover .paren-icon { opacity: 0; }
.tool-btn:hover .circle__row { transform: translateX(1.5rem); }
.circle__row > svg.only-light { color: #fff; }
.tool-btn:hover .circle__row > svg.only-light { color: #000; }

/* --- hero ----------------------------------------------------------------- */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 100svh;
  width: 100%;
  padding: 4rem 0 1rem;
}
@media (min-width: 768px) {
  .hero { align-items: flex-end; padding: 16rem 0 11rem; }
}
.hero__media {
  position: absolute;
  inset: var(--panel-gap);
  z-index: 0;
  overflow: hidden;
  border-radius: var(--radius);
}
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 65% 50%; }
.hero__media::after { content: ''; position: absolute; inset: 0; background: #000; mix-blend-mode: soft-light; }
.hero__inner { position: relative; z-index: 1; width: 100%; }
.hero__content { display: flex; flex-direction: column; justify-content: space-between; gap: 2rem; }
@media (min-width: 768px) { .hero__content { justify-content: flex-end; } }
.hero h1 {
  font-family: var(--font-fit);
  font-weight: 300;
  font-size: var(--text-7xl);
  line-height: 1;
  color: #fff;
  white-space: pre-line;
  width: 60vw;
}
@media (max-width: 767px) { .hero h1 { width: 100%; } }
.hero__actions {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-top: 2rem;
}
.hero__claim {
  width: 13rem;
  font-size: var(--text-lg);
  font-weight: 350;
  line-height: 1.4;
  color: var(--accent);
}

/* --- accordion ------------------------------------------------------------ */
.accordion { margin-top: 4rem; }
@media (min-width: 1024px) {
  .accordion { margin-top: 8rem; }
}
.acc { margin-bottom: 1rem; }
.acc:last-child { margin-bottom: 0; }
.acc__trigger {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  max-width: max-content;
  text-align: left;
}
.acc__toggle {
  position: relative;
  flex: none;
  width: 3.25rem;
  height: 3.25rem;
  margin-inline-end: 0.75rem;
  color: var(--fg);
  border-radius: 999px;
  transition: color 0.2s var(--ease);
}
@media (min-width: 768px) { .acc__toggle { width: 4.5rem; height: 4.5rem; margin-inline-end: 2rem; } }
.acc__paren { position: absolute; inset: 0; width: 100%; height: 100%; transition: opacity 0.2s var(--ease); }
.acc__trigger:hover .acc__paren { opacity: 0; }
.acc__toggle::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 999px;
  background: var(--accent-dark);
  transform: scale(0);
  transition: transform 0.2s var(--ease);
}
.acc__trigger:hover .acc__toggle::before { transform: scale(1); }
.acc__toggle-icon {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 1.5rem;
  height: 1.5rem;
  color: var(--fg);
  transition: color 0.2s var(--ease);
}
.acc__trigger:hover .acc__toggle-icon { color: #fff; }
@media (min-width: 1024px) { .acc__toggle-icon { width: 2rem; height: 2rem; } }
.acc__toggle-icon svg { width: 100%; height: 100%; }
.acc__toggle-icon .minus { display: none; }
.acc[data-open='true'] .acc__toggle-icon .plus { display: none; }
.acc[data-open='true'] .acc__toggle-icon .minus { display: block; }

.acc__heading {
  display: flex;
  align-items: flex-start;
  transition: margin 0.2s var(--ease);
  font-family: var(--font-fit);
  font-weight: 300;
  font-size: var(--text-4xl);
  line-height: 1.1;
}
.acc__trigger:hover .acc__heading { margin-inline-start: 0.75rem; }
.acc__num {
  margin-inline-start: 1rem;
  margin-top: 0.35em;
  font-family: var(--font-classic);
  font-size: var(--text-lg);
  font-weight: 350;
  color: rgb(0 0 0 / 0.5);
}
.acc__panel { overflow: hidden; height: 0; transition: height 0.35s var(--ease); }
.acc__panel-inner { margin-block: 2.75rem; }
@media (min-width: 1024px) { .acc__panel-inner { margin-inline-start: 30%; } }
.acc__subs { display: grid; gap: 2rem; }
@media (min-width: 768px) {
  .acc__subs { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; }
}
.acc__sub h4 { font-size: var(--text-lg); font-weight: 500; color: rgb(0 0 0 / 0.8); margin-bottom: 0.5rem; }
.acc__sub p { font-size: var(--text-lg); font-weight: 350; color: rgb(0 0 0 / 0.7); }
.acc__links { display: flex; flex-direction: column; align-items: flex-start; gap: 1rem; padding-top: 2rem; }
.acc__links .pill { padding: 0; }
.acc__links .pill:hover { background: transparent; color: inherit; }

/* --- news ----------------------------------------------------------------- */
.news-panel {
  margin-inline-start: var(--panel-gap);
  border-radius: 1rem 0 0 1rem;
  background: var(--popover);
  padding: 8rem 0;
}
.news__inner { padding-inline-start: 1.5rem; }
@media (min-width: 768px) { .news__inner { padding-inline-start: 4rem; } }
@media (min-width: 1536px) { .news__inner { padding-inline-start: 8.375rem; } }

.news__head { display: flex; align-items: center; justify-content: space-between; gap: 2rem; margin-bottom: 4rem; }
@media (min-width: 768px) { .news__head { padding-inline-end: 8.375rem; } }
.news__nav { display: flex; gap: 1rem; }
/* the round prev/next buttons reuse the parens pattern of .circle-toggle */
.nav-btn[disabled] { opacity: 0.25; cursor: default; pointer-events: none; }

.news__viewport { overflow: hidden; }
.news__track {
  display: flex;
  transition: transform 0.6s var(--ease);
}
.news-card {
  flex: 0 0 75%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 22.5rem;
  padding: 2rem;
  border-inline-start: 1px solid var(--line);
  border-radius: 1rem;
  transition: background-color 0.3s var(--ease), color 0.3s var(--ease);
}
.news-card:hover { background: var(--fg); color: #fff; }
@media (min-width: 640px) { .news-card { flex-basis: 41.6667%; } }
@media (min-width: 768px) { .news-card { flex-basis: 33.3333%; min-height: 28.75rem; } }
@media (min-width: 1280px) { .news-card { flex-basis: 25%; padding-inline-end: 4rem; } }
.news-card__link { display: flex; height: 100%; flex-direction: column; justify-content: space-between; }
.news-card__tag {
  display: block;
  font-family: var(--font-fit);
  font-size: 0.82rem;
  font-weight: 300;
  line-height: 1.33;
  color: rgb(0 0 0 / 0.6);
  transition: color 0.3s var(--ease);
}
.news-card__date {
  display: block;
  font-family: var(--font-fit);
  font-size: var(--text-lg);
  font-weight: 300;
  color: rgb(0 0 0 / 0.8);
  transition: color 0.3s var(--ease);
}
.news-card:hover .news-card__tag { color: rgb(255 255 255 / 0.6); }
.news-card:hover .news-card__date { color: rgb(255 255 255 / 0.8); }
.news-card__title {
  font-family: var(--font-classic);
  font-size: var(--text-2xl);
  font-weight: 300;
  line-height: 1.28;
  padding-top: 3rem;
  hyphens: auto;
}
/* --- full-bleed figure ---------------------------------------------------- */
.figure-wide { width: 100%; padding-inline: var(--bleed-pad); }
.figure-wide img { width: 100%; max-width: 118rem; margin-inline: auto; border-radius: var(--radius-sm); }
@media (min-width: 768px) { .figure-wide img { border-radius: 1.5rem; } }

/* --- stack slider (campus) ------------------------------------------------ */
.slider { position: relative; width: 100%; }
.slider__stage { position: relative; width: 100%; aspect-ratio: 1 / 1; }
@media (min-width: 640px) { .slider__stage { aspect-ratio: 4 / 3; } }
@media (min-width: 1024px) { .slider__stage { aspect-ratio: 1.689 / 1; width: 95.6%; } }
.slide {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: var(--radius-sm);
  opacity: 0;
  transform: translateX(-3rem) scale(0.98);
  transition: transform 0.7s var(--ease), opacity 0.7s var(--ease);
  pointer-events: none;
}
.slide img { width: 100%; height: 100%; object-fit: cover; }
.slide.is-active { opacity: 1; transform: translate(0, 0) scale(1); z-index: 3; pointer-events: auto; }
.slide.is-next { opacity: 1; transform: translate(3.75rem, 3.75rem) scale(1); z-index: 2; opacity: 0.4; }
.slide.is-next2 { opacity: 1; transform: translate(7.5rem, 7.5rem) scale(1); z-index: 1; opacity: 0.16; }
/* the stacked "peek" only makes sense once there is room beside the stage */
@media (max-width: 1023px) {
  .slide.is-next, .slide.is-next2 { opacity: 0; transform: translateX(-1rem) scale(0.98); }
}
.slider__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding-bottom: 2rem;
}
.slider__bar .nav-btn { width: 4rem; }
.map-link { display: inline-flex; align-items: center; gap: 0.75rem; font-size: var(--text-lg); }
.map-link .circle { width: 3.25rem; height: 3.25rem; background: transparent; border: 1px solid var(--fg); color: var(--fg); }
.map-link .circle__row > svg { color: var(--fg); }
.map-link .circle__row > svg:last-child { color: #fff; }
.map-link:hover { background: transparent; color: inherit; }
.map-link:hover .circle::before { transform: scale(1); background: var(--fg); }
.map-link:hover .circle__row > svg { color: #fff; }

/* --- campus ---------------------------------------------------------------- */
.campus__intro { margin-top: 8rem; }
.campus__media { margin-top: 8rem; padding-bottom: 8rem; }
.campus__text { margin-top: 16rem; }

/* --- careers -------------------------------------------------------------- */
.careers { position: relative; padding-bottom: 0; }
.careers__figure { position: relative; }
.careers__band {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 58%;
  background: #000;
}
.careers__figure img {
  position: relative;
  z-index: 1;
  width: calc(100% - var(--panel-gap) * 2);
  max-width: 118rem;
  height: auto;
  margin-inline: auto;
  border-radius: 1rem;
}
@media (min-width: 768px) { .careers__figure img { border-radius: 1.5rem; } }
.careers__body { position: relative; background: #000; color: #fff; padding: 10rem 0; }
@media (min-width: 768px) { .careers__body { padding: 16rem 0; } }
.careers__title { margin-inline-start: 30%; }
.careers .eyebrow { color: rgb(255 255 255 / 0.7); }
.careers .copy { color: rgb(255 255 255 / 0.7); }
.careers__copy { margin-top: 8rem; margin-inline-start: 30%; width: 70%; }
.careers__links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.75rem;
  margin-top: 8rem;
  margin-inline-start: 30%;
}
@media (max-width: 1023px) {
  .careers__title, .careers__copy, .careers__links { margin-inline-start: 0; width: 100%; }
}

/* --- contact -------------------------------------------------------------- */
.contact { background: var(--popover); padding: var(--section-gap) 0 0; }
.contact__title { font-size: var(--text-7xl); margin-inline-start: 30%; max-width: 50%; }
.contact__copy { margin-top: 3rem; margin-inline-start: 30%; width: 70%; }
.contact__actions { display: flex; margin-top: 3rem; margin-inline-start: 30%; }
@media (max-width: 1023px) {
  .contact__title, .contact__copy, .contact__actions { margin-inline-start: 0; max-width: none; width: 100%; }
}
.map-block { margin-top: 0; }

/* --- footer --------------------------------------------------------------- */
.site-footer { background: var(--popover); padding-bottom: 0; }
.footer-panel {
  margin: var(--panel-gap);
  border-radius: var(--radius);
  background: #000;
  color: #fff;
  padding: 5rem 2rem 3rem;
}
@media (min-width: 768px) { .footer-panel { padding: 10rem var(--bleed-pad) 4rem; } }
@media (min-width: 1024px) { .footer-panel { padding: 16rem var(--bleed-pad) 4rem; } }
.footer-grid { display: grid; gap: 4rem; }
@media (min-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 0; min-height: 42rem; }
}
.footer-left { display: flex; flex-direction: column; gap: 3rem; }
@media (min-width: 1024px) {
  .footer-left { justify-content: space-between; gap: 6rem; }
}
.footer-right { display: flex; flex-direction: column; gap: 4rem; }
@media (min-width: 1024px) { .footer-right { justify-content: space-between; } }
.footer-right__top { display: flex; flex-direction: column; }
.footer-nav { display: grid; gap: 0.25rem 1.5rem; }
@media (min-width: 768px) { .footer-nav { grid-template-columns: repeat(3, 1fr); } }
.footer-nav__col { display: flex; flex-direction: column; gap: 0.25rem; }
.footer-nav a { font-size: var(--text-lg); font-weight: 350; transition: color 0.3s var(--ease); }
.footer-nav a:hover { color: var(--accent); }
.footer-link-accent { color: var(--accent); display: inline-flex; align-items: center; gap: 0.35rem; }
.footer-link-accent svg { width: 1rem; height: 1rem; }
.footer-linkedin { margin-top: 4rem; }
.footer-address { margin-top: 3rem; font-size: var(--text-lg); font-weight: 350; white-space: pre-line; }
.footer-contact { display: flex; flex-direction: column; gap: 0.5rem; margin-top: 3rem; }
.footer-contact__row { display: flex; gap: 0.5rem; }
.footer-contact__label { width: 6.25rem; color: rgb(255 255 255 / 0.6); font-family: var(--font-fit); font-weight: 300; }
.footer-contact a:hover { color: var(--accent); }
.footer-logo { color: #fff; width: 14rem; }
@media (min-width: 1024px) { .footer-logo { width: 20rem; } }
.footer-logo svg { width: 100%; height: auto; }
.footer-legal { display: flex; flex-wrap: wrap; gap: 2rem; font-size: var(--text-lg); }
.footer-legal a:hover { color: var(--accent); }

/* pills that sit on the 30% column bleed into the gutter like the original */
.pill--bleed { margin-inline-start: -2.25rem; padding-inline-start: 2.25rem; }
@media (max-width: 1023px) { .pill--bleed { margin-inline-start: 0; padding-inline-start: 0.25rem; } }

.map-block {
  position: relative;
  height: 70vh;
  max-height: 900px;
  width: 100%;
  overflow: hidden;
  background: #eef0f2;
}
@media (min-width: 1280px) { .map-block { height: 100dvh; } }
.map { position: relative; z-index: 1; width: 100%; height: 100%; }
.map-fallback { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
/* Mapbox positions .map-marker itself (inline transform) – never set a
   transform here or the marker loses its position. */
.map-marker { width: 1.75rem; height: 1.75rem; }
.map-marker__pin {
  display: flex;
  width: 1.75rem;
  height: 1.75rem;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #000;
  cursor: pointer;
  transform: translateY(0.625rem);
  transition: transform 0.3s var(--ease);
}
.map-marker__pin:hover { transform: translateY(0.625rem) scale(1.3); }
/* active marker (popup open): lime, 36px, black dot */
.map-marker__pin.is-active { width: 2.25rem; height: 2.25rem; background: var(--accent); }
.map-marker__pin.is-active .map-marker__dot { width: 0.375rem; height: 0.375rem; background: #000; }
.map-marker__dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 999px;
  background: #fff;
  text-indent: -9999px;
  overflow: hidden;
  font-size: 0.75rem;
  white-space: nowrap;
}

/* --- map popup (Mapbox) --------------------------------------------------- */
.sgp-popup { max-width: none !important; padding: 0 !important; }
.sgp-popup .mapboxgl-popup-content {
  padding: 0;
  border-radius: 1.5rem;
  background: var(--accent-dark);
  box-shadow: none;
}
.map-popup {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
  width: 360px;
  padding: 3rem;
  border-radius: 1.5rem;
  background: var(--accent-dark);
  color: #fff;
  font-family: var(--font-classic);
  font-weight: 350;
}
.map-popup__title { font-size: var(--text-2xl); font-weight: 350; line-height: 1.28; }
.map-popup__address {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  font-size: 0.82rem;
  font-weight: 350;
  font-style: normal;
  color: rgb(255 255 255 / 0.7);
}
.map-popup__contact {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 0.75rem;
  row-gap: 0.25rem;
  padding-top: 1.5rem;
  font-size: 0.82rem;
  font-weight: 350;
}
.map-popup__label { color: rgb(255 255 255 / 0.7); }
.map-popup__contact a { color: #fff; transition: color 0.2s var(--ease); }
.map-popup__contact a:hover { color: rgb(255 255 255 / 0.8); }

/* --- sheets (menu + search) ---------------------------------------------- */
.sheet-backdrop {
  position: fixed;
  inset: 0;
  z-index: 55;
  background: rgb(38 38 38 / 0.5);
  -webkit-backdrop-filter: blur(24px);
  backdrop-filter: blur(24px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s var(--ease), visibility 0.3s;
}
.sheet-backdrop[data-open='true'] { opacity: 1; visibility: visible; }

.circle-toggle {
  position: relative;
  flex: none;
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 999px;
  color: #fff;
  transition: color 0.2s var(--ease);
}
@media (min-width: 1024px) { .circle-toggle { width: 4.5rem; height: 4.5rem; } }
.circle-toggle .paren-icon { position: absolute; inset: 0; width: 100%; height: 100%; transition: opacity 0.2s var(--ease); }
.circle-toggle:hover .paren-icon { opacity: 0; }
.circle-toggle::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 999px;
  background: #fff;
  transform: scale(0);
  transition: transform 0.2s var(--ease);
}
.circle-toggle:hover::before { transform: scale(1); }
.circle-toggle:hover { color: #000; }
.circle-toggle .circle__icon { position: absolute; inset: 0; margin: auto; width: 1.5rem; height: 1.5rem; overflow: hidden; }
@media (min-width: 1024px) { .circle-toggle .circle__icon { width: 2rem; height: 2rem; } }
.circle-toggle .circle__row { position: absolute; right: 0; display: flex; width: 3rem; transition: transform 0.2s var(--ease); }
@media (min-width: 1024px) { .circle-toggle .circle__row { width: 4rem; } }
.circle-toggle .circle__row > svg { flex: none; width: 1.5rem; height: 1.5rem; }
@media (min-width: 1024px) { .circle-toggle .circle__row > svg { width: 2rem; height: 2rem; } }
.circle-toggle:hover .circle__row { transform: translateX(1.5rem); }
@media (min-width: 1024px) { .circle-toggle:hover .circle__row { transform: translateX(2rem); } }
.circle-toggle--accent { color: var(--accent); }
.circle-toggle--accent::before { background: var(--accent); }
.circle-toggle--accent:hover { color: #000; }
/* dark hover disc – used by the prev/next arrows */
.circle-toggle--dark::before { background: var(--accent-dark); }
/* compact variant (52px) – prev/next arrows, footer scroll-to-top */
.circle-toggle--sm { width: 3rem; height: 3rem; }
@media (min-width: 1024px) { .circle-toggle--sm { width: 3.25rem; height: 3.25rem; } }
.circle-toggle--sm .circle__icon { width: 1.5rem; height: 1.5rem; }
.circle-toggle--sm .circle__row { width: 3rem; }
.circle-toggle--sm .circle__row > svg { width: 1.5rem; height: 1.5rem; }
.circle-toggle--sm:hover .circle__row { transform: translateX(1.5rem); }

/* menu sheet */
.sheet {
  position: fixed;
  inset-block: 0;
  right: 0;
  z-index: 60;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  width: 100%;
  max-width: 100%;
  height: 100%;
  padding: 1rem;
  transform: translateX(100%);
  visibility: hidden;
  transition: transform 0.5s var(--ease), visibility 0.5s;
}
.sheet[data-open='true'] { transform: translateX(0); visibility: visible; }
@media (min-width: 1280px) { .sheet { width: 50%; padding: 0; } }
.sheet__panel {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  padding: 2rem;
  border-radius: 0.75rem;
  background: var(--accent-dark);
  color: #fff;
}
@media (min-width: 640px) { .sheet__panel { padding: 4rem; } }
@media (min-width: 1280px) { .sheet__panel { border-radius: 1.5rem 0 0 1.5rem; } }
.sheet__head { display: flex; flex-direction: row; align-items: center; justify-content: space-between; gap: 0.375rem; }
@media (min-width: 1280px) { .sheet__head { justify-content: flex-end; } }
.sheet__logo { display: block; width: 10rem; color: #fff; }
.sheet__logo svg { width: 100%; height: auto; }
@media (min-width: 1280px) { .sheet__logo { display: none; } }
.sheet__nav {
  position: relative;
  margin-top: 5rem;
  flex-grow: 1;
  overflow: hidden;
}
@media (min-width: 1280px) { .sheet__nav { margin-top: 1.5rem; } }
.sheet__nav a {
  display: block;
  font-family: var(--font-fit);
  font-weight: 300;
  font-size: var(--text-4xl);
  line-height: 1.1;
  padding-bottom: 1rem;
  transition: color 0.3s var(--ease), transform 0.3s var(--ease);
}
.sheet__nav a:hover { color: var(--accent); transform: translateX(0.5rem); }
.sheet__foot {
  margin-top: auto;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  width: 100%;
}
.sheet__login {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.25rem 0.25rem 0.25rem 1.5rem;
  border-radius: 999px;
  color: var(--accent);
  transition: background-color 0.3s var(--ease);
}
@media (min-width: 1024px) { .sheet__login { gap: 1.25rem; padding-left: 2.25rem; } }
.sheet__login:hover { background: rgb(224 255 71 / 0.08); }
.sheet__login-label { font-size: var(--text-lg); font-weight: 350; transition: transform 0.3s var(--ease); }
.sheet__login:hover .sheet__login-label { transform: translateX(-0.25rem); }
.lang-switch { display: flex; }
.lang-switch button {
  padding-inline: 0.75rem;
  font-size: var(--text-2xl);
  line-height: 1;
  font-weight: 300;
  text-transform: uppercase;
  color: rgb(255 255 255 / 0.5);
  border-inline-start: 2px solid rgb(255 255 255 / 0.5);
  transition: color 0.2s var(--ease);
}
.lang-switch button:first-child { border-inline-start: 0; }
.lang-switch button:hover:not([disabled]) { color: #fff; }
.lang-switch button[aria-pressed='true'] { color: #fff; cursor: default; }
.sheet__sr-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 1rem;
  height: 1rem;
  opacity: 0.7;
  transition: opacity 0.2s var(--ease);
}
.sheet__sr-close:hover { opacity: 1; }

/* search sheet */
.search-sheet {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  width: 100%;
  height: 100%;
  max-width: 75%;
  opacity: 0;
  transform: scale(0.95);
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0.3s;
}
.search-sheet[data-open='true'] { opacity: 1; transform: scale(1); visibility: visible; pointer-events: auto; }
.search-sheet__viewport { width: 100dvw; height: 100%; }
.search-sheet__form { margin: 0 1rem; margin-top: 4vh; }
.search-sheet__field { position: relative; margin-inline: auto; max-width: 1200px; }
.search-sheet__field input {
  display: block;
  width: 100%;
  height: 6rem;
  padding: 0 1rem 0 4rem;
  border: 0;
  border-radius: 1.5rem;
  background: var(--accent-dark);
  color: #fff;
  font-family: var(--font-classic);
  font-size: var(--text-2xl);
  font-weight: 300;
  transition: background-color 0.2s var(--ease);
}
@media (min-width: 768px) { .search-sheet__field input { padding-left: 7rem; } }
.search-sheet__field input::placeholder { color: rgb(255 255 255 / 0.5); }
.search-sheet__field input:focus { outline: none; }
.search-sheet__field input:focus::placeholder { color: rgb(255 255 255 / 0.7); }
.search-sheet__icon {
  position: absolute;
  top: 50%;
  left: 2rem;
  width: 1.5rem;
  height: 1.5rem;
  transform: translateY(-50%);
  color: #fff;
  pointer-events: none;
}
@media (min-width: 768px) { .search-sheet__icon { left: 3rem; width: 2rem; height: 2rem; } }
.search-sheet__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 1rem;
  height: 1rem;
  opacity: 0.7;
  transition: opacity 0.2s var(--ease);
}
.search-sheet__close:hover { opacity: 1; }

body.no-scroll { overflow: hidden; }

/* --- motion preferences --------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}
