/* Bhatkal Properties. Layout: one centred column under a sticky header; phones get a fixed bottom bar.
   Colours are set once here as names (Tide, Deep Sea, Sunset, Sand, Foam) with a dark version below. */
:root {
  --bg: #F2F7F6;
  --card: #FFFFFF;
  --ink: #0D2B2E;
  --muted: #4A6466;
  --line: #D5E3E0;
  --line-soft: #E3EDEB;
  --tide: #0B6B63;
  --tide-deep: #084F49;
  --link: #0B6B63;
  --on-tide: #FFFFFF;
  --sunset: #C2451F;
  --on-sunset: #FFFFFF;
  --sand: #EAD9B8;
  --sand-ink: #0D2B2E;
  --deep: #0D2B2E;
  --on-deep: #FFFFFF;
  --on-deep-muted: #C9DBD8;
  --peach: #F0C9A0;
  --tint: #DDF0EC;
  --tint-ink: #084F49;
  --field: #6F948E;
  --photo: #DDEBE8;
  --amber-bg: #FBF0D9;
  --amber-ink: #6B4A0B;
  --red-bg: #FBE9E2;
  --red-ink: #8A2E12;
  --shadow: 0 1px 2px rgba(13, 43, 46, 0.06), 0 6px 20px rgba(13, 43, 46, 0.06);
  --font: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-kn: 'Noto Sans Kannada', var(--font);
  --font-ur: 'Noto Nastaliq Urdu', var(--font);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0A1F21; --card: #102E31; --ink: #EAF4F2; --muted: #A9C2C0; --line: #24494C; --line-soft: #1B3C3F;
    --tide: #0B6B63; --tide-deep: #0E8176; --link: #6FD0C4; --on-tide: #FFFFFF; --sunset: #C2451F; --on-sunset: #FFFFFF;
    --sand: #EAD9B8; --sand-ink: #0D2B2E; --deep: #06181A; --on-deep: #FFFFFF; --on-deep-muted: #C9DBD8; --peach: #F0C9A0;
    --tint: #14403D; --tint-ink: #A6E3DA; --field: #5E8782; --photo: #16393B;
    --amber-bg: #3A2D10; --amber-ink: #F2D58E; --red-bg: #43201A; --red-ink: #F5B7A5;
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 6px 20px rgba(0, 0, 0, 0.25);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0A1F21; --card: #102E31; --ink: #EAF4F2; --muted: #A9C2C0; --line: #24494C; --line-soft: #1B3C3F;
  --tide: #0B6B63; --tide-deep: #0E8176; --link: #6FD0C4; --on-tide: #FFFFFF; --sunset: #C2451F; --on-sunset: #FFFFFF;
  --sand: #EAD9B8; --sand-ink: #0D2B2E; --deep: #06181A; --on-deep: #FFFFFF; --on-deep-muted: #C9DBD8; --peach: #F0C9A0;
  --tint: #14403D; --tint-ink: #A6E3DA; --field: #5E8782; --photo: #16393B;
  --amber-bg: #3A2D10; --amber-ink: #F2D58E; --red-bg: #43201A; --red-ink: #F5B7A5;
  --shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 6px 20px rgba(0, 0, 0, 0.25);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: auto; }
body { margin: 0; min-height: 100vh; background: var(--bg); color: var(--ink); font-family: var(--font); font-size: 15px; line-height: 1.45; -webkit-text-size-adjust: 100%; }
h1, h2, h3, p, ul, ol, dl, dd, fieldset, legend { margin: 0; padding: 0; }
fieldset { border: 0; min-width: 0; }
ul, ol { list-style: none; }
h1, h2, h3 { text-wrap: balance; letter-spacing: -0.02em; line-height: 1.15; }
a { color: var(--link); }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--link); outline-offset: 2px; }
/* On Tide and Deep Sea panels the ring is Sand, so it stays visible (4.6:1 or more). */
.hero :focus-visible, .panel-deep :focus-visible { outline-color: var(--sand); }
.num { font-variant-numeric: tabular-nums; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.wrap { max-width: 1152px; margin-inline: auto; padding-inline: 16px; }
.page { padding-block: 24px 40px; display: flex; flex-direction: column; gap: 32px; }
.stack { display: flex; flex-direction: column; gap: 12px; }
.row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.grow { flex: 1 1 0; min-width: 0; }
.muted { color: var(--muted); }
.small { font-size: 13px; }

/* header */
.hdr { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; background: var(--card); border-bottom: 1px solid var(--line); }
.hdr .wrap { display: flex; align-items: center; gap: 20px; min-height: 60px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-weight: 800; font-size: 18px; letter-spacing: -0.02em; white-space: nowrap; }
.brand span span { color: var(--link); }
.nav { display: flex; gap: 4px; flex: 1 1 auto; min-width: 0; }
.nav a { padding: 8px 10px; border-radius: 8px; text-decoration: none; color: var(--ink); font-weight: 600; font-size: 14px; white-space: nowrap; }
.nav a:hover { background: var(--tint); color: var(--tint-ink); }
.hdr-end { display: flex; align-items: center; gap: 10px; margin-left: auto; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 18px; border-radius: 12px; border: 1.5px solid transparent; font-weight: 700; font-size: 15px; text-decoration: none; white-space: nowrap; }
.btn svg { flex: none; }
.btn-cta { background: var(--sunset); color: var(--on-sunset); }
.btn-cta:hover { filter: brightness(0.94); }
.btn-tide { background: var(--tide); color: var(--on-tide); }
.btn-tide:hover { background: var(--tide-deep); }
.btn-ghost { background: var(--card); color: var(--link); border-color: var(--tide); }
.btn-ghost:hover { background: var(--tint); }
.btn-quiet { background: none; color: var(--link); border-color: var(--line); }
.btn-quiet:hover { background: var(--tint); }
.btn-peach { background: var(--peach); color: var(--sand-ink); }
.btn-sm { min-height: 36px; padding: 0 12px; font-size: 13px; border-radius: 10px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: 0.5; cursor: not-allowed; }
.pill { border-radius: 999px; }
.linkbtn { border: 0; background: none; padding: 0; color: var(--link); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

/* chips */
.chip { display: inline-flex; align-items: center; gap: 5px; padding: 3px 9px; border-radius: 999px; font-size: 12px; font-weight: 700; line-height: 1.35; white-space: nowrap; }
.chip-tint { background: var(--tint); color: var(--tint-ink); }
.chip-amber { background: var(--amber-bg); color: var(--amber-ink); }
.chip-red { background: var(--red-bg); color: var(--red-ink); }
.chip-plain { background: var(--bg); color: var(--muted); border: 1px solid var(--line); }
.chip-ok { background: var(--card); color: var(--tint-ink); border: 1px solid var(--line); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }

/* hero */
.hero { background: var(--tide); color: var(--on-tide); position: relative; overflow: hidden; }
.hero .wrap { padding-block: 36px 40px; display: flex; flex-direction: column; gap: 22px; position: relative; }
.hero h1 { font-size: clamp(30px, 6vw, 44px); font-weight: 800; }
.hero p { font-size: 16px; opacity: 0.92; max-width: 46ch; }
.hero-art { position: absolute; right: -10px; bottom: -6px; width: min(46%, 380px); opacity: 0.16; pointer-events: none; }
.searchbox { background: var(--card); color: var(--ink); border-radius: 18px; padding: 8px 16px 16px; box-shadow: var(--shadow); max-width: 860px; }
.tabs { display: flex; gap: 2px; overflow-x: auto; border-bottom: 1px solid var(--line); margin-bottom: 14px; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tabs button { border: 0; background: none; padding: 12px 12px 10px; font-weight: 700; font-size: 14px; color: var(--muted); border-bottom: 3px solid transparent; white-space: nowrap; }
.tabs button[aria-selected="true"] { color: var(--link); border-bottom-color: var(--tide); }
.searchrow { display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-end; }
.searchrow .field { flex: 1 1 170px; }
.searchrow .btn { flex: 0 0 auto; min-height: 48px; }
.popular { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: 14px; }
.popular b { font-weight: 700; margin-right: 4px; }
.popular a { text-decoration: none; border: 1px solid rgba(255, 255, 255, 0.55); background: none; color: var(--on-tide); padding: 6px 13px; border-radius: 999px; font-weight: 600; font-size: 13.5px; }
.popular a:hover { background: rgba(255, 255, 255, 0.14); }

/* fields */
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field > label, .field > .lbl, legend.lbl { font-size: 13.5px; font-weight: 700; }
.field .hint { font-size: 13px; color: var(--muted); }
.field .err { font-size: 13px; color: var(--red-ink); font-weight: 600; }
.inp { width: 100%; min-height: 48px; padding: 0 14px; border-radius: 12px; border: 1.5px solid var(--field); background: var(--card); color: var(--ink); min-width: 0; }
textarea.inp { padding: 12px 14px; min-height: 120px; resize: vertical; line-height: 1.5; }
.inp::placeholder { color: var(--muted); opacity: 0.8; }
.inp:focus { outline: 3px solid var(--tint); border-color: var(--tide); }
.inp.bad { border-color: var(--red-ink); }
.inp-row { display: flex; gap: 8px; }
.inp-row .inp { flex: 1 1 0; }
.inp-row select.inp { flex: 0 0 auto; width: auto; }
.pre { display: flex; align-items: center; border-radius: 12px; border: 1.5px solid var(--field); background: var(--card); overflow: hidden; }
.pre span { padding: 0 4px 0 14px; font-weight: 700; color: var(--muted); }
.pre .inp { border: 0; padding-left: 4px; }
.pre:focus-within { outline: 3px solid var(--tint); border-color: var(--tide); }
.pre .inp:focus { outline: 0; }
.seg { display: flex; flex-wrap: wrap; gap: 8px; }
.seg button { min-height: 44px; padding: 0 16px; border-radius: 12px; border: 1.5px solid var(--field); background: var(--card); color: var(--ink); font-weight: 600; font-size: 14.5px; }
.seg button[aria-pressed="true"] { border-color: var(--tide); border-width: 2px; background: var(--tint); color: var(--tint-ink); font-weight: 700; }
.seg button[disabled] { opacity: 0.45; cursor: not-allowed; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; line-height: 1.45; }
.check input { width: 20px; height: 20px; margin: 1px 0 0; flex: none; accent-color: var(--tide); }
.fgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); gap: 16px; }
.note { padding: 12px 14px; border-radius: 12px; background: var(--amber-bg); color: var(--amber-ink); font-size: 14px; font-weight: 600; }
.note-tint { background: var(--tint); color: var(--tint-ink); }
.note-red { background: var(--red-bg); color: var(--red-ink); }

/* sections and cards */
.sec-h { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.sec-h h2 { font-size: 22px; font-weight: 800; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 16px; }
.pad { padding: 18px; }
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 12px; }
.tile { text-decoration: none; display: flex; flex-direction: column; gap: 12px; padding: 16px; text-align: left; background: var(--card); border: 1px solid var(--line); border-radius: 14px; font-weight: 700; color: var(--ink); }
.tile:hover { border-color: var(--tide); }
.tile svg { color: var(--link); }
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 248px), 1fr)); gap: 16px; }
.lcard { display: flex; flex-direction: column; overflow: hidden; }
.lcard .body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 4px; flex: 1 1 auto; }
.lcard .title { font-weight: 700; font-size: 15.5px; color: var(--ink); text-decoration: none; }
.lcard .title:hover { text-decoration: underline; }
.lcard .acts { display: flex; gap: 8px; margin-top: auto; padding-top: 12px; }
.lcard .acts .btn { flex: 1 1 0; padding: 0 8px; }
.price { font-size: 22px; font-weight: 800; letter-spacing: -0.02em; line-height: 1.2; }
.price small { font-size: 13px; font-weight: 600; letter-spacing: 0; }
.photo { position: relative; background: var(--photo); color: var(--muted); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; font-size: 12.5px; font-weight: 600; aspect-ratio: 5 / 3; max-width: 100%; overflow: hidden; text-decoration: none; }
.photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.photo .br { bottom: 10px; right: 10px; }
.panel-deep { background: var(--deep); color: var(--on-deep); border-radius: 18px; padding: 26px; display: flex; flex-wrap: wrap; gap: 18px; align-items: center; justify-content: space-between; }
.panel-deep h2 { font-size: 22px; font-weight: 800; }
.panel-deep p { color: var(--on-deep-muted); max-width: 56ch; }
.split { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 16px; }
.proj { display: flex; overflow: hidden; }
.proj .photo { flex: 0 0 34%; aspect-ratio: auto; min-height: 120px; }
.proj .body { padding: 14px 16px; display: flex; flex-direction: column; gap: 4px; min-width: 0; }

/* search */
.strip { background: var(--tide); }
.strip .wrap { padding-block: 14px; }
.strip .searchbox { max-width: none; padding: 14px 16px; border-radius: 16px; }
.layout { display: grid; grid-template-columns: 264px minmax(0, 1fr); gap: 24px; align-items: start; }
.filters { padding: 16px; display: flex; flex-direction: column; gap: 18px; position: sticky; top: calc(env(safe-area-inset-top, 0px) + 76px); }
.filters h3 { font-size: 14px; font-weight: 800; margin-bottom: 8px; }
.filters .check { font-size: 14px; }
.flt-toggle { display: none; }
.results { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.rcard { display: grid; grid-template-columns: 250px minmax(0, 1fr); overflow: hidden; }
.rcard .photo { aspect-ratio: auto; min-height: 176px; height: 100%; }
.rcard .body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.rcard .foot { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 8px; }
.rcard .title { font-weight: 700; font-size: 16.5px; color: var(--ink); text-decoration: none; }
.rcard .title:hover { text-decoration: underline; }
.sortbar { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between; }
.sortbar h1 { font-size: 24px; font-weight: 800; }
.sortbar select { min-height: 40px; width: auto; }
.empty { padding: 32px 20px; text-align: center; display: flex; flex-direction: column; gap: 10px; align-items: center; }

/* listing */
.crumbs { font-size: 13px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 6px; }
.lhead { display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-start; justify-content: space-between; }
.lhead h1 { font-size: clamp(22px, 4.4vw, 30px); font-weight: 800; }
.gallery { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 8px; border-radius: 18px; overflow: hidden; }
.gallery .photo { aspect-ratio: auto; min-height: 120px; }
.gallery .photo:first-child { grid-row: 1 / 3; min-height: 300px; }
.lgrid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 24px; align-items: start; }
.lmain { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.lside { display: flex; flex-direction: column; gap: 16px; position: sticky; top: calc(env(safe-area-inset-top, 0px) + 76px); }
.card h2 { font-size: 18px; font-weight: 800; }
.pricebox { display: flex; flex-wrap: wrap; gap: 16px 28px; align-items: flex-end; justify-content: space-between; }
.pricebox .price { font-size: 32px; }
.facts { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px 20px; }
.facts dt { font-size: 12.5px; color: var(--muted); font-weight: 600; }
.facts dd { font-weight: 700; }
.papers li { display: flex; gap: 10px 14px; justify-content: space-between; align-items: flex-start; padding: 12px 0; border-top: 1px solid var(--line-soft); flex-wrap: wrap; }
.papers li:first-child { border-top: 0; padding-top: 0; }
.papers li:last-child { padding-bottom: 0; }
.papers b { display: block; }
.papers div { min-width: 0; flex: 1 1 200px; }
.cost div { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line-soft); }
.cost div:first-child { border-top: 0; }
.cost .total { font-size: 18px; font-weight: 800; border-top: 2px solid var(--line); }
.tips li { display: flex; gap: 10px; align-items: flex-start; padding: 4px 0; }
.tips svg { flex: none; color: var(--link); margin-top: 2px; }
.sticky-contact { display: none; }
.areabox { border-radius: 14px; background: var(--photo); padding: 22px; display: flex; gap: 12px; align-items: center; font-weight: 700; }
.areabox svg { color: var(--link); flex: none; }

/* post form */
.steps { display: flex; gap: 6px; flex-wrap: wrap; }
.steps li { display: flex; align-items: center; gap: 8px; padding: 6px 12px 6px 6px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); font-size: 13px; font-weight: 700; color: var(--muted); }
.steps li i { font-style: normal; width: 24px; height: 24px; border-radius: 999px; display: grid; place-items: center; background: var(--bg); font-size: 12.5px; }
.steps li.on { border-color: var(--tide); color: var(--tint-ink); background: var(--tint); }
.steps li.on i { background: var(--tide); color: var(--on-tide); }
.steps li.done i { background: var(--tide); color: var(--on-tide); }
.steps li.done { color: var(--ink); }
.postgrid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 24px; align-items: start; }
.formcard { padding: 22px; display: flex; flex-direction: column; gap: 22px; min-width: 0; }
.formcard h2 { font-size: 20px; }
.formnav { display: flex; gap: 10px; justify-content: space-between; flex-wrap: wrap; padding-top: 6px; }
.summary li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line-soft); }
.summary li:first-child { border-top: 0; }
.summary span { min-width: 0; }
.done-box { padding: 28px 22px; display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.done-box h1 { font-size: 26px; font-weight: 800; }

/* my listings */
.mcard { display: grid; grid-template-columns: 150px minmax(0, 1fr); overflow: hidden; }
.mcard .photo { aspect-ratio: auto; min-height: 150px; height: 100%; }
.mcard .body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.mcard .top { display: flex; flex-wrap: wrap; gap: 6px 12px; justify-content: space-between; align-items: baseline; }
.mcard .top b { font-size: 16px; }
.bar { height: 8px; border-radius: 999px; background: var(--line-soft); overflow: hidden; }
.bar i { display: block; height: 100%; border-radius: 999px; background: var(--tide); }
.bar.warn i { background: var(--sunset); }

/* footer, toast, bottom bar */
.ftr { border-top: 1px solid var(--line); background: var(--card); }
.ftr .wrap { padding-block: 26px; display: flex; flex-direction: column; gap: 14px; font-size: 13.5px; color: var(--muted); }
.ftr p { max-width: 70ch; }
.ftr nav { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.ftr nav a { font-weight: 600; }
.ftr .social { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; }
.ftr .social span { color: var(--muted); }
.ftr .social a { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; min-height: 32px; }
.toast { position: fixed; left: 50%; transform: translateX(-50%); bottom: calc(env(safe-area-inset-bottom, 0px) + 84px); z-index: 60; max-width: min(92vw, 460px); background: var(--deep); color: var(--on-deep); padding: 12px 16px; border-radius: 12px; font-weight: 600; font-size: 14px; box-shadow: var(--shadow); }
.bbar { display: none; }

/* additions for the real site */
[hidden] { display: none !important; }
.boot { min-height: 70vh; display: grid; place-content: center; gap: 6px; text-align: center; color: var(--muted); }
.boot b { font-size: 22px; font-weight: 800; color: var(--ink); letter-spacing: -0.02em; }
.boot-seo { max-width: 620px; margin: 28px auto 0; padding-inline: 16px; display: grid; gap: 8px; font-size: 13px; line-height: 1.5; }
.boot-seo h1 { font-size: 15px; font-weight: 800; color: var(--ink); }
.boot-seo a { color: var(--link); }
.gallery.one { grid-template-columns: 1fr; grid-template-rows: auto; }
/* One photo: show all of it, never a thin stretched strip. */
.gallery.one .photo:first-child { grid-row: auto; aspect-ratio: 16 / 9; min-height: 220px; max-height: 480px; }
.gallery.one .photo img { object-fit: contain; }
.postgrid.one { grid-template-columns: minmax(0, 760px); }
.note a, .note .linkbtn { color: inherit; font-weight: 800; }
.mcard .top a { text-decoration: none; }
.mcard .top a:hover { text-decoration: underline; }
.lcard .acts:empty { display: none; }
.free-tag { background: var(--on-sunset); color: var(--sunset); font-size: 10.5px; font-weight: 800; letter-spacing: 0.05em; padding: 2px 7px; border-radius: 999px; }
.panel-sand { background: var(--sand); color: var(--sand-ink); border-radius: 18px; padding: 26px; display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.panel-sand h2 { font-size: 24px; font-weight: 800; }
.btn-deep { background: var(--deep); color: var(--on-deep); }
.signin { max-width: 520px; width: 100%; margin-inline: auto; }
.signin .or { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: 13px; font-weight: 700; align-self: stretch; }
.signin .or::before, .signin .or::after { content: ''; flex: 1 1 0; height: 1px; background: var(--line); }
.signin .stack, .signin .field, .signin .btn-block { align-self: stretch; }
.otabs { display: flex; gap: 6px; border-bottom: 1px solid var(--line); }
.otabs a { padding: 10px 14px; font-weight: 700; font-size: 14.5px; color: var(--muted); text-decoration: none; border-bottom: 3px solid transparent; margin-bottom: -1px; }
.otabs a[aria-current="page"] { color: var(--link); border-bottom-color: var(--tide); }
.otabs .count { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px; margin-left: 4px; border-radius: 999px; background: var(--sunset); color: #FFFFFF; font-size: 12px; }
.report-link { align-self: flex-start; color: var(--muted); font-weight: 600; padding: 4px 2px; }
.report-link:hover { color: var(--link); }
.blog-h1 { font-size: clamp(26px, 5vw, 34px); font-weight: 800; }
.posts { display: flex; flex-direction: column; gap: 14px; }
.post-card { display: flex; flex-direction: column; gap: 6px; }
.post-card h2 { font-size: 20px; }
.post-card h2 a { color: var(--ink); text-decoration: none; }
.post-card h2 a:hover { text-decoration: underline; }
.post-card .more { font-weight: 700; align-self: flex-start; }
.pcard .top { display: flex; flex-wrap: wrap; gap: 6px 12px; justify-content: space-between; align-items: baseline; }
.pcard .top b { font-size: 16px; }
.prose { font-size: 16.5px; line-height: 1.65; padding: 24px; }
.prose > * { max-width: 68ch; }
.prose h1 { font-size: clamp(24px, 5vw, 32px); font-weight: 800; }
.prose .meta { margin: 8px 0 18px; }
.prose h2 { font-size: 21px; font-weight: 800; margin: 26px 0 8px; }
.prose h3 { font-size: 17.5px; font-weight: 800; margin: 20px 0 6px; }
.prose p { margin: 0 0 14px; overflow-wrap: anywhere; }
.prose ul, .prose ol { margin: 0 0 14px; padding-left: 22px; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li { margin: 4px 0; }
.prose > :last-child { margin-bottom: 0; }
.legal { max-width: none; }
.table-scroll { overflow-x: auto; margin: 0 0 14px; max-width: none; }
.legal-table { border-collapse: collapse; font-size: 14px; line-height: 1.45; min-width: 640px; }
.legal-table th, .legal-table td { border: 1px solid var(--line); padding: 8px 10px; text-align: left; vertical-align: top; }
.legal-table th { background: var(--tint); color: var(--tint-ink); font-weight: 800; }
@media (max-width: 560px) {
  .legal-table { min-width: 0; width: 100%; }
  .legal-table thead { display: none; }
  .legal-table tr { display: block; border: 1px solid var(--line); border-radius: 12px; margin-bottom: 10px; padding: 6px 0; }
  .legal-table td { display: block; border: 0; padding: 4px 12px; }
  .legal-table td::before { content: attr(data-label); display: block; font-size: 12px; font-weight: 800; color: var(--muted); }
  .legal-table td:first-child { font-weight: 700; }
}
.prose > h2:first-child, .prose > h3:first-child { margin-top: 0; }
.fmt { list-style: disc; padding-left: 20px; margin-top: 8px; display: flex; flex-direction: column; gap: 4px; color: var(--muted); }
.fmt code { background: var(--tint); color: var(--tint-ink); padding: 1px 5px; border-radius: 5px; font-size: 12.5px; }
/* Google Maps in a frame */
.map { height: 280px; border-radius: 14px; overflow: hidden; background: var(--photo); position: relative; z-index: 0; }
.map iframe { display: block; width: 100%; height: 100%; border: 0; }
.map.near iframe { pointer-events: none; }
/* The ring for "only the area": about 400 m each way at the zoom the frame uses. */
.map.near .ring { position: absolute; left: 50%; top: 50%; width: 172px; height: 172px; margin: -86px 0 0 -86px; border-radius: 50%; border: 3px solid var(--tide); background: rgba(11, 107, 99, 0.16); pointer-events: none; }
/* photos */
.gallery.n2 { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
.gallery.n2 .photo:first-child { grid-row: auto; }
.gallery.n2 .photo { min-height: 300px; }
.gallery.n3 { grid-template-columns: 2fr 1fr; }
.gallery.n4 { grid-template-columns: 2fr 1fr; grid-template-rows: repeat(3, 1fr); }
.gallery.n4 .photo:first-child { grid-row: 1 / 4; }
.gallery.n4 .photo { min-height: 96px; }
button.photo { border: 0; padding: 0; font: inherit; cursor: zoom-in; width: 100%; }
.photo .tl { position: absolute; top: 6px; left: 6px; display: flex; }
.thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: 8px; }
.thumbs .photo { aspect-ratio: 1; border-radius: 10px; }
.thumbs .rm { position: absolute; top: 4px; right: 4px; width: 28px; height: 28px; border-radius: 999px; border: 0; background: var(--deep); color: var(--on-deep); display: grid; place-items: center; }
.thumbs .mk { position: absolute; left: 4px; right: 4px; bottom: 4px; min-height: 26px; border-radius: 8px; border: 0; background: var(--deep); color: var(--on-deep); font-size: 11.5px; font-weight: 700; }
.upload { border: 1.5px dashed var(--field); border-radius: 14px; padding: 18px; display: flex; flex-direction: column; gap: 8px; align-items: center; text-align: center; cursor: pointer; color: var(--muted); }
.upload:focus-within { outline: 3px solid var(--tint); border-color: var(--tide); }
.lightbox { position: fixed; inset: 0; z-index: 80; background: rgba(6, 24, 26, 0.94); display: grid; place-items: center; padding: 16px; }
.lightbox img { max-width: 100%; max-height: calc(100vh - 32px); border-radius: 8px; object-fit: contain; }
.lb-btn { position: absolute; width: 46px; height: 46px; border-radius: 999px; border: 0; background: rgba(255, 255, 255, 0.16); color: #FFFFFF; display: grid; place-items: center; }
.lb-btn:hover { background: rgba(255, 255, 255, 0.28); }
.lb-close { top: 14px; right: 14px; }
.lb-prev { left: 14px; top: 50%; margin-top: -23px; }
.lb-next { right: 14px; top: 50%; margin-top: -23px; transform: scaleX(-1); }
.lb-count { position: absolute; bottom: 16px; left: 50%; transform: translateX(-50%); color: #FFFFFF; font-weight: 700; font-size: 14px; background: rgba(0, 0, 0, 0.4); padding: 4px 12px; border-radius: 999px; }
/* Between a phone and a wide screen the header drops its extras so nothing overlaps. */
@media (max-width: 1140px) {
  .hdr .free-tag, .hdr-end .xl-only { display: none; }
  .nav a { padding: 8px 7px; }
  .hdr .wrap { gap: 14px; }
}
@media (max-width: 1020px) {
  .nav, .wide-only { display: none; }
  .layout { grid-template-columns: minmax(0, 1fr); }
  .filters { position: static; }
  .filters[data-open="false"] { display: none; }
  .flt-toggle { display: inline-flex; }
  .lgrid, .postgrid { grid-template-columns: minmax(0, 1fr); }
  .lside { position: static; }
  .gallery { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .gallery .photo:first-child { grid-column: 1 / 3; grid-row: auto; min-height: 220px; }
  .gallery .photo:nth-child(n+4) { display: none; }
  .gallery .photo { min-height: 90px; }
  .gallery.n2, .gallery.n3, .gallery.n4 { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .gallery.n2 .photo { min-height: 150px; }
  .gallery.n2 .photo:first-child { grid-column: auto; min-height: 150px; }
  .gallery.n3 .photo:first-child, .gallery.n4 .photo:first-child { grid-column: 1 / 3; grid-row: auto; }
  body { padding-bottom: calc(env(safe-area-inset-bottom, 0px) + 64px); }
  .bbar { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; background: var(--card); border-top: 1px solid var(--line); padding: 6px 4px calc(env(safe-area-inset-bottom, 0px) + 6px); }
  .bbar a { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 6px 2px; font-size: 11px; font-weight: 700; text-decoration: none; color: var(--muted); border-radius: 10px; }
  .bbar a[aria-current="page"] { color: var(--link); }
  .bbar a.post { color: var(--sunset); }
  .has-sticky .sticky-contact { display: flex; gap: 10px; position: fixed; left: 0; right: 0; bottom: calc(env(safe-area-inset-bottom, 0px) + 64px); z-index: 25; padding: 10px 16px; background: var(--card); border-top: 1px solid var(--line); }
  .has-sticky .sticky-contact .btn { flex: 1 1 0; }
  .has-sticky { padding-bottom: 72px; }
  .has-sticky ~ .toast, .toast.up { bottom: calc(env(safe-area-inset-bottom, 0px) + 150px); }
}
@media (max-width: 560px) {
  .hdr .free-tag { display: none; }
  .panel-sand { padding: 22px 18px; }
  .prose { padding: 18px 16px; font-size: 16px; }
  .rcard { grid-template-columns: minmax(0, 1fr); }
  .rcard .photo { min-height: 0; aspect-ratio: 5 / 3; height: auto; }
  .mcard { grid-template-columns: 96px minmax(0, 1fr); }
  .mcard .photo { min-height: 96px; }
  .hero .wrap { padding-block: 26px 30px; }
  .formcard { padding: 18px 16px; }
  .hdr .wrap { gap: 10px; }
  .brand { font-size: 16.5px; }
  .hdr-end .btn { padding: 0 12px; font-size: 14px; min-height: 40px; }
  .steps { flex-wrap: nowrap; align-items: center; }
  .steps li:not(.on) { padding: 5px; }
  .steps li:not(.on) .t { display: none; }
  .steps li.on { min-width: 0; }
  .steps li.on .t { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .pricebox .price { font-size: 28px; }
}
@media (prefers-reduced-motion: no-preference) {
  .btn, .tile, .seg button { transition: background-color 0.12s, border-color 0.12s; }
}
