:root {
  --bg: #102a17;
  --bg-deep: #08170d;
  --green: #274d2d;
  --green-2: #52724a;
  --cream: #f4efdf;
  --cream-2: #d9d0b9;
  --brown: #8a5e38;
  --line: rgba(244, 239, 223, 0.18);
}

* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body {
  min-height: 100vh;
  color: var(--cream);
  background:
    radial-gradient(circle at 78% 38%, rgba(82, 114, 74, .28), transparent 34%),
    radial-gradient(circle at 18% 78%, rgba(138, 94, 56, .14), transparent 30%),
    linear-gradient(135deg, var(--bg-deep), var(--bg));
  font-family: Arial, Helvetica, sans-serif;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .16;
  background-image:
    linear-gradient(rgba(255,255,255,.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.02) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.55), transparent 82%);
}

.page-shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: clamp(18px, 3vw, 44px);
}

.hero {
  width: min(1180px, 100%);
  min-height: min(760px, calc(100vh - 56px));
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(380px, 1.08fr);
  border: 1px solid var(--line);
  border-radius: 28px;
  overflow: hidden;
  background: rgba(7, 20, 11, .48);
  box-shadow: 0 28px 80px rgba(0,0,0,.34);
  backdrop-filter: blur(6px);
}

.copy-side {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(34px, 6vw, 78px);
}

.copy-side::after {
  content: "";
  position: absolute;
  right: 0;
  top: 8%;
  bottom: 8%;
  width: 1px;
  background: linear-gradient(transparent, var(--line), transparent);
}

.eyebrow {
  width: fit-content;
  margin-bottom: 18px;
  padding: 8px 11px;
  border: 1px solid rgba(244,239,223,.2);
  border-radius: 999px;
  color: var(--cream-2);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .24em;
}

h1 {
  margin: 0;
  max-width: 620px;
  font-size: clamp(68px, 9vw, 142px);
  line-height: .76;
  letter-spacing: -.075em;
  font-weight: 950;
  text-transform: uppercase;
}

.ticker {
  margin-top: 26px;
  color: #a9c29d;
  font-size: clamp(18px, 2vw, 26px);
  font-weight: 800;
  letter-spacing: .08em;
}

.ca-box {
  width: 100%;
  margin-top: 48px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  color: inherit;
  background: rgba(244,239,223,.07);
  border: 1px solid rgba(244,239,223,.16);
  border-radius: 14px;
  cursor: pointer;
  text-align: left;
  transition: transform .18s ease, background .18s ease, border-color .18s ease;
}

.ca-box:hover {
  transform: translateY(-2px);
  background: rgba(244,239,223,.11);
  border-color: rgba(244,239,223,.3);
}

.ca-label,
.copy-state {
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .13em;
}
.ca-label { color: #91aa88; }
.copy-state { color: var(--cream); }
.ca-value {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--cream-2);
  font-family: "Courier New", monospace;
  font-size: 13px;
}

.links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 12px;
}

.links a {
  min-height: 54px;
  display: grid;
  place-items: center;
  padding: 12px 10px;
  border: 1px solid rgba(244,239,223,.17);
  border-radius: 13px;
  color: var(--cream);
  background: rgba(255,255,255,.035);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .09em;
  text-decoration: none;
  transition: transform .18s ease, background .18s ease, border-color .18s ease;
}
.links a:hover {
  transform: translateY(-2px);
  background: var(--cream);
  color: var(--bg-deep);
  border-color: var(--cream);
}
.links a.is-disabled { opacity: .35; pointer-events: none; }

.portrait-side {
  position: relative;
  min-height: 520px;
  padding: clamp(18px, 2.8vw, 34px);
  display: flex;
  align-items: stretch;
}

.portrait-side::before {
  content: "";
  position: absolute;
  width: 66%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: rgba(78, 112, 67, .28);
  filter: blur(50px);
  left: 10%;
  bottom: 7%;
}

.portrait-frame {
  position: relative;
  z-index: 1;
  width: 100%;
  min-height: 100%;
  overflow: hidden;
  border-radius: 20px;
  border: 1px solid rgba(244,239,223,.13);
  background: #18291a;
}

.portrait-frame img {
  width: 100%;
  height: 100%;
  min-height: 100%;
  display: block;
  object-fit: cover;
  object-position: 50% 28%;
  filter: saturate(.88) contrast(1.03);
}

.portrait-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  box-shadow: inset 0 0 90px rgba(0,0,0,.2);
}

@media (max-width: 820px) {
  .page-shell { padding: 12px; align-items: start; }
  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    border-radius: 22px;
  }
  .copy-side {
    padding: 34px 22px 24px;
  }
  .copy-side::after { display: none; }
  h1 {
    font-size: clamp(64px, 22vw, 104px);
    line-height: .78;
  }
  .ticker { margin-top: 22px; }
  .ca-box { margin-top: 30px; }
  .portrait-side {
    min-height: 0;
    padding: 0 12px 12px;
  }
  .portrait-frame {
    aspect-ratio: 4 / 5;
    min-height: 0;
  }
  .portrait-frame img { object-position: 50% 20%; }
}

@media (max-width: 480px) {
  .links { grid-template-columns: 1fr; }
  .links a { min-height: 48px; }
  .ca-box {
    grid-template-columns: auto minmax(0, 1fr);
  }
  .copy-state {
    grid-column: 1 / -1;
    padding-top: 6px;
    border-top: 1px solid rgba(244,239,223,.1);
  }
}
