/* The same column tracks continue through the artwork, measured by its ResizeObserver. */
.crystal-footer {
  --footer-line: #343434;
  width: calc(100% - 2 * var(--margin));
  margin: var(--spacing-large, 10rem) auto var(--margin);
  position: relative;
  z-index: 5;
  border: 1px solid var(--footer-line);
  background: #0b0b0b;
  color: var(--fg);
  font-family: Inter, sans-serif;
  isolation: isolate;
}
.crystal-footer__nav {
  display: grid;
  grid-template-columns: repeat(12,minmax(0,1fr));
  border-bottom: 1px solid var(--footer-line);
}
.crystal-footer__cell {
  padding: clamp(18px, 2vw, 32px) clamp(16px, 2vw, 32px) 24px;
  min-width: 0;
  border-right: 1px solid var(--footer-line);
}
.crystal-footer__cell:last-child {
  border-right: 0;
}
.crystal-footer__cell h2 {
  font:
    400 12px/1.5 "Space Grotesk",
    sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  margin: 0 0 12px;
}
.crystal-footer__identity h2 {
  font:
    700 20px/1.25 Inter,
    sans-serif;
  letter-spacing: -0.035em;
  text-transform: none;
  color: var(--fg);
}
.crystal-footer__identity p {
  font:
    400 14px/1.5 Inter,
    sans-serif;
  color: var(--muted);
  margin: 0;
  max-width: 25ch;
}
.crystal-footer__links {
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: start;
}
.crystal-footer a {
  font: inherit;
  color: inherit;
  text-decoration: none;
}
.crystal-footer__links a {
  font:
    400 14px/1.4 Inter,
    sans-serif;
  min-height: 24px;
  display: inline-flex;
  align-items: center;
}
.crystal-footer a:hover {
  color: var(--teal);
}
.crystal-footer a:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 5px;
}
.crystal-footer__art {
  height: clamp(285px, 32vw, 535px);
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: radial-gradient(ellipse at 70% 105%, #1a1a1a 0%, transparent 57%);
}
.crystal-footer__art::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle, #bbbbbb1e 0.65px, transparent 0.9px),
    linear-gradient(to bottom, #aaaaaa10 1px, transparent 1px);
  background-size:
    19px 19px,
    100% 25%;
  pointer-events: none;
}
.crystal-footer__art canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  pointer-events: none;
  z-index: 1;
}
.crystal-footer__grid {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.crystal-footer__grid i {
  position: absolute;
  top: 0;
  bottom: 0;
  border-left: 1px solid var(--footer-line);
}
.crystal-footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  border-top: 1px solid var(--footer-line);
  padding: 12px clamp(18px, 2.5vw, 36px);
  font:
    400 12px/1.5 "Space Grotesk",
    sans-serif;
  color: var(--muted);
}
.crystal-footer__bottom a {
  min-height: 24px;
  display: inline-flex;
  gap: 12px;
  align-items: center;
}
.crystal-footer__bottom a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}
.crystal-footer__meta {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.crystal-footer__meta > a {
  border-left: 1px solid var(--footer-line);
  padding-left: 12px;
}
@media (max-width: 900px) {
  .crystal-footer__nav {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .crystal-footer__cell {
    padding: 22px 20px;
  }
  .crystal-footer__identity {
    grid-column: 1 / -1;
    border-right: 0;
    border-bottom: 1px solid var(--footer-line);
  }
  .crystal-footer__art {
    height: 340px;
  }
}
@media (max-width: 767px) {
  .crystal-footer {
    width: calc(100% - 2 * var(--margin));
  }
  .crystal-footer__nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .crystal-footer__cell {
    padding: 20px 15px;
    border-bottom: 1px solid var(--footer-line);
  }
  .crystal-footer__cell:nth-child(3) {
    border-right: 0;
  }
  .crystal-footer__cell:nth-child(n + 4) {
    border-bottom: 0;
  }
  .crystal-footer__links {
    gap: 5px;
  }
  .crystal-footer__art {
    height: 270px;
  }
  .crystal-footer__bottom {
    padding: 12px 15px;
    flex-wrap: wrap;
    row-gap: 4px;
  }
  .crystal-footer__meta {
    gap: 8px;
  }
}
/* Reuse the existing closing contact actions above the landscape navigation. */
.crystal-footer > .editorial-footer__contact { padding:clamp(24px,3vw,40px); border-color:var(--footer-line); }
@media(pointer:coarse) {
  .crystal-footer__links a,.crystal-footer__bottom a { min-height:44px; }
}

/* Track spans align with the experience's existing twelve-column construction grid. */
@media(min-width:901px) {
 .crystal-footer__cell { grid-column:span 2; }
 .crystal-footer__identity,.crystal-footer__cell[aria-label="Latest writing"] { grid-column:span 3; }
}
/* Approved editorial close; particles are confined behind the text. */
.crystal-footer > .experience-footer-cta { position:relative; isolation:isolate; overflow:hidden; min-height:420px; margin:0; padding:58px clamp(28px,4.5vw,72px); border:0; border-bottom:1px solid var(--footer-line); border-radius:0; display:flex; align-items:center; background:#0d0e0e; color:var(--fg); font-family:Inter,sans-serif; }
.experience-footer-cta__particles { position:absolute; inset:0; z-index:-1; width:100%; height:100%; pointer-events:none; }
.crystal-footer .experience-footer-cta__copy { position:relative; z-index:1; width:100%; display:grid; grid-template-columns:minmax(0,1.22fr) minmax(0,1fr); gap:6%; align-items:end; }
.crystal-footer .experience-footer-cta h2 { max-width:760px; font:500 clamp(38px,4.15vw,62px)/1.09 Inter,sans-serif; letter-spacing:-.038em; margin:0; text-wrap:balance; }
.crystal-footer .experience-footer-cta h2 span { color:var(--teal); }
.experience-footer-cta__aside { min-width:0; }
.crystal-footer .experience-footer-cta p { color:#b9bdb9; max-width:540px; font:400 clamp(17px,1.35vw,20px)/1.55 Inter,sans-serif; margin:0 0 24px; }
.crystal-footer .experience-footer-cta__actions { display:flex; align-items:center; flex-wrap:wrap; gap:16px 23px; }
.crystal-footer .experience-footer-cta__actions a { display:inline-flex; align-items:center; min-height:44px; padding:11px 0; border-bottom:1px solid #777; font:400 14px/1.5 Inter,sans-serif; color:#e4e9e5; text-decoration:none; white-space:nowrap; }
.crystal-footer .experience-footer-cta__actions .experience-footer-cta__primary { justify-content:center; padding:12px 20px; border:1px solid var(--teal); border-radius:3px; background:var(--teal); color:#10231c; }
.crystal-footer .experience-footer-cta__actions a:hover { color:var(--teal); background:transparent; }
.crystal-footer .experience-footer-cta__actions .experience-footer-cta__primary:hover { background:#baffea; border-color:#baffea; color:#10231c; }
.crystal-footer .experience-footer-cta a:focus-visible { outline:2px solid var(--teal); outline-offset:4px; }
@media(max-width:850px) { .crystal-footer > .experience-footer-cta { min-height:360px; padding:46px 28px; } .crystal-footer .experience-footer-cta__copy { grid-template-columns:1fr; gap:24px; } .crystal-footer .experience-footer-cta h2 { font-size:clamp(34px,6.4vw,52px); max-width:650px; text-wrap:pretty; } .crystal-footer .experience-footer-cta p { font-size:17px; } }
@media(max-width:360px) { .crystal-footer > .experience-footer-cta { padding-inline:20px; } }
.crystal-footer__cell:not(.crystal-footer__identity) h2,.crystal-footer__bottom { font:var(--eyebrow-font); letter-spacing:var(--eyebrow-tracking); text-transform:uppercase; }
