/* ============================================================
   7227 SE Milwaukie Ave — Sellwood Retail For Lease
   Palette: deep navy / teal / warm orange-red / off-white
   ============================================================ */

:root {
  --navy: #1B3A57;
  --navy-dark: #12293F;
  --teal: #2E8C8C;
  --teal-light: #EAF4F4;
  --accent: #E05A33;
  --off-white: #F8F6F2;
  --white: #FFFFFF;
  --ink: #26323E;
  --ink-soft: #5A6A79;
  --line: #E3E0DA;

  --font-display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Inter", "Helvetica Neue", Arial, sans-serif;

  --nav-height: 64px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-height) + 8px);
}

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

.container {
  width: min(1120px, 100% - 2.5rem);
  margin-inline: auto;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 0.95rem 1.9rem;
  border-radius: 3px;
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.15s ease;
}
.btn--primary {
  background: var(--accent);
  color: var(--white);
}
.btn--primary:hover { background: #C74A27; transform: translateY(-1px); }
.btn--outline {
  border: 2px solid var(--white);
  color: var(--white);
}
.btn--outline:hover { background: var(--white); color: var(--navy); }

/* ---------- Nav ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: var(--navy);
  box-shadow: 0 2px 12px rgba(18, 41, 63, 0.25);
}
.nav__inner {
  width: min(1120px, 100% - 2.5rem);
  margin-inline: auto;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.nav__brand {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--white);
  text-decoration: none;
  white-space: nowrap;
}
.nav__brand span { color: var(--teal); }
.nav__links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}
.nav__links a {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  padding: 0.35rem 0;
  border-bottom: 2px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.nav__links a:hover { color: var(--white); }
.nav__links a.is-active {
  color: var(--white);
  border-bottom-color: var(--accent);
}
.nav__links a.nav__cta {
  background: var(--accent);
  color: var(--white);
  padding: 0.55rem 1.2rem;
  border-radius: 3px;
  border-bottom: none;
}
.nav__links a.nav__cta:hover { background: #C74A27; }
.nav__toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: none;
  border: 0;
  cursor: pointer;
}
.nav__toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--white);
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: calc(var(--nav-height) + 4rem) 1.25rem 5rem;
  background: var(--navy-dark);
  overflow: hidden;
}
.hero__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(18, 41, 63, 0.72) 0%,
    rgba(18, 41, 63, 0.66) 50%,
    rgba(18, 41, 63, 0.85) 100%
  );
}
.hero__content {
  position: relative;
  z-index: 1;
  color: var(--white);
  max-width: 820px;
}
.hero__badge {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--white);
  background: var(--accent);
  padding: 0.5rem 1.3rem 0.5rem 1.55rem;
  border-radius: 3px;
  margin-bottom: 1.5rem;
}
.hero__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.2rem, 6vw, 4rem);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.1;
}
.hero__subtitle {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(0.95rem, 2vw, 1.2rem);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
  margin-top: 0.75rem;
}
.hero__stats {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0;
  margin: 2.25rem 0 2.5rem;
}
.hero__stats li {
  display: flex;
  flex-direction: column;
  padding: 0.25rem 1.75rem;
  border-right: 1px solid rgba(255, 255, 255, 0.35);
}
.hero__stats li:last-child { border-right: 0; }
.hero__stats strong {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.35rem, 3vw, 1.8rem);
  letter-spacing: 0.03em;
}
.hero__stats span {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
}
.hero__actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.9rem;
}
.hero__actions .btn { min-width: 240px; text-align: center; }

/* ---------- Sections ---------- */
.section { padding: 5.5rem 0; }
.section--alt { background: var(--off-white); }
.section--dark {
  background: var(--navy);
  color: var(--white);
}
.section__eyebrow {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.75rem;
}
.section__eyebrow--light { color: #F1936F; }
.section__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.7rem, 4vw, 2.5rem);
  letter-spacing: 0.03em;
  text-transform: uppercase;
  line-height: 1.15;
  color: var(--navy);
  margin-bottom: 1.75rem;
}
.section--dark .section__title { color: var(--white); }
.section__lead {
  font-size: 1.1rem;
  color: var(--ink-soft);
  max-width: 46rem;
  margin-bottom: 3rem;
}
.section__lead--light { color: rgba(255, 255, 255, 0.8); }

/* ---------- Overview ---------- */
.overview {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: start;
}
.overview__narrative p {
  font-size: 1.05rem;
  color: var(--ink-soft);
  margin-bottom: 1.25rem;
}
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.75rem;
}
.chip {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--teal);
  background: var(--teal-light);
  border: 1px solid var(--teal);
  padding: 0.5rem 1.1rem;
  border-radius: 999px;
}
.overview__snapshot {
  background: var(--off-white);
  border: 1px solid var(--line);
  border-top: 4px solid var(--teal);
  border-radius: 4px;
  padding: 1.75rem;
}
.snapshot__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 1rem;
}
.snapshot__table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}
.snapshot__table th,
.snapshot__table td {
  text-align: left;
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.snapshot__table tr:last-child th,
.snapshot__table tr:last-child td { border-bottom: 0; }
.snapshot__table th {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--navy);
  white-space: nowrap;
  padding-right: 1.25rem;
  width: 1%;
}
.snapshot__table td { color: var(--ink-soft); }

/* ---------- Highlights ---------- */
.highlights {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 3.5rem;
}
.highlight {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 1.9rem 1.6rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.highlight:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(27, 58, 87, 0.12);
}
.highlight__icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 4px;
  background: var(--teal-light);
  color: var(--teal);
  margin-bottom: 1.1rem;
}
.highlight__icon svg { width: 26px; height: 26px; }
.highlight h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 0.5rem;
}
.highlight p {
  font-size: 0.95rem;
  color: var(--ink-soft);
}

/* ---------- Gallery ---------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.gallery__item {
  margin: 0;
  border-radius: 4px;
  overflow: hidden;
  background: var(--line);
  aspect-ratio: 4 / 3;
}
.gallery__item--wide { grid-column: span 2; }
.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}
.gallery__item:hover img { transform: scale(1.04); }

/* ---------- Neighborhood ---------- */
.hood-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 3.5rem;
}
.hood-strip__item {
  margin: 0;
  border-radius: 4px;
  overflow: hidden;
  background: var(--line);
}
.hood-strip__item img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}
.hood-strip__item figcaption {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--white);
  background: var(--navy);
  padding: 0.55rem 0.9rem;
}

.scores {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 3.5rem;
  text-align: center;
}
.score__circle {
  width: 128px;
  height: 128px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  border: 5px solid var(--teal);
  display: grid;
  place-items: center;
  color: var(--navy);
}
.score__circle--alt { border-color: var(--accent); }
.score__circle strong {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.9rem;
  letter-spacing: 0.02em;
}
.score__circle--alt strong { font-size: 1.4rem; }
.score h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--navy);
}
.score p { color: var(--ink-soft); font-size: 0.9rem; }

.demo { margin-bottom: 3.5rem; }
.demo__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 1rem;
}
.demo__scroll { overflow-x: auto; }
.demo__table {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
  font-size: 0.95rem;
}
.demo__table thead th {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white);
  background: var(--navy);
  padding: 0.8rem 1rem;
  text-align: right;
}
.demo__table thead th:first-child { text-align: left; }
.demo__table tbody th,
.demo__table tbody td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--line);
}
.demo__table tbody th {
  text-align: left;
  font-weight: 600;
  color: var(--navy);
}
.demo__table tbody td {
  text-align: right;
  color: var(--ink-soft);
  font-variant-numeric: tabular-nums;
}
.demo__table tbody tr:nth-child(even) { background: var(--off-white); }

.bignums {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.bignum {
  background: var(--navy);
  color: var(--white);
  border-radius: 4px;
  padding: 2rem 1.6rem;
  text-align: center;
}
.bignum strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 2.3rem;
  letter-spacing: 0.02em;
  color: #F1936F;
  margin-bottom: 0.4rem;
}
.bignum p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
}

.source {
  margin-top: 2rem;
  font-size: 0.78rem;
  color: var(--ink-soft);
}

/* ---------- Location ---------- */
.location {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 3rem;
  align-items: center;
}
.location__map {
  aspect-ratio: 4 / 3;
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--line);
}
.location__map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
.location__points {
  list-style: none;
}
.location__points li {
  position: relative;
  padding: 0.65rem 0 0.65rem 2rem;
  font-size: 1.02rem;
  color: var(--ink-soft);
  border-bottom: 1px solid var(--line);
}
.location__points li:last-child { border-bottom: 0; }
.location__points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.15rem;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
}

.amenity-map {
  margin: 3rem 0 0;
  border: 1px solid var(--line);
  border-radius: 4px;
  overflow: hidden;
  background: var(--white);
}
.amenity-map img { width: 100%; }

/* ---------- Contact ---------- */
.contact {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 3rem;
  align-items: start;
}
.contact__card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 4px;
  padding: 2.25rem;
}
.contact__card h3 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.5rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.contact__role {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--teal);
  margin: 0.25rem 0 1.25rem;
}
.contact__link {
  display: block;
  color: var(--white);
  font-size: 1.1rem;
  text-decoration: none;
  margin-bottom: 0.5rem;
  transition: color 0.2s ease;
}
.contact__link:hover { color: #F1936F; }
.contact__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 1.75rem;
}
.contact__brokerage {
  padding-top: 0.5rem;
  color: rgba(255, 255, 255, 0.8);
}
.contact__firm {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 0.6rem;
}
.contact__brokerage a {
  display: inline-block;
  color: var(--teal);
  text-decoration: none;
  margin-top: 0.6rem;
}
.contact__brokerage a:hover { text-decoration: underline; }

/* ---------- Footer ---------- */
.footer {
  background: var(--navy-dark);
  color: rgba(255, 255, 255, 0.65);
  text-align: center;
  padding: 2.5rem 0;
  font-size: 0.85rem;
}
.footer__disclaimer {
  max-width: 44rem;
  margin: 0.75rem auto 0;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.45);
}

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(12, 26, 40, 0.94);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3.5rem 4.5rem;
}
.lightbox[hidden] { display: none; }
.lightbox__img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 4px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}
.lightbox__close,
.lightbox__nav {
  position: absolute;
  background: none;
  border: 0;
  color: rgba(255, 255, 255, 0.85);
  font-family: var(--font-body);
  cursor: pointer;
  line-height: 1;
  padding: 0.5rem;
  transition: color 0.2s ease;
}
.lightbox__close:hover,
.lightbox__nav:hover { color: var(--white); }
.lightbox__close {
  top: 1rem;
  right: 1.25rem;
  font-size: 2.6rem;
}
.lightbox__nav {
  top: 50%;
  transform: translateY(-50%);
  font-size: 3.2rem;
  padding: 1rem 0.75rem;
}
.lightbox__nav--prev { left: 0.75rem; }
.lightbox__nav--next { right: 0.75rem; }
.gallery__item { cursor: zoom-in; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .highlight, .gallery__item img { transition: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .overview,
  .location,
  .contact { grid-template-columns: 1fr; gap: 2.25rem; }
  .highlights { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .bignums { grid-template-columns: 1fr; }
  .hood-strip { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .section { padding: 3.75rem 0; }

  .nav__toggle { display: flex; }
  .nav__links {
    position: absolute;
    top: var(--nav-height);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--navy);
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 12px 24px rgba(18, 41, 63, 0.35);
    display: none;
  }
  .nav__links.is-open { display: flex; }
  .nav__links a {
    padding: 1rem 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }
  .nav__links a.is-active { border-bottom-color: rgba(255, 255, 255, 0.08); }
  .nav__links a.nav__cta {
    margin: 0.75rem 1.5rem 1.25rem;
    text-align: center;
  }

  .hero { min-height: 86vh; }
  .hero__stats li {
    padding: 0.25rem 1rem;
  }
  .hero__stats li:nth-child(2) { border-right: 0; }

  .scores { grid-template-columns: 1fr; gap: 2.5rem; }
  .highlights { grid-template-columns: 1fr; }
}
