/* Main webpage: editorial refinement of the existing Serambi Alam identity. */
:root {
  --polish-radius: 14px;
  --polish-rule: #c8cec1;
  --polish-paper: #f5f1eb;
}
body { -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4 { font-kerning: normal; }
button, input { caret-color: var(--cream); }
a { text-decoration-thickness: 1px; text-underline-offset: .3em; }
button:focus-visible, a:focus-visible, input:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 5px;
}
.arrow {
  display: inline-flex;
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  align-items: center;
  justify-content: center;
}
.arrow svg { width: 100%; height: 100%; }
.button .arrow, .text-link .arrow { transition: transform .25s ease; }
.button:hover .arrow, .text-link:hover .arrow { transform: translate(2px, -2px); }
.text-link .arrow-down { transform: none; }
.text-link:hover .arrow-down { transform: translateY(3px); }
.button { padding: 16px 24px; font-weight: 500; letter-spacing: .035em; }
.text-link { font-weight: 500; letter-spacing: .015em; }
.menu-button, .dialog-close { display: grid; place-items: center; }
.menu-button svg, .dialog-close svg { width: 22px; height: 22px; }
.site-nav { height: 100px; }
.site-nav .brand-link {
  width: 148px;
  height: 70px;
  padding: 7px 12px;
  background: var(--polish-paper);
  border-radius: 3px;
}
.site-nav .brand-link img {
  width: 100%;
  height: 56px;
  object-fit: contain;
  mix-blend-mode: multiply;
}
.site-nav:not(.scrolled) .nav-actions {
  padding: 0;
  gap: 24px;
  background: transparent;
}
.nav-actions > .text-link {
  min-height: 44px;
  padding-inline: 3px;
  border-bottom-color: #f5f1eb80;
}
.nav-actions .button, .menu-button {
  background: var(--forest);
  border: 1px solid #f5f1eb70;
  color: var(--cream);
}
.nav-actions .button { padding: 11px 17px; min-height: 46px; }
.menu-button { width: 46px; height: 46px; }
.nav-actions .button:hover, .menu-button:hover {
  background: var(--cream);
  color: var(--forest);
}
.site-nav.scrolled { height: 82px; background: var(--polish-paper); }
.site-nav.scrolled .brand-link { height: 66px; padding: 6px 12px; }
.site-nav.scrolled .brand-link img { height: 54px; }
.site-nav.scrolled .nav-actions > .text-link { border-bottom-color: var(--ink); }
@media (min-width: 801px) {
  .site-nav:not(.scrolled) .nav-actions > .text-link {
    background: var(--forest);
    min-height: 46px;
    padding: 10px 16px;
    border: 1px solid #f5f1eb70;
  }
}
.hero { padding-bottom: 142px; }
.hero-title {
  max-width: 1130px;
  font-size: clamp(48px, 5.35vw, 82px);
  line-height: 1.07;
  letter-spacing: -.025em;
}
.hero-subtitle { font-size: 12px; letter-spacing: .09em; margin-bottom: 25px; }
.hero-actions { gap: 28px; margin-top: 38px; }
.hero-actions .button { min-height: 54px; }
.hero-actions .text-link { min-height: 48px; font-size: 13px; letter-spacing: .01em; }
.hero-bottom { padding-top: 20px; bottom: 30px; }
.scroll-indicator { letter-spacing: .08em; min-height: 32px; gap: 16px; }
.scroll-indicator .arrow { width: 18px; height: 18px; flex-basis: 18px; }
.evidence-inner { max-width: 1440px; }
.ev { padding-block: 38px; }
.ev-value { font-variant-numeric: lining-nums; }
.ev-label { max-width: 25ch; margin: 10px auto 0; font-size: 12px; letter-spacing: .065em; line-height: 1.6; }
.chapter-side { gap: 16px; }
.chapter-side .chapter-no { color: var(--muted); font-size: 17px; }
.explorer-section .chapter-no, .path .chapter-no { color: #d2dbce; }
.chapter-side .eyebrow { font-size: 12px; letter-spacing: .12em; }
.chapter-side:after { max-width: 72px; }
.display { letter-spacing: -.025em; line-height: 1.08; }
.chapter-main { column-gap: 8%; row-gap: 20px; }
.chapter-main h2 { font-size: clamp(52px, 5.6vw, 80px); margin-bottom: 6px; }
.chapter-main p, .residents-head p { color: #47594d; line-height: 1.8; }
.chapter-main .lede { font-size: 19px; color: var(--ink); }
.chapter-main .story-photo { aspect-ratio: 4 / 5; max-height: 720px; }
.story-photo, .land-frame, .residents-feature, .res-card > img {
  border-radius: var(--polish-radius);
}
.photo-banner-overlay p { max-width: 740px; line-height: 1.16; text-wrap: balance; }
.land-gallery { gap: 8%; padding-top: 110px; padding-bottom: 120px; }
.land-item figcaption {
  font-size: 22px;
  line-height: 1.4;
  max-width: 31ch;
  padding-top: 16px;
  margin-top: 18px;
  border-top: 1px solid var(--polish-rule);
}
.explorer-stage { border-radius: var(--polish-radius); }
.residents-head { max-width: none; }
.residents-head > div:last-child {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  column-gap: 8%;
  align-items: end;
}
.residents-head h2 { font-size: clamp(50px, 5.5vw, 80px); margin: 0; }
.residents-head p { max-width: 56ch; font-size: 16px; }
.residents-feature { height: auto; aspect-ratio: 1280 / 720; }
.residents-feature > img { object-position: center 52%; }
.residents-feature-label { padding: 100px 32px 30px; }
.residents-feature h3 { font-size: 42px; }
.status-chip { font-size: 11px; letter-spacing: .06em; }
.residents-grid { gap: 40px 24px; margin-top: 36px; }
.res-card > img { aspect-ratio: 3 / 2; object-position: center; }
.res-card-label { padding-top: 18px; }
.res-card h4 { font-size: 26px; line-height: 1.2; }
.res-card .latin { font-size: 12px; letter-spacing: 0; line-height: 1.5; margin-top: 6px; }
.res-card .status-chip {
  padding: 0;
  border: 0;
  margin-top: 10px;
  color: #47594d;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .07em;
}
.pillars-head h2 { max-width: 890px; font-size: clamp(46px, 5vw, 72px); }
.pillar { padding-top: 32px; }
.pillar-num { margin-bottom: 24px; font-size: 20px; }
.pillar h3 { margin-bottom: 16px; font-size: 38px; }
.pillar p { font-size: 16px; line-height: 1.8; color: #47594d; }
.path h2 { font-size: clamp(50px, 5.4vw, 78px); }
.path-head { column-gap: 7%; }
.path-step { padding-top: 30px; padding-bottom: 34px; }
.path-step-number { top: 33px; }
.path-step p { max-width: 64ch; line-height: 1.8; }
.path-closing { font-size: clamp(32px, 3vw, 44px); margin-top: 72px; }
.waitlist { padding-top: 120px; padding-bottom: 100px; }
.waitlist h2 { font-size: clamp(52px, 5.5vw, 78px); letter-spacing: -.025em; line-height: 1.08; }
.waitlist .eyebrow { font-size: 12px; letter-spacing: .1em; }
.waitlist-inner > p:not(.eyebrow) { line-height: 1.8; }
.waitlist-art { opacity: .24; }
.waitlist-form { margin-top: 40px; }
.waitlist-form input[type=email] { padding-block: 18px; }
.waitlist-form button { font-size: 13px; font-weight: 500; letter-spacing: .02em; min-width: 92px; }
.waitlist-inner > .waitlist-note, .waitlist-inner > .waitlist-follow { font-size: 12px !important; }
.waitlist-follow a, .site-foot .foot-meta a { min-height: 44px; align-content: center; }
.waitlist-signoff { margin-top: 30px; }
.site-foot { padding-top: 28px; gap: 18px 40px; }
.site-foot .foot-brand { font-size: 25px; }
.site-foot .foot-brand small { font-size: 11px; letter-spacing: .08em; }
.site-foot .foot-copy { font-size: 11px; }
.menu-dialog { padding: 30px; }
.menu-dialog nav { gap: 12px; margin-top: 42px; }
.menu-dialog nav a { font-size: 34px; line-height: 1.15; padding-block: 14px; border-bottom: 1px solid #f5f1eb30; }
.dialog-close { color: var(--cream); }
@media (max-width: 1100px) {
  .residents-head > div:last-child { grid-template-columns: 1fr; gap: 24px; }
  .residents-head p { max-width: 62ch; }
  .residents-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 800px) {
  .hero-title { font-size: clamp(48px, 7.3vw, 64px); }
  .chapter-main .story-photo { aspect-ratio: 4 / 5; }
  .chapter-main .lede { font-size: 17px; }
  .land-gallery { padding-block: 76px; }
  .residents-feature { aspect-ratio: 1280 / 854; }
}
@media (max-width: 560px) {
  :root { --polish-radius: 12px; }
  .site-nav { padding-inline: 20px; height: 86px; }
  .site-nav .brand-link { width: 122px; height: 62px; padding: 6px 10px; }
  .site-nav .brand-link img { height: 50px; }
  .site-nav:not(.scrolled) .nav-actions { gap: 10px; }
  .nav-actions .button { min-height: 44px; padding: 10px 13px; gap: 12px; }
  .menu-button { width: 44px; height: 44px; }
  .site-nav.scrolled { height: 76px; }
  .site-nav.scrolled .brand-link { width: 122px; height: 60px; padding: 6px 10px; }
  .site-nav.scrolled .brand-link img { height: 48px; }
  .hero { padding: 120px 24px 138px; min-height: 680px; }
  .hero-title { font-size: clamp(41px, 11.5vw, 57px); line-height: 1.07; text-wrap: balance; }
  .hero-subtitle { font-size: 11px; letter-spacing: .065em; margin-bottom: 24px; }
  .hero-actions { margin-top: 30px; gap: 15px 22px; }
  .hero-actions .button { padding: 14px 18px; min-height: 50px; font-size: 12px; gap: 20px; }
  .hero-actions .text-link { font-size: 12px; min-height: 44px; letter-spacing: 0; }
  .hero-bottom { bottom: 24px; padding-top: 14px; }
  .scroll-indicator { font-size: 11px; }
  .ev { padding: 28px 8px; }
  .ev-label { font-size: 11px; letter-spacing: .04em; }
  .chapter, .residents { padding-block: 76px; }
  .chapter-main { gap: 22px; align-items: stretch; }
  .chapter-main h2, .residents-head h2 { font-size: clamp(46px, 12vw, 58px); text-wrap: balance; }
  .chapter-main p { font-size: 16px; }
  .chapter-main .lede { font-size: 18px; }
  .chapter-main .story-photo { aspect-ratio: 5 / 4; }
  .photo-banner-overlay { padding: 36px 24px; }
  .photo-banner-overlay p { font-size: 34px; line-height: 1.16; }
  .land-gallery { gap: 44px; padding-block: 70px; }
  .land-item figcaption { font-size: 21px; padding-top: 14px; margin-top: 15px; }
  .residents-head > div:last-child { gap: 22px; }
  .residents-head p { font-size: 16px; }
  .residents-feature { aspect-ratio: auto; background: transparent; overflow: visible; }
  .residents-feature > img { border-radius: var(--polish-radius); }
  .residents-feature-label { position: static; padding: 18px 0 0; background: none; color: var(--ink); }
  .residents-feature h3 { font-size: 34px; }
  .residents-feature .status-chip { padding: 0; border: 0; font-size: 11px; color: #47594d; }
  .residents-grid { gap: 30px 16px; margin-top: 32px; }
  .res-card h4 { font-size: clamp(21px, 5.6vw, 25px); }
  .res-card .latin { font-size: 11px; overflow-wrap: anywhere; }
  .res-card .status-chip { font-size: 11px; letter-spacing: .05em; }
  .pillars { padding-block: 76px; }
  .pillars-head h2 { font-size: 46px; }
  .pillar h3 { font-size: 35px; }
  .pillar p { font-size: 16px; }
  .path { padding-block: 76px; }
  .path h2 { font-size: clamp(44px, 11.8vw, 56px); }
  .path-step p, .path-lead { font-size: 16px; }
  .waitlist { padding-top: 106px; padding-bottom: 112px; }
  .waitlist-art { opacity: .25; }
  .waitlist h2 { font-size: min(52px, calc((100vw - 52px) / 5.75)); letter-spacing: -.025em; }
  .waitlist-inner > p:not(.eyebrow) { font-size: 15px; }
  .waitlist-form { margin-top: 32px; }
  .waitlist-form input[type=email] { padding: 16px; }
  .waitlist-form button { min-width: 78px; padding: 16px 20px; }
  .waitlist-signoff { margin-top: 24px; }
}
@media (max-width: 360px) {
  .site-nav { padding-inline: 16px; }
  .site-nav .brand-link { width: 108px; }
  .hero-actions { gap: 12px 16px; }
  .hero-actions .button { gap: 12px; padding-inline: 14px; }
  .hero-actions .text-link { font-size: 11px; }
  .residents-grid { gap: 26px 13px; }
}
@media (prefers-reduced-motion: reduce) {
  .button:hover .arrow, .text-link:hover .arrow, .text-link:hover .arrow-down { transform: none; }
}
