@import url('./page-transitions.css?v=c22513c1a18d');

@font-face {
  font-family: 'DM Sans';
  src: url('./assets/dm-sans-latin-wght-normal.woff2') format('woff2');
  font-style: normal;
  font-weight: 100 1000;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --entry-ground: #171717;
  --entry-gold: #d9bc84;
  --entry-ink: #f2eee7;
}

* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; background: var(--entry-ground); }
body { font-family: 'DM Sans', sans-serif; color: var(--entry-ink); }
::selection { color: #171717; background: var(--entry-gold); }

.sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.entry-skip {
  position: fixed;
  z-index: 20;
  inset: 1rem auto auto 1rem;
  padding: .65rem 1rem;
  transform: translateY(-200%);
  border-radius: .4rem;
  color: #151515;
  background: var(--entry-gold);
}

.entry-skip:focus { transform: none; }

.entry {
  position: relative;
  isolation: isolate;
  display: grid;
  justify-items: center;
  align-items: start;
  cursor: default;
  min-height: 100svh;
  padding: clamp(20px, 6.1svh, 72px) clamp(16px, 3.5vw, 55px) max(32px, 6svh);
  overflow: hidden;
}

.entry-world {
  position: absolute;
  z-index: -1;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  background: radial-gradient(ellipse at 16% 48%, #4b4b4b 0%, #252525 42%, #171717 82%);
}

.entry-world { --shore-position: 50% 50%; }

.entry-lakecrest-image,
.entry-film {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--shore-position);
}

.entry-film {
  opacity: 0;
  transition: opacity .14s ease-out;
}

.entry[data-scene-status="ready"] .entry-film { opacity: 1; }

.entry-composition {
  position: relative;
  width: clamp(634px, 64vw, 960px);
  max-width: 100%;
  text-align: center;
}

.entry-logo {
  display: block;
  position: relative;
  width: clamp(190px, 17.3vw, 274px);
  max-width: 88%;
  height: auto;
  margin: 0 auto;
}

.entry-connections {
  display: block;
  /* Account for the two 12px gaps so each branch ends over its button centre. */
  width: calc(88.889% + 10.667px);
  height: clamp(48px, 9.4svh, 88px);
  margin: 7px auto 0;
  overflow: visible;
  stroke-linecap: round;
}

.entry-route {
  fill: none;
  stroke: #ab9060;
  stroke-width: 1.05;
  vector-effect: non-scaling-stroke;
  opacity: .88;
  transition: opacity .24s, stroke .24s, stroke-width .24s;
}

.entry-orb {
  fill: #ecd1a0;
  stroke: #ecd1a0;
  stroke-width: 1.1;
  vector-effect: non-scaling-stroke;
  offset-path: var(--path);
  offset-distance: var(--rest);
  animation: entry-flow var(--speed, 8s) var(--delay, 0s) linear infinite;
  animation-direction: var(--direction, alternate);
  animation-play-state: paused;
  opacity: .82;
}

.entry[data-motion=running] .entry-orb { animation-play-state: running; }

@keyframes entry-flow {
  from { offset-distance: 0%; }
  to { offset-distance: 100%; }
}

.entry-options {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.entry-option {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(9px, 1.2vw, 17px);
  padding: .68rem clamp(12px, 1.65vw, 26px);
  min-height: clamp(58px, 7.9svh, 76px);
  border: 1px solid #9e8860;
  border-radius: 11px;
  background: linear-gradient(144deg, #302f2bf5, #222221fa 77%);
  box-shadow: inset 0 1px #e5d4ad08;
  cursor: pointer;
  color: var(--entry-ink);
  text-decoration: none;
  text-align: left;
  outline-offset: 3px;
  transition: color .16s ease, border-color .16s ease;
  -webkit-tap-highlight-color: rgb(217 188 132 / .16);
}

.entry-option-icon,
.entry-option-arrow {
  display: grid;
  place-items: center;
  color: var(--entry-gold);
}

.entry-option-icon svg,
.entry-option-arrow svg {
  display: block;
  width: 25px;
  height: 25px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.45;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.entry-option-arrow svg { width: 16px; height: 16px; }

.entry-option strong {
  font-size: clamp(1.13rem, 1.66vw, 1.625rem);
  font-weight: 460;
  line-height: 1.13;
  letter-spacing: -.026em;
  overflow-wrap: anywhere;
}

.entry-option-arrow { transition: transform .16s ease; }
.entry-option[data-current], .entry-option:focus-visible {
  color: #fff4dc;
  border-color: #eacb8b;
  background: linear-gradient(144deg, #443e31, #302e28 77%);
}
.entry-option:focus-visible { z-index: 1; outline: 2px solid #f2d597; }

@media (hover: hover) {
  .entry-option:hover { color: #fff4dc; border-color: #eacb8b; background: linear-gradient(144deg, #443e31, #302e28 77%); }
  .entry-option:hover .entry-option-arrow { transform: translateX(3px); }
}

.entry[data-role=contractor] .entry-route[data-route=contractor],
.entry[data-role=consultant] .entry-route[data-route=consultant],
.entry[data-role=developer] .entry-route[data-route=developer] {
  stroke: #edd09a;
  stroke-width: 1.6;
  opacity: 1;
}

@media (max-width: 680px) {
  .entry { padding-top: clamp(18px, 4.6svh, 43px); }
  .entry-composition { width: min(84vw, 350px); }
  .entry-logo { width: min(171px, 80%); margin-bottom: 20px; }
  .entry-connections { display: none; }
  .entry-options { grid-template-columns: 1fr; gap: 8px; }
  .entry-option { min-height: 49px; padding: .55rem 16px; gap: 16px; }
  .entry-option strong { font-size: 1.125rem; }
  .entry-option-icon svg { width: 21px; height: 21px; }
  .entry-option-arrow svg { width: 14px; height: 14px; }
  .entry-world { --shore-position: 75% center; }
}

/* Short compact viewports have room for both the roundabout and the villa street. */
@media (max-width: 680px) and (min-aspect-ratio: 1/1) {
  .entry-world { --shore-position: 55% center; }
}

@media (max-width: 360px) {
  .entry-composition { width: 100%; }
  .entry-option { gap: 10px; padding-inline: 12px; }
}

@media (max-height: 420px) and (min-width: 681px) {
  .entry { padding-top: 15px; padding-bottom: 24px; }
  .entry-logo { width: 161px; }
  .entry-connections { height: 40px; margin-top: 1px; }
  .entry-option { min-height: 46px; }
}

/* The plate and film share a 16:10 camera, with the horizon at 43% of the source height. */
@media (min-width: 681px) and (min-aspect-ratio: 8/5),
       (min-width: 520px) and (max-height: 360px) and (min-aspect-ratio: 2/1) {
  .entry {
    --scene-overscan: max(0px, calc(min(62.5vw, 146.875svh) - 100svh));
    padding-top: clamp(8px, calc(6.1svh - var(--scene-overscan) * .1), 72px);
  }
  .entry-world {
    /* Bring the foreground into frame. Hold the horizon near 29% once the window is wide enough. */
    --shore-position: center max(83%, calc(43% - 14svh));
  }
  .entry-composition { width: clamp(590px, min(64vw, 128svh), 960px); }
  .entry-logo { width: clamp(136px, min(17.3vw, 31svh), 274px); margin-bottom: 0; }
  .entry-connections {
    display: block;
    height: clamp(15px, calc(9.4svh - var(--scene-overscan) * .11), 88px);
    margin-top: clamp(2px, calc(7px - var(--scene-overscan) * .025), 7px);
  }
  .entry-options { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
  .entry-option {
    min-height: clamp(46px, 7.9svh, 76px);
    column-gap: clamp(8px, min(1.2vw, 2.2svh), 17px);
    padding-inline: clamp(10px, min(1.65vw, 3svh), 26px);
  }
  .entry-option strong { font-size: clamp(1.075rem, min(1.66vw, 3.4svh), 1.625rem); }
}

/* Beyond cinema width, extend the charcoal surround instead of enlarging the camera. */
@media (min-width: 681px) and (min-aspect-ratio: 47/20) {
  .entry-world {
    max-width: 235svh;
    margin-inline: auto;
    --edge-fade: clamp(0px, calc(50vw - 117.5svh), 5svh);
    mask-image: linear-gradient(to right, transparent, black var(--edge-fade), black calc(100% - var(--edge-fade)), transparent);
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .entry-option:hover,
  .entry-option:focus-visible,
  .entry-option[data-current],
  .entry-option-arrow { transform: none; }
}

@media (forced-colors: active) {
  .entry-world, .entry-connections { display: none; }
  .entry-option { color: LinkText; background: Canvas; border: 1px solid LinkText; }
  .entry-option-icon svg { stroke: LinkText; }
  .entry-option-arrow { color: LinkText; }
  .entry-option:focus-visible { outline-color: Highlight; }
  .entry-logo { forced-color-adjust: none; }
}
