/* ─────────────────────────────────────────────────────────────────────────
   John Anthony Savoca · Selling Long Island — homepage concept
   Standalone page (no ideahits shell). Coastal, editorial, unhurried.
   Motion is driven by GSAP ScrollTrigger + Lenis in the component; CSS here
   only sets the resting state, so the page is complete without JavaScript.
   ───────────────────────────────────────────────────────────────────────── */

.sli {
  --navy: #1b3a63;
  --sea: #1f5f8b;
  --sky: #7fa9d3;
  --mist: #e7eef5;
  --sand: #f3ede3;
  --foam: #fbf9f5;
  --ink: #1c2633;
  --slate: #46525f;
  --stone: #6b7280;
  --line: rgba(27, 58, 99, 0.14);
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Jost", "Helvetica Neue", Arial, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --head-h: 92px;
  --ih-type-hero: clamp(2.9rem, 1.9rem + 3.8vw, 5.6rem);
  --ih-type-section: clamp(2.2rem, 1.6rem + 2.4vw, 4.2rem);
  --ih-type-card: clamp(1.5rem, 1.3rem + 0.6vw, 1.9rem);
  position: relative;
  min-height: 100vh;
  margin: 0;
  background: var(--navy);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

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

/* Resets at zero specificity (:where), so any class rule below wins over them. */
.sli :where(h1, h2, h3, p, ul, ol, figure, blockquote) {
  margin: 0;
}

.sli :where(ul, ol) {
  padding: 0;
  list-style: none;
}

.sli :where(img, video) {
  display: block;
  max-width: 100%;
  height: auto;
}

.sli :where(a) {
  text-decoration: none;
}

.sli :where(a:not(.sli-btn)) {
  color: inherit;
}

.sli :focus-visible {
  outline: 2px solid var(--sky);
  outline-offset: 4px;
}

.sli-wrap {
  width: min(1320px, 100% - 48px);
  margin: 0 auto;
}

/* Everything above the footer; the footer is revealed from underneath it. */
.sli-main {
  position: relative;
  z-index: 1;
  background: var(--foam);
  box-shadow: 0 40px 80px -30px rgba(10, 24, 44, 0.5);
}

/* Film grain over everything, very faint. */
.sli-grain {
  position: fixed;
  inset: 0;
  z-index: 60;
  pointer-events: none;
  opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
}

/* Scroll progress, a hairline at the very top. */
.sli-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 52;
  width: 100%;
  height: 2px;
  background: var(--sky);
  transform-origin: left;
  transform: scaleX(0);
  pointer-events: none;
}

/* Custom cursor: a small dot that grows over links. Pointer devices only. */
.sli-cursor {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 70;
  width: 12px;
  height: 12px;
  margin: -6px 0 0 -6px;
  border-radius: 50%;
  background: #fff;
  mix-blend-mode: difference;
  pointer-events: none;
  opacity: 0;
  transform: translate3d(-100px, -100px, 0);
}

@media (hover: none), (pointer: coarse) {
  .sli-cursor {
    display: none;
  }
}

/* ── Header ─────────────────────────────────────────────────────────── */

.sli-head {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: var(--head-h);
  padding: 0 clamp(20px, 3.5vw, 56px);
  color: #fff;
  transition: background 0.5s ease, height 0.5s var(--ease), color 0.4s ease, box-shadow 0.5s ease, transform 0.6s var(--ease);
}

.sli-head.is-solid {
  height: 72px;
  background: rgba(251, 249, 245, 0.9);
  color: var(--navy);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--line);
}

.sli-head.is-ink {
  color: var(--navy);
}

.is-ink .sli-brand img:first-child {
  opacity: 0;
}

.is-ink .sli-brand img + img {
  opacity: 1;
}

.sli-head.is-ink .sli-btn-light {
  background: var(--navy);
  color: #fff;
  --fill: var(--sea);
}

/* Hidden while the scroll dives through the letters. */
.sli-head.is-diving {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0s linear 0.3s;
}

.sli-head.is-hidden {
  transform: translateY(-105%) !important;
}

.sli-brand {
  display: inline-flex;
  position: relative;
  height: 40px;
}

.sli-brand img {
  height: 100%;
  width: auto;
  transition: opacity 0.4s ease;
}

.sli-brand img + img {
  position: absolute;
  inset: 0;
  opacity: 0;
}

.is-solid .sli-brand img:first-child {
  opacity: 0;
}

.is-solid .sli-brand img + img {
  opacity: 1;
}

.sli-nav {
  display: flex;
  align-items: center;
  gap: clamp(20px, 2.6vw, 40px);
}

.sli-nav a:not(.sli-btn) {
  position: relative;
  padding: 6px 0;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.sli-nav a:not(.sli-btn)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.45s var(--ease);
}

.sli-nav a:not(.sli-btn):hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.sli-menu-btn {
  display: none;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  border: 0;
  background: none;
  color: inherit;
  font: 500 0.78rem/1 var(--sans);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  cursor: pointer;
}

.sli-menu-btn i {
  display: block;
  width: 22px;
  height: 1.5px;
  background: currentColor;
  box-shadow: 0 -6px 0 currentColor, 0 6px 0 currentColor;
}

/* Full-screen phone menu */
.sli-sheet {
  position: fixed;
  inset: 0;
  z-index: 55;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 110px clamp(24px, 6vw, 48px) 40px;
  background: var(--navy);
  color: #fff;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4%);
  transition: opacity 0.5s var(--ease), transform 0.6s var(--ease), visibility 0s linear 0.6s;
}

.sli-sheet.is-open {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition: opacity 0.5s var(--ease), transform 0.6s var(--ease);
}

.sli-sheet nav {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.sli-sheet nav a {
  font-family: var(--serif);
  font-size: clamp(2.6rem, 10vw, 4rem);
  font-weight: 500;
  line-height: 1.15;
}

.sli-sheet-close {
  position: absolute;
  top: 24px;
  right: clamp(20px, 3.5vw, 56px);
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  background: none;
  color: #fff;
  font: 300 1.4rem/1 var(--sans);
  cursor: pointer;
}

/* ── Buttons ────────────────────────────────────────────────────────── */

.sli-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  padding: 0 30px;
  border: 1.5px solid transparent;
  border-radius: 999px;
  overflow: hidden;
  font-family: var(--sans);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
  cursor: pointer;
  isolation: isolate;
  transition: color 0.4s ease, border-color 0.4s ease;
}

.sli-btn::before {
  content: "";
  position: absolute;
  inset: -2px;
  z-index: -1;
  border-radius: inherit;
  background: var(--fill, var(--navy));
  transform: translateY(101%);
  transition: transform 0.5s var(--ease);
}

.sli-btn:hover::before {
  transform: none;
}

.sli-btn-light {
  background: #fff;
  color: var(--navy);
  --fill: var(--navy);
}

.sli-btn-light:hover {
  color: #fff;
}

.sli-btn-ghost {
  border-color: rgba(255, 255, 255, 0.7);
  color: #fff;
  --fill: #fff;
}

.sli-btn-ghost:hover {
  color: var(--navy);
  border-color: #fff;
}

.sli-btn-navy {
  background: var(--navy);
  color: #fff;
  --fill: var(--sea);
}

.sli-btn-outline {
  border-color: var(--navy);
  color: var(--navy);
  --fill: var(--navy);
}

.sli-btn-outline:hover {
  color: #fff;
}

.sli-head.is-solid .sli-btn-light {
  background: var(--navy);
  color: #fff;
  --fill: var(--sea);
}

/* ── Opening: the film plays inside the letters ─────────────────────── */

.sli-film {
  position: relative;
  height: 100svh;
  min-height: 600px;
  overflow: hidden;
  background: var(--navy);
  color: #fff;
  isolation: isolate;
}

.sli-film-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.sli-film-move {
  position: absolute;
  inset: -3%;
  will-change: transform;
}

.sli-film-poster,
.sli-film-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sli-film-canvas {
  display: none;
  opacity: 0;
  transition: opacity 0.6s ease;
}

.sli.is-motion .sli-film-canvas {
  display: block;
}

.sli-film-canvas.is-on {
  opacity: 1;
}

/* Ring drawn around the cursor lens. */
.sli-film-lens {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 4;
  width: 0;
  height: 0;
  margin: 0;
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: 50%;
  box-shadow: 0 0 0 1px rgba(27, 58, 99, 0.25), 0 20px 60px -20px rgba(18, 36, 64, 0.6);
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
}

.sli-film-shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(to top, rgba(18, 36, 64, 0.86) 0%, rgba(18, 36, 64, 0.22) 52%, rgba(18, 36, 64, 0.38) 100%),
    linear-gradient(to right, rgba(18, 36, 64, 0.45), transparent 65%);
}

/* Darkens the film only while it is seen through the letters. */
.sli-film-tint {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: none;
  background: rgba(18, 36, 64, 0.42);
}

.sli.is-motion .sli-film-tint {
  display: block;
}

.sli-film-content {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 120px 0 clamp(44px, 8vh, 100px);
}

.sli-kicker {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: #cfe1f3;
}

.sli-kicker::before {
  content: "";
  width: 40px;
  height: 1px;
  background: currentColor;
  opacity: 0.7;
}

.sli-display {
  margin-top: 22px;
  max-width: 12em;
  font-family: var(--serif);
  font-size:var(--ih-type-hero);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.015em;
  color: #fff;
  text-wrap: balance;
}

.sli-display em {
  font-style: italic;
  font-weight: 400;
  color: #d7e6f5;
}

.sli-film-copy {
  margin-top: 26px;
  max-width: 36em;
  font-size: clamp(1rem, 0.94rem + 0.35vw, 1.2rem);
  font-weight: 300;
  line-height: 1.6;
  color: #eaf2fa;
}

.sli-film-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

/* The cream sheet with the letters cut out is drawn on .sli-film-sheet; this
   DOM copy of the type is invisible and only provides layout and timing. */
.sli-film-sheet {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: none;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.sli.is-motion .sli-film-sheet {
  display: block;
}

.sli-film-mask {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: none;
  align-items: center;
  justify-content: center;
  visibility: hidden;
  pointer-events: none;
}

.sli.is-motion .sli-film-mask {
  display: flex;
}

.sli-film-type {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #000;
  font-family: var(--serif);
  font-weight: 700;
  text-transform: uppercase;
  line-height: 0.8;
  letter-spacing: -0.02em;
}

.sli-fit {
  display: block;
  white-space: nowrap;
  font-size: 19vw;
}

.sli-fit-wide {
  font-size: 12.6vw;
}

.sli-fit-narrow {
  display: none;
}

.sli-film-labels {
  position: absolute;
  inset: 0;
  z-index: 4;
  display: none;
  pointer-events: none;
  color: var(--navy);
}

.sli.is-motion .sli-film-labels {
  display: block;
}

.sli-film-labels > * {
  position: absolute;
  bottom: clamp(24px, 4vh, 44px);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.sli-film-labels .sli-label-left {
  left: clamp(20px, 3.5vw, 56px);
}

.sli-film-labels .sli-label-right {
  right: clamp(20px, 3.5vw, 56px);
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.sli-film-labels .sli-label-right i {
  position: relative;
  display: block;
  width: 56px;
  height: 1px;
  overflow: hidden;
  background: rgba(27, 58, 99, 0.25);
}

.sli-film-labels .sli-label-right i::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--navy);
  transform: translateX(-100%);
  animation: sli-sweep 2.2s var(--ease) infinite;
}

@keyframes sli-sweep {
  to {
    transform: translateX(100%);
  }
}

/* ── Island: the map draws itself west to east ──────────────────────── */

.sli-island {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: clamp(36px, 6vh, 72px);
  padding: clamp(100px, 13vh, 150px) 0 clamp(56px, 8vh, 96px);
  overflow: hidden;
  background: var(--navy);
  color: #fff;
}

.sli-island::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 55%;
  width: 120vw;
  height: 60vw;
  transform: translate(-50%, -50%);
  background: radial-gradient(closest-side, rgba(127, 169, 211, 0.16), transparent 70%);
  pointer-events: none;
}

.sli-island-head {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
}

.sli-island .sli-eyebrow {
  color: #9cc2e5;
}

.sli-island .sli-h2 {
  color: #fff;
}

.sli-island .sli-h2 em {
  color: #cfe1f3;
}

.sli-island-head > p {
  max-width: 26em;
  font-size: 1.02rem;
  line-height: 1.7;
  color: #cfe1f3;
}

.sli-island-map {
  position: relative;
  width: min(1180px, 100% - 48px);
  margin: 0 auto;
  aspect-ratio: 991 / 265;
}

.sli-island-map img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.sli-island-ghost {
  opacity: 0.12;
}

.sli-island-draw {
  position: absolute;
  inset: 0;
}

.sli-island-front {
  position: absolute;
  top: -14%;
  bottom: -14%;
  left: 100%;
  width: 1px;
  background: linear-gradient(transparent, var(--sky), transparent);
  opacity: 0;
}

.sli-pin {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: 0;
  height: 0;
}

.sli-pin i {
  position: absolute;
  left: -6px;
  top: -6px;
  width: 12px;
  height: 12px;
  border: 2.5px solid var(--navy);
  border-radius: 50%;
  background: var(--sky);
  box-shadow: 0 0 0 5px rgba(127, 169, 211, 0.4);
}

.sli-pin span {
  position: absolute;
  left: 0;
  transform: translateX(-50%);
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--navy);
  white-space: nowrap;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fff;
  box-shadow: 0 6px 18px -8px rgba(0, 0, 0, 0.5);
}

.sli-pin.is-n span {
  bottom: 14px;
}

.sli-pin.is-s span {
  top: 14px;
}

.sli-pin.is-end span {
  left: auto;
  right: -8px;
  transform: none;
}

.sli-island-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
}

.sli-miles {
  font-family: var(--serif);
  font-size: clamp(3.4rem, 2rem + 5vw, 7rem);
  font-weight: 500;
  line-height: 0.9;
  letter-spacing: -0.03em;
  color: #fff;
}

.sli-miles small {
  display: block;
  margin-top: 12px;
  font-family: var(--sans);
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #9cc2e5;
}

.sli-island-foot .sli-btn {
  margin-bottom: 6px;
}

/* SplitText line masks clip descenders; give each mask a little room below. */
.sli .sli-line-mask,
.sli [class*="-mask"] {
  padding-bottom: 0.16em;
  margin-bottom: -0.16em;
}

/* ── Shared section furniture ───────────────────────────────────────── */

.sli-block {
  padding: clamp(88px, 11vw, 150px) 0;
}

.sli-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--sea);
}

.sli-eyebrow::before {
  content: "";
  width: 32px;
  height: 1px;
  background: currentColor;
}

.sli-h2 {
  margin-top: 22px;
  font-family: var(--serif);
  font-size:var(--ih-type-section);
  font-weight: 500;
  line-height: 1.04;
  letter-spacing: -0.015em;
  color: var(--navy);
}

.sli-h2 em {
  font-style: italic;
  font-weight: 400;
  color: var(--sea);
}

.sli-h3 {
  font-family: var(--serif);
  font-size:var(--ih-type-card);
  font-weight: 600;
  line-height: 1.15;
  color: var(--navy);
}

.sli-copy {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--slate);
}

.sli-copy + .sli-copy {
  margin-top: 1em;
}

.sli-two {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}

/* ── Statement over the aerial ──────────────────────────────────────── */

.sli-aerial {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: clamp(110px, 14vh, 160px) 0;
  background: var(--navy);
  isolation: isolate;
}

.sli-aerial-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.sli-aerial-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  will-change: transform;
}

.sli-aerial::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(ellipse at center, rgba(18, 36, 64, 0.5), rgba(18, 36, 64, 0.84));
}

.sli-aerial .sli-eyebrow {
  display: flex;
  justify-content: center;
  margin-bottom: 36px;
  color: #cfe1f3;
}

.sli-aerial .sli-eyebrow::before {
  display: none;
}

.sli-aerial-text {
  max-width: 19em;
  margin: 0 auto;
  font-family: var(--serif);
  font-size: clamp(1.9rem, 1.2rem + 3vw, 4.4rem);
  font-weight: 500;
  line-height: 1.18;
  letter-spacing: -0.012em;
  text-align: center;
  color: #fff;
  text-wrap: balance;
}

.sli-aerial-text .w {
  display: inline-block;
  margin-right: 0.26em;
}

.sli-aerial-text em {
  font-style: italic;
  font-weight: 400;
  color: #cfe1f3;
}

/* ── Journey: pinned horizontal panels ──────────────────────────────── */

.sli-journey {
  position: relative;
  overflow: hidden;
  background: var(--navy);
  color: #fff;
}

.sli-journey-head {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  width: min(1320px, 100% - 48px);
  margin: 0 auto;
  padding: clamp(80px, 9vw, 120px) 0 clamp(32px, 4vw, 56px);
}

.sli-journey-head .sli-eyebrow {
  color: #9cc2e5;
}

.sli-journey-head .sli-h2 {
  color: #fff;
}

.sli-journey-head .sli-h2 em {
  color: #cfe1f3;
}

.sli-journey-hint {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #9cc2e5;
}

.sli-journey-hint i {
  display: block;
  width: 56px;
  height: 1px;
  background: currentColor;
}

.sli-track {
  display: flex;
  gap: clamp(24px, 3vw, 48px);
  width: max-content;
  padding: 0 clamp(24px, calc((100vw - 1320px) / 2), 120px) clamp(80px, 9vw, 120px);
  will-change: transform;
}

.sli-panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(28px, 3vw, 56px);
  width: min(1040px, 82vw);
  padding: clamp(28px, 3vw, 44px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
}

.sli-panel-copy {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.sli-panel small {
  display: block;
  font-family: var(--serif);
  font-size: clamp(5rem, 4rem + 6vw, 11rem);
  font-weight: 400;
  line-height: 0.9;
  letter-spacing: -0.04em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(207, 225, 243, 0.7);
}

.sli-panel .sli-h3 {
  margin-top: 28px;
  font-size: clamp(1.9rem, 1.5rem + 1.4vw, 3rem);
  color: #fff;
}

.sli-panel p {
  margin-top: 16px;
  max-width: 30em;
  font-size: 1.02rem;
  line-height: 1.7;
  color: #cfe1f3;
}

.sli-panel-media {
  overflow: hidden;
  border-radius: 6px;
  aspect-ratio: 4 / 5;
  max-height: 62vh;
}

.sli-panel-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  will-change: transform;
}

/* ── Where we sell: sticky title, tiles that wipe in ────────────────── */

.sli-areas {
  background: var(--sand);
}

.sli-areas-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}

.sli-areas-sticky {
  position: sticky;
  top: 120px;
}

.sli-areas-sticky .sli-copy {
  margin-top: 24px;
  max-width: 28em;
}

.sli-tiles {
  display: flex;
  flex-direction: column;
  gap: clamp(24px, 3vw, 40px);
}

.sli-tile {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  background: var(--mist);
  aspect-ratio: 16 / 11;
}

.sli-tile:nth-child(2) {
  margin-left: 12%;
}

.sli-tile:nth-child(3) {
  margin-right: 12%;
}

.sli-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  will-change: transform;
}

.sli-tile figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 26px 28px 28px;
  color: #fff;
  background: linear-gradient(to top, rgba(18, 36, 64, 0.85), rgba(18, 36, 64, 0));
}

.sli-tile strong {
  display: block;
  font-family: var(--serif);
  font-size: clamp(1.8rem, 1.4rem + 1.2vw, 2.6rem);
  font-weight: 500;
  line-height: 1.1;
}

.sli-tile span {
  display: block;
  margin-top: 6px;
  font-size: 0.86rem;
  letter-spacing: 0.04em;
  color: #cfe1f3;
}

/* ── Valuation ──────────────────────────────────────────────────────── */

.sli-value {
  position: relative;
  background: var(--navy);
  color: #fff;
  overflow: hidden;
}

.sli-value-orb {
  position: absolute;
  right: -20%;
  top: -40%;
  width: 70vw;
  height: 70vw;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(127, 169, 211, 0.28), transparent 70%);
  pointer-events: none;
}

.sli-value .sli-eyebrow {
  color: #9cc2e5;
}

.sli-value .sli-h2 {
  color: #fff;
}

.sli-value .sli-h2 em {
  color: #cfe1f3;
}

.sli-value .sli-copy {
  color: #cfe1f3;
}

.sli-value ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 28px;
  font-size: 1rem;
  color: #eaf2fa;
}

.sli-value li {
  display: flex;
  align-items: center;
  gap: 14px;
}

.sli-value li::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--sky);
  flex: 0 0 auto;
}

.sli-form {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: clamp(28px, 3.5vw, 44px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(6px);
}

.sli-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.sli-field label {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #cfe1f3;
}

.sli-field input {
  height: 54px;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.07);
  color: #fff;
  font: 400 1rem var(--sans);
  transition: border-color 0.3s ease, background 0.3s ease;
}

.sli-field input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.sli-field input:focus {
  outline: none;
  border-color: var(--sky);
  background: rgba(255, 255, 255, 0.12);
}

.sli-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.sli-form small {
  font-size: 0.82rem;
  line-height: 1.5;
  color: #9cc2e5;
}

/* ── Sell / Buy: stacked cards ──────────────────────────────────────── */

.sli-paths {
  background: var(--foam);
}

.sli-paths-head {
  margin-bottom: clamp(40px, 5vw, 64px);
}

.sli-stack {
  display: flex;
  flex-direction: column;
  padding-bottom: 12vh;
}

.sli-stack .sli-path {
  margin-bottom: 36vh;
}

.sli-stack .sli-path:last-child {
  margin-bottom: 0;
}

.sli-path {
  position: sticky;
  top: 110px;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 40px 80px -50px rgba(27, 58, 99, 0.45);
  transform-origin: center top;
  will-change: transform;
}

.sli-path + .sli-path {
  top: 140px;
}

.sli-path-media {
  overflow: hidden;
  min-height: 420px;
}

.sli-path-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  will-change: transform;
}

.sli-path-body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 16px;
  padding: clamp(32px, 4vw, 64px);
}

.sli-path-body .sli-h3 {
  font-size: clamp(2rem, 1.6rem + 1.4vw, 3rem);
}

.sli-path-body p {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--slate);
  max-width: 30em;
}

.sli-path-body .sli-btn {
  margin-top: 12px;
}

/* ── About ──────────────────────────────────────────────────────────── */

.sli-about {
  background: #fff;
}

.sli-portrait {
  position: relative;
}

.sli-portrait-frame {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 8px;
  background: var(--mist);
}

.sli-portrait-frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 30%;
}

.sli-seal {
  position: absolute;
  right: -24px;
  bottom: -24px;
  width: clamp(150px, 16vw, 230px);
  padding: 14px;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 20px 50px -24px rgba(27, 58, 99, 0.5);
}

.sli-about-meta {
  margin-top: 22px;
  font-size: 0.92rem;
  color: var(--stone);
}

.sli-about-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

/* ── Reviews ────────────────────────────────────────────────────────── */

.sli-reviews {
  overflow: hidden;
  background: var(--foam);
}

.sli-reviews-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: clamp(40px, 5vw, 64px);
}

.sli-reviews-head .sli-h2 {
  max-width: 16em;
}

.sli-quotes {
  display: flex;
  gap: 24px;
  width: max-content;
  padding-left: max(24px, calc((100vw - 1320px) / 2));
  will-change: transform;
}

.sli-quote {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: min(440px, 80vw);
  padding: 36px 32px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
}

.sli-quote p {
  font-family: var(--serif);
  font-size: 1.45rem;
  font-weight: 500;
  line-height: 1.4;
  color: var(--ink);
}

.sli-quote footer {
  margin-top: auto;
  font-size: 0.88rem;
  color: var(--stone);
}

/* ── Contact ────────────────────────────────────────────────────────── */

.sli-contact {
  position: relative;
  overflow: hidden;
  background: var(--sea);
  color: #fff;
  isolation: isolate;
}

.sli-contact-bg {
  position: absolute;
  inset: -15% 0;
  z-index: -1;
  opacity: 0.16;
}

.sli-contact-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  will-change: transform;
}

.sli-contact-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: clamp(96px, 13vw, 170px) 0;
}

.sli-contact .sli-eyebrow {
  color: #cfe1f3;
}

.sli-contact .sli-h2 {
  max-width: 13em;
  color: #fff;
  font-size: clamp(2.6rem, 2rem + 3.4vw, 5.6rem);
}

.sli-contact .sli-h2 em {
  display: block;
  color: #cfe1f3;
}

.sli-contact .sli-copy {
  margin-top: 24px;
  max-width: 34em;
  color: #eaf2fa;
}

.sli-contact-cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 36px;
}

/* ── Footer: revealed from under the page ───────────────────────────── */

.sli-foot {
  position: sticky;
  bottom: 0;
  z-index: 0;
  padding: clamp(56px, 7vw, 88px) 0 40px;
  background: var(--navy);
  color: #cfe1f3;
}

.sli-foot-giant {
  width: 100%;
  margin-bottom: clamp(40px, 6vw, 80px);
  font-family: var(--serif);
  font-size: clamp(2.4rem, 1rem + 8.4vw, 10rem);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.03em;
  color: #fff;
  white-space: nowrap;
}

.sli-foot-giant em {
  font-style: italic;
  font-weight: 400;
  color: var(--sky);
}

.sli-foot-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.sli-foot-brand {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 24em;
}

.sli-foot-brand img {
  width: 260px;
}

.sli-foot-brand p {
  font-size: 0.92rem;
  line-height: 1.65;
}

.sli-foot-cols {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(40px, 6vw, 80px);
}

.sli-foot-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 0.92rem;
}

.sli-foot-col span:first-child {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #fff;
}

.sli-foot-col a:hover {
  color: #fff;
}

.sli-foot-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding-top: 28px;
  font-size: 0.8rem;
}

.sli-foot-bottom span:last-child {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

/* ── Responsive ─────────────────────────────────────────────────────── */

@media (max-width: 1000px) {
  .sli-two,
  .sli-areas-grid {
    grid-template-columns: 1fr;
  }

  .sli-areas-sticky {
    position: static;
  }

  .sli-tile:nth-child(2),
  .sli-tile:nth-child(3) {
    margin: 0;
  }

  .sli-track {
    flex-direction: column;
    width: auto;
    padding: 0 24px clamp(64px, 9vw, 120px);
  }

  .sli-panel {
    width: auto;
    grid-template-columns: 1fr;
  }

  .sli-panel-media {
    order: -1;
    aspect-ratio: 16 / 10;
    max-height: none;
  }

  .sli-path {
    position: relative;
    top: auto;
    grid-template-columns: 1fr;
  }

  .sli-path + .sli-path {
    top: auto;
  }

  .sli-stack {
    gap: 24px;
    padding-bottom: 0;
  }

  .sli-stack .sli-path {
    margin-bottom: 0;
  }

  .sli-path-media {
    min-height: 0;
    aspect-ratio: 16 / 10;
  }

  .sli-seal {
    right: 8px;
    bottom: -20px;
  }

  .sli-foot {
    position: relative;
  }
}

@media (max-width: 760px) {
  .sli-nav a:not(.sli-btn),
  .sli-nav .sli-btn {
    display: none;
  }

  .sli-menu-btn {
    display: inline-flex;
  }

  .sli-head {
    height: 76px;
  }

  .sli-brand {
    height: 32px;
  }

  .sli-form-row {
    grid-template-columns: 1fr;
  }

  .sli-film-cta .sli-btn {
    width: 100%;
  }


  .sli-fit-wide {
    display: none;
  }

  .sli-fit-narrow {
    display: block;
    font-size: 26vw;
  }

  .sli-film-labels .sli-label-left {
    display: none;
  }

  .sli-film-copy {
    font-size: 0.98rem;
  }

  .sli-pin.is-minor span {
    display: none;
  }

  .sli-pin span {
    padding: 4px 7px;
    font-size: 0.56rem;
    letter-spacing: 0.08em;
  }

  .sli-pin i {
    left: -5px;
    top: -5px;
    width: 10px;
    height: 10px;
    border-width: 2px;
  }

  .sli-island-map {
    width: calc(100% - 16px);
  }

  .sli-foot-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Static fallback (reduced motion): the film shows plainly, no type mask. */

@media (prefers-reduced-motion: reduce) {
  .sli *,
  .sli *::before,
  .sli *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .sli-cursor {
    display: none;
  }
}


/* ── WordPress additions ─────────────────────────────────────────── */

body {
  margin: 0;
}

/* Logged-in editors: keep the header below the admin bar. */
.admin-bar .sli-head {
  top: 32px;
}

@media (max-width: 782px) {
  .admin-bar .sli-head {
    top: 46px;
  }
}

/* Valuation form: spam trap and the sent / error note. */
.sli-form-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.sli-form-note {
  margin: 0;
  padding: 12px 16px;
  border-radius: 8px;
  background: rgba(127, 169, 211, 0.18);
  font-size: 0.92rem;
  line-height: 1.5;
}

.sli-form-note.is-error {
  background: rgba(214, 92, 72, 0.16);
}
