:root {
  --navy: #00294c;
  --navy-deep: #00294c;
  --blue: #0058a1;
  --red: #ff0f00;
  --ink: #17191c;
  --muted: #666666;
  --line: #dbe2e8;
  --soft: #f2f6f9;
  --white: #ffffff;
  --max: 1240px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
}

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 100;
  padding: 0.7rem 1rem;
  color: var(--white);
  background: var(--navy);
  transform: translateY(-160%);
}

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

.text-link:hover,
.text-link:focus-visible,
footer a:hover,
footer a:focus-visible {
  color: var(--blue);
}

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.35rem;
  border: 2px solid var(--navy);
  background: var(--navy);
  color: var(--white);
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.button:hover {
  background: var(--blue);
  border-color: var(--blue);
  transform: translateY(-1px);
}

.button:focus-visible,
.gallery__item:focus-visible,
a:focus-visible {
  outline: 3px solid #ffbf47;
  outline-offset: 3px;
}

.button--outline {
  background: transparent;
  color: var(--navy);
}

.button--outline:hover {
  color: var(--white);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  min-height: 680px;
  background: var(--navy);
}

.hero__copy {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  overflow: hidden;
  padding: clamp(3.5rem, 6vw, 6rem) clamp(2rem, 5vw, 5rem);
  color: var(--white);
}

.hero__copy::after {
  content: "";
  position: absolute;
  z-index: -1;
  right: -120px;
  bottom: -150px;
  width: 360px;
  height: 360px;
  border: 70px solid rgba(0, 88, 161, 0.48);
  border-radius: 50%;
}

.rental-sticker {
  position: absolute;
  top: 2.1rem;
  right: 2.1rem;
  width: 116px;
  height: 116px;
  display: grid;
  place-items: center;
  border: 4px solid var(--white);
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 5px var(--red), 0 14px 28px rgba(0, 0, 0, 0.2);
  color: var(--white);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 1.15rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  line-height: 1;
  text-align: center;
  text-transform: uppercase;
  transform: rotate(7deg);
}

.eyebrow,
.section__label {
  display: inline-block;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  line-height: 1.3;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 680px;
  margin: 1.25rem 0 0;
  font-size: clamp(2.7rem, 4vw, 4.6rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
  hyphens: none;
  overflow-wrap: normal;
}

.address {
  margin: 1.5rem 0 0;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: clamp(1.15rem, 2vw, 1.5rem);
}

.hero__facts {
  width: 100%;
  max-width: 660px;
  margin: 2.75rem 0 2.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255,255,255,0.28);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.hero__facts span {
  display: block;
  color: rgba(255,255,255,0.7);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero__facts strong {
  display: block;
  margin-top: 0.25rem;
  font-size: 1.05rem;
  line-height: 1.3;
}

.hero__image {
  position: relative;
  min-height: 680px;
  margin: 0;
  background: var(--navy-deep);
}

.hero__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__image figcaption {
  position: absolute;
  right: 1.5rem;
  bottom: 1.5rem;
  padding: 0.55rem 0.8rem;
  background: rgba(0,41,76,0.88);
  color: var(--white);
  font-size: 0.82rem;
  font-weight: 700;
}

.section {
  width: min(var(--max), calc(100% - 3rem));
  margin: 0 auto;
  padding: clamp(4.5rem, 8vw, 8rem) 0;
}

.section__label {
  color: var(--blue);
}

.intro {
  display: grid;
  grid-template-columns: minmax(130px, 0.32fr) minmax(0, 1fr);
  gap: clamp(2rem, 7vw, 7rem);
}

.intro__content {
  max-width: 850px;
}

h2 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(2rem, 4.2vw, 4rem);
  line-height: 1.05;
  letter-spacing: -0.045em;
}

.lead {
  margin-top: 2rem;
  font-size: clamp(1.25rem, 2vw, 1.6rem);
  line-height: 1.5;
}

.intro__content p:last-child {
  max-width: 720px;
  color: var(--muted);
}

.gallery-section {
  width: auto;
  max-width: none;
  padding-right: max(1.5rem, calc((100vw - var(--max)) / 2));
  padding-left: max(1.5rem, calc((100vw - var(--max)) / 2));
  background: var(--soft);
}

.gallery-heading {
  margin-bottom: 2.5rem;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
}

.gallery-heading h2 {
  margin-top: 0.7rem;
}

.gallery-heading p {
  max-width: 430px;
  margin: 0;
  color: var(--muted);
}

.carousel {
  position: relative;
  overflow: hidden;
  background: var(--navy);
  color: var(--white);
  outline-offset: 5px;
}

.carousel__viewport {
  aspect-ratio: 16 / 10;
  max-height: 780px;
}

.carousel__slide {
  position: relative;
  width: 100%;
  height: 100%;
  margin: 0;
}

.carousel__slide[hidden] {
  display: none;
}

.carousel__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.carousel__slide figcaption {
  position: absolute;
  right: 1.25rem;
  bottom: 1rem;
  left: 1.25rem;
  z-index: 2;
  font-size: 0.9rem;
  font-weight: 800;
}

.carousel__slide::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 32%;
  background: linear-gradient(transparent, rgba(0,41,76,0.76));
  pointer-events: none;
}

.carousel__arrow {
  position: absolute;
  top: 50%;
  z-index: 3;
  width: 3.5rem;
  height: 3.5rem;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: rgba(0, 41, 76, 0.9);
  color: var(--white);
  cursor: pointer;
  transform: translateY(-50%);
  transition: background-color 160ms ease, transform 160ms ease;
}

.carousel__arrow:hover,
.carousel__arrow:focus-visible {
  background: var(--blue);
}

.carousel__arrow:hover {
  transform: translateY(-50%) scale(1.05);
}

.carousel__arrow:focus-visible,
.carousel:focus-visible {
  outline: 3px solid #ffbf47;
  outline-offset: 3px;
}

.carousel__arrow span {
  margin-top: -0.1em;
  font-size: 2.8rem;
  font-weight: 300;
  line-height: 1;
}

.carousel__arrow--previous {
  left: 1rem;
}

.carousel__arrow--next {
  right: 1rem;
}

.carousel__counter {
  position: absolute;
  right: 1rem;
  top: 1rem;
  z-index: 3;
  min-width: 4rem;
  padding: 0.45rem 0.7rem;
  background: rgba(0, 41, 76, 0.9);
  color: var(--white);
  font-size: 0.82rem;
  font-weight: 800;
  text-align: center;
}

.video-section__heading {
  margin-bottom: 2.5rem;
}

.video-section__heading h2 {
  margin-top: 0.7rem;
}

.video-embed {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  width: 100%;
  background: var(--navy);
}

.video-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.details {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(320px, 0.75fr);
  gap: clamp(3rem, 7vw, 7rem);
  align-items: start;
}

.details__main > h2 {
  margin-top: 0.7rem;
}

.details__main > p {
  max-width: 770px;
  margin: 1.75rem 0 0;
  font-size: 1.12rem;
  color: var(--muted);
}

.feature-grid {
  margin-top: 3rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
}

.feature-grid article {
  padding: 1.5rem 1.25rem 0 0;
}

.feature-grid article + article {
  padding-left: 1.25rem;
  border-left: 1px solid var(--line);
}

.feature-grid span {
  color: var(--blue);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-weight: 800;
}

.feature-grid h3 {
  margin: 0.55rem 0 0.45rem;
  color: var(--navy);
  font-size: 1.15rem;
}

.feature-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
}

.terms {
  padding: 2.25rem;
  background: var(--navy);
  color: var(--white);
}

.terms h2 {
  color: var(--white);
  font-size: 1.65rem;
  letter-spacing: -0.02em;
}

.checklist {
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
}

.checklist li {
  position: relative;
  padding: 0.7rem 0 0.7rem 1.7rem;
  border-top: 1px solid rgba(255,255,255,0.16);
}

.checklist li::before {
  content: "";
  position: absolute;
  top: 1.15rem;
  left: 0;
  width: 0.48rem;
  height: 0.48rem;
  border-radius: 50%;
  background: var(--white);
}

.floorplan {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(360px, 1.2fr);
  gap: clamp(3rem, 9vw, 9rem);
  align-items: center;
  border-top: 1px solid var(--line);
}

.floorplan__copy h2 {
  margin-top: 0.7rem;
}

.floorplan__copy p {
  max-width: 540px;
  margin: 1.5rem 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.text-link {
  color: var(--navy);
  font-weight: 900;
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}

.floorplan__image {
  max-height: 760px;
  margin: 0;
  display: flex;
  justify-content: center;
  overflow: hidden;
  background: var(--soft);
}

.floorplan__image img {
  width: auto;
  max-height: 760px;
  object-fit: contain;
}

.cta {
  width: min(var(--max), calc(100% - 3rem));
  margin: 0 auto clamp(3rem, 7vw, 7rem);
  padding: clamp(2.5rem, 5vw, 4.5rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
  background: #e7f1f7;
  border-left: 10px solid var(--blue);
}

.eyebrow--dark {
  color: var(--blue);
}

.cta h2 {
  max-width: 750px;
  margin-top: 0.7rem;
  font-size: clamp(2rem, 3.5vw, 3.5rem);
}

.cta p {
  max-width: 650px;
  margin-bottom: 0;
  color: var(--muted);
}

.cta__actions {
  min-width: max-content;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

footer {
  min-height: 180px;
  padding: 2.5rem max(1.5rem, calc((100vw - var(--max)) / 2));
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 2rem;
  border-top: 1px solid var(--line);
}

footer img {
  width: 205px;
  height: auto;
}

footer p {
  margin: 0;
  color: var(--muted);
}

footer a {
  color: var(--navy);
  font-weight: 900;
}

@media (max-width: 980px) {
  .hero {
    grid-template-columns: 1fr;
  }

  .hero__copy,
  .hero__image {
    min-height: auto;
  }

  .hero__image {
    aspect-ratio: 4 / 3;
  }

  .details,
  .floorplan {
    grid-template-columns: 1fr;
  }

  .floorplan__image {
    max-height: 680px;
  }

  .floorplan__image img {
    max-height: 680px;
  }

  .cta {
    align-items: flex-start;
    flex-direction: column;
  }

  .cta__actions {
    min-width: 0;
    width: 100%;
    flex-direction: row;
    flex-wrap: wrap;
  }
}

@media (max-width: 720px) {
  .hero__copy {
    padding: 3.6rem 1.5rem 3rem;
  }

  .rental-sticker {
    position: relative;
    top: auto;
    right: auto;
    width: 92px;
    height: 92px;
    margin: 0 0 1.75rem auto;
    font-size: 0.92rem;
  }

  .hero__copy::after {
    right: -190px;
    bottom: -210px;
  }

  .hero h1 {
    font-size: clamp(2.6rem, 13vw, 4.2rem);
  }

  .hero__facts {
    grid-template-columns: 1fr;
    margin-top: 2.2rem;
  }

  .hero__facts div {
    padding-bottom: 0.8rem;
    border-bottom: 1px solid rgba(255,255,255,0.15);
  }

  .section {
    width: min(100% - 2rem, var(--max));
    padding: 4.5rem 0;
  }

  .intro {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .gallery-section {
    width: auto;
    padding-right: 1rem;
    padding-left: 1rem;
  }

  .gallery-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .video-section__heading {
    margin-bottom: 1.75rem;
  }

  .carousel__viewport {
    aspect-ratio: 4 / 3;
  }

  .carousel__arrow {
    width: 3rem;
    height: 3rem;
  }

  .carousel__arrow span {
    font-size: 2.4rem;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .feature-grid article,
  .feature-grid article + article {
    padding: 1.25rem 0;
    border-left: 0;
    border-bottom: 1px solid var(--line);
  }

  .terms {
    padding: 1.6rem;
  }

  .floorplan__image,
  .floorplan__image img {
    max-height: 600px;
  }

  .cta {
    width: min(100% - 2rem, var(--max));
    padding: 2rem 1.4rem;
  }

  .cta__actions,
  .cta__actions .button {
    width: 100%;
  }

  footer {
    grid-template-columns: 1fr;
    justify-items: start;
    gap: 0.75rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
