:root {
  --ink: #071719;
  --ink-soft: #173134;
  --paper: #f5f2e9;
  --paper-bright: #fffdf7;
  --muted: #677476;
  --line: rgba(7, 23, 25, 0.13);
  --coral: #ff715b;
  --coral-dark: #e94e3c;
  --aqua: #49d7cf;
  --yellow: #f3d55a;
  --white: #ffffff;
  --sidebar-width: 19rem;
  --shadow: 0 30px 80px rgba(7, 23, 25, 0.14);
  --radius-sm: 0.75rem;
  --radius: 1.25rem;
  --radius-lg: 2rem;
  color-scheme: light;
  font-family: Inter, Avenir, "Segoe UI", Helvetica, Arial, sans-serif;
  font-synthesis: none;
}

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

html {
  scroll-behavior: smooth;
  background: var(--paper);
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.page-portal {
  overflow: hidden;
}

button,
input,
a {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
  text-decoration: none;
}

img,
video {
  display: block;
  max-width: 100%;
}

button {
  border: 0;
}

.skip-link {
  position: fixed;
  z-index: 9999;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.75rem 1rem;
  color: var(--white);
  background: var(--ink);
  border-radius: 0.5rem;
  transform: translateY(-160%);
  transition: transform 160ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

:focus-visible {
  outline: 3px solid var(--aqua);
  outline-offset: 3px;
}

.icon {
  width: 1.1rem;
  height: 1.1rem;
  flex: 0 0 auto;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin: 0 0 1rem;
  color: var(--coral-dark);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  line-height: 1.3;
  text-transform: uppercase;
}

.eyebrow > span {
  width: 1.8rem;
  height: 2px;
  background: currentColor;
}

.eyebrow.light {
  color: rgba(255, 255, 255, 0.78);
}

.button {
  display: inline-flex;
  min-height: 3.25rem;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 0.9rem 1.3rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.86rem;
  font-weight: 750;
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-coral {
  color: var(--ink);
  background: var(--coral);
  box-shadow: 0 14px 36px rgba(255, 113, 91, 0.24);
}

.button-coral:hover {
  background: #ff816d;
  box-shadow: 0 18px 44px rgba(255, 113, 91, 0.34);
}

.button-glass {
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.23);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.button-glass:hover {
  background: rgba(255, 255, 255, 0.14);
}

.button-dark {
  color: var(--white);
  background: var(--ink);
  box-shadow: 0 15px 35px rgba(7, 23, 25, 0.2);
}

.button-dark:hover {
  background: var(--ink-soft);
}

/* Public microsite */

.public-shell {
  overflow: hidden;
  background: var(--paper);
}

.public-header {
  position: fixed;
  z-index: 40;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.6rem clamp(1.25rem, 4vw, 4rem);
  transition: padding 220ms ease, background 220ms ease, border-color 220ms ease;
}

.public-header.is-condensed {
  padding-top: 0.9rem;
  padding-bottom: 0.9rem;
  background: rgba(7, 23, 25, 0.88);
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.brand-link img {
  width: clamp(8.5rem, 13vw, 12rem);
  height: auto;
}

.public-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.language-pill,
.portal-pill {
  display: inline-flex;
  min-height: 2.8rem;
  align-items: center;
  justify-content: center;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background: rgba(7, 23, 25, 0.18);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.language-pill {
  min-width: 2.8rem;
  padding: 0 0.8rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.portal-pill {
  gap: 0.65rem;
  padding: 0 1.1rem;
  font-size: 0.78rem;
  font-weight: 700;
}

.language-pill:hover,
.portal-pill:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.38);
}

.home-hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: var(--white);
  background: var(--ink);
}

.home-video,
.home-video-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.home-video {
  object-fit: cover;
  opacity: 0.73;
  filter: saturate(0.82) contrast(1.04);
}

.home-video-shade {
  background:
    linear-gradient(90deg, rgba(3, 18, 20, 0.88) 0%, rgba(3, 18, 20, 0.52) 48%, rgba(3, 18, 20, 0.24) 100%),
    linear-gradient(0deg, rgba(3, 18, 20, 0.75) 0%, transparent 42%);
}

.home-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.09;
  pointer-events: none;
  background-image: linear-gradient(rgba(255, 255, 255, 0.45) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.45) 1px, transparent 1px);
  background-size: 5rem 5rem;
  mask-image: linear-gradient(90deg, black, transparent 70%);
  -webkit-mask-image: linear-gradient(90deg, black, transparent 70%);
}

.home-orbit {
  position: absolute;
  z-index: 1;
  width: 26rem;
  height: 26rem;
  border: 1px solid rgba(73, 215, 207, 0.24);
  border-radius: 50%;
  pointer-events: none;
}

.home-orbit::before,
.home-orbit::after {
  content: "";
  position: absolute;
  border-radius: 50%;
}

.home-orbit::before {
  inset: 12%;
  border: 1px solid rgba(255, 255, 255, 0.13);
}

.home-orbit::after {
  top: 7%;
  left: 47%;
  width: 0.65rem;
  height: 0.65rem;
  background: var(--coral);
  box-shadow: 0 0 22px var(--coral);
}

.home-orbit-one {
  top: -9rem;
  right: -7rem;
}

.home-orbit-two {
  bottom: -18rem;
  left: 43%;
  transform: scale(1.55);
}

.home-hero-content {
  position: relative;
  z-index: 3;
  width: min(58rem, calc(100% - 2.5rem));
  margin: 0 auto;
  padding: 9rem 0 10rem;
}

.home-hero h1 {
  max-width: 13ch;
  margin: 0;
  font-size: clamp(3rem, 7.2vw, 7.4rem);
  font-weight: 850;
  letter-spacing: -0.065em;
  line-height: 0.91;
  text-wrap: balance;
}

.home-intro {
  max-width: 44rem;
  margin: 1.8rem 0 0;
  color: rgba(255, 255, 255, 0.75);
  font-size: clamp(1rem, 1.35vw, 1.25rem);
  line-height: 1.65;
}

.home-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 2.2rem;
}

.hero-metrics {
  position: absolute;
  z-index: 3;
  right: clamp(1.5rem, 4vw, 4rem);
  bottom: 2rem;
  display: flex;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 1.2rem;
  background: rgba(7, 23, 25, 0.52);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.hero-metric {
  width: 10.5rem;
  padding: 1rem 1.15rem;
}

.hero-metric + .hero-metric {
  border-left: 1px solid rgba(255, 255, 255, 0.13);
}

.hero-metric strong,
.hero-metric span {
  display: block;
}

.hero-metric strong {
  color: var(--aqua);
  font-size: 1.4rem;
  letter-spacing: -0.04em;
}

.hero-metric span {
  margin-top: 0.25rem;
  color: rgba(255, 255, 255, 0.63);
  font-size: 0.66rem;
  line-height: 1.35;
}

.scroll-cue {
  position: absolute;
  z-index: 3;
  left: clamp(1.25rem, 4vw, 4rem);
  bottom: 2.8rem;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.67rem;
  font-weight: 750;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  transform: rotate(-90deg) translateX(100%);
  transform-origin: left bottom;
}

.scroll-cue i {
  position: relative;
  display: block;
  width: 3rem;
  height: 1px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.2);
}

.scroll-cue i::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--coral);
  animation: scroll-line 2.2s ease-in-out infinite;
}

@keyframes scroll-line {
  0%, 15% { transform: translateX(-100%); }
  65%, 100% { transform: translateX(100%); }
}

.home-story {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(20rem, 1.1fr);
  gap: clamp(3rem, 8vw, 9rem);
  min-height: 92vh;
  align-items: center;
  padding: clamp(6rem, 10vw, 10rem) clamp(1.25rem, 7vw, 8rem);
  background: var(--paper);
}

.home-story::before {
  content: "PTY";
  position: absolute;
  top: -1.2rem;
  right: 3vw;
  color: rgba(7, 23, 25, 0.035);
  font-size: clamp(12rem, 31vw, 32rem);
  font-weight: 900;
  letter-spacing: -0.11em;
  line-height: 0.75;
  pointer-events: none;
}

.story-copy,
.story-visual,
.partner-invite {
  position: relative;
  z-index: 1;
}

.story-copy h2 {
  max-width: 11ch;
  margin: 0;
  font-size: clamp(2.5rem, 5.2vw, 5.4rem);
  line-height: 0.98;
  letter-spacing: -0.06em;
}

.story-copy > p:not(.eyebrow) {
  max-width: 38rem;
  margin: 1.7rem 0 0;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.75;
}

.story-copy blockquote {
  max-width: 34rem;
  margin: 2.2rem 0 0;
  padding: 1.1rem 0 1.1rem 1.5rem;
  color: var(--ink-soft);
  border-left: 3px solid var(--coral);
  font-size: 1rem;
  font-weight: 650;
  line-height: 1.65;
}

.story-visual {
  min-height: 39rem;
  perspective: 1200px;
}

.map-card {
  position: absolute;
  border-radius: 1.4rem;
  box-shadow: var(--shadow);
}

.map-card-back {
  inset: 8% 17% 9% 8%;
  background: var(--aqua);
  transform: rotate(-8deg);
}

.map-card-back::after {
  content: "FREE MAP";
  position: absolute;
  right: -3.7rem;
  bottom: 5rem;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.2em;
  transform: rotate(90deg);
}

.map-card-front {
  inset: 2% 6% 2% 16%;
  overflow: hidden;
  background: var(--ink);
  transform: rotate(4deg);
  transition: transform 400ms ease;
}

.story-visual:hover .map-card-front {
  transform: rotate(1deg) translateY(-0.8rem);
}

.map-card-front > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.78;
}

.map-card-label {
  position: absolute;
  inset: auto 1.4rem 1.4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.map-card-label img {
  width: 8rem;
}

.map-card-label span {
  padding: 0.45rem 0.6rem;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 0.3rem;
  font-size: 0.55rem;
  font-weight: 900;
  letter-spacing: 0.16em;
}

.partner-invite {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.6rem;
  align-items: start;
  max-width: 47rem;
  margin-top: -3rem;
  padding: 1.7rem;
  color: var(--white);
  border-radius: 1.2rem;
  background: var(--ink);
  box-shadow: var(--shadow);
}

.partner-invite-number {
  color: var(--coral);
  font-size: 2rem;
  font-weight: 900;
  letter-spacing: -0.08em;
}

.partner-invite h3 {
  margin: 0;
  font-size: 1.2rem;
}

.partner-invite p {
  margin: 0.55rem 0 0;
  color: rgba(255, 255, 255, 0.62);
  line-height: 1.55;
}

.partner-invite a {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-top: 1rem;
  color: var(--aqua);
  font-size: 0.78rem;
  font-weight: 800;
}

.home-showcase {
  position: relative;
  overflow: hidden;
  padding: clamp(6rem, 10vw, 10rem) clamp(1.25rem, 7vw, 8rem);
  color: var(--white);
  background: var(--ink);
}

.home-showcase::before {
  content: "05";
  position: absolute;
  top: -0.12em;
  right: -0.03em;
  color: rgba(255, 255, 255, 0.025);
  font-size: clamp(18rem, 45vw, 46rem);
  font-weight: 900;
  letter-spacing: -0.12em;
  line-height: 0.8;
  pointer-events: none;
}

.showcase-heading,
.showcase-grid {
  position: relative;
  z-index: 1;
}

.showcase-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(18rem, 0.75fr);
  gap: clamp(2rem, 8vw, 8rem);
  align-items: end;
}

.showcase-heading h2 {
  max-width: 15ch;
  margin: 0;
  font-size: clamp(2.6rem, 5.4vw, 5.6rem);
  line-height: 0.98;
  letter-spacing: -0.06em;
  text-wrap: balance;
}

.showcase-heading > p {
  max-width: 31rem;
  margin: 0 0 0.35rem;
  color: rgba(255, 255, 255, 0.62);
  font-size: 1rem;
  line-height: 1.7;
}

.showcase-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(0.8rem, 1.4vw, 1.4rem);
  margin-top: clamp(3rem, 7vw, 6rem);
}

.showcase-card {
  position: relative;
  min-width: 0;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 1.35rem;
  background: var(--ink-soft);
  box-shadow: 0 2rem 5rem rgba(0, 0, 0, 0.24);
}

.showcase-card-1 {
  grid-column: 1 / span 7;
  aspect-ratio: 16 / 10;
}

.showcase-card-2 {
  grid-column: 8 / span 5;
  align-self: end;
  margin-top: 4rem;
  aspect-ratio: 4 / 3;
}

.showcase-card-3 {
  grid-column: 4 / span 7;
  margin-top: 0.2rem;
  aspect-ratio: 16 / 9;
}

.showcase-card::after {
  content: "";
  position: absolute;
  inset: 38% 0 0;
  background: linear-gradient(0deg, rgba(3, 18, 20, 0.9), transparent);
  pointer-events: none;
}

.showcase-card > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 700ms cubic-bezier(0.2, 0.75, 0.2, 1);
}

.showcase-card:hover > img {
  transform: scale(1.035);
}

.showcase-card figcaption {
  position: absolute;
  z-index: 1;
  right: clamp(1rem, 2vw, 1.6rem);
  bottom: clamp(1rem, 2vw, 1.6rem);
  left: clamp(1rem, 2vw, 1.6rem);
}

.showcase-card figcaption span,
.showcase-card figcaption strong {
  display: block;
}

.showcase-card figcaption span {
  color: var(--aqua);
  font-size: 0.62rem;
  font-weight: 850;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.showcase-card figcaption strong {
  max-width: 22ch;
  margin-top: 0.35rem;
  font-size: clamp(1rem, 1.6vw, 1.45rem);
  line-height: 1.15;
  text-wrap: balance;
}

.public-footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 2rem;
  padding: 2rem clamp(1.25rem, 5vw, 5rem);
  border-top: 1px solid var(--line);
  background: var(--paper-bright);
}

.public-footer > img {
  width: 8.2rem;
}

.public-footer p {
  color: var(--muted);
  font-size: 0.72rem;
}

.public-footer > div {
  display: flex;
  justify-content: flex-end;
  gap: 1.2rem;
  font-size: 0.72rem;
  font-weight: 650;
}

/* Portal login */

.login-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.38fr) minmax(25rem, 0.62fr);
  min-height: 100vh;
  min-height: 100svh;
  background: var(--paper-bright);
}

.login-visual {
  position: relative;
  min-height: 42rem;
  overflow: hidden;
  color: var(--white);
  background: var(--ink);
}

.login-photo,
.login-visual-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.login-photo {
  object-fit: cover;
  object-position: center;
}

.login-visual-shade {
  background:
    linear-gradient(180deg, rgba(7, 23, 25, 0.48), transparent 35%),
    linear-gradient(0deg, rgba(7, 23, 25, 0.92), rgba(7, 23, 25, 0.05) 70%);
}

.login-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, transparent 49.8%, rgba(255, 255, 255, 0.08) 50%, transparent 50.2%);
}

.login-brand-row {
  position: absolute;
  z-index: 2;
  top: 2rem;
  left: 2.2rem;
  right: 2.2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.login-brand-row img {
  width: 11rem;
}

.login-message {
  position: absolute;
  z-index: 2;
  left: clamp(2rem, 6vw, 6rem);
  right: clamp(2rem, 8vw, 8rem);
  bottom: clamp(4rem, 10vh, 8rem);
}

.login-message h1 {
  max-width: 11ch;
  margin: 0;
  font-size: clamp(3rem, 6vw, 6.5rem);
  line-height: 0.92;
  letter-spacing: -0.065em;
  text-wrap: balance;
}

.login-message > p:last-child {
  max-width: 42rem;
  margin: 1.5rem 0 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.03rem;
  line-height: 1.65;
}

.login-kit-badge {
  position: absolute;
  z-index: 2;
  right: 2.4rem;
  bottom: 2.4rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.8rem 1rem;
  color: var(--ink);
  background: var(--aqua);
}

.login-kit-badge span {
  font-size: 2rem;
  font-weight: 900;
  letter-spacing: -0.08em;
}

.login-kit-badge small {
  font-size: 0.56rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  line-height: 1.45;
}

.login-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 3rem clamp(2rem, 5vw, 5rem) 1.5rem;
}

.login-panel-inner {
  width: min(100%, 28rem);
  margin: auto;
}

.login-lock {
  display: grid;
  width: 3.4rem;
  height: 3.4rem;
  place-items: center;
  margin-bottom: 2rem;
  color: var(--ink);
  border-radius: 50%;
  background: var(--aqua);
}

.login-lock .icon {
  width: 1.35rem;
  height: 1.35rem;
}

.login-panel h2 {
  margin: 0;
  font-size: clamp(2rem, 3.2vw, 3.2rem);
  letter-spacing: -0.055em;
}

.login-form-intro {
  margin: 0.75rem 0 2.2rem;
  color: var(--muted);
  line-height: 1.6;
}

.login-panel label {
  display: block;
  margin-bottom: 0.65rem;
  color: var(--ink-soft);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.pin-field {
  position: relative;
}

.pin-field input {
  width: 100%;
  height: 4.3rem;
  padding: 0 4rem 0 1.3rem;
  color: var(--ink);
  border: 1px solid rgba(7, 23, 25, 0.19);
  border-radius: 0.9rem;
  background: var(--paper-bright);
  font-size: 1.5rem;
  font-weight: 750;
  letter-spacing: 0.58em;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.pin-field input::placeholder {
  color: rgba(7, 23, 25, 0.23);
}

.pin-field input:focus {
  border-color: var(--aqua);
  outline: 0;
  box-shadow: 0 0 0 4px rgba(73, 215, 207, 0.16);
}

.pin-visibility {
  position: absolute;
  top: 50%;
  right: 0.75rem;
  display: grid;
  width: 2.8rem;
  height: 2.8rem;
  place-items: center;
  color: var(--muted);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  transform: translateY(-50%);
}

.pin-visibility:hover {
  color: var(--ink);
  background: rgba(7, 23, 25, 0.06);
}

.pin-help {
  margin: 0.5rem 0 0;
  color: rgba(7, 23, 25, 0.35);
  font-size: 0.62rem;
  letter-spacing: 0.22em;
}

.login-submit {
  width: 100%;
  margin-top: 1.5rem;
}

.form-error {
  margin-bottom: 1rem;
  padding: 0.85rem 1rem;
  color: #8a2419;
  border: 1px solid rgba(233, 78, 60, 0.25);
  border-radius: 0.75rem;
  background: rgba(255, 113, 91, 0.09);
  font-size: 0.78rem;
  font-weight: 650;
  line-height: 1.5;
}

.form-error.is-hidden {
  display: none;
}

.login-security {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin: 1.3rem 0 0;
  color: var(--muted);
  font-size: 0.68rem;
  line-height: 1.5;
}

.login-security .icon {
  width: 0.9rem;
  height: 0.9rem;
}

.login-copyright {
  margin: 3rem auto 0;
  color: rgba(7, 23, 25, 0.37);
  font-size: 0.65rem;
}

/* Protected portal shell */

.portal-shell {
  height: 100vh;
  height: 100dvh;
  color: var(--ink);
  background: var(--paper);
}

.portal-sidebar {
  position: fixed;
  z-index: 60;
  inset: 0 auto 0 0;
  width: var(--sidebar-width);
  display: flex;
  flex-direction: column;
  color: var(--white);
  background:
    radial-gradient(circle at 10% 0%, rgba(73, 215, 207, 0.13), transparent 33%),
    var(--ink);
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  transition: transform 260ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.portal-sidebar::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.035;
  pointer-events: none;
  background-image: linear-gradient(rgba(255, 255, 255, 0.5) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.5) 1px, transparent 1px);
  background-size: 2.5rem 2.5rem;
}

.portal-sidebar > * {
  position: relative;
  z-index: 1;
}

.portal-sidebar-head {
  min-height: 0;
  padding: 0;
  border: 0;
}

.icon-button,
.portal-close {
  display: grid;
  width: 2.7rem;
  height: 2.7rem;
  place-items: center;
  color: currentColor;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}

.portal-close {
  position: absolute;
  top: 1.3rem;
  right: 1rem;
  display: none;
  color: rgba(255, 255, 255, 0.72);
}

.portal-nav {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 0.35rem;
  padding: 1.25rem 0.85rem;
  overflow-y: auto;
}

.portal-nav-link {
  position: relative;
  display: grid;
  grid-template-columns: 2.7rem 1fr auto;
  gap: 0.8rem;
  align-items: center;
  min-height: 4.2rem;
  padding: 0.65rem 0.8rem;
  color: rgba(255, 255, 255, 0.58);
  border: 1px solid transparent;
  border-radius: 0.85rem;
  transition: color 180ms ease, background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.portal-nav-link:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.05);
  transform: translateX(2px);
}

.portal-nav-link.is-active {
  color: var(--white);
  border-color: rgba(73, 215, 207, 0.23);
  background: linear-gradient(90deg, rgba(73, 215, 207, 0.13), rgba(73, 215, 207, 0.035));
}

.portal-nav-link.is-active::before {
  content: "";
  position: absolute;
  left: -0.85rem;
  width: 3px;
  height: 2rem;
  border-radius: 0 3px 3px 0;
  background: var(--aqua);
  box-shadow: 0 0 18px rgba(73, 215, 207, 0.65);
}

.portal-nav-icon {
  display: grid;
  width: 2.7rem;
  height: 2.7rem;
  place-items: center;
  border-radius: 0.75rem;
  background: rgba(255, 255, 255, 0.055);
}

.portal-nav-link.is-active .portal-nav-icon {
  color: var(--aqua);
  background: rgba(73, 215, 207, 0.12);
}

.portal-nav-link strong,
.portal-nav-link small {
  display: block;
}

.portal-nav-link strong {
  font-size: 0.82rem;
  font-weight: 720;
}

.portal-nav-link small {
  margin-top: 0.16rem;
  color: rgba(255, 255, 255, 0.32);
  font-size: 0.61rem;
}

.portal-nav-arrow {
  width: 0.85rem;
  height: 0.85rem;
  opacity: 0;
  transform: translateX(-5px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.portal-nav-link:hover .portal-nav-arrow,
.portal-nav-link.is-active .portal-nav-arrow {
  opacity: 0.8;
  transform: translateX(0);
}

.portal-sidebar-foot {
  padding: 1rem 1.25rem 1.4rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.private-state {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  color: rgba(255, 255, 255, 0.42);
  font-size: 0.63rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.private-state i {
  width: 0.48rem;
  height: 0.48rem;
  border-radius: 50%;
  background: var(--aqua);
  box-shadow: 0 0 12px rgba(73, 215, 207, 0.75);
}

.portal-foot-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 0.9rem;
}

.portal-foot-actions > a {
  display: grid;
  width: 2rem;
  height: 2rem;
  place-items: center;
  color: rgba(255, 255, 255, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  font-size: 0.62rem;
  font-weight: 850;
}

.portal-foot-actions button {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem;
  color: rgba(255, 255, 255, 0.45);
  background: transparent;
  font-size: 0.65rem;
  cursor: pointer;
}

.portal-foot-actions button:hover {
  color: var(--coral);
}

.portal-main {
  height: 100%;
  margin-left: var(--sidebar-width);
  overflow: hidden;
}

.portal-frame {
  display: block;
  height: 100%;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.portal-mobile-head {
  display: none;
}

.portal-backdrop {
  position: fixed;
  z-index: 50;
  inset: 0;
  background: rgba(7, 23, 25, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.portal-section {
  width: min(100%, 98rem);
  min-height: 100%;
  margin: 0 auto;
  padding: clamp(2rem, 4vw, 4.5rem) clamp(1.25rem, 4vw, 4.5rem) 5rem;
}

.section-heading {
  margin-bottom: 2.2rem;
}

.section-heading h1 {
  max-width: 17ch;
  margin: 0;
  font-size: clamp(2.35rem, 4.4vw, 4.8rem);
  line-height: 0.98;
  letter-spacing: -0.06em;
  text-wrap: balance;
}

.section-heading > p:last-child,
.section-heading > div > p:last-child {
  max-width: 42rem;
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.65;
}

.split-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(18rem, 0.52fr);
  gap: 3rem;
  align-items: end;
}

/* Welcome overlay */

.partner-welcome {
  position: fixed;
  z-index: 200;
  inset: 0;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  color: var(--white);
  background: var(--ink);
  opacity: 1;
  transition: opacity 420ms ease, visibility 420ms ease;
}

.partner-welcome.is-leaving {
  opacity: 0;
  visibility: hidden;
}

.partner-welcome-media,
.partner-welcome-shade,
.partner-welcome-grid {
  position: absolute;
  inset: 0;
}

.partner-welcome-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: welcome-zoom 12s ease-out both;
}

@keyframes welcome-zoom {
  from { transform: scale(1.06); }
  to { transform: scale(1); }
}

.partner-welcome-shade {
  background:
    linear-gradient(90deg, rgba(7, 23, 25, 0.96) 0%, rgba(7, 23, 25, 0.73) 45%, rgba(7, 23, 25, 0.2) 100%),
    linear-gradient(0deg, rgba(7, 23, 25, 0.75), transparent 45%);
}

.partner-welcome-grid {
  opacity: 0.08;
  background-image: linear-gradient(rgba(255, 255, 255, 0.45) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.45) 1px, transparent 1px);
  background-size: 5rem 5rem;
  mask-image: linear-gradient(90deg, black, transparent 76%);
  -webkit-mask-image: linear-gradient(90deg, black, transparent 76%);
}

.partner-welcome-content {
  position: relative;
  z-index: 2;
  width: min(56rem, calc(100% - 3rem));
  margin: 0 0 clamp(4rem, 10vh, 8rem) clamp(1.5rem, 9vw, 9rem);
}

.partner-welcome-content > img {
  width: clamp(9rem, 14vw, 13rem);
  margin-bottom: clamp(3rem, 9vh, 7rem);
}

.partner-welcome-content h1 {
  max-width: 12ch;
  margin: 0;
  font-size: clamp(3.3rem, 7vw, 7.5rem);
  line-height: 0.9;
  letter-spacing: -0.07em;
  text-wrap: balance;
}

.partner-welcome-content > p:not(.eyebrow) {
  max-width: 45rem;
  margin: 1.5rem 0 2rem;
  color: rgba(255, 255, 255, 0.72);
  font-size: clamp(0.95rem, 1.4vw, 1.15rem);
  line-height: 1.65;
}

/* Presentation */

.presentation-section {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.presentation-audio-status {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.presentation-player {
  overflow: hidden;
  border: 1px solid rgba(7, 23, 25, 0.12);
  border-radius: 1.4rem;
  background: var(--ink);
  box-shadow: var(--shadow);
}

.presentation-stage {
  position: relative;
  aspect-ratio: 16 / 8.6;
  overflow: hidden;
  color: var(--white);
  background: #061315;
}

.presentation-grid {
  position: absolute;
  z-index: 3;
  inset: 0;
  opacity: 0.075;
  pointer-events: none;
  background-image: linear-gradient(rgba(255, 255, 255, 0.4) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.4) 1px, transparent 1px);
  background-size: 4rem 4rem;
  mask-image: linear-gradient(90deg, black, transparent 80%);
  -webkit-mask-image: linear-gradient(90deg, black, transparent 80%);
}

.presentation-slide {
  position: absolute;
  inset: 0;
  visibility: hidden;
  overflow: hidden;
  opacity: 0;
  transform: scale(1.02);
  transition: opacity 750ms ease, transform 1000ms ease, visibility 750ms;
}

.presentation-slide.is-active {
  visibility: visible;
  opacity: 1;
  transform: scale(1);
}

.presentation-slide::before {
  content: "";
  position: absolute;
  z-index: 2;
  top: 0;
  bottom: 0;
  left: 0;
  width: 0.45rem;
  background: var(--slide-accent);
}

.presentation-slide.accent-coral { --slide-accent: var(--coral); }
.presentation-slide.accent-aqua { --slide-accent: var(--aqua); }
.presentation-slide.accent-yellow { --slide-accent: var(--yellow); }

.presentation-slide-image,
.presentation-slide-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.presentation-slide-image {
  object-fit: cover;
  object-position: center;
  filter: saturate(0.78) contrast(1.05);
  transform: scale(1.05);
  transition: transform 8.5s linear;
}

.presentation-slide.is-active .presentation-slide-image {
  transform: scale(1);
}

.presentation-slide-shade {
  background: linear-gradient(90deg, rgba(5, 18, 20, 0.96) 0%, rgba(5, 18, 20, 0.75) 48%, rgba(5, 18, 20, 0.2) 100%);
}

.presentation-slide-copy {
  position: relative;
  z-index: 5;
  width: min(65%, 52rem);
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 4rem clamp(2.2rem, 5vw, 6rem);
}

.presentation-slide-copy > p {
  margin: 0;
  color: var(--slide-accent);
  font-size: clamp(0.58rem, 0.8vw, 0.76rem);
  font-weight: 850;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(1rem);
}

.presentation-slide-copy h2 {
  max-width: 12ch;
  margin: 0.75rem 0 0;
  font-size: clamp(2rem, 4.6vw, 5.2rem);
  line-height: 0.92;
  letter-spacing: -0.065em;
  text-wrap: balance;
  opacity: 0;
  transform: translateY(1.4rem);
}

.presentation-line {
  width: 0;
  height: 2px;
  margin: 1.4rem 0;
  background: var(--slide-accent);
}

.presentation-slide-copy > span:last-child {
  max-width: 40rem;
  color: rgba(255, 255, 255, 0.68);
  font-size: clamp(0.78rem, 1.1vw, 1rem);
  line-height: 1.55;
  opacity: 0;
  transform: translateY(1rem);
}

.presentation-slide.is-active .presentation-slide-copy > p,
.presentation-slide.is-active .presentation-slide-copy h2,
.presentation-slide.is-active .presentation-slide-copy > span:last-child {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 650ms ease, transform 650ms ease;
}

.presentation-slide.is-active .presentation-slide-copy h2 { transition-delay: 100ms; }
.presentation-slide.is-active .presentation-line { width: 4rem; transition: width 600ms ease 240ms; }
.presentation-slide.is-active .presentation-slide-copy > span:last-child { transition-delay: 330ms; }

.presentation-slide-number {
  position: absolute;
  top: 2rem;
  left: clamp(2.2rem, 5vw, 6rem);
  color: rgba(255, 255, 255, 0.27);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.15em;
}

.presentation-metric {
  position: absolute;
  z-index: 1;
  right: 4vw;
  bottom: -0.12em;
  color: rgba(255, 255, 255, 0.065);
  font-size: clamp(8rem, 19vw, 21rem);
  font-weight: 900;
  letter-spacing: -0.11em;
  line-height: 0.8;
}

.presentation-wordmark {
  position: absolute;
  z-index: 5;
  top: 2rem;
  right: 2rem;
}

.presentation-wordmark img {
  width: clamp(6rem, 10vw, 10rem);
  opacity: 0.75;
}

.presentation-start {
  position: absolute;
  z-index: 15;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  color: var(--white);
  background: rgba(5, 18, 20, 0.22);
  cursor: pointer;
  transition: opacity 300ms ease, visibility 300ms ease;
}

.presentation-start.is-hidden {
  visibility: hidden;
  opacity: 0;
}

.presentation-start > span {
  display: grid;
  width: 4.4rem;
  height: 4.4rem;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 50%;
  background: rgba(7, 23, 25, 0.62);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 0 0 0.7rem rgba(255, 255, 255, 0.07);
}

.presentation-start > span .icon {
  width: 1.45rem;
  height: 1.45rem;
  margin-left: 0.18rem;
}

.presentation-start strong {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.presentation-controls {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 4.6rem;
  padding: 0 1.15rem;
  color: rgba(255, 255, 255, 0.76);
  background: #071719;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.player-button {
  display: grid;
  width: 2.4rem;
  height: 2.4rem;
  flex: 0 0 auto;
  place-items: center;
  color: inherit;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}

.player-button:hover {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.06);
}

.player-button-main {
  color: var(--ink);
  border-color: var(--aqua);
  background: var(--aqua);
}

.player-button-main:hover {
  color: var(--ink);
  background: #62e5dc;
}

.presentation-timeline {
  position: relative;
  height: 2rem;
  display: flex;
  flex: 1;
  align-items: center;
  gap: 0.22rem;
  margin: 0 0.75rem;
  cursor: pointer;
}

.presentation-timeline::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  background: rgba(255, 255, 255, 0.13);
}

.presentation-progress {
  position: absolute;
  z-index: 2;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--coral);
  transition: width 100ms linear;
}

.presentation-timeline i {
  position: relative;
  z-index: 3;
  flex: 1;
  height: 100%;
}

.presentation-count {
  flex: 0 0 auto;
  color: rgba(255, 255, 255, 0.36);
  font-size: 0.64rem;
  font-weight: 750;
  letter-spacing: 0.1em;
}

.presentation-count b {
  color: var(--aqua);
}

.presentation-announcement {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

/* Media kit */

.context-chip {
  justify-self: end;
  padding: 0.7rem 0.9rem;
  color: var(--ink-soft) !important;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.55);
  font-size: 0.68rem !important;
  font-weight: 750;
}

.kit-hero {
  position: relative;
  min-height: clamp(28rem, 52vw, 44rem);
  overflow: hidden;
  border-radius: 1.5rem;
  background: var(--ink);
  box-shadow: var(--shadow);
}

.kit-hero > img,
.kit-hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.kit-hero > img {
  object-fit: cover;
  object-position: center;
}

.kit-hero-overlay {
  background: linear-gradient(0deg, rgba(7, 23, 25, 0.94), rgba(7, 23, 25, 0.06) 72%);
}

.kit-hero-copy {
  position: absolute;
  z-index: 2;
  right: clamp(1.5rem, 5vw, 5rem);
  bottom: clamp(1.5rem, 5vw, 5rem);
  left: clamp(1.5rem, 5vw, 5rem);
  color: var(--white);
}

.kit-hero-copy > span {
  color: var(--aqua);
  font-size: 0.65rem;
  font-weight: 850;
  letter-spacing: 0.18em;
}

.kit-hero-copy strong {
  display: block;
  max-width: 15ch;
  margin-top: 0.7rem;
  font-size: clamp(2.2rem, 5.4vw, 5.5rem);
  line-height: 0.93;
  letter-spacing: -0.06em;
}

.kit-hero-copy p {
  max-width: 38rem;
  margin: 1rem 0 0;
  color: rgba(255, 255, 255, 0.68);
  line-height: 1.6;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line);
  border-radius: 1.2rem;
  background: var(--paper-bright);
  box-shadow: 0 15px 40px rgba(7, 23, 25, 0.06);
}

.kit-metrics {
  position: relative;
  z-index: 3;
  width: calc(100% - clamp(2rem, 8vw, 8rem));
  margin: -1.9rem auto 5rem;
}

.metric-grid article {
  min-height: 9rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 1.5rem;
}

.metric-grid article + article {
  border-left: 1px solid var(--line);
}

.metric-grid strong,
.metric-grid span {
  display: block;
}

.metric-grid strong {
  color: var(--coral-dark);
  font-size: clamp(1.8rem, 3vw, 3rem);
  letter-spacing: -0.06em;
}

.metric-grid span {
  max-width: 14rem;
  margin-top: 0.5rem;
  color: var(--muted);
  font-size: 0.7rem;
  line-height: 1.45;
}

.audience-block {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: clamp(2rem, 6vw, 6rem);
  align-items: start;
  margin: 2rem 0 6rem;
}

.audience-copy h2,
.distribution-copy h2,
.formats-block header .eyebrow {
  margin-top: 0;
}

.audience-copy h2,
.distribution-copy h2 {
  margin-bottom: 0;
  font-size: clamp(2rem, 3.8vw, 4rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.audience-copy > p:last-child,
.distribution-copy > p:nth-of-type(2) {
  color: var(--muted);
  line-height: 1.7;
}

.journey-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 1.2rem;
  background: var(--line);
}

.journey-grid article {
  min-height: 12rem;
  padding: 1.6rem;
  background: var(--paper-bright);
}

.journey-grid span {
  color: var(--coral-dark);
  font-size: 0.64rem;
  font-weight: 850;
  letter-spacing: 0.13em;
}

.journey-grid h3 {
  margin: 2rem 0 0.45rem;
  font-size: 1.15rem;
}

.journey-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.55;
}

.distribution-block {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: clamp(2rem, 5vw, 5rem);
  margin-inline: calc(clamp(1.25rem, 4vw, 4.5rem) * -1);
  padding: clamp(3rem, 6vw, 6rem) clamp(1.25rem, 4vw, 4.5rem);
  color: var(--white);
  background:
    radial-gradient(circle at 0 100%, rgba(73, 215, 207, 0.18), transparent 38%),
    var(--ink);
}

.distribution-copy > p:nth-of-type(2) {
  color: rgba(255, 255, 255, 0.62);
}

.support-card {
  margin-top: 2.5rem;
  padding: 1.4rem;
  border: 1px solid rgba(73, 215, 207, 0.2);
  border-radius: 1rem;
  background: rgba(73, 215, 207, 0.07);
}

.support-card strong,
.support-card span {
  display: block;
}

.support-card strong {
  color: var(--aqua);
  font-size: 0.82rem;
}

.support-card span {
  margin-top: 0.55rem;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.75rem;
  line-height: 1.6;
}

.distribution-list {
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.distribution-list > div {
  display: grid;
  grid-template-columns: 2rem 1fr;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.11);
}

.distribution-list span {
  color: var(--coral);
  font-size: 0.58rem;
  font-weight: 850;
}

.distribution-list strong {
  font-size: 0.85rem;
  font-weight: 650;
}

.formats-block {
  padding: 6rem 0 1rem;
}

.formats-block > header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 3rem;
  margin-bottom: 2rem;
}

.formats-block > header > p:last-child {
  max-width: 34rem;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.6;
}

.formats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.formats-grid article {
  position: relative;
  min-height: 22rem;
  padding: 1.3rem;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: var(--paper-bright);
}

.formats-grid article > span {
  color: var(--coral-dark);
  font-size: 0.62rem;
  font-weight: 850;
}

.format-shape {
  height: 9rem;
  margin: 1.6rem 0;
  border: 1px solid rgba(7, 23, 25, 0.15);
  background: linear-gradient(135deg, var(--ink), var(--ink-soft));
  box-shadow: 0.5rem 0.5rem 0 var(--aqua);
}

.format-shape-1,
.format-shape-2 {
  width: 5.2rem;
  margin-inline: auto;
}

.format-shape-2 { box-shadow: 0.5rem 0.5rem 0 var(--coral); }
.format-shape-3 { height: 5rem; margin-top: 3.6rem; box-shadow: 0.5rem 0.5rem 0 var(--yellow); }
.format-shape-4 { width: 7rem; height: 7rem; margin: 2.7rem auto 2rem; border-radius: 50%; box-shadow: 0.5rem 0.5rem 0 var(--aqua); }

.formats-grid h3 {
  margin: 0;
  font-size: 1rem;
}

.formats-grid p {
  margin: 0.55rem 0 0;
  color: var(--muted);
  font-size: 0.73rem;
  line-height: 1.55;
}

/* Measures */

.map-overview {
  display: grid;
  grid-template-columns: minmax(20rem, 1.2fr) minmax(16rem, 0.8fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  padding: clamp(2rem, 4vw, 4rem);
  color: var(--white);
  border-radius: 1.4rem;
  background: var(--ink);
  box-shadow: var(--shadow);
}

.map-overview-art {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  grid-template-rows: repeat(2, minmax(4rem, 1fr));
  aspect-ratio: 21.25 / 17;
  overflow: hidden;
  border: 2px solid var(--aqua);
  background: rgba(73, 215, 207, 0.04);
}

.map-overview-art i {
  display: grid;
  place-items: center;
  color: rgba(255, 255, 255, 0.35);
  border-right: 1px dashed rgba(255, 255, 255, 0.25);
  border-bottom: 1px dashed rgba(255, 255, 255, 0.25);
  font-size: 0.6rem;
  font-style: normal;
}

.map-overview-copy {
  min-width: 0;
}

.map-overview-kicker {
  display: block;
  color: var(--aqua);
  font-size: 0.64rem;
  font-weight: 850;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.map-overview-dimensions {
  display: grid;
  gap: 0.65rem;
  margin: 0.9rem 0 0;
}

.map-overview-dimensions div {
  padding: 0.85rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 0.8rem;
  background: rgba(255, 255, 255, 0.045);
}

.map-overview-dimensions dt {
  color: rgba(255, 255, 255, 0.52);
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.map-overview-dimensions dd {
  margin: 0.28rem 0 0;
  color: var(--white);
  font-size: clamp(1.15rem, 2vw, 1.8rem);
  font-weight: 850;
  line-height: 1.05;
  letter-spacing: -0.035em;
}

.map-overview-copy > p {
  margin: 0.95rem 0 0;
  color: rgba(255, 255, 255, 0.58);
  line-height: 1.6;
}

.measure-specs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.2rem;
  margin-top: 1.2rem;
}

.measure-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 1.2rem;
  background: var(--paper-bright);
}

.measure-image {
  position: relative;
  height: 25rem;
  display: grid;
  place-items: center;
  padding: 2rem;
  overflow: hidden;
  background: #e7e4da;
}

.measure-image::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.38;
  background-image: linear-gradient(rgba(7, 23, 25, 0.08) 1px, transparent 1px), linear-gradient(90deg, rgba(7, 23, 25, 0.08) 1px, transparent 1px);
  background-size: 2rem 2rem;
}

.measure-image img {
  position: relative;
  max-width: 72%;
  max-height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 18px 24px rgba(7, 23, 25, 0.22));
}

.measure-image.is-horizontal img {
  max-width: 95%;
}

.measure-image > span {
  position: absolute;
  top: 1rem;
  left: 1rem;
  display: grid;
  width: 2.4rem;
  height: 2.4rem;
  place-items: center;
  color: var(--white);
  border-radius: 50%;
  background: var(--ink);
  font-size: 0.62rem;
  font-weight: 850;
}

.measure-card-body {
  padding: 1.7rem;
}

.measure-card-body h2 {
  min-height: 2.6rem;
  margin: 0 0 1.3rem;
  font-size: 1.25rem;
  line-height: 1.2;
}

.measure-card dl {
  margin: 0;
}

.measure-card dl > div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.72rem 0;
  border-top: 1px solid var(--line);
}

.measure-card dt {
  color: var(--muted);
  font-size: 0.7rem;
}

.measure-card dd {
  margin: 0;
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 800;
  text-align: right;
}

.production-rules {
  display: grid;
  grid-template-columns: 0.5fr 1.5fr;
  gap: 3rem;
  margin-top: 1.2rem;
  padding: 2rem;
  border: 1px solid var(--line);
  border-radius: 1.2rem;
  background: var(--paper-bright);
}

.production-rules > div span,
.production-rules > div strong {
  display: block;
}

.production-rules > div span {
  color: var(--coral-dark);
  font-size: 0.62rem;
  font-weight: 900;
  letter-spacing: 0.16em;
}

.production-rules > div strong {
  margin-top: 0.7rem;
  font-size: 1.5rem;
}

.production-rules ol {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem 2rem;
  margin: 0;
  padding: 0;
  list-style-position: inside;
}

.production-rules li {
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.55;
}

.production-rules li::marker {
  color: var(--coral-dark);
  font-weight: 850;
}

/* Artwork preview */

.artwork-preview-notice {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: center;
  overflow: hidden;
  padding: clamp(1.7rem, 4vw, 3.4rem);
  color: var(--white);
  border-radius: 1.4rem;
  background:
    radial-gradient(circle at 10% 25%, rgba(255, 118, 95, 0.2), transparent 30%),
    linear-gradient(135deg, var(--ink), #102f32);
  box-shadow: var(--shadow);
}

.artwork-preview-notice::after {
  content: "Preview";
  position: absolute;
  right: -2.4rem;
  bottom: -1.7rem;
  color: rgba(255, 255, 255, 0.035);
  font-size: clamp(5rem, 13vw, 11rem);
  font-weight: 900;
  letter-spacing: -0.07em;
  transform: rotate(-7deg);
}

.artwork-preview-notice-mark {
  position: relative;
  z-index: 1;
  display: grid;
  width: clamp(5.5rem, 10vw, 8rem);
  aspect-ratio: 1;
  place-items: center;
  color: var(--ink);
  border-radius: 50%;
  background: var(--coral);
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 900;
  letter-spacing: -0.05em;
  box-shadow: 0 0 0 0.7rem rgba(255, 118, 95, 0.1);
}

.artwork-preview-notice > div:last-child {
  position: relative;
  z-index: 1;
}

.artwork-preview-notice .eyebrow {
  margin-bottom: 0.75rem;
}

.artwork-preview-notice h2 {
  max-width: 55rem;
  margin: 0;
  font-size: clamp(1.15rem, 2.1vw, 1.65rem);
  line-height: 1.4;
  letter-spacing: -0.025em;
}

.artwork-preview-notice > div:last-child > p:last-child {
  max-width: 48rem;
  margin: 1rem 0 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.76rem;
  line-height: 1.6;
}

.artwork-preview-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.2rem;
  margin-top: 1.2rem;
}

.artwork-preview-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 1.2rem;
  background: var(--paper-bright);
}

.artwork-preview-image {
  position: relative;
  display: block;
  aspect-ratio: 21.75 / 17.5;
  overflow: hidden;
  background: #dfddd4;
}

.artwork-preview-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 500ms cubic-bezier(0.2, 0.8, 0.2, 1), filter 300ms ease;
}

.artwork-preview-image > span {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  padding: 0.6rem 0.85rem;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  background: rgba(7, 23, 25, 0.78);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  font-size: 0.62rem;
  font-weight: 800;
  opacity: 0;
  transform: translateY(0.5rem);
  transition: opacity 180ms ease, transform 180ms ease;
}

.artwork-preview-image:hover img {
  filter: saturate(1.03);
  transform: scale(1.018);
}

.artwork-preview-image:hover > span,
.artwork-preview-image:focus-visible > span {
  opacity: 1;
  transform: translateY(0);
}

.artwork-preview-copy {
  padding: 1.7rem;
}

.artwork-preview-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem 1rem;
  color: var(--coral-dark);
  font-size: 0.61rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  line-height: 1.4;
  text-transform: uppercase;
}

.artwork-preview-copy h2 {
  margin: 1rem 0 0;
  font-size: 1.45rem;
}

.artwork-preview-copy > p {
  min-height: 3.5rem;
  margin: 0.7rem 0 0;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.6;
}

.artwork-preview-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.4rem;
}

.artwork-preview-actions .button {
  min-height: 2.8rem;
  padding: 0.72rem 1rem;
  font-size: 0.74rem;
}

.artwork-preview-actions .icon {
  width: 1rem;
  height: 1rem;
}

.artwork-preview-pdf {
  color: var(--ink);
  border-color: rgba(7, 23, 25, 0.18);
  background: transparent;
}

.artwork-preview-pdf:hover {
  border-color: var(--coral);
  background: rgba(255, 118, 95, 0.08);
}

.artwork-preview-disclaimer {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin: 1.2rem 0 0;
  padding: 1.2rem 1.4rem;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.4);
  font-size: 0.72rem;
  line-height: 1.6;
}

.artwork-preview-disclaimer .icon {
  width: 1rem;
  height: 1rem;
  flex: 0 0 auto;
  margin-top: 0.1rem;
  color: var(--coral-dark);
}

/* Mockups */

.mockup-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-flow: dense;
  gap: 0.85rem;
}

.mockup-card {
  position: relative;
  aspect-ratio: 4 / 4.4;
  overflow: hidden;
  color: var(--white);
  border-radius: 1rem;
  background: var(--ink);
  cursor: zoom-in;
}

.mockup-card.is-wide {
  grid-column: span 2;
  aspect-ratio: 8 / 4.4;
}

.mockup-card img,
.mockup-card-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.mockup-card img {
  object-fit: cover;
  transition: transform 600ms cubic-bezier(0.2, 0.8, 0.2, 1), filter 300ms ease;
}

.mockup-card-shade {
  background: linear-gradient(0deg, rgba(7, 23, 25, 0.93), transparent 63%);
  transition: opacity 300ms ease;
}

.mockup-card:hover img {
  transform: scale(1.045);
  filter: saturate(1.05);
}

.mockup-card-number {
  position: absolute;
  top: 1rem;
  left: 1rem;
  display: grid;
  width: 2.3rem;
  height: 2.3rem;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  background: rgba(7, 23, 25, 0.3);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  font-size: 0.58rem;
  font-weight: 850;
}

.mockup-card-copy {
  position: absolute;
  right: 1rem;
  bottom: 1.2rem;
  left: 1rem;
  text-align: left;
}

.mockup-card-copy strong,
.mockup-card-copy small {
  display: block;
}

.mockup-card-copy strong {
  font-size: 0.95rem;
}

.mockup-card-copy small {
  max-width: 25rem;
  margin-top: 0.35rem;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.65rem;
  line-height: 1.4;
}

.gallery-overlay {
  position: fixed;
  z-index: 160;
  inset: 0;
  padding: 2rem 5rem;
  color: var(--white);
  background: rgba(5, 16, 18, 0.96);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.gallery-overlay[hidden] {
  display: none;
}

.gallery-overlay figure {
  width: min(78vw, 78rem);
  height: 100%;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  gap: 1.2rem;
  margin: 0 auto;
}

.gallery-overlay figure > img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.gallery-overlay figcaption {
  position: relative;
  min-height: 4rem;
  padding-left: 4rem;
}

.gallery-overlay figcaption > span {
  position: absolute;
  left: 0;
  color: var(--coral);
  font-size: 0.62rem;
  font-weight: 850;
  letter-spacing: 0.12em;
}

.gallery-overlay h2 {
  margin: 0;
  font-size: 1.25rem;
}

.gallery-overlay figcaption p {
  margin: 0.3rem 0 0;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.76rem;
}

.gallery-close,
.gallery-arrow {
  position: absolute;
  z-index: 2;
  display: grid;
  width: 3.2rem;
  height: 3.2rem;
  place-items: center;
  color: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
}

.gallery-close:hover,
.gallery-arrow:hover {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.4);
}

.gallery-close {
  top: 1.5rem;
  right: 1.5rem;
}

.gallery-arrow {
  top: 50%;
  transform: translateY(-50%);
}

.gallery-arrow-left { left: 1.5rem; }
.gallery-arrow-right { right: 1.5rem; }

/* Brand */

.front-cover-scope {
  display: grid;
  grid-template-columns: minmax(11rem, 0.36fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: stretch;
  margin-bottom: 1rem;
  padding: clamp(1.2rem, 2.6vw, 2.4rem);
  border: 1px solid rgba(255, 113, 91, 0.34);
  border-radius: 1.2rem;
  background:
    radial-gradient(circle at 92% 14%, rgba(255, 113, 91, 0.12), transparent 34%),
    var(--paper-bright);
  box-shadow: 0 18px 50px rgba(7, 23, 25, 0.07);
}

.front-cover-scope-mark {
  display: flex;
  min-height: 9rem;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.25rem;
  color: var(--ink);
  border-radius: 0.9rem;
  background: var(--coral);
}

.front-cover-scope-mark .icon {
  width: 1.5rem;
  height: 1.5rem;
}

.front-cover-scope-mark strong {
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.front-cover-scope > div:last-child {
  align-self: center;
}

.front-cover-scope h1 {
  max-width: 22ch;
  margin: 0;
  font-size: clamp(1.8rem, 3.2vw, 3.4rem);
  line-height: 1.02;
  letter-spacing: -0.045em;
}

.front-cover-scope p {
  max-width: 56rem;
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.7;
}

.brand-resources {
  margin-top: 1rem;
  padding: clamp(1.4rem, 3vw, 3rem);
  border: 1px solid var(--line);
  border-radius: 1.2rem;
  background: var(--paper-bright);
}

.brand-resources-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(18rem, 0.9fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: end;
  margin-bottom: 2rem;
}

.brand-resources-heading h2,
.brand-principles-heading h2 {
  max-width: 16ch;
  margin: 0;
  font-size: clamp(2rem, 4vw, 4.2rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.brand-resources-heading > p {
  margin: 0 0 0.35rem;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.7;
}

.brand-resource-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(18rem, 0.55fr);
  gap: 1rem;
  align-items: stretch;
}

.brand-sample-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: #f8f6ef;
}

.brand-sample-image {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: #e9e5da;
}

.brand-sample-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 320ms ease;
}

.brand-sample-image > span {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 0.8rem;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(7, 23, 25, 0.86);
  font-size: 0.66rem;
  font-weight: 800;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.brand-sample-image > span .icon {
  width: 1rem;
  height: 1rem;
}

.brand-sample-image:hover img,
.brand-sample-image:focus-visible img {
  transform: scale(1.018);
}

.brand-resource-copy {
  padding: 1.5rem;
}

.brand-resource-kicker {
  margin: 0 0 0.7rem;
  color: var(--coral-dark);
  font-size: 0.62rem;
  font-weight: 850;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.brand-resource-copy h3,
.brand-tool-card h3 {
  margin: 0;
  font-size: clamp(1.35rem, 2vw, 2rem);
  line-height: 1.05;
  letter-spacing: -0.035em;
}

.brand-resource-copy > p:not(.brand-resource-kicker),
.brand-tool-card > div:nth-child(2) > p:last-child {
  margin: 0.75rem 0 0;
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.65;
}

.brand-resource-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.35rem;
}

.brand-resource-actions .button,
.brand-tool-card .button {
  min-height: 2.9rem;
  padding: 0.72rem 1rem;
  font-size: 0.68rem;
}

.brand-download-button {
  color: var(--ink);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.56);
}

.brand-download-button:hover {
  background: var(--white);
}

.brand-tools {
  display: grid;
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.brand-tool-card {
  display: flex;
  min-height: 17rem;
  flex-direction: column;
  gap: 1.2rem;
  padding: 1.5rem;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: #f8f6ef;
}

.brand-tool-card.is-template {
  background:
    radial-gradient(circle at 85% 12%, rgba(73, 215, 207, 0.18), transparent 34%),
    #f8f6ef;
}

.brand-tool-card.is-measures {
  background:
    radial-gradient(circle at 85% 12%, rgba(255, 113, 91, 0.16), transparent 34%),
    #f8f6ef;
}

.brand-tool-icon {
  display: grid;
  width: 3.6rem;
  height: 3.6rem;
  place-items: center;
  color: var(--white);
  border-radius: 0.8rem;
  background: var(--ink);
  font-size: 0.86rem;
  font-weight: 900;
  letter-spacing: -0.03em;
}

.brand-tool-icon .icon {
  width: 1.4rem;
  height: 1.4rem;
}

.brand-tool-card > .button {
  align-self: flex-start;
  margin-top: auto;
}

.brand-principles-heading {
  display: grid;
  grid-template-columns: minmax(14rem, 0.55fr) minmax(0, 1.45fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: end;
  margin: clamp(2.5rem, 5vw, 5rem) 0 1rem;
}

.brand-principles-heading .eyebrow {
  margin-bottom: 0.45rem;
}

.brand-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(18rem, 0.75fr) minmax(0, 1.25fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: center;
  min-height: 34rem;
  padding: clamp(2rem, 5vw, 5rem);
  overflow: hidden;
  color: var(--white);
  border-radius: 1.5rem;
  background:
    radial-gradient(circle at 20% 80%, rgba(255, 113, 91, 0.22), transparent 35%),
    radial-gradient(circle at 90% 10%, rgba(73, 215, 207, 0.18), transparent 32%),
    var(--ink);
  box-shadow: var(--shadow);
}

.brand-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.06;
  background-image: linear-gradient(rgba(255, 255, 255, 0.5) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.5) 1px, transparent 1px);
  background-size: 4rem 4rem;
}

.brand-hero > * {
  position: relative;
  z-index: 1;
}

.brand-hero-mark {
  aspect-ratio: 4 / 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  padding: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.17);
  background: rgba(255, 255, 255, 0.045);
  transform: rotate(-3deg);
}

.brand-hero-mark img {
  width: 100%;
}

.brand-hero-mark span {
  padding: 0.7rem 0.9rem;
  border: 2px solid var(--coral);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.18em;
}

.brand-hero h2 {
  max-width: 12ch;
  margin: 0;
  font-size: clamp(2.8rem, 5vw, 5.6rem);
  line-height: 0.93;
  letter-spacing: -0.065em;
}

.brand-hero > div:last-child > p:last-child {
  max-width: 42rem;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.7;
}

.principles-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1rem;
  margin-top: 1rem;
}

.principles-grid article {
  grid-column: span 2;
  min-height: 15rem;
  padding: 1.5rem;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: var(--paper-bright);
}

.principles-grid article:nth-child(4),
.principles-grid article:nth-child(5) {
  grid-column: span 3;
}

.principles-grid span {
  color: var(--coral-dark);
  font-size: 0.62rem;
  font-weight: 850;
}

.principles-grid h3 {
  margin: 2.5rem 0 0.7rem;
  font-size: 1.3rem;
}

.principles-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.6;
}

.contact-block {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 4rem;
  align-items: center;
  margin-top: 1rem;
  padding: clamp(2rem, 5vw, 5rem);
  border-radius: 1.2rem;
  background: #82bebb;
}

.contact-block-copy h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 4.2rem);
  line-height: 0.98;
  letter-spacing: -0.06em;
}

.contact-block-copy > p:last-child {
  color: rgba(7, 23, 25, 0.68);
  line-height: 1.65;
}

.contact-person {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: center;
  padding: 1.5rem;
  border: 1px solid rgba(7, 23, 25, 0.14);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.38);
}

.contact-avatar {
  display: grid;
  width: 3.5rem;
  height: 3.5rem;
  place-items: center;
  color: var(--white);
  border-radius: 50%;
  background: var(--ink);
  font-size: 0.72rem;
  font-weight: 850;
}

.contact-person > div:nth-child(2) strong,
.contact-person > div:nth-child(2) span {
  display: block;
}

.contact-person > div:nth-child(2) span {
  margin-top: 0.2rem;
  color: rgba(7, 23, 25, 0.56);
  font-size: 0.72rem;
}

.contact-action {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 3rem;
  padding: 0.7rem;
  border: 1px solid rgba(7, 23, 25, 0.17);
  border-radius: 0.7rem;
  font-size: 0.72rem;
  font-weight: 750;
}

.contact-action.is-primary {
  color: var(--white);
  border-color: var(--ink);
  background: var(--ink);
}

/* Not found */

.not-found {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  text-align: center;
}

.not-found > img { width: 11rem; }
.not-found > strong { margin-top: 4rem; color: var(--coral-dark); font-size: 1rem; letter-spacing: 0.15em; }
.not-found h1 { max-width: 16ch; margin: 0.7rem 0 2rem; font-size: clamp(2.5rem, 6vw, 5rem); line-height: 1; letter-spacing: -0.06em; }

/* Turbo states */

turbo-frame[busy] {
  opacity: 0.64;
  transition: opacity 120ms ease;
}

html.turbo-progress-bar::before,
.turbo-progress-bar {
  height: 3px !important;
  background-color: var(--coral) !important;
}

@media (max-width: 1180px) {
  :root { --sidebar-width: 17.5rem; }
  .formats-grid { grid-template-columns: repeat(2, 1fr); }
  .formats-grid article { min-height: 20rem; }
  .mockup-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mockup-card.is-wide { grid-column: span 1; aspect-ratio: 4 / 4.4; }
}

@media (min-width: 901px) {
  .home-hero-content {
    padding-top: clamp(5.5rem, 14vh, 9rem);
    padding-bottom: clamp(4rem, 10vh, 8rem);
    padding-top: clamp(5.5rem, 14svh, 9rem);
    padding-bottom: clamp(4rem, 10svh, 8rem);
  }

  .home-hero h1 {
    font-size: clamp(3rem, min(7.2vw, 11.5vh), 7.4rem);
    font-size: clamp(3rem, min(7.2vw, 11.5svh), 7.4rem);
  }
}

@media (max-width: 900px) {
  body.page-portal { overflow: hidden; }
  .portal-sidebar {
    width: min(86vw, 19rem);
    transform: translateX(-105%);
    box-shadow: 2rem 0 4rem rgba(7, 23, 25, 0.35);
  }
  .portal-sidebar.is-open { transform: translateX(0); }
  .portal-sidebar-head { min-height: 3.5rem; }
  .portal-close { display: grid; top: 0.4rem; right: 0.65rem; }
  .portal-main { margin-left: 0; padding-top: 4rem; }
  .portal-mobile-head {
    position: fixed;
    z-index: 40;
    top: 0;
    left: 0;
    right: 0;
    height: 4rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 1rem;
    border-bottom: 1px solid var(--line);
    background: rgba(245, 242, 233, 0.93);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
  }
  .portal-mobile-head img { width: 7.5rem; }
  .portal-mobile-head > a { font-size: 0.65rem; font-weight: 850; }
  .portal-frame { height: calc(100dvh - 4rem); }
  .login-shell { grid-template-columns: 1fr; }
  .login-visual { min-height: 55vh; }
  .login-panel { min-height: 45rem; }
  .login-message h1 { font-size: clamp(2.8rem, 10vw, 5.5rem); }
  .home-story { grid-template-columns: 1fr; }
  .story-visual { min-height: 34rem; }
  .partner-invite { margin-top: 0; }
  .showcase-heading { grid-template-columns: 1fr; }
  .showcase-heading > p { margin: 0; }
  .showcase-card-3 { grid-column: 3 / span 8; }
  .hero-metrics { right: 1.25rem; left: 1.25rem; justify-content: stretch; }
  .hero-metric { width: auto; flex: 1; }
  .audience-block,
  .distribution-block,
  .brand-hero,
  .contact-block { grid-template-columns: 1fr; }
  .brand-hero-mark { width: min(19rem, 70vw); justify-self: center; }
  .metric-grid { grid-template-columns: repeat(2, 1fr); }
  .metric-grid article:nth-child(3) { border-left: 0; border-top: 1px solid var(--line); }
  .metric-grid article:nth-child(4) { border-top: 1px solid var(--line); }
  .measure-specs { grid-template-columns: 1fr; }
  .production-rules { grid-template-columns: 1fr; }
  .artwork-preview-grid { grid-template-columns: 1fr; }
  .principles-grid article,
  .principles-grid article:nth-child(4),
  .principles-grid article:nth-child(5) { grid-column: span 3; }
  .presentation-slide-copy { width: 78%; }
}

@media (max-width: 680px) {
  .public-header { padding: 1rem; }
  .brand-link img { width: 8.5rem; }
  .portal-pill span { display: none; }
  .portal-pill { width: 2.8rem; padding: 0; }
  .home-hero-content { padding-top: 7.5rem; padding-bottom: 14rem; }
  .home-hero h1 { font-size: clamp(3rem, 15.5vw, 5.2rem); }
  .home-intro { font-size: 0.92rem; }
  .home-cta-row { flex-direction: column; align-items: stretch; }
  .hero-metrics { bottom: 1rem; }
  .hero-metric { padding: 0.8rem; }
  .hero-metric strong { font-size: 1.1rem; }
  .hero-metric span { font-size: 0.55rem; }
  .scroll-cue { display: none; }
  .home-story { padding-block: 5rem; }
  .story-visual { min-height: 28rem; }
  .partner-invite { grid-template-columns: 1fr; }
  .home-showcase { padding-block: 5rem; }
  .showcase-grid { grid-template-columns: 1fr; }
  .showcase-card-1,
  .showcase-card-2,
  .showcase-card-3 {
    grid-column: 1;
    margin-top: 0;
    aspect-ratio: 4 / 3;
  }
  .public-footer { grid-template-columns: 1fr; text-align: center; justify-items: center; }
  .public-footer > div { flex-direction: column; justify-content: center; gap: 0.4rem; }
  .login-visual { min-height: 36rem; }
  .login-brand-row { top: 1.2rem; right: 1.2rem; left: 1.2rem; }
  .login-message { bottom: 5rem; left: 1.4rem; right: 1.4rem; }
  .login-kit-badge { right: 1.2rem; bottom: 1.2rem; }
  .login-panel { min-height: 39rem; padding: 3rem 1.4rem 1.2rem; }
  .partner-welcome-content { width: calc(100% - 2.4rem); margin: 0 1.2rem 3rem; }
  .partner-welcome-content > img { margin-bottom: 4rem; }
  .partner-welcome-content h1 { font-size: clamp(3.2rem, 16vw, 5rem); }
  .portal-section { padding: 2rem 1rem 4rem; }
  .section-heading h1 { font-size: 2.7rem; }
  .split-heading { grid-template-columns: 1fr; gap: 0.8rem; }
  .context-chip { justify-self: start; }
  .presentation-stage { aspect-ratio: 9 / 13; }
  .presentation-slide-copy { width: 100%; justify-content: flex-end; padding: 4rem 1.5rem 4.5rem; }
  .presentation-slide-copy h2 { max-width: 13ch; font-size: clamp(2.2rem, 10vw, 3.6rem); }
  .presentation-slide-shade { background: linear-gradient(0deg, rgba(5, 18, 20, 0.98) 0%, rgba(5, 18, 20, 0.58) 62%, rgba(5, 18, 20, 0.2) 100%); }
  .presentation-wordmark { top: 1.2rem; right: 1.2rem; }
  .presentation-slide-number { top: 1.4rem; left: 1.5rem; }
  .presentation-controls { padding-inline: 0.65rem; }
  .presentation-timeline { margin-inline: 0.3rem; }
  .kit-hero { min-height: 33rem; }
  .kit-hero-copy strong { font-size: 2.9rem; }
  .kit-metrics { width: calc(100% - 1rem); }
  .metric-grid { grid-template-columns: 1fr; }
  .metric-grid article + article,
  .metric-grid article:nth-child(3) { border-left: 0; border-top: 1px solid var(--line); }
  .metric-grid article { min-height: 7rem; }
  .journey-grid { grid-template-columns: 1fr; }
  .formats-block > header { align-items: start; flex-direction: column; gap: 0.5rem; }
  .formats-grid { grid-template-columns: 1fr; }
  .map-overview { grid-template-columns: 1fr; padding: 1.4rem; }
  .measure-image { height: 21rem; }
  .production-rules ol { grid-template-columns: 1fr; }
  .artwork-preview-notice { grid-template-columns: 1fr; }
  .artwork-preview-notice-mark { width: 4.5rem; }
  .artwork-preview-copy { padding: 1.3rem; }
  .artwork-preview-copy > p { min-height: 0; }
  .artwork-preview-actions { flex-direction: column; }
  .artwork-preview-actions .button { width: 100%; }
  .mockup-grid { grid-template-columns: 1fr; }
  .mockup-card,
  .mockup-card.is-wide { aspect-ratio: 4 / 4.6; }
  .gallery-overlay { padding: 1rem 0.7rem 5.5rem; }
  .gallery-overlay figure { width: 100%; }
  .gallery-close { top: 0.8rem; right: 0.8rem; }
  .gallery-arrow { top: auto; bottom: 0.8rem; transform: none; }
  .gallery-arrow-left { left: calc(50% - 4rem); }
  .gallery-arrow-right { right: calc(50% - 4rem); }
  .brand-hero { padding: 2rem 1.3rem; }
  .brand-hero h2 { font-size: 3.2rem; }
  .principles-grid { grid-template-columns: 1fr; }
  .principles-grid article,
  .principles-grid article:nth-child(4),
  .principles-grid article:nth-child(5) { grid-column: span 1; min-height: 12rem; }
  .contact-block { padding: 2rem 1.3rem; }
  .contact-person { grid-template-columns: auto 1fr; }
  .contact-action { grid-column: 1 / -1; }
}

@media (max-width: 900px) {
  .front-cover-scope,
  .brand-resources-heading,
  .brand-resource-grid,
  .brand-principles-heading {
    grid-template-columns: 1fr;
  }

  .front-cover-scope-mark {
    min-height: 6rem;
    flex-direction: row;
    align-items: center;
  }

  .brand-resources-heading,
  .brand-principles-heading {
    gap: 1rem;
  }

  .brand-resources-heading h2,
  .brand-principles-heading h2 {
    max-width: 19ch;
  }

  .brand-tools {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: none;
  }
}

@media (max-width: 680px) {
  .front-cover-scope {
    gap: 1rem;
    padding: 1rem;
  }

  .front-cover-scope-mark {
    min-height: 0;
    padding: 1rem;
  }

  .front-cover-scope h1 {
    font-size: 1.9rem;
  }

  .front-cover-scope p {
    font-size: 0.8rem;
  }

  .brand-resources {
    padding: 1rem;
  }

  .brand-resources-heading h2,
  .brand-principles-heading h2 {
    font-size: 2.25rem;
  }

  .brand-tools {
    grid-template-columns: 1fr;
  }

  .brand-resource-copy,
  .brand-tool-card {
    padding: 1.2rem;
  }

  .brand-resource-actions {
    flex-direction: column;
  }

  .brand-resource-actions .button,
  .brand-tool-card .button {
    width: 100%;
  }

  .brand-sample-image > span {
    right: 0.7rem;
    bottom: 0.7rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
  .home-video { display: none; }
  .home-hero { background: var(--ink) url('/assets/images/touristar-hero-poster.webp') center / cover no-repeat; }
}

@supports not (aspect-ratio: 16 / 9) {
  .presentation-stage { height: 0; padding-bottom: 53.75%; }
  .mockup-card { height: 25rem; }
  .showcase-card { height: 24rem; }
  .map-overview-art { min-height: 20rem; }
}


/* Mobile safe-area resilience. The document opts into viewport-fit=cover, so
   interactive chrome and copy must stay clear of notches / home indicators. */
@supports (padding: env(safe-area-inset-top)) {
  @media (max-width: 900px) {
    .portal-mobile-head {
      height: calc(4rem + env(safe-area-inset-top));
      padding-top: env(safe-area-inset-top);
      padding-right: calc(1rem + env(safe-area-inset-right));
      padding-left: calc(1rem + env(safe-area-inset-left));
    }

    .portal-main {
      padding-top: calc(4rem + env(safe-area-inset-top));
    }

    .portal-frame {
      height: calc(100dvh - 4rem - env(safe-area-inset-top));
    }

    .portal-sidebar-head {
      min-height: calc(3.5rem + env(safe-area-inset-top));
    }

    .portal-close {
      top: calc(0.4rem + env(safe-area-inset-top));
      right: calc(0.65rem + env(safe-area-inset-right));
    }

    .portal-nav {
      padding-right: calc(0.85rem + env(safe-area-inset-right));
      padding-left: calc(0.85rem + env(safe-area-inset-left));
    }

    .portal-sidebar-foot {
      padding-right: calc(1.25rem + env(safe-area-inset-right));
      padding-bottom: calc(1.4rem + env(safe-area-inset-bottom));
      padding-left: calc(1.25rem + env(safe-area-inset-left));
    }

    .portal-section {
      padding-right: calc(clamp(1.25rem, 4vw, 4.5rem) + env(safe-area-inset-right));
      padding-left: calc(clamp(1.25rem, 4vw, 4.5rem) + env(safe-area-inset-left));
    }
  }

  @media (max-width: 680px) {
    .public-header {
      padding-top: calc(1rem + env(safe-area-inset-top));
      padding-right: calc(1rem + env(safe-area-inset-right));
      padding-bottom: 1rem;
      padding-left: calc(1rem + env(safe-area-inset-left));
    }

    .public-header.is-condensed {
      padding-top: calc(0.9rem + env(safe-area-inset-top));
      padding-right: calc(1rem + env(safe-area-inset-right));
      padding-bottom: 0.9rem;
      padding-left: calc(1rem + env(safe-area-inset-left));
    }

    .home-hero-content {
      width: calc(100% - 2.5rem - env(safe-area-inset-left) - env(safe-area-inset-right));
      margin-right: calc(1.25rem + env(safe-area-inset-right));
      margin-left: calc(1.25rem + env(safe-area-inset-left));
      padding-top: calc(7.5rem + env(safe-area-inset-top));
      padding-bottom: calc(14rem + env(safe-area-inset-bottom));
    }

    .hero-metrics {
      bottom: calc(1rem + env(safe-area-inset-bottom));
      right: calc(1.25rem + env(safe-area-inset-right));
      left: calc(1.25rem + env(safe-area-inset-left));
    }

    .login-brand-row {
      top: calc(1.2rem + env(safe-area-inset-top));
      right: calc(1.2rem + env(safe-area-inset-right));
      left: calc(1.2rem + env(safe-area-inset-left));
    }

    .login-message {
      right: calc(1.4rem + env(safe-area-inset-right));
      left: calc(1.4rem + env(safe-area-inset-left));
    }

    .login-kit-badge {
      right: calc(1.2rem + env(safe-area-inset-right));
      bottom: calc(1.2rem + env(safe-area-inset-bottom));
    }

    .login-panel {
      padding-right: calc(1.4rem + env(safe-area-inset-right));
      padding-bottom: calc(1.2rem + env(safe-area-inset-bottom));
      padding-left: calc(1.4rem + env(safe-area-inset-left));
    }

    .partner-welcome-content {
      width: calc(100% - 2.4rem - env(safe-area-inset-left) - env(safe-area-inset-right));
      margin-right: calc(1.2rem + env(safe-area-inset-right));
      margin-bottom: calc(3rem + env(safe-area-inset-bottom));
      margin-left: calc(1.2rem + env(safe-area-inset-left));
    }

    .portal-section {
      padding-right: calc(1rem + env(safe-area-inset-right));
      padding-left: calc(1rem + env(safe-area-inset-left));
    }

    .gallery-overlay {
      padding-right: calc(0.7rem + env(safe-area-inset-right));
      padding-bottom: calc(5.5rem + env(safe-area-inset-bottom));
      padding-left: calc(0.7rem + env(safe-area-inset-left));
    }

    .gallery-close {
      top: calc(0.8rem + env(safe-area-inset-top));
      right: calc(0.8rem + env(safe-area-inset-right));
    }

    .gallery-arrow {
      bottom: calc(0.8rem + env(safe-area-inset-bottom));
    }

    .public-footer {
      padding-right: calc(clamp(1.25rem, 5vw, 5rem) + env(safe-area-inset-right));
      padding-bottom: calc(2rem + env(safe-area-inset-bottom));
      padding-left: calc(clamp(1.25rem, 5vw, 5rem) + env(safe-area-inset-left));
    }
  }
}
