/* Shugi Group landing
   Colours from shugiestates.com / loader v3.2:
   Left (Estates) plays v3.2: white, then #C9C7C6 sweeps up and the S turns
   white. Right (Stays) stays white (#FFFFFF; Instagram profile was not
   readable, so plain white). The S draws in #6B6662 and remains #6B6662; a
   barely-visible rising sheen keeps the right clock matched, with no grey
   sweep. Headings are #1F1F1F, slogans #6B6662, no text-shadow. Divider and
   badge rings are #6B6662. Badge fill is split #C9C7C6 left / white right
   (a short blend at the join). Badge type is #1F1F1F so it reads on both
   halves. #1F1F1F is also the 6% hover veil.
   Fonts: Antic Didone 400 (headings), Jost 300 (slogans), Jost 400 (body).
   Logo:
     /assets/shugi-group-logo.svg is the Group lockup (diamond S + SHUGI GROUP).
     It is used in the load blow-out and in the centre crest. The animated
     Shugi Estates S remains inline in both halves of the split page.
     /assets/stays-logo.png — official Stays wordmark, kept in the project
       assets folder only; not used on the page. */

@font-face {
  font-family: 'Antic Didone';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('assets/fonts/antic-didone-400-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Jost';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('assets/fonts/jost-300-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Jost';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('assets/fonts/jost-400-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --white: #ffffff;
  --grey: #C9C7C6;
  --warm: #6B6662;
  --dark: #1F1F1F;
  --font-heading: 'Antic Didone', serif;
  --font-body: 'Jost', sans-serif;
  --se-wipe: .55s;
  --se-invert: .6s;
  --se-headings: .9s;
  --badge: 200px;
  --se-slogan: .35s;
}

*, *::before, *::after { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  background: var(--white);
  color: var(--dark);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
}

html, body { overflow: hidden; }

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

.split {
  position: relative;
  display: flex;
  flex-direction: row;
  width: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  min-height: 100svh;
  height: 100vh;
  height: 100dvh;
  height: 100svh;
}

.panel {
  position: relative;
  flex: 1 1 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: inherit;
  overflow: hidden;
  min-width: 0;
  background: var(--white);
}

/* Tasteful deepen on hover — Nico's #1F1F1F at a very low opacity */
.panel::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: var(--dark);
  opacity: 0;
  pointer-events: none;
  transition: opacity .45s ease;
}

.wipe {
  position: absolute;
  inset: 0;
  z-index: 0;
  transform-origin: 50% 100%;
  transform: scaleY(0);
  pointer-events: none;
}
.wipe--estates { background: #C9C7C6; }
/* Right: no grey sweep. A faint warm sheen rises in step with the left wipe. */
.wipe--stays {
  background: linear-gradient(
    to top,
    rgba(255,255,255,0) 0%,
    rgba(255,255,255,0) 38%,
    rgba(107,102,98,0.07) 50%,
    rgba(255,255,255,0) 62%,
    rgba(255,255,255,0) 100%
  );
}
.split.sg-intro--wipe .wipe {
  transform: scaleY(1);
  transition: transform var(--se-wipe) cubic-bezier(.77, 0, .18, 1);
}
/* The right sheen is only for the shared beat — it must not leave a band on the finished white. */
.split.sg-intro--headings .wipe--stays,
.split.sg-intro--instant .wipe--stays {
  opacity: 0;
  transition: opacity 0.55s ease;
}
.split.sg-intro--instant .wipe--stays { transition: none; }

/* Subtle paper grain on the finished grey Estates half only. */
.grain {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
  opacity: 0;
  mix-blend-mode: multiply;
}
.grain svg { display: block; width: 100%; height: 100%; }
.split.sg-intro--wipe .grain {
  opacity: 0.055;
  transition: opacity 0.6s ease;
}
.split.sg-intro--instant .grain { opacity: 0.055; transition: none; }

/* Divider draws top-to-bottom during the colour sweep (left-to-right on phones).
   1px #6B6662 at reduced opacity, faded at the ends, and gapped so it stops
   at the badge edge. A true 1px line stays crisp on retina. */
.divider {
  flex: 0 0 1px;
  width: 1px;
  align-self: stretch;
  background: linear-gradient(
    to bottom,
    rgba(107, 102, 98, 0) 0%,
    rgba(107, 102, 98, 0.72) 16%,
    rgba(107, 102, 98, 0.72) calc(50% - (var(--badge) / 2 + 2px)),
    rgba(107, 102, 98, 0) calc(50% - (var(--badge) / 2)),
    rgba(107, 102, 98, 0) calc(50% + (var(--badge) / 2)),
    rgba(107, 102, 98, 0.72) calc(50% + (var(--badge) / 2 + 2px)),
    rgba(107, 102, 98, 0.72) 84%,
    rgba(107, 102, 98, 0) 100%
  );
  pointer-events: none;
  transform-origin: 50% 0%;
  transform: scaleY(0);
  z-index: 2;
}
.split.sg-intro--wipe .divider {
  transform: scaleY(1);
  transition: transform var(--se-wipe) cubic-bezier(.77, 0, .18, 1);
}

/* Centre “Shugi Group” crest, 200px on desktop / 130px on phones.
   Split fill: #C9C7C6 left, white right, with a short blend at the join.
   Double ring in #6B6662. Type is #1F1F1F so it reads across both halves.
   Stacked SHUGI / GROUP is the default; .brand--inline shows one line. */
.brand {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  width: var(--badge);
  height: var(--badge);
  border: none;
  border-radius: 50%;
  background: linear-gradient(to right, var(--grey) calc(50% - 12px), var(--white) calc(50% + 12px));
  color: var(--dark);
  box-sizing: border-box;
  pointer-events: none;
  opacity: 0;
  transform: translate(-50%, -50%);
}
.split.sg-intro--wipe .brand {
  opacity: 1;
  transition: opacity 0.35s ease var(--se-wipe);
}
.brand-rings {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  transform: scale(0.985);
}
.brand-ring {
  fill: none;
  stroke: #6B6662;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
}
.split.sg-intro--crest .brand-rings {
  transform: scale(1);
  transition: transform 0.8s ease-out;
}
.split.sg-intro--crest .brand-ring--outer {
  stroke-dashoffset: 0;
  transition: stroke-dashoffset 0.8s ease-out;
}
.split.sg-intro--crest .brand-ring--inner {
  stroke-dashoffset: 0;
  transition: stroke-dashoffset 0.8s ease-out 0.1s;
}
.brand-label {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  opacity: 0;
}
.split.sg-intro--crest-text .brand-label--stacked {
  opacity: 1;
  transition: opacity 0.65s ease;
}
.split.sg-intro--crest-text .brand.brand--inline .brand-label--inline {
  opacity: 1;
  transition: opacity 0.65s ease;
}
.brand-label--inline { display: none; }
.brand--inline .brand-label--stacked { display: none; }
.brand--inline .brand-label--inline {
  display: block;
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: 0.92rem;
  line-height: 1;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  margin-right: -0.28em;
  white-space: nowrap;
}
.brand-word {
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: 1.2rem;
  line-height: 1.1;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  margin-right: -0.3em; /* optically centre wide tracking */
}
.brand-rule {
  display: block;
  width: 1.75rem;
  height: 1px;
  margin: 0.48em 0 0.55em;
  background: var(--warm);
  opacity: 0.72;
}

.lockup {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 100%;
  padding: 0 1.25rem;
  text-align: center;
  /* Optical nudge: the S is visually heavier than the type below it. */
  transform: translateY(-2.5%);
}

.lockup-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin-bottom: clamp(1.55rem, 3.4vh, 2.35rem);
}

.se-loader-mark {
  width: min(200px, 38%);
  height: auto;
  display: block;
  overflow: visible;
  color: #6B6662;
  transition: color var(--se-invert) cubic-bezier(.45, 0, .2, 1),
              transform .5s cubic-bezier(.45, 0, .2, 1);
}
.split.sg-intro--invert .panel--estates .se-loader-mark { color: #ffffff; }
.split.sg-intro--invert .panel--stays .se-loader-mark { color: #6B6662; }

.se-loader-mark .se-draw { fill: none; stroke-dasharray: 8000; stroke-dashoffset: 8000; }
.se-loader-mark .se-fill { opacity: 0; }
.se-loader-mark .se-draw-pill { stroke-width: 1.6; }

.lockup-type {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.heading {
  display: block;
  margin: 0;
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: clamp(2rem, 3.6vw, 3.4rem);
  line-height: 1.15;
  letter-spacing: 0.14em;
  color: var(--dark);
  white-space: nowrap;
  clip-path: inset(0 0 100% 0);
  transform: translateY(0.22em);
}
.split.sg-intro--headings .heading {
  clip-path: inset(0 0 0 0);
  transform: translateY(0);
  letter-spacing: 0.05em;
  transition:
    clip-path var(--se-headings) ease-out,
    transform var(--se-headings) ease-out,
    letter-spacing calc(var(--se-headings) + 0.2s) ease-out;
}

.rule {
  display: block;
  width: 40px;
  height: 1px;
  margin: 1.15rem 0 0;
  background: var(--warm);
  opacity: 0;
  transform: scaleX(0.4);
}
.split.sg-intro--headings .rule {
  opacity: 0.72;
  transform: scaleX(1);
  transition:
    opacity 0.7s ease-out 0.35s,
    transform 0.7s ease-out 0.35s;
}

.slogan {
  display: block;
  margin: 1.05rem 0 0;
  max-width: 100%;
  font-family: var(--font-body);
  font-weight: 300;
  font-size: clamp(0.85rem, 1.1vw, 1.05rem);
  line-height: 1.4;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  text-wrap: balance;
  color: var(--warm);
  opacity: 0;
  transform: translateY(0.4em);
}
.split.sg-intro--slogans .slogan {
  opacity: 1;
  transform: translateY(0);
  transition:
    opacity var(--se-slogan) ease,
    transform var(--se-slogan) ease;
}

/* Enter — typographic, same on both halves. Plain ENTER, no resting rule
   (the 40px hairline stays under each title only). A fine underline draws
   in on hover / keyboard focus. No shadow, no fill, no pill.
   The mark is not a nested link; the whole half remains the single link. */
.enter {
  position: relative;
  display: inline-block;
  margin-top: 1.45rem;
  padding: 0.9em 0.15em 0.55em;
  font-family: var(--font-body);
  font-weight: 300;
  font-size: clamp(0.68rem, 0.9vw, 0.8rem);
  line-height: 1;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--warm);
  opacity: 0;
  transform: translateY(0.3em);
}
.enter::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 0;
  height: 1px;
  background: var(--warm);
  opacity: 0;
  transform: translateX(-50%);
  transform-origin: center;
  transition: width 0.45s ease, opacity 0.45s ease;
}
.split.sg-intro--enter .enter {
  opacity: 1;
  transform: none;
  transition:
    opacity 0.5s ease,
    transform 0.5s ease;
}
.split.sg-intro--enter .panel:focus-visible .enter::after {
  width: 100%;
  opacity: 0.7;
}
@media (hover: hover) {
  .split.sg-intro--enter .panel:hover .enter::after {
    width: 100%;
    opacity: 0.7;
  }
}
@media (prefers-reduced-motion: reduce) {
  .enter::after { transition: none; }
}

.split.sg-intro--instant .wipe,
.split.sg-intro--instant .divider,
.split.sg-intro--instant .brand,
.split.sg-intro--instant .brand-rings,
.split.sg-intro--instant .brand-ring,
.split.sg-intro--instant .brand-label,
.split.sg-intro--instant .se-loader-mark,
.split.sg-intro--instant .heading,
.split.sg-intro--instant .rule,
.split.sg-intro--instant .slogan,
.split.sg-intro--instant .enter,
.split.sg-intro--instant .site-footer,
.split.sg-intro--instant .panel::after {
  transition: none;
}
.split.sg-intro--instant .heading {
  clip-path: inset(0 0 0 0);
  transform: none;
  letter-spacing: 0.05em;
}
.split.sg-intro--instant .rule {
  opacity: 0.72;
  transform: none;
}
.split.sg-intro--instant .slogan {
  opacity: 1;
  transform: none;
}
.split.sg-intro--instant .brand {
  opacity: 1;
  transform: translate(-50%, -50%);
}
.split.sg-intro--instant .brand-rings { transform: none; }
.split.sg-intro--instant .brand-ring { stroke-dashoffset: 0; }
.split.sg-intro--instant .brand-label--stacked { opacity: 1; }
.split.sg-intro--instant .brand-logo { opacity: 1; transform: none; }
.split.sg-intro--instant .brand.brand--inline .brand-label--inline { opacity: 1; }
.split.sg-intro--instant .enter {
  opacity: 1;
  transform: none;
}
.split.sg-intro--instant .site-footer { opacity: 1; }

.panel:focus { outline: none; }
.panel:focus-visible {
  outline: 2px solid var(--dark);
  outline-offset: -6px;
  z-index: 1;
}
.panel--estates::after { background: rgba(70, 66, 62, 0.11); }
.panel--stays::after { background: #F4F1EC; }
.panel::after { transition: opacity .55s ease; }

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .panel:hover::after,
  .panel:focus-visible::after { opacity: 1; }
  .panel:hover .se-loader-mark,
  .panel:focus-visible .se-loader-mark {
    transform: translateY(-0.55rem);
  }
}

@media (max-width: 1180px) and (min-width: 768px) {
  .heading { font-size: clamp(1.7rem, 3vw, 2.4rem); }
  .brand-word { font-size: 1.02rem; }
}

@media (max-width: 767px) {
  /* Phone layout: two equal halves, content centred in each, seal on the
     join with clear space from both crests. 100svh / safe-area so the
     stack fits inside the Safari toolbars and home indicator. */
  .split {
    flex-direction: column;
    --badge: clamp(108px, 17svh, 124px);
    padding-top: env(safe-area-inset-top, 0px);
    padding-bottom: env(safe-area-inset-bottom, 0px);
    box-sizing: border-box;
  }
  .panel {
    flex: 1 1 50%;
    min-height: 0;
    align-items: center;
    justify-content: center;
  }
  /* Equal clearance for the seal, so each lockup stays centred in its half. */
  .panel--estates {
    padding-top: 0.45rem;
    padding-bottom: calc(var(--badge) / 2 + 0.7rem);
  }
  .panel--stays {
    padding-top: calc(var(--badge) / 2 + 0.7rem);
    padding-bottom: 0.45rem;
  }
  .divider {
    flex: 0 0 1px;
    width: 100%;
    height: 1px;
    align-self: stretch;
    transform-origin: 0% 50%;
    transform: scaleX(0);
    background: linear-gradient(
      to right,
      rgba(107, 102, 98, 0) 0%,
      rgba(107, 102, 98, 0.72) 16%,
      rgba(107, 102, 98, 0.72) calc(50% - (var(--badge) / 2 + 2px)),
      rgba(107, 102, 98, 0) calc(50% - (var(--badge) / 2)),
      rgba(107, 102, 98, 0) calc(50% + (var(--badge) / 2)),
      rgba(107, 102, 98, 0.72) calc(50% + (var(--badge) / 2 + 2px)),
      rgba(107, 102, 98, 0.72) 84%,
      rgba(107, 102, 98, 0) 100%
    );
  }
  .split.sg-intro--wipe .divider { transform: scaleX(1); }
  .brand {
    width: var(--badge);
    height: var(--badge);
    background: linear-gradient(to bottom, var(--grey) calc(50% - 10px), var(--white) calc(50% + 10px));
  }
  .brand-logo { width: 66%; }
  .brand-word { font-size: 0.95rem; letter-spacing: 0.26em; margin-right: -0.26em; }
  .brand--inline .brand-label--inline { font-size: 0.68rem; letter-spacing: 0.2em; margin-right: -0.2em; }
  .brand-rule { width: 1.35rem; margin: 0.36em 0 0.4em; }
  .se-loader-mark { width: clamp(48px, 8.4svh, 68px); }
  .lockup { padding: 0 1rem; transform: none; }
  .lockup-mark { margin-bottom: clamp(0.4rem, 1.1svh, 0.7rem); }
  .heading {
    font-size: clamp(1.2rem, 5vw, 1.55rem);
    letter-spacing: 0.04em;
  }
  .split.sg-intro--headings .heading { letter-spacing: 0.04em; }
  .rule { margin-top: 0.55rem; width: 28px; }
  .slogan {
    margin-top: 0.5rem;
    font-size: clamp(0.6rem, 2.5vw, 0.72rem);
    letter-spacing: 0.18em;
  }
  .enter {
    margin-top: 0.7rem;
    font-size: 0.6rem;
    letter-spacing: 0.22em;
    padding-top: 0.55em;
    padding-bottom: 0.4em;
  }
  .legal-link {
    right: max(0.55rem, env(safe-area-inset-right, 0px));
    bottom: max(0.35rem, env(safe-area-inset-bottom, 0px));
    font-size: 0.52rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .wipe,
  .divider,
  .brand,
  .brand-rings,
  .brand-ring,
  .brand-label,
  .brand-logo,
  .se-loader-mark,
  .heading,
  .rule,
  .slogan,
  .enter,
  .site-footer,
  .grain,
  .panel::after {
    transition: none !important;
  }
  .panel:hover .se-loader-mark,
  .panel:focus-visible .se-loader-mark {
    transform: none;
  }
}


/* Minimal centred footer. #6B6662 matches the slogans; it is a little soft on
   the grey half (~3.4:1) but consistent with the page. Confirmed at Companies
   House as registered in England (15385673). */
.site-footer {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.7rem;
  z-index: 4;
  margin: 0;
  padding: 0 1.25rem;
  pointer-events: none;
  text-align: center;
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 0.68rem;
  line-height: 1.4;
  letter-spacing: 0.08em;
  color: var(--warm);
  opacity: 0;
}
.split.sg-intro--enter .site-footer {
  opacity: 1;
  transition: opacity 0.6s ease;
}

/* Optional no-fill crest — does not change the default build.
   Add class "brand--nofill" to h1.brand, or open with ?crest=nofill.
   The circle is transparent so each half shows through; a radial mask
   on the divider hides the line inside the ring only (no fill). */
.brand.brand--nofill {
  background: transparent;
}
.split:has(.brand--nofill) .divider {
  -webkit-mask-image: radial-gradient(circle at 50% 50%, transparent calc(var(--badge) / 2), #000 calc(var(--badge) / 2 + 0.5px));
  mask-image: radial-gradient(circle at 50% 50%, transparent calc(var(--badge) / 2), #000 calc(var(--badge) / 2 + 0.5px));
}


/* Final Shugi Group lockup inside the crest, scaled to sit clear of the rings. */
.brand-logo {
  position: relative;
  z-index: 1;
  width: 66%;
  height: auto;
  display: block;
  pointer-events: none;
  opacity: 0;
  transform: translateY(4px);
}
.split.sg-intro--crest-text .brand-logo {
  opacity: 1;
  transform: none;
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.split.sg-intro--instant .brand-logo {
  opacity: 1;
  transform: none;
  transition: none;
}


/* Tiny discreet Legal link — not a bar. Replaces the old footer line. */
.legal-link {
  position: absolute;
  right: max(0.85rem, env(safe-area-inset-right, 0px));
  bottom: max(0.55rem, env(safe-area-inset-bottom, 0px));
  z-index: 5;
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 0.58rem;
  line-height: 1;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--warm);
  opacity: 0.55;
  padding: 0.4rem;
}
.legal-link:hover { opacity: 0.9; }
.legal-link:focus { outline: none; }
.legal-link:focus-visible {
  outline: 1px solid var(--warm);
  outline-offset: 3px;
  opacity: 0.9;
}

/* ===== 404 ===== */
body.page-404 {
  overflow: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  min-height: 100dvh;
  min-height: 100svh;
  background: var(--white);
  color: var(--dark);
}

.page-404 main {
  text-align: center;
  padding: 2rem 1.25rem;
}

.page-404 .mark {
  width: min(96px, 28vw);
  height: auto;
  display: block;
  margin: 0 auto 1.75rem;
}

.page-404 h1 {
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: clamp(1.5rem, 3vw, 2rem);
  line-height: 1.3;
  letter-spacing: 0.04em;
  margin: 0 0 1rem;
}

.page-404 a {
  color: var(--warm);
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 1rem;
  letter-spacing: 0.04em;
  text-decoration: none;
}

.page-404 a:hover { text-decoration: underline; }
.page-404 a:focus { outline: none; }
.page-404 a:focus-visible {
  outline: 2px solid var(--dark);
  outline-offset: 4px;
}

/* ===== Legal ===== */
body.page-legal {
  overflow: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  min-height: 100dvh;
  min-height: 100svh;
  background: var(--white);
  color: var(--dark);
}
.page-legal main {
  text-align: center;
  padding: 2.5rem 1.5rem;
  max-width: 28rem;
}
.page-legal .mark {
  width: min(120px, 36vw);
  height: auto;
  display: block;
  margin: 0 auto 1.75rem;
}
.page-legal h1 {
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: clamp(1.5rem, 3vw, 2rem);
  line-height: 1.3;
  letter-spacing: 0.04em;
  margin: 0 0 1.25rem;
  color: var(--dark);
}
.page-legal p {
  margin: 0 0 0.7rem;
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 0.92rem;
  line-height: 1.55;
  letter-spacing: 0.04em;
  color: var(--warm);
}
.page-legal .address {
  margin-top: 1rem;
  font-style: normal;
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 0.92rem;
  line-height: 1.55;
  letter-spacing: 0.04em;
  color: var(--warm);
}
.page-legal a {
  color: var(--warm);
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 0.92rem;
  letter-spacing: 0.04em;
  text-decoration: none;
}
.page-legal a:hover { text-decoration: underline; }
.page-legal a:focus { outline: none; }
.page-legal a:focus-visible {
  outline: 2px solid var(--dark);
  outline-offset: 4px;
}
.page-legal .back { margin-top: 2rem; }


/* ===== Load blow-out: full-screen logo, then the split page underneath =====
   Hold 0.6s at scale 1, then scale to 7x and fade over 1.1s (total 1.7s).
   Overlay is position:fixed so the page below does not shift. JS removes
   it from the DOM when the animation ends; CSS also hides it at the end
   and if JavaScript is unavailable. */
.blowout {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  background: var(--white);
  overflow: hidden;
  pointer-events: auto;
}

.blowout-logo {
  display: block;
  width: min(280px, 62vw, 58vh);
  height: auto;
  transform-origin: center center;
  will-change: transform;
  pointer-events: none;
}

html.sg-blowout .blowout.is-playing {
  animation: sg-blowout-veil 1.7s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

html.sg-blowout .blowout.is-playing .blowout-logo {
  animation: sg-blowout-logo 1.7s cubic-bezier(0.45, 0, 0.7, 0.15) forwards;
}

@keyframes sg-blowout-veil {
  0%, 35.294% { /* 0.6s of 1.7s */
    opacity: 1;
    visibility: visible;
  }
  100% {
    opacity: 0;
    visibility: hidden;
  }
}

@keyframes sg-blowout-logo {
  0%, 35.294% {
    transform: scale(1);
  }
  100% {
    transform: scale(7);
  }
}

html.sg-blowout-skip .blowout,
html.no-js .blowout {
  display: none;
}

@media (prefers-reduced-motion: reduce) {
  html.sg-blowout .blowout.is-playing {
    animation: sg-blowout-veil-reduce 0.4s ease forwards;
  }
  html.sg-blowout .blowout.is-playing .blowout-logo {
    animation: none;
    transform: none;
  }
  @keyframes sg-blowout-veil-reduce {
    0% { opacity: 1; visibility: visible; }
    100% { opacity: 0; visibility: hidden; }
  }
}

/* No-JS: finished split page, no overlay, no mid-intro state. */
html.no-js .wipe { transform: scaleY(1); }
html.no-js .wipe--stays { opacity: 0; }
html.no-js .grain { opacity: 0.055; }
html.no-js .divider { transform: none; }
html.no-js .brand { opacity: 1; }
html.no-js .brand-rings { transform: none; }
html.no-js .brand-ring { stroke-dashoffset: 0; }
html.no-js .brand-logo { opacity: 1; transform: none; }
html.no-js .panel--estates .se-loader-mark { color: #ffffff; }
html.no-js .se-loader-mark .se-draw { stroke-dashoffset: 0; }
html.no-js .se-loader-mark .se-fill { opacity: 1; }
html.no-js .heading {
  clip-path: inset(0 0 0 0);
  transform: none;
  letter-spacing: 0.05em;
}
html.no-js .rule { opacity: 0.72; transform: none; }
html.no-js .slogan { opacity: 1; transform: none; }
html.no-js .enter { opacity: 1; transform: none; }

@media (max-width: 767px) {
  html.no-js .heading { letter-spacing: 0.04em; }
}
