:root {
  --bg: #d9d8d8;
  --surface: #f4f3f1;
  --surface-strong: #ffffff;
  --surface-soft: #ecebea;
  --ink: #31483a;
  --ink-strong: #24352c;
  --muted: #73767b;
  --line: rgba(49, 72, 58, 0.12);
  --line-strong: rgba(49, 72, 58, 0.2);
  --shadow: 0 18px 42px rgba(25, 34, 29, 0.08);
  --green: #42614b;
  --green-deep: #31483a;
  --green-soft: #e4ebe6;
  --purple: #6535ad;
  --purple-soft: rgba(101, 53, 173, 0.1);
  --hindsight: #254d30;
  --hindsight-soft: rgba(37, 77, 48, 0.1);
  --barrio: #111729;
  --barrio-soft: rgba(17, 23, 41, 0.08);
  --barrio-accent: #cf4238;
  --neva: #fd4e4e;
  --neva-soft: rgba(253, 78, 78, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(66, 97, 75, 0.12), transparent 24%),
    linear-gradient(180deg, #dfdede 0%, var(--bg) 48%, #d2d1d1 100%);
  font-family: "Avenir Next", "Segoe UI", "Helvetica Neue", sans-serif;
}

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

a {
  color: inherit;
}

.page-noise {
  display: none;
}

.site-header,
main,
.site-footer {
  position: relative;
  z-index: 1;
}

.site-header,
.hero,
.portfolio-grid,
.site-footer {
  width: min(1120px, calc(100vw - 2rem));
  margin-inline: auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 1.15rem 0 0;
}

.company-lockup {
  display: flex;
  align-items: center;
  gap: 0.95rem;
  text-decoration: none;
}

.company-mark {
  width: 4.25rem;
  height: 4.25rem;
  object-fit: cover;
  border-radius: 0.9rem;
  box-shadow: 0 10px 24px rgba(18, 18, 18, 0.14);
}

.company-copy {
  display: flex;
  flex-direction: column;
  gap: 0.18rem;
}

.company-name {
  font-size: 1.1rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  color: var(--ink-strong);
}

.company-line {
  font-size: 0.92rem;
  color: var(--muted);
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  padding: 0.35rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.38);
}

.site-nav a {
  padding: 0.55rem 0.85rem;
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
}

.site-nav a:hover {
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink-strong);
}

.hero {
  position: relative;
  padding: 4.75rem 0 2.25rem;
  overflow: hidden;
  background: transparent;
}

.hero::before {
  content: none;
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(49, 72, 58, 0.05) 1px, transparent 1px),
    linear-gradient(rgba(49, 72, 58, 0.05) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.32), transparent 72%);
  opacity: 0.35;
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  right: -1.5rem;
  top: 50%;
  width: min(34vw, 24rem);
  aspect-ratio: 1;
  background-image: url("assets/laos-holdings-logo-mark.png");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  opacity: 0.04;
  transform: translateY(-50%);
  pointer-events: none;
}

.hero-copy {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: clamp(2rem, 4vw, 3rem);
}

.eyebrow,
.summary-status {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.hero .eyebrow {
  color: var(--green-deep);
}

.hero-copy h1,
.summary-card h2 {
  margin: 0;
  font-family: "Avenir Next", "Segoe UI", "Helvetica Neue", sans-serif;
  font-weight: 800;
  letter-spacing: -0.055em;
  color: var(--ink-strong);
}

.hero-copy h1 {
  margin-top: 1rem;
  font-size: clamp(2.8rem, 5.6vw, 4.9rem);
  line-height: 0.96;
  max-width: 12ch;
}

.hero-body,
.summary-card p,
.site-footer {
  color: var(--muted);
  line-height: 1.7;
}

.hero-body {
  max-width: 48rem;
  margin: 1rem 0 0;
  font-size: 1.02rem;
}

.hero-actions {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.9rem;
  margin-top: 1.6rem;
  width: 100%;
}

.hero-actions .button {
  flex: 1 1 0;
  min-height: 3.4rem;
  font-size: 0.98rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.85rem 1.2rem;
  border-radius: 999px;
  border: 1px solid transparent;
  text-decoration: none;
  font-weight: 800;
}

.button-primary {
  color: #fff;
  background: var(--green);
  box-shadow: 0 12px 26px rgba(49, 72, 58, 0.15);
}

.button-secondary,
.button-muted {
  background: rgba(255, 255, 255, 0.56);
  border-color: var(--line);
}

.button-secondary {
  color: var(--ink-strong);
  background: transparent;
  border-color: var(--line-strong);
}

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

.summary-card,
.site-footer {
  border: 1px solid var(--line);
  background: rgba(244, 243, 241, 0.9);
  box-shadow: var(--shadow);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  padding: 0 0 1rem;
}

.summary-card {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  min-height: 100%;
  padding: 1.35rem;
  border-radius: 1.4rem;
}

.summary-card h2 {
  font-size: 1.5rem;
  line-height: 1.02;
}

.summary-card p {
  margin: 0;
}

.summary-card a {
  margin-top: auto;
  color: var(--green-deep);
  font-weight: 800;
  text-decoration: none;
}

.summary-note {
  margin-top: auto;
  color: var(--muted);
  font-weight: 800;
}

.summary-logo {
  display: flex;
  align-items: center;
  min-height: 4.5rem;
}

.summary-logo-continual img,
.summary-logo-neva img {
  max-width: 12rem;
}

.summary-logo-barrio img {
  width: 4rem;
  height: 4rem;
  border-radius: 0;
  object-fit: cover;
}

.summary-logo-barrio {
  gap: 0.85rem;
}

.summary-logo-barrio span {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--ink-strong);
  letter-spacing: -0.04em;
}

.summary-logo-hindsight {
  min-height: 4.5rem;
}

.summary-logo-hindsight span {
  font-size: 1.55rem;
  font-weight: 800;
  color: var(--hindsight);
  letter-spacing: -0.04em;
  text-transform: lowercase;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin: 1rem auto 2rem;
  padding: 1rem 1.15rem;
  border-radius: 1.25rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-weight: 800;
  color: var(--ink-strong);
  letter-spacing: -0.03em;
}

.footer-mark {
  width: 2.75rem;
  height: 2.75rem;
  object-fit: cover;
  border-radius: 0.7rem;
}

.site-footer p {
  margin: 0;
}

.section-reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 600ms ease, transform 600ms ease;
}

.section-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 960px) {
  .site-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .portfolio-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .company-lockup {
    align-items: flex-start;
  }

  .company-mark {
    width: 3.75rem;
    height: 3.75rem;
  }

  .site-nav {
    width: 100%;
    border-radius: 1rem;
  }

  .hero {
    padding-top: 3.25rem;
  }

  .hero::after {
    width: 14rem;
    right: -3rem;
  }

  .hero-actions {
    flex-direction: column;
  }

  .site-footer {
    justify-content: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .section-reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
