@font-face { font-family: "Fraunces"; src: url("./assets/fonts/fraunces-latin-opsz-normal.woff2") format("woff2"); font-weight: 300 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Public Sans"; src: url("./assets/fonts/public-sans-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Public Sans"; src: url("./assets/fonts/public-sans-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }

:root {
  /* From the Royle logo: broker blue and the orange swoosh */
  --blue: #006bb5; --navy: #0d2f4f; --orange: #f39400; --orange-deep: #c86f00; --sky: #e8f1f8;
  --ink: #15212d; --muted: #4f5d6b; --paper: #fcfaf6; --card: #ffffff; --line: #dfe5eb;
  --display: "Fraunces", Georgia, "Times New Roman", serif;
  --body: "Public Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --max: 1180px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16.5px/1.6 var(--body); }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
.wrap { width: min(100% - 36px, var(--max)); margin-inline: auto; }
.skip { position: absolute; left: -999px; } .skip:focus { left: 16px; top: 16px; background: var(--card); padding: 8px; z-index: 50; }
h1, h2, h3 { font-family: var(--display); font-weight: 500; line-height: 1.12; margin: 0 0 .45em; color: var(--navy); }
h1 { font-size: clamp(2.1rem, 4.4vw, 3.5rem); letter-spacing: -.015em; }
h2 { font-size: clamp(1.65rem, 3vw, 2.4rem); letter-spacing: -.01em; }
h3 { font-size: 1.3rem; }
p { margin: 0 0 .9em; }
.kicker { font-size: .78rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--orange-deep); margin-bottom: .8em; }
.lede { color: var(--muted); font-size: 1.08rem; max-width: 58ch; }
.small { font-size: .9rem; color: var(--muted); }

/* Header */
.topbar { position: sticky; top: 0; z-index: 20; background: rgb(255 255 255 / .97); border-bottom: 3px solid var(--orange); }
.mast { display: flex; align-items: center; gap: 24px; padding: 12px 0; }
.brand img { width: 210px; }
.mast nav { display: flex; gap: 22px; margin-left: auto; }
.mast nav a { text-decoration: none; color: var(--muted); font-weight: 600; font-size: .95rem; white-space: nowrap; }
.mast nav a:hover, .mast nav a:focus-visible { color: var(--blue); }
.call { background: var(--blue); color: #fff; text-decoration: none; font-weight: 600; padding: 8px 16px; border-radius: 99px; white-space: nowrap; }
.demo-label { font-size: .7rem; color: var(--muted); border: 1px solid var(--line); border-radius: 99px; padding: 2px 9px; }

/* Buttons */
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; align-items: center; }
.actions.center { justify-content: center; margin-top: 36px; }
.primary, .secondary { display: inline-block; font: 600 1rem var(--body); padding: 13px 22px; border-radius: 6px; border: 2px solid var(--blue); cursor: pointer; text-decoration: none; }
.primary { background: var(--blue); color: #fff; }
.primary:hover { background: #00599a; border-color: #00599a; }
.secondary { background: #fff; color: var(--blue); }
.secondary:hover { background: var(--sky); }
.text-link { background: none; border: 0; padding: 0; font: inherit; font-weight: 600; color: var(--blue); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }

/* Hero */
.hero { padding: 54px 0 62px; background: linear-gradient(180deg, var(--sky), var(--paper) 88%); }
.hero-grid { display: grid; grid-template-columns: 1.4fr .6fr; gap: 48px; align-items: start; }
.hero h1 { max-width: 19ch; }
.intro { font-size: 1.13rem; color: var(--muted); max-width: 60ch; }
.ticks { list-style: none; padding: 0; margin: 20px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 26px; }
.ticks li { position: relative; padding-left: 30px; line-height: 1.4; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 1px; width: 20px; height: 20px; border-radius: 50%; background: var(--orange); }
.ticks li::after { content: ""; position: absolute; left: 7px; top: 5px; width: 5px; height: 9px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.facts { background: var(--card); border: 1px solid var(--line); border-radius: 10px; box-shadow: 0 10px 30px rgb(13 47 79 / .08); overflow: hidden; }
.hero-quote { margin: 0; padding: 20px 22px; background: var(--navy); border: 0; }
.hero-quote p { font: 500 1.25rem/1.3 var(--display); color: #fff; margin: 0 0 8px; }
.hero-quote cite { font-style: normal; font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--orange); }
.fact { padding: 15px 22px; border-top: 1px solid var(--line); }
.hero-quote + .fact { border-top: 0; }
.fact h2 { font: 600 .74rem var(--body); letter-spacing: .12em; text-transform: uppercase; color: var(--blue); margin: 0 0 6px; }
.fact p { margin: 0 0 4px; }
.fact a { color: var(--ink); font-weight: 600; text-decoration: none; }
.fact .big { font: 500 1.7rem/1.1 var(--display); color: var(--navy); }
.fact-note { background: var(--sky); font-size: .86rem; color: var(--muted); }

/* Sections */
.section { padding: 70px 0; border-top: 1px solid var(--line); }
.section-tint { background: var(--sky); border-top: 0; }
.section-head { max-width: 780px; margin-bottom: 30px; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card { background: var(--card); border: 1px solid var(--line); border-top: 4px solid var(--blue); border-radius: 8px; padding: 22px 22px 20px; display: flex; flex-direction: column; transition: transform .15s ease, box-shadow .15s ease; }
.card:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgb(13 47 79 / .08); }
.card p { color: var(--muted); }
.card .text-link { margin-top: auto; align-self: flex-start; padding-top: 6px; }
.card-quiet { border-top-color: var(--line); background: #fbfcfd; }
.mini { margin: 0 0 14px; padding: 0; list-style: none; columns: 2; column-gap: 16px; font-size: .92rem; }
.mini li { break-inside: avoid; padding: 3px 0 3px 14px; position: relative; }
.mini li::before { content: ""; position: absolute; left: 0; top: .72em; width: 6px; height: 6px; border-radius: 50%; background: var(--orange); }

.biz { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 40px; }
.biz article { padding: 22px 0; border-top: 2px solid var(--navy); }
.biz p { color: var(--muted); margin: 0; }

.band { background: var(--navy); color: #e9f0f7; border-top: 0; }
.band h2, .band h3 { color: #fff; }
.band .kicker { color: var(--orange); }
.band-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: start; }
.why { margin: 26px 0 0; }
.why > div { padding: 12px 0; border-top: 1px solid rgb(255 255 255 / .18); }
.why dt { font-weight: 600; color: #fff; }
.why dd { margin: 2px 0 0; color: #c9d7e5; }
.steps { margin: 0; padding: 0; list-style: none; counter-reset: s; display: grid; gap: 16px; }
.steps li { counter-increment: s; position: relative; padding: 0 0 16px 54px; border-bottom: 1px solid rgb(255 255 255 / .18); color: #c9d7e5; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: -2px; font: 500 2rem/1 var(--display); color: var(--orange); }
.steps strong { display: block; font-size: 1.05rem; margin-bottom: 2px; color: #fff; }

.claims-grid { display: grid; grid-template-columns: 1.4fr .6fr; gap: 48px; align-items: center; }
.cols { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; color: var(--muted); }
.cols h3 { font-size: 1.12rem; }
.cols a { color: var(--blue); font-weight: 600; }

.links { padding: 44px 0; }
.link-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px 32px; color: var(--muted); font-size: .95rem; }
.link-grid a { display: block; color: var(--blue); font-weight: 600; }

.section-contact { background: var(--card); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.hours { margin: 28px 0 0; border-top: 2px solid var(--blue); }
.hours > div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.hours dt { color: var(--muted); }
.hours dd { margin: 0; font-weight: 600; text-align: right; }
.hours a { color: var(--ink); text-decoration: none; }
.photos { display: grid; gap: 22px; }
.photo { margin: 0; }
.photo img { width: 100%; height: auto; border-radius: 8px; }
.photos .photo img { aspect-ratio: 3 / 2; object-fit: cover; }
.photo figcaption { margin-top: 8px; font-size: .8rem; color: #5b6573; line-height: 1.4; }
.photo figcaption a { color: inherit; }

.foot { background: var(--navy); color: #c9d7e5; padding: 28px 0 40px; font-size: .9rem; }
.foot a { color: #fff; }

dialog { border: 0; border-radius: 12px; padding: 26px; width: min(100% - 32px, 480px); }
dialog::backdrop { background: rgb(13 47 79 / .45); }
.enquiry-form label { display: block; margin: 10px 0; font-weight: 600; }
.enquiry-form input, .enquiry-form textarea { width: 100%; font: inherit; font-weight: 400; padding: 10px; border: 1px solid var(--line); border-radius: 8px; margin-top: 4px; }
.topic { color: var(--blue); font-weight: 600; }
.note { font-size: .85rem; color: var(--muted); }

@media (max-width: 1060px) {
  .cards, .biz { grid-template-columns: 1fr 1fr; }
  .link-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .mast { flex-wrap: wrap; gap: 8px 14px; }
  .mast nav { order: 5; width: 100%; margin-left: 0; overflow-x: auto; gap: 20px; padding-bottom: 4px; }
  .call { margin-left: auto; }
  .hero-grid, .band-grid, .contact-grid, .claims-grid { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 600px) {
  html { scroll-padding-top: 116px; }
  body { font-size: 16px; }
  .brand img { width: 160px; }
  .call { padding: 7px 12px; font-size: .9rem; }
  .mast .demo-label { display: none; }
  .hero { padding: 28px 0 40px; }
  .ticks, .cards, .biz, .cols, .link-grid { grid-template-columns: 1fr; }
  .section { padding: 48px 0; }
  .actions .primary, .actions .secondary { width: 100%; text-align: center; }
}
