/* LGRE (lgre.us): styles
   Brand from the LGRE deck: near-black, gold #C5A55A, cream, serif headings, thin gold rules.
   Scale benchmarked against Prologis, EastGroup, Rexford, Faropoint, Stos Partners and Dalfen (Nov 2026):
   section headings 34–48px, regular-to-semibold weight, sentence case, with small uppercase labels above. */

:root {
  --ink: #0d0d0d;          /* page background (deck slide black) */
  --ink-2: #141414;        /* raised dark surface */
  --ink-3: #1b1b1b;        /* cards / inputs */
  --line: #2a2a2a;
  --gold: #c5a55a;         /* deck accent */
  --gold-deep: #8a6f2c;    /* gold text on light backgrounds (AA contrast) */
  --cream: #e5d6b5;
  --paper: #f7f5f0;        /* light sections (deck white slides) */
  --text: #f0ece2;
  --text-dim: #aba598;
  --text-dark: #1b1b1b;
  --text-dark-dim: #55514a;
  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --nav-h: 76px;
  --radius: 2px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--nav-h); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold); }
a:hover { color: var(--cream); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.container { width: min(1200px, 100% - 4rem); margin-inline: auto; }
.narrow { width: min(820px, 100% - 4rem); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 1rem; top: -3rem; z-index: 100; background: var(--gold); color: var(--ink); padding: .5rem 1rem; font-weight: 600; }
.skip-link:focus { top: 1rem; }

/* ---------- Type ---------- */
/* Eyebrow: small gold label with a short rule, used above every heading */
.eyebrow {
  display: flex; align-items: center; gap: .85rem;
  font-family: var(--sans); font-size: .76rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: .24em;
  color: var(--gold); margin: 0 0 1.1rem;
}
.eyebrow::before { content: ""; width: 36px; height: 1px; background: currentColor; flex: none; }
.section--light .eyebrow { color: var(--gold-deep); }

.title {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.18;
  letter-spacing: -.005em;
  font-size: clamp(1.75rem, 1.25rem + 1.6vw, 2.6rem);   /* 28px → 42px */
  margin: 0 0 1.5rem;
  color: var(--text-dark);
  max-width: 22ch;
  text-wrap: balance;
}
.title--light { color: var(--text); }
.lead { font-size: 1.15rem; line-height: 1.65; }
.prose p { margin: 0 0 1.1rem; }
.prose p:last-child { margin-bottom: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 50px; padding: .85rem 1.7rem;
  font: 600 .8rem/1 var(--sans); letter-spacing: .16em; text-transform: uppercase;
  text-decoration: none; border-radius: var(--radius); border: 1px solid transparent;
  cursor: pointer; transition: background-color .2s, color .2s, border-color .2s;
}
.btn--gold { background: var(--gold); color: var(--ink); }
.btn--gold:hover { background: var(--cream); color: var(--ink); }
.btn--ghost { border-color: rgba(240,236,226,.5); color: var(--text); }
.btn--ghost:hover { border-color: var(--gold); color: var(--gold); }
.btn--sm { min-height: 40px; padding: .6rem 1.1rem; font-size: .72rem; }
.btn[disabled] { opacity: .6; cursor: wait; }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(13,13,13,.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(197,165,90,.3);
}
.nav__inner { height: var(--nav-h); display: flex; align-items: center; justify-content: space-between; }
.nav__brand {
  font-family: var(--serif); font-weight: 700; font-size: 1.55rem; letter-spacing: .16em;
  color: var(--gold); text-decoration: none;
}
.nav__brand:hover { color: var(--cream); }
.nav__menu { display: flex; align-items: center; gap: 2.1rem; }
.nav__menu a:not(.btn) {
  color: var(--text-dim); text-decoration: none; font-size: .78rem; font-weight: 500;
  letter-spacing: .16em; text-transform: uppercase;
}
.nav__menu a:not(.btn):hover { color: var(--gold); }
.nav__toggle { display: none; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; padding: 0; }
.nav__bars, .nav__bars::before, .nav__bars::after {
  display: block; width: 24px; height: 2px; background: var(--text); margin-inline: auto;
  transition: transform .25s, opacity .25s; position: relative;
}
.nav__bars::before, .nav__bars::after { content: ""; position: absolute; left: 0; }
.nav__bars::before { top: -7px; }
.nav__bars::after { top: 7px; }
.nav__toggle[aria-expanded="true"] .nav__bars { background: transparent; }
.nav__toggle[aria-expanded="true"] .nav__bars::before { transform: translateY(7px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] .nav__bars::after { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: calc(100vh - var(--nav-h)); min-height: calc(100svh - var(--nav-h));
  display: flex; flex-direction: column; justify-content: flex-end;
}
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 60%; z-index: -2; }
.hero__shade {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(13,13,13,.9) 0%, rgba(13,13,13,.65) 48%, rgba(13,13,13,.15) 100%),
    linear-gradient(0deg, rgba(13,13,13,.95) 0%, rgba(13,13,13,0) 45%);
}
.hero__content { padding: clamp(5rem, 12vh, 9rem) 0 clamp(3rem, 7vh, 5rem); }
.hero__title {
  font-family: var(--serif); font-weight: 500; color: var(--text);
  font-size: clamp(2.2rem, 1.5rem + 2.8vw, 3.75rem);   /* 35px → 60px */
  line-height: 1.1; letter-spacing: -.01em;
  margin: 0 0 1.5rem; max-width: 24ch; text-wrap: balance;
}
.hero__lead { font-size: clamp(1.05rem, 1rem + .3vw, 1.25rem); line-height: 1.6; color: #d6d0c3; margin: 0 0 2.4rem; max-width: 52ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 1rem; }

/* Pillars strip along the bottom of the hero */
.hero__pillars { border-top: 1px solid rgba(197,165,90,.35); background: rgba(13,13,13,.55); backdrop-filter: blur(4px); }
.pillars { list-style: none; margin-block: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); }
.pillars li { padding: 1.4rem 1.5rem 1.5rem 0; display: grid; gap: .3rem; }
.pillars li + li { padding-left: 1.5rem; border-left: 1px solid rgba(240,236,226,.14); }
.pillars__label { font-size: .7rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); }
.pillars__value { font-family: var(--serif); font-size: 1.12rem; color: var(--text); }

/* ---------- Philosophy ---------- */
.philosophy { background: var(--ink); padding: clamp(4rem, 3rem + 4vw, 6.5rem) 0; border-bottom: 1px solid var(--line); }
.philosophy__inner { max-width: 980px; text-align: center; }
.philosophy .eyebrow { justify-content: center; }
.philosophy .eyebrow::after { content: ""; width: 36px; height: 1px; background: currentColor; }
.philosophy__text {
  font-family: var(--serif); font-weight: 400; font-style: italic;
  font-size: clamp(1.45rem, 1.1rem + 1.5vw, 2.25rem);  /* 23px → 36px */
  line-height: 1.4; color: var(--text); margin: 0;
}

/* ---------- Sections ---------- */
.section { padding: clamp(4.5rem, 3rem + 5vw, 7.5rem) 0; position: relative; }
.section--dark { background: var(--ink); }
.section--card { background: var(--ink-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section--light { background: var(--paper); color: var(--text-dark); }
.section--light .lead { color: var(--text-dark); }
.section--light .prose p:not(.lead) { color: var(--text-dark-dim); }
.section--light a { color: var(--gold-deep); }
.section__head { max-width: 760px; margin: 0 0 3.5rem; }
.section__head .title { max-width: 24ch; margin-bottom: 1rem; }
.section__head .lead { color: var(--text-dim); margin: 0; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.5rem, 6vw, 6rem); align-items: center; }
.split--reverse .split__text { order: 2; }
.split--reverse .split__media { order: 1; }
.split__media { margin: 0; }
.split__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
.split__media--tall img { aspect-ratio: 4 / 5; }

/* Approach steps */
.steps { list-style: none; margin: 2rem 0 0; padding: 0; display: grid; }
.steps li { display: grid; grid-template-columns: 3.2rem 1fr; gap: 1rem; padding: 1.3rem 0; border-top: 1px solid var(--line); }
.steps li:last-child { border-bottom: 1px solid var(--line); }
.steps__num { font-family: var(--serif); font-size: 1.15rem; color: var(--gold); line-height: 1.5; }
.steps h3 { font-family: var(--sans); font-weight: 600; font-size: 1rem; letter-spacing: .02em; margin: 0 0 .3rem; color: var(--text); }
.steps p { margin: 0; color: var(--text-dim); font-size: .98rem; }

/* Band */
.band { position: relative; isolation: isolate; overflow: hidden; padding: clamp(5rem, 4rem + 6vw, 9rem) 0; }
.band__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.band__shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(13,13,13,.9) 0%, rgba(13,13,13,.7) 55%, rgba(13,13,13,.45) 100%); z-index: -1; }
.band__title {
  font-family: var(--serif); font-weight: 400; color: var(--text);
  font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.35rem); line-height: 1.3;
  max-width: 30ch; margin: 0 0 2.2rem;
}
.band__actions { display: flex; flex-wrap: wrap; gap: 1rem; }

/* Why LGRE cards */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
.card {
  background: var(--ink-3); border: 1px solid var(--line); border-top: 2px solid var(--gold);
  padding: 2rem 1.6rem 2.2rem; border-radius: var(--radius);
  transition: transform .3s, border-color .3s;
}
.card:hover { transform: translateY(-4px); border-color: rgba(197,165,90,.55); }
.card__num { display: block; font-family: var(--serif); font-size: 1.6rem; color: var(--gold); line-height: 1; margin-bottom: 1.4rem; }
.card h3 { font-family: var(--serif); font-weight: 500; font-size: 1.22rem; line-height: 1.3; margin: 0 0 .75rem; color: var(--text); }
.card p { margin: 0; color: var(--text-dim); font-size: .96rem; }

/* FAQ */
.faq details { border-top: 1px solid #d9d3c5; }
.faq details:last-child { border-bottom: 1px solid #d9d3c5; }
.faq summary {
  list-style: none; cursor: pointer; padding: 1.15rem 2.5rem 1.15rem 0; position: relative;
  font-weight: 600; color: var(--text-dark);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: .25rem; top: 50%; transform: translateY(-50%);
  font-family: var(--serif); font-size: 1.5rem; color: var(--gold-deep); transition: transform .25s;
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq summary:hover { color: var(--gold-deep); }
.faq details p { margin: 0 0 1.2rem; color: var(--text-dark-dim); }

/* Forms */
.form { display: grid; gap: 1.25rem; margin-top: 2.4rem; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.field { display: grid; gap: .45rem; }
.field label { font-size: .74rem; font-weight: 600; text-transform: uppercase; letter-spacing: .16em; color: var(--cream); }
.field .opt { text-transform: none; letter-spacing: 0; font-weight: 400; color: var(--text-dim); }
.field input, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--text);
  background: var(--ink); border: 1px solid #383838; border-radius: var(--radius);
  padding: .85rem 1rem; transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 140px; }
.field input::placeholder, .field textarea::placeholder { color: #807a6e; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(197,165,90,.22); }
.field input.is-invalid, .field textarea.is-invalid { border-color: #e07a6a; }
.fieldset { border: 1px solid var(--line); border-radius: var(--radius); padding: 1.1rem 1.25rem 1.3rem; margin: 0; display: grid; gap: 1.1rem; min-width: 0; }
.fieldset legend { padding: 0 .5rem; font-size: .74rem; font-weight: 600; text-transform: uppercase; letter-spacing: .16em; color: var(--gold); }
.fieldset .field label { color: var(--text-dim); letter-spacing: .1em; }
.form__row--addr { grid-template-columns: 2fr .8fr 1.2fr; }
.field__hint { margin: 0; font-size: .82rem; color: var(--text-dim); }
.field input[type="file"] { padding: .7rem; cursor: pointer; color: var(--text-dim); }
.field input[type="file"]::file-selector-button {
  margin-right: 1rem; padding: .55rem 1rem; border: 1px solid var(--gold); border-radius: var(--radius);
  background: transparent; color: var(--gold); font: 600 .72rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; cursor: pointer;
}
.field input[type="file"]::file-selector-button:hover { background: var(--gold); color: var(--ink); }
.form__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; margin-top: .4rem; }
.form__status { margin: 0; font-size: .95rem; }
.form__status.is-ok { color: var(--gold); }
.form__status.is-err { color: #f0a090; }
.form--panel { background: var(--ink-2); border: 1px solid var(--line); border-top: 2px solid var(--gold); padding: clamp(1.5rem, 3vw, 2.5rem); margin-top: 0; align-self: start; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
#submit .lead { color: var(--text-dim); margin: 0; }
#submit .title { max-width: 26ch; margin-bottom: 1rem; }

/* Contact */
.contact .split { align-items: start; }
.contact .prose { color: var(--text-dim); }
.contact__list { margin: 2rem 0; display: grid; gap: 1rem; }
.contact__list div { display: grid; grid-template-columns: 110px 1fr; gap: 1rem; border-bottom: 1px solid var(--line); padding-bottom: 1rem; }
.contact__list dt { color: var(--gold); text-transform: uppercase; letter-spacing: .18em; font-size: .72rem; font-weight: 600; padding-top: .25rem; }
.contact__list dd { margin: 0; }
.contact__list a { color: var(--text); text-decoration-color: var(--gold); text-underline-offset: 3px; }
.contact__list a:hover { color: var(--gold); }
.contact__media { margin: 0; }
.contact__media img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius); }

/* Footer */
.footer { background: var(--ink); border-top: 1px solid rgba(197,165,90,.45); padding: 2rem 0 1.5rem; }
.footer__inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 2rem; align-items: center; }
.footer p { margin: 0; color: var(--text-dim); font-size: .9rem; }
.footer__brand span { font-family: var(--serif); font-weight: 700; color: var(--gold); letter-spacing: .14em; }
.footer .footer__copy { font-size: .82rem; }
.footer .footer__credits { margin: 1rem auto 0; font-size: .74rem; color: #8a857a; }

/* 404 */
.notfound { min-height: calc(100vh - var(--nav-h) - 120px); display: grid; place-items: center; text-align: center; padding: 5rem 0; }
.notfound .code { font-family: var(--serif); font-weight: 500; font-size: clamp(4.5rem, 3rem + 8vw, 8rem); color: var(--gold); line-height: 1; margin: 0 0 1rem; }
.notfound .rule { width: 80px; height: 1px; background: var(--gold); margin: 0 auto 1.5rem; }
.notfound p { color: var(--text-dim); margin: 0 0 2rem; }

/* Reveal on scroll (deck uses fade transitions) */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .card, .card:hover { transition: none; transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .nav__toggle { display: block; }
  .nav__menu {
    position: absolute; top: var(--nav-h); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--ink); border-bottom: 1px solid rgba(197,165,90,.3);
    padding: .5rem 1.5rem 1.5rem; display: none;
  }
  .nav__menu.is-open { display: flex; }
  .nav__menu a:not(.btn) { padding: .95rem 0; border-bottom: 1px solid var(--line); font-size: .85rem; }
  .nav__menu .btn { margin-top: 1.2rem; }
  .split, .split--reverse { grid-template-columns: 1fr; }
  .split--reverse .split__text, .split--reverse .split__media { order: 0; }
  .split__media--tall img { aspect-ratio: 4 / 3; }
  .pillars { grid-template-columns: 1fr; }
  .pillars li, .pillars li + li { padding: .9rem 0; border-left: 0; }
  .pillars li + li { border-top: 1px solid rgba(240,236,226,.12); }
}
@media (max-width: 640px) {
  .container, .narrow { width: min(100% - 2rem, 1200px); }
  .eyebrow { letter-spacing: .18em; }
  .hero__shade { background: linear-gradient(0deg, rgba(13,13,13,.96) 0%, rgba(13,13,13,.75) 55%, rgba(13,13,13,.5) 100%); }
  .hero__actions .btn, .band__actions .btn { flex: 1 1 100%; }
  .cards, .form__row, .form__row--addr { grid-template-columns: 1fr; }
  .contact__list div { grid-template-columns: 1fr; gap: .2rem; }
  .footer__inner { flex-direction: column; align-items: flex-start; }
}
