/* Artlife Developments — redesign concept
   Clean & minimal design system */

:root {
  --bg: #faf9f6;
  --bg-alt: #f1efe9;
  --ink: #23241f;
  --ink-soft: #5c5b53;
  --line: #e2ddd0;
  --accent: #8a6d3b;
  --accent-soft: #cdbb98;
  --white: #ffffff;
  --max: 1180px;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; text-decoration: none; }

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 40px;
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 249, 246, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 40px;
  max-width: var(--max);
  margin: 0 auto;
}

.logo {
  font-family: var(--serif);
  font-size: 21px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 600;
  display: flex;
  align-items: center;
}

.logo span { color: var(--accent); }

.logo-img {
  height: 36px;
  width: auto;
  display: block;
}

.footer-brand .logo-img { height: 30px; margin-bottom: 16px; }

nav.primary-nav {
  display: flex;
  gap: 34px;
  align-items: center;
}

nav.primary-nav > .nav-item {
  position: relative;
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-soft);
  cursor: default;
  padding: 8px 0;
}

nav.primary-nav > .nav-item > a {
  color: inherit;
}

nav.primary-nav > .nav-item:hover { color: var(--ink); }

.dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: -16px;
  background: var(--white);
  border: 1px solid var(--line);
  min-width: 220px;
  padding: 10px 0;
  box-shadow: 0 12px 28px rgba(35,36,31,0.08);
}

.nav-item:hover .dropdown { display: block; }

.dropdown a {
  display: block;
  padding: 10px 20px;
  font-size: 13px;
  letter-spacing: 0.02em;
  text-transform: none;
  color: var(--ink-soft);
}

.dropdown a:hover { color: var(--accent); background: var(--bg-alt); }

.nav-cta {
  border: 1px solid var(--ink);
  padding: 9px 20px;
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.nav-cta:hover { background: var(--ink); color: var(--white); }

/* ---------- Hero ---------- */

.hero {
  padding: 110px 40px 90px;
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}

.hero-eyebrow {
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 18px;
}

.hero h1 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 52px;
  line-height: 1.12;
  margin: 0 0 26px;
}

.hero p {
  font-size: 17px;
  color: var(--ink-soft);
  max-width: 46ch;
  margin: 0 0 34px;
}

.btn {
  display: inline-block;
  padding: 14px 30px;
  font-size: 13px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border: 1px solid var(--ink);
}

.btn-primary { background: var(--ink); color: var(--white); }
.btn-primary:hover { background: var(--accent); border-color: var(--accent); }
.btn-outline:hover { background: var(--ink); color: var(--white); }

.hero-visual {
  aspect-ratio: 4/5;
  background: linear-gradient(160deg, var(--accent-soft), var(--bg-alt) 70%);
  position: relative;
  overflow: hidden;
}

.hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(90deg, rgba(35,36,31,0.05) 1px, transparent 1px),
    linear-gradient(rgba(35,36,31,0.05) 1px, transparent 1px);
  background-size: 28px 28px;
}

/* ---------- Page-top hero video band ---------- */

.hero-video {
  max-width: var(--max);
  margin: 44px auto 0;
  padding: 0 40px;
}

.hero-video-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 21/9;
  background: #000;
  overflow: hidden;
}

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

.hero-video-caption {
  margin-top: 14px;
  text-align: center;
  font-size: 12.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

/* Photo fills — used when a real image is placed inside a media block */
.hero-visual img,
.card-media img,
.feature-media img,
.gallery-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-visual.has-photo::after { display: none; }
.card-media.has-photo, .feature-media.has-photo { background: var(--bg-alt); }

/* Show the whole photo with no cropping — used when an image's aspect
   ratio doesn't match its box (e.g. a portrait rendering in a landscape slot) */
.gallery-media.contain img,
.hero-visual.contain img,
.card-media.contain img,
.feature-media.contain img {
  object-fit: contain;
  background: var(--bg-alt);
}

/* ---------- Sections ---------- */

section { padding: 90px 40px; }
section.tight { padding: 60px 40px; }
section.alt { background: var(--bg-alt); }

.section-head {
  max-width: var(--max);
  margin: 0 auto 50px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 30px;
  flex-wrap: wrap;
}

.section-head h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 34px;
  margin: 0 0 10px;
}

.eyebrow {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 12px;
}

.section-head p { color: var(--ink-soft); max-width: 52ch; margin: 0; }

.section-body {
  max-width: var(--max);
  margin: 0 auto;
}

/* ---------- Pillars ---------- */

.pillars {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.pillar {
  background: var(--bg);
  padding: 44px 36px;
}

.pillar .num {
  font-family: var(--serif);
  font-size: 14px;
  color: var(--accent-soft);
  margin-bottom: 22px;
}

.pillar h3 {
  font-family: var(--serif);
  font-size: 21px;
  font-weight: 500;
  margin: 0 0 12px;
}

.pillar p { color: var(--ink-soft); font-size: 14.5px; margin: 0; }

.pillar ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.pillar ul li {
  color: var(--ink-soft);
  font-size: 14.5px;
  padding-left: 16px;
  position: relative;
}

.pillar ul li::before {
  content: "\2013";
  position: absolute;
  left: 0;
  color: var(--accent-soft);
}

/* ---------- Card grid ---------- */

.grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.grid.cols-2 { grid-template-columns: repeat(2, 1fr); }

.card {
  border: 1px solid var(--line);
  background: var(--white);
  overflow: hidden;
  transition: border-color .2s ease;
}

.card:hover { border-color: var(--accent-soft); }

.card-media {
  aspect-ratio: 4/3;
  background: linear-gradient(140deg, var(--bg-alt), var(--accent-soft) 130%);
  position: relative;
}

.card-media .tag {
  position: absolute;
  bottom: 14px;
  left: 14px;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--white);
  padding: 5px 10px;
  color: var(--ink-soft);
}

.card-body { padding: 26px 26px 30px; }

.card-body h3 {
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 500;
  margin: 0 0 10px;
}

.card-body p {
  color: var(--ink-soft);
  font-size: 14px;
  margin: 0 0 16px;
}

.card-link {
  font-size: 12.5px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--accent);
  border-bottom: 1px solid var(--accent-soft);
  padding-bottom: 2px;
}

.header-sublink-row {
  display: flex;
  justify-content: flex-end;
  padding: 0 40px 14px;
  max-width: var(--max);
  margin: 0 auto;
}

.footer-global-link {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink);
  border-bottom: 1px solid var(--accent-soft);
  padding-bottom: 2px;
}

.footer-global-link:hover { color: var(--accent); }

/* ---------- Stats strip ---------- */

.stats {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 46px 0;
}

.stat { text-align: left; }

.stat .value {
  font-family: var(--serif);
  font-size: 38px;
  color: var(--accent);
  margin-bottom: 6px;
}

.stat .label {
  font-size: 12.5px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

/* ---------- Page hero (interior pages) ---------- */

.page-hero {
  padding: 70px 40px 60px;
  max-width: var(--max);
  margin: 0 auto;
  border-bottom: 1px solid var(--line);
}

.page-hero .eyebrow { margin-bottom: 16px; }

.page-hero h1 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 42px;
  margin: 0 0 20px;
}

.page-hero p {
  color: var(--ink-soft);
  max-width: 60ch;
  font-size: 16.5px;
  margin: 0;
}

.breadcrumb {
  font-size: 12.5px;
  color: var(--ink-soft);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 22px;
}

.breadcrumb a { color: var(--ink-soft); }
.breadcrumb a:hover { color: var(--accent); }

/* ---------- Two column feature ---------- */

.feature {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.feature-media {
  aspect-ratio: 4/3;
  background: linear-gradient(150deg, var(--accent-soft), var(--bg-alt) 120%);
  position: relative;
  overflow: hidden;
}

/* ---------- Property listing (multi-photo gallery block) ---------- */

.listing {
  max-width: var(--max);
  margin: 0 auto 90px;
}

.listing:last-child { margin-bottom: 0; }

.listing-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.listing-head h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 26px;
  margin: 0 0 6px;
}

.listing-address {
  font-size: 13px;
  letter-spacing: 0.03em;
  color: var(--ink-soft);
}

.listing-desc {
  color: var(--ink-soft);
  font-size: 14.5px;
  max-width: 60ch;
  margin: 0 0 24px;
}

.listing-stats {
  list-style: none;
  padding: 0;
  margin: 20px 0 24px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.listing-stats li {
  padding: 14px 18px;
  font-size: 13.5px;
  color: var(--ink-soft);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.listing-stats li strong {
  display: block;
  font-family: var(--serif);
  font-size: 17px;
  color: var(--ink);
  font-weight: 500;
  margin-bottom: 2px;
}

/* ---------- Spec list (Location / Size / Tenant / Rating / Lease Terms) ---------- */

.spec-list {
  margin: 24px 0 0;
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 4px 22px;
}

.spec-list dt {
  font-size: 11.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
  padding: 12px 0 0;
  border-top: 1px solid var(--line);
}

.spec-list dd {
  margin: 0;
  padding: 12px 0 0;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 14.5px;
  line-height: 1.7;
}

.spec-list dd ul {
  margin: 0;
  padding-left: 18px;
}

.spec-list dd li { margin-bottom: 4px; }
.spec-list dd p { margin: 0 0 8px; }
.spec-list dd p:last-child { margin-bottom: 0; }

.gallery {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 14px;
}

.gallery-media {
  aspect-ratio: 4/3;
  position: relative;
  overflow: hidden;
  background: var(--bg-alt);
}

/* ---------- Gallery trigger button + lightbox ---------- */

.gallery-trigger {
  margin-top: 16px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--sans);
  font-size: 12.5px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--ink);
  background: none;
  border: 1px solid var(--ink);
  padding: 12px 24px;
  cursor: pointer;
}

.gallery-trigger:hover { background: var(--ink); color: var(--white); }

.card-body .gallery-trigger {
  margin-top: 12px;
  padding: 10px 18px;
  font-size: 11.5px;
}

.lightbox-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(20, 19, 16, 0.94);
  z-index: 200;
  align-items: center;
  justify-content: center;
}

.lightbox-overlay.open { display: flex; }

.lightbox-stage { max-width: 84vw; max-height: 76vh; }

.lightbox-img {
  max-width: 84vw;
  max-height: 76vh;
  object-fit: contain;
  display: block;
  margin: 0 auto;
}

.lightbox-video-wrap {
  display: none;
  width: 82vw;
  max-width: 1040px;
  aspect-ratio: 16/9;
  background: #000;
}

.lightbox-video-wrap.active { display: block; }

.lightbox-iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.lightbox-close {
  position: absolute;
  top: 22px;
  right: 28px;
  background: none;
  border: none;
  color: var(--white);
  font-size: 32px;
  line-height: 1;
  cursor: pointer;
}

.lightbox-prev, .lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  background: none;
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: var(--white);
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.lightbox-prev:hover, .lightbox-next:hover, .lightbox-close:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }

.lightbox-footer {
  position: absolute;
  bottom: 26px;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 26px;
  color: var(--white);
  font-size: 12.5px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.lightbox-video {
  display: none;
  color: var(--white);
  border-bottom: 1px solid rgba(255, 255, 255, 0.5);
  padding-bottom: 2px;
}

.lightbox-video:hover { border-color: var(--white); }

.gallery-media.main { grid-row: span 2; aspect-ratio: unset; }

/* A gallery with only one photo has nothing to set the grid row height,
   so give it a normal standalone aspect ratio and full width instead. */
.gallery-media.main:only-child {
  grid-row: auto;
  grid-column: 1 / -1;
  aspect-ratio: 16/9;
}

/* ---------- Simple listing row (no photo available) ---------- */

.listing-row {
  max-width: var(--max);
  margin: 0 auto;
  border-top: 1px solid var(--line);
  padding: 26px 0;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 20px;
  flex-wrap: wrap;
}

.listing-row:last-of-type { border-bottom: 1px solid var(--line); }

.listing-row.has-media { align-items: center; }

.listing-row-media {
  width: 110px;
  aspect-ratio: 3/4;
  flex-shrink: 0;
  overflow: hidden;
  background: var(--bg-alt);
}

.listing-row-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.listing-row h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 19px;
  margin: 0;
}

.listing-row .listing-address { margin-top: 4px; }

.tag-note {
  font-size: 11.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid var(--accent-soft);
  padding: 6px 12px;
  white-space: nowrap;
}

.feature-text .eyebrow { margin-bottom: 14px; }

.feature-text h2 {
  font-family: var(--serif);
  font-size: 30px;
  font-weight: 500;
  margin: 0 0 18px;
}

.feature-text p { color: var(--ink-soft); margin: 0 0 16px; }

.feature-text ul {
  padding: 0;
  margin: 22px 0 0;
  list-style: none;
}

.feature-text li {
  padding: 12px 0;
  border-top: 1px solid var(--line);
  font-size: 14.5px;
  color: var(--ink-soft);
}

.feature-text li strong { color: var(--ink); font-weight: 600; }

.feature.reverse { grid-template-columns: 1fr 1fr; }
.feature.reverse .feature-media { order: 2; }
.feature.reverse .feature-text { order: 1; }

/* ---------- Contact ---------- */

.contact-grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 70px;
}

.contact-info h3 {
  font-family: var(--serif);
  font-size: 20px;
  margin: 30px 0 8px;
}

.contact-info h3:first-child { margin-top: 0; }

.contact-info p { color: var(--ink-soft); margin: 0; font-size: 15px; }

form.contact-form { display: grid; gap: 18px; }

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

label {
  font-size: 12px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 8px;
  display: block;
}

input, textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: var(--white);
  padding: 13px 14px;
  font-family: var(--sans);
  font-size: 14.5px;
  color: var(--ink);
}

input:focus, textarea:focus { outline: 1px solid var(--accent); border-color: var(--accent); }

textarea { resize: vertical; min-height: 130px; }

/* ---------- CTA band ---------- */

.cta-band {
  background: var(--ink);
  color: var(--white);
  padding: 80px 40px;
  text-align: center;
}

.cta-band h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 32px;
  margin: 0 0 18px;
}

.cta-band p {
  color: #c9c7bd;
  max-width: 50ch;
  margin: 0 auto 34px;
}

.cta-band .btn-primary {
  background: var(--white);
  color: var(--ink);
  border-color: var(--white);
}

.cta-band .btn-primary:hover { background: var(--accent-soft); border-color: var(--accent-soft); }

/* ---------- Footer ---------- */

footer.site-footer {
  border-top: 1px solid var(--line);
  padding: 60px 40px 34px;
}

.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
}

.footer-brand .logo { margin-bottom: 14px; }

.footer-brand p {
  color: var(--ink-soft);
  font-size: 14px;
  max-width: 32ch;
  margin: 0;
}

.footer-col h4 {
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin: 0 0 16px;
}

.footer-col a {
  display: block;
  font-size: 14px;
  color: var(--ink);
  padding: 6px 0;
}

.footer-col a:hover { color: var(--accent); }

.footer-bottom {
  max-width: var(--max);
  margin: 50px auto 0;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 12.5px;
  color: var(--ink-soft);
  display: flex;
  justify-content: space-between;
}

/* ---------- Responsive ---------- */

@media (max-width: 900px) {
  nav.primary-nav { display: none; }
  .hero { grid-template-columns: 1fr; padding-top: 60px; }
  .hero h1 { font-size: 38px; }
  .pillars, .grid, .grid.cols-2 { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .feature, .feature.reverse { grid-template-columns: 1fr; }
  .feature.reverse .feature-media, .feature.reverse .feature-text { order: unset; }
  .spec-list { grid-template-columns: 1fr; }
  .spec-list dt { border-top: none; padding-top: 14px; padding-bottom: 0; }
  .spec-list dd { padding-top: 4px; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .gallery-media.main { grid-row: span 1; grid-column: span 2; aspect-ratio: 16/9; }
  .listing-stats { grid-template-columns: 1fr 1fr; }
  .lightbox-prev, .lightbox-next { width: 38px; height: 38px; font-size: 15px; }
  .lightbox-prev { left: 8px; }
  .lightbox-next { right: 8px; }
  .lightbox-footer { flex-direction: column; gap: 10px; bottom: 16px; }
  .hero-video-frame { aspect-ratio: 16/9; }
}
