/* ============================================================
   CALIBRE COACHING — blocks.css
   Layout utilities for CMS-built pages + components that did not
   exist in the hand-built home page (forms, FAQ, quotes, rich text).
   Loads AFTER main.css and only adds; it never restyles the original.
   ============================================================ */

/* The hidden attribute must always win, even against an author display rule -
   otherwise a hidden overlay stays clickable. */
[hidden] { display: none !important; }

/* ---------------------------------------------- tone + spacing */
.blk--tone-crimson-lo { background: linear-gradient(180deg, #120303, #1a0505); }
.blk--tone-image { background-size: cover; background-position: center; }
.blk--tone-image::after {
  content: ''; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(11,2,2,.82), rgba(11,2,2,.92));
  pointer-events: none;
}
.blk--tone-image > .section-inner { position: relative; z-index: 2; }

.blk--pt-none { padding-top: 0; }
.blk--pt-sm   { padding-top: 46px; }
.blk--pt-md   { padding-top: 78px; }
.blk--pt-lg   { padding-top: 110px; }
.blk--pt-xl   { padding-top: 156px; }

.blk--pb-none { padding-bottom: 0; }
.blk--pb-sm   { padding-bottom: 46px; }
.blk--pb-md   { padding-bottom: 78px; }
.blk--pb-lg   { padding-bottom: 110px; }
.blk--pb-xl   { padding-bottom: 156px; }

.blk--center { text-align: center; }
.blk--center .sec-head { justify-content: center; }
.blk--center .hero__actions,
.blk--center .leadform__foot { justify-content: center; }
.blk--center .slash-list { display: inline-block; text-align: left; }

.blk--wide .section-inner { max-width: 1420px; }
.blk--full { padding-left: 0; padding-right: 0; }
.blk--full .section-inner { max-width: none; padding: 0; }

.blk-intro { max-width: 62ch; margin-top: 20px; color: var(--body-dim); }
.blk--center .blk-intro { margin-left: auto; margin-right: auto; }

.hairline { border: 0; height: 1px; background: var(--border); margin: 0; }

/* ---------------------------------------------- hero additions */
.hero__still {
  position: absolute; inset: 0; z-index: 0;
  background-size: cover; background-position: center;
  filter: grayscale(1); opacity: .15;
}
.hero__kicker { position: relative; z-index: 3; margin-bottom: 18px; }

/* ---------------------------------------------- rich text */
.rich { max-width: 68ch; color: var(--body-dim); font-size: 1.02rem; line-height: 1.75; }
.blk--center .rich { margin-left: auto; margin-right: auto; }
.rich > * + * { margin-top: 1.05em; }
.rich strong, .rich b { color: var(--bone); font-weight: 700; }
.rich a { color: var(--bone); text-decoration: underline; text-underline-offset: 3px; }
.rich a:hover { color: var(--red-accent); }
.rich ul, .rich ol { padding-left: 1.15em; }
.rich li + li { margin-top: .5em; }
.rich h3, .rich h4 {
  font-family: var(--font-display); font-weight: 900; text-transform: uppercase;
  color: var(--bone); letter-spacing: .01em; font-size: 1.18rem; line-height: 1.15;
}
.rich blockquote {
  border-left: 2px solid var(--red-accent); padding-left: 20px;
  color: var(--bone); font-style: normal;
}

/* ---------------------------------------------- split flip */
.split--flip { direction: rtl; }
.split--flip > * { direction: ltr; }
.split__media img { width: 100%; height: auto; display: block; border: 1px solid var(--border-soft); }

/* ---------------------------------------------- slash checklist */
.slash-list { list-style: none; margin-top: 34px; display: grid; gap: 16px; max-width: 72ch; }
.slash-list li {
  display: flex; align-items: flex-start; gap: 14px;
  color: var(--body-dim); font-size: 1.02rem; line-height: 1.55;
  padding-bottom: 16px; border-bottom: 1px solid var(--border-soft);
}
.slash-list li .slashes { margin-top: .45em; }

/* ---------------------------------------------- gallery columns */
.gallery--cols-2 { grid-auto-columns: minmax(320px, 1fr); }
.gallery--cols-4 { grid-auto-columns: minmax(180px, 1fr); }

/* ---------------------------------------------- single image */
.blk-image__fig { margin: 0; }
.blk-image__fig img { width: 100%; height: auto; display: block; }
.blk-image__fig figcaption {
  margin-top: 14px; font-size: .76rem; letter-spacing: .14em;
  text-transform: uppercase; color: var(--muted);
}

/* ---------------------------------------------- pull quote */
.pullquote { margin: 0; max-width: 74ch; }
.blk--center .pullquote { margin-inline: auto; }
.pullquote__img {
  width: 78px; height: 78px; object-fit: cover; border-radius: 50%;
  margin-bottom: 26px; border: 1px solid var(--border);
}
.pullquote blockquote {
  margin: 0; font-family: var(--font-display); font-weight: 900;
  text-transform: uppercase; color: var(--bone); letter-spacing: .005em;
  font-size: clamp(1.35rem, 3vw, 2.1rem); line-height: 1.14;
}
.pullquote blockquote::before { content: '\201C'; color: var(--red-accent); }
.pullquote blockquote::after  { content: '\201D'; color: var(--red-accent); }
.pullquote figcaption { margin-top: 26px; display: flex; flex-direction: column; gap: 5px; }
.blk--center .pullquote figcaption { align-items: center; }
.pullquote__name {
  font-size: .78rem; letter-spacing: .18em; text-transform: uppercase; color: var(--bone);
}
.pullquote__detail { font-size: .82rem; color: var(--muted); }

/* ---------------------------------------------- FAQ */
.faq { margin-top: 40px; max-width: 82ch; border-top: 1px solid var(--border-soft); }
.blk--center .faq { margin-inline: auto; text-align: left; }
.faq__item { border-bottom: 1px solid var(--border-soft); }
.faq__item summary {
  cursor: pointer; list-style: none; padding: 24px 0;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  font-family: var(--font-display); font-weight: 900; text-transform: uppercase;
  color: var(--bone); font-size: clamp(.92rem, 1.6vw, 1.08rem); line-height: 1.2;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary i {
  position: relative; flex: 0 0 14px; width: 14px; height: 14px;
}
.faq__item summary i::before,
.faq__item summary i::after {
  content: ''; position: absolute; background: var(--red-accent);
  left: 50%; top: 50%; transform: translate(-50%, -50%);
}
.faq__item summary i::before { width: 14px; height: 2px; }
.faq__item summary i::after  { width: 2px; height: 14px; transition: opacity .2s; }
.faq__item[open] summary i::after { opacity: 0; }
.faq__answer { padding: 0 0 26px; }

/* ---------------------------------------------- embed */
.blk-embed__frame iframe { width: 100%; border: 0; display: block; }

/* ---------------------------------------------- plain headings */
.plain-h {
  font-family: var(--font-body); color: var(--bone); letter-spacing: 0;
  text-transform: none; line-height: 1.25; margin: 0 0 18px;
}
.plain-h--medium { font-size: clamp(1.3rem, 2.4vw, 1.75rem); font-weight: 700; }
.plain-h--small  { font-size: clamp(1.05rem, 1.7vw, 1.22rem); font-weight: 600; }

/* ---------------------------------------------- simple columns */
.cols { display: grid; gap: 34px; margin-top: 34px; }
.cols--2 { grid-template-columns: repeat(2, 1fr); }
.cols--3 { grid-template-columns: repeat(3, 1fr); }
.cols--4 { grid-template-columns: repeat(4, 1fr); }
.col__img {
  width: 100%; height: auto; display: block; margin-bottom: 16px;
  border: 1px solid var(--border-soft);
}
.col__title {
  font-family: var(--font-body); font-weight: 700; color: var(--bone);
  font-size: 1.02rem; line-height: 1.3; margin: 0 0 10px; letter-spacing: 0;
  text-transform: none;
}
.col__body { font-size: .96rem; max-width: none; }
@media (max-width: 900px) {
  .cols--3, .cols--4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
  .cols--2, .cols--3, .cols--4 { grid-template-columns: 1fr; }
}

/* ---------------------------------------------- booking calendar */
.coach { display: flex; align-items: center; gap: 18px; margin-top: 26px; }
.blk--center .coach { justify-content: center; }
.coach__photo {
  width: 72px; height: 72px; border-radius: 50%; object-fit: cover;
  border: 1px solid var(--border);
}
.coach__meta { display: flex; flex-direction: column; gap: 3px; }
.coach__label {
  font-size: .66rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted);
}
.coach__name {
  font-family: var(--font-display); font-weight: 900; text-transform: uppercase;
  color: var(--bone); font-size: 1.05rem; letter-spacing: .01em;
}
.booking__frame {
  margin-top: 34px; border: 1px solid var(--border-soft);
  background: #fff; border-radius: 2px; overflow: hidden;
}
.booking__frame iframe { width: 100%; height: var(--bh, 700px); border: 0; display: block; }
@media (max-width: 820px) {
  .booking__frame iframe { height: calc(var(--bh, 700px) + 120px); }
}

/* ---------------------------------------------- lead form */
.leadform { margin-top: 44px; max-width: 780px; }
.blk--center .leadform { margin-inline: auto; text-align: left; }

.leadform__hp {
  position: absolute !important; width: 1px; height: 1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}

.leadform__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.field--full { grid-column: 1 / -1; }
.field--half { grid-column: span 1; }

.field label {
  display: block; font-size: .74rem; letter-spacing: .16em;
  text-transform: uppercase; color: var(--bone); margin-bottom: 9px;
}
.field__req { color: var(--red-accent); }
.field__help { font-size: .8rem; color: var(--muted); margin: -3px 0 9px; }

.field input,
.field select,
.field textarea {
  width: 100%; padding: 15px 16px;
  background: rgba(255,255,255,.04); color: var(--white);
  border: 1px solid var(--border); border-radius: 0;
  font-family: var(--font-body); font-size: 1rem; line-height: 1.4;
  transition: border-color .18s, background .18s;
  -webkit-appearance: none; appearance: none;
}
.field textarea { resize: vertical; min-height: 118px; }
.field select {
  background-image: linear-gradient(45deg, transparent 50%, var(--bone) 50%),
                    linear-gradient(135deg, var(--bone) 50%, transparent 50%);
  background-position: calc(100% - 20px) calc(50% + 2px), calc(100% - 14px) calc(50% + 2px);
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 44px;
}
.field input::placeholder,
.field textarea::placeholder { color: var(--muted); opacity: 1; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none; border-color: var(--red-accent); background: rgba(255,255,255,.06);
}
.field option { background: #160404; color: var(--white); }

.field--error input,
.field--error select,
.field--error textarea { border-color: var(--red-accent); }
.field__error { margin-top: 8px; font-size: .82rem; color: #e8746f; }

.field__choices { display: flex; flex-wrap: wrap; gap: 10px; }
.choice {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 16px; border: 1px solid var(--border);
  color: var(--body-dim); font-size: .92rem; cursor: pointer;
  transition: border-color .18s, color .18s;
}
.choice:hover { border-color: var(--bone); color: var(--bone); }
.choice input { accent-color: var(--red-accent); width: 16px; height: 16px; }
.choice input:checked + span { color: var(--bone); }

.leadform__foot {
  margin-top: 28px; display: flex; align-items: center;
  gap: 22px; flex-wrap: wrap;
}
.leadform__submit[disabled] { opacity: .6; cursor: progress; }
.leadform__note { font-size: .8rem; color: var(--muted); margin: 0; max-width: 40ch; }

.leadform__fail {
  margin-top: 18px; padding: 14px 16px;
  border: 1px solid var(--red-accent); color: #e8746f; font-size: .9rem;
}

.leadform__done {
  padding: 40px 34px; border: 1px solid var(--border);
  background: rgba(255,255,255,.03);
}
.leadform__done p {
  margin: 0; font-family: var(--font-display); font-weight: 900;
  text-transform: uppercase; color: var(--bone);
  font-size: clamp(1.05rem, 2.2vw, 1.5rem); line-height: 1.2;
}

/* ---------------------------------------------- cookie consent */
.cc {
  position: fixed; left: 20px; right: 20px; bottom: 20px; z-index: 300;
  max-width: 720px; margin: 0 auto;
  display: flex; align-items: center; gap: 26px; flex-wrap: wrap;
  padding: 22px 26px; background: #140404;
  border: 1px solid var(--border);
  box-shadow: 0 18px 60px rgba(0,0,0,.55);
  opacity: 0; transform: translateY(14px);
  transition: opacity .26s ease, transform .26s ease;
}
.cc.is-in { opacity: 1; transform: none; }
.cc__text { flex: 1 1 320px; }
.cc__text strong {
  display: block; font-family: var(--font-display); font-weight: 900;
  text-transform: uppercase; color: var(--bone); font-size: .9rem;
  letter-spacing: .02em; margin-bottom: 7px;
}
.cc__text p { margin: 0; font-size: .86rem; line-height: 1.55; color: var(--body-dim); }
.cc__text a { color: var(--bone); text-decoration: underline; text-underline-offset: 3px; }
.cc__actions { display: flex; gap: 10px; flex: 0 0 auto; }
.cc__actions .btn { padding: 12px 22px; font-size: .72rem; }

.cc-reopen {
  position: fixed; left: 16px; bottom: 16px; z-index: 290;
  background: transparent; border: 1px solid var(--border-soft);
  color: var(--muted); font-family: var(--font-body); font-size: .68rem;
  letter-spacing: .12em; text-transform: uppercase;
  padding: 8px 13px; cursor: pointer; opacity: .55; transition: opacity .2s, color .2s;
}
.cc-reopen:hover { opacity: 1; color: var(--bone); }

@media (max-width: 600px) {
  .cc { left: 12px; right: 12px; bottom: 12px; padding: 18px; gap: 16px; }
  .cc__actions { width: 100%; }
  .cc__actions .btn { flex: 1; justify-content: center; }
  .cc-reopen { display: none; }
}

/* ---------------------------------------------- landing pages */
.is-landing .nav__links,
.is-landing .sticky-cta { display: none; }
.is-landing .footer { padding-top: 46px; }

/* ---------------------------------------------- mobile */
@media (max-width: 820px) {
  .leadform__grid { grid-template-columns: 1fr; }
  .field--half { grid-column: 1 / -1; }
  .split--flip { direction: ltr; }
  .blk--pt-xl { padding-top: 96px; }
  .blk--pb-xl { padding-bottom: 96px; }
  .blk--pt-lg { padding-top: 76px; }
  .blk--pb-lg { padding-bottom: 76px; }
  .leadform__foot { flex-direction: column; align-items: stretch; }
  .leadform__submit { width: 100%; }
}
