@font-face { font-family: "Instrument Serif"; src: url("./assets/fonts/instrument-serif-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Instrument Serif"; src: url("./assets/fonts/instrument-serif-latin-400-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "DM Sans"; src: url("./assets/fonts/dm-sans-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "DM Sans"; src: url("./assets/fonts/dm-sans-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }

:root {
  /* From the Sayar & Co. logo: deep blue and sky blue */
  --blue: #005d9e; --blue-deep: #0b2a4a; --sky: #8ab2d2; --sky-pale: #e6eff7;
  --ink: #14202c; --muted: #52606d; --paper: #fbfaf7; --card: #ffffff; --line: #dbe3ea;
  --display: "Instrument Serif", Georgia, "Times New Roman", serif;
  --body: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --max: 1180px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
@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: 400; line-height: 1.08; margin: 0 0 .45em; }
h1 { font-size: clamp(2.3rem, 5vw, 4rem); letter-spacing: -.01em; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
h3 { font-size: 1.5rem; }
p { margin: 0 0 .9em; }
.kicker { font-size: .78rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--blue); margin-bottom: .8em; }
.lede { color: var(--muted); font-size: 1.08rem; max-width: 58ch; }
.small { font-size: .88rem; }

/* Header */
.topbar { position: sticky; top: 0; z-index: 20; background: rgb(251 250 247 / .96); backdrop-filter: blur(6px); border-bottom: 1px solid var(--line); }
.mast { display: flex; align-items: center; gap: 24px; padding: 10px 0; }
.brand img { width: 150px; }
.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; }
.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: #004a7f; border-color: #004a7f; }
.secondary { background: transparent; color: var(--blue); }
.secondary:hover { background: var(--sky-pale); }
.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: 56px 0 64px; background: linear-gradient(180deg, var(--sky-pale), var(--paper) 85%); }
.hero-grid { display: grid; grid-template-columns: 1.35fr .65fr; gap: 48px; align-items: start; }
.hero h1 { position: relative; max-width: 17ch; }
.amp { font-style: italic; color: var(--sky); margin-left: .12em; }
.hero-quick { display: none; font-weight: 600; font-size: .95rem; background: var(--card); border-left: 4px solid var(--blue); padding: 8px 12px; }
.hero-quick a { color: var(--blue); }
.intro { font-size: 1.12rem; color: var(--muted); max-width: 58ch; }
.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(--blue); }
.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(11 42 74 / .07); }
.fact { padding: 16px 20px; border-top: 1px solid var(--line); }
.fact:first-child { 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 .maps a, .maps a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.fact-note { background: var(--sky-pale); border-radius: 0 0 10px 10px; font-size: .88rem; color: var(--muted); }

/* Sections */
.section { padding: 70px 0; border-top: 1px solid var(--line); }
.section-tint { background: var(--sky-pale); border-top: 0; }
.head { max-width: 760px; margin-bottom: 30px; }
.who-grid { display: grid; grid-template-columns: repeat(5, 1fr); border-top: 2px solid var(--blue); }
.who { padding: 20px 20px 22px 0; border-right: 1px solid var(--line); margin-right: 20px; }
.who:last-child { border-right: 0; margin-right: 0; }
.who .n { font-weight: 600; color: var(--sky); font-size: .9rem; }
.who h3 { margin-top: 6px; }
.who p { color: var(--muted); font-size: .97rem; }
.svc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.svc { background: var(--card); border-radius: 10px; padding: 22px; border: 1px solid var(--line); transition: transform .15s ease, box-shadow .15s ease; }
.svc:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgb(11 42 74 / .08); }
.svc p { color: var(--muted); }
.svc-list ul { margin: 0; padding: 0; list-style: none; }
.svc-list li { padding: 7px 0; border-top: 1px solid var(--line); }
.svc-list li:first-child { border-top: 0; }

.band { background: var(--blue-deep); color: #eef4fa; border-top: 0; }
.band .kicker { color: var(--sky); }
.band-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: start; }
blockquote { margin: 26px 0 0; padding-left: 20px; border-left: 3px solid var(--sky); }
blockquote p { font: italic 1.7rem/1.25 var(--display); margin: 0 0 8px; }
cite { font-style: normal; font-size: .85rem; color: #b8c9da; }
.steps { margin: 0; padding: 0; list-style: none; counter-reset: s; display: grid; gap: 18px; }
.steps li { counter-increment: s; position: relative; padding: 0 0 18px 56px; border-bottom: 1px solid rgb(255 255 255 / .16); }
.steps li::before { content: counter(s); position: absolute; left: 0; top: -4px; font: 2.2rem/1 var(--display); color: var(--sky); }
.steps strong { display: block; font-size: 1.05rem; margin-bottom: 2px; color: #fff; }

.about-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 48px; }
.cols { columns: 2; column-gap: 32px; color: var(--muted); }
.cols p { break-inside: avoid; }

.section-contact { background: var(--card); }
.contact-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 48px; align-items: start; }
.hours { margin: 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; }
.hours a { color: var(--ink); text-decoration: none; }

.foot { background: var(--blue-deep); color: #cbd8e5; padding: 28px 0 40px; font-size: .92rem; }
.foot a { color: #fff; }

dialog { border: 0; border-radius: 12px; padding: 26px; width: min(100% - 32px, 480px); }
dialog::backdrop { background: rgb(11 42 74 / .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) {
  .who-grid { grid-template-columns: repeat(3, 1fr); }
  .who:nth-child(3) { border-right: 0; margin-right: 0; }
  .svc-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, .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 28px; }
  .hero-quick { display: block; }
  .cols { columns: 1; }
}
@media (max-width: 600px) {
  html { scroll-padding-top: 120px; }
  body { font-size: 16px; }
  .brand img { width: 118px; }
  .call { padding: 7px 12px; font-size: .9rem; }
  .hero { padding: 30px 0 40px; }
  .ticks { grid-template-columns: 1fr; }
  .who-grid { grid-template-columns: 1fr; }
  .who { border-right: 0; margin-right: 0; border-bottom: 1px solid var(--line); padding-right: 0; }
  .svc-grid { grid-template-columns: 1fr; }
  .section { padding: 48px 0; }
  .actions .primary, .actions .secondary { width: 100%; text-align: center; }
  blockquote p { font-size: 1.45rem; }
}

/* Local photos (Wikimedia Commons, CC BY-SA 2.0, credited in captions) */
.photo { margin: 24px 0 0; }
.photo img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 10px; }
.photo figcaption { margin-top: 8px; font-size: .8rem; color: #5b6573; line-height: 1.4; }
.photo figcaption a { color: inherit; }
.contact-side .photo { margin: 0 0 20px; }
