/* Limitless Studio — public design system
   Ported from the Intervals Call Board WordPress theme (v2.1.0).
   WordPress-specific rules removed; everything else preserved. */

:root {
  --ink: #29251f;
  --green: #315844;
  --cream: #f4efe3;
  --paper: #f8f3e8;
  --yellow: #f5dd5e;
  --cork: #b67844;
  --frame: #56351f;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: #eee8db; font-family: Georgia, "Times New Roman", serif; }
a { color: inherit; }
button, input, textarea { font: inherit; }

.site-header {
  display: flex; align-items: center; gap: 28px;
  padding: 20px clamp(22px, 5vw, 72px); background: #f5f0e5; border-bottom: 1px solid #d8d0c2;
}
.site-brand { text-decoration: none; }
.site-brand small { display: block; margin-bottom: 4px; font: 700 11px/1.2 Arial, sans-serif; letter-spacing: .16em; text-transform: uppercase; color: #6a6258; }
.site-brand strong { font-size: clamp(22px, 3vw, 34px); }

.board-wrap { padding: clamp(18px, 4vw, 52px); }
.call-board {
  position: relative; max-width: 1500px; min-height: 980px; margin: 0 auto; padding: clamp(28px, 5vw, 72px);
  overflow: hidden; border: 18px solid var(--frame); border-radius: 10px;
  background-color: var(--cork); background-image: url("/assets/corkboard-texture.jpg"); background-repeat: repeat;
  box-shadow: 0 18px 42px rgba(45, 29, 18, .27), inset 0 0 40px rgba(72, 38, 18, .14);
}
.call-board::after { content: ""; position: absolute; inset: 0; pointer-events: none; box-shadow: inset 0 0 70px rgba(63, 36, 19, .18); }
.board-label {
  position: absolute; z-index: 3; padding: 12px 22px;
  background: #faf8f1; border: 3px solid #302d27; text-align: center; font-size: clamp(18px, 2.2vw, 28px);
  letter-spacing: .12em; box-shadow: 4px 6px 5px rgba(37, 29, 22, .32); transform: rotate(-.4deg);
}
.notes-grid { position: relative; z-index: 2; height: var(--notes-h, 960px); }
.note { position: absolute; left: var(--note-x); top: var(--note-y); width: var(--note-w); min-height: var(--note-h); padding: 30px 24px 24px; background: var(--note-bg, var(--paper)); box-shadow: 5px 9px 12px rgba(48, 32, 20, .29); transform: rotate(var(--note-rot, 0deg)); box-sizing: border-box; }
.note::before { content: ""; position: absolute; left: 50%; top: 13px; width: 21px; height: 21px; transform: translateX(-50%); border-radius: 50%; background: radial-gradient(circle at 35% 32%, #91ad9c 0 13%, #46705b 45%, #284537 72%); box-shadow: 1px 3px 4px rgba(0,0,0,.35); }
.note-kicker { margin: 0 0 14px; color: #766f64; font: 700 10px/1.2 Arial, sans-serif; letter-spacing: .16em; text-transform: uppercase; }
.note h2 { margin: 0 0 16px; font-size: var(--note-h-size, clamp(18px, 1.6vw, 24px)); line-height: 1.15; }
.note p { margin: 0 0 16px; font-size: var(--note-t-size, clamp(12px, 1.15vw, 15px)); line-height: 1.5; white-space: pre-line; }
.note-link { display: inline-block; margin-top: 6px; padding: 9px 12px; color: white; background: #416e59; text-decoration: none; font: 700 12px/1 Arial, sans-serif; }
.note-link:hover, .note-link:focus { background: #2d5140; }
.note--image { padding: 0; overflow: hidden; background: transparent; box-shadow: none; }
.note--image::before { display: none; }
.note--image.note--ratio { min-height: 0; height: auto; aspect-ratio: var(--note-ratio, auto); }
.note--scroll { height: var(--note-h); min-height: 0; overflow-y: auto; overscroll-behavior: contain; }
.note--scroll::-webkit-scrollbar { width: 8px; }
.note--scroll::-webkit-scrollbar-thumb { background: rgba(48, 45, 39, .28); border-radius: 4px; }
.note--scroll::-webkit-scrollbar-track { background: transparent; }
.note--image .note-image { display: block; width: 100%; height: 100%; object-fit: contain; object-position: center; box-sizing: border-box; }
.note--shape { padding: 0; }
.note--button { padding: 0; display: flex; }
.note--button::before { display: none; }
.note-button-link { flex: 1; display: flex; align-items: center; justify-content: center; box-sizing: border-box; padding: 20px; color: #fff; text-decoration: none; text-align: center; font: 700 clamp(17px, 2vw, 24px)/1.25 Arial, sans-serif; }
.note-button-link:hover, .note-button-link:focus { opacity: .9; }

.page-shell { max-width: 980px; min-height: 70vh; margin: 48px auto; padding: 0 24px; }
.back-link { margin: 0 0 18px; font: 700 12px/1 Arial, sans-serif; letter-spacing: .08em; text-transform: uppercase; }
.back-link a { color: #416e59; text-decoration: none; }
.back-link a:hover, .back-link a:focus { text-decoration: underline; }
.paper-page { padding: clamp(30px, 6vw, 72px); background: #fffdf7; box-shadow: 0 15px 45px rgba(53, 39, 25, .13); }
.paper-page h1 { margin-top: 0; font-size: clamp(38px, 6vw, 72px); }
.paper-page h2 { margin-top: 42px; }
.paper-page p, .paper-page li { font-size: 19px; line-height: 1.65; }
.paper-page ul { padding-left: 24px; }
.paper-page blockquote { margin: 24px 0; padding: 12px 24px; border-left: 4px solid var(--green); background: #f4efe3; color: #4a443a; font-style: italic; }
.paper-page img { max-width: 100%; height: auto; }
.paper-page figure { margin: 28px 0; }
.paper-page figcaption { margin-top: 8px; color: #7a7062; font-size: 15px; text-align: center; }
.page-thumbnail { margin: 0 0 32px; overflow: hidden; border-radius: 6px; box-shadow: 0 10px 30px rgba(53, 39, 25, .18); }
.page-thumbnail img { display: block; width: 100%; height: auto; }
.contact-form { display: grid; gap: 16px; max-width: 620px; }
.contact-form label { font: 700 13px/1.2 Arial, sans-serif; }
.contact-form input, .contact-form textarea { width: 100%; margin-top: 7px; padding: 13px; border: 1px solid #9e9486; background: white; }
.contact-form textarea { min-height: 160px; resize: vertical; }
.contact-form button { width: max-content; padding: 13px 22px; border: 0; color: white; background: var(--green); font-weight: 700; }
.site-footer { padding: 34px 24px; color: #f7f1e7; background: #29251f; text-align: center; font-family: Arial, sans-serif; }
.site-footer p { margin: 5px; }
.preview-banner {
  padding: 12px 18px; color: #fff; background: #6d4a1f; font: 700 13px/1.4 Arial, sans-serif;
  text-align: center; letter-spacing: .04em;
}
.preview-back { margin-right: 14px; color: #f5dd5e; text-decoration: none; }

@media (max-width: 900px) {
  .site-header { flex-wrap: wrap; gap: 14px; padding: 16px clamp(16px, 4vw, 28px); }
  .board-wrap { padding: 14px; }
  .call-board { min-height: 0; border-width: 10px; }
  .board-label { position: relative; left: auto !important; top: auto !important; width: min(470px, 88%) !important; margin: 0 auto 48px !important; }
  .notes-grid { display: flex; flex-direction: column; height: auto; gap: 26px; }
  .note { position: relative; inset: auto; width: 100%; min-height: 0; margin: 0; transform: none; padding: 26px 20px 22px; }
  .note--scroll { height: auto; overflow: visible; }
  .note-link { padding: 13px 18px; font-size: 13px; }
  .page-shell { margin: 28px auto; padding: 0 16px; }
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
