/* LONGHAND INSURANCE BROKERS
   Paper, ink blue and highlighter yellow. A grocer with his policy
   schedule on one page, a cover builder sorted into law, need and worth a
   look, who we insure, why a broker, reviews, FAQ, quote. */

:root {
  --background: #F5F2EA;
  --card: #FFFFFF;
  --foreground: #1A2233;
  --primary-cta: #22408A;
  --primary-cta-text: #FFFFFF;
  --secondary-cta: transparent;
  --secondary-cta-text: #1A2233;
  --accent: #22408A;
  --background-accent: #ECE7DC;
  --radius: 0.5rem;
  --content-width: 86vw;
  --section-head-size: var(--text-6xl);
  --nav-ink: var(--foreground);
  --font-body: 'Hanken Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-heading: 'Newsreader', Georgia, serif;
  --font-hand: 'Caveat', 'Newsreader', cursive;

  --tint: #ECE7DC;
  --line: #DFD8CA;
  --muted: #535A67;
  --marker: #F6DB6E;
  --law: #9C3A2A;
  --btn-radius: 6px;
  --btn-icon-radius: 4px;
  --card-radius: 10px;
  --nav-radius: 8px;
  --btn-icon-bg: rgba(255, 255, 255, 0.16);
  --nav-bg: rgba(245, 242, 234, 0.95);
  --lead-bg: #22408A;
  --footer-bg: #1A2233;
  --footer-head: #F6DB6E;
  --star: #22408A;
}

@media (width >= 1600px) {
  :root { --content-width: clamp(40rem, 86vw, 94rem); }
}


/* --- Shared base for this batch: resets and the standard blocks ----------- */

.ambient { display: none; }
body { background: var(--background); }
figure, dd, blockquote { margin: 0; }
h1, h2, h3 { font-family: var(--font-heading); }

.section-head h2,
.grad-head { background: none; color: var(--foreground); }
.section-head h2 { max-width: 17ch; line-height: 1.02; }
.section-head > p { max-width: 54ch; color: var(--muted); }
.section--flush { padding-top: 1rem; }

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}

/* Buttons */
.btn { height: 3.1rem; padding-inline: 1.4rem 0.5rem; border-radius: var(--btn-radius, 8px); font-size: var(--text-base); font-weight: 600; }
.btn:not(.btn--arrow) { padding-inline: 1.4rem; }
.btn--arrow .btn__icon { width: 2.05rem; height: 2.05rem; border-radius: var(--btn-icon-radius, 6px); background: var(--btn-icon-bg, rgba(0, 0, 0, 0.18)); color: var(--btn-icon-ink, currentColor); }
.btn--arrow .btn__icon svg { width: 1rem; height: 1rem; }
.primary-button, .secondary-button { box-shadow: none; }
.secondary-button { border: 1px solid var(--foreground); }
.secondary-button.btn--arrow .btn__icon { background: var(--foreground); color: var(--background); }

/* Nav */
.navbar--bar .navbar__bar {
  background: var(--nav-bg, rgba(255, 255, 255, 0.92));
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border: 1px solid var(--nav-line, var(--line));
  border-radius: var(--nav-radius, 10px);
}
.navbar__brand { display: inline-flex; align-items: center; gap: 0.6rem; min-height: 2.75rem; font-family: var(--font-heading); font-weight: 700; letter-spacing: -0.01em; }
.navbar__toggle { border: 1px solid var(--nav-line, var(--line)); background: transparent; }
.navbar--bar .navbar__actions .btn { height: 2.65rem; }

/* Menu open: the panel behind the bar is dark, so the bar goes clear and the
   brand and close button, which the core turns white, stay readable. */
.nav-open .navbar--bar .navbar__bar { background: transparent; border-color: rgba(255, 255, 255, 0.22); -webkit-backdrop-filter: none; backdrop-filter: none; }

/* Long menu words ("Conservatories") in a wide face overran a phone screen. */
@media (width <= 640px) {
  .navbar__panel a { font-size: clamp(1.9rem, 9vw, 3.25rem); }
}

/* Stars */
.stars { display: flex; gap: 0.2rem; color: var(--star, #C98A0B); }
.stars svg { width: 1rem; height: 1rem; fill: currentColor; }

/* Reviews */
.reviews { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.reviews--lead { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) minmax(0, 1fr); }
.review { display: flex; flex-direction: column; gap: 0.9rem; padding: 1.5rem; border: 1px solid var(--line); border-radius: var(--card-radius, 10px); background: var(--card); }
.review blockquote { font-size: var(--text-lg); line-height: 1.55; }
.review__tag { font-size: var(--text-xs); font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.review__who { display: flex; align-items: center; gap: 0.75rem; margin-top: auto; font-size: var(--text-sm); color: var(--muted); }
.review__who strong { display: block; font-size: var(--text-base); color: var(--foreground); }
.review__who img { width: 2.6rem; height: 2.6rem; border-radius: 50%; object-fit: cover; flex: none; }
.review--lead { background: var(--lead-bg, var(--foreground)); border-color: var(--lead-bg, var(--foreground)); color: var(--lead-ink, #fff); }
.review--lead blockquote { font-family: var(--font-heading); font-size: var(--text-3xl); line-height: 1.22; }
.review--lead .review__who, .review--lead .review__tag { color: var(--lead-muted, rgba(255, 255, 255, 0.78)); }
.review--lead .review__who strong { color: var(--lead-ink, #fff); }

/* FAQ */
.faq { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.faq__intro { position: sticky; top: 7rem; display: flex; flex-direction: column; align-items: flex-start; gap: 1.1rem; }
.faq__intro h2, .faq__body h2 { font-size: var(--section-head-size); line-height: 1.02; max-width: 13ch; }
.faq__intro > p:not(.kicker) { max-width: 40ch; font-size: var(--text-lg); line-height: 1.55; color: var(--muted); }
.faq__body { display: flex; flex-direction: column; gap: 1.2rem; }
.faq__media img { width: 100%; height: 36rem; object-fit: cover; border-radius: var(--card-radius, 10px); }
.accordion__item { border: 1px solid var(--line); border-radius: var(--card-radius, 10px); background: var(--card); }
.accordion__trigger h3 { font-size: var(--text-xl); }
.accordion .badge-num { width: 2.1rem; height: 2.1rem; flex: none; border-radius: var(--btn-icon-radius, 6px); }
.accordion .badge-num svg { width: 1rem; height: 1rem; transition: transform 0.3s; }
.accordion__item[data-open='true'] .badge-num svg { transform: rotate(45deg); }
.accordion__panel p { color: var(--muted); }

/* Contact */
.contact { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; align-items: stretch; }
.contact__panel { display: flex; flex-direction: column; gap: 0.9rem; padding: 2.5rem; border: 1px solid var(--line); border-radius: var(--card-radius, 10px); background: var(--card); }
.contact__panel h2 { font-size: var(--text-6xl); line-height: 1.02; max-width: 13ch; }
.contact__panel > p:not(.kicker) { font-size: var(--text-lg); line-height: 1.5; color: var(--muted); margin-bottom: 0.5rem; }
.contact__panel .form button { height: 3.25rem; border-radius: var(--btn-radius, 8px); font-weight: 600; }
.form input, .form select, .form textarea { border-radius: var(--btn-radius, 8px); background: var(--field, #FCFBF8); }
.contact__media { position: relative; overflow: hidden; border-radius: var(--card-radius, 10px); }
.contact__media img { width: 100%; height: 100%; min-height: 26rem; object-fit: cover; }
.contact__media figcaption {
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.6rem 0.6rem 0.6rem 1rem;
  border-radius: var(--btn-radius, 8px);
  background: var(--card);
  color: var(--foreground);
  font-size: var(--text-sm);
  font-weight: 500;
}
.contact__media figcaption a { display: inline-flex; align-items: center; flex: none; height: 2.6rem; padding-inline: 1rem; border-radius: var(--btn-icon-radius, 6px); background: var(--primary-cta); color: var(--primary-cta-text); font-weight: 600; }

/* Footer */
.site-footer { padding-block: 4.5rem 3rem; border-radius: 0; background: var(--footer-bg, var(--foreground)); color: var(--footer-ink, #fff); }
.footer-top { display: grid; grid-template-columns: 1fr auto; gap: 3rem; align-items: start; }
.footer-brand { font-family: var(--font-heading); font-size: var(--text-5xl); font-weight: 700; line-height: 1.05; }
.footer-nav { display: grid; grid-template-columns: repeat(3, minmax(9rem, auto)); gap: 2.5rem; }
.footer-nav h3 { margin-bottom: 1rem; font-family: var(--font-body); font-size: var(--text-xs); font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--footer-head, rgba(255, 255, 255, 0.75)); }
.footer-nav ul { display: flex; flex-direction: column; gap: 0.75rem; }
.footer-nav a { font-size: var(--text-lg); color: var(--footer-link, rgba(255, 255, 255, 0.88)); transition: color 0.2s; }
.footer-nav a:hover { color: var(--footer-ink, #fff); }
.footer-legal-bar { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--footer-line, rgba(255, 255, 255, 0.15)); font-size: var(--text-base); color: var(--footer-muted, rgba(255, 255, 255, 0.72)); }
.footer-legal-bar div { display: flex; gap: 1.25rem; }

@media (width <= 1100px) {
  .reviews--lead { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .reviews--lead .review--lead { grid-column: 1 / -1; }
}

@media (width <= 960px) {
  .faq, .contact { grid-template-columns: minmax(0, 1fr); }
  .faq__intro { position: static; }
  .reviews { grid-template-columns: minmax(0, 1fr); }
  .faq__media img { height: 22rem; }
}

@media (width <= 768px) {
  .faq__intro h2, .faq__body h2 { font-size: var(--text-6xl); }
  .contact__panel { padding: 1.5rem; }
  .contact__panel h2 { font-size: var(--text-6xl); }
  .contact__media img { height: auto; min-height: 0; aspect-ratio: 4 / 3; }
  .contact__media figcaption { position: static; border-radius: 0; flex-wrap: wrap; }
  .review--lead blockquote { font-size: var(--text-2xl); }
  .footer-top { grid-template-columns: minmax(0, 1fr); gap: 2rem; }
  .footer-nav { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; }
  .footer-brand { font-size: var(--text-4xl); }
}


.hero__title, .section-head h2, .faq__intro h2, .faq__body h2, .contact__panel h2, .footer-brand { font-weight: 500; letter-spacing: -0.02em; }
.hero__title em, .section-head h2 em { font-style: italic; }
.navbar__brand { font-family: var(--font-heading); font-size: 1.4rem; font-weight: 600; font-style: italic; }
.navbar__brand::before { content: ''; width: 1.4rem; height: 0.55rem; margin-top: 0.5rem; flex: none; border-radius: 2px; background: var(--marker); }
.review--lead .stars { color: var(--marker); }
mark { background: linear-gradient(transparent 20%, var(--marker) 20%, var(--marker) 88%, transparent 88%); color: inherit; }

/* --- Hero: a grocer, and his cover on one page ------------------------------------ */

.hero { padding-top: 8.25rem; padding-bottom: 4.5rem; }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.hero__copy { display: flex; flex-direction: column; align-items: flex-start; gap: 1.35rem; }
.hero__title { max-width: 12ch; font-size: clamp(3.1rem, 5.6vw, 6.2rem); line-height: 1; }
.hero__lede { max-width: 44ch; font-size: var(--text-xl); line-height: 1.55; color: var(--muted); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.hero__facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); width: 100%; max-width: 34rem; margin-top: 0.4rem; border-top: 1px solid var(--line); }
.hero__facts li { padding: 0.9rem 0.8rem 0 0; font-size: var(--text-sm); color: var(--muted); }
.hero__facts b { display: block; font-family: var(--font-heading); font-size: var(--text-2xl); font-weight: 600; color: var(--foreground); }
.hero__visual { position: relative; padding: 0 0 3rem 4.5rem; }
.hero__photo { display: block; width: 100%; height: min(72svh, 40rem); min-height: 27rem; object-fit: cover; object-position: 30% 50%; border-radius: var(--card-radius); }
.sched { position: absolute; left: 0; bottom: 0; width: 21rem; padding: 1.1rem 1.2rem 0.9rem; border-radius: 4px; background: #FFFFFF; box-shadow: 0 30px 60px -30px rgba(26, 34, 51, 0.55); transform: rotate(-1deg); }
.sched__head { display: grid; gap: 0.05rem; margin-bottom: 0.6rem; }
.sched__head span { font-size: var(--text-xs); font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); }
.sched__head b { font-family: var(--font-heading); font-size: var(--text-xl); font-weight: 600; }
.sched__head em { font-size: var(--text-xs); font-style: normal; color: var(--muted); }
.sched__t { width: 100%; border-collapse: collapse; font-size: var(--text-sm); }
.sched__t th { padding: 0.42rem 0.5rem 0.42rem 0; border-top: 1px solid var(--line); font-weight: 500; text-align: left; color: var(--muted); }
.sched__t td { padding: 0.42rem 0; border-top: 1px solid var(--line); font-weight: 600; text-align: right; white-space: nowrap; }
.sched__t .hl th { color: var(--foreground); }
.sched__note { display: flex; align-items: flex-end; justify-content: flex-end; gap: 0.3rem; margin: 0.1rem 0 0; font-family: var(--font-hand); font-size: 1.35rem; font-weight: 600; line-height: 1; color: var(--primary-cta); transform: rotate(-3deg); }
.sched__note svg { width: 1.9rem; height: 1.2rem; margin-bottom: 0.35rem; }
.sched__foot { display: flex; justify-content: space-between; align-items: baseline; margin-top: 0.55rem; padding-top: 0.55rem; border-top: 2px solid var(--foreground); font-size: var(--text-sm); color: var(--muted); }
.sched__foot b { font-family: var(--font-heading); font-size: var(--text-lg); color: var(--foreground); }

/* --- Cover builder -------------------------------------------------------------------- */

.section--tint { background: var(--tint); }
.cov { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: 1rem; align-items: start; }
.cov__in, .cov__out { display: flex; flex-direction: column; gap: 0.7rem; padding: 1.5rem; border-radius: var(--card-radius); background: var(--card); }
.cov__in { position: sticky; top: 6.5rem; }
.lab { margin-top: 0.3rem; font-size: var(--text-xs); font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.types { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.35rem; }
.types button, .seg button { min-height: 2.75rem; padding: 0.3rem 0.6rem; border: 1px solid var(--line); border-radius: 6px; background: var(--card); color: var(--foreground); font: inherit; font-size: var(--text-sm); font-weight: 600; text-align: left; cursor: pointer; }
.types button[aria-pressed='true'], .seg button[aria-pressed='true'] { border-color: var(--primary-cta); background: var(--primary-cta); color: #FFFFFF; }
.seg { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.35rem; }
.seg button { text-align: center; }
.sl { display: grid; gap: 0.1rem; margin-top: 0.3rem; font-weight: 600; }
.sl > span { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; }
.sl output { font-family: var(--font-heading); font-size: var(--text-2xl); font-weight: 600; }
.sl input { width: 100%; height: 2.6rem; margin: 0; background: transparent; -webkit-appearance: none; appearance: none; cursor: pointer; }
.sl input::-webkit-slider-runnable-track { height: 6px; border-radius: 6px; background: #DED7C8; }
.sl input::-webkit-slider-thumb { width: 26px; height: 26px; margin-top: -10px; border: 4px solid #FFFFFF; border-radius: 50%; background: var(--primary-cta); box-shadow: 0 0 0 1px rgba(26, 34, 51, 0.3); -webkit-appearance: none; }
.sl input::-moz-range-track { height: 6px; border-radius: 6px; background: #DED7C8; }
.sl input::-moz-range-thumb { width: 18px; height: 18px; border: 4px solid #FFFFFF; border-radius: 50%; background: var(--primary-cta); }
.sl input:focus-visible { outline: 3px solid var(--foreground); outline-offset: 3px; border-radius: 6px; }
.tog { display: flex; align-items: flex-start; gap: 0.75rem; margin-top: 0.4rem; font-size: var(--text-sm); font-weight: 500; line-height: 1.45; cursor: pointer; }
.tog input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.tog__ui { position: relative; width: 2.6rem; height: 1.5rem; flex: none; border-radius: 999px; background: #D4CCBC; transition: background 0.25s; }
.tog__ui::after { content: ''; position: absolute; top: 0.2rem; left: 0.2rem; width: 1.1rem; height: 1.1rem; border-radius: 50%; background: #FFFFFF; transition: transform 0.25s cubic-bezier(0.32, 0.72, 0, 1); }
.tog input:checked + .tog__ui { background: var(--primary-cta); }
.tog input:checked + .tog__ui::after { transform: translateX(1.1rem); }
.tog input:focus-visible + .tog__ui { outline: 3px solid var(--foreground); outline-offset: 2px; }
.cov__group { display: grid; gap: 0.2rem; }
.cov__group + .cov__group { margin-top: 0.4rem; }
.cov__group h3 { justify-self: start; padding: 0 0.3rem; font-family: var(--font-heading); font-size: var(--text-2xl); font-weight: 600; background: linear-gradient(transparent 55%, var(--marker) 55%, var(--marker) 92%, transparent 92%); }
.cov__group--law h3 { color: var(--law); }
.cov__group ul { display: grid; }
.cov__group li { padding: 0.75rem 0; border-bottom: 1px solid var(--line); }
.cov__group li div { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; }
.cov__group li b { font-weight: 600; }
.cov__group li span { font-family: var(--font-heading); font-size: var(--text-lg); font-weight: 600; white-space: nowrap; }
.cov__group li p { margin-top: 0.2rem; font-size: var(--text-sm); line-height: 1.5; color: var(--muted); }
.cov__group--look li b, .cov__group--look li span { color: var(--muted); }
.cov__group .cov__none { font-size: var(--text-sm); color: var(--muted); }
.cov__price { margin-top: 0.6rem; padding: 1rem 1.1rem; border-radius: 8px; background: var(--background); }
.cov__price p:first-child { font-size: var(--text-lg); color: var(--muted); }
.cov__price b { font-family: var(--font-heading); font-size: var(--text-4xl); font-weight: 600; color: var(--foreground); }
.cov__fine { margin-top: 0.35rem; font-size: var(--text-xs); line-height: 1.5; color: var(--muted); }
.cov__out .btn { align-self: flex-start; margin-top: 0.4rem; }

/* --- Who we insure ---------------------------------------------------------------------- */

.who { display: grid; grid-template-columns: minmax(0, 1.3fr) repeat(2, minmax(0, 1fr)); grid-auto-rows: 1fr; gap: 1rem; }
.who__tile { display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--line); border-radius: var(--card-radius); background: var(--card); }
.who__tile--big { grid-row: span 2; }
.who__tile img { width: 100%; flex: 1; min-height: 11rem; object-fit: cover; }
.who__tile figcaption { display: grid; gap: 0.2rem; padding: 0.9rem 1.1rem 1.05rem; }
.who__tile b { font-family: var(--font-heading); font-size: var(--text-xl); font-weight: 600; }
.who__tile span { font-size: var(--text-sm); line-height: 1.5; color: var(--muted); }

/* --- Why a broker ------------------------------------------------------------------------ */

.why { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.why__pic img { width: 100%; height: 34rem; object-fit: cover; object-position: 55% 50%; border-radius: var(--card-radius); }
.why__body { display: flex; flex-direction: column; align-items: flex-start; gap: 1.5rem; }
.why__list { display: grid; width: 100%; }
.why__list li { display: grid; grid-template-columns: 2.6rem minmax(0, 1fr); gap: 1rem; padding: 1.1rem 0; border-top: 1px solid rgba(26, 34, 51, 0.14); }
.why__list b { font-family: var(--font-hand); font-weight: 600; font-size: var(--text-5xl); line-height: 1; color: var(--primary-cta); }
.why__list h3 { font-size: var(--text-xl); font-weight: 600; font-family: var(--font-body); }
.why__list p { margin-top: 0.25rem; line-height: 1.55; color: var(--muted); }

/* --- Standard blocks ----------------------------------------------------------------------- */

.accordion .badge-num { background: var(--primary-cta); color: #FFFFFF; }
.footer-reg { max-width: 30ch; margin-top: 0.8rem; font-size: var(--text-sm); line-height: 1.5; color: rgba(255, 255, 255, 0.72); }

/* --- Laptop and below ----------------------------------------------------------------------- */

@media (width <= 1100px) {
  .cov { grid-template-columns: minmax(0, 1fr); }
  .cov__in { position: relative; top: auto; }
}

@media (width <= 960px) {
  .hero__grid, .why { grid-template-columns: minmax(0, 1fr); }
  .who { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: auto; }
  .who__tile--big { grid-column: 1 / -1; grid-row: auto; }
  .who__tile img { flex: none; height: 13rem; }
  .who__tile--big img { height: 17rem; }
  .why__pic img { height: 22rem; }
}

@media (width <= 768px) {
  .hero { padding-top: 6.75rem; padding-bottom: 3rem; }
  .hero__title { font-size: clamp(2.8rem, 12.5vw, 4rem); }
  .hero__lede { font-size: var(--text-lg); }
  .hero__facts b { font-size: var(--text-xl); }
  .hero__visual { padding: 0; }
  .hero__photo { height: 21rem; min-height: 0; }
  .sched { position: relative; width: auto; margin: -3rem 0.8rem 0; transform: none; }
  .cov__in, .cov__out { padding: 1.15rem; }
  .cov__price b { font-size: var(--text-3xl); }
  .who { grid-template-columns: minmax(0, 1fr); }
  .who__tile img, .who__tile--big img { height: 13rem; }
}
