:root {
  --ink: #22313d;
  --ink-soft: #3d4b57;
  --accent: #ff8a3d;
  --accent-edge: #c9621f;
  --board: #f4f2ec;
  --seam: #1b1310;
  --cream: #fff3e6;
  --sketch: #2D4A5B;
  --x: #e0552b;
}

* { box-sizing: border-box; }

html, body { margin: 0; }

body {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: var(--board);
  color: var(--ink);
}

.page {
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  grid-template-rows: 48px 1fr auto;
}

.leather {
  background: #b9521f url("leather.svg") 0 0 / 240px 240px;
  box-shadow: inset 0 0 26px rgba(70, 22, 4, .55);
}
.leather.top { border-bottom: 4px solid var(--seam); }

footer.leather {
  border-top: 4px solid var(--seam);
  min-height: 56px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--cream);
  font-size: 13px;
  font-weight: 600;
  text-shadow: 0 1px 1px rgba(0, 0, 0, .45);
}

.board {
  position: relative;
  overflow: hidden;
  background: radial-gradient(ellipse at 30% 20%, #fbfaf6, var(--board) 60%, #e9e6dd);
}

.sketch {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  position: absolute;
  top: 50%;
  right: -15%;
  width: min(110vw, 90vh);
  height: auto;
  transform: translateY(-50%);
  opacity: .18;
  pointer-events: none;
}

.content {
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
  padding: 28px 16px;
  min-height: 100%;
  display: flex;
  align-items: center;
}

.copy {
  z-index: 1;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  font-weight: 800;
  font-size: 22px;
}
.logo { width: 80px; height: 80px; flex: none; }

.kicker {
  margin: 20px 0 6px;
  font-weight: 700;
  font-size: 18px;
}

h1 {
  margin: 0 0 16px;
  max-width: 9em;
  font-size: clamp(40px, min(7.5vw, 11vh), 84px);
  font-weight: 900;
  line-height: .98;
  letter-spacing: -1.5px;
}
h1 span { color: var(--accent); }

.lede {
  margin: 0 0 28px;
  max-width: 28em;
  font-size: 18px;
  line-height: 1.45;
  color: var(--ink-soft);
}

.cta {
  display: inline-flex;
  flex-direction: column;
  padding: 14px 22px;
  border-radius: 10px;
  background: var(--accent);
  color: #1a1205;
  text-decoration: none;
  font-weight: 800;
  font-size: 18px;
  box-shadow: 0 3px 0 var(--accent-edge);
}
.cta:hover { filter: brightness(1.05); }
.cta:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.cta small { margin-top: 3px; font-size: 13px; font-weight: 600; opacity: .8; }

.note {
  margin: 14px 0 0;
  font-size: 14px;
  color: var(--ink-soft);
}

/* Wide screens: text and sketch side by side in one centred column. */
@media (min-width: 1281px) {
  .content { max-width: 1280px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 480px); column-gap: 56px; }
  .sketch { position: static; width: 100%; transform: none; opacity: 1; }
}

/* Draw-in animation for the whiteboard sketch. */
.d { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw var(--t, .4s) cubic-bezier(.6, .05, .3, 1) var(--d, 0s) forwards; }
.pop { opacity: 0; transform-box: fill-box; transform-origin: center; animation: pop .35s cubic-bezier(.2, 1.6, .4, 1) var(--d, 0s) forwards; }
.fade { opacity: 0; animation: fade .25s ease var(--d, 0s) forwards; }

@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes pop { from { opacity: 0; transform: scale(0); } to { opacity: 1; transform: scale(1); } }
@keyframes fade { to { opacity: 1; } }

@media (prefers-reduced-motion: reduce) {
  .d { stroke-dashoffset: 0; animation: none; }
  .pop, .fade { opacity: 1; transform: none; animation: none; }
}
