/* ==========================================================================
   L.A.R.D. Investments, L.P.
   Design system — typography-led, brand olive on a near-white canvas.
   ========================================================================== */

/* --------------------------------------------------------------- tokens -- */
:root {
  /* Brand — sampled from the LARD mark */
  --olive:        #6B6410;
  --olive-mid:    #8A8226;
  --olive-light:  #A79E42;
  --cream:        #E2E2CA;
  --cream-soft:   #F1F1E6;
  --cream-pale:   #F8F8F2;

  /* Neutrals */
  --ink:          #0E0F11;
  --ink-soft:     #1C1E22;
  --slate:        #55585F;
  --slate-light:  #86898F;
  --hairline:     rgba(14, 15, 17, 0.10);
  --hairline-2:   rgba(14, 15, 17, 0.06);
  --white:        #FFFFFF;
  --canvas:       #FBFBF8;

  /* Type */
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text",
          "Helvetica Neue", "Inter", "Segoe UI", Roboto, Arial, sans-serif;

  /* Rhythm */
  --gutter: clamp(1.25rem, 5vw, 4rem);
  --measure: 1240px;
  --measure-narrow: 760px;
  --section-y: clamp(3rem, 9vw, 10.5rem);

  /* Motion — Apple's cubic curve */
  --ease: cubic-bezier(0.32, 0.72, 0, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);

  --radius: 18px;
  --radius-lg: 26px;
  --nav-h: 64px;
}

/* ---------------------------------------------------------------- reset -- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 1.5rem);
}

body {
  margin: 0;
  font-family: var(--sans);
  background: var(--canvas);
  color: var(--ink);
  font-size: 17px;
  line-height: 1.55;
  letter-spacing: -0.011em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; letter-spacing: -0.028em; line-height: 1.06; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

::selection { background: var(--olive); color: var(--cream); }

:focus-visible {
  outline: 2px solid var(--olive-mid);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ------------------------------------------------------------ type scale -- */
.t-display {                                   /* hero headline */
  font-size: clamp(2.75rem, 7.2vw, 6.25rem);
  letter-spacing: -0.042em;
  line-height: 0.98;
  font-weight: 600;
}
.t-h1 {
  font-size: clamp(2.1rem, 4.6vw, 3.75rem);
  letter-spacing: -0.034em;
  line-height: 1.04;
}
.t-h2 {
  font-size: clamp(1.6rem, 3vw, 2.5rem);
  letter-spacing: -0.028em;
  line-height: 1.1;
}
.t-h3 {
  font-size: clamp(1.15rem, 1.7vw, 1.4rem);
  letter-spacing: -0.02em;
  line-height: 1.25;
}
.t-lead {
  font-size: clamp(1.1rem, 1.65vw, 1.4rem);
  line-height: 1.5;
  letter-spacing: -0.016em;
  color: var(--slate);
}
.t-body { font-size: 1.0625rem; line-height: 1.62; color: var(--slate); }
.t-small { font-size: 0.875rem; line-height: 1.5; color: var(--slate-light); }

.eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--olive-mid);
}

/* --------------------------------------------------------------- layout -- */
.wrap { width: 100%; max-width: var(--measure); margin-inline: auto; padding-inline: var(--gutter); }
.wrap-narrow { width: 100%; max-width: var(--measure-narrow); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section-y); }
.section-tight { padding-block: clamp(2.5rem, 6vw, 6rem); }

.section-head { max-width: 46ch; margin-bottom: clamp(1.75rem, 4.5vw, 4rem); }
.section-head .eyebrow { display: block; margin-bottom: 1.1rem; }
.section-head .t-lead { margin-top: 1.25rem; }

.rule { height: 1px; background: var(--hairline-2); border: 0; margin: 0; }

/* ------------------------------------------------------------------ nav -- */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--nav-h);
  background: rgba(251, 251, 248, 0.72);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid transparent;
  transition: background 0.4s var(--ease), border-color 0.4s var(--ease);
}
.nav.is-scrolled { border-bottom-color: var(--hairline); }

/* Over a dark hero the bar goes transparent and its contents flip to cream */
.nav.is-over-hero {
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom-color: transparent;
}
.nav.is-over-hero .nav-link,
.nav.is-over-hero .nav-brand-text { color: rgba(255, 255, 255, 0.88); }
.nav.is-over-hero .nav-link:hover { color: #fff; }
.nav.is-over-hero .burger span { background: rgba(255, 255, 255, 0.9); }

.nav-inner {
  height: 100%;
  max-width: var(--measure);
  margin-inline: auto;
  padding-inline: var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.nav-brand { display: flex; align-items: center; gap: 0.7rem; flex-shrink: 0; }
.nav-mark {
  width: 38px; height: 38px;
  flex-shrink: 0;
  border-radius: 8px;
  /* The olive tile is legible on both the light bar and the dark hero, so it
     is never filtered or swapped — it stays the brand mark everywhere. */
}
.nav-brand-text {
  font-size: 1.0625rem;
  font-weight: 600;
  letter-spacing: -0.012em;
  transition: color 0.4s var(--ease);
}

.nav-links { display: flex; align-items: center; gap: clamp(1.25rem, 2.6vw, 2.4rem); }
.nav-link {
  position: relative;
  font-size: 0.8125rem;
  font-weight: 400;
  color: var(--ink-soft);
  opacity: 0.86;
  transition: opacity 0.25s var(--ease), color 0.4s var(--ease);
}
.nav-link:hover { opacity: 1; }
.nav-link.is-active { font-weight: 500; opacity: 1; }
.nav-link.is-active::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -6px;
  height: 1.5px;
  background: currentColor;
  border-radius: 2px;
  opacity: 0.55;
}

.burger {
  display: none;
  width: 34px; height: 34px;
  margin-right: -6px;
  background: none; border: 0; padding: 0;
  cursor: pointer;
  flex-direction: column; justify-content: center; align-items: center; gap: 5px;
}
.burger span {
  display: block; width: 17px; height: 1.5px;
  background: var(--ink); border-radius: 2px;
  transition: transform 0.4s var(--ease), opacity 0.25s var(--ease), background 0.4s var(--ease);
}
.nav.is-open .burger span:first-child { transform: translateY(3.25px) rotate(45deg); }
.nav.is-open .burger span:last-child  { transform: translateY(-3.25px) rotate(-45deg); }

/* Mobile drawer */
.nav-drawer {
  position: fixed;
  inset: var(--nav-h) 0 auto 0;
  background: rgba(251, 251, 248, 0.97);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--hairline);
  padding: 0.5rem var(--gutter) 1.75rem;
  display: none;
  z-index: 99;
}
.nav-drawer a {
  display: block;
  padding: 0.95rem 0;
  font-size: 1.4rem;
  letter-spacing: -0.024em;
  font-weight: 500;
  border-bottom: 1px solid var(--hairline-2);
}
.nav-drawer a:last-child { border-bottom: 0; }

/* ---------------------------------------------------------------- button -- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 1.55rem;
  border-radius: 999px;
  font-size: 0.9375rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.28s var(--ease), background 0.28s var(--ease),
              color 0.28s var(--ease), border-color 0.28s var(--ease), opacity 0.28s var(--ease);
  will-change: transform;
}
.btn:hover { transform: translateY(-1.5px); }
.btn:active { transform: translateY(0); }

.btn-primary { background: var(--olive); color: var(--cream-soft); }
.btn-primary:hover { background: #7C7418; }

.btn-ghost { border-color: var(--hairline); color: var(--ink); background: transparent; }
.btn-ghost:hover { border-color: var(--ink); }

.btn-on-dark { background: rgba(255,255,255,0.14); color: #fff; border-color: rgba(255,255,255,0.3); backdrop-filter: blur(8px); }
.btn-on-dark:hover { background: rgba(255,255,255,0.24); }

/* Text link with a sliding chevron */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--olive-mid);
  font-size: 0.9375rem;
  font-weight: 500;
}
.link-arrow svg { transition: transform 0.32s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

/* ------------------------------------------------------------------ hero -- */
.hero {
  position: relative;
  min-height: min(100svh, 880px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--ink);
  isolation: isolate;
}
.hero-media { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.hero-media video,
.hero-media img { width: 100%; height: 100%; object-fit: cover; }

/* YouTube background film. The iframe is sized to COVER the viewport at 16:9 —
   whichever of width/height is the binding constraint — then centred, so no
   letterboxing shows. It fades in over the poster once playback starts. */
.hero-media iframe,
.hero-media .hero-yt-mount {
  position: absolute;
  top: 50%; left: 50%;
  /* Scaled past the container on purpose. YouTube draws its channel avatar and
     name across the top of an embedded player and no embed parameter removes it
     any more (modestbranding/showinfo are both deprecated). Overscaling pushes
     that strip outside the hero's overflow, which clips it. */
  transform: translate(-50%, -50%) scale(1.34);
  width: 100vw !important;      /* the player API sets its own dimensions */
  height: 56.25vw !important;   /* 16:9 relative to width */
  min-width: 177.78vh;
  min-height: 100vh;
  border: 0;
  pointer-events: none;         /* hero buttons stay clickable */
  opacity: 0;
  transition: opacity 1.1s var(--ease);
}
.hero-media.is-playing .hero-yt-mount,
.hero-media.is-playing iframe { opacity: 1; }
/* Keep the poster underneath as the fallback if the film never starts */
.hero-media.is-playing img { opacity: 1; }

/* Legibility scrim — stronger at the bottom where the type sits */
.hero-scrim {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(to top, rgba(6,7,8,0.86) 0%, rgba(6,7,8,0.46) 34%, rgba(6,7,8,0.12) 62%, rgba(6,7,8,0.34) 100%);
}

.hero-body { padding-bottom: clamp(2.5rem, 7vw, 7rem); padding-top: clamp(5rem, 14vw, 8rem); color: #fff; }
.hero-body .eyebrow { color: rgba(255,255,255,0.72); }
.hero h1 { color: #fff; margin: 1.1rem 0 0; max-width: 15ch; text-wrap: balance; }
.hero-sub {
  margin-top: 1.5rem;
  max-width: 46ch;
  font-size: clamp(1.05rem, 1.6vw, 1.3rem);
  line-height: 1.5;
  color: rgba(255,255,255,0.8);
  letter-spacing: -0.014em;
}
.hero-actions { margin-top: 2.25rem; display: flex; flex-wrap: wrap; gap: 0.75rem; }

/* Page header for interior pages */
.page-head {
  padding-top: calc(var(--nav-h) + clamp(2.25rem, 7vw, 8rem));
  padding-bottom: clamp(1.5rem, 4vw, 4rem);
}
.page-head h1 { margin-top: 1.1rem; max-width: 18ch; text-wrap: balance; }
.page-head .t-lead { margin-top: 1.5rem; max-width: 54ch; }

/* ----------------------------------------------------------------- stats -- */
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: clamp(1.25rem, 3.5vw, 3.5rem);
  border-top: 1px solid var(--hairline-2);
  padding-top: clamp(1.5rem, 3.5vw, 3rem);
}
.stat-n {
  font-size: clamp(2.25rem, 4.4vw, 3.4rem);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--olive);
  font-variant-numeric: tabular-nums;
}
.stat-l { margin-top: 0.7rem; font-size: 0.9375rem; color: var(--slate); letter-spacing: -0.01em; }

/* ------------------------------------------------------------- flagship -- */
.flagship { background: var(--ink); color: #fff; overflow: hidden; }
.flagship .eyebrow { color: var(--olive-light); }
.flagship h2 { color: #fff; }
.flagship .t-lead { color: rgba(255,255,255,0.66); }

.flagship-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(1rem, 2.2vw, 1.75rem);
  margin-top: clamp(1.75rem, 4.5vw, 4rem);
}
.flagship-grid figure { margin: 0; border-radius: var(--radius); overflow: hidden; background: #17181B; }
.flagship-grid img { width: 100%; height: 100%; object-fit: cover; }
.fg-wide { grid-column: span 8; aspect-ratio: 16 / 10; }
.fg-tall { grid-column: span 4; aspect-ratio: 4 / 5; }
.fg-half { grid-column: span 6; aspect-ratio: 3 / 2; }

.flagship-facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1.75rem 2.5rem;
  margin-top: clamp(1.75rem, 4.5vw, 3.5rem);
  padding-top: clamp(1.5rem, 3.5vw, 2.75rem);
  border-top: 1px solid rgba(255,255,255,0.13);
}
.flagship-facts dt { font-size: 0.75rem; letter-spacing: 0.13em; text-transform: uppercase; color: rgba(255,255,255,0.45); }
.flagship-facts dd { margin: 0.5rem 0 0; font-size: 1.0625rem; color: rgba(255,255,255,0.94); letter-spacing: -0.014em; }

/* ------------------------------------------------------------ portfolio -- */
.prop {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  padding-block: clamp(2rem, 5vw, 5.5rem);
  border-top: 1px solid var(--hairline-2);
}
.prop:first-of-type { border-top: 0; }
.prop.is-flipped .prop-media { order: 2; }

.prop-media {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--cream-soft);
  aspect-ratio: 3 / 2;
}
/* The legacy photos are 400px originals — scale + a whisper of blur hides
   upscaling artifacts at card size while staying crisp to the eye. */
.prop-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.9s var(--ease-out);
}
.prop:hover .prop-media img { transform: scale(1.028); }

.prop-body h3 { margin-bottom: 0.55rem; }
.prop-addr {
  font-size: 0.9375rem;
  color: var(--olive-mid);
  font-weight: 500;
  letter-spacing: -0.008em;
}
.prop-body p { margin-top: 1.15rem; }

.prop-note {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  color: var(--slate-light);
  font-style: italic;
  letter-spacing: -0.006em;
}

.prop-links { display: flex; flex-wrap: wrap; gap: 1.5rem; margin-top: 1.5rem; }

.prop-tags { display: flex; flex-wrap: wrap; gap: 0.45rem; margin-top: 1.5rem; }

/* Secondary image strip for properties that have a fuller photo set */
.prop-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(0.6rem, 1.2vw, 1rem);
  padding-bottom: clamp(2rem, 5vw, 5.5rem);
  margin-top: -0.5rem;
}
.prop-gallery figure {
  margin: 0;
  border-radius: 14px;
  overflow: hidden;
  background: var(--cream-soft);
  aspect-ratio: 4 / 3;
}
.prop-gallery img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.9s var(--ease-out);
}
.prop-gallery figure:hover img { transform: scale(1.04); }

@media (max-width: 760px) {
  .prop-gallery { grid-template-columns: repeat(2, 1fr); }
}
.tag {
  font-size: 0.8125rem;
  padding: 0.34rem 0.75rem;
  border-radius: 999px;
  background: var(--cream-soft);
  color: var(--slate);
  border: 1px solid var(--hairline-2);
  letter-spacing: -0.006em;
}
.tag-accent { background: rgba(107,100,16,0.09); color: var(--olive); border-color: rgba(107,100,16,0.16); }

/* Properties without photography: a designed brand panel, not a placeholder.
   Reads as an intentional editorial choice rather than a missing image. */
.prop-media--brand,
.tile-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.9rem;
  background:
    radial-gradient(120% 100% at 50% 0%, #7C7418 0%, var(--olive) 55%, #5C5609 100%);
}
.prop-brand-mark {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--cream);
  opacity: 0.92;
}
.prop-brand-kind {
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(226, 226, 202, 0.66);
}
.tile-brand { width: 100%; height: 100%; }

/* --------------------------------------------------------------- cards -- */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(1rem, 2vw, 1.5rem);
}
.card {
  background: var(--white);
  border: 1px solid var(--hairline-2);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 2.6vw, 2.25rem);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s var(--ease);
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px -22px rgba(14,15,17,0.22);
  border-color: var(--hairline);
}
.card h3 { margin-bottom: 0.65rem; }
.card-n {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--olive-mid);
  display: block;
  margin-bottom: 1.1rem;
}

/* Portfolio index tiles */
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: clamp(1rem, 2vw, 1.5rem); }
.tile {
  display: block;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--hairline-2);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.tile:hover { transform: translateY(-4px); box-shadow: 0 22px 46px -26px rgba(14,15,17,0.28); }
.tile-img { aspect-ratio: 16 / 10; overflow: hidden; background: var(--cream-soft); }
.tile-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease-out); }
.tile:hover .tile-img img { transform: scale(1.04); }
.tile-body { padding: 1.35rem 1.5rem 1.6rem; }
.tile-body h3 { font-size: 1.15rem; margin-bottom: 0.3rem; }

/* Tenant roster */
.tenant-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 0;
  border-top: 1px solid var(--hairline-2);
}
.tenant {
  padding: 0.9rem 0.25rem;
  border-bottom: 1px solid var(--hairline-2);
  font-size: 1.0625rem;
  letter-spacing: -0.012em;
  color: var(--ink);
}

/* The flagship page's gallery sits on the light canvas, not the dark section */
.la-gallery figure { background: var(--cream-soft); }

/* Video facade — thumbnail + play button; the iframe is injected on click */
.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: clamp(0.8rem, 1.6vw, 1.25rem);
}
.video-card {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--ink);
  aspect-ratio: 16 / 9;
  cursor: pointer;
  font: inherit;
  color: #fff;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.video-card:hover { transform: translateY(-3px); box-shadow: 0 20px 44px -24px rgba(14,15,17,0.4); }
.video-card > img {
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.82;
  transition: opacity 0.4s var(--ease), transform 0.9s var(--ease-out);
}
.video-card:hover > img { opacity: 0.95; transform: scale(1.03); }

.video-play {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 54px; height: 54px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: rgba(255,255,255,0.92);
  color: var(--olive);
  padding-left: 3px;
  transition: transform 0.4s var(--ease), background 0.3s var(--ease);
}
.video-card:hover .video-play { transform: translate(-50%, -50%) scale(1.08); background: #fff; }

.video-meta {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 2.5rem 1.1rem 1rem;
  display: flex; align-items: baseline; gap: 0.5rem;
  background: linear-gradient(to top, rgba(6,7,8,0.8), rgba(6,7,8,0));
  text-align: left;
}
.video-meta strong { font-size: 1rem; font-weight: 600; letter-spacing: -0.018em; }
.video-meta span { font-size: 0.875rem; color: rgba(255,255,255,0.66); }

.video-card iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ---------------------------------------------------------------- quote -- */
.quote { background: var(--cream-soft); }
.quote blockquote {
  margin: 0;
  font-size: clamp(1.4rem, 3vw, 2.35rem);
  line-height: 1.28;
  letter-spacing: -0.03em;
  font-weight: 500;
  text-wrap: balance;
}
.quote cite { display: block; margin-top: 1.75rem; font-style: normal; font-size: 0.9375rem; color: var(--slate); }

/* -------------------------------------------------------------- contact -- */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: clamp(1.5rem, 3.5vw, 3.5rem);
}
.contact-block h3 { font-size: 1.0625rem; margin-bottom: 0.9rem; }
.contact-block .eyebrow { display: block; margin-bottom: 1rem; }
.contact-line { display: block; margin-top: 0.4rem; color: var(--slate); font-size: 1.0625rem; }
.contact-line a { color: var(--ink); border-bottom: 1px solid var(--hairline); transition: border-color 0.25s var(--ease); }
.contact-line a:hover { border-color: var(--olive); color: var(--olive); }
.contact-role { font-size: 0.9375rem; color: var(--slate-light); margin-top: 0.15rem; }

/* ------------------------------------------------------------------ cta -- */
.cta { background: var(--olive); color: var(--cream-soft); text-align: center; }
.cta h2 { color: #fff; margin-inline: auto; max-width: 20ch; text-wrap: balance; }
.cta p { margin: 1.35rem auto 0; max-width: 48ch; color: rgba(255,255,255,0.8); font-size: 1.0625rem; }
.cta .btn { margin-top: 2.25rem; background: var(--cream-soft); color: var(--olive); }
.cta .btn:hover { background: #fff; }

/* --------------------------------------------------------------- footer -- */
.footer { background: var(--ink); color: rgba(255,255,255,0.62); padding-block: clamp(2.25rem, 5vw, 4.5rem) 2rem; }
.footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 2.5rem; }
.footer-brand { display: flex; align-items: center; gap: 0.6rem; margin-bottom: 1.15rem; }
.footer-brand img { width: 34px; height: 34px; border-radius: 7px; }
.footer-brand span { color: #fff; font-weight: 600; font-size: 1rem; letter-spacing: -0.014em; }
.footer p { font-size: 0.9375rem; max-width: 34ch; line-height: 1.6; }
.footer h4 { color: #fff; font-size: 0.75rem; letter-spacing: 0.13em; text-transform: uppercase; font-weight: 600; margin-bottom: 1.1rem; }
.footer li { margin-bottom: 0.65rem; }
.footer a { font-size: 0.9375rem; transition: color 0.25s var(--ease); }
.footer a:hover { color: #fff; }
.footer-bot {
  margin-top: clamp(1.75rem, 4.5vw, 4rem);
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.11);
  display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  font-size: 0.8125rem; color: rgba(255,255,255,0.42);
}

/* -------------------------------------------------------------- reveals -- */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
  transition-delay: var(--d, 0ms);
}
.reveal.is-in { opacity: 1; transform: none; }

/* ---------------------------------------------------------- breakpoints -- */
@media (max-width: 940px) {
  .fg-wide, .fg-tall, .fg-half { grid-column: span 12; }
  .fg-tall { aspect-ratio: 16 / 10; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand-col { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
  .nav-links { display: none; }
  .burger { display: flex; }
  .nav.is-open + .nav-drawer { display: block; }
  .prop { grid-template-columns: 1fr; gap: 1.75rem; }
  .prop.is-flipped .prop-media { order: 0; }
  .hero { min-height: 88svh; }
  .footer-top { grid-template-columns: 1fr; gap: 2rem; }
}

@media (max-width: 560px) {
  /* Phone-width spacing. The clamp floors above still read as generous on a
     375px screen, where a section could otherwise take ~100px of padding
     before any content appears. */
  :root { --section-y: 2.75rem; }
  .section-tight { padding-block: 2.25rem; }
  .section-head { margin-bottom: 1.5rem; }
  .section-head .t-lead { margin-top: 0.9rem; }
  .hero-body { padding-top: 4.5rem; padding-bottom: 2.25rem; }
  .hero h1 { margin-top: 0.85rem; }
  .hero-sub { margin-top: 1rem; }
  .hero-actions { margin-top: 1.5rem; }
  .page-head { padding-top: calc(var(--nav-h) + 1.75rem); padding-bottom: 1.25rem; }
  .page-head h1 { margin-top: 0.85rem; }
  .page-head .t-lead { margin-top: 1rem; }
  .prop { padding-block: 1.75rem; gap: 1.35rem; }
  .prop-gallery { padding-bottom: 1.75rem; }
  .stats { padding-top: 1.25rem; gap: 1.25rem; }
  .flagship-facts { margin-top: 1.5rem; padding-top: 1.5rem; gap: 1.25rem 1.5rem; }
  .footer { padding-block: 2rem 1.5rem; }
  .footer-bot { margin-top: 1.5rem; padding-top: 1.25rem; }
  .card { padding: 1.35rem; }
}

/* ------------------------------------------------------- accessibility -- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}

@media print {
  .nav, .nav-drawer, .hero-media, .cta { display: none; }
  body { background: #fff; }
}
