/* ==========================================================================
   5Ds Leasing LLC
   ========================================================================== */

@font-face {
  font-family: "Overpass";
  src: url("fonts/overpass-latin-800-normal.woff2") format("woff2");
  font-weight: 800;
  font-display: swap;
}
@font-face {
  font-family: "Overpass";
  src: url("fonts/overpass-latin-600-normal.woff2") format("woff2");
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: "Overpass Mono";
  src: url("fonts/overpass-mono-latin-600-normal.woff2") format("woff2");
  font-weight: 600;
  font-display: swap;
}

:root {
  --paper: #ffffff;
  --steel: #f1f3f1;
  --ink: #18201b;
  --muted: #4f5a53;
  --line: #d5dbd6;
  --field-line: #7a857e;
  --green: #1d5b3b;
  --green-dark: #154630;
  --yellow: #f2b705;
  --yellow-dark: #d9a300;

  --font-display: "Overpass", "Helvetica Neue", Arial, sans-serif;
  --font-mono: "Overpass Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --font-body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --radius: 12px;
  --wrap: 72rem;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --section-space: clamp(4rem, 9vw, 7.5rem);
  --header-h: 4rem;
}

/* ---------- Base ---------- */

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
}

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

h1, h2, h3 {
  margin: 0;
  font-family: var(--font-display);
  line-height: 1.1;
  text-wrap: balance;
}

p { margin: 0; }

a { color: var(--green); text-underline-offset: 0.18em; }
a:hover { color: var(--green-dark); }

:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 3px;
}

[id] { scroll-margin-top: calc(var(--header-h) + 1rem); }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -3rem;
  z-index: 100;
  padding: 0.6rem 1rem;
  background: var(--ink);
  color: var(--paper);
  border-radius: 6px;
}
.skip-link:focus { top: 1rem; color: var(--paper); }

.eyebrow,
.label {
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  text-wrap: balance;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 2.75rem;
  padding: 0.7rem 1.25rem;
  border: 2px solid var(--yellow);
  border-radius: 8px;
  background: var(--yellow);
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1rem;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease;
}
.btn:hover { background: var(--yellow-dark); border-color: var(--yellow-dark); color: var(--ink); }

.btn--small { min-height: 2.5rem; padding: 0.55rem 1rem; font-size: 0.9375rem; }
.btn--large { min-height: 3.5rem; padding: 1rem 1.75rem; font-size: 1.125rem; }

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

/* ---------- Guide sign (signature element) ---------- */

.guide-sign {
  margin: 0;
  background: var(--green);
  color: #fff;
  border: 3px solid #fff;
  border-radius: 14px;
  box-shadow: 0 0 0 5px var(--green);
  font-family: var(--font-display);
  font-weight: 600;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
}

.site-header__inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-right: auto;
  color: var(--ink);
  text-decoration: none;
}
.brand:hover { color: var(--ink); }

.brand__mark {
  display: inline-block;
  padding: 0.3rem 0.5rem 0.15rem;
  background: var(--green);
  color: #fff;
  border: 2px solid #fff;
  border-radius: 7px;
  box-shadow: 0 0 0 2px var(--green);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.125rem;
  line-height: 1.1;
}

.brand__name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.125rem;
  padding-top: 0.15rem;
}

.site-nav { display: none; }

.site-nav ul {
  display: flex;
  gap: 1.75rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-nav a {
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 600;
  text-decoration: none;
}
.site-nav a:hover { color: var(--green); text-decoration: underline; }

@media (min-width: 40em) {
  .site-nav { display: block; }
}

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

.section { padding-block: var(--section-space); }
.section--tinted { background: var(--steel); }

.section__head { margin-bottom: clamp(2rem, 5vw, 3.5rem); }

.section__title {
  font-weight: 800;
  font-size: clamp(1.875rem, 2.5vw + 1rem, 2.75rem);
  letter-spacing: -0.015em;
}

.section__lede {
  margin-top: 0.75rem;
  max-width: 34rem;
  color: var(--muted);
  font-size: 1.125rem;
}

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

.hero { padding-top: clamp(2.5rem, 7vw, 6rem); }

.hero__grid {
  display: grid;
  gap: clamp(2.5rem, 6vw, 4rem);
  align-items: center;
}

.hero__copy .eyebrow { margin-bottom: 1.25rem; }

.hero__title {
  font-weight: 800;
  font-size: clamp(2.5rem, 5vw + 1rem, 4.5rem);
  line-height: 1;
  letter-spacing: -0.025em;
}

.hero__sub {
  margin-top: 1.25rem;
  margin-bottom: 2rem;
  max-width: 28rem;
  color: var(--muted);
  font-size: 1.1875rem;
}

.hero__media {
  position: relative;
  margin: 0 0 1.5rem;
}

.hero__media img {
  width: 100%;
  aspect-ratio: 1024 / 912;
  object-fit: cover;
  border-radius: var(--radius);
  background: var(--steel);
}

.hero__sign {
  position: absolute;
  left: 1rem;
  bottom: -1.5rem;
  display: grid;
  gap: 0.1rem;
  padding: 0.85rem 1.1rem 0.7rem;
  font-size: 1rem;
  line-height: 1.2;
}

.guide-sign__row strong {
  font-weight: 800;
  font-size: 1.5rem;
  margin-right: 0.3rem;
}
.guide-sign__row--small {
  margin-top: 0.25rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

@media (min-width: 56em) {
  .hero__grid { grid-template-columns: 5fr 7fr; }
  .hero__media { margin-bottom: 0; }
  .hero__sign { left: -1.75rem; bottom: 2rem; }
}

/* ---------- Why 5Ds ---------- */

.benefits {
  display: grid;
  gap: 2.5rem;
  margin: clamp(2rem, 5vw, 3.5rem) 0 0;
  padding: 0;
  list-style: none;
}

.benefit {
  padding-top: 1.25rem;
  border-top: 3px solid var(--ink);
}

.benefit__title {
  font-weight: 800;
  font-size: 1.375rem;
  margin-bottom: 0.5rem;
}

.benefit p { color: var(--muted); }

@media (min-width: 45em) {
  .benefits { grid-template-columns: repeat(3, 1fr); gap: clamp(2rem, 4vw, 3.5rem); }
}

/* ---------- Spaces ---------- */

.spaces {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 19rem), 1fr));
  gap: clamp(1.25rem, 3vw, 2rem);
  margin: 0;
  padding: 0;
  list-style: none;
}

.space {
  display: flex;
  flex-direction: column;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.space__media { position: relative; }

.space__media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: var(--steel);
}

.badge {
  position: absolute;
  top: 0.85rem;
  left: 0.85rem;
  padding: 0.35rem 0.6rem 0.25rem;
  border-radius: 6px;
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.2;
}
.badge--available { background: var(--yellow); color: var(--ink); }
.badge--leased { background: var(--ink); color: var(--paper); }

.space__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 1.5rem;
}

.space__name {
  font-weight: 800;
  font-size: 1.375rem;
}

.space__size {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin: 1rem 0 1.25rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--line);
}

.space__sqft {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 2.25rem;
  line-height: 1;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}
.space__sqft small {
  display: block;
  margin-bottom: 0.4rem;
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.space__sqft .unit {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0;
  margin-left: 0.2rem;
}

/* Area-proportional footprint: inner square vs. the largest building's square. */
.footprint {
  flex: none;
  width: 3.5rem;
  height: 3.5rem;
}
.footprint__max { fill: none; stroke: var(--field-line); stroke-width: 1; stroke-dasharray: 3 2; }
.footprint__this { fill: var(--green); }

.space__features {
  margin: 0 0 1.5rem;
  padding: 0;
  list-style: none;
  color: var(--muted);
  font-size: 1rem;
}
.space__features li {
  position: relative;
  padding-left: 1.1rem;
}
.space__features li + li { margin-top: 0.35rem; }
.space__features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 0.45rem;
  height: 2px;
  background: var(--green);
}

.space__body .btn { margin-top: auto; width: 100%; }

.noscript { color: var(--muted); }

/* ---------- Location ---------- */

.location {
  display: grid;
  gap: clamp(2.5rem, 5vw, 3.5rem);
  align-items: start;
}

.map iframe {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  min-height: 18rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--steel);
}

.map__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  margin-top: 1rem;
  font-family: var(--font-display);
  font-weight: 600;
}

.distance-sign {
  margin: 5px;
  padding: 1.5rem 1.5rem 1.25rem;
}

.distance-sign__title {
  padding-bottom: 1rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.5rem;
  line-height: 1.1;
}

.distance-sign__group {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 2px solid #fff;
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.distance-sign__list {
  margin: 0.15rem 0 0;
  padding: 0;
  list-style: none;
}

.distance-sign__row {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  min-height: 2.75rem;
  padding-block: 0.4rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
}
.distance-sign__row + .distance-sign__row { border-top: 1px solid rgba(255, 255, 255, 0.28); }

.distance-sign__name {
  display: flex;
  align-items: baseline;
  flex: 1;
  flex-wrap: wrap;
  gap: 0.2rem 0.45rem;
  min-width: 0;
}
.distance-sign__name small {
  font-weight: 500;
  font-size: 0.8rem;
  opacity: 0.8;
}

.distance-sign__time {
  margin-left: auto;
  font-weight: 800;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.distance-sign__time .sep { margin-inline: 0.2em; }

.shield {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  min-width: 1.9rem;
  height: 2.05rem;
  padding: 0 0.28rem 0.12rem;
  background: #fff;
  color: #111;
  border: 1.5px solid #111;
  border-radius: 0.3rem 0.3rem 0.85rem 0.85rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.8rem;
  line-height: 1;
}
.shield--interstate {
  color: #fff;
  border: 2px solid #fff;
  border-radius: 0.15rem 0.15rem 0.8rem 0.8rem;
  background: linear-gradient(#c8102e 0 40%, #003f87 40% 100%);
  box-shadow: 0 0 0 1px #111;
  font-size: 0.72rem;
}

.distance-sign__note {
  margin: 0.85rem 0.35rem 0;
  max-width: 36rem;
  color: var(--muted);
  font-size: 0.8rem;
}

@media (min-width: 56em) {
  .location { grid-template-columns: minmax(0, 1.05fr) minmax(22rem, 0.95fr); }
}

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

.contact {
  display: grid;
  gap: clamp(2.5rem, 5vw, 4rem);
  align-items: start;
}

.contact__details {
  display: grid;
  gap: 0.15rem;
  margin-top: 2rem;
  font-style: normal;
}
.contact__details .label { margin-top: 1.25rem; }
.contact__details .label:first-child { margin-top: 0; }

.inquiry {
  display: grid;
  gap: 1.25rem;
  padding: clamp(1.5rem, 4vw, 2.5rem);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.field { display: grid; gap: 0.4rem; }

.field label {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9375rem;
}

.req { color: var(--green); }

.field input,
.field textarea {
  width: 100%;
  min-height: 3rem;
  padding: 0.7rem 0.85rem;
  border: 1px solid var(--field-line);
  border-radius: 8px;
  background: var(--paper);
  color: var(--ink);
  font: inherit;
  font-size: 1rem;
}
.field textarea { resize: vertical; min-height: 7rem; }
.field input::placeholder,
.field textarea::placeholder { color: #6b756f; }

.field input:focus-visible,
.field textarea:focus-visible {
  outline: 3px solid var(--green);
  outline-offset: 0;
  border-color: var(--green);
}

.field input[aria-invalid="true"] { border-color: #b3261e; border-width: 2px; }

.inquiry__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.5rem;
  margin-top: 0.5rem;
}

.inquiry__note { color: var(--muted); font-size: 0.9375rem; }

.inquiry__status:empty { display: none; }
.inquiry__status {
  padding: 0.85rem 1rem;
  border-radius: 8px;
  background: var(--steel);
  border-left: 4px solid var(--green);
}
.inquiry__status.is-error { border-left-color: #b3261e; }

@media (min-width: 36em) {
  .inquiry { grid-template-columns: 1fr 1fr; }
  .field--full { grid-column: 1 / -1; }
}

@media (min-width: 56em) {
  .contact { grid-template-columns: 4fr 7fr; }
}

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

.site-footer {
  padding-block: 3rem;
  background: var(--green);
  color: #fff;
  font-size: 0.9375rem;
}

.site-footer__inner {
  display: grid;
  gap: 0.35rem;
}

.site-footer a { color: #fff; }
.site-footer a:hover { color: #fff; text-decoration-thickness: 2px; }
.site-footer :focus-visible { outline-color: #fff; }

.site-footer__name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.25rem;
  margin-bottom: 0.25rem;
}

.site-footer__copy { margin-top: 1rem; opacity: 0.85; }

@media (min-width: 56em) {
  .site-footer__inner {
    grid-template-columns: auto 1fr auto auto;
    align-items: baseline;
    column-gap: 2rem;
  }
  .site-footer__name { margin-bottom: 0; }
  .site-footer__copy { margin-top: 0; }
}
