/* ==========================================================================
   Orient Innovation Park
   Page layer: the seven sections of the landing page.
   Each section uses a different layout family so the page never repeats
   itself on the way down.
   ========================================================================== */

/* ------------------------------------------------------------ 1. hero
   Asymmetric split. Copy on the left, the precinct render running full
   bleed off the right edge of the viewport.
   ------------------------------------------------------------------------ */
.hero {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  min-height: 100dvh;
  background: var(--bg);
}

.hero__copy {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: var(--sp-5);
  padding-block: calc(var(--header-h, 72px) + 3.5rem) 3.5rem;
  padding-inline: var(--gutter);
}

.hero__tagline {
  font-size: var(--fs-small);
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--accent);
}

.hero__title {
  margin: 0;
  font-size: var(--fs-display);
  font-weight: 800;
  line-height: var(--lh-tight);
  letter-spacing: var(--tr-display);
  color: var(--fg);
  text-wrap: balance;
  max-width: 22ch;
}

.hero__lead {
  margin: 0;
  font-size: var(--fs-lead);
  line-height: var(--lh-body);
  color: var(--fg-muted);
  max-width: 46ch;
}

.hero__lead strong {
  color: var(--fg);
  font-weight: 700;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3);
}

.hero__media {
  position: relative;
  height: 46vh;
  min-height: 280px;
  overflow: hidden;
}

.hero__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (min-width: 1024px) {
  .hero {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }

  .hero__copy {
    padding-block: calc(var(--header-h, 72px) + 2rem) 3rem;
    padding-inline: max(var(--gutter), calc((100vw - var(--shell)) / 2)) clamp(2.5rem, 5vw, 5rem);
  }

  .hero__media {
    height: auto;
    min-height: 0;
    border-left: 1px solid var(--line);
  }
}

/* --------------------------------------------------- 2. key figures
   Editorial figure row. Hairline separators, no cards.
   ------------------------------------------------------------------------ */
.figures {
  background: var(--bg-elev);
  border-block: 1px solid var(--line);
}

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

.figure-cell {
  padding: var(--sp-5) clamp(1rem, 2vw, 1.75rem) var(--sp-5) 0;
  border-top: 1px solid var(--line);
}

.figure-cell:nth-child(odd) {
  padding-left: 0;
  border-left: 0;
}

.figure-cell:nth-child(even) {
  border-left: 1px solid var(--line);
}

.figure-cell:nth-child(n + 3) {
  border-top: 1px solid var(--line);
}

.figure-cell__value {
  font-size: clamp(2.25rem, 4vw, 3.25rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--fg);
}

.figure-cell__label {
  margin-top: var(--sp-3);
  max-width: 22ch;
}

@media (min-width: 900px) {
  .figures__grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .figure-cell {
    padding: var(--sp-6) clamp(1.25rem, 2.5vw, 2rem);
    border-top: 0;
  }

  .figure-cell:first-child {
    padding-left: 0;
    border-left: 0;
  }

  .figure-cell:nth-child(even) {
    padding-right: 0;
  }

  .figure-cell:nth-child(n + 3) {
    border-top: 0;
  }

  .figure-cell:not(:first-child) {
    border-left: 1px solid var(--line);
  }
}

/* ------------------------------------------------------- 3. the units
   Asymmetric bento. Three cells, three pieces of content, no empties.
   ------------------------------------------------------------------------ */
.units__grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(1rem, 1.8vw, 1.5rem);
}

.unit {
  display: flex;
  flex-direction: column;
  background: var(--bg-elev);
  border: 1px solid var(--line);
  overflow: hidden;
}

.unit--a {
  grid-column: span 12;
}

.unit--b {
  grid-column: span 12;
}

.unit--c {
  grid-column: span 12;
}

.unit__media {
  position: relative;
  overflow: hidden;
  background: var(--bg-sunken);
}

.unit__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--dur-slow) var(--ease);
}

.unit:hover .unit__media img {
  transform: scale(1.03);
}

.unit__body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--sp-3);
  padding: clamp(1.5rem, 2.6vw, 2.25rem);
  flex: 1;
}

.unit__title {
  margin: 0;
  font-size: var(--fs-h3);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--fg);
}

.unit__price {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 1.0625rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--accent);
}

.unit__text {
  margin: 0;
  font-size: var(--fs-small);
  color: var(--fg-muted);
  max-width: 46ch;
}

.unit__tag {
  display: inline-block;
  padding: 4px 10px;
  background: var(--accent-soft);
  border: 1px solid var(--accent-line);
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
}

.unit__foot {
  margin-top: auto;
  padding-top: var(--sp-4);
}

@media (min-width: 768px) {
  .unit--a {
    grid-column: span 8;
  }

  .unit--b {
    grid-column: span 4;
  }

  .unit__media {
    height: clamp(260px, 30vw, 400px);
  }

  .unit--c {
    grid-column: span 12;
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  }

  .unit--c .unit__media {
    height: 100%;
    min-height: 320px;
  }
}

/* ------------------------------------------------------ 4. opportunity
   Split editorial on a sunken surface. The figure is the visual, the
   commitments are the detail.
   ------------------------------------------------------------------------ */
.opportunity {
  background: var(--bg-sunken);
}

.opportunity__grid {
  display: grid;
  gap: clamp(2rem, 4.5vw, 4.5rem);
  align-items: stretch;
}

.opportunity .head {
  display: flex;
  flex-direction: column;
  margin-bottom: 0;
}

.opportunity .cluster {
  margin-top: auto;
  padding-top: var(--sp-6);
}

.opportunity__figure {
  font-size: clamp(3.75rem, 9vw, 6.5rem);
  font-weight: 800;
  line-height: 0.9;
  letter-spacing: -0.05em;
  color: var(--accent);
}

.opportunity__caption {
  margin-top: var(--sp-3);
  color: var(--fg-muted);
  font-size: var(--fs-small);
}

.commitments {
  display: grid;
}

.commitment {
  padding-block: var(--sp-5);
  border-top: 1px solid var(--line);
}

.commitment:first-child {
  padding-top: 0;
  border-top: 0;
}

.commitment__label {
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 0.25rem;
}

.commitment__text {
  margin: 0;
  font-size: var(--fs-small);
  color: var(--fg-muted);
  max-width: 52ch;
}

@media (min-width: 900px) {
  .opportunity__grid {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  }
}

/* ---------------------------------------------------- 5. sale process
   Connected horizontal timeline.
   ------------------------------------------------------------------------ */
.process__grid {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.process__step {
  display: grid;
  gap: var(--sp-3);
  align-content: start;
  padding: var(--sp-5) 0 var(--sp-6);
  border-bottom: 1px solid var(--line);
}

.process__index {
  font-family: var(--font-mono);
  font-size: var(--fs-label);
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--accent);
}

.process__title {
  margin: 0;
  font-size: var(--fs-h3);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--fg);
}

.process__text {
  margin: 0;
  font-size: var(--fs-small);
  color: var(--fg-muted);
  max-width: 42ch;
}

@media (min-width: 860px) {
  .process__grid {
    grid-template-columns: repeat(3, 1fr);
    border-bottom: 1px solid var(--line);
  }

  .process__step {
    padding: var(--sp-5) clamp(1.25rem, 2.5vw, 2.25rem) var(--sp-6) 0;
    border-bottom: 0;
    border-left: 1px solid var(--line);
  }

  .process__step:first-child {
    padding-left: 0;
    border-left: 0;
  }
}

/* --------------------------------------------------------- 6. location
   Full bleed band with a panel floating over the frame.
   ------------------------------------------------------------------------ */
.location {
  background: var(--bg-sunken);
  padding-bottom: var(--section-y);
}

.location__media {
  height: clamp(320px, 46vh, 520px);
  overflow: hidden;
}

.location__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.location__panel {
  position: relative;
  margin-top: clamp(-120px, -11vw, -64px);
  max-width: 600px;
  padding: clamp(1.75rem, 3.5vw, 2.75rem);
  background: var(--bg-elev);
  border: 1px solid var(--line);
}

.location__panel .head {
  margin-bottom: var(--sp-5);
}

.location__facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: var(--sp-4);
  padding-block: var(--sp-5);
  margin-bottom: var(--sp-5);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.location__fact dt {
  font-family: var(--font-mono);
  font-size: var(--fs-label);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-faint);
}

.location__fact dd {
  margin: 0.375rem 0 0;
  font-size: var(--fs-small);
  font-weight: 600;
  color: var(--fg);
}

/* ---------------------------------------------------------- 7. contact
   Two column. Ways to reach the team, and the people behind them.
   ------------------------------------------------------------------------ */
.contact {
  background: var(--bg-elev);
}

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

.contact__title {
  margin: 0 0 var(--sp-4);
  font-size: var(--fs-h2);
  font-weight: 700;
  line-height: var(--lh-snug);
  letter-spacing: var(--tr-display);
  color: var(--fg);
  text-wrap: balance;
}

.contact__lines {
  display: grid;
  gap: var(--sp-4);
  margin: var(--sp-6) 0;
}

.contact__line {
  display: grid;
  gap: 0.25rem;
}

.contact__line a {
  font-weight: 700;
  color: var(--fg);
  transition: color var(--dur) var(--ease);
}

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

.agents {
  display: grid;
  gap: var(--sp-5);
}

@media (min-width: 720px) {
  .agents {
    grid-template-columns: repeat(2, 1fr);
    gap: clamp(1.5rem, 4vw, 3rem);
  }
}

.agent {
  padding-top: var(--sp-5);
  border-top: 1px solid var(--line);
}

.agent__name {
  margin: 0;
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--fg);
}

.agent__role {
  margin: 0.25rem 0 var(--sp-3);
  font-family: var(--font-mono);
  font-size: var(--fs-label);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-faint);
}

.agent__links {
  display: grid;
  gap: 0.25rem;
  font-size: var(--fs-small);
}

.agent__links a {
  color: var(--fg-muted);
  transition: color var(--dur) var(--ease);
}

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

.contact__note {
  margin: var(--sp-5) 0 0;
  font-size: var(--fs-small);
  color: var(--fg-faint);
}

@media (min-width: 900px) {
  .contact__grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.8fr);
  }
}
