/* TechScot sample websites: Basic (Ailsa Grant PT), Clean template (Maya Ross) and Custom (North Iron). */
@font-face { font-family: 'Archivo'; font-style: normal; font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; src: url(../fonts/archivo-latin.woff2) format('woff2'); }
@font-face { font-family: 'Archivo'; font-style: italic; font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; src: url(../fonts/archivo-italic-latin.woff2) format('woff2'); }

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
body.sample { margin: 0; font-family: 'Archivo', system-ui, sans-serif; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
.sample h1, .sample h2, .sample h3, .sample p, .sample blockquote, .sample figure { margin: 0; }
.sample a { color: inherit; }
.sample button { font: inherit; color: inherit; }
.wrap { width: min(1120px, 100% - 40px); margin-inline: auto; }

/* the bar that says it's a sample */
.demo-bar { position: sticky; top: 0; z-index: 50; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px 14px; padding: 9px 16px; background: #1c1b18; color: #f3ede2; font-family: 'Archivo', system-ui, sans-serif; font-size: 0.84rem; text-align: center; }
.demo-bar b { padding: 2px 9px; border-radius: 4px; background: #1f4a38; color: #f3ede2; font-size: 0.74rem; letter-spacing: 0.04em; text-transform: uppercase; }
.demo-bar a { font-weight: 700; text-decoration: none; }
.demo-bar a:hover { text-decoration: underline; }

/* booking demo widget (shared) */
.bk { display: grid; gap: 12px; padding: 22px; border-radius: 22px; }
.bk__title { font-size: 1.2rem; font-weight: 800; }
.bk__days, .bk__times { display: grid; gap: 8px; }
.bk__days { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.bk__times { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.bk__days button, .bk__times button { display: grid; justify-items: center; padding: 9px 4px; border-radius: 12px; cursor: pointer; font-size: 0.82rem; transition: background-color 0.2s, border-color 0.2s, color 0.2s; }
.bk__days b { font-size: 1.15rem; }
.bk__go { padding: 13px; border: 0; border-radius: 13px; font-weight: 800; cursor: pointer; }
.bk__go:disabled { opacity: 0.45; cursor: default; }
.bk__done { padding: 12px 14px; border-radius: 13px; font-size: 0.9rem; font-weight: 700; }
/* The TechScot credit: one small, quiet line in the footer bar (each sample sets its colour). */
.made-by { display: inline-flex; align-items: center; gap: 7px; margin-left: auto; color: inherit; font-size: 0.74rem; text-decoration: none; opacity: 0.75; transition: opacity 0.2s; }
.made-by:hover { opacity: 1; }
.made-by__mark { display: grid; place-items: center; width: 15px; height: 15px; border-radius: 3px; background: #1f4a38; }
.made-by__mark svg { width: 8px; height: 8px; fill: none; stroke: #f3ede2; stroke-width: 4; stroke-linecap: square; }
.has-reveal [data-in] { opacity: 0; transform: translateY(22px); transition: opacity 0.8s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1); }
.has-reveal [data-in].is-in { opacity: 1; transform: none; }

/* =================== BASIC: Ailsa Grant PT =================== */
.sample--basic { background: #fbf8f2; color: #1d2b22; }
.sample--basic .nav { display: flex; align-items: center; gap: 20px; padding: 22px 0; }
.sample--basic .logo { margin-right: auto; font-family: Georgia, 'Times New Roman', serif; font-size: 1.4rem; font-weight: 700; text-decoration: none; }
.sample--basic .logo small { display: block; margin-top: -4px; color: #5d7564; font-family: 'Archivo', sans-serif; font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; }
.sample--basic .nav a:not(.logo):not(.pill) { color: #4b5f52; font-weight: 600; text-decoration: none; }
.pill { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 22px; border-radius: 999px; background: #2f6b47; color: #fff !important; font-weight: 700; text-decoration: none; transition: transform 0.2s, background-color 0.2s; }
.pill:hover { transform: translateY(-2px); background: #255a3b; }
.pill--ghost { border: 1.5px solid #2f6b47; background: none; color: #2f6b47 !important; }
.pill--ghost:hover { background: rgba(47, 107, 71, 0.08); }
.b-hero { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 40px; align-items: center; padding: 50px 0 80px; }
.b-hero h1 { font-family: Georgia, 'Times New Roman', serif; font-size: clamp(2.8rem, 6.5vw, 5rem); font-weight: 400; line-height: 1; letter-spacing: -0.02em; }
.b-hero h1 em { color: #2f6b47; }
.b-hero p { max-width: 46ch; margin-top: 22px; color: #4b5f52; font-size: 1.12rem; }
.b-hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.b-hero__art { position: relative; aspect-ratio: 1; }
/* A flat green panel with an offset printed frame (it was a morphing gradient blob). */
.b-hero__blob { position: absolute; inset: 6% 10% 10% 6%; border-radius: 6px; background: #4f9a6f; display: grid; place-items: center; align-content: center; gap: 14px; color: #f4efe5; box-shadow: 22px 22px 0 -1px #f4efe5, 22px 22px 0 0 #24382c; }
.b-hero__bell { width: 50%; height: auto; opacity: 0.92; transform-origin: 50% 12%; }
@media (prefers-reduced-motion: no-preference) {
  .b-hero__bell { animation: bell-in 1.4s cubic-bezier(0.19, 1, 0.22, 1) 0.2s both, bell-sway 7s ease-in-out 1.6s infinite; }
  .b-hero__bell path { stroke-dasharray: 600; stroke-dashoffset: 600; animation: bell-draw 1.8s cubic-bezier(0.65, 0, 0.35, 1) 0.3s forwards; }
}
@keyframes bell-in { from { opacity: 0; transform: translateY(-18px); } }
@keyframes bell-sway { 50% { transform: rotate(2.5deg); } }
@keyframes bell-draw { to { stroke-dashoffset: 0; } }
.b-chip { position: absolute; padding: 10px 16px; border-radius: 16px; background: #fff; box-shadow: 0 20px 40px -20px rgba(29, 43, 34, 0.35); font-size: 0.88rem; font-weight: 700; }
.b-chip small { display: block; color: #6b8072; font-weight: 500; }
.b-chip--a { top: 10%; left: -4%; }
.b-chip--b { right: -2%; bottom: 16%; }
.b-section { padding: 80px 0; }
.b-section h2 { font-family: Georgia, 'Times New Roman', serif; font-size: clamp(2rem, 4vw, 3rem); font-weight: 400; }
.b-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 34px; }
.b-card { display: grid; gap: 8px; padding: 26px; border: 1px solid #e4ded1; border-radius: 22px; background: #fff; }
.b-card h3 { font-size: 1.15rem; }
.b-card p { color: #5d7564; font-size: 0.95rem; }
.b-card b { margin-top: 8px; font-size: 1.6rem; }
.b-card b small { color: #6b8072; font-size: 0.85rem; font-weight: 500; }
.b-book { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: center; padding: 40px; border-radius: 30px; background: #1d2b22; color: #f2efe6; }
.b-book h2 { color: #fff; }
.b-book p { margin-top: 14px; color: #b8c7bc; }
.sample--basic .bk { background: #fff; color: #1d2b22; }
.sample--basic .bk button:not(.bk__go) { border: 1px solid #e4ded1; background: #fbf8f2; }
.sample--basic .bk button.is-on { border-color: #2f6b47; background: #e2efe5; color: #1d4a30; }
.sample--basic .bk__go { background: #2f6b47; color: #fff; }
.sample--basic .bk__done { background: #e2efe5; color: #1d4a30; }
.b-quotes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 30px; }
.b-quotes blockquote { padding: 28px; border-radius: 22px; background: #fff; font-family: Georgia, 'Times New Roman', serif; font-size: 1.2rem; }
.b-quotes cite { display: block; margin-top: 14px; color: #6b8072; font-family: 'Archivo', sans-serif; font-size: 0.85rem; font-style: normal; }
.b-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding: 30px 0 40px; border-top: 1px solid #e4ded1; color: #6b8072; font-size: 0.9rem; }

/* =================== CLEAN template: Maya Ross Coaching =================== */
.sample--clean { background: #f6f3ee; color: #22201d; }
.sample--clean .nav { display: flex; align-items: center; gap: 26px; padding: 26px 0; }
.c-logo { margin-right: auto; font-family: Georgia, 'Times New Roman', serif; font-size: 1.35rem; font-style: italic; text-decoration: none; }
.sample--clean .nav a:not(.c-logo):not(.c-btn) { color: #6a645b; font-size: 0.95rem; text-decoration: none; }
.c-btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 22px; border-radius: 4px; background: #22201d; color: #f6f3ee !important; font-size: 0.92rem; font-weight: 600; letter-spacing: 0.02em; text-decoration: none; transition: background-color 0.2s; }
.c-btn:hover { background: #b0573f; }
.c-btn--line { border: 1px solid #22201d; background: none; color: #22201d !important; }
.c-btn--line:hover { background: #22201d; color: #f6f3ee !important; }
.c-hero { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: 50px; align-items: end; padding: 60px 0 90px; border-bottom: 1px solid #ddd6cb; }
.c-kicker { font-size: 0.78rem; letter-spacing: 0.2em; text-transform: uppercase; color: #b0573f; }
.c-hero h1 { margin-top: 18px; font-family: Georgia, 'Times New Roman', serif; font-size: clamp(3rem, 7vw, 6rem); font-weight: 400; line-height: 0.98; letter-spacing: -0.03em; }
.c-hero h1 i { color: #7c8c6e; }
.c-hero p { color: #6a645b; font-size: 1.08rem; }
.c-hero__side { display: grid; gap: 22px; }
.c-hero__ctas { display: flex; flex-wrap: wrap; gap: 10px; }
.c-section { padding: 90px 0; border-bottom: 1px solid #ddd6cb; }
.c-section h2 { font-family: Georgia, 'Times New Roman', serif; font-size: clamp(2.2rem, 4.5vw, 3.6rem); font-weight: 400; line-height: 1.05; letter-spacing: -0.02em; }
.c-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin-top: 40px; border-top: 1px solid #22201d; }
.c-steps div { padding: 26px 26px 0 0; }
.c-steps span { font-family: Georgia, serif; font-size: 2.6rem; font-style: italic; color: #b0573f; }
.c-steps h3 { margin-top: 10px; font-size: 1.15rem; }
.c-steps p { margin-top: 8px; color: #6a645b; }
.c-list { margin-top: 36px; border-top: 1px solid #ddd6cb; }
.c-row { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 2fr) auto; gap: 20px; align-items: baseline; padding: 24px 0; border-bottom: 1px solid #ddd6cb; transition: padding 0.3s; }
.c-row:hover { padding-left: 12px; }
.c-row h3 { font-family: Georgia, serif; font-size: 1.6rem; font-weight: 400; }
.c-row p { color: #6a645b; }
.c-row b { font-size: 1.1rem; }
.c-book { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 50px; align-items: center; }
.c-book p { margin-top: 16px; color: #6a645b; }
.sample--clean .bk { border: 1px solid #ddd6cb; background: #fffdf9; border-radius: 6px; }
.sample--clean .bk button:not(.bk__go) { border: 1px solid #ddd6cb; border-radius: 4px; background: #fff; }
.sample--clean .bk button.is-on { border-color: #22201d; background: #22201d; color: #f6f3ee; }
.sample--clean .bk__go { border-radius: 4px; background: #b0573f; color: #fff; }
.sample--clean .bk__done { border-radius: 4px; background: #eef0e8; color: #4d5b40; }
.c-quote { max-width: 880px; font-family: Georgia, serif; font-size: clamp(1.6rem, 3.4vw, 2.6rem); font-style: italic; line-height: 1.25; }
.c-quote cite { display: block; margin-top: 20px; color: #6a645b; font-family: 'Archivo', sans-serif; font-size: 0.9rem; font-style: normal; }
.c-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding: 34px 0 44px; color: #6a645b; font-size: 0.9rem; }

/* =================== CUSTOM: North Iron =================== */
.sample--custom { background: #0b0a09; color: #f1ece4; cursor: default; }
.n-grain { position: fixed; inset: 0; z-index: 40; pointer-events: none; opacity: 0.05; background-image: radial-gradient(rgba(255, 255, 255, 0.8) 0.6px, transparent 0.8px); background-size: 3px 3px; }
.n-page { position: relative; }
.n-nav { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 24px 0; }
.n-logo { font-size: 1.1rem; font-stretch: 125%; font-weight: 900; letter-spacing: 0.08em; text-decoration: none; }
.n-logo span { color: #ff6a1a; }
.n-cta { position: relative; display: inline-flex; align-items: center; gap: 10px; padding: 13px 24px; overflow: hidden; border: 1px solid rgba(255, 255, 255, 0.3); border-radius: 999px; background: rgba(11, 10, 9, 0.35); font-size: 0.86rem; font-weight: 800; letter-spacing: 0.12em; text-decoration: none; text-transform: uppercase; transition: border-color 0.3s, color 0.3s; isolation: isolate; }
.n-cta::before { content: ''; position: absolute; inset: 0; z-index: -1; background: #ff6a1a; transform: translateY(101%); transition: transform 0.45s cubic-bezier(0.2, 0.8, 0.2, 1); }
.n-cta:hover { border-color: transparent; color: #140c06; }
.n-cta:hover::before, .n-cta--solid::before { transform: none; }
.n-cta--solid { margin-top: 22px; border-color: transparent; color: #140c06; }

/* the 3D hero: pinned while the page scrolls through it (--p runs 0 -> 1) */
.n-lift { position: relative; height: 460vh; --p: 0; }
.n-lift__pin { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.n-lift__stage, .n-lift__stage canvas { position: absolute; inset: 0; display: block; width: 100%; height: 100%; }
.n-lift__stage { opacity: 0; transition: opacity 1.2s ease; }
.n-lift.is-3d .n-lift__stage { opacity: 1; }
.n-lift__shade { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(to right, rgba(11, 10, 9, 0.72), rgba(11, 10, 9, 0.3) 42%, transparent 62%), radial-gradient(130% 95% at 55% 50%, transparent 58%, rgba(11, 10, 9, 0.78)), linear-gradient(to bottom, rgba(11, 10, 9, 0.5), transparent 26%, transparent 80%, #0b0a09); }
.n-lift__ui { position: relative; z-index: 2; height: 100%; padding-top: var(--bar, 0px); }
.n-hero { padding-top: 3vh; opacity: clamp(0, calc(1 - var(--p) * 9), 1); }
.n-lift.is-past-hero .n-hero { visibility: hidden; }
.n-tag { display: inline-flex; gap: 10px; color: #b8aea1; font-size: 0.82rem; letter-spacing: 0.3em; text-transform: uppercase; }
.n-mega { margin-top: 14px; font-size: clamp(4rem, 14.5vw, 12.5rem); font-stretch: 125%; font-weight: 900; line-height: 0.84; letter-spacing: -0.04em; perspective: 900px; }
.n-mega .ln { display: block; }
.n-mega .ln > span { display: inline-block; transform-style: preserve-3d; transform-origin: 50% 100%; animation: n-in 1.3s cubic-bezier(0.2, 0.8, 0.2, 1) both; }
.n-mega .ln:nth-child(2) > span { animation-delay: 0.16s; }
.n-mega i { display: inline-block; font-style: normal; --q: clamp(0, calc(var(--p) * 10 - var(--i) * 0.09), 1); transform: translate3d(0, calc(var(--q) * -40px), calc(var(--q) * 460px)) rotateX(calc(var(--q) * -80deg)); opacity: calc(1 - var(--q) * 1.4); }
.n-mega .ln:nth-child(2) i { -webkit-text-stroke: 2px #f1ece4; color: transparent; }
@keyframes n-in { from { opacity: 0; transform: rotateX(-88deg) translateY(30%); } }
.n-hero__row { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 24px; margin-top: 30px; }
.n-hero__row p { max-width: 42ch; color: #d7cfc2; font-size: 1.1rem; animation: fadeup 1s ease 0.6s both; }
@keyframes fadeup { from { opacity: 0; transform: translateY(20px); } }
.n-steps { position: absolute; bottom: 11vh; left: 0; width: min(540px, 100%); perspective: 900px; }
.n-step { position: absolute; bottom: 0; left: 0; width: 100%; opacity: 0; pointer-events: none; transform: translateY(34px) rotateX(-28deg); transform-origin: 0 100%; transition: opacity 0.5s ease, transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1); }
.n-step.is-on { opacity: 1; pointer-events: auto; transform: none; }
.n-step__num { color: #ff6a1a; font-size: 0.78rem; font-weight: 800; letter-spacing: 0.3em; text-transform: uppercase; }
.n-step h2 { margin-top: 10px !important; font-size: clamp(3rem, 7.4vw, 6.4rem); font-stretch: 122%; font-weight: 900; line-height: 0.88; letter-spacing: -0.035em; }
.n-step h2 + p { max-width: 36ch; margin-top: 16px !important; color: #d7cfc2; font-size: 1.05rem; }
.n-kg { position: absolute; right: 0; bottom: 11vh; display: grid; justify-items: end; opacity: clamp(0, calc((var(--p) - 0.17) * 12), 1); perspective: 600px; }
.n-kg b { display: block; font-size: clamp(4rem, 11vw, 9.5rem); font-stretch: 125%; font-weight: 900; line-height: 0.82; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; transform-origin: 50% 100%; }
.n-kg b.bump { animation: kg 0.55s cubic-bezier(0.2, 1.5, 0.4, 1); }
@keyframes kg { from { color: #ff6a1a; opacity: 0.4; transform: translateY(16%) rotateX(-70deg); } }
.n-kg span { margin-top: 10px; color: #b8aea1; font-size: 0.76rem; font-weight: 700; letter-spacing: 0.3em; text-transform: uppercase; }
.n-hint { position: absolute; bottom: 3.5vh; left: 50%; display: grid; justify-items: center; gap: 10px; color: #b8aea1; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.3em; text-transform: uppercase; opacity: clamp(0, calc(1 - var(--p) * 14), 1); transform: translateX(-50%); }
.n-hint i { width: 1px; height: 40px; overflow: hidden; background: rgba(241, 236, 228, 0.25); }
.n-hint i::after { content: ''; display: block; width: 100%; height: 40%; background: #ff6a1a; animation: hint 1.8s cubic-bezier(0.6, 0, 0.3, 1) infinite; }
@keyframes hint { from { transform: translateY(-100%); } to { transform: translateY(260%); } }
/* no WebGL or less motion: an ordinary hero with the three steps below it */
.n-lift.is-flat { height: auto; }
.n-lift.is-flat .n-lift__pin { position: relative; height: auto; overflow: visible; }
.n-lift.is-flat .n-hero { min-height: 80vh; opacity: 1; visibility: visible; }
.n-lift.is-flat .n-mega i { transform: none; opacity: 1; }
.n-lift.is-flat .n-steps { position: static; display: grid; gap: 70px; width: auto; padding: 40px 0 100px; }
.n-lift.is-flat .n-step { position: static; opacity: 1; pointer-events: auto; transform: none; }
.n-lift.is-flat .n-kg, .n-lift.is-flat .n-hint, .n-lift.is-flat .n-lift__stage { display: none; }

/* crossing tapes */
.n-tapes { position: relative; height: clamp(230px, 26vw, 360px); margin-top: -6vh; overflow: hidden; perspective: 1100px; }
.n-tape { position: absolute; top: 50%; right: -12%; left: -12%; padding: 16px 0; box-shadow: 0 24px 40px -24px rgba(0, 0, 0, 0.9); }
.n-tape--a { z-index: 2; background: #ff6a1a; color: #0b0a09; transform: translateY(-50%) rotateZ(-6deg) rotateX(24deg); }
.n-tape--b { background: #f1ece4; color: #0b0a09; transform: translateY(-50%) rotateZ(5deg) rotateX(-20deg); }
.n-tape div { display: flex; width: max-content; transform: translate3d(calc(var(--x, 0) * 1px), 0, 0); will-change: transform; }
.n-tape span { padding-right: 46px; font-size: clamp(1.6rem, 4.2vw, 3.3rem); font-stretch: 125%; font-weight: 900; letter-spacing: -0.01em; line-height: 1; white-space: nowrap; }
.n-tape span::before { content: ''; display: inline-block; width: 0.28em; height: 0.28em; margin-right: 46px; background: currentColor; vertical-align: 0.2em; transform: rotate(45deg); }

.n-section { padding: 120px 0; }
.n-h2 { font-size: clamp(2.4rem, 6vw, 5rem); font-stretch: 115%; font-weight: 900; line-height: 0.95; letter-spacing: -0.03em; }
.n-h2 em { color: #ff6a1a; font-style: normal; }
/* cards stand up out of the floor as they scroll in, then tilt to the pointer */
.n-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 50px; perspective: 1400px; }
.n-card { --k: var(--rise, 1); position: relative; display: grid; align-content: end; gap: 10px; min-height: 360px; padding: 26px; overflow: hidden; border: 1px solid rgba(255, 255, 255, 0.14); border-top: 3px solid #ff6a1a; border-radius: 22px; background: #151311; opacity: clamp(0, calc(var(--k) * 1.6 - 0.2), 1); transform: translate3d(0, calc((1 - var(--k)) * 140px), calc((1 - var(--k)) * -260px)) rotateX(calc((1 - var(--k)) * 68deg + var(--rx, 0deg))) rotateY(var(--ry, 0deg)); transform-origin: 50% 100%; transform-style: preserve-3d; transition: border-color 0.3s; }
.n-card:hover { border-color: rgba(255, 255, 255, 0.35); border-top-color: #ff6a1a; }
.n-card__num { position: absolute; top: 14px; right: 20px; font-size: 6rem; font-stretch: 125%; font-weight: 900; line-height: 1; -webkit-text-stroke: 1px rgba(255, 255, 255, 0.3); color: transparent; transform: translateZ(50px); }
.n-card h3 { font-size: 1.6rem; font-stretch: 110%; font-weight: 900; transform: translateZ(34px); }
.n-card p { color: #cfc6b8; transform: translateZ(22px); }
.n-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 60px; }
.n-stats div { padding: 24px 0; border-top: 1px solid rgba(255, 255, 255, 0.2); }
.n-stats b { display: block; font-size: clamp(2.8rem, 6vw, 4.6rem); font-stretch: 120%; font-weight: 900; line-height: 1; }
.n-stats span { color: #b8aea1; }
.n-book { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr); gap: 50px; align-items: center; perspective: 1200px; }
.n-book p { margin-top: 18px; color: #cfc6b8; font-size: 1.05rem; }
.sample--custom .bk { position: relative; border: 1px solid rgba(255, 255, 255, 0.18); background: #151311; box-shadow: 0 40px 70px -30px rgba(0, 0, 0, 0.9); transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform 0.15s linear; }
.sample--custom .bk button:not(.bk__go) { border: 1px solid rgba(255, 255, 255, 0.16); background: rgba(255, 255, 255, 0.04); }
.sample--custom .bk button.is-on { border-color: #ff6a1a; background: rgba(255, 106, 26, 0.18); color: #fff; }
.sample--custom .bk__go { background: #ff6a1a; color: #140c06; letter-spacing: 0.1em; text-transform: uppercase; }
.sample--custom .bk__done { background: rgba(255, 106, 26, 0.14); color: #ffb27a; }
.n-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding: 40px 0 50px; border-top: 1px solid rgba(255, 255, 255, 0.14); color: #b8aea1; font-size: 0.9rem; }

@media (max-width: 860px) {
  .b-hero, .b-book, .c-hero, .c-book, .n-book { grid-template-columns: 1fr; }
  .b-cards, .b-quotes, .c-steps, .n-cards, .n-stats { grid-template-columns: 1fr; }
  .c-row { grid-template-columns: 1fr; gap: 6px; }
  .sample--basic .nav a:not(.logo):not(.pill), .sample--clean .nav a:not(.c-logo):not(.c-btn) { display: none; }
  .b-book { padding: 26px; }
  .b-hero__art { max-width: 360px; }
  .n-card { min-height: 260px; }
  .n-steps { bottom: 9vh; }
  .n-kg { top: calc(var(--bar, 0px) + 96px); bottom: auto; }
  .n-nav .n-cta { padding: 10px 16px; font-size: 0.72rem; white-space: nowrap; }
  .n-kg b { font-size: clamp(3.2rem, 16vw, 5rem); }
  .n-tape--a { transform: translateY(-50%) rotateZ(-8deg) rotateX(18deg); }
  .n-tape--b { transform: translateY(-50%) rotateZ(7deg) rotateX(-14deg); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  [data-in] { opacity: 1; transform: none; }
}

/* Sample footers: about, three columns, then a thin bar (legal, back to top, credit). */
.s-foot { display: block; padding: 56px 0 28px; }
.s-foot__cols { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr)); gap: 36px; padding-bottom: 40px; }
.s-foot__about { display: grid; align-content: start; gap: 10px; max-width: 320px; }
.s-foot__name { font-size: 1.2rem; letter-spacing: 0.01em; }
.s-foot__about p { margin: 0; opacity: 0.8; line-height: 1.6; }
.s-foot__col { display: grid; align-content: start; gap: 9px; }
.s-foot__col h2 { margin: 0 0 4px; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; opacity: 0.6; }
.s-foot__col a, .s-foot__col span { color: inherit; font-size: 0.9rem; text-decoration: none; opacity: 0.85; }
.s-foot__col a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 3px; }
.s-foot__bar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; padding-top: 18px; border-top: 1px solid currentColor; border-top-color: color-mix(in srgb, currentColor 18%, transparent); font-size: 0.78rem; }
.s-foot__bar > span { opacity: 0.7; }
.s-foot__mini { color: inherit; opacity: 0.7; text-decoration: none; }
.s-foot__mini:hover { opacity: 1; }
.sample--custom .s-foot__name { font-weight: 900; letter-spacing: 0.06em; }
@media (max-width: 860px) {
  .s-foot__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .s-foot__about { grid-column: 1 / -1; max-width: none; }
}
@media (max-width: 520px) {
  .s-foot__cols { grid-template-columns: 1fr; gap: 28px; }
  .s-foot__bar { flex-direction: column; align-items: flex-start; }
  .s-foot__bar .made-by { margin-left: 0; }
}
