/* A to Z Consulting — atozconsulting.ca */
:root {
  --ink: #0F1B2D;
  --text: #1C2430;
  --muted: #4A5462;
  --muted-2: #5A6472;
  --line: #DCE0E5;
  --line-dark: #2B3A50;
  --brass: #8A6A2F;
  --brass-light: #C8A867;
  --bg-alt: #F4F5F7;
  --on-dark: #C9CFD8;
  --serif: 'Source Serif 4', Georgia, 'Times New Roman', serif;
  --sans: Inter, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --wrap: 1120px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--sans); font-size: 16px; line-height: 1.6; color: var(--text); background: #fff; }
img { max-width: 100%; display: block; }
a { color: var(--ink); }
a:hover { color: var(--brass); }
h1, h2, h3 { font-family: var(--serif); color: var(--ink); margin: 0; letter-spacing: -0.01em; }
p { margin: 0; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 40px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: #fff; padding: 8px 12px; }
:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 14px 26px; border-radius: 2px; font-size: 15px; font-weight: 600; text-decoration: none; border: 1px solid var(--ink); cursor: pointer; }
.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { background: #1E2F48; color: #fff; }
.btn-outline { background: #fff; color: var(--ink); }
.btn-outline:hover { background: var(--bg-alt); color: var(--ink); }
.link-underline { font-size: 15px; font-weight: 600; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 3px; }
.eyebrow { font-size: 14px; font-weight: 600; color: var(--brass); }
.rule { width: 48px; height: 2px; background: var(--brass); }

/* Utility bar */
.utility { background: var(--ink); color: var(--on-dark); font-size: 13px; }
.utility .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 10px; padding-bottom: 10px; }
.utility a { color: #fff; text-decoration: none; }
.utility a:hover { color: var(--brass-light); }
.utility .links { display: flex; gap: 24px; flex-wrap: wrap; }
.lang a[aria-current="page"] { font-weight: 600; }
.lang a:not([aria-current]) { color: var(--on-dark); }
.lang span { color: #6B7686; margin: 0 4px; }

/* Header */
.site-header { border-bottom: 1px solid var(--line); background: #fff; position: sticky; top: 0; z-index: 20; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 20px; padding-bottom: 20px; }
.brand { display: flex; align-items: baseline; gap: 10px; text-decoration: none; }
.brand-name { font-family: var(--serif); font-weight: 600; font-size: 26px; color: var(--ink); letter-spacing: -0.01em; }
.brand-tag { font-size: 12px; font-weight: 600; color: var(--brass); letter-spacing: 0.12em; }
.nav { display: flex; align-items: center; gap: 36px; }
.nav a { text-decoration: none; font-size: 15px; font-weight: 500; color: var(--text); }
.nav a:hover { color: var(--brass); }
.nav .btn { color: #fff; }
.menu-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; align-items: center; justify-content: center; color: var(--ink); cursor: pointer; }
.nav-lang { display: none; }

/* Hero */
.hero { border-bottom: 1px solid var(--line); }
.hero-grid { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; }
.hero-copy { padding: 104px 56px 104px 40px; display: flex; flex-direction: column; justify-content: center; gap: 28px; }
.hero h1 { font-weight: 500; font-size: clamp(36px, 4.6vw, 56px); line-height: 1.08; letter-spacing: -0.02em; }
.hero .lead { font-size: 18px; line-height: 1.65; color: var(--muted); max-width: 500px; }
.hero-actions { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; padding-top: 8px; }
.hero-media { min-height: 560px; background: var(--ink); }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }

/* Sections */
.section { padding: 112px 0; }
.section-alt { background: var(--bg-alt); border-top: 1px solid var(--line); }
.h2 { font-weight: 500; font-size: clamp(30px, 3.4vw, 40px); line-height: 1.15; }

/* Services */
.services { display: flex; flex-wrap: wrap; gap: 64px; }
.services-intro { flex: 1 1 300px; max-width: 380px; display: flex; flex-direction: column; gap: 20px; }
.services-intro p { color: var(--muted); line-height: 1.7; }
.services-list { flex: 2 1 560px; min-width: 0; border-top: 1px solid var(--ink); margin: 0; padding: 0; list-style: none; }
.service { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 32px; padding: 28px 0; border-bottom: 1px solid var(--line); }
.service h3 { font-weight: 600; font-size: 21px; line-height: 1.3; }
.service p { color: var(--muted); line-height: 1.65; }

/* Band */
.band { background: var(--ink); color: #fff; padding: 96px 0; }
.band .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: end; }
.band h2 { color: #fff; font-weight: 400; font-size: clamp(32px, 3.6vw, 44px); line-height: 1.15; }
.band h2 span { color: var(--brass-light); }
.band p { color: var(--on-dark); font-size: 17px; line-height: 1.7; }
.band .copy { display: flex; flex-direction: column; gap: 24px; }
.band a { color: #fff; align-self: flex-start; border-bottom-color: var(--brass-light); }

/* About */
.about-head { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: end; margin-bottom: 64px; }
.about-head > div { display: flex; flex-direction: column; gap: 20px; }
.about-head p { color: var(--muted); line-height: 1.7; }
.team { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; border-top: 1px solid var(--ink); padding-top: 48px; }
.person { display: flex; flex-direction: column; gap: 24px; }
.person-head { display: grid; grid-template-columns: 132px minmax(0, 1fr); gap: 24px; align-items: end; }
.portrait { aspect-ratio: 4 / 5; background: #E6E9ED; display: flex; align-items: center; justify-content: center; font-family: var(--serif); font-size: 34px; color: #8A93A0; }
.person h3 { font-weight: 600; font-size: 24px; line-height: 1.2; }
.role { font-size: 14px; color: var(--muted-2); margin-top: 6px; }
.person-contact { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 10px; font-size: 14px; }
.person-contact a { text-decoration: none; }
.person-contact a:first-child { font-weight: 600; }
.person > p { color: var(--muted); line-height: 1.7; }
.quote { font-family: var(--serif); font-style: italic; font-size: 20px; line-height: 1.45; color: var(--ink) !important; }
.facts { margin: 0; border-top: 1px solid var(--line); }
.facts div { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.facts dt { color: var(--muted-2); }
.facts dd { margin: 0; font-weight: 500; }

/* Booking */
.book { display: grid; grid-template-columns: 5fr 7fr; gap: 64px; align-items: start; }
.book-copy { display: flex; flex-direction: column; gap: 20px; padding-top: 24px; }
.book-copy p { color: var(--muted); line-height: 1.7; }
.calendly-box { background: #fff; border: 1px solid var(--line); min-height: 700px; }
.calendly-inline-widget { min-width: 320px; height: 700px; }
.calendly-fallback { padding: 32px; display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }

/* Footer */
.site-footer { background: var(--ink); color: var(--on-dark); padding: 88px 0 40px; }
.footer-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px; }
.footer-grid > div { display: flex; flex-direction: column; gap: 10px; font-size: 15px; }
.footer-grid .label { font-size: 13px; font-weight: 600; color: var(--brass-light); }
.footer-grid a, .footer-grid address { color: #fff; text-decoration: none; font-style: normal; line-height: 1.6; }
.footer-grid a:hover { color: var(--brass-light); }
.footer-brand { font-family: var(--serif); font-weight: 600; font-size: 24px; color: #fff; }
.footer-bottom { margin-top: 64px; border-top: 1px solid var(--line-dark); padding-top: 24px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13px; color: #9AA4B2; }
.footer-bottom a { color: var(--on-dark); text-decoration: none; }

/* Mobile action bar */
.action-bar { display: none; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero-grid, .band .wrap, .about-head, .team, .book { grid-template-columns: 1fr; }
  .hero-copy { padding: 56px 40px 64px; order: 2; }
  .hero-media { min-height: 0; height: 320px; order: 1; }
  .team { gap: 56px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .wrap { padding: 0 20px; }
  .utility { display: none; }
  .site-header .wrap { padding-top: 12px; padding-bottom: 12px; padding-right: 8px; }
  .brand-name { font-size: 21px; }
  .brand-tag { font-size: 10px; }
  .menu-toggle { display: inline-flex; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; gap: 0; padding: 8px 20px 20px; }
  .nav.open { display: flex; }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 17px; }
  .nav .btn { margin-top: 16px; border-bottom: 1px solid var(--ink); }
  .nav-lang { display: block; }
  .hero-copy { padding: 40px 20px 48px; gap: 20px; }
  .hero-media { height: 230px; }
  .hero .lead { font-size: 16px; }
  .hero-actions .btn { width: 100%; }
  .section { padding: 72px 0; }
  .band { padding: 72px 0; }
  .service { grid-template-columns: 1fr; gap: 8px; padding: 22px 0; }
  .services { gap: 40px; }
  .about-head { gap: 20px; margin-bottom: 40px; }
  .person-head { grid-template-columns: 96px minmax(0, 1fr); gap: 16px; }
  .person h3 { font-size: 21px; }
  .quote { font-size: 18px; }
  .facts div { grid-template-columns: 96px minmax(0, 1fr); gap: 12px; }
  .calendly-inline-widget { height: 760px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .site-footer { padding: 64px 0 112px; }

  .action-bar { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; background: #fff; border-top: 1px solid var(--line); padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); }
  .action-bar .btn { min-height: 50px; padding: 0 12px; }
  body { padding-bottom: 76px; }
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
