/* ============================================================
   5 Omni Way - styles
   Design: Figma 5Omni_Homepage_23APR2026 (Chris Gorges)
   Tokens: navy #1b2b5e, accent #e85d45
   ============================================================ */

:root {
  --navy: #1b2b5e;
  --navy-90: rgba(27, 43, 94, 0.9);
  --accent: #e85d45;
  --ink: #1b2b5e;
  --muted: #5a6378;
  --line: #e4e7ee;
  --white: #ffffff;
  --container: 1344px;
  --pad: 96px;
  --font: "Futura PT", "Century Gothic", "Avenir Next", "Avenir", "Segoe UI", system-ui, sans-serif;
}

/* ---------- reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
picture { display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, ul { margin: 0; }
ul { list-style: none; padding: 0; }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--pad);
}

/* recurring orange divider */
.divider { display: block; width: 96px; height: 2px; background: var(--accent); }

/* visible placeholder-copy marker (must not look final) */
.copy-flag { color: var(--accent); font-style: italic; font-size: .85em; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 205px;
  height: 62px;
  padding: 0 32px;
  background: var(--accent);
  color: var(--white);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 2.1px;
  text-transform: uppercase;
  border: 0;
  cursor: pointer;
  font-family: inherit;
  transition: background-color .2s ease, transform .2s ease;
}
.btn:hover { background: #d24c35; }
.btn:active { transform: translateY(1px); }
.btn--ghost {
  background: transparent;
  color: var(--navy);
  border: 2px solid var(--navy);
}
.btn--ghost:hover { background: var(--navy); color: var(--white); }

/* ---------- section scaffolding ---------- */
.section { padding-block: 88px; }
.section__head { margin-bottom: 56px; }
.section__title {
  font-size: clamp(40px, 6vw, 64px);
  font-weight: 500;
  line-height: 1.0;
  letter-spacing: -1.5px;
  margin-bottom: 32px;
}
.section__intro {
  max-width: 768px;
  font-size: 20px;
  line-height: 1.6;
  color: var(--muted);
  margin-bottom: 48px;
}
.section__cta { display: flex; justify-content: center; margin-top: 64px; }

/* ---------- icons (CSS mask, themeable via color) ---------- */
.icon {
  display: inline-block;
  width: 32px;
  height: 32px;
  background-color: currentColor;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: contain;
  mask-size: contain;
}
.icon--bolt { -webkit-mask-image: url(../icons/bolt.svg); mask-image: url(../icons/bolt.svg); }
.icon--corporate_fare { -webkit-mask-image: url(../icons/corporate_fare.svg); mask-image: url(../icons/corporate_fare.svg); }
.icon--local_shipping { -webkit-mask-image: url(../icons/local_shipping.svg); mask-image: url(../icons/local_shipping.svg); }
.icon--directions_car { -webkit-mask-image: url(../icons/directions_car.svg); mask-image: url(../icons/directions_car.svg); }
.icon--water_pump { -webkit-mask-image: url(../icons/water_pump.svg); mask-image: url(../icons/water_pump.svg); }
.icon--water_drops { -webkit-mask-image: url(../icons/water_drops.svg); mask-image: url(../icons/water_drops.svg); }
.icon--elevator { -webkit-mask-image: url(../icons/elevator.svg); mask-image: url(../icons/elevator.svg); }
.icon--exercise { -webkit-mask-image: url(../icons/exercise.svg); mask-image: url(../icons/exercise.svg); }
.icon--call { -webkit-mask-image: url(../icons/call.svg); mask-image: url(../icons/call.svg); }
.icon--mail { -webkit-mask-image: url(../icons/mail.svg); mask-image: url(../icons/mail.svg); }

/* ============================================================
   NAV
   ============================================================ */
.nav { position: sticky; top: 0; z-index: 50; background: var(--navy); height: 84px; }
.nav__inner {
  max-width: var(--container);
  margin-inline: auto;
  height: 100%;
  padding-inline: var(--pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav__brand img { width: 53px; height: 53px; }
.nav__menu { display: flex; align-items: center; gap: 32px; }
.nav__menu a {
  color: var(--white);
  font-size: 12px;
  letter-spacing: 3.6px;
  text-transform: uppercase;
  padding-bottom: 3px;
  border-bottom: 2px solid transparent;
  transition: border-color .2s ease;
}
.nav__menu a:hover { border-color: rgba(255,255,255,.5); }
.nav__cta { font-weight: 700; border-bottom: 2px solid var(--accent) !important; }
.nav__toggle {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: 0; cursor: pointer; padding: 8px;
}
.nav__toggle span { width: 24px; height: 2px; background: var(--white); transition: .25s; }

/* ============================================================
   HERO
   ============================================================ */
.hero { position: relative; min-height: 722px; display: flex; align-items: center; overflow: hidden; }
.hero__media { position: absolute; inset: 0; }
.hero__media picture, .hero__media img { width: 100%; height: 100%; }
.hero__media img { object-fit: cover; }
.hero__overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(94.9deg, rgba(27,43,94,.731) 11.9%, rgba(27,43,94,.416) 36.2%, rgba(27,43,94,.015) 52.5%),
    rgba(0,0,0,.28);
}
.hero__inner { position: relative; z-index: 1; }
.hero__content { max-width: 585px; display: flex; flex-direction: column; gap: 32px; }
.hero__title {
  color: var(--white);
  font-size: clamp(36px, 5vw, 59px);
  font-weight: 500;
  line-height: 1.03;
  letter-spacing: -2.3px;
  text-transform: capitalize;
  text-shadow: 0 4px 5px rgba(0,0,0,.08);
}
.hero__body {
  color: rgba(255,255,255,.9);
  font-size: 20px;
  line-height: 1.6;
  text-shadow: 0 4px 10px rgba(0,0,0,.08);
}

/* ============================================================
   BUILDING FEATURES
   ============================================================ */
.features__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.spec { padding: 31px 26px; }
.spec__icon { color: var(--accent); margin-bottom: 12px; }
.spec__label { font-size: 22px; font-weight: 500; line-height: 1.2; margin-bottom: 10px; }
.spec__value { font-size: 15px; line-height: 1.45; color: var(--muted); }

/* ============================================================
   FLOOR CONFIGURATIONS
   ============================================================ */
.layouts { background: var(--navy); }
.layouts .section__title { color: var(--white); }
.floors { display: grid; grid-template-columns: 1fr 1fr; gap: 0; margin-bottom: 32px; background: #fff; }
.floor { padding: 48px; }
.floor + .floor { border-left: 1px solid var(--line); }
.floor__eyebrow { font-size: 12px; letter-spacing: 2.4px; text-transform: uppercase; color: var(--muted); margin-bottom: 16px; }
.floor__size { font-size: clamp(40px, 5vw, 56px); font-weight: 500; letter-spacing: -1.5px; color: var(--navy); margin-bottom: 24px; }
.floor__list { display: flex; flex-direction: column; gap: 14px; }
.floor__list li { position: relative; padding-left: 20px; font-size: 17px; }
.floor__list li::before { content: ""; position: absolute; left: 0; top: 11px; width: 4px; height: 4px; border-radius: 50%; background: var(--accent); }

/* carousel */
.carousel { display: flex; align-items: center; gap: 32px; }
.carousel__viewport { flex: 1; overflow: hidden; }
.carousel__track { display: flex; gap: 4px; transition: transform .4s ease; }
.tile { flex: 0 0 calc((100% - 8px) / 3); position: relative; aspect-ratio: 1 / 1; overflow: hidden; }
.tile__link { display: block; width: 100%; height: 100%; }
.tile picture, .tile img { width: 100%; height: 100%; }
.tile img { object-fit: cover; transition: transform .4s ease; }
.tile:hover img { transform: scale(1.04); }
.tile__caption {
  position: absolute; left: 0; bottom: 0; right: 0; padding: 32px; z-index: 1;
  color: var(--white); font-size: 12px; letter-spacing: 2.4px; text-transform: uppercase;
  background: linear-gradient(to top, rgba(0,0,0,.8), rgba(0,0,0,0));
}
.carousel__arrow { flex: 0 0 auto; background: none; border: 0; cursor: pointer; padding: 8px; opacity: .7; transition: opacity .2s ease; }
.carousel__arrow:hover { opacity: 1; }
.carousel__arrow img { width: 19px; height: 37px; }
.carousel__arrow--next img { transform: rotate(180deg); }

/* ============================================================
   STRATEGIC POSITIONING
   ============================================================ */
.location__map { margin: 0; position: relative; width: fit-content; margin-inline: auto; }
.location__map img { width: 100%; max-width: 857px; }
.map__directions {
  display: inline-block; margin-top: 16px;
  font-size: 12px; letter-spacing: 2.4px; text-transform: uppercase; color: var(--accent);
  border-bottom: 2px solid var(--accent); padding-bottom: 2px;
}
.tenants { margin-top: 64px; }
.tenants__title { text-align: center; font-size: 24px; font-weight: 500; letter-spacing: -.5px; margin-bottom: 40px; }
.tenants__grid { display: grid; grid-template-columns: 1fr 1fr; column-gap: 120px; row-gap: 4px; max-width: 1054px; margin-inline: auto; }
.tenant { display: flex; align-items: center; gap: 12px; padding: 8px 0; }
.tenant__num { flex: 0 0 20px; text-align: center; font-size: 16px; font-weight: 500; color: var(--ink); }
.tenant__logo {
  flex: 0 0 32px; width: 32px; height: 32px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%; background: #fff; border: 1px solid var(--line); overflow: hidden;
}
.tenant__logo img { max-width: 22px; max-height: 16px; object-fit: contain; }
.tenant__name { flex: 1; font-size: 16px; }
.tenant__dist { flex: 0 0 auto; font-size: 16px; color: var(--muted); }

/* ============================================================
   LEASING TEAM
   ============================================================ */
.brokers { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; margin-bottom: 48px; }
.broker { padding: 48px; background: #f7f8fa; }
.broker__name { font-size: 26px; font-weight: 500; letter-spacing: -.5px; margin-bottom: 8px; }
.broker__title { font-size: 12px; letter-spacing: 2.4px; text-transform: uppercase; color: var(--muted); margin-bottom: 24px; }
.broker__contact { display: flex; flex-direction: column; gap: 12px; }
.broker__link { display: inline-flex; align-items: center; gap: 12px; font-size: 16px; color: var(--ink); transition: color .2s ease; }
.broker__link:hover { color: var(--accent); }
.broker__link .icon { flex: 0 0 20px; width: 20px; height: 20px; color: var(--accent); }
.leasing__disclaimer { max-width: 896px; margin-inline: auto; text-align: center; font-size: 12px; line-height: 1.5; color: var(--muted); margin-top: 48px; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--navy); color: var(--white); padding-block: 80px 40px; }
.footer__top { display: flex; justify-content: space-between; align-items: flex-end; padding-bottom: 49px; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer__brand img { width: 80px; height: 80px; margin-bottom: 20px; }
.footer__addr, .footer__label { font-size: 12px; letter-spacing: 2.4px; text-transform: uppercase; color: rgba(255,255,255,.5); }
.footer__leasing { text-align: right; }
.footer__leasing img { width: 105px; height: auto; margin-bottom: 8px; margin-left: auto; }
.footer__bottom { padding-top: 16px; text-align: center; }
.footer__bottom p { font-size: 12px; color: rgba(255,255,255,.3); }

/* ============================================================
   LIGHTBOX
   ============================================================ */
.lightbox { position: fixed; inset: 0; z-index: 100; display: none; align-items: center; justify-content: center; background: rgba(10,14,28,.92); padding: 5vw; }
.lightbox.is-open { display: flex; }
.lightbox__img { max-width: 90vw; max-height: 86vh; object-fit: contain; box-shadow: 0 20px 60px rgba(0,0,0,.5); }
.lightbox__close { position: absolute; top: 20px; right: 28px; background: none; border: 0; color: var(--white); font-size: 40px; line-height: 1; cursor: pointer; }
.lightbox__nav { background: none; border: 0; color: var(--white); font-size: 56px; line-height: 1; cursor: pointer; padding: 0 16px; opacity: .8; }
.lightbox__nav:hover { opacity: 1; }
.lightbox__nav--prev { position: absolute; left: 2vw; }
.lightbox__nav--next { position: absolute; right: 2vw; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  :root { --pad: 48px; }
  .features__grid { grid-template-columns: repeat(2, 1fr); }
  .tenants__grid { column-gap: 64px; }
}
@media (max-width: 768px) {
  :root { --pad: 24px; }
  .nav__menu { display: none; }
  .nav__menu.is-open {
    display: flex; flex-direction: column; align-items: flex-start; gap: 20px;
    position: absolute; top: 84px; left: 0; right: 0; background: var(--navy); padding: 24px var(--pad) 32px;
  }
  .nav__toggle { display: flex; }
  .section { padding-block: 56px; }
  .floors { grid-template-columns: 1fr; }
  .features__grid { grid-template-columns: 1fr; }
  .tile { flex-basis: 100%; }
  .carousel { gap: 12px; }
  .tenants__grid { grid-template-columns: 1fr; column-gap: 0; }
  .brokers { grid-template-columns: 1fr; }
  .broker { padding: 32px; }
  .footer__top { flex-direction: column; align-items: flex-start; gap: 32px; }
  .footer__leasing { text-align: left; }
  .footer__leasing img { margin-left: 0; }
}

/* ============================================================
   REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .tile:hover img { transform: none; }
}

/* ============================================================
   PRINT (clean one-page flyer via window.print())
   ============================================================ */
@media print {
  .nav, .nav__toggle, .carousel__arrow, .lightbox, .btn, .section__cta,
  .map__directions, .copy-flag { display: none !important; }
  html, body { background: #fff !important; color: #000; }
  .section { padding-block: 24px; }
  .hero { min-height: auto; color: #000; padding: 12px 0; }
  .hero__media, .hero__overlay { display: none !important; }
  .hero__inner { position: static; padding-inline: 0; }
  .hero__title, .hero__body { color: var(--navy) !important; text-shadow: none !important; }
  .footer { background: #fff !important; color: var(--navy); padding-block: 16px; }
  .footer__addr, .footer__label, .footer__bottom p { color: var(--navy) !important; }
  .floor, .broker { background: #f3f4f7 !important; }
  .spec, .floor, .broker, .tenant, .section__head { break-inside: avoid; }
  .carousel__viewport { overflow: visible; }
  .carousel__track { transform: none !important; }
  a { color: var(--navy); }
}
