/* Kelawei Realty — one stylesheet.
   Idiom: George Town shophouse. Straits blue-green ink, limewash cream, a
   saffron accent, Peranakan encaustic-tile geometry and the arcade arch of a
   five-foot way as the signature section edge. */

:root {
  --ink: #0E3A42;
  --ink-2: #12525C;
  --jade: #2E7D6B;
  --cream: #F5EFE4;
  --paper: #FBF8F2;
  --saffron: #C0762C;
  --saffron-fill: #9A5A1D;
  --text: #16211F;
  --muted: #4C5C5C;
  --line: #DBD2C2;
  --white: #fff;
  --serif: 'Newsreader', 'Iowan Old Style', Georgia, serif;
  --sans: 'Figtree', 'Segoe UI', system-ui, sans-serif;
  --wrap: 1240px;
  --gut: clamp(18px, 4vw, 44px);
  --radius: 3px;
}

/* tile lattice (cream bands) and plaster grain (paper bands) */
:root {
  --tile: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='64' viewBox='0 0 64 64'%3E%3Cg fill='none' stroke='%230E3A42' stroke-opacity='0.075' stroke-width='1'%3E%3Cpath d='M32 0 64 32 32 64 0 32Z'/%3E%3Cpath d='M32 14 50 32 32 50 14 32Z'/%3E%3Ccircle cx='32' cy='32' r='5'/%3E%3Cpath d='M0 0h64v64H0z'/%3E%3C/g%3E%3C/svg%3E");
  --tile-light: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='64' viewBox='0 0 64 64'%3E%3Cg fill='none' stroke='%23F5EFE4' stroke-opacity='0.09' stroke-width='1'%3E%3Cpath d='M32 0 64 32 32 64 0 32Z'/%3E%3Cpath d='M32 14 50 32 32 50 14 32Z'/%3E%3Ccircle cx='32' cy='32' r='5'/%3E%3C/g%3E%3C/svg%3E");
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/%3E%3CfeColorMatrix values='0 0 0 0 0.06 0 0 0 0 0.23 0 0 0 0 0.26 0 0 0 0.055 0'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)'/%3E%3C/svg%3E");
}

*, *::before, *::after { box-sizing: border-box; }
html, body { overflow-x: clip; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.62;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--ink-2); }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 500; line-height: 1.12; margin: 0 0 .5em; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.15rem, 4.6vw, 3.5rem); }
h2 { font-size: clamp(1.7rem, 3vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 1.7vw, 1.5rem); }
p { margin: 0 0 1.05em; }
ul, ol { margin: 0 0 1.1em; padding-left: 1.15em; }
li { margin-bottom: .4em; }
hr { border: 0; border-top: 1px solid var(--line); margin: 2rem 0; }
:focus-visible { outline: 3px solid var(--saffron); outline-offset: 2px; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gut); }
.measure { max-width: 68ch; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 8px; top: 8px; background: var(--ink); color: #fff; padding: 10px 14px; z-index: 999; }

/* ------------------------------------------------------------- buttons */
.btn {
  display: inline-flex; align-items: center; gap: .5em;
  font-family: var(--sans); font-weight: 600; font-size: .97rem;
  padding: 14px 24px; border-radius: var(--radius); border: 1px solid transparent;
  text-decoration: none; cursor: pointer; transition: background .18s, color .18s, border-color .18s;
}
.btn-primary { background: var(--saffron-fill); color: #fff; }
.btn-primary:hover { background: #834c15; color: #fff; }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { background: #0a2d33; color: #fff; }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: #fff; }
.btn-onink { background: transparent; color: #fff; border-color: rgba(255,255,255,.6); }
.btn-onink:hover { background: #fff; color: var(--ink); }
.btn-sm { padding: 10px 16px; font-size: .88rem; }

/* ------------------------------------------------------------- header */
.topbar { background: var(--ink); color: #D9E6E4; font-size: .82rem; }
.topbar .wrap { display: flex; gap: 18px; align-items: center; justify-content: space-between; padding-block: 8px; }
.topbar a { color: #fff; text-decoration: none; font-weight: 600; }
.topbar a:hover { text-decoration: underline; }
.topbar .tb-lic { color: #A9C6C2; letter-spacing: .06em; text-transform: uppercase; font-size: .72rem; }
.topbar .tb-links { display: flex; gap: 18px; }

.site-header { background: var(--cream); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 60; }
.site-header .wrap { display: flex; align-items: center; gap: 24px; padding-block: 14px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); flex: 0 0 auto; }
.brand svg { flex: 0 0 auto; }
.brand-name { font-family: var(--serif); font-size: 1.42rem; line-height: 1; letter-spacing: .02em; display: block; }
.brand-desc { display: block; font-size: .68rem; letter-spacing: .13em; text-transform: uppercase; color: var(--muted); margin-top: 4px; }

.site-nav { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.site-nav ul { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.site-nav li { margin: 0; position: relative; }
.site-nav a:not(.btn) {
  display: block; padding: 10px 12px; font-size: .93rem; font-weight: 500;
  color: var(--text); text-decoration: none; border-radius: var(--radius);
}
.site-nav a:not(.btn):hover { background: rgba(14,58,66,.07); color: var(--ink); }
.site-nav a:not(.btn).is-active { color: var(--ink); box-shadow: inset 0 -2px 0 var(--saffron); }
.site-nav .has-sub > a::after { content: '▾'; font-size: .7em; margin-left: .4em; opacity: .6; }
.site-nav .sub {
  position: absolute; top: calc(100% + 10px); left: 0; min-width: 230px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: 0 18px 40px rgba(14,58,66,.14); padding: 8px; display: none; z-index: 70;
}
/* bridge the gap so the menu does not close on the way down */
.site-nav .has-sub::after { content: ''; position: absolute; left: 0; right: 0; top: 100%; height: 12px; display: none; }
.site-nav .has-sub:hover::after, .site-nav .has-sub:focus-within::after { display: block; }
.site-nav .has-sub:hover .sub, .site-nav .has-sub:focus-within .sub { display: block; }
.site-nav .sub a { white-space: nowrap; }
.nav-cta { margin-left: 10px; }

.nav-toggle { display: none; margin-left: auto; background: transparent; border: 1px solid var(--ink); color: var(--ink); border-radius: var(--radius); padding: 9px 13px; font-weight: 600; font-family: var(--sans); cursor: pointer; }
.nav-dim { position: fixed; inset: 0; background: rgba(10,32,36,.5); z-index: 50; opacity: 0; pointer-events: none; transition: opacity .2s; }
body.nav-open .nav-dim { opacity: 1; pointer-events: auto; }

@media (max-width: 1080px) {
  .nav-toggle { display: block; }
  .site-nav {
    position: fixed; top: 0; right: 0; bottom: 0; width: min(340px, 86vw);
    background: var(--cream); border-left: 1px solid var(--line);
    flex-direction: column; align-items: stretch; gap: 0; padding: 28px 20px 32px;
    transform: translateX(100%); transition: transform .24s ease; overflow-y: auto; z-index: 65;
  }
  body.nav-open .site-nav { transform: translateX(0); }
  .site-nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .site-nav a:not(.btn) { padding: 12px 8px; border-bottom: 1px solid var(--line); border-radius: 0; }
  .site-nav .sub { position: static; display: block; border: 0; box-shadow: none; padding: 0 0 0 14px; background: transparent; }
  .site-nav .has-sub > a::after { content: ''; }
  .nav-cta { margin: 16px 0 0; }
  .topbar .tb-lic { display: none; }
}
@media (max-width: 460px) {
  /* the brand must give way to the Menu button rather than push it off-screen */
  .site-header .wrap { gap: 12px; }
  .brand { min-width: 0; }
  .brand svg { width: 28px; height: 31px; }
  .brand-name { font-size: 1.2rem; }
  .brand-desc { font-size: .6rem; letter-spacing: .1em; }
  .nav-toggle { padding: 8px 11px; flex: 0 0 auto; }
}

/* ------------------------------------------------------------- bands */
.band { padding-block: clamp(60px, 7vw, 104px); position: relative; }
.band--paper { background-color: var(--paper); background-image: var(--grain); }
.band--cream { background-color: var(--cream); background-image: var(--tile); }
.band--ink { background-color: var(--ink); color: #EAF2F0; }
.band--ink h2, .band--ink h3 { color: #fff; }
.band--ink p { color: #CFE0DD; }
.band--ink a:not(.btn) { color: #A8E4C9; }
.band--photo { position: relative; background: var(--ink); color: #fff; isolation: isolate; }
.band--photo .band-bg { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.band--photo .band-bg img { width: 100%; height: 100%; object-fit: cover; }
.band--photo::after {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(100deg, rgba(14,58,66,.94) 0%, rgba(14,58,66,.86) 46%, rgba(18,82,92,.7) 100%), var(--tile-light);
}
.band--photo h2, .band--photo h3 { color: #fff; }
.band--photo p { color: #D6E5E2; }
.band-tight { padding-block: clamp(42px, 4.6vw, 66px); }

/* the arcade: a scalloped five-foot-way arch edge, used sparingly */
.band--arch { position: relative; }
.band--arch::before {
  content: ''; position: absolute; top: -1px; left: 0; right: 0; height: 42px;
  background: inherit; background-attachment: local;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='42' viewBox='0 0 120 42' preserveAspectRatio='none'%3E%3Cpath d='M0 42V0h120v42H108V22a48 48 0 0 0-96 0v20Z' fill='%23000'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='42' viewBox='0 0 120 42' preserveAspectRatio='none'%3E%3Cpath d='M0 42V0h120v42H108V22a48 48 0 0 0-96 0v20Z' fill='%23000'/%3E%3C/svg%3E");
  -webkit-mask-size: 120px 42px; mask-size: 120px 42px;
  -webkit-mask-repeat: repeat-x; mask-repeat: repeat-x;
  transform: translateY(-41px); pointer-events: none;
}

.kicker { font-family: var(--sans); font-size: .74rem; letter-spacing: .18em; text-transform: uppercase; color: var(--saffron); font-weight: 700; margin: 0 0 .9em; display: flex; align-items: center; gap: 10px; }
.kicker::after { content: ''; flex: 1; height: 1px; background: currentColor; opacity: .35; max-width: 120px; }
.band--ink .kicker, .band--photo .kicker { color: #E2A45E; }
.sec-head { max-width: 62ch; margin-bottom: clamp(28px, 3.4vw, 46px); }
.sec-head p { color: var(--muted); font-size: 1.06rem; margin: 0; }
.band--ink .sec-head p, .band--photo .sec-head p { color: #C7DBD8; }

/* ------------------------------------------------------------- hero */
.hero { position: relative; background: var(--ink); color: #fff; isolation: isolate; }
.hero-bg { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; }
.hero::after {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(94deg, rgba(9,40,46,.93) 0%, rgba(11,48,55,.82) 42%, rgba(14,58,66,.35) 78%, rgba(14,58,66,.15) 100%);
}
.hero-inner { padding-block: clamp(60px, 6.5vw, 96px) clamp(26px, 2.6vw, 36px); }
.hero h1 { color: #fff; max-width: 21ch; margin-bottom: .38em; }
.hero-sub { font-size: clamp(1.02rem, 1.35vw, 1.2rem); color: #D9E8E5; max-width: 56ch; margin-bottom: 1.6em; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 26px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 10px 26px; list-style: none; padding: 0; margin: 0; font-size: .9rem; color: #CBDEDA; }
.hero-meta li { display: flex; align-items: center; gap: 8px; margin: 0; }
.hero-meta li::before { content: ''; width: 7px; height: 7px; background: var(--saffron); transform: rotate(45deg); flex: 0 0 auto; }

/* the viewing weekend board docked at the hero base */
.hero { padding-bottom: clamp(34px, 4.4vw, 64px); }
.board { position: relative; z-index: 2; }

/* promo slider — the Malaysian portal/agency convention */
.promo .promo-track { position: relative; }
.promo-slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .55s ease, visibility .55s; }
.promo-slide.is-active { position: relative; opacity: 1; visibility: visible; }
.promo-slide .hero-bg { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
/* each slide is a stacking context, so the section-level scrim sits behind the
   slide image — every slide carries its own */
.promo-slide::after {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(94deg, rgba(9,40,46,.93) 0%, rgba(11,48,55,.82) 42%, rgba(14,58,66,.35) 78%, rgba(14,58,66,.15) 100%);
}
.promo-slide:not(:first-child)::after {
  background: linear-gradient(94deg, rgba(9,40,46,.88) 0%, rgba(11,48,55,.62) 44%, rgba(14,58,66,.18) 78%, rgba(14,58,66,.05) 100%);
}
.promo-inner { padding-block: clamp(84px, 10.5vw, 150px) clamp(40px, 4.4vw, 62px); }
.promo-kicker { font-size: .78rem; letter-spacing: .2em; text-transform: uppercase; font-weight: 700; color: #E2A45E; margin: 0 0 .8em; }
.promo-line { font-family: var(--serif); font-size: clamp(1.7rem, 3.4vw, 2.7rem); line-height: 1.14; color: #fff; max-width: 22ch; margin: 0 0 .4em; }
.promo-sub { color: #D9E8E5; max-width: 52ch; margin: 0 0 1.5em; }
.promo-nav { display: flex; gap: 10px; padding-block: 18px 6px; position: relative; z-index: 2; }
.promo-dot { width: 34px; height: 5px; border-radius: 3px; border: 0; padding: 0; background: rgba(255,255,255,.35); cursor: pointer; transition: background .2s; }
.promo-dot.is-active { background: var(--saffron); }
.promo-dot:hover { background: rgba(255,255,255,.65); }
.promo-dot.is-active:hover { background: var(--saffron); }
.board-inner { background: rgba(251,248,242,.97); border: 1px solid rgba(14,58,66,.18); border-bottom: 0; box-shadow: 0 -8px 40px rgba(6,26,30,.28); }
.board-head { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; padding: 16px clamp(16px, 2.4vw, 26px); border-bottom: 1px solid var(--line); background: var(--cream); }
.board-title { font-family: var(--serif); font-size: 1.16rem; color: var(--ink); margin: 0; }
.board-count { font-size: .82rem; color: var(--muted); }
.board-tabs { margin-left: auto; display: flex; gap: 6px; }
.board-tab { font-family: var(--sans); font-size: .86rem; font-weight: 600; padding: 8px 15px; border: 1px solid var(--line); background: #fff; color: var(--muted); border-radius: var(--radius); cursor: pointer; }
.board-tab[aria-selected="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.board-list { list-style: none; margin: 0; padding: 0; }
.board-list li { margin: 0; border-bottom: 1px solid var(--line); }
.board-list li:last-child { border-bottom: 0; }
.board-row { display: grid; grid-template-columns: 92px 1fr auto auto; gap: 16px; align-items: center; padding: 13px clamp(16px, 2.4vw, 26px); text-decoration: none; color: var(--text); }
.board-row:hover { background: rgba(46,125,107,.07); }
.board-time { font-family: var(--serif); font-size: 1.04rem; color: var(--ink); }
.board-what { min-width: 0; }
.board-what strong { display: block; font-weight: 600; font-size: .96rem; }
.board-what span { display: block; font-size: .82rem; color: var(--muted); }
.board-price { font-weight: 700; color: var(--ink); white-space: nowrap; }
.board-left { font-size: .74rem; letter-spacing: .06em; text-transform: uppercase; color: var(--saffron-fill); font-weight: 700; white-space: nowrap; }
.board-foot { padding: 12px clamp(16px, 2.4vw, 26px); background: var(--cream); font-size: .86rem; color: var(--muted); display: flex; flex-wrap: wrap; gap: 10px 18px; align-items: center; }
@media (max-width: 720px) {
  .board-row { grid-template-columns: 76px 1fr; row-gap: 4px; }
  .board-price { grid-column: 2; }
  .board-left { grid-column: 2; }
}

/* ------------------------------------------------------- page title plate */
.plate { background: var(--cream); background-image: var(--tile); border-bottom: 1px solid var(--line); }
.plate .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .62fr); gap: clamp(24px, 4vw, 56px); align-items: center; padding-block: clamp(38px, 5vw, 66px); }
.plate-copy { min-width: 0; }
.plate h1 { color: var(--ink); margin-bottom: .3em; }
.plate-sub { color: var(--muted); font-size: 1.05rem; max-width: 52ch; margin: 0; }
.plate-figure { min-width: 0; }
.plate-figure img { width: 100%; aspect-ratio: 16/9; object-fit: cover; border: 1px solid rgba(14,58,66,.16); }
.plate--bare .wrap { grid-template-columns: 1fr; }
@media (max-width: 860px) { .plate .wrap { grid-template-columns: 1fr; } .plate-figure { display: none; } }

.crumbs { background: var(--paper); border-bottom: 1px solid var(--line); font-size: .82rem; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 10px 0; }
.crumbs li { margin: 0; color: var(--muted); }
.crumbs li + li::before { content: '›'; margin-right: 8px; opacity: .6; }
.crumbs a { color: var(--muted); }

/* ------------------------------------------------------------- grids */
.grid { display: grid; gap: clamp(18px, 2.2vw, 30px); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 980px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

/* listing cards */
.pcard { background: #fff; border: 1px solid var(--line); display: flex; flex-direction: column; min-width: 0; transition: box-shadow .2s, transform .2s; }
.pcard:hover { box-shadow: 0 14px 34px rgba(14,58,66,.13); transform: translateY(-2px); }
.pcard-fig { position: relative; }
.pcard-fig img { width: 100%; aspect-ratio: 3/2; object-fit: cover; }
.pcard-tag { position: absolute; top: 12px; left: 12px; background: var(--ink); color: #fff; font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 700; padding: 5px 10px; }
.pcard-tag.is-let { background: var(--jade); }
.pcard-body { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.pcard-price { font-family: var(--serif); font-size: 1.45rem; color: var(--ink); line-height: 1; margin-bottom: 4px; }
.pcard-price small { font-family: var(--sans); font-size: .78rem; color: var(--muted); font-weight: 500; }
.pcard-title { font-size: .97rem; font-weight: 600; margin: 0 0 6px; }
.pcard-title a { color: var(--text); text-decoration: none; }
.pcard-title a:hover { color: var(--ink-2); text-decoration: underline; }
.pcard-where { font-size: .84rem; color: var(--muted); margin: 0 0 12px; }
.pcard-specs { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; margin: 0 0 12px; }
.pcard-specs li { font-size: .76rem; background: var(--cream); border: 1px solid var(--line); padding: 4px 9px; margin: 0; color: var(--muted); }
.pcard-foot { margin-top: auto; padding-top: 12px; border-top: 1px solid var(--line); font-size: .8rem; color: var(--muted); display: flex; justify-content: space-between; gap: 10px; }

/* service / feature cards */
.scard { background: #fff; border: 1px solid var(--line); display: flex; flex-direction: column; min-width: 0; }
.scard img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.scard-body { padding: 20px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.scard h3 { margin-bottom: .35em; }
.scard p { color: var(--muted); font-size: .95rem; }
/* these two must out-specify `.scard p`, which would otherwise flatten them */
.scard-price, .scard .scard-price { font-size: .84rem; font-weight: 700; color: var(--saffron-fill); margin: 0 0 14px; letter-spacing: .01em; }
.scard .pcard-price { font-family: var(--serif); font-size: 1.5rem; color: var(--ink); line-height: 1.1; margin: 0 0 2px; font-weight: 500; }
.scard .more { margin-top: auto; font-weight: 600; text-decoration: none; color: var(--ink); font-size: .92rem; }
.scard .more:hover { text-decoration: underline; }
.scard .more::after { content: ' →'; }

/* editorial split */
.split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(26px, 4vw, 60px); align-items: center; }
.split--wide { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); }
@media (max-width: 900px) { .split, .split--wide { grid-template-columns: 1fr; } }
.split > * { min-width: 0; } /* grid children with scrollable tables blow the track otherwise */
.split figure { margin: 0; }
.split figure img { width: 100%; object-fit: cover; }
.stack-figs { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.stack-figs img { aspect-ratio: 3/4; object-fit: cover; }
.stack-figs img:first-child { grid-column: 1 / -1; aspect-ratio: 3/2; }

/* numbered narrative */
.steps { counter-reset: s; display: grid; gap: 2px; }
.steps li { list-style: none; margin: 0; display: grid; grid-template-columns: 84px 1fr; gap: 22px; padding: 22px 0; border-top: 1px solid var(--line); }
.steps li::before { counter-increment: s; content: '0' counter(s); font-family: var(--serif); font-size: 2rem; color: var(--saffron); line-height: 1; }
.steps h3 { margin-bottom: .3em; font-size: 1.22rem; }
.steps p { margin: 0; color: var(--muted); }
@media (max-width: 620px) { .steps li { grid-template-columns: 52px 1fr; gap: 14px; } .steps li::before { font-size: 1.5rem; } }

/* stat row */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(16px, 2vw, 30px); }
.stats div { min-width: 0; }
.stats .n { font-family: var(--serif); font-size: clamp(1.9rem, 3vw, 2.7rem); color: var(--ink); line-height: 1; display: block; margin-bottom: 8px; }
.band--ink .stats .n, .band--photo .stats .n { color: #fff; }
.stats .l { font-size: .88rem; color: var(--muted); }
.band--ink .stats .l, .band--photo .stats .l { color: #C0D6D3; }
@media (max-width: 860px) { .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* tables */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); background: #fff; min-width: 0; }
table { border-collapse: collapse; width: 100%; min-width: 620px; font-size: .93rem; }
th, td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--line); }
thead th { background: var(--cream); font-family: var(--sans); font-weight: 700; font-size: .8rem; letter-spacing: .06em; text-transform: uppercase; color: var(--ink); }
tbody tr:last-child td { border-bottom: 0; }
td.num, th.num { text-align: right; font-variant-numeric: tabular-nums; }
.chip-up { color: #1F6B4F; font-weight: 700; }
.chip-flat { color: var(--muted); font-weight: 700; }

/* tools */
.tool { background: #fff; border: 1px solid var(--line); box-shadow: 0 18px 44px rgba(14,58,66,.1); }
.tool-head { padding: 20px clamp(18px, 2.4vw, 28px); border-bottom: 1px solid var(--line); background: var(--cream); }
.tool-head h3 { margin: 0 0 .25em; color: var(--ink); }
.tool-head p { margin: 0; font-size: .9rem; color: var(--muted); }
/* a tool sitting on a dark band keeps its own light-surface colours */
.band--ink .tool, .band--photo .tool { color: var(--text); }
.band--ink .tool h2, .band--ink .tool h3, .band--photo .tool h2, .band--photo .tool h3 { color: var(--ink); }
.band--ink .tool p, .band--photo .tool p { color: var(--muted); }
.band--ink .tool label, .band--photo .tool label { color: var(--ink); }
.band--ink .tool a:not(.btn), .band--photo .tool a:not(.btn) { color: var(--ink-2); }
.band--ink .tool .result-verdict.is-yes, .band--photo .tool .result-verdict.is-yes { color: #1F6B4F; }
.band--ink .tool .result-verdict.is-no, .band--photo .tool .result-verdict.is-no { color: #A32218; }
.tool-body { padding: clamp(18px, 2.4vw, 28px); display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(20px, 3vw, 38px); }
@media (max-width: 900px) { .tool-body { grid-template-columns: 1fr; } }
.field { margin-bottom: 16px; min-width: 0; }
.field label { display: block; font-size: .84rem; font-weight: 600; margin-bottom: 6px; color: var(--ink); }
.field .hint { display: block; font-weight: 400; color: var(--muted); font-size: .78rem; margin-top: 2px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 11px 13px; font-family: var(--sans); font-size: .97rem;
  border: 1px solid #C6BCA8; border-radius: var(--radius); background: #fff; color: var(--text);
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--ink); outline: 2px solid rgba(14,58,66,.2); outline-offset: 0; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 520px) { .field-row { grid-template-columns: 1fr; } }
.field .err { color: #A32218; font-size: .8rem; margin-top: 5px; display: none; }
.field.is-bad input, .field.is-bad select { border-color: #A32218; }
.field.is-bad .err { display: block; }
.seg { display: flex; flex-wrap: wrap; gap: 6px; }
.seg button {
  font-family: var(--sans); font-size: .87rem; font-weight: 600; padding: 9px 14px;
  border: 1px solid #C6BCA8; background: #fff; color: var(--muted); border-radius: var(--radius); cursor: pointer;
}
.seg button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }

.result { background: var(--cream); border: 1px solid var(--line); padding: clamp(18px, 2.4vw, 26px); min-width: 0; }
.result-verdict { font-family: var(--serif); font-size: clamp(1.25rem, 2vw, 1.65rem); color: var(--ink); margin: 0 0 .4em; line-height: 1.2; }
.result-verdict.is-no { color: #A32218; }
.result-verdict.is-yes { color: #1F6B4F; }
.result dl { display: grid; grid-template-columns: 1fr auto; gap: 2px 16px; margin: 14px 0 0; font-size: .93rem; }
.result dt { color: var(--muted); padding: 7px 0; border-top: 1px solid var(--line); min-width: 0; }
.result dd { margin: 0; padding: 7px 0; border-top: 1px solid var(--line); text-align: right; font-weight: 700; font-variant-numeric: tabular-nums; color: var(--ink); }
.result dt.total, .result dd.total { border-top: 2px solid var(--ink); font-size: 1.02rem; }
.result .why { font-size: .86rem; color: var(--muted); margin: 14px 0 0; }
.result ul { font-size: .89rem; margin: 10px 0 0; color: var(--muted); }

/* the timeline output */
.tl { list-style: none; margin: 16px 0 0; padding: 0 0 0 26px; position: relative; }
.tl::before { content: ''; position: absolute; left: 5px; top: 6px; bottom: 6px; width: 2px; background: var(--line); }
.tl li { margin: 0 0 18px; position: relative; }
.tl li::before { content: ''; position: absolute; left: -26px; top: 6px; width: 12px; height: 12px; background: #fff; border: 2px solid var(--saffron); border-radius: 50%; }
.tl li.is-key::before { background: var(--ink); border-color: var(--ink); }
.tl .tl-date { font-family: var(--serif); font-size: 1.02rem; color: var(--ink); }
.tl .tl-title { font-weight: 700; font-size: .95rem; display: block; }
.tl .tl-detail { font-size: .86rem; color: var(--muted); margin: 3px 0 0; }

/* area navigator — a five-foot-way arcade: each area is an arch-topped photograph */
.arcade { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: clamp(12px, 1.4vw, 22px); }
.arcade-col { display: flex; flex-direction: column; min-width: 0; text-decoration: none; color: var(--text); }
.arcade-arch {
  display: block; position: relative; overflow: hidden; aspect-ratio: 3 / 4.1;
  border-radius: 50% 50% 2px 2px / 31% 31% 2px 2px;
  background: var(--ink); box-shadow: 0 10px 26px rgba(14,58,66,.16);
  transition: transform .22s ease, box-shadow .22s ease;
}
.arcade-arch::after {
  content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(245,239,228,.42);
  background: linear-gradient(to top, rgba(14,58,66,.34) 0%, rgba(14,58,66,0) 46%);
}
.arcade-arch img { width: 100%; height: 100%; object-fit: cover; }
.arcade-col:hover .arcade-arch { transform: translateY(-4px); box-shadow: 0 16px 34px rgba(14,58,66,.24); }
.arcade-body { padding: 15px 2px 0; display: flex; flex-direction: column; flex: 1; }
.arcade-body h3 { font-size: 1.02rem; margin-bottom: .28em; }
.arcade-col:hover .arcade-body h3 { text-decoration: underline; text-decoration-color: var(--saffron); text-underline-offset: 3px; }
.arcade-body .psf { font-size: .82rem; color: var(--saffron-fill); font-weight: 700; margin: 0 0 8px; }
.arcade-body p { font-size: .82rem; color: var(--muted); margin: 0; }
@media (prefers-reduced-motion: reduce) { .arcade-arch { transition: none; } .arcade-col:hover .arcade-arch { transform: none; } }
@media (max-width: 1080px) { .arcade { grid-template-columns: repeat(4, minmax(0, 1fr)); row-gap: clamp(22px, 3vw, 34px); } }
@media (max-width: 620px) { .arcade { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* quotes, reviews, notes */
.quote { font-family: var(--serif); font-size: clamp(1.35rem, 2.5vw, 2rem); line-height: 1.3; margin: 0; max-width: 34ch; }
.quote-by { font-family: var(--sans); font-size: .88rem; letter-spacing: .1em; text-transform: uppercase; margin-top: 1.2em; display: block; color: var(--saffron); }
.rcard { background: #fff; border: 1px solid var(--line); padding: 22px 24px; display: flex; flex-direction: column; min-width: 0; }
.rstars { color: var(--saffron); letter-spacing: .16em; font-size: .9rem; margin-bottom: 10px; }
.rcard p { font-size: .95rem; }
.rcard footer { margin-top: auto; padding-top: 12px; border-top: 1px solid var(--line); font-size: .84rem; color: var(--muted); }
.rcard footer strong { color: var(--text); display: block; }

.tool-callout { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: clamp(18px, 3vw, 44px); align-items: center; background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--saffron); padding: clamp(22px, 2.8vw, 34px); }
@media (max-width: 760px) { .tool-callout { grid-template-columns: 1fr; } }

.note { background: var(--cream); border-left: 3px solid var(--saffron); padding: 16px 20px; font-size: .93rem; }
.note strong { color: var(--ink); }

/* faq */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; padding: 18px 40px 18px 0; font-family: var(--serif); font-size: 1.14rem; color: var(--ink); position: relative; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 8px; top: 15px; font-size: 1.5rem; color: var(--saffron); line-height: 1; }
.faq details[open] summary::after { content: '–'; }
.faq .a { padding: 0 40px 20px 0; color: var(--muted); max-width: 78ch; }

/* team — fixed portrait column so the text fills the rest of the measure */
.tmember { display: grid; grid-template-columns: 320px minmax(0, 1fr); gap: clamp(26px, 3.4vw, 52px); align-items: start; padding-block: clamp(30px, 3.6vw, 52px); border-top: 1px solid var(--line); }
.tmember:first-child { border-top: 0; padding-top: 0; }
.tmember.is-flipped { grid-template-columns: minmax(0, 1fr) 320px; }
.tmember.is-flipped .tmember-fig { order: 2; }
.tmember-fig { margin: 0; }
.tmember-fig img { width: 100%; aspect-ratio: 3/4; object-fit: cover; object-position: 50% 20%; }
.tmember h2 { margin-bottom: .12em; }
@media (max-width: 780px) {
  .tmember, .tmember.is-flipped { grid-template-columns: 1fr; }
  .tmember.is-flipped .tmember-fig { order: 0; }
  .tmember-fig img { max-width: 300px; }
}

/* team cards (homepage rail) */
.tcard { background: #fff; border: 1px solid var(--line); min-width: 0; display: flex; flex-direction: column; }
.tcard img { width: 100%; aspect-ratio: 3/4; object-fit: cover; object-position: 50% 22%; }
.tcard-body { padding: 16px 18px 20px; display: flex; flex-direction: column; flex: 1; }
.tcard h3 { font-size: 1.1rem; margin-bottom: .15em; }
.tcard .role { font-size: .85rem; color: var(--muted); margin: 0 0 6px; }
.tcard .reg { font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--saffron-fill); font-weight: 700; margin: 0 0 10px; }
.tcard p.bio { font-size: .89rem; color: var(--muted); margin: 0; }

/* article */
.article { font-size: 1.06rem; }
.article h2 { margin-top: 1.8em; }
.article h3 { margin-top: 1.5em; }
.article > p:first-of-type { font-size: 1.16rem; color: #2A3A38; }
.article figure { margin: 2em 0; }
.article figcaption { font-size: .85rem; color: var(--muted); margin-top: 8px; }
.article-meta { font-size: .86rem; color: var(--muted); margin-bottom: 1.6em; }

.gcard { background: #fff; border: 1px solid var(--line); display: flex; flex-direction: column; min-width: 0; }
.gcard img { width: 100%; aspect-ratio: 3/2; object-fit: cover; }
.gcard-body { padding: 18px 20px 22px; display: flex; flex-direction: column; flex: 1; }
.gcard h3 { font-size: 1.12rem; }
.gcard p { font-size: .9rem; color: var(--muted); }
.gcard .meta { margin-top: auto; padding-top: 10px; font-size: .78rem; color: var(--muted); letter-spacing: .04em; text-transform: uppercase; }

/* listing page */
.gallery { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 10px; }
.gallery-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 10px; }
.gallery-row img { width: 100%; aspect-ratio: 3/2; object-fit: cover; cursor: zoom-in; }
@media (max-width: 720px) { .gallery-row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.gallery img { width: 100%; height: 100%; object-fit: cover; }
.gallery .g-main { grid-row: span 2; aspect-ratio: 4/3; }
.gallery .g-side { aspect-ratio: 3/2; }
@media (max-width: 720px) { .gallery { grid-template-columns: 1fr; } .gallery .g-main { grid-row: auto; } }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.facts div { background: #fff; padding: 14px 16px; min-width: 0; }
.facts dt { font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.facts dd { margin: 0; font-weight: 600; font-size: .97rem; color: var(--ink); }
.aside-box { background: var(--cream); border: 1px solid var(--line); padding: 22px; position: sticky; top: 110px; }
.aside-box .price { font-family: var(--serif); font-size: 2rem; color: var(--ink); line-height: 1; margin: 0 0 4px; }
.aside-box .psf { font-size: .84rem; color: var(--muted); margin: 0 0 16px; }
.aside-neg { display: flex; gap: 12px; align-items: center; margin: 16px 0; padding-top: 16px; border-top: 1px solid var(--line); }
.aside-neg img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; object-position: 50% 20%; flex: 0 0 auto; }
.aside-neg strong { display: block; font-size: .93rem; }
.aside-neg span { font-size: .78rem; color: var(--muted); }

/* filters */
.filters { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; align-items: end; background: #fff; border: 1px solid var(--line); padding: 18px; }
@media (max-width: 980px) { .filters { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .filters { grid-template-columns: 1fr; } }
.filters .field { margin: 0; }
.result-count { font-size: .9rem; color: var(--muted); margin: 0; }
.list-bar { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: space-between; margin-top: 18px; }
.list-bar .field select { min-width: 200px; }
.sr-label { position: absolute; left: -9999px; }

/* listing gallery lightbox */
.gallery img { cursor: zoom-in; }
.lb { position: fixed; inset: 0; background: rgba(8,26,30,.94); z-index: 200; display: none; align-items: center; justify-content: center; padding: clamp(16px, 4vw, 56px); }
.lb.open { display: flex; }
.lb img { max-width: min(1200px, 92vw); max-height: 84vh; width: auto; object-fit: contain; box-shadow: 0 30px 70px rgba(0,0,0,.5); }
.lb-cap { position: absolute; left: 0; right: 0; bottom: 18px; text-align: center; color: #CFE0DD; font-size: .88rem; padding-inline: 20px; }
.lb-btn { position: absolute; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.34); color: #fff; width: 46px; height: 46px; border-radius: 50%; cursor: pointer; font-size: 1.2rem; line-height: 1; display: flex; align-items: center; justify-content: center; }
.lb-btn:hover { background: rgba(255,255,255,.24); }
.lb-close { top: clamp(12px, 3vw, 28px); right: clamp(12px, 3vw, 28px); }
.lb-prev { left: clamp(8px, 2.4vw, 26px); top: 50%; transform: translateY(-50%); }
.lb-next { right: clamp(8px, 2.4vw, 26px); top: 50%; transform: translateY(-50%); }

/* forms */
.form-note { font-size: .84rem; color: var(--muted); }
.form-ok { background: #E8F3EC; border: 1px solid #9FC9B0; padding: 18px 20px; color: #1F5A3C; display: none; }
.form-ok.show { display: block; }

/* footer */
.site-footer { background: var(--ink); background-image: var(--tile-light); color: #C3D8D5; padding-block: clamp(48px, 5vw, 74px) 0; }
.site-footer h4 { font-family: var(--sans); font-size: .76rem; letter-spacing: .16em; text-transform: uppercase; color: #fff; margin: 0 0 14px; }
.site-footer a { color: #C3D8D5; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: clamp(24px, 3vw, 46px); }
@media (max-width: 900px) { .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer ul { list-style: none; padding: 0; margin: 0; font-size: .92rem; }
.site-footer li { margin-bottom: 8px; }
.footer-brand .brand-name { color: #fff; font-size: 1.5rem; }
.footer-brand p { font-size: .92rem; color: #A9C6C2; }
.footer-legal { border-top: 1px solid rgba(255,255,255,.16); margin-top: clamp(34px, 4vw, 52px); padding-block: 22px 26px; font-size: .8rem; color: #93B3AF; }
.footer-legal p { margin: 0 0 .6em; max-width: 100ch; }
.footer-legal a { text-decoration: underline; }

/* sticky mobile action bar */
.action-bar { display: none; }
@media (max-width: 780px) {
  .action-bar {
    display: grid; grid-template-columns: repeat(3, 1fr); position: fixed; left: 0; right: 0; bottom: 0;
    background: var(--ink); border-top: 1px solid rgba(255,255,255,.14); z-index: 55;
  }
  .action-bar a { padding: 13px 6px; text-align: center; color: #fff; text-decoration: none; font-size: .82rem; font-weight: 600; border-right: 1px solid rgba(255,255,255,.14); }
  .action-bar a:last-child { border-right: 0; }
  body { padding-bottom: 52px; }
  body.nav-open .action-bar { display: none; }
}

/* reveals */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* ---------------------------------------------- Seed Light provenance kit */
/* Byte-equivalent clone of the publisher's canonical kitHtml() styles, under the
   sl-* namespace, so local preview and the published demo look identical. */
.sl-float{position:fixed;right:18px;bottom:18px;z-index:9993;width:54px;height:54px;border-radius:50%;background:#25d366;display:flex;align-items:center;justify-content:center;box-shadow:0 10px 24px rgba(18,74,40,.35);transition:transform .15s}
.sl-float:hover{transform:scale(1.07)}
.sl-float svg{width:29px;height:29px;fill:#fff;display:block}
.sl-drawer{position:fixed;right:0;top:58%;transform:translateY(-50%);display:flex;align-items:center;z-index:9994;font-family:'Segoe UI',system-ui,sans-serif}
.sl-tab{writing-mode:vertical-rl;border:0;cursor:pointer;background:#171a21;color:#dfe8e3;font-size:12px;font-weight:600;letter-spacing:.14em;text-transform:uppercase;padding:15px 8px;border-radius:9px 0 0 9px;box-shadow:-6px 0 18px rgba(10,12,16,.25);font-family:inherit}
.sl-tab b{color:#35e07f}
.sl-panel{width:272px;margin-right:-272px;opacity:0;pointer-events:none;visibility:hidden;background:#171a21;color:#b9c4bd;border-radius:12px 0 0 12px;padding:20px;box-shadow:-10px 0 30px rgba(10,12,16,.35);transition:margin-right .25s,opacity .2s,visibility .25s;box-sizing:border-box}
.sl-drawer:hover .sl-panel,.sl-drawer.open .sl-panel{margin-right:0;opacity:1;pointer-events:auto;visibility:visible}
.sl-k{font-size:11px;font-weight:700;letter-spacing:.16em;text-transform:uppercase;color:#35e07f;margin:0 0 6px}
.sl-panel h3{color:#f4faf6;font-size:16px;margin:0 0 7px;font-family:inherit}
.sl-panel p{font-size:13px;line-height:1.55;margin:0 0 14px}
.sl-btn{display:block;text-align:center;text-decoration:none;font-weight:700;font-size:13px;border-radius:8px;padding:10px 12px;margin-bottom:8px;font-family:inherit}
.sl-wa{background:#35e07f;color:#10130f}
.sl-site{border:1px solid #3a4250;color:#dfe8e3}
.sl-note{background:#14171d;color:#93a09a;font-family:'Segoe UI',system-ui,sans-serif;font-size:12.5px;line-height:1.6;padding:18px 22px;text-align:center}
.sl-note a{color:#8ceab0}
@media (max-width: 780px) { .sl-float { bottom: 64px; } }
body.nav-open .sl-float, body.nav-open .sl-drawer { display: none; }
@media print { .sl-note, .sl-float, .sl-drawer, .action-bar, .topbar, .site-nav { display: none !important; } }
