/* Artof.Co - coliving consultancy
   Light paper theme with the brand yellow + ink; pill buttons + 16px surfaces. */

@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
  src: url('assets/fonts/outfit-var.woff2') format('woff2');
}

:root {
  color-scheme: light;
  --bg: #fbf9f4;
  --bg-2: #f2eee3;
  --card: #ffffff;
  --ink: #1b1915;
  --body: #3f3b33;
  --muted: #6e695e;
  --yellow: #e9c127;
  --yellow-soft: #f3d24a;
  --gold: #8f7005;
  --line: rgba(27, 25, 21, 0.14);
  --line-soft: rgba(27, 25, 21, 0.08);
  --shadow: none;
  --radius: 0px;
  --wrap: 1200px;
  --pad: clamp(20px, 5vw, 48px);
  /* The loop motif from the Art of Coliving book, rebuilt as a tile */
  --pattern: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='140' height='140' viewBox='0 0 140 140'><g fill='none' stroke='%23ffffff' stroke-opacity='0.22' stroke-width='9'><path d='M-17.5 35 a17.5 17.5 0 0 1 35 0 a17.5 17.5 0 0 0 35 0 a17.5 17.5 0 0 1 35 0 a17.5 17.5 0 0 0 35 0 a17.5 17.5 0 0 1 35 0'/><path d='M-17.5 105 a17.5 17.5 0 0 0 35 0 a17.5 17.5 0 0 1 35 0 a17.5 17.5 0 0 0 35 0 a17.5 17.5 0 0 1 35 0 a17.5 17.5 0 0 0 35 0'/></g></svg>");
}

.band, .hero-visual::before { background-size: 140px 140px, auto; }
.card.pattern-card, .ladder > div:last-child { background-size: 80px 80px, auto; }

* { margin: 0; padding: 0; box-sizing: border-box; }

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

body {
  font-family: 'Outfit', 'Avenir Next', 'Helvetica Neue', sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.65;
  font-size: 1.0625rem;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a { color: inherit; text-decoration: none; }
p a, .prose a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--yellow); text-decoration-thickness: 2px; text-underline-offset: 3px; }
p a:hover, .prose a:hover { text-decoration-color: var(--ink); }

::selection { background: var(--yellow); color: var(--ink); }

.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--pad); }

/* ---------- Nav ---------- */

.nav {
  position: sticky; top: 0; z-index: 40;
  background: rgba(251, 249, 244, 0.9);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line-soft);
}
.nav-inner {
  display: flex; align-items: center; gap: 28px;
  height: 72px;
}
.logo {
  font-weight: 700; font-size: 1.25rem; letter-spacing: -0.02em;
  white-space: nowrap; display: inline-flex; align-items: center;
}
.logo span { color: var(--gold); }
.logo img { height: 48px; width: auto; display: block; }
footer .logo img { height: 60px; }
.nav-links {
  display: flex; align-items: center; gap: 26px;
  margin-left: auto;
  font-size: 0.95rem; font-weight: 500;
}
.nav-links > a { opacity: 0.8; transition: opacity 0.2s; padding: 6px 0; }
.nav-links > a:hover, .nav-links > a[aria-current="page"] { opacity: 1; }
.nav-links > a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--yellow); }

.dropdown { position: relative; }
.dropdown > button {
  font: inherit; font-weight: 500; color: inherit; background: none; border: 0;
  cursor: pointer; opacity: 0.8; display: flex; align-items: center; gap: 6px; padding: 6px 0;
}
.dropdown > button::after {
  content: ""; width: 7px; height: 7px; margin-top: -3px;
  border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg); transition: transform 0.2s;
}
.dropdown:hover > button, .dropdown:focus-within > button { opacity: 1; }
.dropdown-menu {
  position: absolute; top: 100%; left: -18px; min-width: 280px;
  border-top: 12px solid transparent !important; background-clip: padding-box;
  background: var(--card); border: 1px solid var(--line); border-radius: 12px;
  padding: 10px; display: none; box-shadow: 0 18px 50px rgba(27, 25, 21, 0.14);
}
.dropdown:hover .dropdown-menu, .dropdown:focus-within .dropdown-menu { display: block; }
.dropdown-menu a {
  display: block; padding: 10px 14px; border-radius: 10px; opacity: 0.9;
}
.dropdown-menu a:hover { background: var(--bg-2); opacity: 1; }
.dropdown-menu a small { display: block; color: var(--muted); font-size: 0.8rem; line-height: 1.4; margin-top: 1px; font-weight: 400; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--yellow); color: var(--ink);
  font-weight: 600; font-size: 0.95rem; letter-spacing: 0.01em;
  padding: 12px 30px; border-radius: 999px; border: 0; cursor: pointer;
  transition: background 0.2s, transform 0.15s;
  white-space: nowrap;
}
.btn:hover { background: var(--yellow-soft); }
.btn:active { transform: translateY(1px) scale(0.99); }
.btn.on-yellow { background: var(--ink); color: #fbf9f4; }
.btn.on-yellow:hover { background: #000; }

.text-link {
  font-weight: 600; color: var(--ink); white-space: nowrap;
  box-shadow: inset 0 -2px 0 var(--yellow);
  transition: box-shadow 0.2s;
}
.text-link:hover { box-shadow: inset 0 -2px 0 var(--ink); }

.nav-toggle {
  display: none; margin-left: auto;
  background: none; border: 0; cursor: pointer; padding: 8px;
}
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--ink); margin: 5px 0; transition: transform 0.2s, opacity 0.2s; }

@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .nav-links {
    display: none;
    position: absolute; top: 72px; left: 0; right: 0;
    flex-direction: column; align-items: flex-start; gap: 4px;
    background: var(--bg); border-bottom: 1px solid var(--line);
    padding: 16px var(--pad) 24px;
    box-shadow: var(--shadow);
  }
  .nav.open .nav-links { display: flex; }
  .nav.open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav.open .nav-toggle span:nth-child(2) { opacity: 0; }
  .nav.open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .nav-links > a { width: 100%; padding: 10px 0; font-size: 1.05rem; }
  .dropdown { width: 100%; }
  .dropdown > button { width: 100%; padding: 10px 0; font-size: 1.05rem; }
  .dropdown-menu { position: static; display: block; border: 0; background: none; box-shadow: none; padding: 0 0 0 14px; min-width: 0; }
  .nav-links .btn { margin-top: 10px; }
}

/* ---------- Type ---------- */

h1, h2, h3 { letter-spacing: -0.02em; line-height: 1.12; font-weight: 620; text-wrap: balance; }
h1 { font-size: clamp(2.8rem, 6.5vw, 5rem); font-weight: 640; letter-spacing: -0.03em; }
h2 { font-size: clamp(1.9rem, 3.8vw, 2.9rem); font-weight: 640; letter-spacing: -0.025em; }
h3 { font-size: 1.3rem; line-height: 1.3; }

.eyebrow {
  display: block; font-size: 0.78rem; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold);
  margin-bottom: 18px;
}

.lede { font-size: clamp(1.1rem, 1.8vw, 1.28rem); color: var(--muted); max-width: 36em; font-weight: 400; }
.lede strong { color: var(--ink); font-weight: 600; }

section { padding-block: clamp(64px, 9vw, 112px); }
section.tight { padding-block: clamp(48px, 7vw, 80px); }
.alt { background: var(--bg-2); }

.section-head { max-width: 720px; margin-bottom: clamp(36px, 5vw, 60px); }
.section-head p { color: var(--muted); margin-top: 16px; font-size: 1.08rem; max-width: 58ch; }

/* ---------- Hero ---------- */

.hero { padding-block: clamp(48px, 7vw, 88px); overflow: hidden; }
.hero-grid {
  display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(32px, 6vw, 80px); align-items: center;
}
.hero p { margin: 24px 0 32px; }
.hero-ctas { display: flex; align-items: center; gap: 26px; flex-wrap: wrap; }
.hero-visual { position: relative; }
.hero-visual .frame {
  background: #ffffff; border-radius: var(--radius); padding: clamp(12px, 1.6vw, 22px);
  box-shadow: 0 24px 60px rgba(27, 25, 21, 0.16);
}
.hero-visual img { width: 100%; height: auto; border-radius: 8px; }
.hero-visual::before {
  content: ""; position: absolute; inset: 22% -28px -28px 22%;
  background: var(--pattern), var(--yellow);
  border-radius: var(--radius);
  z-index: -1;
}
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 440px; }
}

/* ---------- Stats ---------- */

.stats { display: grid; grid-template-columns: repeat(4, 1fr); border-block: 1px solid var(--line); }
.stats > div { padding: clamp(28px, 3.5vw, 44px) clamp(16px, 2.5vw, 36px); }
.stats > div + div { border-left: 1px solid var(--line-soft); }
.stats b { display: block; font-size: clamp(2rem, 3.4vw, 2.9rem); font-weight: 650; letter-spacing: -0.02em; color: var(--ink); line-height: 1; }
.stats b::after { content: ""; display: block; width: 34px; height: 4px; background: var(--yellow); border-radius: 2px; margin-top: 12px; }
.stats span { display: block; margin-top: 12px; color: var(--muted); font-size: 0.95rem; line-height: 1.45; }
@media (max-width: 900px) {
  .stats { grid-template-columns: 1fr 1fr; }
  .stats > div:nth-child(3) { border-left: 0; }
  .stats > div:nth-child(n+3) { border-top: 1px solid var(--line-soft); }
}

/* ---------- Panels (what we do) ---------- */

.panels { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 20px; }
.panel { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(28px, 4vw, 44px); box-shadow: var(--shadow); }
.panel h3 { margin-bottom: 10px; }
.panel > p { color: var(--muted); margin-bottom: 22px; max-width: 52ch; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chips li {
  list-style: none; border: 1px solid var(--line); border-radius: 999px;
  padding: 8px 16px; font-size: 0.92rem; font-weight: 500; color: var(--ink);
}
.chips.on-yellow li { border-color: rgba(27, 25, 21, 0.35); color: var(--ink); font-weight: 500; }
.panel .btn { margin-top: 26px; }
@media (max-width: 900px) { .panels { grid-template-columns: 1fr; } }

/* ---------- Steps (methodology) ---------- */

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.steps > div { border-top: 3px solid var(--yellow); padding-top: 20px; }
.steps h3 { font-size: 1.12rem; margin-bottom: 8px; }
.steps p { color: var(--muted); font-size: 0.95rem; }
.steps.five { grid-template-columns: repeat(5, 1fr); }
@media (max-width: 900px) { .steps, .steps.five { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .steps, .steps.five { grid-template-columns: 1fr; } }

/* ---------- Cards (home selected work) ---------- */

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(24px, 3vw, 36px); display: flex; flex-direction: column; gap: 14px;
  box-shadow: var(--shadow);
  transition: transform 0.25s, border-color 0.25s;
}
a.card:hover { transform: translateY(-4px); border-color: rgba(233, 193, 39, 0.7); }
.card .tag, .tag { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); }
.card p { color: var(--muted); font-size: 0.98rem; }
.card.pattern-card { background: var(--pattern), var(--yellow); border: 0; color: var(--ink); }
.card.pattern-card .tag { color: rgba(27, 25, 21, 0.65); }
.card.pattern-card p { color: rgba(27, 25, 21, 0.78); }
@media (max-width: 900px) { .cards { grid-template-columns: 1fr; } }

/* ---------- Featured case cards (work page) ---------- */

.feature-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.fcard {
  position: relative; overflow: hidden;
  background: var(--card); border: 1px solid var(--line-soft); border-radius: var(--radius);
  padding: clamp(26px, 3.5vw, 40px); min-height: 200px;
  box-shadow: var(--shadow);
  display: flex; flex-direction: column; gap: 10px; justify-content: flex-end;
}
.fcard h3 { font-size: clamp(1.4rem, 2.2vw, 1.8rem); }
.fcard .meta { color: var(--muted); font-size: 0.95rem; }
.fcard .fdesc {
  position: absolute; inset: 0; padding: clamp(24px, 3vw, 36px);
  background: rgba(27, 25, 21, 0.94); color: #f2efe6;
  display: flex; flex-direction: column; justify-content: center; gap: 10px;
  opacity: 0; transition: opacity 0.25s ease;
  font-size: 0.98rem; line-height: 1.55;
}
.fcard .fdesc .tag { color: var(--yellow); }
.fcard:hover .fdesc, .fcard:focus-within .fdesc { opacity: 1; }
@media (max-width: 800px) {
  .feature-cards { grid-template-columns: 1fr; }
}
@media (hover: none) {
  .fcard .fdesc { position: static; opacity: 1; background: none; color: var(--body); padding: 0; margin-top: 6px; }
  .fcard .fdesc .tag { display: none; }
}

/* ---------- Client grid (work page) ---------- */

.clients { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.client {
  position: relative; overflow: hidden;
  background: var(--card); border: 1px solid var(--line-soft); border-radius: var(--radius);
  padding: 22px; min-height: 168px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px;
  text-align: center;
  transition: transform 0.25s, box-shadow 0.25s;
}
.client:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.client img { max-height: 64px; max-width: 78%; width: auto; object-fit: contain; border-radius: 6px; }
.client .cname { font-weight: 600; font-size: 0.98rem; line-height: 1.3; }
.client .csub { color: var(--muted); font-size: 0.82rem; }
.client .cdesc {
  position: absolute; inset: 0; padding: 18px;
  background: rgba(27, 25, 21, 0.94); color: #f2efe6;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  text-align: center; font-size: 0.88rem; line-height: 1.45;
  opacity: 0; transition: opacity 0.25s ease;
}
.client .cdesc b { color: var(--yellow); font-weight: 600; font-size: 0.95rem; }
.client:hover .cdesc, .client:focus-within .cdesc { opacity: 1; }
.client.text-tile .tile-name {
  font-weight: 650; font-size: 1.15rem; letter-spacing: -0.01em; line-height: 1.2;
  color: var(--ink);
}
@media (max-width: 1000px) { .clients { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 700px) { .clients { grid-template-columns: repeat(2, 1fr); } }
@media (hover: none) {
  .client .cdesc { display: none; }
}

/* ---------- Yellow band ---------- */

.band { background: var(--pattern), var(--yellow); color: var(--ink); }
.band-grid { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.band h2 { color: var(--ink); }
.band p { color: rgba(27, 25, 21, 0.78); margin: 20px 0 30px; max-width: 54ch; font-size: 1.08rem; }
.band .frame { background: #fffdf8; border-radius: var(--radius); padding: clamp(16px, 2vw, 28px); box-shadow: 0 30px 70px rgba(27, 25, 21, 0.25); }
.band .text-link { color: var(--ink); box-shadow: inset 0 -2px 0 var(--ink); }
.band .text-link:hover { box-shadow: inset 0 -2px 0 rgba(27,25,21,0.4); }
.band-ctas { display: flex; align-items: center; gap: 26px; flex-wrap: wrap; }
@media (max-width: 900px) { .band-grid { grid-template-columns: 1fr; } .band .frame { max-width: 420px; } }

/* ---------- Expertise rows ---------- */

.rows { border-top: 1px solid var(--line); }
.row-link {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr) auto;
  gap: clamp(16px, 3vw, 48px); align-items: center;
  padding: clamp(24px, 3.5vw, 38px) 0;
  border-bottom: 1px solid var(--line);
  transition: padding-left 0.25s;
}
.row-link:hover { padding-left: 14px; }
.row-link h3 { font-size: clamp(1.25rem, 2.2vw, 1.7rem); }
.row-link p { color: var(--muted); font-size: 0.98rem; max-width: 48ch; }
.row-link .arrow { font-size: 1.5rem; color: var(--gold); font-weight: 600; }
@media (max-width: 800px) {
  .row-link { grid-template-columns: 1fr auto; }
  .row-link p { grid-column: 1 / -1; }
}

/* ---------- Split (about preview, page intros) ---------- */

.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.split img { border-radius: var(--radius); width: 100%; height: auto; }
.split .photo { position: relative; }
.split .photo::after {
  content: ""; position: absolute; inset: 14px -14px -14px 14px;
  border: 2px solid var(--yellow); border-radius: var(--radius); z-index: -1;
}
.split h2 { margin-bottom: 18px; }
.split p { color: var(--body); max-width: 56ch; }
.split p + p { margin-top: 14px; }
.split .text-link { display: inline-block; margin-top: 24px; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } .split .photo { max-width: 420px; } }

/* ---------- CTA ---------- */

.cta { text-align: center; }
.cta h2 { font-size: clamp(2rem, 4.5vw, 3.2rem); }
.cta p { color: var(--muted); margin: 20px auto 36px; max-width: 44ch; font-size: 1.12rem; }
.cta .hero-ctas { justify-content: center; }
.cta .mail { display: block; margin-top: 26px; color: var(--muted); font-size: 1rem; }
.cta .mail a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--yellow); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.cta .mail a:hover { text-decoration-color: var(--ink); }

/* ---------- Article / prose pages ---------- */

.page-head { padding-block: clamp(56px, 8vw, 100px) clamp(36px, 5vw, 60px); border-bottom: 1px solid var(--line); margin-bottom: clamp(40px, 5vw, 64px); }
.page-head .lede { margin-top: 20px; }

.prose { max-width: 720px; }
.prose h2 { font-size: 1.6rem; margin: 2.2em 0 0.6em; }
.prose h3 { font-size: 1.2rem; margin: 1.8em 0 0.5em; }
.prose p { color: var(--body); margin-bottom: 1.1em; }
.prose ul, .prose ol { margin: 0 0 1.2em 1.2em; color: var(--body); }
.prose li { margin-bottom: 0.5em; }
.prose li::marker { color: var(--gold); }
.prose blockquote {
  border-left: 3px solid var(--yellow); padding: 6px 0 6px 24px;
  margin: 1.8em 0; font-size: 1.22rem; font-weight: 500; color: var(--ink);
  line-height: 1.5; letter-spacing: -0.01em;
}
.prose blockquote cite { display: block; font-size: 0.9rem; color: var(--muted); font-style: normal; margin-top: 10px; font-weight: 400; }
.prose .callout {
  background: var(--card); border: 1px solid var(--line-soft); border-radius: var(--radius);
  padding: 24px 28px; margin: 1.8em 0; box-shadow: var(--shadow);
}
.prose .callout p:last-child { margin-bottom: 0; }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 2.4em 0; }

.figure { margin: 2em 0; }
.figure img { border-radius: var(--radius); }
.figure figcaption { color: var(--muted); font-size: 0.9rem; margin-top: 12px; }

/* Ladder (community approaches) */
.ladder { display: grid; gap: 14px; margin: 1.8em 0; }
.ladder > div {
  background: var(--card); border: 1px solid var(--line-soft); border-radius: var(--radius);
  padding: 20px 24px; box-shadow: var(--shadow);
}
.ladder b { color: var(--ink); }
.ladder p { margin: 6px 0 0; font-size: 0.98rem; }
.ladder > div:last-child { background: var(--pattern), var(--yellow); border: 0; }
.ladder > div:last-child b, .ladder > div:last-child p { color: var(--ink); }
.ladder > div:last-child p { opacity: 0.85; }

/* ---------- Publications ---------- */

.pubs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.pub {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(26px, 3.5vw, 40px); display: flex; flex-direction: column; gap: 12px;
  box-shadow: var(--shadow);
}
.pub p { color: var(--muted); font-size: 0.98rem; }
.pub .text-link { margin-top: auto; align-self: flex-start; }
.pub .text-link { padding-top: 0; margin-top: 14px; }
.pub.feature { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); align-items: center; gap: clamp(24px, 5vw, 64px); }
.pub.feature .frame { background: #fffdf8; border: 1px solid var(--line-soft); border-radius: var(--radius); padding: 20px; }
@media (max-width: 800px) { .pubs { grid-template-columns: 1fr; } .pub.feature { grid-template-columns: 1fr; } }

/* ---------- Timeline (about) ---------- */

.timeline { border-left: 2px solid var(--line); margin: 2em 0 0 6px; padding-left: 32px; display: grid; gap: 28px; }
.timeline > div { position: relative; }
.timeline > div::before {
  content: ""; position: absolute; left: -39px; top: 8px;
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--yellow);
}
.timeline b { display: block; font-size: 1.08rem; font-weight: 620; }
.timeline span { color: var(--gold); font-weight: 600; font-size: 0.85rem; letter-spacing: 0.08em; }
.timeline p { color: var(--muted); font-size: 0.98rem; max-width: 60ch; margin-top: 4px; }

/* ---------- Footer ---------- */

footer { background: var(--ink); color: #f2efe6; padding-block: clamp(48px, 6vw, 72px) 32px; }
footer .logo span { color: var(--yellow); }
.foot-grid { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr); gap: 40px; }
.foot-grid .logo { font-size: 1.4rem; }
.foot-grid > div > p { color: rgba(242, 239, 230, 0.6); font-size: 0.95rem; max-width: 34ch; margin-top: 14px; }
.foot-grid h4 { font-size: 0.8rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(242, 239, 230, 0.5); margin-bottom: 16px; }
.foot-grid ul { list-style: none; display: grid; gap: 10px; font-size: 0.98rem; }
.foot-grid ul a { opacity: 0.85; }
.foot-grid ul a:hover { opacity: 1; color: var(--yellow); }
.foot-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: clamp(40px, 5vw, 64px); color: rgba(242, 239, 230, 0.5); font-size: 0.88rem; }
@media (max-width: 800px) { .foot-grid { grid-template-columns: 1fr; gap: 32px; } }

/* ---------- Reveal ---------- */

@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1); }
  .reveal.in { opacity: 1; transform: none; }
}

/* ---------- Design switcher (comparison pill) ---------- */
.switcher {
  position: fixed; bottom: 18px; right: 18px; z-index: 60;
  background: var(--ink); color: #f2efe6; border-radius: 999px;
  padding: 8px 14px; font-size: 0.85rem; font-weight: 600;
  display: flex; gap: 12px; align-items: center;
  box-shadow: 0 10px 30px rgba(27, 25, 21, 0.3);
}
.switcher a { opacity: 0.55; }
.switcher a:hover { opacity: 0.9; }
.switcher a.cur { opacity: 1; color: var(--yellow); }

/* ---------- Lead magnet band (5-day course) ---------- */
.magnet { background: var(--pattern), var(--yellow); background-size: 140px 140px, auto; border-block: 1px solid var(--line); }
.magnet .wrap { padding-block: clamp(56px, 8vw, 96px); display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.magnet h2 { color: var(--ink); }
.magnet p { color: rgba(27, 25, 21, 0.75); margin-top: 14px; max-width: 46ch; }
.magnet .small { font-size: 0.9rem; margin-top: 16px; color: rgba(27, 25, 21, 0.6); }
.magnet .btn.on-yellow { margin-top: 22px; }
.magnet .days { display: flex; gap: 10px; justify-content: flex-end; flex-wrap: wrap; }
.magnet .day { width: 56px; height: 56px; border-radius: 50%; background: #fffdf8; display: flex; align-items: center; justify-content: center; font-weight: 650; font-size: 1.15rem; color: var(--ink); border: 1px solid rgba(27, 25, 21, 0.25); }
@media (max-width: 800px) { .magnet .wrap { grid-template-columns: 1fr; } .magnet .days { justify-content: flex-start; } }

/* ---------- Testimonial with avatar ---------- */
.testi { display: flex; gap: 20px; align-items: flex-start; }
.testi .avatar { flex: none; width: 56px; height: 56px; border-radius: 50%; background: var(--yellow); color: var(--ink); display: flex; align-items: center; justify-content: center; font-weight: 650; font-size: 1.05rem; }

/* Content images never stretch */
main img { height: auto; }
.logo img, footer .logo img { height: 48px; }
footer .logo img { height: 60px; }
