/* Nodum consultancy site. Plain CSS, no build step. */

:root {
  --paper: #FBF9F4;
  --panel: #F4EFE6;
  --white: #FFFFFF;
  --ink: #1C1A17;
  --stone: #6B645A;
  --line: #E6DFD3;
  --line-strong: #DAD3C6;
  --clay: #BE4A2E;
  --clay-deep: #9E3B23;
  --clay-wash: #F6E6DE;
  --clay-glow: rgba(190, 74, 46, .14);

  --serif: "Newsreader", Georgia, serif;
  --sans: "Hanken Grotesk", system-ui, sans-serif;

  --wrap: 1160px;
  --gutter: clamp(16px, 4vw, 40px);
  --section: clamp(80px, 10vw, 136px);
  --r-xl: 24px;
  --r-lg: 18px;
  --r-md: 12px;
  --ease: cubic-bezier(.22, 1, .36, 1);

  /* Layered, warm-tinted shadows: base, raised, floating */
  --sh-1: 0 1px 2px rgba(60, 40, 20, .05), 0 2px 6px -2px rgba(60, 40, 20, .06);
  --sh-2: 0 1px 2px rgba(60, 40, 20, .05), 0 10px 28px -12px rgba(110, 60, 30, .20);
  --sh-3: 0 2px 4px rgba(60, 40, 20, .06), 0 24px 48px -18px rgba(110, 55, 25, .32);
  --sh-cta: 0 1px 2px rgba(120, 40, 20, .25), 0 12px 28px -10px rgba(190, 74, 46, .55);

  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.025em;
  margin: 0;
  text-wrap: balance;
}

p { margin: 0; text-wrap: pretty; }
a { color: inherit; }

:focus-visible { outline: 2px solid var(--clay); outline-offset: 3px; border-radius: 6px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

.skip {
  position: absolute; left: -9999px; top: 8px;
  background: var(--ink); color: var(--paper); padding: 8px 14px; border-radius: 8px; z-index: 100;
}
.skip:focus { left: 8px; }

/* Buttons */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 54px; padding: 0 26px;
  border-radius: 14px; border: 1px solid transparent;
  font: 600 16px/1 var(--sans);
  text-decoration: none; cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-color .2s, border-color .2s;
}
.btn svg { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn:active { transform: scale(.98); }
.btn-primary { background: var(--clay); color: #fff; box-shadow: var(--sh-cta); }
.btn-primary:hover { background: var(--clay-deep); transform: translateY(-1px); }
.btn-ghost { background: var(--white); border-color: var(--line-strong); color: var(--ink); box-shadow: var(--sh-1); }
.btn-ghost:hover { border-color: var(--stone); transform: translateY(-1px); }
.btn-sm { min-height: 40px; padding: 0 18px; font-size: 14px; border-radius: 999px; box-shadow: none; }

/* Nav: floating pill */

.nav { position: sticky; top: 12px; z-index: 50; padding: 0 var(--gutter); margin-top: 12px; }
.nav-inner {
  max-width: calc(var(--wrap) - 2 * var(--gutter) + 32px); margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  height: 64px; padding: 0 10px 0 16px;
  background: rgba(255, 255, 255, .78);
  backdrop-filter: blur(14px) saturate(1.4); -webkit-backdrop-filter: blur(14px) saturate(1.4);
  border: 1px solid rgba(218, 211, 198, .7); border-radius: 999px;
  box-shadow: var(--sh-1);
  transition: box-shadow .3s var(--ease);
}
.nav.is-scrolled .nav-inner { box-shadow: var(--sh-2); }

.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-mark {
  width: 32px; height: 32px; border-radius: 9px; background: var(--clay); color: #fff;
  display: grid; place-items: center; box-shadow: 0 4px 10px -4px rgba(190, 74, 46, .6);
}
.brand-mark svg { width: 20px; height: 20px; }
.brand-name { font-family: var(--serif); font-weight: 500; font-size: 22px; letter-spacing: -0.01em; }

.nav-links { display: flex; gap: 26px; }
.nav-links a { text-decoration: none; font-size: 15px; color: var(--stone); transition: color .15s; }
.nav-links a:hover { color: var(--ink); }

.nav-end { display: flex; align-items: center; gap: 10px; }
.lang { display: flex; font-size: 12px; font-weight: 600; background: var(--panel); border-radius: 999px; padding: 3px; }
.lang a, .lang span { padding: 5px 10px; border-radius: 999px; text-decoration: none; color: var(--stone); }
.lang [aria-current] { background: var(--ink); color: var(--paper); }
.lang a:hover { color: var(--ink); }

@media (max-width: 960px) { .nav-links { display: none; } }
@media (max-width: 440px) {
  .brand-name { display: none; }
  .nav-inner { padding: 0 8px 0 10px; }
  .nav-end .btn-sm { padding: 0 14px; }
}

/* Hero */

.hero {
  position: relative; overflow: hidden; isolation: isolate;
  margin-top: -76px;
  padding: calc(76px + clamp(72px, 10vw, 124px)) 0 clamp(44px, 6vw, 64px);
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(60% 55% at 50% 0%, rgba(190, 74, 46, .16), transparent 70%),
    radial-gradient(40% 40% at 12% 30%, rgba(232, 160, 120, .14), transparent 70%),
    radial-gradient(40% 40% at 88% 40%, rgba(232, 160, 120, .12), transparent 70%);
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background-image: radial-gradient(rgba(28, 26, 23, .09) 1px, transparent 1px);
  background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(70% 60% at 50% 40%, #000 20%, transparent 75%);
          mask-image: radial-gradient(70% 60% at 50% 40%, #000 20%, transparent 75%);
}

.hero-inner { position: relative; z-index: 1; text-align: center; max-width: 860px; margin: 0 auto; }

.pill {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 7px 16px 7px 12px; border-radius: 999px;
  background: rgba(255, 255, 255, .8); border: 1px solid var(--line-strong);
  font-size: 14px; font-weight: 500; color: var(--stone); box-shadow: var(--sh-1);
}
.pill i { width: 8px; height: 8px; border-radius: 50%; background: var(--clay); box-shadow: 0 0 0 4px var(--clay-glow); }

.hero h1 { margin-top: 28px; font-size: clamp(48px, 8vw, 104px); line-height: .98; letter-spacing: -0.04em; }
.hero h1 em { font-style: italic; color: var(--clay); font-weight: 500; letter-spacing: -0.03em; }
.hero-sub { margin: 28px auto 0; font-size: clamp(18px, 1.7vw, 21px); color: var(--stone); max-width: 36em; }
.hero-cta { margin-top: 40px; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.hero-terms { margin: 22px 0 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; padding: 0; list-style: none; font-size: 14px; color: var(--stone); }
.hero-terms li { display: flex; align-items: center; gap: 7px; }
.hero-terms svg { width: 16px; height: 16px; color: var(--clay); }

/* Floating app tiles around the headline */

.floaters { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.tile {
  position: absolute; width: 64px; height: 64px; border-radius: 18px;
  background: var(--white); border: 1px solid var(--line);
  display: grid; place-items: center; box-shadow: var(--sh-3);
  rotate: var(--r, 0deg);
  animation: bob 7s ease-in-out infinite; animation-delay: var(--d, 0s);
}
.tile svg { width: 30px; height: 30px; fill: var(--c, currentColor); }
.tile.sm { width: 52px; height: 52px; border-radius: 15px; }
.tile.sm svg { width: 24px; height: 24px; }

@keyframes bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -12px; } }

.cursor { position: absolute; display: flex; flex-direction: column; align-items: flex-start; animation: drift 9s ease-in-out infinite; animation-delay: var(--d, 0s); }
.cursor svg { width: 20px; height: 20px; fill: var(--c); filter: drop-shadow(0 2px 3px rgba(0, 0, 0, .15)); }
.cursor span {
  margin: 2px 0 0 14px; padding: 4px 10px; border-radius: 999px;
  background: var(--c); color: #fff; font-size: 12px; font-weight: 600; white-space: nowrap;
  box-shadow: 0 6px 14px -6px var(--c);
}
@keyframes drift { 0%, 100% { translate: 0 0; } 33% { translate: 14px -8px; } 66% { translate: -6px 10px; } }

@media (max-width: 1100px) { .floaters .wide { display: none; } }
@media (max-width: 960px) {
  .floaters .tile, .floaters .cursor { display: none; }
}

/* Tools marquee */

.tools { padding: 8px 0 clamp(40px, 6vw, 72px); }
.tools-label { text-align: center; font-size: 14px; font-weight: 500; color: var(--stone); margin-bottom: 20px; }
.marquee {
  overflow: hidden; padding: 6px 0 10px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee-track { display: flex; gap: 14px; width: max-content; animation: marquee 40s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track ul { display: flex; gap: 14px; margin: 0; padding: 0; list-style: none; }
.app {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 10px 18px 10px 12px; border-radius: 999px;
  background: var(--white); border: 1px solid var(--line); box-shadow: var(--sh-1);
  font-size: 15px; font-weight: 600; white-space: nowrap;
}
.app svg { width: 22px; height: 22px; fill: var(--c); }
@keyframes marquee { to { transform: translateX(calc(-50% - 7px)); } }

/* Sections */

.section { padding: var(--section) 0; position: relative; }
.section-head { max-width: 720px; margin: 0 auto clamp(44px, 6vw, 64px); text-align: center; }
.kicker { display: inline-block; font-size: 14px; font-weight: 600; color: var(--clay-deep); margin-bottom: 14px; }
.section-head h2 { font-size: clamp(36px, 4.8vw, 58px); }
.section-head p { margin-top: 18px; font-size: 18px; color: var(--stone); }

/* Problem cards */

.problems { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; list-style: none; margin: 0; padding: 0; }
.problem {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 28px; display: flex; flex-direction: column; gap: 12px;
  box-shadow: var(--sh-1);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
.problem:hover { transform: translateY(-3px); box-shadow: var(--sh-2); border-color: var(--line-strong); }
.problem-icon {
  width: 46px; height: 46px; border-radius: 12px; background: var(--clay-wash); color: var(--clay);
  display: grid; place-items: center; margin-bottom: 6px;
}
.problem-icon svg, .ln { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.problem-icon svg { width: 22px; height: 22px; }
.problem h3 { font-size: 24px; line-height: 1.15; }
.problem .symptom { color: var(--stone); font-size: 16px; }
.problem .fix {
  margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line);
  display: flex; gap: 10px; font-weight: 600; font-size: 15px; line-height: 1.45;
}
.problem .fix svg { width: 18px; height: 18px; flex: none; color: var(--clay); margin-top: 2px; }

@media (max-width: 960px) { .problems { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .problems { grid-template-columns: 1fr; } }

/* Steps */

.steps-section { background: var(--panel); }
.steps-section::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(50% 40% at 50% 0%, rgba(255, 255, 255, .7), transparent 70%);
}
.steps-section > .wrap { position: relative; }
.steps { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; list-style: none; margin: 0; padding: 0; }
.step {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r-xl);
  padding: clamp(26px, 3vw, 36px);
  display: flex; flex-direction: column; gap: 12px;
  box-shadow: var(--sh-2);
}
.step-num {
  align-self: flex-start; font: 600 13px var(--sans); color: var(--clay-deep);
  background: var(--clay-wash); padding: 5px 12px; border-radius: 999px;
}
.step h3 { font-size: clamp(25px, 2.4vw, 30px); }
.step > p { color: var(--stone); }
.step-visual { margin-top: auto; padding-top: 14px; }

@media (max-width: 800px) { .steps { grid-template-columns: 1fr; } }

.tally { border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; font-size: 15px; margin: 0; background: var(--paper); }
.tally div { display: flex; justify-content: space-between; gap: 16px; padding: 11px 16px; border-bottom: 1px solid var(--line); }
.tally dt { color: var(--ink); }
.tally dd { margin: 0; color: var(--stone); font-variant-numeric: tabular-nums; white-space: nowrap; }
.tally .total { background: var(--clay-wash); border-bottom: 0; align-items: baseline; }
.tally .total dt { font-size: 14px; font-weight: 600; color: var(--clay-deep); }
.tally .total dd { font: 500 26px var(--serif); color: var(--clay-deep); }

.flow { display: flex; align-items: center; gap: 10px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-md); padding: 18px; }
.flow-apps { display: grid; grid-template-columns: repeat(2, 34px); gap: 6px; flex: none; }
.flow-apps span { width: 34px; height: 34px; border-radius: 9px; background: var(--white); border: 1px solid var(--line); display: grid; place-items: center; box-shadow: var(--sh-1); }
.flow-apps svg { width: 18px; height: 18px; fill: var(--c); }
.flow-line { flex: 1; height: 2px; min-width: 14px; background: repeating-linear-gradient(90deg, var(--clay) 0 6px, transparent 6px 11px); opacity: .55; }
.flow-core { width: 56px; height: 56px; border-radius: 16px; background: var(--clay); color: #fff; display: grid; place-items: center; box-shadow: var(--sh-cta); flex: none; }
.flow-core svg { width: 30px; height: 30px; }
.flow-done { display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; border-radius: 999px; background: #E7F3EA; color: #23663A; font-size: 14px; font-weight: 600; white-space: nowrap; flex: none; }
.flow-done svg { width: 16px; height: 16px; }
.flow-note { margin-top: 12px; font-size: 14px; color: var(--stone); }

.timeline { display: grid; grid-template-columns: repeat(4, 1fr); list-style: none; margin: 0; padding: 18px 8px; position: relative; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-md); }
.timeline::before { content: ""; position: absolute; top: 37px; left: 14%; right: 14%; height: 2px; background: var(--line-strong); }
.timeline li { text-align: center; position: relative; font-size: 14px; }
.timeline li::before { content: ""; display: block; width: 38px; height: 38px; margin: 0 auto 10px; border-radius: 50%; background: var(--white); border: 2px solid var(--clay); box-shadow: var(--sh-1); }
.timeline li:last-child::before { background: var(--clay); }
.timeline b { display: block; font-weight: 600; }
.timeline small { color: var(--stone); font-size: 13px; }

.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 0; }
.facts div { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-md); padding: 16px; }
.facts dt { font: 500 28px var(--serif); color: var(--clay-deep); }
.facts dd { margin: 4px 0 0; font-size: 13px; line-height: 1.4; color: var(--stone); }

@media (max-width: 440px) {
  .facts { grid-template-columns: 1fr; }
  .flow { gap: 6px; padding: 14px 12px; }
  .flow-done { padding: 7px 10px; font-size: 13px; }
}

.steps-cta { margin-top: 44px; display: flex; justify-content: center; }

/* Work: tag cards, no images (Autoploy pattern) */

.work { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.case {
  display: flex; flex-direction: column; gap: 14px;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r-xl);
  padding: clamp(26px, 3vw, 34px);
  text-decoration: none; box-shadow: var(--sh-1);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
.case:hover { transform: translateY(-3px); box-shadow: var(--sh-2); border-color: rgba(190, 74, 46, .35); }
.case:active { transform: translateY(-1px); }
.case-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.case-status { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: #23663A; }
.case-status i { width: 8px; height: 8px; border-radius: 50%; background: #2F9E55; box-shadow: 0 0 0 4px rgba(47, 158, 85, .15); }
.case-status.proto { color: var(--stone); }
.case-status.proto i { background: #C9A227; box-shadow: 0 0 0 4px rgba(201, 162, 39, .18); }
.case-arrow { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; color: var(--clay); transition: background-color .25s, color .25s, transform .3s var(--ease); }
.case-arrow svg { width: 18px; height: 18px; }
.case:hover .case-arrow { background: var(--clay); color: #fff; transform: rotate(-45deg); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips span { font-size: 12px; font-weight: 600; padding: 5px 11px; border-radius: 999px; background: var(--clay-wash); color: var(--clay-deep); }
.case h3 { font-size: clamp(26px, 2.6vw, 32px); }
.case p { color: var(--stone); }
.case-more { margin-top: auto; padding-top: 4px; display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 15px; color: var(--clay); }
.case-more svg { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.case:hover .case-more svg { transform: translateX(4px); }

@media (max-width: 760px) { .work { grid-template-columns: 1fr; } }

/* About */

.about-card {
  display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(28px, 5vw, 64px); align-items: center;
  background: var(--white); border: 1px solid var(--line); border-radius: 28px;
  padding: clamp(16px, 2.5vw, 28px); box-shadow: var(--sh-2);
}
.about-card figure { margin: 0; border-radius: 20px; overflow: hidden; aspect-ratio: 4 / 5; background: var(--panel); position: relative; }
.about-card figure img { width: 100%; height: 100%; object-fit: cover; object-position: 40% center; }
.about-card figcaption {
  position: absolute; left: 14px; bottom: 14px; padding: 8px 14px; border-radius: 999px;
  background: rgba(255, 255, 255, .92); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  font-size: 13px; font-weight: 600; box-shadow: var(--sh-1);
}
.about-body { padding: 16px 16px 16px 0; }
.about-body h2 { font-size: clamp(34px, 4.2vw, 52px); }
.about-role { margin-top: 10px; color: var(--stone); }
.about-text { margin-top: 24px; display: grid; gap: 14px; font-size: 17px; max-width: 36em; }
.about-text .creed { font-family: var(--serif); font-style: italic; font-size: 24px; line-height: 1.35; color: var(--clay-deep); margin-top: 4px; }
.about-body .btn { margin-top: 26px; }

@media (max-width: 820px) {
  .about-card { grid-template-columns: 1fr; }
  .about-card figure { aspect-ratio: 4 / 3; }
  .about-body { padding: 4px 8px 12px; }
}

/* FAQ */

.faq { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.faq-side { position: sticky; top: 110px; }
.faq-side h2 { font-size: clamp(36px, 4.6vw, 56px); }
.faq-side p { margin-top: 18px; color: var(--stone); }
.faq-side .btn { margin-top: 28px; }
.faq-list { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-xl); padding: 8px 28px; box-shadow: var(--sh-1); }
.faq-group { padding: 18px 0 6px; }
.faq-group + .faq-group { border-top: 1px solid var(--line); }
.faq-group h3 { font-family: var(--sans); font-size: 13px; font-weight: 600; letter-spacing: 0; color: var(--clay-deep); margin-bottom: 4px; }

.faq details + details { border-top: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 18px 44px 18px 0; position: relative;
  font-family: var(--serif); font-size: 20px; line-height: 1.3;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before, .faq summary::after {
  content: ""; position: absolute; right: 8px; top: 50%; width: 14px; height: 2px; border-radius: 2px;
  background: var(--clay); transition: transform .3s var(--ease);
}
.faq summary::after { transform: rotate(90deg); }
.faq details[open] summary::after { transform: rotate(0deg); }
.faq summary:hover { color: var(--clay-deep); }
.faq details p { padding: 0 44px 20px 0; color: var(--stone); }

@media (max-width: 820px) {
  .faq { grid-template-columns: 1fr; }
  .faq-side { position: static; }
  .faq-list { padding: 4px 20px; }
}

/* Booking */

.book { background: var(--ink); color: var(--paper); overflow: hidden; isolation: isolate; }
.book::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(50% 60% at 15% 0%, rgba(190, 74, 46, .45), transparent 70%),
    radial-gradient(40% 50% at 95% 100%, rgba(190, 74, 46, .25), transparent 70%);
}
.book-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 24px clamp(32px, 6vw, 80px); align-items: end; margin-bottom: clamp(32px, 5vw, 48px); }
.book .pill { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .16); color: #E9E2D6; box-shadow: none; margin-bottom: 22px; }
.book h2 { font-size: clamp(38px, 5vw, 62px); }
.book-lede { margin-top: 18px; font-size: 18px; color: #CFC8BC; }
.book-points { margin: 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.book-points li { display: flex; gap: 12px; align-items: center; }
.book-points svg { width: 24px; height: 24px; padding: 5px; border-radius: 50%; background: rgba(190, 74, 46, .45); color: #fff; flex: none; }
.book-alt { margin-top: 20px; font-size: 15px; color: #CFC8BC; }
.book-alt a { color: var(--paper); text-underline-offset: 3px; }

.cal-frame {
  background: var(--white); color: var(--ink); border-radius: var(--r-xl);
  min-height: 640px; overflow: hidden; position: relative;
  padding: clamp(0px, 1.5vw, 16px);
  box-shadow: 0 30px 80px -30px rgba(0, 0, 0, .6), 0 0 0 1px rgba(255, 255, 255, .06);
}
.cal-frame #cal-inline { width: 100%; min-height: 600px; overflow: auto; }
.cal-loading { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: 24px; color: var(--stone); font-size: 15px; }
.cal-frame.is-ready .cal-loading { display: none; }

@media (max-width: 800px) { .book-intro { grid-template-columns: 1fr; } }

/* Footer */

.footer { padding: 48px 0 40px; border-top: 1px solid var(--line); font-size: 15px; color: var(--stone); }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; align-items: center; }
.footer .brand-name { font-size: 20px; color: var(--ink); }
.footer nav { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.footer a { text-decoration: none; }
.footer nav a:hover { color: var(--ink); }

/* Motion preferences */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .tile, .cursor, .marquee-track { animation: none; }
  .marquee-track { width: auto; justify-content: center; }
  .marquee-track ul { flex-wrap: wrap; justify-content: center; }
  .marquee-track [aria-hidden] { display: none; }
  .marquee { -webkit-mask-image: none; mask-image: none; }
  .problem:hover, .case:hover, .btn:hover { transform: none; }
}
