/* CRO layer: cookie bar, mobile sticky CTA, ink text on orange buttons.
   Loaded after each page's own CSS. Does not change --paper. */

.btn-acc,
.btn-acc:hover,
a.btn-acc,
button.btn-acc {
  color: var(--ink, #111116);
}

.nav-right .btn.btn-sm {
  height: auto;
  min-height: 44px;
  max-width: 15.5rem;
  padding: 8px 14px;
  line-height: 1.25;
  white-space: normal;
  text-align: center;
}

/* Cookie consent — site chrome, not a third-party blue popup. */
.ck-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 390;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 18px;
  background: var(--paper, #faf9f5);
  color: var(--ink, #111116);
  border-top: 1px solid rgba(17, 17, 22, 0.1);
  padding: 16px 22px calc(16px + env(safe-area-inset-bottom));
  font-family: "IBM Plex Sans", "Noto Sans SC", sans-serif;
  font-size: 14.5px;
  line-height: 1.5;
  box-shadow: 0 -8px 30px rgba(17, 17, 22, 0.06);
}
.ck-bar[hidden] { display: none !important; }
.ck-copy { flex: 1 1 220px; min-width: 0; line-height: 1.3; }
.ck-note { margin: 0; }
.ck-bar a { color: var(--ink, #111116); text-decoration: underline; text-underline-offset: 3px; }
.ck-actions { display: flex; gap: 10px; flex: 0 0 auto; }
.ck-bar .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  font: inherit;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  text-decoration: none;
}
.ck-bar .btn-ink { background: var(--ink, #111116); color: #fff; border: 1px solid var(--ink, #111116); }
.ck-bar .btn-line { background: transparent; color: var(--ink, #111116); border: 1px solid var(--ink, #111116); }
.ck-bar .btn:focus-visible { outline: 2px solid var(--ink, #111116); outline-offset: 3px; }
body.ck-on { padding-bottom: var(--ck-h, 88px); }
html.ck-on { scroll-padding-bottom: var(--ck-h, 88px); }
/* Phones: one row. The note wraps to two lines beside the buttons, so the bar stays short enough that the hero fields sit above it. */
@media (max-width: 720px) {
  .ck-bar {
    flex-wrap: nowrap;
    align-items: center;
    gap: 8px;
    padding: 4px 10px calc(4px + env(safe-area-inset-bottom));
    font-size: 13px;
    line-height: 1.25;
  }
  .ck-copy { flex: 1 1 auto; min-width: 0; font-size: 13px; line-height: 1.25; }
  .ck-actions { flex: 0 0 auto; gap: 6px; }
  .ck-bar .btn { min-height: 44px; height: 44px; padding: 0 12px; font-size: 13px; }
}
a.bkt { white-space: normal; text-align: center; max-width: 100%; height: auto; min-height: 44px; line-height: 1.25; padding-top: 10px; padding-bottom: 10px; }

/* Auckland LP sticky — phones only. Site layout switches at 1024px (max-width:1024),
   so 1024 itself is not a phone width and does not get the bar. */
.lp-sticky {
  display: none;
}
@media (max-width: 1023px) {
  .lp-sticky.on {
    display: block;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 380;
    background: #fff;
    border-top: 1px solid rgba(17, 17, 22, 0.1);
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  }
  .lp-sticky .btn {
    width: 100%;
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
  }
  body.lp-sticky-on { padding-bottom: calc(72px + env(safe-area-inset-bottom)); }
}
@media (min-width: 1024px) {
  .lp-sticky, .lp-sticky.on { display: none !important; }
}

/* Privacy draft banner */
.draft-banner {
  background: var(--ink, #111116);
  color: #fff;
  padding: 14px 22px;
  font-size: 14px;
  line-height: 1.45;
}
.draft-banner strong { color: var(--accent, #ff751f); }

/* Auckland landing: hero card then the same fields in form.form-card.
   Mobile order is H1, one line, then the form. */
.lp .lp-hero { display: flex; flex-direction: column; gap: 16px; padding-top: 12px; }
.lp .lp-hero .copy { display: contents; }
.lp .lp-hero .crumbs { order: 1; }
.lp .lp-hero .eyebrow { order: 2; }
.lp .lp-hero h1 { order: 3; margin: 6px 0; max-width: 18em; }
.lp .lp-hero .one { order: 4; margin: 0; max-width: 38em; }
.lp .lp-hero .hero-card { order: 5; }
.lp .lp-hero .copy-more { order: 6; }
.lp .lp-hero .copy-more p { margin: 0 0 12px; max-width: 40em; font-size: 16.5px; line-height: 1.55; }
@media (min-width: 960px) {
  .lp .lp-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(300px, 440px);
    gap: 40px 48px;
    align-items: start;
    padding-top: 36px;
  }
  .lp .lp-hero .copy { display: block; min-width: 0; }
  .lp .lp-hero .crumbs,
  .lp .lp-hero .eyebrow,
  .lp .lp-hero h1,
  .lp .lp-hero .one,
  .lp .lp-hero .copy-more { order: 0; }
}
@media (max-width: 640px) {
  .lp .lp-hero { padding-top: 0; gap: 8px; }
  .lp .lp-hero h1 { font-size: clamp(30px, 8.2vw, 40px); margin: 2px 0; }
  .lp .hero-card { padding-top: 12px; }
  .lp .fgrid { gap: 8px; }
}
.lp .hero-card,
.lp .done {
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--ink);
  padding: 18px 18px 16px;
  min-width: 0;
}
.lp .hero-card h2,
.lp form.form-card > h2 {
  font-family: "Space Grotesk", "Noto Sans SC", sans-serif;
  font-size: 22px;
  line-height: 1.2;
  margin: 0 0 4px;
  letter-spacing: -0.02em;
}
.lp .aside-note { margin: 0 0 12px; color: var(--muted); font-size: 13px; }
.lp .fgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 12px; }
.lp .fgrid .full { grid-column: 1 / -1; }
@media (max-width: 720px) { .lp .fgrid { grid-template-columns: 1fr; } }
.lp .fld { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.lp .fl { font-family: "IBM Plex Mono", monospace; font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
html[lang="zh-Hans"] .lp .fl { letter-spacing: 0; text-transform: none; font-family: "Noto Sans SC", sans-serif; }
.lp .req { color: var(--accent-ink); }
.lp form.form-card { min-height: 0; box-shadow: 8px 8px 0 var(--accent); }
.lp .consult-form .btn { width: 100%; margin-top: 12px; min-height: 48px; height: auto; white-space: normal; line-height: 1.25; padding: 10px 16px; }
.lp .dark-grid, .lp .dark-grid > * { min-width: 0; max-width: 100%; }
.lp form.form-card, .lp .hero-card { max-width: 100%; min-width: 0; box-sizing: border-box; }
.lp .legend, .lp .privacy-note, .lp .always { font-size: 13px; line-height: 1.45; color: var(--muted); }
.lp .legend { display: block; margin-top: 8px; text-align: center; }
.lp .privacy-note { margin: 12px 0 0; }
.lp .privacy-note a, .lp .always a, .lp .formmsg a { color: var(--ink); text-decoration: underline; text-underline-offset: 2px; }
.lp .err { min-height: 0; margin: 0; color: var(--accent-ink); font-size: 12.5px; }
.lp .err:empty { display: none; }
.lp .consent { display: flex; gap: 10px; align-items: flex-start; margin-top: 12px; font-size: 13.5px; line-height: 1.4; }
.lp .consent input { width: 18px; height: 18px; margin-top: 2px; flex: none; }
.lp .formmsg { margin-top: 12px; font-size: 14.5px; line-height: 1.45; color: var(--ink); }
.lp .formmsg[hidden] { display: none; }
.lp .hero-card, .lp form.consult-form { position: relative; }
.lp .hp { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0,0,0,0); border: 0; left: 0; top: 0; }
.lp .done[hidden], .lp form[hidden] { display: none; }
.lp .done h3 { font-size: 26px; margin: 8px 0 10px; }
.lp .always { margin: 14px 0 0; color: var(--text); }
.lp .dark-grid { display: grid; gap: 28px; align-items: start; }
@media (min-width: 960px) { .lp .dark-grid { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); } }
.lp .dark-grid > div > .always,
.lp .dark-grid > div > .always a { color: #fff; }
.lp .proof-line { font-size: 18px; margin: 0 0 18px; color: var(--text); }
.lp .proof-line b { color: var(--accent-ink); font-weight: 600; }
.lp .lp-hero p,
.lp .lp-hero .one,
.lp .lp-hero .copy-more { color: var(--text); opacity: 1; }

/* Logo marquee — the homepage defines this; the Auckland page does not. */
.lp .lg-mq { flex: 1; min-width: 0; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.lp .lg-run { display: flex; align-items: center; width: max-content; animation: lgmq 70s linear infinite; }
.lp .lg-run img, .lp .lg-dup img { display: block; flex: none; margin-right: 56px; opacity: .88; max-width: none; height: auto; }
.lp .lg-dup { display: flex; align-items: center; }
.lp .lg-mq:hover .lg-run { animation-play-state: paused; }
@keyframes lgmq { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .lp .lg-run { animation: none; } }
.lp .lg-strip2 { position: relative; background: #fff; display: flex; align-items: center; gap: 28px; margin-top: 8px; padding: 18px 0 8px; border-top: 1px solid var(--line); }
.lp .lg-strip2 .eyebrow { flex: none; }
@media (max-width: 640px) {
  .lp .lg-strip2 { flex-direction: column; align-items: flex-start; gap: 14px; }
  .lp .lg-strip2 .lg-mq { width: 100%; }
}
.lp .founder-fact { margin-top: 8px; }
.lp .qgrid { display: grid; gap: 14px; }
@media (min-width: 800px) { .lp .qgrid { grid-template-columns: 1fr 1fr 1fr; } }
.lp .qcard { min-height: 0; height: auto; }
.lp .input, .lp select.input, .lp textarea.input {
  text-transform: none;
  letter-spacing: 0;
  word-spacing: normal;
}
.lp select.input { height: 46px; border: 1px solid var(--line); border-radius: 8px; padding: 0 12px; font: inherit; font-size: 15px; background: #fff; width: 100%; color: var(--text); }

/* nav: seven items stay on one row on narrow laptops */
.nav-links a { white-space: nowrap; }
@media (min-width: 1025px) and (max-width: 1240px) {
  .nav-links { gap: 22px; font-size: 16px; }
}

/* Auckland page (design review): the white booking card sits in the dark band, so its text must not inherit white */
.lp form.form-card { box-shadow: 16px 16px 0 var(--accent); }
.lp .dark form.form-card { color: var(--ink); }
.lp .dark form.form-card > h2 { display: none; } /* the band beside it already carries this heading */
.lp .dark form.form-card .consent > span { color: var(--ink); }
@media (min-width: 1025px) { .lp .hero-card { box-shadow: 16px 16px 0 var(--accent); } }
@media (max-width: 640px) { .lp form.form-card { box-shadow: 10px 10px 0 var(--accent); margin-right: 10px; } }
/* founder line reads as a byline under the heading, not as a card */
.lp .founder-fact { flex-direction: row; align-items: baseline; gap: 8px; max-width: none; margin: 10px 0 26px; padding: 0; background: none; border: 0; }
.lp .founder-fact b { font-family: var(--plex); font-size: 15px; font-weight: 600; }
.lp .founder-fact span { font-size: 15px; }
.lp .founder-fact span::before { content: "\00b7\00a0"; }

/* On this page: a box at the top of the side column on desktop, a fold-out under the page header on phones */
.toc-m { display: none; }
.prose h2[id] { scroll-margin-top: 24px; }
@media (max-width: 1024px) {
  .aside .box.toc { display: none; }
  .toc-m { display: block; margin: 4px 0 0; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--line); }
  .toc-m summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; padding: 14px 0; font-family: var(--mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink); }
  .toc-m summary::-webkit-details-marker { display: none; }
  .toc-m summary::after { content: "+"; font-size: 18px; line-height: 1; letter-spacing: 0; }
  .toc-m[open] summary::after { content: "\2013"; }
  .toc-m a { display: block; padding: 11px 0; border-top: 1px solid var(--line); color: var(--ink); font-size: 16px; line-height: 1.4; }
}
/* short laptop screens: drop the list so the side column and its button still fit while it sticks */
@media (min-width: 1025px) and (max-height: 820px) { .aside .box.toc { display: none; } }

/* Design standard v2: headings are upper case on every page, the Auckland page included */
.lp h1, .lp h2 { text-transform: uppercase; font-weight: 600; letter-spacing: -.02em; }
.lp h2 { font-size: clamp(24px, calc(2.05vw * var(--zf, 1)), 31px); line-height: 1.1; }
@media (min-width: 1025px) { .lp .lp-hero h1 { font-size: clamp(32px, calc(4.2vw * var(--zf, 1)), 58px); line-height: .98; } }
