/*
Theme Name: Murdoch Coaching
Theme URI: https://murdochcoaching.com.au
Author: Murdoch Coaching
Description: Lightweight block theme for Murdoch Coaching. High-performing teams through coaching and positive psychology. No page builder required: every section uses core WordPress blocks.
Version: 1.0.0
Requires at least: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: murdoch-coaching
*/

:root {
  --red: #B5121B;
  --red-dark: #8E0E15;
  --red-tint: #FBEDEE;
  --grey: #959CA1;
  --grey-dark: #5E656A;
  --ink: #1C2024;
  --ink-soft: #3A4046;
  --paper: #FFFFFF;
  --sand: #F6F4F1;
  --line: #E4E1DC;
  --radius: 14px;
  --max: 1160px;
  --head: "Montserrat", system-ui, sans-serif;
  --body: "Source Sans 3", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink-soft);
  font: 18px/1.65 var(--body);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--red); }
h1, h2, h3, h4 { font-family: var(--head); color: var(--ink); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.4rem, 5.5vw, 4.1rem); font-weight: 800; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); font-weight: 800; }
h3 { font-size: 1.3rem; font-weight: 700; }
p { margin: 0 0 1em; }

/* Block theme resets */
.wp-site-blocks { padding: 0; }
.wp-site-blocks > * { margin-block-start: 0; }
main.wp-block-post-content > *, .wp-block-post-content > * { margin-block-start: 0; }
figure { margin: 0; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 760px; }
.section { padding: 96px 0; }
.section--sand { background: var(--sand); }
.section--ink { background: var(--ink); color: #D6D9DC; }
.section--ink h2, .section--ink h3 { color: #fff; }
.section--red { background: var(--red); color: #FBE3E4; }
.section--red h2, .section--red h1 { color: #fff; }
.center { text-align: center; }
.eyebrow {
  font: 700 .78rem/1 var(--head); letter-spacing: .18em; text-transform: uppercase;
  color: var(--red); margin-bottom: 18px; display: inline-block;
}
.eyebrow a { color: inherit; text-decoration: none; }
.section--ink .eyebrow { color: var(--grey); }
.section--red .eyebrow { color: #F4B9BC; }
.lede { font-size: 1.25rem; color: var(--ink-soft); max-width: 640px; }
.center .lede { margin-left: auto; margin-right: auto; }
.section--ink .lede { color: #C9CDD1; }
.section--red .lede { color: #FBE3E4; }
.mt-l { margin-top: 48px !important; }
.mt-m { margin-top: 32px !important; }
.muted { color: var(--grey-dark); font-size: 1rem; }

/* Buttons: hand-coded (.btn) and core button blocks share one look */
.btn, .wp-block-button .wp-block-button__link {
  display: inline-flex; align-items: center; gap: 10px;
  font: 700 .95rem/1 var(--head); letter-spacing: .02em;
  padding: 17px 28px; border-radius: 999px; text-decoration: none;
  border: 2px solid transparent; transition: transform .15s, background .15s, color .15s;
  background: var(--red); color: #fff; cursor: pointer;
}
.btn:hover, .wp-block-button .wp-block-button__link:hover { transform: translateY(-1px); }
.btn--red, .btn-red .wp-block-button__link { background: var(--red); color: #fff; }
.btn--red:hover, .btn-red .wp-block-button__link:hover { background: var(--red-dark); color: #fff; }
.btn--ghost, .btn-ghost .wp-block-button__link { background: transparent; border-color: var(--ink); color: var(--ink); }
.btn--ghost:hover, .btn-ghost .wp-block-button__link:hover { background: var(--ink); color: #fff; }
.btn--white, .btn-white .wp-block-button__link { background: #fff; color: var(--red); }
.btn--white:hover, .btn-white .wp-block-button__link:hover { background: var(--ink); color: #fff; }
.btn-row, .wp-block-buttons.btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.center .btn-row, .center.btn-row { justify-content: center; }

/* Header */
.site-header-part { position: sticky; top: var(--wp-admin--admin-bar--height, 0px); z-index: 50; }
.site-header {
  background: rgba(255,255,255,.94); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 78px; gap: 24px; position: relative; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { height: 40px; width: auto; }
.brand span { font: 700 .82rem/1.1 var(--head); letter-spacing: .2em; color: var(--grey-dark); text-transform: uppercase; }
.nav { display: flex; align-items: center; gap: 30px; }
.nav a { font: 600 .92rem/1 var(--head); color: var(--ink); text-decoration: none; padding: 6px 0; border-bottom: 2px solid transparent; }
.nav a:hover, .nav a[aria-current="page"] { border-color: var(--red); }
.nav .btn { padding: 13px 22px; border: 0; color: #fff; }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--ink); margin: 5px 0; }

/* Hero */
.hero { padding: 88px 0 96px; position: relative; overflow: hidden; }
.hero > .wrap { display: grid; grid-template-columns: 1.15fr .85fr; gap: 64px; align-items: center; position: relative; z-index: 1; }
.hero h1 em { font-style: normal; color: var(--red); }
.hero-visual { position: relative; isolation: isolate; }
.hero-visual .photo, .hero-visual img { aspect-ratio: 4/5; border-radius: 22px; width: 100%; object-fit: cover; }
.hero-visual::before {
  content: ""; position: absolute; inset: auto -40px -40px auto; width: 70%; height: 70%;
  background: var(--grey); opacity: .18; border-radius: 22px; z-index: -1;
}
.page-hero { padding: 80px 0 64px; background: var(--sand); }
.page-hero h1 { font-size: clamp(2.2rem, 4.6vw, 3.4rem); }
.page-hero .meta, .page-hero .wp-block-post-date { color: var(--grey-dark); font-size: .95rem; }

/* Dark hero */
.hero--dark { background: var(--ink); color: #C9CDD1; }
.hero--dark::after {
  content: ""; position: absolute; right: -120px; top: -80px; width: 560px; height: 480px;
  background: url("assets/m-mark-white.png") center/contain no-repeat; opacity: .04; pointer-events: none;
}
.hero--dark h1 { color: #fff; }
.hero--dark .lede { color: #C9CDD1; }
.hero--dark .eyebrow { color: var(--grey); }
.hero--dark .btn-ghost .wp-block-button__link, .hero--dark .btn--ghost { border-color: rgba(255,255,255,.5); color: #fff; }
.hero--dark .btn-ghost .wp-block-button__link:hover, .hero--dark .btn--ghost:hover { background: #fff; color: var(--ink); }
.hero--dark .hero-visual::before { background: var(--red); opacity: 1; }
.identity { font: 700 1rem/1 var(--head); letter-spacing: .2em; text-transform: uppercase; color: #fff; margin-top: 30px; }
.identity strong { color: var(--red); margin: 0 10px; }

/* Photos (with a branded fallback panel until a real photo is added) */
.photo-img img { width: 100%; border-radius: 22px; object-fit: cover; }
.photo-img.square img { aspect-ratio: 1/1; }
.photo-img.landscape img { aspect-ratio: 4/3; }
.photo {
  position: relative; overflow: hidden; border-radius: 22px; min-height: 260px;
  background: linear-gradient(160deg, #3A4046, #22272B); display: grid; place-items: center;
  color: #A9AFB4; font: 600 .9rem/1.4 var(--head); text-align: center; padding: 24px;
}
.photo::after {
  content: ""; position: absolute; inset: 25%; background: url("assets/m-mark-white.png") center/contain no-repeat; opacity: .08;
}

/* Credibility strip */
.creds { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; }
.creds > .wrap { display: grid; grid-template-columns: repeat(4, 1fr); }
.cred { padding: 30px 20px; text-align: center; border-left: 1px solid var(--line); }
.cred:first-child { border-left: 0; }
.cred .cred-num { display: block; font: 800 1.7rem/1.1 var(--head); color: var(--red); margin: 0 0 6px; }
.cred .cred-label { font-size: .95rem; color: var(--grey-dark); margin: 0; }

/* Grids & cards */
.grid { display: grid; gap: 28px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.split.top { align-items: start; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 36px 32px; display: flex; flex-direction: column;
}
.card.flat { background: var(--sand); border: 0; }
.card .icon {
  width: 52px; height: 52px; border-radius: 12px; background: var(--red-tint); color: var(--red);
  display: grid; place-items: center; margin-bottom: 22px;
}
.card .icon svg { width: 26px; height: 26px; }
.card > p { flex: 1; }
.card .more { flex: 0; margin: 10px 0 0; }
.card .more a { font: 700 .92rem/1 var(--head); text-decoration: none; }
.card .more a::after { content: " →"; }
.card .big-num { font: 800 2.6rem/1 var(--head); color: var(--red); flex: 0; margin: 0 0 12px; }

.checklist { list-style: none; padding: 0; margin: 0 0 1.2em; }
.checklist li { padding-left: 34px; position: relative; margin-bottom: 12px; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 6px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--red) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='white' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px no-repeat;
}

/* Steps */
.steps { counter-reset: step; }
.step { position: relative; padding-top: 70px; }
.step::before {
  counter-increment: step; content: "0" counter(step);
  position: absolute; top: 0; left: 0; font: 800 3rem/1 var(--head); color: var(--red);
}
.section--ink .step p { color: #B9BEC2; }

/* Beliefs */
.beliefs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; border-top: 1px solid rgba(255,255,255,.15); margin-top: 40px; }
.belief { padding: 28px 8px 28px 0; margin: 0; border-bottom: 1px solid rgba(255,255,255,.15); font: 600 1.2rem/1.4 var(--head); color: #fff; }
.belief:nth-child(odd) { padding-right: 40px; }
.belief::before { content: "“"; color: var(--red); font-size: 2rem; line-height: 0; vertical-align: -.35em; margin-right: 6px; }

/* Lead magnet */
.magnet { display: grid; grid-template-columns: 300px 1fr; gap: 64px; align-items: center; }
.cover {
  aspect-ratio: 3/4; border-radius: 6px 14px 14px 6px; background: var(--ink); color: #fff;
  padding: 34px 28px; display: flex; flex-direction: column; justify-content: space-between;
  box-shadow: 0 30px 60px -20px rgba(0,0,0,.45), inset 6px 0 0 rgba(255,255,255,.08);
  transform: rotate(-3deg);
}
.cover .num { font: 800 5.5rem/1 var(--head); color: var(--red); }
.cover .title { font: 800 1.45rem/1.15 var(--head); }
.cover img { width: 46px; }
.optin { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.optin input[type=text], .optin input[type=email] {
  flex: 1 1 200px; padding: 16px 20px; border-radius: 999px; border: 1px solid rgba(255,255,255,.4);
  background: rgba(255,255,255,.1); color: #fff; font: 1rem var(--body);
}
.optin input::placeholder { color: rgba(255,255,255,.7); }
.fineprint { font-size: .85rem; opacity: .75; margin-top: 12px; }
.form-msg { background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.3); border-radius: var(--radius); padding: 22px 24px; margin-top: 26px; color: #fff; }
.form-msg strong { display: block; font: 800 1.2rem/1.3 var(--head); margin-bottom: 6px; }
.form-msg .btn { margin-top: 14px; }
.form-msg.light { background: var(--red-tint); border-color: #F2C9CC; color: var(--ink); }
.form-error { color: #fff; background: rgba(0,0,0,.25); border-radius: 10px; padding: 10px 14px; margin-top: 14px; font-weight: 600; }
.form-error.light { color: var(--red-dark); background: var(--red-tint); }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

/* Testimonials */
.quote { background: #fff; border-radius: var(--radius); padding: 34px; border: 1px solid var(--line); }
.quote p { font-size: 1.1rem; }

/* Books */
.book { display: grid; grid-template-columns: 130px 1fr; gap: 28px; align-items: start; }
.book .spine {
  aspect-ratio: 2/3; border-radius: 3px 8px 8px 3px; background: var(--red); color: #fff; padding: 14px; margin: 0;
  font: 800 .95rem/1.15 var(--head); display: flex; align-items: flex-end;
  box-shadow: 0 16px 30px -12px rgba(0,0,0,.35);
}
.book .spine.grey { background: var(--grey-dark); }
.link-arrow a { font: 700 .92rem var(--head); text-decoration: none; }

/* Blog (query loop) */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px 28px; list-style: none; padding: 0; margin: 0; }
.post-card .thumb { aspect-ratio: 16/10; border-radius: var(--radius); margin-bottom: 20px; background: var(--red); position: relative; overflow: hidden; }
.post-grid > li:nth-child(3n+2) .thumb { background: var(--ink); }
.post-grid > li:nth-child(3n+3) .thumb { background: var(--grey-dark); }
.post-card .thumb::after {
  content: ""; position: absolute; right: -30px; bottom: -40px; width: 160px; height: 160px;
  background: url("assets/m-mark-white.png") center/contain no-repeat; opacity: .12;
}
.post-card .tag { font: 700 .75rem/1 var(--head); letter-spacing: .14em; text-transform: uppercase; }
.post-card .tag a { color: var(--red); text-decoration: none; }
.post-card h3, .post-card .wp-block-post-title { font-size: 1.3rem; margin: 10px 0 8px; }
.post-card .wp-block-post-title a { color: var(--ink); text-decoration: none; }
.post-card .wp-block-post-title a:hover { color: var(--red); }
.post-card .wp-block-post-excerpt__more-text { display: none; }
.post-card .wp-block-post-excerpt__excerpt { font-size: 1rem; margin: 0; }
.wp-block-query-pagination { margin-top: 48px; gap: 16px; font-family: var(--head); font-weight: 700; }
.article { font-size: 1.15rem; }
.article h2 { font-size: 1.5rem; margin-top: 1.6em; }
.article .card { margin-top: 48px; }

/* FAQ (core details block) */
details, .wp-block-details { border-bottom: 1px solid var(--line); padding: 22px 0; margin: 0; }
summary { font: 700 1.1rem/1.4 var(--head); color: var(--ink); cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 20px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--red); font-size: 1.5rem; line-height: 1; }
details[open] summary::after { content: "–"; }
details p { margin: 14px 0 0; }

/* Forms */
.form { display: grid; gap: 18px; }
.form label { font: 600 .9rem/1 var(--head); color: var(--ink); display: grid; gap: 8px; }
.form input, .form textarea, .form select {
  padding: 15px 16px; border: 1px solid var(--line); border-radius: 10px; font: 1rem var(--body); background: #fff; color: var(--ink); width: 100%;
}
.form input:focus, .form textarea:focus, .form select:focus { outline: 2px solid var(--red); outline-offset: 1px; }
.form .btn { justify-self: start; }

/* Notes for Glen: only visible when logged in (or in the editor) */
.todo {
  border: 2px dashed #D9A400; background: #FFF8DB; color: #6B5300; border-radius: 10px;
  padding: 16px 18px; font: 600 .92rem/1.45 var(--body);
}
.todo::before { content: "NOTE FOR GLEN (only you can see this): "; font-weight: 800; }
body:not(.logged-in) .todo,
body:not(.logged-in) .editor-only,
body:not(.logged-in) .photo-label { display: none !important; }

/* Footer */
.site-footer { background: var(--ink); color: #A9AFB4; padding: 72px 0 36px; font-size: .95rem; }
.site-footer .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 48px; }
.site-footer img { width: 120px; margin-bottom: 18px; }
.site-footer h4 { color: #fff; font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer a { color: #D6D9DC; text-decoration: none; }
.site-footer a:hover { color: #fff; }
.site-footer .base { border-top: 1px solid rgba(255,255,255,.12); margin-top: 48px; padding-top: 24px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; }

/* The 9-step process, grouped in three phases */
.phases { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 48px; counter-reset: pstep; }
.phase { border-top: 3px solid var(--red); padding-top: 24px; }
.phase h3 { font-size: .85rem; letter-spacing: .2em; text-transform: uppercase; color: var(--grey); margin-bottom: 4px; }
.phase .phase-title { font: 800 1.6rem/1.2 var(--head); color: #fff; margin-bottom: 20px; }
.phase ol { list-style: none; margin: 0; padding: 0; }
.phase li { counter-increment: pstep; position: relative; padding: 14px 0 14px 52px; border-bottom: 1px solid rgba(255,255,255,.12); }
.phase li::before {
  content: counter(pstep); position: absolute; left: 0; top: 13px; width: 34px; height: 34px; border-radius: 50%;
  background: rgba(181,18,27,.18); color: #fff; font: 800 .95rem/34px var(--head); text-align: center; border: 1px solid var(--red);
}
.phase li strong { display: block; color: #fff; font-family: var(--head); font-weight: 700; }
.phase li span { font-size: .95rem; color: #AEB4B9; }

/* Stories from the field */
.story { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.story .band { background: var(--ink); color: #fff; padding: 26px 28px; }
.story .band.red { background: var(--red); }
.story .band.grey { background: var(--grey-dark); }
.story .band-label { font: 700 .72rem/1 var(--head); letter-spacing: .16em; text-transform: uppercase; opacity: .75; margin: 0; }
.story .band h3 { color: #fff; margin: 8px 0 0; }
.story .body { padding: 26px 28px; flex: 1; }
.story .big { font: 800 1.85rem/1.1 var(--head); color: var(--red); margin-bottom: 12px; }
.story .tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 6px 0 14px; }
.story .tags span { font: 700 .78rem/1 var(--head); letter-spacing: .06em; text-transform: uppercase; background: var(--red-tint); color: var(--red); padding: 8px 12px; border-radius: 999px; }
.story .quote-line { margin: 0 0 14px; font: 700 1.15rem/1.4 var(--head); color: var(--ink); }
.story--wide { flex-direction: row; flex-wrap: wrap; margin-top: 40px; }
.story--wide .band { flex: 1 1 280px; display: flex; flex-direction: column; justify-content: center; }
.story--wide .band h3 { font-size: 1.6rem; }
.story--wide .body { flex: 2 1 360px; }

/* Pull quote */
.pull { font: 800 clamp(1.6rem, 3.4vw, 2.5rem)/1.25 var(--head); color: var(--ink); max-width: 900px; margin: 0 auto; }
.pull em { font-style: normal; color: var(--red); }
.attribution { margin-top: 20px; font: 700 .9rem var(--head); color: var(--grey-dark); letter-spacing: .1em; text-transform: uppercase; }

/* Start / Stop / Keep */
.ssk { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; background: var(--line); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); margin-top: 40px; }
.ssk div { background: #fff; padding: 24px 20px; }
.ssk b { display: block; font: 800 1.1rem/1 var(--head); color: var(--red); margin-bottom: 8px; }
.ssk p { margin: 0; font-size: .95rem; }

/* Responsive */
@media (max-width: 960px) {
  .hero > .wrap, .split, .magnet { grid-template-columns: 1fr; gap: 48px; }
  .grid--3, .post-grid { grid-template-columns: 1fr; }
  .phases { grid-template-columns: 1fr; }
  .ssk { grid-template-columns: repeat(2, 1fr); }
  .creds > .wrap { grid-template-columns: repeat(2, 1fr); }
  .cred:nth-child(3) { border-left: 0; }
  .cred { border-top: 1px solid var(--line); }
  .site-footer .cols { grid-template-columns: 1fr; }
  .magnet .cover { max-width: 260px; }
  .nav-toggle { display: block; }
  .nav {
    display: none; position: absolute; top: 78px; left: 0; right: 0; background: #fff;
    flex-direction: column; align-items: stretch; gap: 0; padding: 12px 24px 24px; border-bottom: 1px solid var(--line);
  }
  .nav.open { display: flex; }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav .btn { margin-top: 14px; justify-content: center; }
}
@media (max-width: 640px) {
  body { font-size: 17px; }
  .wrap { padding: 0 16px; }
  .section { padding: 68px 0; }
  .hero { padding: 56px 0 64px; }
  .grid--2, .beliefs { grid-template-columns: 1fr; }
  .hero--dark::after { width: 360px; right: -140px; }
  .belief:nth-child(odd) { padding-right: 0; }
  .book { grid-template-columns: 96px 1fr; gap: 20px; }
  .brand span { display: none; }
}

/* In the block editor, show Glen's notes and photo labels */
.editor-styles-wrapper .todo, .editor-styles-wrapper .editor-only, .editor-styles-wrapper .photo-label { display: block !important; }

/* Small helpers used by page content */
.mt-s { margin-top: 28px !important; }
.left-text { text-align: left; }
.section--tall { padding: 110px 0; }
.h1-sm { font-size: clamp(2.2rem, 4.6vw, 3.4rem); }
.section--red h1, .section--red .h1-sm { color: #fff; }

/* Thought loop (Mindset Shift page) */
.loop { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 40px; counter-reset: none; }
.loop-step { position: relative; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); border-radius: var(--radius); padding: 22px 20px 22px 20px; font: 700 1.05rem/1.4 var(--head); color: #fff; }
.loop-step span { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--red); font-size: .85rem; margin-bottom: 12px; }
.loop-step:not(:last-child)::after { content: "→"; position: absolute; right: -14px; top: 50%; transform: translateY(-50%); color: var(--red); font-size: 1.3rem; z-index: 1; }
.loop-step:last-child { border-color: var(--red); }

/* "Behind the scenes" teaching panel (logged-in only via .editor-only) */
.bts-section { padding: 56px 0 0; }
.bts { border: 2px dashed var(--ink); border-radius: var(--radius); padding: 36px; background: #FFFDF5; }
.bts-label { font: 800 .75rem/1 var(--head); letter-spacing: .16em; text-transform: uppercase; color: #8A6D00; margin-bottom: 14px; }
.bts-lesson { font: 700 1.1rem/1.45 var(--head); color: var(--ink); border-left: 4px solid var(--red); padding-left: 16px; margin: 8px 0 0; }

@media (max-width: 960px) {
  .loop { grid-template-columns: 1fr 1fr; }
  .loop-step:nth-child(2)::after { display: none; }
}
@media (max-width: 640px) {
  .loop { grid-template-columns: 1fr; }
  .loop-step::after { display: none; }
}
.card.step { padding-top: 96px; }
.card.step::before { top: 32px; left: 32px; font-size: 2.4rem; }
