/* Base */
:root {
  --bq-bg: #F3F2EB;
  --bq-surface: #FCFBF7;
  --bq-text: #23261F;
  --bq-muted: #5A5E53;
  --bq-accent: #56651E;
  --bq-accent-text: #FCFBF7;
  --bq-plate-bg: #23261F;
  --bq-plate-text: #F3F2EB;
  --bq-line: #5A5E53;
  --bq-font-head: system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --bq-font-body: Charter, 'Bitstream Charter', 'Sitka Text', Cambria, Georgia, serif;
  --bq-radius-card: 18px;
  --bq-radius-btn: 999px;
  --bq-pad-side: clamp(16px, 4vw, 40px);
  --bq-shadow: 0 1px 2px rgb(35 38 31 / .06), 0 12px 32px rgb(35 38 31 / .08);
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background-color: var(--bq-bg);
  background-image: repeating-linear-gradient(
    115deg,
    var(--bq-bg) 0px,
    var(--bq-bg) 180px,
    #EAE9DF 180px,
    #EAE9DF 360px
  );
  color: var(--bq-text);
  font-family: var(--bq-font-body);
  font-size: clamp(1rem, 0.96rem + 0.2vw, 1.125rem);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3, h4 {
  font-family: var(--bq-font-head);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.01em;
  color: var(--bq-text);
  margin: 0 0 0.5em;
}

h1 { font-size: clamp(2.4rem, 4.6vw + 0.6rem, 4.6rem); line-height: 1.1; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.8rem, 2.6vw + 0.8rem, 3rem); line-height: 1.15; margin-bottom: 16px; }
h3 { font-size: clamp(1.2rem, 1vw + 0.9rem, 1.5rem); }
h4 { font-size: 1.1rem; }

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

a { color: var(--bq-accent); text-underline-offset: 3px; }
a:hover { color: #3E4A15; }

ul, ol { padding-left: 1.2em; }

.bq_wrap {
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: var(--bq-pad-side);
}

.bq_text { max-width: 68ch; }

.bq_hl {
  font-size: clamp(1.05rem, 0.6vw + 0.95rem, 1.3rem);
  color: var(--bq-text);
}

.bq_block { padding-block: clamp(64px, 9vw, 128px); }

.bq_skip {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  background: var(--bq-plate-bg);
  color: var(--bq-plate-text);
  padding: 12px 20px;
  border-radius: 0 0 var(--bq-radius-btn) 0;
  text-decoration: none;
}
.bq_skip:focus { left: 0; }

/* Buttons */
.bq_btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 10px 26px;
  border: 2px solid var(--bq-accent);
  border-radius: var(--bq-radius-btn);
  background: var(--bq-accent);
  color: var(--bq-accent-text);
  font-family: var(--bq-font-head);
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .25s ease, color .25s ease, transform .25s ease, border-color .25s ease;
}
.bq_btn:hover {
  background: #43521A;
  border-color: #43521A;
  color: var(--bq-surface);
  transform: translateY(-1px);
}
.bq_btn:focus-visible {
  outline: 3px solid var(--bq-accent);
  outline-offset: 3px;
}
.bq_btn:active {
  transform: translateY(0);
  background: #333F13;
  border-color: #333F13;
}

.bq_btn_alt {
  background: transparent;
  color: var(--bq-accent);
  border-color: var(--bq-accent);
}
.bq_btn_alt:hover {
  background: #43521A;
  color: var(--bq-surface);
}

/* Header */
.bq_head {
  position: relative;
  z-index: 20;
  background: var(--bq-surface);
  border-bottom: 1px solid rgb(90 94 83 / .25);
  box-shadow: 0 1px 2px rgb(35 38 31 / .05);
}

.bq_head_row {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
}

.bq_mark {
  font-family: var(--bq-font-head);
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: -0.01em;
  color: var(--bq-accent);
  text-decoration: none;
  padding-inline: 24px;
  white-space: nowrap;
}
.bq_mark:hover { color: #43521A; }

.bq_menu {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex: 1 1 auto;
  gap: clamp(12px, 2vw, 32px);
}

.bq_menu_side {
  display: flex;
  align-items: center;
  gap: clamp(10px, 1.6vw, 24px);
  list-style: none;
  margin: 0;
  padding: 0;
}

.bq_menu_item {
  position: relative;
  display: inline-block;
  padding: 6px 2px;
  font-family: var(--bq-font-head);
  font-size: 1rem;
  font-weight: 600;
  color: var(--bq-text);
  text-decoration: none;
}
.bq_menu_item::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: var(--bq-accent);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .3s ease;
}
.bq_menu_item:hover::after,
.bq_menu_item[aria-current="page"]::after,
.bq_menu_item:focus-visible::after { transform: scaleX(1); }

.bq_burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 12px;
  background: transparent;
  border: 0;
  cursor: pointer;
}
.bq_burger_bar {
  width: 24px;
  height: 2px;
  background: var(--bq-text);
  border-radius: 2px;
}
.bq_burger:hover .bq_burger_bar { background: var(--bq-accent); }
.bq_burger:focus-visible { outline: 3px solid var(--bq-accent); outline-offset: 2px; }

/* Hero */
.bq_hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding-block: 0;
  min-height: auto;
}

.bq_hero_half { min-height: clamp(360px, 52vh, 560px); }

.bq_hero_tint {
  display: flex;
  align-items: center;
  background: linear-gradient(160deg, #E7E6D8, #DFDECB);
}

.bq_hero_in { padding-block: clamp(48px, 7vw, 96px) clamp(48px, 7vw, 96px); }

.bq_hero_title {
  font-size: clamp(2.4rem, 4.6vw + 0.6rem, 4.6rem);
  line-height: 1.1;
  max-width: 12ch;
  margin-bottom: 0.55em;
}

.bq_hero_text {
  max-width: 44ch;
  color: var(--bq-text);
  margin-bottom: 32px;
}

.bq_hero_media { position: relative; overflow: hidden; }
.bq_hero_media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Cards and plate */
.bq_card {
  background: var(--bq-surface);
  border-radius: var(--bq-radius-card);
  padding: clamp(24px, 3vw, 32px);
  box-shadow: var(--bq-shadow);
  transition: transform .3s ease, box-shadow .3s ease;
}
.bq_card:hover {
  transform: translateY(-4px);
  box-shadow: 0 2px 4px rgb(35 38 31 / .07), 0 18px 40px rgb(35 38 31 / .12);
}

.bq_panel {
  background: var(--bq-plate-bg);
  color: var(--bq-plate-text);
  border: 0;
}
.bq_panel h2, .bq_panel h3, .bq_panel h4 { color: var(--bq-plate-text); }
.bq_panel a { color: #C9D6A0; }
.bq_panel_in {
  background: var(--bq-plate-bg);
  color: var(--bq-plate-text);
  padding: 28px 32px;
  line-height: 1.6;
}
.bq_panel_in p { margin-bottom: 0.8em; }

/* Zigzag layout */
.bq_zigzag { display: grid; gap: clamp(32px, 5vw, 56px); margin-top: clamp(32px, 4vw, 48px); }

.bq_zigzag_row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(20px, 2.5vw, 32px);
  align-items: stretch;
}
.bq_zigzag_media { display: flex; align-self: stretch; }
.bq_zigzag_media img,
.bq_zigzag_media > .bq_card,
.bq_zigzag_media > .bq_panel { width: 100%; height: 100%; }
.bq_zigzag_text {
  align-self: center;
  max-width: 60ch;
  margin-block: auto;
}
.bq_zigzag_text > :last-child { margin-bottom: 0; }
.bq_zigzag_flip .bq_zigzag_media { order: 2; }
.bq_zigzag_media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--bq-radius-card);
}
.bq_zigzag_note { height: 100%; }

/* Arch crop for vertical photos */
.bq_arch img {
  aspect-ratio: 3 / 4;
  border-radius: var(--bq-radius-card) var(--bq-radius-card) 0 0;
}
.bq_arch { border-radius: var(--bq-radius-card) var(--bq-radius-card) 0 0; overflow: hidden; }
.bq_arch img {
  width: 100%;
  object-fit: cover;
  border-radius: var(--bq-radius-card) var(--bq-radius-card) 0 0;
}

/* Filter */
.bq_filter {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 24px 0 28px;
}
.bq_filter_btn {
  min-height: 42px;
  padding: 8px 20px;
  font-size: 0.95rem;
  background: transparent;
  color: var(--bq-accent);
}
.bq_filter_btn.is_active { background: var(--bq-accent); color: var(--bq-accent-text); }

/* Accordion / FAQ */
.bq_accordion {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}
.bq_qa { padding: 0; overflow: hidden; }
.bq_qa summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 24px;
  line-height: 1.3;
  font-family: var(--bq-font-head);
  font-weight: 650;
  font-size: 1.1rem;
  color: var(--bq-text);
}
.bq_qa summary::-webkit-details-marker { display: none; }
.bq_qa summary::after {
  content: "";
  width: 12px;
  height: 12px;
  flex: 0 0 auto;
  border-right: 2px solid var(--bq-accent);
  border-bottom: 2px solid var(--bq-accent);
  transform: rotate(45deg);
  transition: transform .25s ease;
}
.bq_qa[open] summary::after { transform: rotate(225deg); }
.bq_qa summary:focus-visible { outline: 3px solid var(--bq-accent); outline-offset: -3px; }
.bq_qa .bq_text, .bq_qa > p {
  padding: 0 clamp(18px, 2vw, 24px) clamp(18px, 2vw, 24px);
  max-width: 68ch;
}
.bq_qa[hidden] { display: none; }

/* Form */
.bq_block_form { background: var(--bq-surface); }
.bq_form {
  max-width: 640px;
  width: 100%;
  display: grid;
  gap: 16px;
  margin-top: 28px;
}
.bq_form_field { display: grid; gap: 8px; width: 100%; }
.bq_form_label {
  font-family: var(--bq-font-head);
  font-weight: 600;
  font-size: 0.95rem;
}
.bq_form_input {
  font: inherit;
  color: var(--bq-text);
  background: var(--bq-bg);
  border: 2px solid rgb(90 94 83 / .4);
  border-radius: 12px;
  padding: 12px 16px;
  min-height: 48px;
  width: 100%;
  transition: border-color .25s ease;
}
.bq_form_input::placeholder { color: var(--bq-muted); }
.bq_form_input:focus {
  outline: none;
  border-color: var(--bq-accent);
}
.bq_form_field.is_invalid .bq_form_input { border-color: #8E2F1E; }
.bq_form_area { resize: vertical; min-height: 120px; }

.bq_form_check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.95rem;
  color: var(--bq-muted);
}
.bq_form_check input {
  width: 20px;
  height: 20px;
  margin-top: 2px;
  accent-color: var(--bq-accent);
  flex: 0 0 auto;
}

.bq_form_hint {
  font-size: 0.95rem;
  color: var(--bq-muted);
}

.bq_form_send { justify-self: start; }
.bq_form.is_sent .bq_form_send { opacity: .6; pointer-events: none; }

/* Coverage */
.bq_coverage {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(20px, 3vw, 40px);
  align-items: center;
  margin-top: 28px;
}
.bq_coverage_list ul { margin-bottom: 1em; }
.bq_coverage_media img { aspect-ratio: 3 / 4; }

/* Inner pages */
.bq_page_top {
  padding-block: clamp(48px, 6vw, 80px);
  background: linear-gradient(160deg, #E7E6D8, var(--bq-bg));
}
.bq_page_top h1 { max-width: 22ch; }
.bq_page_top p { max-width: 60ch; color: var(--bq-muted); }

.bq_text h2, .bq_text h3 { margin-top: 1.8em; }
.bq_text ul, .bq_text ol { margin: 0 0 1em; }
.bq_text table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5em 0;
  font-size: 0.95rem;
}
.bq_text th, .bq_text td {
  text-align: left;
  padding: 10px 14px;
  border-bottom: 1px solid rgb(90 94 83 / .3);
}
.bq_text th { font-family: var(--bq-font-head); font-weight: 650; }

.bq_toc {
  background: var(--bq-surface);
  border-radius: var(--bq-radius-card);
  padding: clamp(20px, 3vw, 32px);
  box-shadow: var(--bq-shadow);
  margin-bottom: clamp(32px, 4vw, 48px);
}
.bq_toc ul { margin: 0; }

.bq_contact {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-top: 28px;
}
.bq_contact .bq_card p { color: var(--bq-muted); }
.bq_contact .bq_card strong { color: var(--bq-text); font-family: var(--bq-font-head); }

.bq_thanks {
  text-align: center;
  padding-block: clamp(64px, 9vw, 128px);
}
.bq_thanks .bq_btn { margin: 16px 8px 0; }

/* Floating panel */
.bq_float {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 30;
  display: none;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px));
  background: var(--bq-surface);
  border-top: 1px solid rgb(90 94 83 / .3);
  box-shadow: 0 -6px 24px rgb(35 38 31 / .1);
}
.bq_float_link { width: 100%; }

/* Footer */
.bq_foot {
  background: var(--bq-plate-bg);
  color: var(--bq-plate-text);
  padding-top: clamp(48px, 6vw, 72px);
}
.bq_foot_row {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 40px;
}
.bq_foot .bq_mark { color: #C9D6A0; padding-inline: 0; }
.bq_foot .bq_mark:hover { color: #F3F2EB; }
.bq_foot_note { color: rgb(243 242 235 / .75); max-width: 40ch; margin: 12px 0 0; }
.bq_foot_title {
  color: var(--bq-plate-text);
  font-size: 1rem;
  margin-bottom: 14px;
}
.bq_foot_list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}
.bq_foot_list a {
  color: rgb(243 242 235 / .85);
  text-decoration: none;
}
.bq_foot_list a:hover { color: #C9D6A0; text-decoration: underline; }
.bq_foot address { font-style: normal; color: rgb(243 242 235 / .75); margin-top: 12px; }
.bq_foot address p { margin: 4px 0; }
.bq_foot_base {
  border-top: 1px solid rgb(243 242 235 / .15);
  padding-block: 20px;
}
.bq_foot_copy {
  font-size: 0.9rem;
  color: rgb(243 242 235 / .65);
  margin: 0;
}

/* Reveal */
html.is_live .bq_rise {
  opacity: 1;
  transform: translateY(12px);
  transition: transform .5s ease;
}
html.is_live .bq_rise.bq_hero_title,
html.is_live .bq_rise.bq_hero_text { animation: none; }
html.is_live .bq_rise.is_shown { transform: translateY(0); }

/* Hero entry */
html.is_live .bq_hero .bq_rise {
  transform: translateY(12px);
  animation: bq-rise-in .5s ease forwards;
}
html.is_live .bq_hero .bq_rise:nth-of-type(2) { animation-delay: .1s; }
html.is_live .bq_hero .bq_rise:nth-of-type(3) { animation-delay: .2s; }
@keyframes bq-rise-in { to { transform: translateY(0); } }

/* Breakpoints */
@media (max-width: 1280px) {
  .bq_hero_title { max-width: 12ch; }
}

@media (max-width: 1024px) {
  .bq_menu { gap: clamp(10px, 1.5vw, 20px); }
  .bq_zigzag_row { grid-template-columns: 1fr; }
  .bq_zigzag_flip .bq_zigzag_media { order: 0; }
  .bq_coverage { grid-template-columns: 1fr; }
  .bq_coverage_media { max-width: 480px; }
}

@media (max-width: 900px) {
  .bq_burger {
    display: flex;
    position: absolute;
    left: var(--bq-pad-side);
    top: 12px;
    z-index: 40;
  }
  .bq_head_row { justify-content: flex-end; }
  .bq_menu { display: contents; }
  .bq_menu_side {
    position: fixed;
    inset: 0;
    z-index: 35;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: var(--bq-surface);
    gap: 24px;
    opacity: 0;
    visibility: hidden;
    transition: opacity .3s ease, visibility .3s ease;
  }
  .bq_menu.is_open .bq_menu_side { opacity: 1; visibility: visible; }
  .bq_head { position: relative; }
  .bq_head_row > .bq_mark {
    z-index: 40;
  }
  .bq_menu_side {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }
  .bq_menu_item {
    font-size: 1.4rem;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity .3s ease, transform .3s ease;
  }
  .bq_menu.is_open .bq_menu_item { opacity: 1; transform: translateY(0); }
  .bq_menu.is_open .bq_menu_side:first-child .bq_menu_item:nth-child(1) { transition-delay: .05s; }
  .bq_menu.is_open .bq_menu_side:first-child .bq_menu_item:nth-child(2) { transition-delay: .12s; }
  .bq_menu.is_open .bq_menu_side:last-child .bq_menu_item:nth-child(1) { transition-delay: .19s; }
  .bq_menu.is_open .bq_menu_side:last-child .bq_menu_item:nth-child(2) { transition-delay: .26s; }
  .bq_menu.is_open .bq_menu_side:last-child .bq_menu_item:nth-child(3) { transition-delay: .33s; }
  .bq_float { display: block; }
  .bq_foot_row { grid-template-columns: 1fr 1fr; }
  .bq_foot_col:first-child { grid-column: 1 / -1; }
}

@media (max-width: 768px) {
  .bq_hero { grid-template-columns: 1fr; }
  .bq_hero_half { min-height: auto; }
  .bq_hero_media { max-height: 60vh; }
  .bq_foot_row { grid-template-columns: 1fr; gap: 28px; }
}

@media (max-width: 640px) {
  body { font-size: clamp(1rem, 0.97rem + 0.15vw, 1.0625rem); }
  .bq_qa summary { font-size: 1rem; }
  .bq_filter_btn { flex: 1 1 calc(50% - 8px); text-align: center; }
}

@media (max-width: 480px) {
  .bq_card { padding: 20px; }
  .bq_form { gap: 16px; }
  .bq_btn { width: 100%; }
  .bq_form_send, .bq_filter .bq_filter_btn { width: auto; }
}

/* Motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html.is_live .bq_rise,
  html.is_live .bq_rise.is_shown { transform: none; }
  .bq_menu_item::after { transition: none; }
}

/* Mobile rhythm */
@media (max-width: 1024px) {
  .bq_zigzag_row { align-items: stretch; }
  .bq_zigzag_text:not(.bq_card) {
    background: var(--bq-surface);
    border-radius: var(--bq-radius-card);
    padding: 24px;
    box-shadow: var(--bq-shadow);
    align-self: auto;
  }
  .bq_zigzag_flip .bq_zigzag_media { order: 0; }
}

@media (max-width: 768px) {
  .bq_hero_tint { padding-bottom: 24px; }
  .bq_hero_media { padding: 24px 24px 0; background: var(--bq-surface); }
  .bq_hero_media img { border-radius: var(--bq-radius-card); }
}

@media (max-width: 480px) {
  .bq_filter_btn { flex: 1 1 calc(50% - 8px); text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  .bq_zigzag_text { margin-block: 0; }
}

/* Mobile menu overlay sides */
@media (max-width: 900px) {
  .bq_menu_left { padding-bottom: 176px; }
  .bq_menu_right {
    padding-top: 176px;
    background: transparent;
    pointer-events: none;
  }
  .bq_menu_right .bq_menu_item { pointer-events: auto; }
}

/* Centered logo, desktop */
@media (min-width: 901px) {
  .bq_head_row > .bq_mark {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding-inline: 12px;
  }
  .bq_menu_left { padding-right: clamp(72px, 9vw, 160px); }
  .bq_menu_right { padding-left: clamp(72px, 9vw, 160px); }
}
