:root {
  --paper: #f3f0e8;
  --paper-2: #e9e5da;
  --ink: #171816;
  --muted: #666961;
  --line: #cbc8bc;
  --acid: #d8ff53;
  --purple: #6557e8;
  --purple-dark: #4639bd;
  --white: #fffefa;
  --radius: 24px;
  --shadow: 0 24px 80px rgba(21, 24, 18, .12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--purple); outline-offset: 4px; }
.skip-link { position: fixed; left: 16px; top: -60px; z-index: 100; padding: 12px 18px; background: var(--ink); color: white; border-radius: 8px; }
.skip-link:focus { top: 16px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }

.site-header { position: sticky; top: 0; z-index: 30; display: flex; align-items: center; justify-content: space-between; min-height: 76px; padding: 0 4vw; border-bottom: 1px solid rgba(23,24,22,.12); background: rgba(243,240,232,.88); backdrop-filter: blur(18px); }
.brand { display: inline-flex; align-items: center; gap: 11px; font-size: 1.05rem; font-weight: 780; letter-spacing: -.02em; }
.brand-mark { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; color: var(--acid); background: var(--ink); font-family: Georgia, serif; font-style: italic; }
.site-nav { display: flex; align-items: center; gap: 30px; font-size: .9rem; font-weight: 650; }
.site-nav a:not(.nav-cta):hover { color: var(--purple-dark); }
.nav-cta { padding: 12px 18px; border-radius: 999px; color: white; background: var(--ink); }
.menu-button { display: none; border: 0; background: transparent; font-weight: 700; }

.hero { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(420px, .95fr); align-items: center; gap: clamp(40px, 7vw, 110px); min-height: calc(100vh - 76px); padding: 90px 6vw 100px; overflow: hidden; }
.eyebrow { display: flex; align-items: center; gap: 10px; margin: 0 0 23px; color: var(--muted); font-size: .76rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.eyebrow span { width: 30px; height: 2px; background: var(--purple); }
.hero h1, .section-heading h2, .process-intro h2, .brief-copy h2, .project-strip h2 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-weight: 500; letter-spacing: -.055em; line-height: .98; }
.hero h1 { max-width: 760px; font-size: clamp(4rem, 7.1vw, 7.6rem); }
.hero h1 em { position: relative; color: var(--purple-dark); font-weight: inherit; }
.hero h1 em::after { content: ""; position: absolute; left: 0; right: 0; bottom: -.07em; height: .08em; background: var(--acid); transform: rotate(-1deg); z-index: -1; }
.hero-lede { max-width: 640px; margin: 32px 0; color: #4f524b; font-size: clamp(1.08rem, 1.5vw, 1.32rem); line-height: 1.65; }
.button-row { display: flex; flex-wrap: wrap; gap: 12px; }
.button { display: inline-flex; justify-content: center; align-items: center; min-height: 52px; padding: 0 23px; border: 1px solid var(--ink); border-radius: 999px; cursor: pointer; font-weight: 800; transition: transform .2s, box-shadow .2s, background .2s; }
.button:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(23,24,22,.13); }
.button-primary { color: var(--ink); background: var(--acid); }
.button-secondary { background: transparent; }
.hero-proof { display: flex; flex-wrap: wrap; gap: 10px 24px; margin: 28px 0 0; padding: 0; color: var(--muted); font-size: .82rem; list-style: none; }
.hero-proof li::before { content: "✓"; margin-right: 7px; color: var(--purple-dark); font-weight: 900; }

.hero-console { position: relative; border: 1px solid #302f2b; border-radius: 26px; background: #1e201c; color: white; box-shadow: var(--shadow); transform: rotate(1.8deg); }
.hero-console::before { content: ""; position: absolute; inset: -35px -50px auto auto; width: 180px; height: 180px; border-radius: 50%; background: var(--acid); filter: blur(1px); z-index: -1; }
.console-top { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 15px 18px; border-bottom: 1px solid #3e403a; color: #b8b9b3; font: 600 .68rem ui-monospace, SFMono-Regular, Menlo, monospace; }
.window-dots { display: flex; gap: 5px; }
.window-dots i { width: 8px; height: 8px; border-radius: 50%; background: #62655d; }
.status-dot { justify-self: end; color: var(--acid); }
.status-dot::before { content: ""; display: inline-block; width: 6px; height: 6px; margin-right: 6px; border-radius: 50%; background: currentColor; }
.console-body { padding: clamp(24px, 4vw, 45px); }
.console-label { margin: 0 0 22px; color: #8f928a; font: 700 .7rem ui-monospace, monospace; letter-spacing: .1em; text-transform: uppercase; }
.journey-line { display: flex; align-items: center; gap: 8px; }
.journey-card { flex: 1; min-width: 0; padding: 15px 13px; border: 1px solid #464942; border-radius: 14px; background: #272924; }
.journey-card.active { color: var(--ink); border-color: var(--acid); background: var(--acid); }
.journey-card b, .journey-card span, .journey-card small { display: block; }
.journey-card b { margin-bottom: 20px; color: #8c8f87; font-size: .62rem; }
.journey-card.active b { color: #5f6f22; }
.journey-card span { font: 700 clamp(.72rem, 1vw, .9rem) ui-monospace, monospace; }
.journey-card small { margin-top: 5px; color: #999c94; font-size: .62rem; white-space: nowrap; }
.journey-card.active small { color: #4d551e; }
.journey-arrow { color: #686b63; }
.console-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; margin: 28px 0; overflow: hidden; border: 1px solid #3e403a; border-radius: 14px; background: #3e403a; }
.console-grid div { padding: 16px; background: #22241f; }
.console-grid span, .console-grid strong { display: block; }
.console-grid span { color: #8f928a; font-size: .64rem; }
.console-grid strong { margin-top: 7px; font-size: .77rem; }
.console-footer { display: flex; align-items: center; color: #9a9c95; font-size: .62rem; text-transform: uppercase; letter-spacing: .08em; }
.console-footer i { flex: 1; height: 1px; margin: 0 8px; background: #4e5049; }

.signal-band { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--paper-2); }
.signal-band > * { margin: 0; padding: 28px 3vw; border-right: 1px solid var(--line); font-size: .85rem; font-weight: 750; }
.signal-band > *:last-child { border-right: 0; }
.signal-band p { font-family: Georgia, serif; font-size: 1.05rem; font-style: italic; font-weight: 500; }
.signal-band span { margin-right: 14px; color: var(--purple-dark); font: 800 .66rem ui-monospace, monospace; }

.section { padding: 120px 6vw; }
.section-heading { display: grid; grid-template-columns: minmax(220px, .65fr) 1.2fr .8fr; gap: 5vw; align-items: end; margin-bottom: 58px; }
.section-heading .eyebrow { align-self: start; }
.section-heading h2, .process-intro h2, .brief-copy h2 { font-size: clamp(3rem, 5vw, 5.2rem); }
.section-heading > p:last-child, .process-intro > p:last-child, .brief-copy > p { margin: 0; color: var(--muted); line-height: 1.7; }
.service-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 18px; }
.service-card { position: relative; min-height: 430px; padding: 30px; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(255,254,250,.52); }
.service-card-featured { grid-column: 1 / 8; background: var(--white); }
.service-grid .service-card:nth-child(2) { grid-column: 8 / 13; }
.service-grid .service-card:nth-child(3) { grid-column: 3 / 10; min-height: 370px; }
.service-icon { display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 70px; border: 1px solid var(--line); border-radius: 50%; color: var(--purple-dark); font-weight: 900; }
.card-kicker { margin: 0 0 10px; color: var(--purple-dark); font-size: .68rem; font-weight: 850; letter-spacing: .09em; text-transform: uppercase; }
.service-card h3 { margin: 0 0 15px; font-family: Georgia, serif; font-size: 2rem; font-weight: 500; letter-spacing: -.035em; }
.service-card > p:not(.card-kicker) { color: var(--muted); line-height: 1.65; }
.mini-browser { position: absolute; right: -4%; bottom: -18%; width: 70%; aspect-ratio: 1.35; padding: 24px; border: 1px solid #bbb9ad; border-radius: 18px 18px 0 0; background: #e8e7df; transform: rotate(-4deg); }
.mini-browser div { width: 35%; height: 8px; margin-bottom: 23px; border-radius: 9px; background: var(--ink); }
.mini-browser b { display: block; width: 80%; height: 34px; margin-bottom: 13px; border-radius: 4px; background: #bdbbb1; }
.mini-browser span { display: block; width: 95%; height: 5px; margin: 7px 0; border-radius: 3px; background: #cccac1; }
.mini-browser button { margin-top: 18px; padding: 8px 14px; border: 0; border-radius: 99px; background: var(--acid); font-size: .65rem; font-weight: 800; }
.check-list { margin: 34px 0 0; padding: 0; list-style: none; }
.check-list li { padding: 12px 0; border-top: 1px solid var(--line); color: #454740; font-size: .83rem; }
.check-list li::before { content: "↳"; margin-right: 10px; color: var(--purple-dark); }
.chat-mini { position: absolute; right: 24px; bottom: 25px; left: 24px; }
.chat-mini p { width: 82%; margin: 8px 0; padding: 11px 14px; border-radius: 15px 15px 15px 3px; color: #454740; background: var(--paper-2); font-size: .76rem; }
.chat-mini p:last-child { margin-left: auto; color: white; border-radius: 15px 15px 3px 15px; background: var(--purple); }

.section-ink { color: white; background: var(--ink); }
.section-heading.light > p:last-child, .section-heading.light .eyebrow { color: #aaaDA5; }
.section-heading.light .eyebrow span { background: var(--acid); }
.template-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.template-card { overflow: hidden; border: 1px solid #454742; border-radius: var(--radius); background: #252723; transition: transform .25s, border-color .25s; }
.template-card:hover { transform: translateY(-7px); border-color: var(--acid); }
.template-preview { min-height: 360px; padding: 32px; color: var(--ink); }
.template-preview > span { font-size: .74rem; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.template-preview h3 { max-width: 330px; margin: 105px 0 25px; font-family: Georgia, serif; font-size: clamp(2.1rem, 3vw, 3.3rem); font-weight: 500; line-height: 1.02; letter-spacing: -.045em; }
.template-preview > i { display: inline-block; padding: 9px 13px; border: 1px solid currentColor; border-radius: 999px; font-size: .7rem; font-style: normal; font-weight: 750; }
.preview-consultancy { background: #cad4c2; }
.preview-booking { background: #edb7a6; }
.preview-local { color: white; background: #266c91; }
.date-row { display: flex; gap: 7px; }
.date-row i { display: grid; place-items: center; width: 38px; height: 46px; border: 1px solid rgba(23,24,22,.3); border-radius: 9px; font-style: normal; font-size: .72rem; }
.date-row i:nth-child(2) { color: white; background: var(--ink); }
.template-meta { display: flex; justify-content: space-between; align-items: center; padding: 20px 23px; }
.template-meta b, .template-meta span { display: block; }
.template-meta b { margin-bottom: 5px; font-size: .88rem; }
.template-meta span { color: #a9aca4; font-size: .7rem; }
.template-meta strong { color: var(--acid); font-size: .72rem; }

.process { display: grid; grid-template-columns: .9fr 1.1fr; gap: 9vw; }
.process-intro { position: sticky; top: 130px; align-self: start; }
.process-intro h2 { margin-bottom: 28px; }
.process-list { margin: 0; padding: 0; list-style: none; }
.process-list li { display: grid; grid-template-columns: 110px 1fr; gap: 20px; padding: 30px 0; border-top: 1px solid var(--line); }
.process-list li:last-child { border-bottom: 1px solid var(--line); }
.process-list > li > span { color: var(--purple-dark); font: 800 .66rem ui-monospace, monospace; letter-spacing: .06em; text-transform: uppercase; }
.process-list h3 { margin: 0 0 9px; font-family: Georgia, serif; font-size: 1.55rem; font-weight: 500; }
.process-list p { margin: 0; color: var(--muted); line-height: 1.6; }

.project-strip { display: grid; grid-template-columns: 1.3fr repeat(3, .7fr); background: var(--acid); }
.project-strip > * { min-height: 260px; padding: 42px 3vw; border-right: 1px solid rgba(23,24,22,.2); }
.project-strip > *:last-child { border-right: 0; }
.project-strip .eyebrow { color: #5b6829; }
.project-strip .eyebrow span { background: var(--ink); }
.project-strip h2 { max-width: 520px; font-size: clamp(2.3rem, 3.7vw, 4.2rem); }
.project-strip article { display: flex; flex-direction: column; }
.project-strip article b { font-family: Georgia, serif; font-size: 1.4rem; }
.project-strip article p { color: #4f572b; font-size: .84rem; line-height: 1.55; }
.project-strip article span { margin-top: auto; font: 800 .65rem ui-monospace, monospace; text-transform: uppercase; }

.brief-section { display: grid; grid-template-columns: .8fr 1.2fr; gap: 9vw; background: var(--white); }
.brief-copy h2 { margin-bottom: 25px; }
.assistant-launch { display: flex; align-items: center; width: 100%; margin-top: 35px; padding: 18px; border: 1px solid var(--line); border-radius: 16px; background: var(--paper); cursor: pointer; text-align: left; }
.assistant-launch > span { display: grid; place-items: center; width: 38px; height: 38px; margin-right: 13px; border-radius: 50%; color: white; background: var(--purple); }
.assistant-launch div { flex: 1; }
.assistant-launch b, .assistant-launch small { display: block; }
.assistant-launch small { margin-top: 3px; color: var(--muted); }
.assistant-launch i { font-style: normal; font-weight: 800; }
.brief-form { padding: clamp(25px, 4vw, 48px); border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); }
.brief-form label, .brief-form legend { color: #454740; font-size: .8rem; font-weight: 750; }
.brief-form input[type="text"], .brief-form textarea, .brief-form select { display: block; width: 100%; margin: 9px 0 23px; padding: 14px 15px; border: 1px solid #bdbbb0; border-radius: 10px; color: var(--ink); background: var(--white); }
.brief-form textarea { resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.brief-form fieldset { display: flex; flex-wrap: wrap; gap: 10px 18px; margin: 2px 0 28px; padding: 0; border: 0; }
.brief-form legend { width: 100%; margin-bottom: 10px; }
.brief-form fieldset label { font-weight: 550; }
.brief-form input[type="checkbox"] { accent-color: var(--purple); }
.form-result { margin-top: 20px; padding: 18px; border-left: 4px solid var(--purple); background: var(--white); white-space: pre-wrap; line-height: 1.55; }

.site-footer { display: grid; grid-template-columns: 1fr 1fr auto; gap: 30px; align-items: center; padding: 35px 4vw; color: #b9bbb5; background: var(--ink); font-size: .77rem; }
.site-footer .brand { color: white; }
.site-footer p { text-align: center; }

.assistant { position: fixed; right: 22px; bottom: 22px; z-index: 60; display: flex; flex-direction: column; width: min(390px, calc(100vw - 32px)); height: min(590px, calc(100vh - 44px)); overflow: hidden; border: 1px solid #44463f; border-radius: 22px; background: #1f211d; color: white; box-shadow: 0 28px 90px rgba(0,0,0,.35); opacity: 0; pointer-events: none; transform: translateY(18px) scale(.98); transition: .22s ease; }
.assistant.open { opacity: 1; pointer-events: auto; transform: none; }
.assistant-head { display: flex; align-items: center; justify-content: space-between; padding: 16px 18px; border-bottom: 1px solid #3c3e38; }
.assistant-head > div { display: flex; align-items: center; gap: 10px; }
.assistant-head > div > span { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; color: var(--ink); background: var(--acid); }
.assistant-head p, .assistant-head b, .assistant-head small { display: block; margin: 0; }
.assistant-head small { margin-top: 2px; color: #969991; font-size: .65rem; }
.assistant-head button { border: 0; color: white; background: transparent; cursor: pointer; font-size: 1.5rem; }
.assistant-log { flex: 1; overflow-y: auto; padding: 20px; }
.assistant-message { max-width: 85%; margin: 0 0 12px; padding: 12px 14px; border-radius: 15px 15px 15px 3px; color: #e7e9e3; background: #30322d; font-size: .82rem; line-height: 1.5; }
.assistant-message.user { margin-left: auto; color: var(--ink); border-radius: 15px 15px 3px 15px; background: var(--acid); }
.assistant-input { display: flex; gap: 8px; padding: 14px; border-top: 1px solid #3c3e38; }
.assistant-input input { flex: 1; min-width: 0; padding: 12px; border: 1px solid #4a4d45; border-radius: 10px; color: white; background: #292b27; }
.assistant-input button { padding: 0 15px; border: 0; border-radius: 10px; color: var(--ink); background: var(--acid); cursor: pointer; font-weight: 800; }
.assistant-backdrop { position: fixed; inset: 0; z-index: 50; background: rgba(13,14,12,.26); backdrop-filter: blur(2px); }

/* Human studio direction */
.hero { grid-template-columns: minmax(0, 1.08fr) minmax(390px, .92fr); }
.hero h1 { max-width: 790px; font-size: clamp(3.5rem, 5.9vw, 6.3rem); line-height: 1.01; letter-spacing: -.058em; }
.hero h1 em { color: inherit; }
.hero h1 em::after { height: .055em; background: #d8a270; }

.worktable { position: relative; min-height: 570px; border: 1px solid #b9b4a7; border-radius: 4px 32px 5px 24px; background: #d7cbb9; box-shadow: 0 25px 75px rgba(64,48,31,.15); transform: rotate(.6deg); }
.worktable::before { content: ""; position: absolute; inset: 0; opacity: .24; background-image: linear-gradient(rgba(74,57,40,.13) 1px, transparent 1px), linear-gradient(90deg, rgba(74,57,40,.09) 1px, transparent 1px); background-size: 24px 24px; }
.worktable-sheet { position: absolute; left: 8%; top: 9%; width: 72%; padding: 34px 34px 30px; color: #25231e; background: #fffdf6; box-shadow: 7px 12px 22px rgba(50,38,25,.14); transform: rotate(-2.8deg); }
.worktable-sheet::before { content: ""; position: absolute; left: 42%; top: -14px; width: 90px; height: 28px; background: rgba(231,214,169,.72); transform: rotate(2deg); }
.sheet-label { color: #7a746b; font: 750 .66rem ui-monospace, monospace; letter-spacing: .08em; text-transform: uppercase; }
.worktable-sheet p { margin: 23px 0 18px; font-family: Georgia, serif; font-size: clamp(1.35rem, 2.2vw, 2rem); line-height: 1.25; letter-spacing: -.025em; }
.worktable-sheet small { display: block; color: #656057; font-size: .78rem; line-height: 1.6; }
.pencil-line { width: 43%; height: 3px; margin-bottom: 16px; background: #6557e8; transform: rotate(-1deg); }
.worktable-card { position: absolute; right: 6%; bottom: 9%; width: 66%; padding: 24px 26px; color: #f5f1e7; background: #20211e; box-shadow: 9px 12px 22px rgba(50,38,25,.2); transform: rotate(2.3deg); }
.worktable-card > span { color: #b7b5af; font: 700 .62rem ui-monospace, monospace; letter-spacing: .08em; text-transform: uppercase; }
.worktable-card strong { display: block; margin: 12px 0 18px; font: 500 1.35rem/1.25 Georgia, serif; }
.worktable-card ul { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.worktable-card li { padding: 6px 9px; border: 1px solid #55574f; border-radius: 99px; color: #d5d6d0; font-size: .65rem; }
.worktable-note { position: absolute; right: -18px; top: 38%; margin: 0; padding: 16px 19px; color: #423629; background: #efc985; font: italic 1.05rem/1.3 Georgia, serif; box-shadow: 4px 7px 14px rgba(50,38,25,.14); transform: rotate(5deg); }

.real-work-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 18px; margin-bottom: 70px; }
.real-work-card { display: flex; min-height: 390px; flex-direction: column; justify-content: space-between; padding: clamp(28px, 4vw, 50px); border: 1px solid rgba(255,255,255,.2); border-radius: 5px 30px 5px 30px; transition: transform .2s ease, border-color .2s ease; }
.real-work-card:hover { transform: translateY(-4px); border-color: rgba(255,255,255,.5); }
.unipilgrim-work { color: #f8f3e7; background: #23392f; }
.carepilgrim-work { color: #2a211c; background: #e6c3ad; }
.truth-label { display: inline-block; margin-bottom: 75px; font-size: .68rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.unipilgrim-work .truth-label { color: #b5d3c1; }
.carepilgrim-work .truth-label { color: #734d3d; }
.real-work-card h3 { margin: 0; font: 500 clamp(2.8rem, 5vw, 5.2rem)/.95 Georgia, serif; letter-spacing: -.05em; }
.real-work-card p { max-width: 570px; margin: 22px 0 0; font-size: .95rem; line-height: 1.65; opacity: .82; }
.real-work-card > strong { margin-top: 30px; font-size: .76rem; }
.real-work-card i { font-style: normal; }
.example-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 25px; margin-bottom: 18px; padding-top: 28px; border-top: 1px solid #42433e; }
.example-heading span { color: white; font: 500 1.5rem Georgia, serif; }
.example-heading p { margin: 0; color: #969991; font-size: .78rem; }

.personal-web-section { display: grid; grid-template-columns: .85fr 1.15fr; gap: 8vw; padding: 120px 6vw; color: #32251c; background: #ddbc9f; }
.personal-intro h2 { max-width: 650px; margin: 0; font: 500 clamp(3rem, 5vw, 5.4rem)/.96 Georgia, serif; letter-spacing: -.055em; }
.personal-intro > p:last-child { max-width: 620px; margin: 30px 0 0; line-height: 1.75; }
.personal-options { display: grid; align-content: end; gap: 18px; }
.personal-options article { padding: 28px 0; border-top: 1px solid rgba(50,37,28,.3); }
.personal-options span { font-size: .67rem; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.personal-options h3 { margin: 14px 0 9px; font: 500 2rem Georgia, serif; letter-spacing: -.035em; }
.personal-options p { margin: 0; color: #6f5544; line-height: 1.6; }

.plans-section { background: #f8f5ed; }
.plans-list { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.plans-list article { min-height: 280px; padding: 32px 30px; border-right: 1px solid var(--line); }
.plans-list article:last-child { border-right: 0; }
.plans-list span { color: var(--purple-dark); font-size: .67rem; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.plans-list h3 { margin: 58px 0 14px; font: 500 2rem Georgia, serif; letter-spacing: -.035em; }
.plans-list p { margin: 0; color: var(--muted); line-height: 1.65; }

/* Real-work notes */
.case-body { min-height: 100vh; color: #10201f; background: #f5f0e7; }
.case-header { display: flex; align-items: center; justify-content: space-between; padding: 26px 5vw; border-bottom: 1px solid rgba(16,32,31,.18); font-size: .78rem; font-weight: 750; }
.case-hero { padding: clamp(75px, 11vw, 150px) 8vw clamp(80px, 12vw, 160px); }
.case-status { margin: 0 0 34px; font-size: .7rem; font-weight: 850; letter-spacing: .11em; text-transform: uppercase; }
.case-hero h1 { margin: 0; font: 500 clamp(5rem, 13vw, 12rem)/.82 Georgia, serif; letter-spacing: -.07em; }
.case-intro { max-width: 850px; margin: 55px 0 32px; font: 500 clamp(1.5rem, 2.7vw, 2.6rem)/1.3 Georgia, serif; letter-spacing: -.025em; }
.case-button { color: #f7f4eb; border-color: #10201f; background: #10201f; }
.case-caution { max-width: 720px; margin: 34px 0 0; padding: 20px 22px; border-left: 4px solid #c8763c; background: rgba(255,255,255,.45); line-height: 1.65; }
.case-facts { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid rgba(16,32,31,.18); border-bottom: 1px solid rgba(16,32,31,.18); }
.case-facts article { min-height: 440px; padding: 45px 4vw; border-right: 1px solid rgba(16,32,31,.18); }
.case-facts article:last-child { border-right: 0; }
.case-facts span { font-size: .68rem; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.case-facts h2 { margin: 95px 0 20px; font: 500 clamp(1.8rem, 3vw, 3rem)/1 Georgia, serif; letter-spacing: -.04em; }
.case-facts p { color: #52605d; line-height: 1.7; }
.case-principle { padding: 120px 8vw 150px; color: #f7f4eb; background: #10201f; }
.case-principle p { font-size: .7rem; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.case-principle h2 { max-width: 1050px; margin: 42px 0 0; font: 500 clamp(3rem, 6vw, 6.5rem)/.98 Georgia, serif; letter-spacing: -.055em; }
.case-footer { display: flex; justify-content: space-between; gap: 30px; padding: 34px 5vw; font-size: .75rem; font-weight: 800; }
.case-carepilgrim { color: #10201f; background: #f4ede3; }
.case-carepilgrim .case-principle { background: #0f4c4a; }
.case-carepilgrim .brand-mark { color: #f4ede3; background: #0f4c4a; }

/* Demo templates */
.demo-body { min-height: 100vh; background: #f7f5ef; }
.demo-label { position: fixed; right: 16px; top: 16px; z-index: 50; padding: 8px 12px; border-radius: 999px; color: white; background: rgba(20,20,18,.82); font-size: .68rem; font-weight: 800; backdrop-filter: blur(10px); }
.demo-nav { display: flex; align-items: center; justify-content: space-between; padding: 26px 5vw; }
.demo-nav > a:first-child { font-family: Georgia, serif; font-size: 1.25rem; font-weight: 700; }
.demo-nav div { display: flex; gap: 25px; align-items: center; font-size: .78rem; font-weight: 700; }
.demo-nav .demo-cta { padding: 10px 15px; border-radius: 999px; color: white; background: #1d211c; }
.demo-hero { display: grid; grid-template-columns: 1.05fr .95fr; min-height: 650px; padding: 60px 6vw 95px; }
.demo-hero-copy { display: flex; flex-direction: column; justify-content: center; padding-right: 7vw; }
.demo-overline { margin: 0 0 22px; color: #5f665d; font-size: .7rem; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.demo-hero h1 { margin: 0; font-family: Georgia, serif; font-size: clamp(3.7rem, 7vw, 7rem); font-weight: 500; line-height: .94; letter-spacing: -.055em; }
.demo-hero-copy > p:not(.demo-overline) { max-width: 590px; margin: 28px 0; color: #575d55; font-size: 1.06rem; line-height: 1.7; }
.demo-art { position: relative; min-height: 520px; overflow: hidden; border-radius: 28px; background: #cad4c2; }
.demo-art::before, .demo-art::after { content: ""; position: absolute; border-radius: 50%; }
.demo-art::before { width: 430px; height: 430px; right: -80px; top: -90px; background: #eef3e9; }
.demo-art::after { width: 250px; height: 250px; left: 40px; bottom: 35px; border: 42px solid #7f9276; }
.quote-box { position: absolute; right: 30px; bottom: 30px; left: 30px; z-index: 2; padding: 25px; border-radius: 18px; background: rgba(255,255,255,.83); backdrop-filter: blur(12px); }
.quote-box b { display: block; font-family: Georgia, serif; font-size: 1.35rem; }
.quote-box span { display: block; margin-top: 8px; color: #5b6158; font-size: .75rem; }
.demo-section { padding: 90px 6vw; }
.demo-section h2 { max-width: 760px; margin: 0 0 45px; font-family: Georgia, serif; font-size: clamp(2.5rem, 4vw, 4.3rem); font-weight: 500; line-height: 1; letter-spacing: -.045em; }
.demo-three { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.demo-three article { padding: 28px; border-top: 1px solid #aeb1a8; }
.demo-three span { color: #6d746b; font: 800 .7rem ui-monospace, monospace; }
.demo-three h3 { margin: 30px 0 13px; font-family: Georgia, serif; font-size: 1.45rem; }
.demo-three p { color: #61675f; line-height: 1.65; }
.back-pagetap { display: inline-block; margin: 30px 5vw; color: #555b53; font-size: .75rem; font-weight: 800; }

.booking-theme { background: #f8eee9; }
.booking-theme .demo-art { display: grid; place-items: center; padding: 28px; background: #e9af9d; }
.booking-theme .demo-art::before { width: 300px; height: 300px; background: #f5cbbf; }
.booking-theme .demo-art::after { width: 180px; height: 180px; left: -35px; bottom: -20px; border: 0; background: #d7806a; }
.booking-panel { position: relative; z-index: 3; width: min(390px, 100%); padding: 26px; border-radius: 20px; background: #fffaf7; box-shadow: 0 20px 55px rgba(80,39,28,.16); }
.booking-panel h2 { margin: 0 0 5px; font-family: Georgia, serif; font-size: 1.65rem; font-weight: 500; }
.booking-panel > p { margin: 0 0 20px; color: #78655f; font-size: .76rem; }
.booking-days, .booking-times { display: grid; grid-template-columns: repeat(4, 1fr); gap: 7px; }
.booking-days button, .booking-times button { padding: 10px 4px; border: 1px solid #d9c8c1; border-radius: 9px; background: transparent; cursor: pointer; font-size: .68rem; }
.booking-days button.selected, .booking-times button.selected { color: white; border-color: #7c3e2f; background: #7c3e2f; }
.booking-times { grid-template-columns: repeat(3, 1fr); margin-top: 10px; }
.booking-confirm { width: 100%; margin-top: 16px; padding: 12px; border: 0; border-radius: 10px; color: white; background: #20211e; cursor: pointer; font-weight: 800; }
.booking-output { margin: 12px 0 0; color: #5d493f; font-size: .75rem; line-height: 1.4; }

.local-theme { color: #102532; background: #edf4f6; }
.local-theme .demo-art { background: #266c91; }
.local-theme .demo-art::before { width: 320px; height: 320px; background: #68a9c6; }
.local-theme .demo-art::after { width: 260px; height: 260px; border: 42px solid #e7cc67; }
.estimate-card { position: absolute; inset: auto 30px 30px; z-index: 3; padding: 26px; border-radius: 18px; background: white; }
.estimate-card h2 { margin: 0 0 16px; font-family: Georgia, serif; font-size: 1.6rem; font-weight: 500; }
.estimate-card label { display: block; margin-top: 10px; color: #4d6069; font-size: .73rem; font-weight: 700; }
.estimate-card select, .estimate-card input { width: 100%; margin-top: 6px; padding: 10px; border: 1px solid #c6d3d8; border-radius: 8px; background: #f9fcfd; }
.estimate-card button { width: 100%; margin-top: 15px; padding: 11px; border: 0; border-radius: 9px; color: white; background: #154e6d; cursor: pointer; font-weight: 800; }
.estimate-output { margin: 10px 0 0; color: #48616e; font-size: .72rem; }

@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-console { max-width: 680px; }
  .worktable { width: min(680px, 100%); }
  .signal-band { grid-template-columns: 1fr 1fr; }
  .signal-band > *:nth-child(2) { border-right: 0; }
  .signal-band > *:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .section-heading { grid-template-columns: 1fr 1.4fr; }
  .section-heading > p:last-child { grid-column: 2; }
  .service-grid { grid-template-columns: 1fr 1fr; }
  .service-card-featured { grid-column: 1 / -1; }
  .service-grid .service-card:nth-child(2), .service-grid .service-card:nth-child(3) { grid-column: auto; }
  .template-grid { grid-template-columns: 1fr; }
  .template-preview { min-height: 300px; }
  .template-preview h3 { margin-top: 80px; }
  .process, .brief-section { gap: 5vw; }
  .project-strip { grid-template-columns: 1fr 1fr; }
  .project-strip > *:nth-child(2) { border-right: 0; }
  .project-strip > *:nth-child(-n+2) { border-bottom: 1px solid rgba(23,24,22,.2); }
  .demo-hero { grid-template-columns: 1fr; gap: 50px; }
  .demo-hero-copy { padding-right: 0; }
  .real-work-grid { grid-template-columns: 1fr; }
  .personal-web-section { grid-template-columns: 1fr; gap: 60px; }
}

@media (max-width: 720px) {
  .site-header { min-height: 66px; }
  .menu-button { display: block; }
  .site-nav { position: absolute; left: 12px; right: 12px; top: 72px; display: none; flex-direction: column; align-items: stretch; padding: 18px; border: 1px solid var(--line); border-radius: 16px; background: var(--white); box-shadow: var(--shadow); }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 8px; }
  .site-nav .nav-cta { text-align: center; }
  .hero { padding: 68px 5vw 75px; }
  .hero h1 { font-size: clamp(3.4rem, 17vw, 5rem); }
  .worktable { min-height: 520px; margin-top: 15px; transform: none; }
  .worktable-sheet { left: 5%; width: 82%; padding: 27px 24px; }
  .worktable-card { right: 4%; width: 78%; }
  .worktable-note { right: -4px; top: 45%; font-size: .9rem; }
  .hero-console { margin: 20px 5px 0; transform: none; }
  .journey-arrow { display: none; }
  .journey-line { align-items: stretch; }
  .journey-card { padding: 12px 8px; }
  .journey-card small { white-space: normal; }
  .console-grid { grid-template-columns: 1fr; }
  .console-footer { display: none; }
  .signal-band, .section-heading, .service-grid, .process, .brief-section, .project-strip, .form-row, .demo-three { grid-template-columns: 1fr; }
  .signal-band > *, .signal-band > *:nth-child(2), .project-strip > *, .project-strip > *:nth-child(2) { border-right: 0; border-bottom: 1px solid var(--line); }
  .section { padding: 82px 5vw; }
  .section-heading { gap: 18px; }
  .section-heading > p:last-child { grid-column: auto; }
  .section-heading h2, .process-intro h2, .brief-copy h2 { font-size: 3rem; }
  .service-card-featured { grid-column: auto; }
  .service-grid .service-card:nth-child(2), .service-grid .service-card:nth-child(3) { grid-column: auto; }
  .service-card { min-height: 390px; }
  .process-intro { position: static; margin-bottom: 30px; }
  .project-strip > * { min-height: 210px; }
  .site-footer { grid-template-columns: 1fr; text-align: center; }
  .site-footer .brand { justify-content: center; }
  .site-footer p { margin: 0; }
  .real-work-card { min-height: 360px; }
  .truth-label { margin-bottom: 55px; }
  .example-heading { align-items: flex-start; flex-direction: column; }
  .personal-web-section { padding: 82px 5vw; }
  .personal-intro h2 { font-size: 3rem; }
  .plans-list { grid-template-columns: 1fr; }
  .plans-list article { min-height: auto; border-right: 0; border-bottom: 1px solid var(--line); }
  .case-header { padding: 19px 5vw; }
  .case-hero { padding: 75px 5vw 90px; }
  .case-hero h1 { font-size: clamp(4.4rem, 22vw, 7rem); }
  .case-intro { margin-top: 40px; }
  .case-facts { grid-template-columns: 1fr; }
  .case-facts article { min-height: auto; padding: 55px 5vw; border-right: 0; border-bottom: 1px solid rgba(16,32,31,.18); }
  .case-facts h2 { margin-top: 45px; }
  .case-principle { padding: 85px 5vw 100px; }
  .case-principle h2 { font-size: 3rem; }
  .case-footer { flex-direction: column; }
  .assistant { right: 16px; bottom: 16px; }
  .demo-nav div a:not(.demo-cta) { display: none; }
  .demo-hero { padding: 45px 5vw 70px; }
  .demo-hero h1 { font-size: 3.9rem; }
  .demo-art { min-height: 480px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* ==========================================================================
   Example catalogue + sector demo pages
   Reuses --paper/--paper-2/--ink/--muted/--line/--acid/--purple/--purple-dark,
   --radius and --shadow from :root. Four sector accent groups below are
   derived variants of the existing purple/acid palette, applied through the
   theme-* classes already present on each demo page body and through the
   catalogue-sector ids on the hub page.
   ========================================================================== */

:root {
  /* Group 1 — Appointments & personal care (massage, barber, beauty) */
  --grp-care-accent: #8a6fd8;
  --grp-care-accent-dark: #5f46b0;
  --grp-care-tint: #efe9fb;
  /* Group 2 — Hospitality (food-stall, restaurant) */
  --grp-food-accent: #c77b3f;
  --grp-food-accent-dark: #8f5522;
  --grp-food-tint: #f7ebdd;
  /* Group 3 — Trades & home services (plumbing, removals, electrician, cleaning) */
  --grp-trade-accent: #2f7a63;
  --grp-trade-accent-dark: #1e5444;
  --grp-trade-tint: #e2f0ea;
  /* Group 4 — Professional services (accounting, consultancy, tutoring) */
  --grp-pro-accent: #3b6ea8;
  --grp-pro-accent-dark: #27507d;
  --grp-pro-tint: #e3edf7;
}

/* -- Catalogue hub (dist/examples/index.html) ---------------------------- */
.catalogue-body { background: var(--paper); }
.catalogue-hero { display: flex; flex-direction: column; gap: 28px; padding: clamp(60px, 9vw, 110px) 6vw 50px; }
.catalogue-hero-copy h1 { margin: 14px 0 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(2.6rem, 5.5vw, 4.6rem); font-weight: 500; letter-spacing: -.045em; line-height: 1.03; }
.catalogue-intro { max-width: 760px; margin: 22px 0 0; color: var(--muted); line-height: 1.7; }
.catalogue-hero .case-caution { max-width: 760px; margin: 22px 0 0; padding: 16px 20px; border-left: 4px solid var(--purple); background: var(--white); line-height: 1.6; border-radius: 0 10px 10px 0; }
.catalogue-nav-pills { display: flex; flex-wrap: wrap; gap: 10px; }
.catalogue-nav-pills .cat-pill { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border: 1px solid var(--line); border-radius: 999px; background: var(--white); font-size: .82rem; font-weight: 700; transition: transform .2s, border-color .2s; }
.catalogue-nav-pills .cat-pill span { color: var(--purple-dark); font: 800 .68rem ui-monospace, monospace; }
.catalogue-nav-pills .cat-pill:hover { transform: translateY(-2px); border-color: var(--purple); }

.catalogue-sector { padding: 60px 6vw; border-top: 1px solid var(--line); }
.sector-header { max-width: 820px; margin: 0 0 32px; }
.sector-kicker { margin: 0 0 10px; color: var(--purple-dark); font-size: .7rem; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.sector-header h2 { margin: 0 0 14px; font-family: Georgia, serif; font-size: clamp(1.9rem, 3.4vw, 2.9rem); font-weight: 500; letter-spacing: -.035em; }
.sector-desc { margin: 0; color: var(--muted); line-height: 1.7; }
.catalogue-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }

.example-card { display: flex; flex-direction: column; padding: 26px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); transition: transform .2s, box-shadow .2s; }
.example-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.example-card-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 14px; }
.example-flag { display: inline-flex; align-items: center; padding: 5px 11px; border-radius: 999px; color: var(--ink); background: var(--acid); font-size: .66rem; font-weight: 850; letter-spacing: .04em; text-transform: uppercase; }
.example-sector-tag { padding: 5px 11px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); font-size: .66rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.example-card h3 { margin: 0 0 6px; font-family: Georgia, serif; font-size: 1.4rem; font-weight: 500; letter-spacing: -.02em; }
.example-role { margin: 0 0 16px; color: var(--muted); font-size: .85rem; }
.example-conversion { margin: 0 0 16px; padding: 14px 16px; border-radius: 12px; background: var(--paper-2); font-size: .85rem; line-height: 1.55; }
.example-conversion strong { display: block; margin-bottom: 6px; color: var(--purple-dark); font-size: .72rem; letter-spacing: .04em; text-transform: uppercase; }
.example-conversion p { margin: 0; }
.example-gate { display: grid; gap: 8px; margin: 0 0 18px; }
.gate-item { font-size: .78rem; line-height: 1.5; color: #454740; }
.gate-item b { color: var(--ink); }
.example-actions { margin-top: auto; }

/* Sector accent grouping on the hub, keyed by section id */
#appointments .example-flag, #appointments .cat-pill span { color: var(--grp-care-accent-dark); }
#appointments .example-sector-tag { color: var(--grp-care-accent-dark); border-color: var(--grp-care-accent); background: var(--grp-care-tint); }
#appointments .sector-kicker { color: var(--grp-care-accent-dark); }
#hospitality .example-sector-tag { color: var(--grp-food-accent-dark); border-color: var(--grp-food-accent); background: var(--grp-food-tint); }
#hospitality .sector-kicker { color: var(--grp-food-accent-dark); }
#trades .example-sector-tag { color: var(--grp-trade-accent-dark); border-color: var(--grp-trade-accent); background: var(--grp-trade-tint); }
#trades .sector-kicker { color: var(--grp-trade-accent-dark); }
#professional-services .example-sector-tag { color: var(--grp-pro-accent-dark); border-color: var(--grp-pro-accent); background: var(--grp-pro-tint); }
#professional-services .sector-kicker { color: var(--grp-pro-accent-dark); }

.catalogue-footer-note { padding: 80px 6vw 100px; text-align: center; background: var(--paper-2); }
.catalogue-footer-note .footer-note-content { max-width: 720px; margin: 0 auto; }
.catalogue-footer-note h2 { margin: 0 0 16px; font-family: Georgia, serif; font-size: clamp(2rem, 4vw, 3rem); font-weight: 500; letter-spacing: -.03em; }
.catalogue-footer-note p { margin: 0 0 26px; color: var(--muted); line-height: 1.7; }
.catalogue-footer-note .button-row { justify-content: center; }
.catalogue-body .site-footer, .example-page-footer { color: var(--muted); }

/* -- Individual sector demo pages ----------------------------------------- */
.example-page-body { background: var(--paper); }
.example-page-header { position: sticky; top: 0; z-index: 30; padding: 0 4vw; border-bottom: 1px solid var(--line); background: rgba(243,240,232,.92); backdrop-filter: blur(16px); }
.example-page-header .header-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; min-height: 68px; }
.example-page-header .back-link { font-size: .82rem; font-weight: 750; }
.example-page-header .back-link:hover { color: var(--purple-dark); }
.example-demo-banner { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; padding: 14px 4vw; background: var(--ink); color: var(--white); font-size: .82rem; }
.example-demo-banner strong { color: var(--acid); }
.example-main { padding-bottom: 20px; }
.example-hero { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(300px, .95fr); gap: clamp(24px, 5vw, 60px); align-items: start; padding: clamp(40px, 7vw, 80px) 6vw 50px; }
.example-hero .hero-content h1 { margin: 10px 0 18px; font-family: Georgia, serif; font-size: clamp(2.2rem, 4.6vw, 3.6rem); font-weight: 500; letter-spacing: -.04em; line-height: 1.05; }
.example-hero .hero-lede { max-width: 620px; margin: 0 0 20px; color: var(--muted); line-height: 1.65; }
.hero-meta-pills,
.example-hero [class$="-specs-row"] { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.hero-meta-pills > span,
.example-hero [class$="-specs-row"] > span { display: inline-flex; align-items: center; min-height: 32px; padding: 6px 11px; border: 1px solid color-mix(in srgb, var(--theme-accent, var(--line)) 55%, var(--line)); border-radius: 999px; background: var(--theme-tint, var(--white)); color: var(--ink); font-size: .74rem; font-weight: 750; line-height: 1.25; }
.example-panel { min-width: 0; }
.example-panel .intake-card, .example-panel .booking-card, .example-panel .menu-card { padding: clamp(22px, 3vw, 32px); border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow); }
.example-panel h2 { margin: 0 0 8px; font-family: Georgia, serif; font-size: 1.5rem; font-weight: 500; }
.example-panel .panel-subtitle { margin: 0 0 20px; color: var(--muted); font-size: .85rem; line-height: 1.5; }
.example-details-section { padding: 10px 6vw 70px; }
.details-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.detail-box { padding: 22px; border: 1px solid var(--line); border-radius: 16px; background: var(--white); }
.detail-box h3 { margin: 0 0 8px; font-family: Georgia, serif; font-size: 1.1rem; font-weight: 500; }
.detail-box p { margin: 0; color: var(--muted); font-size: .85rem; line-height: 1.6; }
.design-gate-card { margin: 0 6vw 70px; padding: clamp(26px, 4vw, 40px); border-radius: var(--radius); background: var(--paper-2); }
.gate-label { display: inline-block; margin-bottom: 14px; padding: 5px 11px; border-radius: 999px; color: var(--ink); background: var(--acid); font-size: .66rem; font-weight: 850; letter-spacing: .04em; text-transform: uppercase; }
.design-gate-card h2 { margin: 0 0 20px; font-family: Georgia, serif; font-size: clamp(1.5rem, 2.6vw, 2.1rem); font-weight: 500; }
.gate-columns { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; }
.gate-columns strong { display: block; margin-bottom: 6px; color: var(--purple-dark); font-size: .78rem; text-transform: uppercase; letter-spacing: .04em; }
.gate-columns p { margin: 0; color: #454740; font-size: .85rem; line-height: 1.55; }
.example-page-footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding: 26px 5vw; border-top: 1px solid var(--line); font-size: .8rem; font-weight: 700; }
.example-page-footer a:hover { color: var(--purple-dark); }

/* Demo form feedback */
.demo-conversion-form { display: grid; gap: 16px; }
.demo-conversion-form .form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.demo-conversion-form label { display: grid; gap: 7px; min-width: 0; color: var(--ink); font-size: .78rem; font-weight: 800; line-height: 1.3; }
.demo-conversion-form input,
.demo-conversion-form select,
.demo-conversion-form textarea { width: 100%; min-width: 0; min-height: 46px; padding: 10px 12px; border: 1px solid #b8b9b2; border-radius: 9px; background: #fff; color: var(--ink); font: 500 .9rem/1.35 Arial, sans-serif; }
.demo-conversion-form textarea { min-height: 88px; resize: vertical; }
.demo-conversion-form .form-feedback { margin-top: 16px; padding: 14px 16px; border-left: 4px solid var(--purple); border-radius: 0 10px 10px 0; background: var(--paper); font-size: .85rem; line-height: 1.55; }
.demo-conversion-form button[type="submit"] { margin-top: 6px; }

/* Per-sector theme accents, grouped by business category */
.theme-massage, .theme-barber, .theme-beauty { --theme-accent: var(--grp-care-accent); --theme-accent-dark: var(--grp-care-accent-dark); --theme-tint: var(--grp-care-tint); }
.theme-food-stall, .theme-restaurant { --theme-accent: var(--grp-food-accent); --theme-accent-dark: var(--grp-food-accent-dark); --theme-tint: var(--grp-food-tint); }
.theme-plumbing, .theme-removals, .theme-electrician, .theme-cleaning { --theme-accent: var(--grp-trade-accent); --theme-accent-dark: var(--grp-trade-accent-dark); --theme-tint: var(--grp-trade-tint); }
.theme-accounting, .theme-consultancy, .theme-tutoring { --theme-accent: var(--grp-pro-accent); --theme-accent-dark: var(--grp-pro-accent-dark); --theme-tint: var(--grp-pro-tint); }
.example-page-body[class*="theme-"] .example-demo-banner strong { color: var(--theme-accent, var(--acid)); }
.example-page-body[class*="theme-"] .gate-label,
.example-page-body[class*="theme-"] .example-flag { background: var(--theme-tint, var(--acid)); color: var(--theme-accent-dark, var(--ink)); }
.example-page-body[class*="theme-"] .example-panel .intake-card,
.example-page-body[class*="theme-"] .example-panel .booking-card,
.example-page-body[class*="theme-"] .example-panel .menu-card { border-color: var(--theme-accent, var(--line)); }
.example-page-body[class*="theme-"] .example-hero .eyebrow { color: var(--theme-accent-dark, var(--muted)); }
.example-page-body[class*="theme-"] .example-panel h2 { color: var(--theme-accent-dark, var(--ink)); }
.example-page-body[class*="theme-"] button[type="submit"].button-primary { background: var(--theme-accent, var(--acid)); border-color: var(--theme-accent-dark, var(--ink)); color: var(--ink); }

/* Focus visibility on catalogue & example interactive elements */
.catalogue-nav-pills .cat-pill:focus-visible,
.example-card .button:focus-visible,
.example-page-header .back-link:focus-visible,
.example-page-footer a:focus-visible,
.demo-conversion-form input:focus-visible,
.demo-conversion-form select:focus-visible,
.demo-conversion-form textarea:focus-visible,
.demo-conversion-form button:focus-visible,
.catalogue-footer-note .button:focus-visible,
.homepage-catalogue-link:focus-visible {
  outline: 3px solid var(--purple);
  outline-offset: 3px;
}

/* Homepage catalogue hub link card */
.homepage-catalogue-link { display: flex; flex-direction: column; justify-content: space-between; min-height: 260px; padding: 42px 3vw; border-right: 1px solid rgba(23,24,22,.2); color: inherit; background: transparent; }
.homepage-catalogue-link b { font-family: Georgia, serif; font-size: 1.4rem; }
.homepage-catalogue-link p { margin: 10px 0 0; color: #4f572b; font-size: .84rem; line-height: 1.55; }
.homepage-catalogue-link span { margin-top: auto; font: 800 .65rem ui-monospace, monospace; text-transform: uppercase; }

@media (max-width: 980px) {
  .example-hero { grid-template-columns: 1fr; }
  .catalogue-grid { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
}

@media (max-width: 24.375rem) {
  .catalogue-hero, .catalogue-sector, .example-hero, .example-details-section, .example-page-footer, .example-page-header .header-inner, .example-demo-banner { padding-left: 4vw; padding-right: 4vw; }
  .catalogue-nav-pills { gap: 8px; }
  .catalogue-nav-pills .cat-pill { padding: 8px 12px; font-size: .76rem; }
  .example-hero .hero-content h1 { font-size: 1.9rem; }
  .details-grid, .gate-columns { grid-template-columns: 1fr; }
  .demo-conversion-form .form-row { grid-template-columns: 1fr; }
  .example-page-footer { flex-direction: column; align-items: flex-start; }
  .homepage-catalogue-link { border-right: 0; border-bottom: 1px solid rgba(23,24,22,.2); min-height: auto; padding: 30px 4vw; }
}

@media (prefers-reduced-motion: reduce) {
  .catalogue-nav-pills .cat-pill, .example-card, .template-card { transition: none; }
}
