/* Brixel Group — site styles
   White 60 · Sky blue 25 · Ink 10 · Orange 5. Ink is the only text colour,
   except white text on the dark hero and the gradient. */

@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400; font-display: swap; src: url('fonts/inter-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 500; font-display: swap; src: url('fonts/inter-latin-500-normal.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 600; font-display: swap; src: url('fonts/inter-latin-600-normal.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 700; font-display: swap; src: url('fonts/inter-latin-700-normal.woff2') format('woff2'); }
@font-face { font-family: 'Inter Tight'; font-style: normal; font-weight: 700; font-display: swap; src: url('fonts/inter-tight-latin-700-normal.woff2') format('woff2'); }
@font-face { font-family: 'Inter Tight'; font-style: normal; font-weight: 800; font-display: swap; src: url('fonts/inter-tight-latin-800-normal.woff2') format('woff2'); }

:root {
  --white: #FFFFFF;
  --sky: #38A3EE;
  --sky-soft: #EEF7FE;
  --ink: #0B1B2B;
  --ink-80: rgba(11, 27, 43, .8);
  --ink-65: rgba(11, 27, 43, .68);
  --line: rgba(11, 27, 43, .12);
  --orange: #FF6123;
  --gradient: linear-gradient(101deg, #0B1B2B 0%, #0B1B2B 58%, #4A2E2C 74%, #B44A26 88%, #FF6123 100%);
  --head: 'Inter Tight', 'Inter', system-ui, sans-serif;
  --text: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --radius: 8px;
  --wrap: 1160px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; -webkit-text-size-adjust: 100%; }
body { font-family: var(--text); font-size: 16px; line-height: 1.5; color: var(--ink); background: var(--white); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--ink); }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 32px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; background: var(--sky); color: var(--ink); padding: 10px 16px; border-radius: 6px; font-weight: 700; z-index: 200; }
.skip:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 3px; }

/* ---------- Type ---------- */
.label { font-family: var(--text); font-size: 11px; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; color: var(--ink); line-height: 1.4; }
.h1, .h2, .h3 { font-family: var(--head); font-weight: 800; color: var(--ink); }
.h1 { font-size: clamp(36px, 4.6vw, 60px); line-height: 1.04; letter-spacing: -1px; }
.h2 { font-size: clamp(30px, 3.4vw, 44px); line-height: 1.08; letter-spacing: -1px; }
.h3 { font-size: 20px; line-height: 1.25; letter-spacing: -0.5px; }
.tick { position: relative; padding-left: 20px; }
.tick::before { content: ''; position: absolute; left: 0; top: .12em; bottom: .12em; width: 4px; border-radius: 2px; background: linear-gradient(180deg, var(--ink), var(--orange)); }
.lead { font-size: 18px; line-height: 1.55; color: var(--ink-80); max-width: 620px; }
.muted { color: var(--ink-65); }
.small { font-size: 13px; line-height: 1.55; }
.sec-head { margin-bottom: 44px; }
.sec-head .label { margin-bottom: 14px; }
.sec-head .lead { margin-top: 16px; padding-left: 20px; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; font-family: var(--text); font-size: 15px; font-weight: 700; line-height: 1.2; text-decoration: none; padding: 15px 24px; border-radius: 6px; border: 2px solid transparent; cursor: pointer; transition: background .15s, border-color .15s, transform .15s; color: var(--ink); }
.btn-sky { background: var(--sky); border-color: var(--sky); }
.btn-sky:hover { background: #5AB3F1; border-color: #5AB3F1; transform: translateY(-1px); }
.btn-line { background: transparent; border-color: var(--ink); }
.btn-line:hover { background: var(--ink); color: var(--white); }
.btn-ghost { background: transparent; border-color: rgba(255,255,255,.55); color: var(--white); }
.btn-ghost:hover { border-color: var(--white); }
.btn .arrow { font-size: 18px; line-height: 1; }

/* ---------- Nav ---------- */
.nav { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.97); border-bottom: 1px solid var(--line); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.nav-in { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.nav-logo img { height: 30px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 28px; list-style: none; }
.nav-links a { text-decoration: none; font-size: 14px; font-weight: 500; color: var(--ink); }
.nav-links a:hover { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 2px; text-decoration-color: var(--sky); }
.nav-links .btn { padding: 11px 18px; font-size: 14px; }
.nav-links .btn:hover { text-decoration: none; }
.menu-btn { display: none; background: none; border: 0; padding: 10px; cursor: pointer; }
.menu-btn span { display: block; width: 24px; height: 2px; background: var(--ink); margin: 5px 0; border-radius: 2px; }
.mobile-menu { display: none; position: fixed; inset: 0; z-index: 150; background: var(--white); flex-direction: column; justify-content: center; padding: 32px; gap: 8px; }
.mobile-menu.open { display: flex; }
.mobile-menu a { font-family: var(--head); font-weight: 800; font-size: 30px; letter-spacing: -0.5px; text-decoration: none; color: var(--ink); padding: 10px 0; border-bottom: 1px solid var(--line); }
.mobile-menu .btn { margin-top: 24px; font-family: var(--text); font-size: 16px; border-bottom: 0; }
.mobile-close { position: absolute; top: 18px; right: 22px; background: none; border: 0; font-size: 30px; line-height: 1; cursor: pointer; color: var(--ink); }

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--ink); color: var(--white); overflow: hidden; }
.hero-photo { position: absolute; inset: 0; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 78% 30%; }
.hero::before { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(11,27,43,.96) 0%, rgba(11,27,43,.9) 34%, rgba(11,27,43,.35) 56%, rgba(11,27,43,0) 70%); }
.hero::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 5px; z-index: 2; background: var(--gradient); }
.hero-in { position: relative; z-index: 2; min-height: clamp(560px, 78vh, 720px); display: flex; align-items: center; padding-top: 72px; padding-bottom: 80px; }
.hero-copy { max-width: 560px; }
.hero .label { color: var(--white); opacity: .8; margin-bottom: 20px; }
.hero .h1 { color: var(--white); }
.hero-sub { font-size: 19px; line-height: 1.5; color: rgba(255,255,255,.82); margin: 22px 0 32px; max-width: 500px; }
.hero-btns { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-note { margin-top: 18px; font-size: 14px; color: rgba(255,255,255,.72); }

/* ---------- Sky band ---------- */
.band-sky { background: var(--sky); color: var(--ink); }
.idea { padding-top: 64px; padding-bottom: 64px; display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.idea .h2 { font-size: clamp(32px, 3.8vw, 50px); }
.idea p { font-size: 18px; line-height: 1.55; }
.idea-list { list-style: none; margin-top: 18px; }
.idea-list li { padding: 12px 0; border-top: 1px solid rgba(11,27,43,.22); font-weight: 600; }

/* ---------- Sections ---------- */
.sec { padding: 104px 0; }
.sec-soft { background: var(--sky-soft); }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.card .h3 { margin-bottom: 10px; }
.card p { color: var(--ink-80); }

/* What we do */
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.front { padding: 34px; }
.front .label { margin-bottom: 16px; color: var(--ink); }
.front .h3 { font-size: 26px; letter-spacing: -0.5px; margin-bottom: 12px; }
.front p + p { margin-top: 12px; }
.front-mark { display: inline-block; width: 28px; height: 4px; border-radius: 2px; background: var(--sky); margin-bottom: 20px; }
.partners { margin-top: 16px; display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; border-left: 4px solid var(--orange); }
.partners p { color: var(--ink); }

/* How it works */
.how { display: grid; grid-template-columns: .95fr 1.05fr; gap: 64px; align-items: start; }
.how-photo { position: sticky; top: 104px; }
.how-photo img { width: 100%; border-radius: var(--radius); aspect-ratio: 1 / 1; object-fit: cover; object-position: 40% 40%; }
.how-photo figcaption { margin-top: 10px; }
.stage { margin-bottom: 28px; }
.stage:last-child { margin-bottom: 0; }
.stage > .label { margin-bottom: 8px; display: flex; align-items: center; gap: 12px; }
.stage > .label::after { content: ''; flex: 1; height: 1px; background: var(--line); }
.steps { list-style: none; }
.step { display: grid; grid-template-columns: 56px 1fr; gap: 16px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.step:last-child { border-bottom: 0; }
.step-n { width: 44px; height: 44px; border-radius: 50%; background: var(--sky); color: var(--ink); font-family: var(--head); font-weight: 800; font-size: 16px; display: flex; align-items: center; justify-content: center; }
.step-n.first { background: var(--ink); color: var(--white); }
.step .h3 { margin-bottom: 4px; }
.step p { color: var(--ink-80); }
.step .tag { display: inline-block; margin-left: 8px; font-family: var(--text); font-size: 11px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; padding: 3px 8px; border-radius: 4px; background: var(--sky-soft); vertical-align: 3px; }

/* Stories */
.stories-top { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: end; margin-bottom: 40px; }
.stories-photo img { width: 100%; border-radius: var(--radius); aspect-ratio: 4 / 3; object-fit: cover; }
.stories-photo figcaption { margin-top: 10px; }
.quotes { columns: 3; column-gap: 16px; }
.quote { break-inside: avoid; margin-bottom: 16px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.quote blockquote { font-size: 16px; line-height: 1.6; color: var(--ink); }
.quote figcaption { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line); font-weight: 700; font-size: 15px; }
.quote .loc { font-weight: 500; color: var(--ink-65); }
.quote .open { display: block; font-family: var(--head); font-weight: 800; font-size: 40px; line-height: .6; height: 18px; color: var(--sky); }
.disclaim { margin-top: 8px; }

/* James */
.james { display: grid; grid-template-columns: .8fr 1.2fr; gap: 64px; align-items: center; }
.james-photo img { width: 100%; max-width: 440px; border-radius: var(--radius); aspect-ratio: 4 / 5; object-fit: cover; }
.james p { margin-top: 16px; color: var(--ink-80); font-size: 17px; max-width: 600px; }
.mission { margin-top: 28px; padding: 22px 24px; background: var(--sky-soft); border-radius: var(--radius); border-left: 4px solid var(--sky); font-family: var(--head); font-weight: 700; font-size: 21px; line-height: 1.3; letter-spacing: -0.5px; color: var(--ink); max-width: 600px; }
.james-stats { display: flex; gap: 40px; margin-top: 28px; }
.james-stats b { display: block; font-family: var(--head); font-weight: 800; font-size: 40px; letter-spacing: -1px; line-height: 1; }
.james-stats span { display: block; margin-top: 8px; font-size: 14px; color: var(--ink-65); }

/* FAQ */
.faq { max-width: 860px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-of-type { border-top: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 48px 22px 0; position: relative; font-family: var(--head); font-weight: 800; font-size: 20px; letter-spacing: -0.5px; line-height: 1.3; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ''; position: absolute; right: 8px; top: 50%; width: 12px; height: 12px; margin-top: -9px; border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: rotate(45deg); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -3px; }
.faq details p { padding: 0 48px 24px 0; color: var(--ink-80); }

/* Book */
.book { padding: 96px 0; }
.book-in { display: grid; grid-template-columns: .85fr 1.15fr; gap: 56px; align-items: start; }
.book .h2 { margin-top: 14px; }
.book p { font-size: 18px; margin-top: 18px; }
.book-list { list-style: none; margin-top: 26px; }
.book-list li { padding: 12px 0 12px 30px; border-top: 1px solid rgba(11,27,43,.22); position: relative; font-weight: 600; }
.book-list li::before { content: ''; position: absolute; left: 2px; top: 19px; width: 13px; height: 7px; border-left: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: rotate(-45deg); }
.cal { background: var(--white); border-radius: 10px; overflow: hidden; min-height: 700px; position: relative; }
.cal .calendly-inline-widget { min-width: 300px; height: 700px; }
.cal-fallback { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding: 32px; text-align: center; }
.cal.loaded .cal-fallback { display: none; }

/* Footer */
.foot { padding: 56px 0 40px; border-top: 1px solid var(--line); }
.foot-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 32px; flex-wrap: wrap; padding-bottom: 28px; border-bottom: 1px solid var(--line); }
.foot-top img { height: 28px; width: auto; }
.foot-contact { display: flex; gap: 28px; flex-wrap: wrap; font-size: 15px; }
.foot-contact a { text-decoration: none; font-weight: 600; }
.foot-contact a:hover { text-decoration: underline; }
.foot-legal { margin-top: 24px; max-width: 920px; }
.foot-legal .label { margin-bottom: 8px; }
.foot-legal p { font-size: 13px; line-height: 1.6; color: var(--ink-65); margin-bottom: 10px; }
.foot-base { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-top: 18px; font-size: 13px; color: var(--ink-65); }
.foot-base a { color: var(--ink-65); }

/* Legal page */
.page-head { padding: 72px 0 40px; border-bottom: 1px solid var(--line); }
.page-head .h1 { font-size: clamp(34px, 4vw, 48px); margin-top: 12px; }
.meta { display: flex; flex-wrap: wrap; gap: 6px 22px; margin-top: 18px; font-size: 14px; color: var(--ink-65); }
.meta b { color: var(--ink); font-weight: 600; }
.legal-doc { max-width: 780px; padding: 48px 0 96px; }
.legal-doc h2 { font-family: var(--head); font-weight: 800; font-size: 22px; letter-spacing: -0.5px; margin: 40px 0 12px; }
.legal-doc h3 { font-size: 11px; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; margin: 22px 0 8px; }
.legal-doc p, .legal-doc li { color: var(--ink-80); margin-bottom: 10px; }
.legal-doc ul { margin: 0 0 14px 20px; }
.legal-doc table { width: 100%; border-collapse: collapse; margin: 12px 0 22px; font-size: 15px; }
.legal-doc td { padding: 10px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.legal-doc td:first-child { font-weight: 600; width: 36%; background: var(--sky-soft); }
.legal-doc .warn { background: var(--sky-soft); border-left: 4px solid var(--sky); padding: 16px 20px; border-radius: 0 6px 6px 0; margin: 20px 0; }
.legal-doc .foot-note { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 13px; color: var(--ink-65); }

/* Reveal */
.js .rv { opacity: 0; transform: translateY(12px); transition: opacity .5s ease, transform .5s ease; }
.js .rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .js .rv { opacity: 1; transform: none; transition: none; } }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .nav-links { display: none; }
  .menu-btn { display: block; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .idea, .how, .stories-top, .james, .book-in { grid-template-columns: 1fr; gap: 40px; }
  .how-photo { position: static; }
  .quotes { columns: 2; }
  .sec { padding: 80px 0; }
}
@media (max-width: 720px) {
  .wrap { padding: 0 20px; }
  .hero-photo { position: relative; height: 300px; }
  .hero-photo img { object-position: 74% 25%; }
  .hero::before { top: 0; height: 300px; background: linear-gradient(180deg, rgba(11,27,43,0) 55%, rgba(11,27,43,1) 100%); }
  .hero-in { min-height: 0; padding-top: 4px; padding-bottom: 56px; }
  .hero-sub { font-size: 17px; }
  .btn { width: 100%; }
  .cards, .two, .quotes { grid-template-columns: 1fr; columns: 1; }
  .partners { grid-template-columns: 1fr; }
  .sec { padding: 64px 0; }
  .idea { padding-top: 52px; padding-bottom: 52px; }
  .step { grid-template-columns: 48px 1fr; }
  .james-stats { gap: 28px; }
  .faq summary { font-size: 18px; }
  .cal, .cal .calendly-inline-widget { min-height: 760px; height: 760px; }
  .book { padding: 64px 0; }
}
