/* Design tokens and type */
:root {
  --forest: #14231b;
  --deep: #101813;
  --paper: #f8f7f1;
  --sand: #ece9de;
  --ink: #17241c;
  --muted: #4b594e;
  --gold: #dfbd78;
  --line: #d8d9cc;
  --type: "Aptos", "Segoe UI", system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--deep); color: var(--ink); font: 1rem/1.65 var(--type); }
a { color: inherit; }
:focus-visible { outline: 3px solid currentColor; outline-offset: 4px; }
[tabindex="-1"]:focus { outline: none; }
h1, h2, h3, p { margin: 0 0 1rem; }
h1, h2 { font-weight: 400; letter-spacing: -.045em; line-height: 1.04; }
h1 { font-size: clamp(3.35rem,8vw,7.6rem); margin-bottom: 1.45rem; }
h2 { font-size: clamp(2.55rem,5.1vw,5rem); font-weight: 600; letter-spacing: -.055em; line-height: 1.05; margin-bottom: 1.35rem; }
h3 { font-size: 1.32rem; line-height: 1.2; }
p:last-child { margin-bottom: 0; }
img { display: block; max-width: 100%; height: auto; }
.wrap { width: min(1220px,calc(100% - 3.5rem)); margin-inline: auto; }
.skip { position: absolute; left: 1rem; top: -10rem; background: white; padding: .5rem; z-index: 4; }
.skip:focus { top: .5rem; }

/* Masthead */
.mast { background: var(--deep); color: white; }
.bar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 76px; }
.brand {
  font-weight: 600;
  letter-spacing: .19em;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  white-space: nowrap;
}
.brand sup { letter-spacing: 0; font-size: .65em; color: var(--gold); }
.bar nav, .section-nav .wrap { display: flex; gap: clamp(.85rem,3vw,2.4rem); flex-wrap: wrap; }
.bar nav a, .section-nav a { text-decoration: none; font-size: .9rem; font-weight: 600; }
.bar nav a:hover, .section-nav a:hover, .foot a:hover { text-decoration: underline; text-underline-offset: .3em; }

/* Covers and calls to action */
.hero {
  position: relative;
  display: grid;
  align-items: center;
  color: #fff;
}
.hero-inner { padding-block: 5.5rem; }
.hero em { font-weight: 400; color: #f1d7a6; }
.hero p:not(.eyebrow) { font-size: 1.2rem; max-width: 38rem; color: #f3f2ea; margin-bottom: 1.85rem; }
.image-note {
  position: absolute;
  bottom: .7rem;
  right: 1.25rem;
  color: white;
  background: #101813c9;
  padding: .15rem .45rem;
  font-size: .78rem;
}
.eyebrow { font-size: .875rem; font-weight: 700; letter-spacing: .15em; color: #695124; margin-bottom: 1.15rem; }
.hero .eyebrow, .forest .eyebrow { color: var(--gold); }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: .65rem 1.2rem;
  font-weight: 700;
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: 2px;
}
.button:hover { filter: brightness(1.09); text-decoration: underline; text-underline-offset: .22em; }
.gold { background: var(--gold); color: #17180e; }
.dark { background: var(--forest); color: #fff; }
.outline { border-color: #e8d7b7; color: white; }
.actions { display: flex; flex-wrap: wrap; gap: .75rem; }

/* Content sections */
.section { padding-block: clamp(3.8rem,8vw,7.4rem); }
.paper { background: var(--paper); }
.sand { background: var(--sand); }
.forest { background: var(--forest); color: #fff; }
.forest p:not(.eyebrow) { color: #ebeee7; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem,7vw,7rem); align-items: start; }
.intro { align-items: center; }
.intro p:not(.eyebrow) { margin-bottom: 1.6rem; }
.logo-card { background: #000; display: grid; place-items: center; min-height: 280px; }
.lede { max-width: 51rem; font-size: 1.15rem; color: var(--muted); margin-bottom: 2rem; }
.section-nav { background: #eae8dc; border-bottom: 1px solid var(--line); }
.section-nav .wrap { padding-block: .9rem; }
.cards { display: grid; gap: 1rem; margin-top: 2rem; }
.two { grid-template-columns: repeat(2,1fr); }
.three { grid-template-columns: repeat(3,1fr); }
.cards article { border: 1px solid var(--line); background: #fffefa; padding: clamp(1.3rem,3.2vw,2.4rem); }
.cards ul { padding-left: 1.15rem; margin: 0; }
.cards li + li { margin-top: .35rem; }
.layers { margin-top: 3.5rem; }
.layer-grid {
  display: grid;
  grid-template-columns: repeat(5,1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.layer-grid div { background: #eeede4; padding: 1.1rem; }
.layer-grid span { display: block; margin-top: .35rem; }
.fee-list { list-style: none; padding: 0; margin: 0; }
.fee-list li { padding: .69rem 0 .69rem 1rem; border-top: 1px solid #81938468; border-left: 2px solid var(--gold); }
.table-wrap { overflow: auto; }
table { border-collapse: collapse; width: 100%; text-align: left; background: white; }
td, th { padding: 1rem; border-bottom: 1px solid var(--line); }
thead { background: var(--forest); color: white; }
td { font-variant-numeric: tabular-nums; }
td:last-child { font-weight: 700; }
small { display: block; color: var(--muted); font-weight: 400; }
details { border-top: 1px solid #b9c0ae; padding: .9rem 0; }
details:last-child { border-bottom: 1px solid #b9c0ae; }
summary { cursor: pointer; font-weight: 700; }
details p { margin: .6rem 0 0; }
.foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.25rem;
  color: #e9ebe4;
  padding-block: 1.6rem;
}
.foot p { margin: 0; font-size: .88rem; }
.foot > a:last-child { white-space: nowrap; }
@media (max-width:850px) {
  .three { grid-template-columns: 1fr; }
  .layer-grid { grid-template-columns: repeat(3,1fr); }
}
@media (max-width:620px) {
  .wrap { width: calc(100% - 2rem); }
  .split, .two { grid-template-columns: 1fr; }
  .layer-grid { grid-template-columns: repeat(2,1fr); }
  .hero-inner { padding-block: 3.5rem; }
  .foot { align-items: start; flex-direction: column; }
  .section-nav .wrap { gap: .55rem 1rem; }
  td, th { padding: .55rem; font-size: .88rem; }
}
@media (prefers-reduced-motion:reduce) {
  html { scroll-behavior: auto; }
}

/* Brand lockup and land cover */
.logo-lockup {
  width: 100%;
  min-height: 360px;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: .55rem;
  padding: 2rem .8rem;
  background: #000;
  color: white;
}
.logo-lockup strong {
  font-size: clamp(2rem,5vw,4rem);
  font-weight: 400;
  letter-spacing: .18em;
  line-height: 1.15;
  white-space: nowrap;
}
.logo-lockup strong span, .logo-lockup sup { color: var(--gold); }
.logo-lockup sup { font-size: .26em; letter-spacing: 0; vertical-align: super; }
.logo-lockup p {
  font-size: .9rem;
  letter-spacing: .13em;
  border-top: 1px solid var(--gold);
  padding-top: .9rem;
  margin-top: .4rem;
  text-align: center;
}
.cards .button { margin-top: .55rem; }
.land-hero {
  min-height: clamp(620px,82svh,900px);
  text-align: center;
  background: linear-gradient(180deg,#0f1b15a8,#0a1611a3 42%,#0a1611df),#16271e url(texas-land.webp) center/cover no-repeat;
}
.land-hero .hero-inner { padding-block: 3rem 4rem; }
.land-hero .eyebrow { margin-bottom: 1.2rem; }
.land-hero h1 { letter-spacing: normal; margin-bottom: 1.2rem; }
.hero-x, .hero-tagline { display: block; }
.hero-x { color: #f2d391; font-size: clamp(9rem,21vw,19rem); font-weight: 800; line-height: .8; }
.hero-tagline {
  margin-top: .7em;
  color: #fff;
  font-size: clamp(1.75rem,4vw,3.35rem);
  font-weight: 400;
  letter-spacing: .15em;
  line-height: 1.12;
  text-transform: uppercase;
}
.land-hero p:not(.eyebrow) { margin: 0 auto 1.6rem; max-width: 44rem; }
.land-hero .actions { justify-content: center; }
.forest .button { margin-top: .75rem; }
@media (max-width:620px) {
  .land-hero { min-height: 610px; }
  .hero-tagline { letter-spacing: .09em; }
}

/* Photo galleries and property intelligence */
.visual-grid { display: grid; gap: 1rem; margin-top: 2rem; }
.forest .lede { color: #e9eee7; }
.visual-grid figure { margin: 0; min-width: 0; }
.visual-grid img { width: 100%; height: auto; object-fit: cover; aspect-ratio: 4/5; }
.visual-grid figcaption { padding: 1rem 0; }
.visual-grid figcaption h3 { margin-bottom: .45rem; }
.city-gallery img { aspect-ratio: 3/2; }
.photo-credit { margin-top: .8rem; font-size: .875rem; color: var(--muted); }
@media (max-width:850px) {
  .visual-grid.three { grid-template-columns: repeat(3,minmax(0,1fr)); }
}
@media (max-width:620px) {
  .visual-grid.three { grid-template-columns: 1fr; }
  .visual-grid img { aspect-ratio: 4/3; }
}
.intel-preview { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.investor-block { margin-top: 2.8rem; }
.investor-list { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1rem; margin: 1rem 0 0; }
.investor-list div { padding: 1rem 0; border-top: 1px solid var(--line); }
.investor-list dt { font-weight: 700; }
.investor-list dd { margin: .45rem 0 0; color: var(--muted); }
@media (max-width:620px) {
  .investor-list { grid-template-columns: 1fr; }
}

/* Keyboard-operable workflow */
.sr-only, .workflow > input {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
.workflow { border: 0; padding: 0; margin: 1.75rem 0 0; min-inline-size: 0; }
.workflow > label {
  display: inline-block;
  cursor: pointer;
  padding: .65rem 1rem;
  border: 1px solid #738576;
  margin: 0 .35rem .65rem 0;
  font-weight: 650;
}
.workflow > input:checked + label { background: var(--gold); color: #17241c; border-color: var(--gold); }
.workflow > input:focus-visible + label { outline: 2px solid white; outline-offset: 4px; }
.workflow-scenes { margin-top: .45rem; }
.scene {
  display: none;
  background: #0d1712;
  border: 1px solid #566459;
  grid-template-columns: 1.35fr 1fr;
  align-items: center;
}
.scene img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.scene-copy { padding: clamp(1.25rem,4vw,3rem); }
.scene-copy h3 { font-size: clamp(1.55rem,3vw,2.55rem); color: var(--gold); letter-spacing: -.025em; }
#stage-find:checked ~ .workflow-scenes #scene-find, #stage-test:checked ~ .workflow-scenes #scene-test, #stage-fund:checked ~ .workflow-scenes #scene-fund {
  display: grid;
}
@media (max-width:700px) {
  .scene { grid-template-columns: 1fr; }
  .workflow > label { padding: .55rem .72rem; }
}
.land-hero .hero-summary { font-size: clamp(1.2rem,2.2vw,1.55rem); font-weight: 600; margin-bottom: .55rem; }
.platform-hero {
  background: radial-gradient(ellipse at 50% 32%,#324839,#0d1812 73%);
  min-height: clamp(580px,72svh,760px);
}
.platform-hero .image-note { display: none; }
.sourced-photo { margin: 0; }
.sourced-photo figcaption { margin-top: .65rem; font-size: .875rem; }
.rural-photo { margin: 2rem auto 0; }
.rural-photo img, .wall-photo img { width: 100%; aspect-ratio: 2.65/1; object-fit: cover; }
.wall-photo img { object-position: center 37%; }
.scene-copy .photo-credit { font-size: .875rem; margin-top: .85rem; }

/* Platform photos and forms */
@media (max-width:620px) {
  .rural-photo img, .wall-photo img { aspect-ratio: 16/9; }
}
.public-land-example { max-width: 51rem; margin-top: 1.4rem; }
.property-inquiry { display: grid; gap: .85rem; }
.property-inquiry label { display: grid; gap: .3rem; font-weight: 600; }
.property-inquiry :is(input, textarea, select) {
  width: 100%;
  padding: .65rem;
  border: 1px solid #879187;
  background: #fff;
  border-radius: .15rem;
  color: var(--ink);
  font: inherit;
}
.property-inquiry textarea { resize: vertical; }
.property-inquiry .button { justify-self: start; cursor: pointer; font: inherit; font-weight: 700; }
.property-inquiry [role=status]:empty { display: none; }
#participate { max-width: 44rem; }
.inquiry-contact { margin-top: 1rem; }

/* Lease, case study and institutional sections */
.land-hero p.hero-mechanism { font-size: 1.05rem; margin-bottom: .75rem; color: #fff; }
.text-link { display: inline-block; margin: .65rem 0 .65rem .6rem; text-underline-offset: .2em; }
.transaction { margin: 2.2rem 0; padding: clamp(1rem,3vw,2rem); background: #17241c; color: #f9f6ed; }
.transaction figcaption { font-size: 1.3rem; font-weight: 650; }
.transaction dl, .case-study {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 1rem;
  margin: 1.2rem 0;
}
.transaction dl > div, .case-study > div, .institutional-questions > div {
  border-top: 1px solid #9c927b;
  padding-top: .75rem;
}
.transaction dt, .case-study dt, .institutional-questions dt { font-weight: 700; }
.transaction dt { color: var(--gold); }
.transaction dd, .case-study dd, .institutional-questions dd { margin: .28rem 0 0; }
.case-study { grid-template-columns: repeat(4,minmax(0,1fr)); margin-top: 1.6rem; }
.institutional-questions { display: grid; gap: .85rem; }
.briefing { background: #f7f6ee; color: var(--ink); padding: clamp(1.2rem,3vw,2.45rem); }
.institutional .briefing p { color: var(--ink); }
@media (max-width:850px) {
  .case-study { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width:620px) {
  .transaction dl, .case-study { grid-template-columns: 1fr; }
}

/* The navigation remains expanded if its enhancement script is unavailable. */
[hidden] { display: none !important; }
.menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  min-height: 44px;
  padding: .45rem .9rem;
  border: 1px solid #a5ab99;
  border-radius: 2px;
  background: transparent;
  color: #fff;
  font: 600 .95rem/1.4 var(--type);
  cursor: pointer;
}
.menu-icon { display: grid; align-content: center; gap: 4px; width: 1rem; }
.menu-icon::before, .menu-icon::after { content: ""; height: 2px; background: currentColor; }
.menu-toggle[aria-expanded="true"] .menu-icon::before { transform: translateY(3px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-icon::after { transform: translateY(-3px) rotate(-45deg); }
.split > *, .cards > *, .scene > * { min-width: 0; }
.forest .photo-credit { color: #e9eee7; }
.table-wrap { max-width: 100%; }
.button { text-align: center; }
.button:focus-visible { outline-color: #a6792a; }
.property-inquiry :is(input, select, textarea) { min-width: 0; min-height: 44px; }

@media (width > 68rem) {
  #public-land .sourced-photo img { height: 800px; }
}

@media (max-width: 68rem) {
  .bar { flex-wrap: wrap; gap: 0 1rem; min-height: 4rem; padding-block: .55rem; }
  .bar nav { width: 100%; gap: .1rem 1.4rem; padding-block: .35rem; }
  .menu-toggle:not([hidden]) ~ nav { margin-top: .55rem; border-top: 1px solid #ffffff32; }
  .bar nav a, .section-nav a { display: inline-flex; align-items: center; min-height: 44px; }
  .section-nav .wrap { gap: 0 1.3rem; padding-block: .4rem; }
}

@media (max-width: 47.5rem) {
  .split, .two, .visual-grid.three { grid-template-columns: minmax(0, 1fr); }
  .logo-card, .logo-lockup { min-height: clamp(13rem, 47vw, 19rem); }
  .logo-lockup p { margin-bottom: 0; }
  .property-inquiry .button { max-width: 100%; }
  .section { padding-block: clamp(3rem, 9vw, 4.5rem); }
  .section-nav .wrap { gap: 0 .9rem; }
  .workflow > label { min-height: 44px; }
}

@media (max-width: 38.75rem) {
  .bar nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bar nav a { line-height: 1.25; padding: .4rem 0; }
  .land-hero:not(.platform-hero) {
    min-height: clamp(32rem, 78svh, 40rem);
    background-image: linear-gradient(180deg, #0f1b15a8, #0a1611a3 42%, #0a1611df),
                      image-set(url(texas-land-portrait-420.webp) 1x, url(texas-land-portrait-762.webp) 2x);
  }
  .land-hero .hero-inner { padding-block: 2.75rem 3.75rem; }
  .hero-x { font-size: clamp(6.5rem, 26vw, 9rem); }
  .hero-tagline { margin-top: .45em; font-size: clamp(1.45rem, 6vw, 2rem); }
  .hero p:not(.eyebrow) { font-size: 1.08rem; }
  .land-hero p.hero-mechanism { margin: .7rem auto 1.35rem; font-size: 1rem; }
  .land-hero .actions { gap: .55rem; }
  .platform-hero { min-height: clamp(27rem, 70svh, 36rem); }
  .image-note { bottom: .5rem; right: 1rem; }
  .workflow > label { display: block; margin-right: 0; }
  .fee-list, .case-study, .investor-list { overflow-wrap: break-word; }
  .table-wrap table { min-width: 31rem; }
  .foot { gap: .65rem; }
  .foot a { display: inline-flex; align-items: center; min-height: 44px; }
}

@media (max-width: 28rem) {
  .land-hero .actions { flex-direction: column; align-items: stretch; max-width: 22rem; margin-inline: auto; }
  .layer-grid { grid-template-columns: 1fr; }
  .intro .text-link { margin-left: 0; }
}

@media (forced-colors: active) {
  .workflow > input:checked + label { outline: 2px solid Highlight; }
  .menu-icon::before, .menu-icon::after { background: ButtonText; forced-color-adjust: none; }
  .button, .menu-toggle { border: 1px solid ButtonText; }
}
