/* PT Betttech Global Ventures - pt-bgv.com
   "Lombok" house style: rainforest green, warm sand, ocean teal, sunset coral.
   Headings in Fraunces (Google Fonts), body in Archivo (shared with the Betttech group). */

@font-face {
  font-family: "Archivo Variable";
  src: url("fonts/archivo-latin-wght-normal.woff2") format("woff2-variations");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Archivo Variable";
  src: url("fonts/archivo-latin-ext-wght-normal.woff2") format("woff2-variations");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --jungle: #0f3b2e;       /* deep rainforest green: text, dark bands */
  --jungle-deep: #0a2a21;
  --leaf: #4f8a5b;         /* fronds, property accent */
  --sand: #f6efe3;         /* page */
  --shell: #fffaf2;        /* raised cards */
  --mist: #e6efe4;         /* pale green band */
  --ocean: #0e7c7b;        /* links, technology accent */
  --coral: #e07a4f;        /* buttons */
  --coral-deep: #c9633a;
  --stone: #5f6b60;        /* secondary text */
  --rule: #ddd3c2;
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Archivo Variable", "Helvetica Neue", Arial, sans-serif;
  --t-sm: 0.875rem;
  --t-base: 1.125rem;
  --t-md: 1.5rem;
  --t-xl: clamp(2rem, 1.5rem + 2vw, 2.9rem);
  --t-hero: clamp(2.6rem, 1.6rem + 4.4vw, 5.4rem);
  --gutter: clamp(1.25rem, 4vw, 3.5rem);
  --max: 1200px;
  --section: clamp(4rem, 3rem + 5vw, 7.5rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--sand); color: var(--jungle); font-family: var(--sans); font-size: var(--t-base); line-height: 1.65; }
img, svg { display: block; max-width: 100%; }
a { color: var(--ocean); text-underline-offset: 0.22em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--coral); outline-offset: 3px; }

h1, h2, h3 { font-family: var(--serif); font-weight: 560; line-height: 1.08; letter-spacing: -0.01em; margin: 0 0 1rem; font-variation-settings: "SOFT" 60, "WONK" 0; }
h1 { font-size: var(--t-hero); font-weight: 520; }
h2 { font-size: var(--t-xl); }
h3 { font-size: 1.45rem; font-weight: 600; }
p { margin: 0 0 1rem; max-width: 64ch; }
.wrap { max-width: var(--max); margin: 0 auto; padding-inline: var(--gutter); position: relative; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 1rem; top: 1rem; background: var(--shell); padding: 0.5rem 1rem; z-index: 20; }
.eyebrow { max-width: none; display: inline-flex; align-items: center; gap: 0.6rem; font-size: var(--t-sm); font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--leaf); margin: 0 0 1rem; }
.eyebrow::before { content: ""; width: 1.6rem; height: 2px; background: currentColor; border-radius: 2px; }

/* Header sits over the hero photo */
.site-header { position: absolute; inset: 0 0 auto 0; z-index: 10; color: var(--sand); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 84px; }
.brand { display: inline-flex; align-items: center; gap: 0.75rem; color: inherit; text-decoration: none; }
.brand svg.mark { width: 34px; height: 30px; flex: none; }
.brand span { display: flex; flex-direction: column; line-height: 1.15; }
.brand b { font-family: var(--sans); font-weight: 620; font-stretch: 110%; font-size: 1.05rem; letter-spacing: 0.005em; }
.brand small { font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; opacity: 0.8; }
.nav { display: flex; align-items: center; gap: clamp(0.8rem, 2vw, 1.8rem); font-size: var(--t-sm); font-weight: 560; }
.nav a { color: inherit; text-decoration: none; }
.nav a:hover { text-decoration: underline; }
.lang { border: 1px solid rgba(246, 239, 227, 0.55); border-radius: 999px; padding: 0.22rem 0.7rem; }

/* Hero */
.hero { position: relative; min-height: min(92vh, 820px); display: flex; align-items: flex-end; color: var(--sand); background: var(--jungle) url("img/lombok-garden.jpg") center / cover no-repeat; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(10, 42, 33, 0.92) 0%, rgba(15, 59, 46, 0.78) 42%, rgba(15, 59, 46, 0.25) 75%, rgba(15, 59, 46, 0.1) 100%), linear-gradient(0deg, rgba(10, 42, 33, 0.55), transparent 45%); }
.hero .wrap { padding-top: 140px; padding-bottom: clamp(7rem, 5rem + 6vw, 10rem); width: 100%; }
.hero .eyebrow { color: #f2b48f; }
.hero h1 { max-width: 13ch; margin-bottom: 1.4rem; }
.hero .lede { font-size: clamp(1.1rem, 1rem + 0.45vw, 1.35rem); max-width: 54ch; color: #efe8da; }
.frond { position: absolute; pointer-events: none; }
.hero .frond.f1 { right: -60px; top: -40px; width: clamp(220px, 28vw, 420px); color: var(--leaf); opacity: 0.55; }
.hero .frond.f2 { right: 12%; top: -70px; width: clamp(140px, 16vw, 240px); color: #6ba368; opacity: 0.35; transform: rotate(18deg); }
.wave { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: clamp(40px, 6vw, 90px); }

.ctas { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2rem; }
.btn { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.9rem 1.5rem; border-radius: 999px; font-weight: 650; font-size: 1rem; text-decoration: none; background: var(--coral); color: #fff; border: 2px solid var(--coral); box-shadow: 0 8px 20px -10px rgba(224, 122, 79, 0.8); }
.btn:hover { background: var(--coral-deep); border-color: var(--coral-deep); text-decoration: none; }
.btn.ghost { background: transparent; color: inherit; border-color: currentColor; box-shadow: none; opacity: 0.95; }
.btn.ghost:hover { background: rgba(255, 255, 255, 0.08); }
.btn.dark { background: var(--jungle); border-color: var(--jungle); box-shadow: none; }
.btn.dark:hover { background: var(--jungle-deep); border-color: var(--jungle-deep); }

/* Two arms, lifted over the wave */
.arms { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-top: clamp(-5rem, -3rem - 2vw, -3rem); position: relative; z-index: 2; padding-bottom: var(--section); }
.arm { background: var(--shell); border-radius: 28px 28px 28px 6px; padding: clamp(1.6rem, 3vw, 2.6rem); box-shadow: 0 24px 50px -30px rgba(15, 59, 46, 0.45); display: flex; flex-direction: column; border-top: 6px solid var(--leaf); }
.arm.tech { border-top-color: var(--ocean); border-radius: 28px 28px 6px 28px; }
.arm .icon { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--mist); color: var(--leaf); margin-bottom: 1.1rem; }
.arm.tech .icon { background: #dcefee; color: var(--ocean); }
.arm .icon svg { width: 28px; height: 28px; }
.arm .num { font-size: var(--t-sm); font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--stone); margin-bottom: 0.4rem; }
.arm p { color: var(--stone); }
.arm .go { margin-top: auto; padding-top: 0.75rem; font-weight: 650; }

/* Sections */
.section { padding-block: var(--section); position: relative; }
.section-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: clamp(1.5rem, 4vw, 5rem); margin-bottom: clamp(2rem, 4vw, 3.5rem); align-items: end; }
.section-head p { color: var(--stone); }

.project { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 4rem); align-items: center; }
.project figure { margin: 0; position: relative; }
.project img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 120px 28px 120px 28px; }
.project figcaption { font-size: var(--t-sm); color: var(--stone); margin-top: 0.6rem; }
.facts { list-style: none; margin: 0 0 1.75rem; padding: 0; }
.facts li { display: flex; justify-content: space-between; gap: 1rem; padding: 0.8rem 0; border-bottom: 1px dashed var(--rule); font-size: 1rem; }
.facts li span:first-child { color: var(--stone); }
.facts li span:last-child { text-align: right; font-weight: 600; }

.band { background: var(--mist); }
.band .wave-top, .band .wave-bottom { position: absolute; left: 0; right: 0; width: 100%; height: clamp(30px, 5vw, 70px); }
.band .wave-top { top: -1px; }
.band .wave-bottom { bottom: -1px; }
.services { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
.service { background: var(--shell); border-radius: 22px; padding: 1.6rem 1.7rem; position: relative; }
.service .n { position: absolute; top: 1.4rem; right: 1.5rem; font-family: var(--serif); font-size: 1.6rem; color: #b9d6d5; }
.service h3 { color: var(--jungle); padding-right: 2.5rem; }
.service p { color: var(--stone); margin-bottom: 0.75rem; }
.service .tags { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.service .tags span { font-size: 0.8rem; font-weight: 600; color: var(--ocean); background: #dcefee; border-radius: 999px; padding: 0.2rem 0.65rem; }
.note { margin-top: 1.75rem; padding: 1.2rem 1.5rem; background: var(--shell); border-radius: 16px; border-left: 4px solid var(--ocean); font-size: 1rem; color: var(--stone); }
.note p { max-width: none; margin: 0; }

.company { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr); gap: clamp(1.5rem, 4vw, 5rem); }
.reg { width: 100%; border-collapse: collapse; font-size: 1rem; background: var(--shell); border-radius: 22px; overflow: hidden; }
.reg th, .reg td { text-align: left; vertical-align: top; padding: 0.85rem 1.2rem; border-bottom: 1px solid var(--rule); }
.reg tr:last-child th, .reg tr:last-child td { border-bottom: 0; }
.reg th { width: 38%; font-weight: 600; color: var(--stone); }

/* Contact */
.contact { background: var(--jungle); color: var(--sand); padding-block: calc(var(--section) + 2rem) var(--section); position: relative; overflow: hidden; }
.contact .wave-top { position: absolute; left: 0; right: 0; top: -1px; width: 100%; height: clamp(30px, 5vw, 70px); }
.contact .eyebrow { color: #f2b48f; }
.contact p { color: #d7dfd3; }
.contact .frond { left: -70px; bottom: -60px; width: clamp(200px, 26vw, 380px); color: var(--leaf); opacity: 0.35; transform: rotate(-150deg); }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 5rem); align-items: start; position: relative; z-index: 1; }
.contact dl { margin: 0; display: grid; gap: 1.2rem; background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(246, 239, 227, 0.15); border-radius: 22px; padding: 1.6rem 1.8rem; }
.contact dt { font-size: var(--t-sm); font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: #9fc3a6; }
.contact dd { margin: 0.2rem 0 0; font-size: 1.05rem; }
.contact a { color: var(--sand); }

.site-footer { background: var(--jungle-deep); color: #a9b8ab; font-size: var(--t-sm); padding-block: 1.75rem; }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.75rem 2rem; }
.site-footer a { color: #f2b48f; }

/* 404 */
.plain-hero { min-height: 70vh; }

@media (max-width: 900px) {
  .arms, .section-head, .project, .services, .company, .contact-grid { grid-template-columns: minmax(0, 1fr); }
  .nav .hide-sm { display: none; }
  .hero::before { background: linear-gradient(180deg, rgba(10, 42, 33, 0.55) 0%, rgba(15, 59, 46, 0.82) 45%, rgba(10, 42, 33, 0.95) 100%); }
  .project img { border-radius: 70px 20px 70px 20px; }
}
@media (max-width: 520px) {
  .brand small { display: none; }
  .facts li { flex-direction: column; gap: 0.1rem; }
  .facts li span:last-child { text-align: left; }
  .reg th, .reg td { display: block; width: 100%; }
  .reg th { padding-bottom: 0; border-bottom: 0; }
}
