/* Perizinan Manado, mockup A "Teluk Senja": Manado Bay at dusk. Lilac-white surfaces, night indigo, a coral sun
   for actions. Inner pages reuse .wrap, .i, .btn, .chip, header, nav, drawer, brand, footer, mbar and the chat. */

:root {
  --bg-page: #f5f4fb;
  --card: #ffffff;
  --raised: #ecebf8;
  --ink: #1d1838;
  --ink-2: #4a4466;
  --muted: #6a6385;
  --line: rgba(36, 30, 78, .12);
  --deep-950: #1a1540;
  --deep-900: #241e4e;
  --deep-700: #3a3175;
  --deep-100: #dcd8f2;
  --deep-50: #efedfa;
  --lilac: #9c93d8;
  --brand-500: #f2614c;
  --brand-600: #e14d38;
  --brand-700: #b3361f;
  --brand-100: #ffe3dc;
  --bg: var(--raised);
  --shadow-md: 0 12px 32px rgba(36, 30, 78, .10);
  --ease: cubic-bezier(.22, 1, .36, 1);
  --font: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --display: 'Unbounded', 'Manrope', system-ui, sans-serif;
  --header-h: 88px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.6; color: var(--ink); background: var(--bg-page); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--deep-700); text-underline-offset: 3px; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; }
p { margin: 0; }
button, input, select, textarea { font: inherit; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

.wrap { width: min(1240px, 100% - 48px); margin-inline: auto; }
.i { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip:focus { position: fixed; z-index: 100; top: 12px; left: 12px; width: auto; height: auto; padding: 12px 16px; margin: 0; clip: auto; background: var(--card); color: var(--ink); border-radius: 14px; box-shadow: var(--shadow-md); }
:focus-visible { outline: 3px solid var(--deep-700); outline-offset: 2px; }
.footer :focus-visible, .section-night :focus-visible, .mock-banner :focus-visible, .mbar :focus-visible, .tile-night :focus-visible { outline-color: var(--brand-500); }

/* Buttons: coral carries the action, with night-indigo text (5.3:1) */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; padding: 0 24px; border: 1.5px solid transparent; border-radius: 999px; font-size: 15px; font-weight: 700; line-height: 1.2; text-decoration: none; cursor: pointer; transition: background-color .16s var(--ease), border-color .16s var(--ease), color .16s var(--ease), transform .16s var(--ease); }
.btn:active { transform: scale(.98); }
.btn-accent { background: var(--brand-500); color: var(--deep-900); }
.btn-accent:hover { background: #ff7a66; }
.btn-deep { background: var(--deep-900); color: #fff; }
.btn-deep:hover { background: var(--deep-700); }
.btn-line { background: var(--card); border-color: rgba(36, 30, 78, .22); color: var(--ink); }
.btn-line:hover { background: var(--deep-50); border-color: var(--deep-700); }
.text-btn { padding: 0; border: 0; background: none; color: var(--deep-700); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.chip { min-height: 40px; padding: 0 16px; border: 1px solid var(--line); border-radius: 999px; background: var(--card); color: var(--ink-2); font-size: 14px; font-weight: 600; cursor: pointer; transition: background-color .16s var(--ease), color .16s var(--ease); }
.chip:hover { background: var(--deep-50); color: var(--ink); }
.chip.is-active { background: var(--deep-900); border-color: transparent; color: #fff; }

.mock-banner { position: relative; z-index: 41; padding: 8px 24px; background: var(--deep-900); color: rgba(255, 255, 255, .82); font-size: 13px; line-height: 1.5; text-align: center; }
.mock-banner b { font-weight: 700; color: #fff; }
.mock-banner a { color: #ffb4a8; }

/* Header: a floating white pill over the hero photo */
.header { position: sticky; top: 0; z-index: 40; height: var(--header-h); margin-bottom: calc(var(--header-h) * -1); padding-top: 14px; pointer-events: none; }
.header-row { display: flex; align-items: center; gap: 20px; min-height: 64px; padding: 0 10px 0 14px; border-radius: 999px; background: rgba(255, 255, 255, .96); box-shadow: 0 10px 30px rgba(26, 21, 64, .14); pointer-events: auto; transition: box-shadow .2s var(--ease); }
.header.is-scrolled .header-row { box-shadow: 0 12px 34px rgba(26, 21, 64, .2); }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none; border-radius: 12px; }
.brand .mark { width: 40px; height: 40px; flex: none; }
.brand b { display: block; font-family: var(--display); font-size: 16px; font-weight: 600; line-height: 1.15; letter-spacing: -.01em; }
.brand small { display: block; font-size: 12px; line-height: 1.3; color: var(--muted); }
.nav { display: flex; gap: 2px; margin-left: auto; }
.nav a { padding: 9px 14px; border-radius: 999px; color: var(--ink-2); font-size: 15px; font-weight: 600; text-decoration: none; transition: color .16s var(--ease), background-color .16s var(--ease); }
.nav a:hover { background: var(--deep-50); color: var(--ink); }
.nav a.is-active, .nav a[aria-current] { background: var(--deep-900); color: #fff; }
.header-cta { min-height: 46px; padding: 0 18px; font-size: 14px; }
.menu-btn { display: none; width: 46px; height: 46px; margin-left: auto; place-items: center; border: 0; border-radius: 50%; background: var(--deep-50); color: var(--ink); cursor: pointer; }
.menu-btn .i-close, .header.is-open .menu-btn .i-open { display: none; }
.header.is-open .menu-btn .i-close { display: block; }
.drawer { display: none; pointer-events: auto; }
.drawer nav { display: grid; margin-top: 8px; padding: 10px; border-radius: 28px; background: var(--card); box-shadow: 0 20px 44px rgba(26, 21, 64, .2); }
.drawer nav > a { display: flex; align-items: center; min-height: 50px; padding: 0 18px; border-radius: 18px; color: var(--ink); font-size: 17px; font-weight: 600; text-decoration: none; }
.drawer nav > a:hover { background: var(--deep-50); }
.drawer nav > a.is-active, .drawer nav > a[aria-current] { background: var(--deep-50); color: var(--deep-700); }
.drawer-cta { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 10px 0 2px; }
@keyframes drawerIn { from { opacity: 0; transform: translateY(-6px); } }
@media (max-width: 1140px) {
  .nav, .header-cta { display: none; }
  .menu-btn { display: grid; }
  .header.is-open .drawer { display: block; max-height: calc(100svh - 100px); overflow-y: auto; animation: drawerIn .2s var(--ease); }
}
@media (max-width: 400px) { .brand small { display: none; } .drawer-cta { grid-template-columns: 1fr; } }

/* Hero: the photo fills the screen; a white card holds the words, photo thumbnails pick the slide */
.hero { position: relative; isolation: isolate; }
.hero-stage { position: relative; height: clamp(600px, 94svh, 900px); overflow: hidden; background: var(--deep-100); }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.1s var(--ease); }
.hero-img.is-active { opacity: 1; }
.hero.is-ready .hero-img.is-active { animation: drift 9s ease-out both; }
@keyframes drift { from { transform: scale(1.07); } to { transform: scale(1); } }
.hero-inner { position: absolute; z-index: 2; left: 0; right: 0; bottom: 36px; display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; }
.hero-card { width: min(620px, 100%); padding: 34px 36px 32px; border-radius: 32px; background: rgba(255, 255, 255, .97); box-shadow: 0 24px 60px rgba(26, 21, 64, .22); }
.hero-kicker { margin-bottom: 14px; font-family: var(--font); font-size: 15px; font-weight: 700; line-height: 1.4; color: var(--brand-700); }
.hero-slides { display: grid; }
.hero-slide { grid-area: 1 / 1; opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .5s var(--ease), transform .5s var(--ease), visibility .5s; }
.hero-slide.is-active { opacity: 1; visibility: visible; transform: none; }
.hero-title { font-family: var(--display); font-size: clamp(30px, 3.4vw, 46px); font-weight: 600; line-height: 1.1; letter-spacing: -.035em; color: var(--deep-900); text-wrap: balance; }
.hero-sub { max-width: 34rem; margin-top: 14px; font-size: 17px; line-height: 1.6; color: var(--ink-2); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.hero-rail { display: grid; justify-items: end; gap: 12px; }
.thumbs { display: grid; grid-template-columns: repeat(4, 132px); gap: 10px; margin: 0; padding: 0; list-style: none; }
.thumb { position: relative; display: grid; width: 100%; padding: 6px; border: 0; border-radius: 22px; background: rgba(255, 255, 255, .9); color: var(--ink); text-align: left; cursor: pointer; box-shadow: 0 10px 26px rgba(26, 21, 64, .18); transition: transform .2s var(--ease), background-color .2s var(--ease); }
.thumb img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 16px; }
.thumb > span { padding: 7px 6px 4px; font-size: 13px; font-weight: 700; line-height: 1.25; }
.thumb:hover { transform: translateY(-3px); }
.thumb.is-active { background: var(--deep-900); color: #fff; }
.thumb-fill { position: absolute; left: 14px; right: 14px; bottom: 5px; height: 3px; border-radius: 3px; background: var(--brand-500); transform: scaleX(0); transform-origin: left; }
.thumb.is-active .thumb-fill { transform: none; }
.hero.is-ticking .thumb.is-active .thumb-fill { animation: fill 7s linear both; }
@keyframes fill { from { transform: scaleX(0); } to { transform: none; } }
.hero-ctrl { display: flex; align-items: center; gap: 2px; padding: 4px 4px 4px 16px; border-radius: 999px; background: rgba(255, 255, 255, .95); box-shadow: 0 8px 22px rgba(26, 21, 64, .16); }
.hero-count { margin-right: 6px; font-size: 13.5px; color: var(--muted); font-variant-numeric: tabular-nums; }
.hero-count b { font-weight: 700; color: var(--ink); }
.ctrl { display: grid; place-items: center; width: 42px; height: 42px; border: 0; border-radius: 50%; background: transparent; color: var(--ink); cursor: pointer; transition: background-color .16s var(--ease); }
.ctrl:hover { background: var(--deep-50); color: var(--deep-700); }
.hero:not(.is-ready) .hero-ctrl, .hero:not(.is-ready) .thumbs { visibility: hidden; }
@media (max-width: 1140px) {
  .thumbs { grid-template-columns: repeat(4, 96px); }
  .thumb > span { font-size: 12px; }
}
@media (max-width: 1100px) {
  .hero-stage { height: auto; aspect-ratio: 4 / 3.4; min-height: 420px; }
  .hero-inner { position: relative; bottom: auto; flex-direction: column; align-items: stretch; gap: 16px; margin-top: -120px; }
  .hero-card { width: auto; }
  .hero-rail { grid-template-columns: 1fr auto; align-items: center; justify-items: stretch; }
  .thumbs { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
  .thumb { padding: 4px; border-radius: 16px; box-shadow: 0 4px 12px rgba(26, 21, 64, .1); background: var(--card); }
  .thumb img { border-radius: 12px; }
  .thumb.is-active { background: var(--deep-900); }
}
@media (max-width: 600px) {
  .hero-stage { aspect-ratio: 4 / 4.2; min-height: 0; }
  .hero-inner { margin-top: -84px; }
  .hero-card { padding: 24px 20px 22px; border-radius: 26px; }
  .hero-kicker { font-size: 13.5px; }
  .hero-title { font-size: 27px; }
  .hero-sub { font-size: 15.5px; }
  .hero-actions .btn { flex: 1 1 100%; }
  .hero-rail { grid-template-columns: 1fr; }
  .thumb > span { display: none; }
  .thumb-fill { bottom: 2px; left: 10px; right: 10px; }
  .hero-ctrl { justify-self: center; }
}

/* Sections */
.section { padding-block: clamp(72px, 9vw, 120px); }
.section-raised { background: var(--raised); }
.section-night { background: var(--deep-900); color: #fff; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px 64px; margin-bottom: 48px; }
.section-head > h2 { flex: 1 1 auto; }
.section-head .lede { flex: 0 1 31rem; }
.section h2, .horizon h2 { max-width: 20ch; font-family: var(--display); font-size: clamp(27px, 3vw, 42px); font-weight: 600; line-height: 1.12; letter-spacing: -.035em; color: var(--deep-900); text-wrap: balance; }
.section-night h2 { color: #fff; }
.lede { font-size: 17px; line-height: 1.65; color: var(--ink-2); }
.section-night .lede { color: rgba(255, 255, 255, .82); }
@media (max-width: 860px) {
  .section-head { flex-direction: column; align-items: flex-start; margin-bottom: 32px; }
  .section-head .lede { flex-basis: auto; }
}

/* About */
.about { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: 64px; align-items: center; }
.about-text h2 { margin-bottom: 22px; }
.about-text .lede { margin-bottom: 14px; color: var(--ink); }
.about-text > p:not(.lede) { color: var(--ink-2); }
.facts-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin: 32px 0; padding: 20px 0; border-block: 1px solid var(--line); }
.facts-row div { display: flex; flex-direction: column-reverse; gap: 4px; }
.facts-row dt { font-size: 13px; line-height: 1.35; color: var(--muted); }
.facts-row dd { margin: 0; font-family: var(--display); font-size: 30px; font-weight: 600; line-height: 1; letter-spacing: -.03em; color: var(--deep-700); font-variant-numeric: tabular-nums; }
.about-photo { position: relative; margin: 0; }
.about-photo img { width: 100%; border-radius: 200px 200px 32px 32px; }
.about-photo figcaption { margin-top: 12px; font-size: 13px; color: var(--muted); }
.teams-title { margin: 56px 0 16px; font-family: var(--display); font-size: 17px; color: var(--deep-900); }
.teams { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; list-style: none; }
.teams li { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 6px 18px 6px 6px; border-radius: 999px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); font-size: 15px; font-weight: 600; }
.teams .i { box-sizing: content-box; padding: 9px; border-radius: 50%; background: var(--deep-50); color: var(--deep-700); }
@media (max-width: 960px) {
  .about { grid-template-columns: 1fr; gap: 40px; }
  .about-photo { max-width: 560px; }
}
@media (max-width: 560px) {
  .facts-row { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 20px; }
  .about-photo img { border-radius: 140px 140px 26px 26px; }
}

/* Services: a bento of the four groups, each with its own surface */
.bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 16px; }
.tile { grid-column: span 5; padding: 30px; border-radius: 30px; background: var(--card); scroll-margin-top: 110px; }
.tile:nth-child(1), .tile:nth-child(3) { grid-column: span 7; }
.tile-night { background: var(--deep-900); color: #fff; }
.tile-mist { background: #e2def7; }
.tile-sun { background: var(--brand-100); }
.tile-head { margin-bottom: 18px; }
.tile-head h3 { display: flex; align-items: center; gap: 10px; font-family: var(--display); font-size: 22px; letter-spacing: -.02em; }
.tile-head h3 .i { box-sizing: content-box; width: 20px; height: 20px; padding: 9px; border-radius: 50%; background: var(--deep-50); color: var(--deep-700); }
.tile-night .tile-head h3 .i { background: var(--brand-500); color: var(--deep-900); }
.tile-head p { max-width: 42ch; margin-top: 10px; font-size: 15px; color: var(--ink-2); }
.tile-night .tile-head p { color: rgba(255, 255, 255, .78); }
.svc-list { display: grid; gap: 0 28px; margin: 0; padding: 0; list-style: none; }
.tile:nth-child(1) .svc-list, .tile:nth-child(3) .svc-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.svc { padding: 14px 0; border-top: 1px solid var(--line); scroll-margin-top: 110px; }
.tile-night .svc { border-top-color: rgba(255, 255, 255, .16); }
.svc h4 { font-family: var(--display); font-size: 15.5px; font-weight: 600; letter-spacing: -.01em; color: var(--deep-900); }
.tile-night .svc h4 { color: #fff; }
.svc p { margin-top: 4px; font-size: 14px; line-height: 1.55; color: var(--ink-2); }
.tile-night .svc p { color: rgba(255, 255, 255, .78); }
.svc:target { margin-inline: -12px; padding-inline: 12px; border-radius: 14px; background: rgba(242, 97, 76, .14); }
@media (max-width: 1000px) {
  .tile, .tile:nth-child(1), .tile:nth-child(3) { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .tile { padding: 22px 20px; border-radius: 24px; }
  .tile:nth-child(1) .svc-list, .tile:nth-child(3) .svc-list { grid-template-columns: 1fr; }
}

/* Process: five stops along a tide line */
.tide { position: relative; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 24px; margin: 0; padding: 0; list-style: none; }
.tide::before { content: ""; position: absolute; top: 22px; left: 24px; right: 24px; height: 12px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 12'%3E%3Cpath d='M0 6c5 0 5-4 10-4s5 4 10 4 5 4 10 4 5-4 10-4' fill='none' stroke='%239c93d8' stroke-width='2'/%3E%3C/svg%3E") repeat-x center / 40px 12px; }
.tide li { position: relative; }
.tide-no { position: relative; display: grid; place-items: center; width: 56px; height: 56px; margin-bottom: 18px; border-radius: 50%; background: var(--card); color: var(--deep-900); font-family: var(--display); font-size: 18px; font-weight: 600; box-shadow: 0 0 0 6px var(--bg-page), inset 0 0 0 2px var(--deep-100); }
.tide li:last-child .tide-no { background: var(--brand-500); box-shadow: 0 0 0 6px var(--bg-page); }
.tide h3 { font-family: var(--display); font-size: 17px; letter-spacing: -.01em; color: var(--deep-900); }
.tide p { margin-top: 6px; font-size: 15px; color: var(--ink-2); }
@media (max-width: 900px) {
  .tide { grid-template-columns: 1fr; gap: 26px; }
  .tide::before { top: 28px; bottom: 28px; left: 22px; right: auto; width: 12px; height: auto; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 40'%3E%3Cpath d='M6 0c0 5-4 5-4 10s4 5 4 10 4 5 4 10-4 5-4 10' fill='none' stroke='%239c93d8' stroke-width='2'/%3E%3C/svg%3E") repeat-y center / 12px 40px; }
  .tide li { min-height: 56px; padding-left: 78px; }
  .tide-no { position: absolute; left: 0; top: 0; margin: 0; }
  .tide p { margin-top: 2px; }
}

/* Parallax horizon: the bay photo drifts slowly while Manado Tua and the waves rise over it */
.horizon { position: relative; display: flex; align-items: center; min-height: clamp(560px, 86svh, 820px); overflow: hidden; background: var(--deep-100); }
.horizon-sky { position: absolute; inset: -18% 0; will-change: transform; }
.horizon-sky img { width: 100%; height: 100%; object-fit: cover; }
.horizon-isle { position: absolute; left: 0; right: 0; bottom: 40px; width: 100%; height: clamp(140px, 24vw, 300px); will-change: transform; }
.horizon-sea { position: absolute; left: 0; right: 0; bottom: -2px; width: 100%; height: 90px; will-change: transform; }
.horizon-copy { position: relative; z-index: 2; }
.horizon-card { max-width: 560px; padding: 36px; border-radius: 32px; background: rgba(255, 255, 255, .96); box-shadow: 0 24px 60px rgba(26, 21, 64, .2); }
.horizon h2 { max-width: 22ch; font-size: clamp(24px, 2.4vw, 34px); }
.horizon-card > p { margin-top: 14px; font-size: 16px; color: var(--ink-2); }
.horizon-asks, .assist-asks { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.ask { min-height: 44px; padding: 8px 16px; border: 1.5px solid var(--deep-100); border-radius: 999px; background: var(--card); color: var(--deep-900); font-size: 14px; font-weight: 700; cursor: pointer; transition: background-color .16s var(--ease), border-color .16s var(--ease); }
.ask:hover { border-color: var(--brand-500); background: var(--brand-100); }
@media (max-width: 760px) {
  .horizon { align-items: flex-end; min-height: 640px; padding-bottom: 120px; }
  .horizon-isle { bottom: 30px; height: 150px; }
  .horizon-card { padding: 24px 20px; border-radius: 26px; }
}

/* Portfolio: one Sulawesi project large, three group projects beside it */
.pf-mosaic { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) minmax(0, 1fr); gap: 16px; margin-bottom: 32px; }
.pf-card { display: flex; flex-direction: column; overflow: hidden; border-radius: 28px; background: var(--card); color: var(--ink); text-decoration: none; box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow .2s var(--ease); }
.pf-card:hover { box-shadow: inset 0 0 0 1px var(--deep-100), var(--shadow-md); }
.pf-lead { grid-row: span 2; background: var(--deep-900); color: #fff; box-shadow: none; }
.pf-photo { overflow: hidden; background: var(--raised); }
.pf-photo img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; transition: transform .5s var(--ease); }
.pf-lead .pf-photo img { aspect-ratio: 4 / 3; }
.pf-card:hover .pf-photo img { transform: scale(1.03); }
.pf-body { display: flex; flex-direction: column; gap: 6px; padding: 18px 22px 22px; }
.pf-lead .pf-body { gap: 10px; padding: 28px; }
.pf-where { display: inline-flex; align-items: center; gap: 6px; width: fit-content; padding: 6px 12px 6px 10px; border-radius: 999px; background: var(--brand-500); color: var(--deep-900); font-size: 13px; font-weight: 700; }
.pf-where .i { width: 15px; height: 15px; }
.pf-status { font-size: 13px; font-weight: 600; color: var(--muted); }
.pf-card h3 { font-family: var(--display); font-size: 17px; line-height: 1.25; letter-spacing: -.015em; }
.pf-lead h3 { font-size: clamp(21px, 2vw, 27px); }
.pf-loc { font-size: 14px; line-height: 1.5; color: var(--ink-2); }
.pf-lead .pf-loc { color: rgba(255, 255, 255, .8); }
.pf-permits { display: flex; flex-wrap: wrap; gap: 6px; margin: 6px 0 0; padding: 0; list-style: none; }
.pf-permits li { padding: 4px 12px; border-radius: 999px; background: rgba(255, 255, 255, .12); color: #fff; font-size: 12.5px; font-weight: 700; }
@media (max-width: 1000px) {
  .pf-mosaic { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pf-lead { grid-row: auto; grid-column: 1 / -1; }
  .pf-lead .pf-photo img { aspect-ratio: 16 / 9; }
}
@media (max-width: 620px) { .pf-mosaic { grid-template-columns: 1fr; } .pf-card { border-radius: 24px; } }

/* Assistant: the night section; the chat itself opens as the floating panel */
.assist { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 64px; align-items: center; }
.assist-text h2 { margin-bottom: 20px; }
.assist-text .lede { margin-bottom: 24px; }
.note { display: flex; gap: 10px; font-size: 14px; line-height: 1.55; color: var(--ink-2); }
.note .i { margin-top: 2px; color: var(--deep-700); }
.section-night .note { color: rgba(255, 255, 255, .78); }
.section-night .note .i { color: var(--brand-500); }
.assist-panel { padding: 30px; border-radius: 30px; background: rgba(255, 255, 255, .07); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14); }
.assist-hint { font-size: 15px; font-weight: 600; color: rgba(255, 255, 255, .86); }
.assist-asks { margin: 14px 0 24px; }
.section-night .ask { border-color: rgba(255, 255, 255, .24); background: transparent; color: #fff; }
.section-night .ask:hover { border-color: var(--brand-500); background: rgba(242, 97, 76, .16); }
@media (max-width: 960px) { .assist { grid-template-columns: 1fr; gap: 36px; } }
@media (max-width: 560px) { .assist-panel { padding: 22px 18px; } .assist-panel .btn { width: 100%; } }

/* Chat colours for this option */
.pj-chat { border-radius: 28px; }
.pj-chat-head { background: var(--deep-900); }
.pj-chat-head .chat-mark { width: 34px; height: 34px; border-radius: 10px; flex: none; box-shadow: none; }
.pj-msg-user { background: var(--deep-900); }
.pj-chat-form .btn { width: 50px; min-height: 50px; }
.chat-fab { background: var(--deep-900); }
.chat-fab .i { color: var(--brand-500); }

/* Areas */
.areas { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 14px; margin: 0; padding: 0; list-style: none; }
.areas li { padding: 28px 24px; border-radius: 28px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); }
.areas .area-main { background: var(--brand-100); box-shadow: none; }
.areas h3 { font-family: var(--display); font-size: 20px; letter-spacing: -.02em; color: var(--deep-900); }
.areas p { margin-top: 10px; font-size: 15px; color: var(--ink-2); }
.areas-note { display: flex; gap: 10px; margin-top: 24px; font-size: 15px; color: var(--ink-2); }
.areas-note .i { margin-top: 3px; color: var(--muted); }
@media (max-width: 1000px) { .areas { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .areas { grid-template-columns: 1fr; } .areas li { padding: 22px 20px; } }

/* Blog */
.posts { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); grid-template-rows: auto auto; gap: 16px; }
.post { display: flex; flex-direction: column; gap: 10px; padding: 26px; border-radius: 28px; background: var(--card); color: var(--ink); text-decoration: none; transition: box-shadow .2s var(--ease); }
.post-lead { grid-row: span 2; justify-content: flex-end; min-height: 320px; padding: 34px; background: var(--deep-900) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 120'%3E%3Cpath d='M0 120V80c40-2 70-6 100-12 24-4 40-20 56-38 12-14 20-20 28-20s16 6 28 20c16 18 34 34 58 38 46 8 80 10 130 12v40z' fill='%233a3175'/%3E%3C/svg%3E") no-repeat right top / 70% auto; color: #fff; }
.post:hover { box-shadow: var(--shadow-md); }
.post-info { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 13px; color: var(--muted); }
.post-info b { font-weight: 700; color: var(--brand-700); }
.post-lead .post-info { color: rgba(255, 255, 255, .72); }
.post-lead .post-info b { color: var(--brand-500); }
.post h3 { font-family: var(--display); font-size: 18px; line-height: 1.3; letter-spacing: -.015em; }
.post-lead h3 { font-size: clamp(22px, 2.2vw, 30px); }
.post > p:not(.post-info) { font-size: 15px; color: rgba(255, 255, 255, .82); }
.post-more { display: inline-flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 8px; font-size: 15px; font-weight: 700; color: var(--deep-700); }
.post-lead .post-more { margin-top: 8px; color: var(--brand-500); }
@media (max-width: 860px) {
  .posts { grid-template-columns: 1fr; }
  .post-lead { grid-row: auto; min-height: 280px; padding: 26px; }
}

/* Contact */
.contact { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: start; }
.contact-text h2 { margin-bottom: 20px; }
.wa-card { display: flex; align-items: center; gap: 16px; margin-top: 32px; padding: 18px 22px; border-radius: 28px; background: #25d366; color: #062b16; font-family: var(--display); font-size: clamp(20px, 2vw, 26px); font-weight: 600; letter-spacing: -.02em; text-decoration: none; transition: transform .2s var(--ease); }
.wa-card:hover { transform: translateY(-2px); }
.wa-card .i { width: 40px; height: 40px; }
.wa-card small { display: block; font-family: var(--font); font-size: 13px; font-weight: 700; letter-spacing: 0; }
.form { display: grid; gap: 16px; padding: 32px; border-radius: 30px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); }
.form h3 { font-family: var(--display); font-size: 21px; letter-spacing: -.02em; color: var(--deep-900); }
.form-sub { margin-top: -8px; font-size: 14px; color: var(--ink-2); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 6px; min-width: 0; }
.field label { font-size: 14px; font-weight: 700; }
.field small, .form-note { font-size: 13px; color: var(--muted); }
.field input, .field textarea { width: 100%; min-height: 50px; padding: 12px 16px; border: 1.5px solid #8b84b3; border-radius: 16px; background: #fff; color: var(--ink); font-size: 16px; transition: border-color .16s var(--ease); }
.field textarea { resize: vertical; }
.field input:hover, .field textarea:hover { border-color: var(--ink-2); }
.field input:focus-visible, .field textarea:focus-visible { outline: 2px solid var(--deep-700); outline-offset: 2px; border-color: var(--deep-700); }
.form .btn { justify-self: start; }
@media (max-width: 960px) { .contact { grid-template-columns: 1fr; gap: 40px; } }
@media (max-width: 560px) {
  .form { padding: 22px 18px; border-radius: 24px; }
  .form-row { grid-template-columns: 1fr; }
  .form .btn { justify-self: stretch; }
  .wa-card { padding: 16px 18px; }
}

/* Footer */
.footer { position: relative; padding-block: 72px 28px; background: var(--deep-950); color: rgba(255, 255, 255, .86); font-size: 14.5px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; }
.footer .brand { color: #fff; }
.footer .brand small { color: rgba(255, 255, 255, .72); }
.footer h2 { margin: 0 0 16px; font-family: var(--display); font-size: 14px; font-weight: 600; color: #fff; }
.footer nav { display: grid; gap: 10px; }
.footer a { color: rgba(255, 255, 255, .84); text-decoration: none; }
.footer a:hover { color: #fff; text-decoration: underline; }
.foot-brand p { max-width: 34ch; margin-top: 16px; color: rgba(255, 255, 255, .74); }
.footer .foot-download { display: inline-flex; align-items: center; gap: 8px; min-height: 46px; padding: 0 18px; border-radius: 999px; background: rgba(255, 255, 255, .1); font-weight: 700; color: #fff; }
.footer .foot-download:hover { background: rgba(255, 255, 255, .16); text-decoration: none; }
.foot-download .i { color: var(--brand-500); }
.foot-contact { display: grid; gap: 12px; }
.foot-contact div { display: flex; gap: 10px; }
.foot-contact a { min-width: 0; overflow-wrap: anywhere; }
.foot-contact .i { margin-top: 3px; color: var(--brand-500); }
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 52px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .14); font-size: 13px; color: rgba(255, 255, 255, .72); }
.foot-bottom a { color: rgba(255, 255, 255, .88); }
@media (max-width: 960px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) {
  .footer { padding-top: 52px; }
  .foot-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer nav a { padding-block: 4px; }
  .foot-bottom { flex-direction: column; margin-top: 36px; }
}

/* Phone action bar */
.mbar { display: none; }
@media (max-width: 760px) {
  body { padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
  .mbar { position: fixed; z-index: 45; left: 8px; right: 8px; bottom: calc(8px + env(safe-area-inset-bottom)); display: grid; grid-template-columns: 1fr 1.2fr 1.2fr; gap: 6px; padding: 6px; border-radius: 999px; background: var(--deep-900); box-shadow: 0 12px 30px rgba(26, 21, 64, .3); }
  .mbar a, .mbar button { display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 48px; padding: 0 6px; border: 0; border-radius: 999px; background: transparent; color: #fff; font-size: 13px; font-weight: 700; white-space: nowrap; text-decoration: none; cursor: pointer; }
  .mbar button { background: rgba(255, 255, 255, .12); }
  .mbar .mbar-wa { background: #25d366; color: #062b16; }
  .chat-open .mbar { visibility: hidden; }
}
@media (max-width: 600px) { .wrap { width: calc(100% - 32px); } }
@media (max-width: 360px) { .mbar .i { display: none; } .mbar a, .mbar button { font-size: 12px; } }

/* Inner pages: the header floats over the page title, so the title band starts lower */
.page-hero { padding-top: calc(var(--header-h) + clamp(28px, 5vw, 60px)); background: var(--deep-900); }
.page-hero h1, .sec-title { font-family: var(--display); font-weight: 600; letter-spacing: -.03em; }

/* Dropdowns */
.pj-select { border-color: #8b84b3; border-radius: 16px; font-weight: 600; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233a3175' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); }
.pj-select:hover { border-color: var(--deep-700); background-color: var(--deep-50); }
@supports (appearance: base-select) {
  .pj-select option:checked { background: var(--deep-900); color: #fff; }
  .pj-select option::checkmark { color: var(--brand-500); }
}

@media (prefers-reduced-motion: reduce) {
  .header.is-open .drawer { animation: none; }
  .hero.is-ready .hero-img.is-active { animation: none; }
  .hero-img, .hero-slide { transition-duration: .01s; }
  .hero.is-ticking .thumb.is-active .thumb-fill { animation: none; }
}

/* The night launcher keeps a light ring so it stays visible over the night sections */
.chat-fab { box-shadow: 0 0 0 2px rgba(255, 255, 255, .9), 0 10px 28px rgba(26, 21, 64, .3); }
