/* ============================================================
   Polara — variant 01 (v2)
   Cabinet Grotesk → headline + body
   Clash Display   → the word "Polara"
   One viewport, nothing scrolls.
   ============================================================ */

@font-face {
  font-family: 'Cabinet Grotesk';
  src: url('fonts/CabinetGrotesk-Regular.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Cabinet Grotesk';
  src: url('fonts/CabinetGrotesk-Medium.woff2') format('woff2');
  font-weight: 500; font-style: normal; font-display: swap;
}

@font-face {
  font-family: 'Clash Display';
  src: url('fonts/ClashDisplay-Medium.woff2') format('woff2');
  font-weight: 500; font-style: normal; font-display: swap;
}

/* ---------- tokens ---------- */
:root {
  --ink: #101418;
  --ink-soft: #2b3440;
  --sky: #cfe0f7;

  --font-body: 'Cabinet Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-brand: 'Clash Display', 'Cabinet Grotesk', sans-serif;

  --gutter: clamp(20px, 3.4vw, 56px);

  /* the single colour the hero ends on and the footer begins on */
  --foot-top: #eef2fb;
  --foot-bottom: #ccd8f1;
  --hair: rgba(16, 20, 24, 0.12);
  --foot-gutter: clamp(28px, 6vw, 104px);
}

*, *::before, *::after { box-sizing: border-box; }
:root, html, body { min-height: 100%; }
html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--sky);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { display: block; max-width: 100%; }

.brand { font-family: var(--font-brand); font-weight: 500; }

/* ============================================================
   Stage
   ============================================================ */
.stage {
  position: relative;
  height: 100vh;
  height: 100svh;    /* the small viewport: the hero fits without the URL bar lying about it */
  overflow: hidden;
  isolation: isolate;
}

/* ============================================================
   Hero → footer, with nothing to see at the join.
   The last stretch of the hero fades to exactly --foot-top, and
   the footer opens on exactly --foot-top. Same colour, same pixel.
   ============================================================ */
/* behind the window and the temple (z-index 4 and 6), so only the
   landscape dissolves — the monument stays clear */
.dissolve {
  position: absolute;
  z-index: 3;
  left: 0;
  right: 0;
  bottom: 0;
  height: 34%;
  pointer-events: none;
  background: linear-gradient(to bottom,
    rgba(238, 242, 251, 0)    0%,
    rgba(238, 242, 251, 0.12) 24%,
    rgba(238, 242, 251, 0.38) 46%,
    rgba(238, 242, 251, 0.68) 64%,
    rgba(238, 242, 251, 0.89) 80%,
    rgba(238, 242, 251, 0.98) 92%,
    var(--foot-top)           100%);
}

/* a thin veil over everything, only deep enough to soften where the
   window and the monument meet the page edge */
.dissolve--edge {
  position: absolute;
  z-index: 9;
  left: 0;
  right: 0;
  bottom: 0;
  height: 7%;
  pointer-events: none;
  background: linear-gradient(to bottom,
    rgba(238, 242, 251, 0)    0%,
    rgba(238, 242, 251, 0.10) 38%,
    rgba(238, 242, 251, 0.34) 60%,
    rgba(238, 242, 251, 0.70) 80%,
    rgba(238, 242, 251, 0.93) 93%,
    var(--foot-top)           100%);
}

/* the supplied plate, used as-is */
.scene {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 62%;
  z-index: 0;
}

/* light opening up the top-left, so the copy sits on air */
.wash {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(140% 125% at -8% -20%, rgba(255,255,255,1) 0%, rgba(255,255,255,0.96) 20%, rgba(255,255,255,0.78) 36%, rgba(255,255,255,0.42) 54%, rgba(255,255,255,0.14) 70%, rgba(255,255,255,0) 84%),
    radial-gradient(70% 55% at 8% 30%, rgba(255,255,255,0.7) 0%, rgba(255,255,255,0) 70%),
    linear-gradient(to bottom, rgba(255,255,255,0.42) 0%, rgba(255,255,255,0) 38%);
}

/* ---------- drifting mist between the ridges ---------- */
.mist {
  position: absolute;
  left: -45%;
  right: -45%;
  z-index: 3;
  pointer-events: none;
  filter: blur(34px);
  will-change: transform;
}
.mist--a {
  top: 50%;
  height: 30%;
  opacity: 0.95;
  background:
    radial-gradient(30% 62% at 16% 48%, rgba(255,255,255,1), rgba(255,255,255,0) 72%),
    radial-gradient(24% 54% at 38% 66%, rgba(255,255,255,0.95), rgba(255,255,255,0) 72%),
    radial-gradient(28% 60% at 58% 40%, rgba(255,255,255,1), rgba(255,255,255,0) 72%),
    radial-gradient(22% 50% at 80% 58%, rgba(255,255,255,0.9), rgba(255,255,255,0) 72%);
  animation: drift-a 46s ease-in-out infinite;
}
.mist--b {
  top: 63%;
  height: 28%;
  opacity: 0.8;
  background:
    radial-gradient(26% 58% at 26% 46%, rgba(255,255,255,0.95), rgba(255,255,255,0) 72%),
    radial-gradient(30% 62% at 54% 60%, rgba(255,255,255,0.9), rgba(255,255,255,0) 72%),
    radial-gradient(24% 52% at 84% 44%, rgba(255,255,255,0.85), rgba(255,255,255,0) 72%);
  animation: drift-b 64s ease-in-out infinite;
}
@keyframes drift-a {
  0%   { transform: translate3d(-14%, 0, 0) scaleY(1); }
  50%  { transform: translate3d(14%, -2.5%, 0) scaleY(1.12); }
  100% { transform: translate3d(-14%, 0, 0) scaleY(1); }
}
@keyframes drift-b {
  0%   { transform: translate3d(12%, 1%, 0) scaleY(1.08); }
  50%  { transform: translate3d(-12%, -1%, 0) scaleY(1); }
  100% { transform: translate3d(12%, 1%, 0) scaleY(1.08); }
}

/* ============================================================
   Struck seal — blind-debossed into the surface, ring turning
   slowly, the mark held still at its centre.
   ============================================================ */
.seal {
  position: relative;
  margin-top: clamp(26px, 4.6vh, 54px);
  width: clamp(100px, 8.6vw, max(128px, 13vh));
  aspect-ratio: 1;
  pointer-events: none;
  /* the light edge just under every stroke is what sells the press */
  filter: drop-shadow(0 1px 0.6px rgba(255,255,255,0.95))
          drop-shadow(0 0 14px rgba(255,255,255,0.7));
}
.seal svg { width: 100%; height: 100%; overflow: visible; }

.seal__plate {
  fill: rgba(255, 255, 255, 0.26);
}
.seal__rule {
  fill: none;
  stroke: rgba(16, 20, 24, 0.3);
  stroke-width: 0.8;
}
.seal__rule--inner { stroke: rgba(16, 20, 24, 0.16); }

.seal__ring {
  transform-origin: 70px 70px;
  animation: seal-turn 34s linear infinite;
}
.seal__ring text {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 13.2px;
  letter-spacing: 1.75px;
  text-transform: uppercase;
  fill: rgba(16, 20, 24, 0.74);
}
@keyframes seal-turn {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

.seal__mark { fill: rgba(16, 20, 24, 0.82); }
.seal__mark--faint { fill: rgba(16, 20, 24, 0.16); }

.logo { display: block; width: clamp(124px, 11vw, max(168px, 17vh)); }
.logo img { width: 100%; height: auto; filter: invert(1); }

/* ============================================================
   Copy
   ============================================================ */
.copy {
  position: absolute;
  z-index: 5;
  top: 4.5%;
  left: var(--gutter);
  width: min(48ch, 46vw, calc(44% - var(--gutter) - 28px));
}

.title {
  margin: clamp(48px, 11vh, 108px) 0 clamp(16px, 2.2vh, 26px);
  font-weight: 500;
  font-size: clamp(1.875rem, 3.2vw, max(3rem, 5vh));   /* 30 → 48px, more on large displays */
  line-height: 1.16;
  letter-spacing: -0.015em;
  color: var(--ink);
  max-width: 13.6em;
  text-wrap: balance;
}

.sub {
  margin: 0;
  font-weight: 500;
  font-size: clamp(1rem, 1.22vw, max(1.1875rem, 1.9vh));   /* 16 → 19px, more on large displays */
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 44ch;
}
.sub .brand { color: var(--ink); font-weight: 500; }

/* ============================================================
   Composition — the window and the temple live in a box that is
   never taller than the frame they were designed in (1512:1000),
   pinned to the foot of the screen. On a tall or squarish window
   the extra height becomes sky instead of stretching the layout
   apart. No stacking context here, so the z-order below still
   resolves against the stage.
   ============================================================ */
.composition {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: min(100%, 66.15vw);
}

/* ============================================================
   Glass shell
   ============================================================ */
.glass {
  position: absolute;
  z-index: 4;
  top: 11.5%;
  left: 44%;
  /* width from the short axis too, so a wide/short frame can't make
     the window taller than the composition it sits in */
  /* the second term is the exact height at which the window would
     start to run off the bottom, so the designed 53.6% survives on
     every frame that can physically hold it */
  width: min(53.6%, calc(131vh - 86px));
  padding: 14px;
  border-radius: 20px;
  overflow: hidden;

  background:
    linear-gradient(160deg, rgba(228,238,255,0.62) 0%, rgba(203,221,250,0.5) 58%, rgba(196,214,247,0.44) 100%);
  -webkit-backdrop-filter: blur(22px) saturate(118%);
  backdrop-filter: blur(22px) saturate(118%);

  /* inner highlight on the lit edges, soft cast below */
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.9),
    inset 1px 0 0 rgba(255,255,255,0.55),
    inset -1px 0 0 rgba(255,255,255,0.3),
    inset 0 -1px 0 rgba(255,255,255,0.22),
    0 1px 0 rgba(255,255,255,0.35),
    0 34px 70px -26px rgba(32,60,124,0.4);

  display: flex;
  flex-direction: column;
  gap: 12px;
}

.glass__bar {
  flex: none;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 6px 6px 0;
}
.dot { width: 13px; height: 13px; border-radius: 50%; }
.dot--red   { background: #ff5f57; }
.dot--amber { background: #ffbd2e; }
.dot--green { background: #28c840; }

.glass__screen {
  border-radius: 12px;
  overflow: hidden;
  background: #f4f4f4;
  box-shadow: 0 8px 24px -12px rgba(32,60,124,0.35);
}
.glass__screen img {
  width: 100%;
  height: auto;
  aspect-ratio: 1308 / 852;
}

/* ============================================================
   Temple — in front of the window
   ============================================================ */
.temple {
  position: absolute;
  z-index: 6;
  right: -2%;
  bottom: -6%;
  /* the third term is the important one: on a short, wide frame the
     temple has to shrink with the HEIGHT, or it towers over the
     window instead of standing behind it */
  width: min(68%, 102.8vh);
  pointer-events: none;
}
.temple img {
  position: relative;
  width: 100%;
  height: auto;
  z-index: 1;
}
.temple__glow {
  position: absolute;
  inset: -14% -8% -10% -6%;
  z-index: 0;
  background: radial-gradient(38% 44% at 70% 40%, rgba(255,255,255,0.95) 0%, rgba(234,243,255,0.6) 34%, rgba(214,230,252,0) 70%);
  filter: blur(22px);
}

/* ============================================================
   Entrance — scene, then temple, then the window behind it,
   then the copy. Each one settles out of a blur.
   ============================================================ */

/* 1 — the world resolves */
@keyframes scene-in {
  0%   { opacity: 0; transform: scale(1.09); filter: blur(16px) saturate(0.8); }
  60%  { opacity: 1; }
  100% { opacity: 1; transform: scale(1);    filter: blur(0) saturate(1); }
}
.scene { animation: scene-in 1900ms cubic-bezier(0.16, 0.8, 0.24, 1) both; }

@keyframes wash-in {
  0%   { opacity: 0; transform: scale(1.3); }
  100% { opacity: 1; transform: scale(1); }
}
.wash { animation: wash-in 2200ms cubic-bezier(0.16, 0.8, 0.24, 1) both; }

.mist { opacity: 0; animation: mist-in 1600ms ease-out 900ms forwards; }
.mist--a { animation: mist-in 1600ms ease-out 900ms forwards, drift-a 46s ease-in-out 900ms infinite; }
.mist--b { animation: mist-in 1600ms ease-out 1100ms forwards, drift-b 64s ease-in-out 1100ms infinite; }
@keyframes mist-in { to { opacity: 0.95; } }

/* 2 — the temple lifts in and flares */
@keyframes temple-in {
  0%   { opacity: 0; transform: translate3d(0, 9%, 0) scale(1.07); filter: blur(18px); }
  55%  { opacity: 1; }
  100% { opacity: 1; transform: translate3d(0, 0, 0) scale(1);     filter: blur(0); }
}
.temple { animation: temple-in 1500ms cubic-bezier(0.16, 0.84, 0.22, 1) 750ms both; }

@keyframes glow-in {
  0%   { opacity: 0;    transform: scale(0.78); }
  55%  { opacity: 1.0;  transform: scale(1.14); }
  100% { opacity: 0.72; transform: scale(1); }
}
.temple__glow {
  animation:
    glow-in 2400ms cubic-bezier(0.18, 0.7, 0.2, 1) 750ms both,
    breathe 9s ease-in-out 3150ms infinite;
}
@keyframes breathe {
  0%, 100% { opacity: 0.72; transform: scale(1); }
  50%      { opacity: 1;    transform: scale(1.05); }
}

/* 3 — the window rises from behind it */
@keyframes glass-in {
  0%   { opacity: 0; transform: translate3d(2%, 14%, 0) scale(0.93); filter: blur(14px); }
  55%  { opacity: 1; }
  100% { opacity: 1; transform: translate3d(0, 0, 0) scale(1);       filter: blur(0); }
}
.glass { animation: glass-in 1400ms cubic-bezier(0.16, 0.86, 0.22, 1) 1350ms both; }

/* light rakes across the glass once, as it lands */
.glass::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(104deg,
    rgba(255,255,255,0) 34%,
    rgba(255,255,255,0.55) 47%,
    rgba(255,255,255,0.88) 51%,
    rgba(255,255,255,0.5) 55%,
    rgba(255,255,255,0) 68%);
  opacity: 0;
  animation: sheen 1500ms cubic-bezier(0.3, 0.6, 0.2, 1) 2050ms both;
}
@keyframes sheen {
  0%   { opacity: 0;    transform: translate3d(-115%, 0, 0); }
  18%  { opacity: 0.95; }
  82%  { opacity: 0.7; }
  100% { opacity: 0;    transform: translate3d(115%, 0, 0); }
}

/* 4 — the copy settles in, one beat apart */
@keyframes copy-in {
  0%   { opacity: 0; transform: translate3d(0, 20px, 0); filter: blur(10px); }
  100% { opacity: 1; transform: none;                    filter: blur(0); }
}
@keyframes title-in {
  0%   { opacity: 0; transform: translate3d(0, 24px, 0); filter: blur(12px); letter-spacing: 0.055em; }
  100% { opacity: 1; transform: none;                    filter: blur(0);    letter-spacing: -0.015em; }
}
.logo  { animation: copy-in  1000ms cubic-bezier(0.2, 0.85, 0.25, 1) 1900ms both; }
.title { animation: title-in 1300ms cubic-bezier(0.2, 0.85, 0.25, 1) 2040ms both; }
.sub   { animation: copy-in  1200ms cubic-bezier(0.2, 0.85, 0.25, 1) 2220ms both; }

/* 5 — the seal is struck: it lands hard, then settles */
@keyframes seal-strike {
  0%   { opacity: 0; transform: scale(1.5)  rotate(-14deg); }
  55%  { opacity: 1; transform: scale(0.94) rotate(2deg); }
  75%  { transform: scale(1.03) rotate(-1deg); }
  100% { opacity: 1; transform: scale(1) rotate(0deg); }
}
.seal { animation: seal-strike 900ms cubic-bezier(0.3, 1.2, 0.4, 1) 2500ms both; }

/* ============================================================
   Phone — the same scene stacked into a portrait frame.
   Still one screen: the window and the temple run off the edges.
   ============================================================ */
@media (max-width: 760px) {
  :root { --gutter: clamp(22px, 7.2vw, 36px); }

  /* the plate covers to full height here, so we only choose the slice */
  .scene { object-position: 30% 50%; }

  .wash {
    background:
      radial-gradient(120% 62% at 6% -8%, rgba(255,255,255,1) 0%, rgba(255,255,255,0.95) 24%, rgba(255,255,255,0.72) 44%, rgba(255,255,255,0.3) 64%, rgba(255,255,255,0) 82%),
      linear-gradient(to bottom, rgba(255,255,255,0.7) 0%, rgba(255,255,255,0.22) 26%, rgba(255,255,255,0) 48%);
  }

  .mist--a { top: 54%; height: 22%; }
  .mist--b { top: 68%; height: 20%; }

  /* the copy and the window sit in flow, one after the other, so no
     amount of browser chrome or text wrapping can push them into each
     other. A percentage of height cannot promise that; flow can. */
  .composition {
    height: 100%;
    display: flex;
    flex-direction: column;
  }

  .copy {
    position: static;
    flex: none;
    margin-top: clamp(22px, 3.4vh, 40px);
    width: auto;
    /* `left` does nothing once this is in flow — the gutter has to be padding */
    padding-inline: var(--gutter);
  }

  .logo { width: clamp(118px, 30vw, 152px); }

  .title {
    margin: clamp(38px, 6.6vh, 74px) 0 clamp(12px, 1.8vh, 20px);
    font-size: clamp(1.4375rem, 6.6vw, 2rem);   /* 23 → 32px */
    line-height: 1.18;
    max-width: 15em;
  }

  .sub {
    font-size: clamp(0.875rem, 3.9vw, 1.0625rem);   /* 14 → 17px */
    line-height: 1.5;
    max-width: none;
  }

  /* on a phone the seal rides up next to the wordmark, so it stops
     eating the space the window needs */
  .seal {
    position: absolute;
    z-index: 7;
    top: clamp(8px, 1.3vh, 16px);
    right: var(--gutter);
    margin-top: 0;
    width: clamp(68px, 18.5vw, 90px);
  }

  /* the window sits inset from the left and runs off the right edge */
  .glass {
    position: relative;
    flex: none;
    top: auto;
    left: auto;
    right: auto;
    margin: clamp(14px, 3vh, 38px) -42% 0 11%;
    width: auto;
    padding: 12px;
    border-radius: 18px;
    gap: 10px;
  }
  .glass__bar { gap: 8px; padding: 4px 4px 0; }
  .dot { width: 12px; height: 12px; }
  .glass__screen { border-radius: 10px; }

  /* sized off the frame's HEIGHT, like everywhere else, so it lands in
     the same place on a short phone as on a tall one */
  .temple {
    position: absolute;
    right: 0;
    bottom: 0;
    left: auto;
    width: auto;
    height: 36%;
  }
  .temple img { height: 100%; width: auto; max-width: none; }
  .temple__glow {
    inset: -10% -6% -8% -4%;
    background: radial-gradient(42% 46% at 66% 42%, rgba(255,255,255,0.95) 0%, rgba(234,243,255,0.6) 36%, rgba(214,230,252,0) 72%);
  }
}


/* ============================================================
   Tablet, held upright — its own layout. Landscape tablets are
   wide enough to take the desktop composition unchanged, so this
   keys off the aspect, not the width.
   ============================================================ */
@media (min-width: 761px) and (max-aspect-ratio: 1/1) {
  :root { --gutter: clamp(28px, 4.7vw, 72px); }

  .composition {
    height: 100%;
    display: flex;
    flex-direction: column;
  }

  .scene { object-position: 34% 50%; }

  .wash {
    background:
      radial-gradient(112% 58% at 4% -6%, rgba(255,255,255,1) 0%, rgba(255,255,255,0.96) 22%, rgba(255,255,255,0.74) 42%, rgba(255,255,255,0.32) 62%, rgba(255,255,255,0) 80%),
      linear-gradient(to bottom, rgba(255,255,255,0.72) 0%, rgba(255,255,255,0.24) 24%, rgba(255,255,255,0) 46%);
  }

  .mist--a { top: 56%; height: 22%; }
  .mist--b { top: 70%; height: 20%; }

  .copy {
    position: static;
    flex: none;
    margin-top: 3.2%;
    left: auto;
    padding-inline: var(--gutter);
    width: min(60ch + var(--gutter) * 2, 78%);
  }

  .logo { width: clamp(150px, 14.7vw, 250px); }

  .title {
    margin: 4.6% 0 clamp(12px, 1.4vh, 24px);
    font-size: clamp(1.875rem, 3.9vw, 3.875rem);   /* 30 → 62px */
    line-height: 1.17;
    max-width: 15em;
  }

  .sub {
    font-size: clamp(1.0625rem, 2vw, 2rem);        /* 17 → 32px */
    line-height: 1.5;
    max-width: 44ch;
  }

  /* seal rides up beside the wordmark, as it does on a phone */
  .seal {
    position: absolute;
    z-index: 7;
    top: clamp(14px, 1.6vh, 30px);
    right: var(--gutter);
    margin-top: 0;
    width: clamp(88px, 10vw, 150px);
  }

  /* the window is inset on both sides here, not bled off the edge */
  .glass {
    position: relative;
    flex: none;
    top: auto;
    left: auto;
    right: auto;
    margin: clamp(24px, 4.5vh, 70px) 3.3% 0 21.3%;
    width: auto;
    padding: clamp(12px, 1.3vw, 20px);
    border-radius: clamp(16px, 1.7vw, 26px);
    gap: clamp(10px, 1vw, 16px);
  }
  .glass__bar { gap: clamp(8px, 0.9vw, 13px); padding: 4px 4px 0; }
  .dot { width: clamp(11px, 1.15vw, 18px); height: clamp(11px, 1.15vw, 18px); }
  .glass__screen { border-radius: clamp(9px, 1vw, 15px); }

  /* temple sized off the frame's height so it lands the same way
     whatever the tablet's exact aspect */
  .temple {
    position: absolute;
    right: -2%;
    bottom: -6%;
    left: auto;
    width: auto;
    height: 52%;
  }
  .temple img { height: 100%; width: auto; max-width: none; }
  .temple__glow {
    inset: -12% -8% -8% -6%;
    background: radial-gradient(40% 46% at 68% 42%, rgba(255,255,255,0.95) 0%, rgba(234,243,255,0.6) 36%, rgba(214,230,252,0) 72%);
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .mist { opacity: 0.85; }
  .temple__glow { opacity: 0.8; }
  .glass::after { display: none; }
  .seal__ring { animation: none; }
}

/* ============================================================
   Footer — standard type scale, no sizes lifted off the comp.
   13 / 14 / 16px text, 40px section heading, stepping down once
   at the tablet breakpoint.
   ============================================================ */
.foot {
  position: relative;
  overflow: hidden;
  background: linear-gradient(to bottom, var(--foot-top) 0%, #e5ebf8 46%, var(--foot-bottom) 100%);
  color: var(--ink);
}

.foot__inner {
  position: relative;
  z-index: 3;
  max-width: 1440px;
  margin: 0 auto;
  /* footer sits in a bit further than the hero */
  padding: 64px var(--foot-gutter) 0;
}

/* --- a product by KRASHA --- */
.foot__byline {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(16, 20, 24, 0.42);
}
.foot__krasha { width: 118px; height: auto; }

.foot__rule {
  border: 0;
  border-top: 1px solid var(--hair);
  margin: 36px 0 0;
}

/* --- statement / registration / socials --- */
.foot__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto;
  gap: 48px;
  align-items: start;
  padding: 48px 0 88px;
}

.foot__statement {
  margin: 0;
  font-weight: 400;
  font-size: 40px;
  line-height: 1.18;
  letter-spacing: -0.015em;
}

.foot__label {
  margin: 0 0 18px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(16, 20, 24, 0.42);
}
.foot__label--help { margin-top: 32px; }

.foot__cin {
  margin: 0 0 16px;
  font-size: 16px;
  color: rgba(16, 20, 24, 0.66);
}
.foot__cin strong { font-weight: 700; color: var(--ink); }

.foot__address {
  margin: 0;
  font-style: normal;
  font-size: 16px;
  line-height: 1.6;
  color: rgba(16, 20, 24, 0.78);
}
.foot__pin { text-decoration: underline; text-underline-offset: 3px; }

.foot__contact {
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
  color: rgba(16, 20, 24, 0.78);
}
.foot__contact a {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(16, 20, 24, 0.35);
  transition: text-decoration-color 180ms ease;
}
.foot__contact a:hover,
.foot__contact a:focus-visible { text-decoration-color: var(--ink); }

.foot__col--socials { justify-self: end; text-align: right; }
.foot__socials {
  display: flex;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
  justify-content: flex-end;
}
.foot__socials a {
  display: block;
  opacity: 0.82;
  transition: opacity 180ms ease, transform 180ms ease;
}
.foot__socials a:hover,
.foot__socials a:focus-visible { opacity: 1; transform: translateY(-2px); }
.foot__socials img { width: 24px; height: 24px; }

/* --- legal entity --- */
.foot__entity { padding-bottom: 22px; }
.foot__entity + .foot__rule { margin-top: 22px; }
.foot__wordmark {
  width: 190px;
  height: auto;
  filter: invert(1);
  margin-bottom: 22px;
}
.foot__legal-name {
  margin: 0;
  font-size: 14px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(16, 20, 24, 0.7);
}
.foot__legal-name strong { font-weight: 700; color: var(--ink); }

/* --- about --- */
.foot__about { margin: 26px 0 22px; }
.foot__about-title {
  margin: 0 0 16px;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.005em;
  color: var(--ink);
}
.foot__about p {
  margin: 0 0 14px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.65;
  color: rgba(16, 20, 24, 0.76);
}
.foot__about p:last-child { margin-bottom: 0; }
.foot__copy {
  margin: 0;
  font-size: 14px;
  color: rgba(16, 20, 24, 0.7);
  padding-bottom: 300px;
}

/* --- fog settling over the foot of the page --- */
.foot__fog {
  position: absolute;
  z-index: 2;
  left: 0;
  right: 0;
  bottom: 0;
  height: 30%;
  pointer-events: none;
  background: linear-gradient(to top,
    rgba(255, 255, 255, 0.78) 0%,
    rgba(255, 255, 255, 0.52) 22%,
    rgba(255, 255, 255, 0.26) 46%,
    rgba(255, 255, 255, 0.09) 70%,
    rgba(255, 255, 255, 0)    100%);
}

/* --- the wordmark ghosted across the foot of the page --- */
.foot__ghost {
  position: absolute;
  z-index: 0;
  left: 50%;
  bottom: -22px;
  transform: translateX(-50%);
  width: min(1440px, 94%);
  height: auto;
  opacity: 0.5;
  pointer-events: none;
  user-select: none;
}

@media (max-width: 900px) {
  .foot__inner { padding-top: 48px; }
  :root { --foot-gutter: clamp(24px, 7.2vw, 40px); }
  .foot__grid {
    grid-template-columns: 1fr;
    gap: 34px;
    padding: 36px 0 56px;
  }
  .foot__col--socials { justify-self: start; text-align: left; }
  .foot__socials { justify-content: flex-start; }
  .foot__statement { font-size: 30px; }
  .foot__wordmark { width: 150px; margin-bottom: 18px; }
  .foot__legal-name { font-size: 13px; }
  .foot__entity { padding-bottom: 18px; }
  .foot__entity + .foot__rule { margin-top: 18px; }
  .foot__about { margin: 22px 0 20px; }
  .foot__about-title { font-size: 17px; margin-bottom: 14px; }
  .foot__about p { font-size: 13px; font-weight: 500; margin-bottom: 12px; }
  .foot__contact { font-size: 15px; }
  .foot__label--help { margin-top: 28px; }
  .foot__copy { font-size: 13px; padding-bottom: 150px; }
  .foot__ghost { width: 124%; bottom: -10px; opacity: 0.55; }
}
