/* Cameron Scott Barrister landing pages. Brand from his site: navy #0E3154, gold #D4AF36. Type: Libre Caslon + Source Sans 3. */
@font-face { font-family: 'Caslon'; src: url(../fonts/LibreCaslonText-400.woff2) format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Source Sans 3'; src: url(../fonts/SourceSans3-var.woff2) format('woff2'); font-weight: 400 700; font-display: swap; }
:root {
  --navy: #0e3154; --navy-2: #0a2440; --navy-3: #14406b; --gold: #d4af36; --gold-2: #e6c862; --gold-ink: #7a5d0c;
  --cream: #f6f3ec; --paper: #fff; --text: #1b2230; --muted: #4f5866; --line: #e3ddd0;
  --gap: 4.25rem; --r: 6px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font: 400 1.0625rem/1.6 'Source Sans 3', system-ui, sans-serif; color: var(--text); background: var(--paper); }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { font-family: 'Caslon', Georgia, serif; font-weight: 400; line-height: 1.15; margin: 0 0 .9rem; letter-spacing: -.005em; }
h1 { font-size: clamp(2rem, 4.2vw, 3.05rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1rem; }
a { color: var(--navy-3); }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 1.25rem; }
main > section { padding: var(--gap) 0; }

/* header */
.top { background: var(--navy-2); color: #fff; position: sticky; top: 0; z-index: 20; }
.top__in { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 72px; }
.logo { width: 170px; height: auto; }
.top__ctas { display: flex; gap: .6rem; align-items: center; }
.top__phone, .top__book { display: inline-flex; align-items: center; gap: .45rem; height: 46px; padding: 0 1.05rem; border-radius: var(--r); font-weight: 700; text-decoration: none; font-size: 1.05rem; }
.top__phone { background: var(--gold); color: var(--navy-2); }
.top__phone svg, .btn svg, .callbar svg { width: 18px; height: 18px; }
.top__book { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,.55); }
@media (max-width: 640px) { .top__book { display: none; } .logo { width: 132px; } .top__phone { padding: 0 .8rem; font-size: 1rem; } }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; min-height: 54px; padding: .8rem 1.4rem; border: 0; border-radius: var(--r); font: 700 1.08rem/1.2 'Source Sans 3', sans-serif; text-decoration: none; cursor: pointer; }
.btn--gold { background: var(--gold); color: var(--navy-2); }
.btn--gold:hover { background: var(--gold-2); }
.btn--navy { background: var(--navy); color: #fff; }
.btn--navy:hover { background: var(--navy-3); }
.btn--block { width: 100%; }
.ticks { list-style: none; padding: 0; margin: 0 0 1.4rem; display: flex; flex-wrap: wrap; gap: .4rem 1.3rem; font-weight: 600; }
.ticks li::before { content: '\2713'; color: var(--gold); margin-right: .4rem; font-weight: 700; }
.hero-sub { font-size: 1.15rem; max-width: 36rem; }
.kicker { font-weight: 700; color: var(--gold); margin-bottom: .6rem; font-size: 1.02rem; }

/* form */
.qform { background: var(--paper); color: var(--text); border-radius: 10px; padding: 1.5rem; box-shadow: 0 18px 44px rgba(5,20,40,.28); border-top: 5px solid var(--gold); }
.qform__title { font-size: 1.55rem; margin-bottom: .35rem; }
.qform__lead { color: var(--muted); margin-bottom: 1rem; font-size: 1rem; }
.qform__q { font-weight: 700; margin: 0 0 .65rem; }
.tiles { display: grid; grid-template-columns: 1fr 1fr; gap: .55rem; }
.tile { position: relative; }
.tile input { position: absolute; opacity: 0; inset: 0; }
.tile span { display: flex; align-items: center; min-height: 58px; padding: .55rem .8rem; border: 1.5px solid #8a8f99; border-radius: var(--r); font-weight: 600; line-height: 1.25; cursor: pointer; }
.tile input:checked + span, .tile span:hover { border-color: var(--navy); background: #eef3f9; }
.tile input:focus-visible + span { outline: 3px solid var(--gold); outline-offset: 2px; }
.fld { margin-bottom: .8rem; }
.fld label { display: block; font-weight: 700; margin-bottom: .25rem; }
.fld small { font-weight: 400; color: var(--muted); }
.fld input { width: 100%; height: 50px; border: 1.5px solid #b9bfc9; border-radius: var(--r); padding: 0 .8rem; font: inherit; }
.fld input:focus { outline: 3px solid var(--gold); border-color: var(--navy); }
.qform__back { background: none; border: 0; color: var(--muted); text-decoration: underline; cursor: pointer; margin-top: .5rem; font: inherit; }
.qform__note { margin: .9rem 0 0; font-size: .95rem; color: var(--muted); }
.ferr { color: #a1261b; font-weight: 600; margin: .5rem 0 0; min-height: 0; }
.ferr:empty { display: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 420px) { .tiles { grid-template-columns: 1fr; } .tile span { min-height: 50px; } }

/* photos */
.ph { margin: 0; }
.ph img { width: 100%; border-radius: var(--r); object-fit: cover; cursor: zoom-in; }
.ph figcaption { font-size: .9rem; color: var(--muted); margin-top: .4rem; }

/* option A: navy panel left, photo right, form over the seam */
.hero-a { position: relative; background: var(--navy); color: #fff; overflow: hidden; }
.hero-a__photo { position: absolute; inset: 0 0 0 52%; }
.hero-a__photo img { width: 100%; height: 100%; object-fit: cover; }
.hero-a__photo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, var(--navy) 0%, rgba(14,49,84,.55) 35%, rgba(14,49,84,.25) 100%); }
.hero-a__in { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 3rem; padding: 3.5rem 1.25rem 4rem; align-items: center; }
.hero-a h1 { color: #fff; }
@media (max-width: 900px) { .hero-a__photo { inset: 0; opacity: .25; } .hero-a__in { grid-template-columns: 1fr; gap: 1.6rem; padding-top: 2rem; } }

/* option B: full-width photo with scrim, form card right */
.hero-b { position: relative; color: #fff; background: var(--navy-2); min-height: 640px; display: flex; align-items: center; }
.hero-b__bg { position: absolute; inset: 0; }
.hero-b__bg img { width: 100%; height: 100%; object-fit: cover; }
.hero-b__bg::after { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at 30% 50%, rgba(10,36,64,.86) 0%, rgba(10,36,64,.72) 55%, rgba(10,36,64,.5) 100%); }
.hero-b__in { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: 3rem; padding: 3.5rem 1.25rem; align-items: center; width: 100%; }
.hero-b h1 { color: #fff; text-shadow: 0 2px 14px rgba(0,0,0,.35); }
@media (max-width: 900px) { .hero-b { min-height: 0; } .hero-b__in { grid-template-columns: 1fr; gap: 1.6rem; padding-top: 2rem; } }
.qband { background: var(--navy-2); color: #fff; padding: 2.2rem 0 !important; }
.qband blockquote { margin: 0 auto; max-width: 52rem; font: 400 1.35rem/1.5 'Caslon', Georgia, serif; text-align: center; }
.qband cite { display: block; margin-top: .6rem; font: 600 1rem 'Source Sans 3', sans-serif; color: var(--gold); font-style: normal; }

/* option C: light, barrister-led */
.hero-c { background: var(--cream); }
.hero-c__in { display: grid; grid-template-columns: 1.15fr .85fr; gap: 3rem; padding: 3rem 1.25rem 3.5rem; align-items: start; }
.hero-c h1 { color: var(--navy); }
.hero-c .kicker { color: var(--gold-ink); }
.who { display: grid; grid-template-columns: 132px 1fr; gap: 1.1rem; align-items: center; background: var(--paper); border: 1px solid var(--line); border-radius: 10px; padding: .9rem; margin: 0 0 1.4rem; max-width: 36rem; }
.who img { width: 132px; height: 154px; object-fit: cover; object-position: top; border-radius: var(--r); cursor: zoom-in; }
.who p { margin: 0 0 .35rem; font-size: 1rem; }
.who b { font-family: 'Caslon', Georgia, serif; font-weight: 400; font-size: 1.25rem; color: var(--navy); }
.who q { color: var(--muted); }
.hero-c__call { display: inline-flex; gap: .55rem; align-items: center; }
@media (max-width: 900px) { .hero-c__in { grid-template-columns: 1fr; gap: 1.6rem; padding-top: 1.6rem; } .who { grid-template-columns: 96px 1fr; } .who img { width: 96px; height: 112px; } }
.band { padding: 0 !important; }
.band img { width: 100%; height: clamp(240px, 34vw, 460px); object-fit: cover; cursor: zoom-in; }
.band figcaption { max-width: 1180px; margin: .5rem auto 0; padding: 0 1.25rem 1rem; font-size: .9rem; color: var(--muted); }

/* trust band */
.trust { background: var(--navy-2); color: #fff; padding: 2rem 0 !important; }
.trust__in { display: grid; grid-template-columns: auto repeat(3, 1fr); gap: 1.6rem; align-items: center; }
.trust__badge { width: 104px; }
.trust b { display: block; font: 400 1.4rem/1.2 'Caslon', Georgia, serif; color: var(--gold); margin-bottom: .2rem; }
.trust span { color: #d6dce6; font-size: 1rem; }
@media (max-width: 800px) { .trust__in { grid-template-columns: 1fr 1fr; } .trust__badge { width: 88px; } }

/* worth knowing */
.know { background: var(--paper); }
.know__in { display: grid; grid-template-columns: 1.1fr .9fr; gap: 3rem; align-items: start; }
.flow p b { color: var(--navy); }
.know__phs { display: grid; gap: 1rem; }
@media (max-width: 900px) { .know__in { grid-template-columns: 1fr; } }

/* what Cameron does */
.does { background: var(--cream); }
.does__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.2rem 2.4rem; margin-top: 1.4rem; }
.does__grid div { border-left: 3px solid var(--gold); padding-left: 1rem; }
.does__grid h3 { color: var(--navy); margin-bottom: .35rem; }
.does__grid p { margin: 0; }
@media (max-width: 800px) { .does__grid { grid-template-columns: 1fr; } }

/* compare (restricted licence) */
.compare { background: var(--paper); }
.compare table { width: 100%; border-collapse: collapse; margin-top: 1.2rem; font-size: 1rem; }
.compare th, .compare td { text-align: left; vertical-align: top; padding: .85rem .9rem; border-bottom: 1px solid var(--line); }
.compare thead th { background: var(--navy); color: #fff; font-weight: 700; }
.compare thead th:last-child { background: var(--gold); color: var(--navy-2); }
.compare tbody th { font-weight: 700; color: var(--navy); width: 24%; }
@media (max-width: 700px) { .compare table, .compare tbody, .compare tr, .compare td, .compare th { display: block; width: auto; } .compare thead { display: none; } .compare td::before { content: attr(data-h); display: block; font-weight: 700; color: var(--gold-ink); font-size: .9rem; } }

/* Cameron section */
.cameron { background: var(--navy); color: #fff; }
.cameron__in { display: grid; grid-template-columns: .75fr 1.25fr; gap: 3rem; align-items: center; }
.cameron h2 { color: #fff; }
.cameron .ph figcaption { color: #c4ccd8; }
.cameron__addr { color: var(--gold); font-weight: 600; }
@media (max-width: 800px) { .cameron__in { grid-template-columns: 1fr; } .cameron .ph { max-width: 340px; } }

/* reviews */
.reviews { background: var(--cream); }
.reviews__head { display: flex; justify-content: space-between; align-items: end; gap: 1rem; flex-wrap: wrap; }
.reviews__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; margin-top: 1.2rem; }
.reviews figure { margin: 0; background: var(--paper); border: 1px solid var(--line); border-radius: 10px; padding: 1.3rem; }
.reviews blockquote { margin: 0 0 .7rem; }
.reviews figcaption { font-weight: 700; color: var(--navy); }
.stars { color: var(--gold-ink); letter-spacing: .08em; }
@media (max-width: 900px) { .reviews__grid { grid-template-columns: 1fr; } }

/* Hobart gallery */
.courts .gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 1.2rem; }
.courts .gallery img { aspect-ratio: 4/3; }
@media (max-width: 800px) { .courts .gallery { grid-template-columns: 1fr 1fr; } }

/* faq */
.faq__in { max-width: 860px; }
.faq details { border-bottom: 1px solid var(--line); padding: 1rem 0; }
.faq summary { font-weight: 700; cursor: pointer; font-size: 1.1rem; color: var(--navy); }
.faq details p { margin: .6rem 0 0; }

/* closing */
.close { background: var(--navy-2); color: #fff; text-align: center; }
.close h2, .close h1 { color: #fff; }
.close__in { max-width: 760px; }
.close__ctas { display: flex; gap: 1rem; justify-content: center; align-items: center; flex-wrap: wrap; margin-top: 1.2rem; }
.close__link { color: #fff; font-weight: 600; }

/* footer, call bar, lightbox */
.foot { background: #071a2f; color: #b9c2cf; font-size: .92rem; padding: 2rem 0 5.5rem; }
.foot a { color: #fff; }
.callbar { display: none; }
@media (max-width: 800px) { .callbar { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; align-items: center; justify-content: center; gap: .5rem; min-height: 56px; background: var(--gold); color: var(--navy-2); font-weight: 700; text-decoration: none; font-size: 1.08rem; box-shadow: 0 -4px 14px rgba(0,0,0,.2); } }
.lb { border: 0; padding: 0; background: transparent; max-width: 96vw; max-height: 94vh; }
.lb::backdrop { background: rgba(5,12,22,.88); }
.lb img { max-width: 92vw; max-height: 82vh; margin: 0 auto; border-radius: var(--r); }
.lb__c { color: #fff; text-align: center; margin: .6rem 0 0; }
.lb__x, .lb__p, .lb__n { position: fixed; background: rgba(255,255,255,.15); color: #fff; border: 0; font-size: 2rem; width: 48px; height: 48px; border-radius: 50%; cursor: pointer; }
.lb__x { top: 1rem; right: 1rem; } .lb__p { left: 1rem; top: 50%; } .lb__n { right: 1rem; top: 50%; }

/* phones: the form follows the headline so step 1 is on the first screen */
@media (max-width: 900px) {
  .hcopy { display: contents; }
  .hcopy > * { order: 2; }
  .hcopy > h1, .hcopy > .proof { order: 0; }
  .hero-a__photo { display: none; }
  .courts .gallery figure:first-child { grid-column: span 2; }
  .hero-c .who { order: 3; }
  .hform, .hero-b__in > .qform, .hero-c__in > .qform { order: 1; }
  .hero-a__in, .hero-b__in, .hero-c__in { gap: 1rem; }
  h1 { font-size: 1.75rem; margin-bottom: .5rem; }
  .kicker { margin-bottom: .3rem; font-size: .95rem; }
  .qform { padding: 1.1rem; }
  .qform__title { font-size: 1.3rem; }
  .qform__lead { margin-bottom: .6rem; }
  .hero-sub { margin-top: .6rem; }
}
@media (max-width: 420px) { .tiles { grid-template-columns: 1fr 1fr; } .tile span { min-height: 54px; font-size: .97rem; } }
.proof { font-size: 1rem; margin: 0 0 .9rem; max-width: 36rem; }
.proof b { font-weight: 700; }
.hero-a .proof, .hero-b .proof { color: #e8edf4; }
.hero-a .stars, .hero-b .stars { color: var(--gold); }
@media (max-width: 900px) { .hero-b__bg { bottom: auto; height: 360px; } .hero-b__bg::after { background: linear-gradient(180deg, rgba(10,36,64,.72) 0%, rgba(10,36,64,.85) 70%, var(--navy-2) 100%); } }
