/* Dozen Questions Boutique Learning Centre — landing inspired by drsimonj.com layout, Databricks palette */

:root {
  --lava: #ff3621;
  --lava-pressed: #eb1600;
  --navy: #1b3139;
  --navy-900: #0b2026;
  --oat: #f9f7f4;
  --oat-mid: #eeede9;
  --ink: #1b3139;
  --muted: #5c7380;
  --muted-2: #90a5b1;
  --surface: #ffffff;
  --border: #e4e2dc;
  --header-h: 64px;
  --page-pad: clamp(1rem, 3vw, 1.5rem);
  --content-max: 960px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body.boutique {
  margin: 0;
  min-height: 100vh;
  font-family: "DM Sans", system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.boutique a {
  color: inherit;
}

img {
  max-width: 100%;
  height: auto;
}

.bq-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.hidden {
  display: none !important;
}

/* ——— Header ——— */
.bq-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.bq-header-inner {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0.65rem var(--page-pad);
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1rem;
  flex-wrap: wrap;
}

.bq-brand {
  text-decoration: none;
  color: var(--ink);
  min-width: 0;
  flex: 1 1 auto;
}

.bq-brand-name {
  display: block;
  font-size: clamp(0.92rem, 2vw, 1.05rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.2;
}

.bq-brand-short {
  display: none;
}

.bq-brand-full {
  display: inline;
}

.bq-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.1rem;
  flex-wrap: wrap;
  flex: 0 0 auto;
}

.bq-nav a {
  text-decoration: none;
  color: var(--muted);
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.55rem 0.7rem;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  transition: color 0.2s ease;
}

.bq-nav a:hover,
.bq-nav a[aria-current="page"] {
  color: var(--lava);
}

/* ——— Big bold centered banner ——— */
.bq-banner {
  max-width: 820px;
  margin: 0 auto;
  padding: clamp(2.5rem, 8vh, 5.5rem) var(--page-pad) clamp(2.5rem, 6vh, 4rem);
  text-align: center;
}

.bq-banner-title {
  margin: 0 0 clamp(1.5rem, 4vw, 2.25rem);
  font-size: clamp(1.85rem, 6.2vw, 3.75rem);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1.1;
  color: var(--ink);
  animation: bq-rise 0.75s ease-out both;
  text-wrap: balance;
}

.bq-banner-title .bq-banner-accent,
.bq-banner-title span {
  color: var(--lava);
}

@media (min-width: 640px) {
  .bq-banner-title .bq-banner-accent {
    display: block;
  }
}

/* ——— Profile row under banner ——— */
.bq-profile {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 1.1rem;
  text-align: left;
  max-width: 560px;
  margin: 0 auto 2.75rem;
  animation: bq-rise 0.75s ease-out 0.1s both;
}

.bq-profile-pic {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 2px solid rgba(255, 54, 33, 0.35);
  box-shadow: 0 8px 24px rgba(27, 49, 57, 0.1);
}

.bq-profile-copy {
  min-width: 0;
  padding-top: 0.15rem;
}

.bq-profile-lead {
  margin: 0 0 0.75rem;
  font-size: clamp(0.92rem, 2.2vw, 1.02rem);
  color: var(--muted);
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.bq-creds {
  margin: 0;
  padding: 0;
  list-style: none;
}

.bq-creds li {
  position: relative;
  padding-left: 0.95rem;
  margin: 0 0 0.35rem;
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.4;
}

.bq-creds li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--lava);
}

/* ——— Get in Touch window ——— */
.bq-contact-window {
  max-width: 420px;
  width: 100%;
  margin: 0 auto 0;
  padding: clamp(1.25rem, 3vw, 1.75rem) clamp(1rem, 3vw, 1.5rem) clamp(1.15rem, 3vw, 1.5rem);
  background: var(--oat);
  border: 1px solid var(--border);
  text-align: center;
  animation: bq-rise 0.75s ease-out 0.2s both;
}

.bq-contact-title {
  margin: 0 0 0.4rem;
  font-size: clamp(1.2rem, 3vw, 1.35rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--ink);
}

.bq-contact-sub {
  margin: 0 0 1.15rem;
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.45;
}

.bq-contact-form {
  display: flex;
  gap: 0.5rem;
  align-items: stretch;
}

.bq-contact-input {
  flex: 1;
  min-width: 0;
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--border);
  border-radius: 0;
  background: var(--surface);
  font: inherit;
  font-size: 16px; /* avoid iOS zoom on focus */
  color: var(--ink);
}

.bq-contact-input::placeholder {
  color: var(--muted-2);
}

.bq-contact-input:focus {
  outline: 2px solid rgba(255, 54, 33, 0.35);
  outline-offset: 1px;
  border-color: var(--lava);
}

.bq-contact-submit {
  flex-shrink: 0;
  padding: 0.75rem 1.15rem;
  min-height: 44px;
  border: 0;
  border-radius: 0;
  background: var(--lava);
  color: #fff;
  font: inherit;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.15s ease;
}

.bq-contact-submit:hover {
  background: var(--lava-pressed);
  transform: translateY(-1px);
}

.bq-contact-msg {
  margin: 0.85rem 0 0;
  font-size: 0.9rem;
}

.bq-contact-msg.is-error {
  color: var(--lava);
}

.bq-contact-msg.is-ok {
  color: #468254;
}

.bq-trust-line {
  margin: 0 0 1.25rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted-2);
  animation: bq-rise 0.75s ease-out 0.28s both;
}

/* ——— Resources & Tools ——— */
.bq-resources {
  border-top: 1px solid var(--border);
  background: var(--oat);
  padding: clamp(2.5rem, 7vw, 4.5rem) var(--page-pad);
}

.bq-resources-inner {
  max-width: 820px;
  margin: 0 auto;
}

.bq-resources-title {
  margin: 0 0 1.75rem;
  font-size: clamp(1.4rem, 3vw, 1.85rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--ink);
  text-align: center;
}

.bq-tools {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 1.25rem;
  margin-bottom: 1.75rem;
}

.bq-tool {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 1.5rem 1.35rem 1.35rem;
  text-align: left;
}

.bq-tool-name {
  margin: 0 0 0.5rem;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.bq-tool-desc {
  margin: 0 0 1rem;
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.5;
}

.bq-tool-link {
  color: var(--lava);
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  display: inline-flex;
  min-height: 44px;
  align-items: center;
}

.bq-tool-link:hover {
  text-decoration: underline;
}

.bq-sandbox-link {
  margin: 0;
  text-align: center;
}

.bq-sandbox-link a {
  color: var(--lava);
  font-weight: 600;
  font-size: 0.98rem;
  text-decoration: none;
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
}

.bq-sandbox-link a:hover {
  text-decoration: underline;
}

/* ——— Footer ——— */
.bq-footer {
  border-top: 1px solid var(--border);
  padding: 1.75rem var(--page-pad);
  background: var(--oat);
}

.bq-footer-inner {
  max-width: var(--content-max);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem 1.25rem;
  align-items: center;
}

.bq-footer-copy {
  margin: 0;
  font-size: 0.88rem;
  color: var(--muted);
  max-width: 100%;
  overflow-wrap: anywhere;
}

.bq-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1rem;
}

.bq-footer-links a {
  text-decoration: none;
  color: var(--muted);
  font-size: 0.9rem;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.bq-footer-links a:hover {
  color: var(--lava);
}

@keyframes bq-rise {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ——— Contact page ——— */
.bq-page {
  max-width: 720px;
  margin: 0 auto;
  padding: clamp(2rem, 8vh, 4.5rem) var(--page-pad) 2.5rem;
  text-align: center;
}

.bq-page-kicker {
  margin: 0 0 0.6rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--lava);
}

.bq-page-title {
  margin: 0 0 0.75rem;
  font-size: clamp(1.9rem, 5vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  color: var(--ink);
}

.bq-page-lead {
  margin: 0 auto 2rem;
  max-width: 52ch;
  color: var(--muted);
  font-size: clamp(0.98rem, 2.4vw, 1.05rem);
}

.bq-contact-card {
  max-width: 480px;
  width: 100%;
  margin: 0 auto;
  padding: clamp(1.25rem, 3vw, 1.75rem) clamp(1rem, 3vw, 1.5rem);
  background: var(--oat);
  border: 1px solid var(--border);
  text-align: left;
}

.bq-contact-person {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.35rem;
}

.bq-contact-name {
  margin: 0 0 0.2rem;
  font-size: clamp(1.15rem, 3vw, 1.35rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.bq-contact-role {
  margin: 0;
  font-size: 0.92rem;
  color: var(--muted);
  overflow-wrap: anywhere;
}

.bq-contact-details {
  margin: 0 0 1.35rem;
  padding: 0;
}

.bq-contact-details > div {
  display: grid;
  grid-template-columns: 4.5rem minmax(0, 1fr);
  gap: 0.5rem;
  padding: 0.45rem 0;
  border-top: 1px solid var(--border);
}

.bq-contact-details dt {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted-2);
  padding-top: 0.15rem;
}

.bq-contact-details dd {
  margin: 0;
  font-size: 1.02rem;
  font-weight: 600;
  min-width: 0;
  overflow-wrap: anywhere;
}

.bq-contact-details a {
  color: var(--ink);
  text-decoration: none;
}

.bq-contact-details a:hover {
  color: var(--lava);
  text-decoration: underline;
}

.bq-contact-form--page {
  margin-top: 0.25rem;
}

.bq-expect {
  border-top: 1px solid var(--border);
  background: var(--oat);
  padding: clamp(2.25rem, 7vw, 4rem) var(--page-pad);
}

.bq-expect-inner {
  max-width: 900px;
  margin: 0 auto;
}

.bq-expect-title {
  margin: 0 0 1.75rem;
  font-size: clamp(1.4rem, 3vw, 1.85rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  text-align: center;
}

.bq-expect-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: 1.15rem;
}

.bq-expect-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-top: 3px solid var(--lava);
  padding: 1.35rem 1.2rem 1.25rem;
}

.bq-expect-item h3 {
  margin: 0 0 0.45rem;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.bq-expect-item p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.5;
}

/* ——— Phone ——— */
@media (max-width: 639px) {
  body.boutique {
    font-size: 16px;
  }

  .bq-brand-full {
    display: none;
  }

  .bq-brand-short {
    display: inline;
  }

  .bq-header-inner {
    padding-top: 0.55rem;
    padding-bottom: 0.55rem;
  }

  .bq-nav {
    width: 100%;
    justify-content: flex-start;
  }

  .bq-nav a {
    padding: 0.5rem 0.55rem;
    font-size: 0.9rem;
  }

  .bq-profile {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.9rem;
    margin-bottom: 2rem;
  }

  .bq-profile-pic {
    width: 76px;
    height: 76px;
  }

  .bq-creds li {
    padding-left: 0;
  }

  .bq-creds li::before {
    display: none;
  }

  .bq-contact-form {
    flex-direction: column;
  }

  .bq-contact-submit {
    width: 100%;
  }

  .bq-contact-person {
    flex-direction: column;
    text-align: center;
  }

  .bq-contact-details > div {
    grid-template-columns: 1fr;
    gap: 0.2rem;
  }

  .bq-footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ——— Tablet ——— */
@media (min-width: 640px) and (max-width: 1023px) {
  .bq-brand-name {
    max-width: 18rem;
  }

  .bq-profile {
    max-width: 640px;
  }

  .bq-expect-inner,
  .bq-resources-inner {
    max-width: 720px;
  }
}

/* ——— Laptop / Desktop ——— */
@media (min-width: 1024px) {
  .bq-header-inner,
  .bq-footer-inner {
    max-width: 1040px;
  }

  .bq-banner {
    max-width: 880px;
  }

  .bq-expect-inner {
    max-width: 960px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .bq-banner-title,
  .bq-profile,
  .bq-contact-window,
  .bq-trust-line {
    animation: none;
  }

  .bq-contact-submit:hover {
    transform: none;
  }
}
