/* kylemarten.info — ink on a real cardboard box */

@font-face {
  font-family: "Papermark";
  src: url("/fonts/Papermark.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Sharpie black — almost pure ink, slight warm soak */
  --ink: #0a0704;
  --ink-soft: #2a1a0c;
  --ink-faint: #4a3420;
  --kraft-type: #e6c894;
  --font: "Papermark", "Segoe Print", "Comic Sans MS", cursive;
  --t-fast: 140ms;
  /* stay on the flat kraft writing board, off the torn fluting */
  --write-max: 520px;
  --page-gutter: clamp(1.25rem, 6vw, 3.5rem);
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font);
  font-size: 18px;
  line-height: 1.34;
  color: var(--ink);
  background-color: #8b6a3c;
  /* composed sheet: smooth kraft writing zone + torn edges + stains + margin scribbles */
  background-image: url("/textures/cardboard-sheet.webp");
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  background-attachment: scroll;
  -webkit-font-smoothing: antialiased;
}

@media (max-width: 700px) {
  body {
    background-image: url("/textures/cardboard-sheet-mobile.webp");
    background-size: cover;
    background-position: center top;
  }
}

@media (min-width: 1100px) {
  body {
    background-size: 100% auto;
    background-position: center top;
  }
}

/* old atmosphere */
.backdrop,
.grain {
  display: none !important;
}

/* tears / stains / Sharpie doodles are baked into the background sheet */
.box-marks {
  display: none !important;
}
body::after {
  display: none !important;
}

/* packing tape + fragile stamp — margin decorations only */
.box-extras {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}
.tape {
  position: absolute;
  display: block;
  width: min(46vw, 380px);
  height: 58px;
  background: url("/textures/packing-tape.svg") center / 100% 100% no-repeat;
  opacity: 0.9;
  mix-blend-mode: multiply;
  filter: saturate(0.9) contrast(1.05);
}
.tape--tl {
  top: 3.2vh;
  left: max(0.5rem, 2vw);
  transform: rotate(-16deg);
}
.tape--br {
  right: max(0.5rem, 2vw);
  bottom: 9vh;
  width: min(52vw, 420px);
  transform: rotate(12deg);
}
.stamp {
  position: absolute;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
  font-size: clamp(0.95rem, 2.4vw, 1.25rem);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(26, 16, 8, 0.45);
  border: 3px solid rgba(26, 16, 8, 0.4);
  padding: 0.35rem 0.7rem 0.28rem;
  border-radius: 3px;
  mix-blend-mode: multiply;
  opacity: 0.82;
}
.stamp--fragile {
  right: max(1rem, 3vw);
  top: 14vh;
  transform: rotate(11deg);
  background: url("/textures/fragile-stamp.svg") center / contain no-repeat;
  background-color: transparent;
  border: 0;
  width: 8.4rem;
  height: 3.6rem;
  text-indent: -9999px;
  overflow: hidden;
}
@media (max-width: 700px) {
  .tape--tl {
    top: 1.8vh;
    width: 64vw;
    opacity: 0.75;
  }
  .tape--br {
    bottom: 6vh;
    width: 70vw;
    opacity: 0.7;
  }
  .stamp--fragile {
    top: auto;
    bottom: 20vh;
    right: 0.45rem;
    opacity: 0.72;
    width: 6.8rem;
    height: 2.9rem;
  }
}
@media (min-width: 1100px) {
  .tape--tl {
    left: 5vw;
  }
  .tape--br {
    right: 5vw;
  }
  .stamp--fragile {
    right: 6vw;
  }
}

body > * {
  position: relative;
  z-index: 1;
}
.box-extras {
  z-index: 0;
}

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

/* ink soaks into the kraft */
a,
p,
li,
label,
span,
h1,
h2,
h3,
h4,
.brand,
.lede,
.eyebrow,
.consent,
.hint,
.muted,
.faint,
.small,
.strong,
.feature__title,
.feature__text,
.stepper,
.summary,
.privacy__list,
.doc,
.site-footer,
.header-status,
.choice__title,
.choice__desc,
.choice__meta {
  mix-blend-mode: multiply;
}

a {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.18em;
  text-decoration-skip-ink: none;
}
a:hover {
  text-decoration-thickness: 3.5px;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-weight: 400;
  letter-spacing: -0.012em;
  line-height: 0.98;
  color: var(--ink);
}

h1 {
  font-size: clamp(2.55rem, 8.5vw, 3.85rem);
  transform: rotate(-0.9deg);
  color: var(--ink);
  /* Sharpie bleed into kraft fiber */
  text-shadow:
    0.5px 0.8px 0.5px rgba(60, 35, 12, 0.35),
    -0.4px 0.3px 0.4px rgba(60, 35, 12, 0.2);
}
h2 {
  font-size: clamp(1.5rem, 3.6vw, 2.1rem);
  transform: rotate(0.45deg);
}
h3 {
  font-size: 1.28rem;
  transform: rotate(-0.4deg);
}

p {
  margin: 0;
}

.wrap {
  width: min(100% - (var(--page-gutter) * 2), var(--write-max));
  margin-inline: auto;
}

.wrap--narrow {
  width: min(100% - (var(--page-gutter) * 2), 480px);
  margin-inline: auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.muted {
  color: var(--ink-soft);
}
.faint {
  color: var(--ink-faint);
}
.small {
  font-size: 0.95rem;
}
.strong {
  font-weight: 400;
  color: var(--ink);
}
.nowrap {
  white-space: nowrap;
}

.lede {
  font-size: clamp(1.15rem, 2.5vw, 1.4rem);
  max-width: 32ch;
  color: var(--ink-soft);
  margin: 0.4rem auto 1.1rem;
  transform: rotate(0.6deg);
}

.eyebrow {
  display: inline-block;
  font-size: 1.02rem;
  letter-spacing: 0.02em;
  text-transform: lowercase;
  color: var(--ink-soft);
  margin-bottom: 0.3rem;
  transform: rotate(-1.5deg);
}

/* ---------- Header / footer ---------- */

.site-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 1.15rem 0 0.55rem;
  text-align: center;
  transform: rotate(-0.35deg);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  text-decoration: none;
  font-size: 1.32rem;
  color: var(--ink);
  transform: rotate(-1.7deg);
}
.brand:hover {
  transform: rotate(-2.3deg);
}
.brand__mark {
  display: none;
}

.header-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  font-size: 1rem;
  color: var(--ink-soft);
  transform: rotate(1.15deg);
  max-width: 22ch;
  text-align: center;
}

.dot {
  flex: 0 0 auto;
  width: 0.55rem;
  height: 0.5rem;
  border-radius: 40% 60% 55% 45% / 50% 40% 60% 50%;
  background: var(--ink);
  opacity: 0.45;
  mix-blend-mode: multiply;
}
.dot--warn {
  background: #8a3b00;
  opacity: 0.9;
}
.dot--bad {
  background: #6e0e0e;
  opacity: 0.95;
}
.dot--muted {
  opacity: 0.4;
}

.site-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 2.1rem 0 2.6rem;
  font-size: 1.05rem;
  color: var(--ink-soft);
  text-align: center;
  transform: rotate(0.35deg);
}
.site-footer__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.35rem 0.85rem;
}
.site-footer a {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.18em;
}
.site-footer a:hover {
  transform: rotate(-1.2deg);
}
.site-footer__note {
  font-size: 0.98rem;
  color: var(--ink-faint);
}

/* ---------- Writing surfaces: outline only, cardboard shows through ---------- */

.glass,
.card,
.panel,
.privacy {
  --tilt: -0.7deg;
  position: relative;
  background: transparent;
  border: 3px solid var(--ink);
  border-radius: 2px;
  box-shadow: 3px 4px 0 rgba(10, 7, 4, 0.2);
  transform: rotate(var(--tilt));
  mix-blend-mode: multiply;
}

.glass--pad {
  padding: clamp(0.95rem, 2.8vw, 1.25rem);
}

#book .glass {
  --tilt: 0.5deg;
}
#book .step__head {
  text-align: center;
}
#book .stepper {
  justify-content: center;
}
#book .step__actions {
  justify-content: center;
}
#how .feature:nth-child(1) {
  --tilt: -1.05deg;
}
#how .feature:nth-child(2) {
  --tilt: 0.85deg;
}
#how .feature:nth-child(3) {
  --tilt: 0.3deg;
}
#how .feature:nth-child(4) {
  --tilt: -0.55deg;
}
.privacy {
  --tilt: -0.4deg;
  margin: 1.35rem 0 0.45rem;
  padding: 0.9rem 1rem;
  display: grid;
  gap: 0.65rem;
  scroll-margin-top: 4rem;
}

.card {
  padding: 0.8rem 0.9rem;
}
.card--tight {
  padding: 0.5rem 0.65rem;
}

.hr {
  height: 0;
  border: 0;
  border-top: 2.5px dashed rgba(28, 17, 8, 0.55);
  margin: 1rem 0;
  transform: rotate(-0.8deg);
  mix-blend-mode: multiply;
}

/* ---------- Buttons = marker blocks ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  font-size: 1.18rem;
  line-height: 1.05;
  padding: 0.52rem 1rem 0.42rem;
  border: 3px solid var(--ink);
  background: var(--ink);
  color: var(--kraft-type);
  text-decoration: none;
  border-radius: 3px;
  box-shadow: 2px 3px 0 rgba(10, 7, 4, 0.25);
  transform: rotate(-1deg);
  /* filled block stays opaque (Sharpie painted solid); ghost uses multiply */
  mix-blend-mode: normal;
  transition: transform var(--t-fast) ease, box-shadow var(--t-fast) ease;
}
.btn:hover {
  transform: rotate(-1.9deg) translate(-1px, -1px);
  box-shadow: 3px 4px 0 rgba(10, 7, 4, 0.3);
}
.btn:active {
  transform: rotate(0.3deg) translate(1px, 1px);
  box-shadow: 1px 1px 0 rgba(28, 17, 8, 0.25);
}
.btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  transform: rotate(-0.4deg);
  box-shadow: none;
}

.btn--primary {
  background: var(--ink);
  color: var(--kraft-type);
}
.btn--ghost {
  background: transparent;
  color: var(--ink);
  mix-blend-mode: multiply;
  transform: rotate(1deg);
}
.btn--ghost:hover {
  transform: rotate(1.7deg) translate(-1px, -1px);
}
.btn--danger {
  background: #6e0e0e;
  border-color: #6e0e0e;
  color: #e8cfa0;
}
.btn--sm {
  font-size: 1rem;
  padding: 0.28rem 0.6rem;
}
.btn--block {
  width: 100%;
}

.link-btn {
  background: none;
  border: none;
  padding: 0;
  font: inherit;
  color: var(--ink);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.15em;
  transform: rotate(-0.55deg);
  mix-blend-mode: multiply;
}

/* ---------- Forms ---------- */

.grid {
  display: grid;
  gap: 0.9rem;
}
.grid--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
@media (max-width: 560px) {
  .grid--2,
  .grid--3 {
    grid-template-columns: 1fr;
  }
}

.field {
  display: grid;
  gap: 0.18rem;
  min-width: 0;
  transform: rotate(-0.35deg);
}
.field:nth-child(even) {
  transform: rotate(0.4deg);
}

.label,
.field > label {
  font-size: 1.05rem;
  color: var(--ink);
  mix-blend-mode: multiply;
}

.input,
.select,
.textarea {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 2.75px solid var(--ink);
  border-radius: 0;
  padding: 0.28rem 0.05rem;
  outline: none;
  color: var(--ink);
  mix-blend-mode: multiply;
  box-shadow: 0 1px 0 rgba(90, 55, 20, 0.12);
}
.input:focus,
.select:focus,
.textarea:focus {
  border-bottom-width: 3.5px;
  background: linear-gradient(to top, rgba(90, 55, 20, 0.1), transparent 75%);
}
.input--code {
  font-size: 1.8rem;
  letter-spacing: 0.3em;
  text-align: center;
  border: 2.75px solid var(--ink);
  padding: 0.5rem;
  background: rgba(70, 42, 14, 0.06);
  border-radius: 3px 11px 2px 9px / 9px 2px 11px 3px;
  transform: rotate(-0.7deg);
}
.textarea {
  border: 2.75px solid var(--ink);
  padding: 0.45rem;
  min-height: 5rem;
  resize: vertical;
  background: rgba(70, 42, 14, 0.04);
}
.select {
  appearance: none;
  background: rgba(70, 42, 14, 0.05);
  border: 2.75px solid var(--ink);
  padding: 0.4rem 0.55rem;
}

.hint {
  font-size: 0.95rem;
  color: var(--ink-faint);
  transform: rotate(0.45deg);
}
.hint--error {
  color: #6e0e0e;
}

.consent {
  margin: 0.1rem 0 0;
  font-size: 0.98rem;
  line-height: 1.4;
  color: var(--ink-soft);
  transform: rotate(-0.35deg);
}
.consent strong {
  color: var(--ink);
  font-weight: 400;
}
.consent a {
  color: var(--ink);
}

.check {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.05rem;
}

.turnstile-host {
  min-height: 65px;
  transform: rotate(0.55deg);
}

/* ---------- Hero ---------- */

.hero {
  padding: 1.05rem 0 0.3rem;
  text-align: center;
  margin-inline: auto;
}
.hero h1 {
  margin-inline: auto;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 0.9rem;
  margin: 0.9rem auto 1rem;
  align-items: center;
  justify-content: center;
}
.hero__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1rem;
  font-size: 1.05rem;
  color: var(--ink-soft);
  margin: 0 auto 1.3rem;
  justify-content: center;
  transform: rotate(0.65deg);
}
.hero__facts span::before {
  content: "~ ";
  opacity: 0.5;
}
.hero__facts span:first-child::before {
  content: "";
}

/* ---------- Booking ---------- */

#book {
  margin-bottom: 1.6rem;
}

.stepper {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 0.75rem;
  padding: 0;
  margin: 0 0 1rem;
  font-size: 0.95rem;
  color: var(--ink-faint);
  transform: rotate(-0.45deg);
}
.stepper__item {
  display: inline-flex;
  align-items: center;
  gap: 0.28rem;
  transform: rotate(-0.7deg);
}
.stepper__item:nth-child(2n) {
  transform: rotate(0.8deg);
}
.stepper__item[aria-current="step"] {
  color: var(--ink);
}
.stepper__item.is-done {
  color: var(--ink-soft);
  text-decoration: line-through;
  text-decoration-thickness: 2px;
}
.stepper__num {
  border: 2px solid currentColor;
  width: 1.25rem;
  height: 1.2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  border-radius: 35% 65% 40% 60% / 55% 35% 65% 45%;
}
.stepper__label {
  text-transform: lowercase;
}
.step-enter {
  animation: none;
}

.step {
  display: grid;
  gap: 0.85rem;
}
.step[hidden] {
  display: none !important;
}
.step__head {
  display: grid;
  gap: 0.22rem;
  transform: rotate(-0.4deg);
}
.step__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
  margin-top: 0.35rem;
}

.choice-grid {
  display: grid;
  gap: 0.7rem;
}
.choice {
  display: grid;
  gap: 0.1rem;
  text-align: left;
  width: 100%;
  padding: 0.7rem 0.8rem;
  background: transparent;
  border: 3px solid var(--ink);
  color: var(--ink);
  border-radius: 2px;
  box-shadow: 2px 3px 0 rgba(10, 7, 4, 0.18);
  transform: rotate(-0.85deg);
  mix-blend-mode: multiply;
}
.choice:nth-child(even) {
  transform: rotate(1deg);
}
.choice {
  position: relative;
  isolation: isolate;
  overflow: visible;
}
.choice:hover {
  background: rgba(70, 42, 14, 0.08);
}
.choice[aria-pressed="true"],
.choice.is-selected {
  background: transparent;
  box-shadow: 3px 4px 0 rgba(10, 7, 4, 0.18);
  z-index: 1;
}
.choice[aria-pressed="true"]::after,
.choice.is-selected::after {
  content: "";
  position: absolute;
  inset: -22px -18px;
  background: url("/textures/mark-circle.svg") center / 100% 100% no-repeat;
  opacity: 0.88;
  mix-blend-mode: multiply;
  pointer-events: none;
  z-index: 2;
  animation: mark-circle-in 0.48s cubic-bezier(0.15, 0.9, 0.25, 1) both;
}
.choice__title {
  font-size: 1.35rem;
}
.choice__desc,
.choice__meta {
  font-size: 1rem;
  color: var(--ink-soft);
}

.chips,
.days,
.slots {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.chip,
.day,
.slot {
  position: relative;
  font: inherit;
  font-size: 1.05rem;
  color: var(--ink);
  background: transparent;
  border: 3px solid var(--ink);
  padding: 0.38rem 0.65rem;
  border-radius: 2px;
  transform: rotate(-0.9deg);
  mix-blend-mode: multiply;
  isolation: isolate;
}
.chip:nth-child(2n),
.day:nth-child(2n),
.slot:nth-child(2n) {
  transform: rotate(1.1deg);
}
.chip:nth-child(3n),
.day:nth-child(3n),
.slot:nth-child(3n) {
  transform: rotate(-0.35deg);
}
.chip:hover,
.day:hover,
.slot:hover {
  background: rgba(70, 42, 14, 0.08);
}
/* selected = marker circle over kraft (not a filled black pill) */
.chip[aria-pressed="true"],
.day[aria-pressed="true"],
.slot[aria-pressed="true"],
.chip.is-selected,
.day.is-selected,
.slot.is-selected {
  background: transparent;
  color: var(--ink);
  mix-blend-mode: multiply;
  z-index: 1;
}
.chip[aria-pressed="true"]::after,
.day[aria-pressed="true"]::after,
.slot[aria-pressed="true"]::after,
.chip.is-selected::after,
.day.is-selected::after,
.slot.is-selected::after {
  content: "";
  position: absolute;
  inset: -18px -16px;
  background: url("/textures/mark-circle.svg") center / 100% 100% no-repeat;
  opacity: 0.92;
  mix-blend-mode: multiply;
  pointer-events: none;
  z-index: 2;
  animation: mark-circle-in 0.48s cubic-bezier(0.15, 0.9, 0.25, 1) both;
}
/* unavailable days/times get the marker X; open unchosen ones stay blank */
.day:disabled::after,
.slot:disabled::after {
  content: "";
  position: absolute;
  inset: -14px -12px;
  background: url("/textures/mark-x.svg") center / 100% 100% no-repeat;
  opacity: 0.72;
  mix-blend-mode: multiply;
  pointer-events: none;
  z-index: 2;
}
/* tiny per-item tilt so marks don't look stamped */
.days .day:nth-child(3n)[aria-pressed="true"]::after,
.slots .slot:nth-child(3n)[aria-pressed="true"]::after,
.chips .chip:nth-child(3n)[aria-pressed="true"]::after {
  transform: rotate(6deg);
}
.days .day:nth-child(3n + 1):disabled::after,
.slots .slot:nth-child(2n):disabled::after {
  transform: rotate(-8deg) scale(1.05);
}
@keyframes mark-circle-in {
  0% {
    opacity: 0;
    transform: scale(0.4) rotate(-28deg);
  }
  40% {
    opacity: 0.75;
    transform: scale(1.14) rotate(8deg);
  }
  70% {
    opacity: 0.95;
    transform: scale(0.94) rotate(-4deg);
  }
  100% {
    opacity: 0.92;
    transform: scale(1) rotate(2deg);
  }
}
@media (prefers-reduced-motion: reduce) {
  .chip[aria-pressed="true"]::after,
  .day[aria-pressed="true"]::after,
  .slot[aria-pressed="true"]::after,
  .choice[aria-pressed="true"]::after {
    animation: none;
  }
}
.day:disabled,
.slot:disabled {
  color: var(--ink-soft);
  border-color: rgba(40, 28, 16, 0.35);
  cursor: not-allowed;
}
.day:disabled:hover,
.slot:disabled:hover {
  background: transparent;
}
.chip:disabled {
  opacity: 0.32;
  cursor: not-allowed;
}
.day {
  display: grid;
  justify-items: center;
  min-width: 3.2rem;
  padding: 0.32rem 0.38rem;
}
.day__dow {
  font-size: 0.85rem;
  opacity: 0.7;
}
.day__num {
  font-size: 1.2rem;
}
.day__count {
  font-size: 0.75rem;
  opacity: 0.65;
}

.tz-note {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.85rem;
  align-items: center;
  font-size: 0.98rem;
  color: var(--ink-soft);
  transform: rotate(0.55deg);
}

/* timezone picker uses the underline select look; keep native menu readable */
.select {
  cursor: pointer;
  appearance: auto;
  color: var(--ink);
  font: inherit;
  mix-blend-mode: multiply;
}

/* ---------- Notices ---------- */

.notice {
  padding: 0.5rem 0.7rem;
  border: 3px solid var(--ink);
  background: transparent;
  font-size: 1.02rem;
  border-radius: 2px;
  transform: rotate(-0.65deg);
  mix-blend-mode: multiply;
}
.notice--error {
  border-color: #6e0e0e;
  color: #6e0e0e;
  transform: rotate(0.85deg);
}
.notice--ok,
.notice--info {
  border-color: var(--ink);
}

.badge {
  display: inline-block;
  border: 2.5px solid var(--ink);
  padding: 0.1rem 0.45rem;
  font-size: 0.95rem;
  text-transform: lowercase;
  border-radius: 40% 60% 50% 50% / 50% 40% 60% 50%;
  transform: rotate(-2deg);
  mix-blend-mode: multiply;
}
.badge--ok {
  background: var(--ink);
  color: #e8cfa0;
  mix-blend-mode: normal;
}
.badge--bad {
  background: #6e0e0e;
  color: #e8cfa0;
  border-color: #6e0e0e;
  mix-blend-mode: normal;
}
.badge--info {
  background: transparent;
}

.big-when {
  font-size: clamp(1.5rem, 4vw, 2.1rem);
  margin: 0.25rem 0;
  transform: rotate(-0.75deg);
}

.summary {
  margin: 0;
  display: grid;
  gap: 0.35rem;
}
.summary__row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  border-bottom: 2px dashed rgba(28, 17, 8, 0.4);
  padding: 0.25rem 0;
  transform: rotate(-0.2deg);
}
.summary__row:nth-child(even) {
  transform: rotate(0.3deg);
}

.cal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

/* ---------- Features / privacy ---------- */

.features {
  display: grid;
  gap: 0.8rem;
  margin: 1.55rem auto;
  text-align: center;
}
@media (min-width: 640px) {
  .features {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.feature {
  display: grid;
  gap: 0.25rem;
  justify-items: center;
  padding: 0.85rem 0.9rem;
}
.feature__title {
  font-size: 1.18rem;
}
.feature__text {
  font-size: 1.02rem;
  color: var(--ink-soft);
  max-width: 28ch;
}

.privacy {
  text-align: left;
}
.privacy__title {
  font-size: 1.28rem;
  text-align: center;
}
.privacy__list {
  margin: 0;
  padding-left: 1.1rem;
  display: grid;
  gap: 0.45rem;
  color: var(--ink-soft);
  font-size: 1.05rem;
}
.privacy__prose {
  padding-left: 0;
  list-style: none;
  text-align: left;
}
.privacy__prose p {
  margin: 0;
}
.privacy__more {
  text-align: center;
  margin-top: 0.7rem;
}
.privacy__list strong {
  color: var(--ink);
  font-weight: 400;
}

/* ---------- Docs (same cardboard, but calm + readable) ---------- */

body.page-doc .glass,
body.page-doc .card,
body.page-doc .doc {
  transform: none;
  mix-blend-mode: normal;
  background: rgba(232, 207, 160, 0.42);
  border: 3px solid var(--ink);
  box-shadow: 3px 4px 0 rgba(10, 7, 4, 0.18);
}
body.page-doc .brand,
body.page-doc .eyebrow,
body.page-doc .site-header,
body.page-doc .site-footer,
body.page-doc .header-status {
  transform: none;
}
body.page-doc h1,
body.page-doc h2,
body.page-doc p,
body.page-doc li,
body.page-doc a,
body.page-doc span,
body.page-doc strong {
  mix-blend-mode: normal;
}

.doc {
  display: grid;
  gap: 1.15rem;
  margin-top: 0.7rem;
  font-size: 1.08rem;
  line-height: 1.55;
  color: var(--ink-soft);
  text-align: left;
}
.doc__intro {
  display: grid;
  gap: 0.55rem;
  text-align: center;
}
.doc__intro p {
  text-align: left;
}
.doc__meta {
  font-size: 0.95rem;
  color: var(--ink-faint);
}
.doc section {
  display: grid;
  gap: 0.5rem;
  scroll-margin-top: 4rem;
}
.doc h1 {
  font-size: clamp(1.85rem, 5vw, 2.45rem);
  color: var(--ink);
  text-align: center;
}
.doc h2 {
  font-size: 1.22rem;
  color: var(--ink);
}
.doc ul {
  margin: 0;
  padding-left: 1.15rem;
  display: grid;
  gap: 0.4rem;
}
.doc strong {
  color: var(--ink);
  font-weight: 400;
}
.doc a {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.15em;
}
.doc__callout {
  padding: 0.7rem 0.9rem;
  border: 3px solid var(--ink);
  background: rgba(70, 42, 14, 0.06);
  color: var(--ink);
  border-radius: 2px;
}
.doc-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.35rem 0.9rem;
  font-size: 1rem;
}
.doc-nav a {
  color: var(--ink);
}

/* ---------- Admin ---------- */

.row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}
.row--between {
  justify-content: space-between;
}
.row--end {
  justify-content: flex-end;
}

.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0.75rem 0;
}
.tab {
  font: inherit;
  font-size: 1.02rem;
  background: transparent;
  border: 2.5px solid var(--ink);
  color: var(--ink);
  padding: 0.32rem 0.65rem;
  border-radius: 40% 60% 45% 55% / 55% 40% 60% 45%;
  transform: rotate(-0.7deg);
  mix-blend-mode: multiply;
}
.tab:nth-child(even) {
  transform: rotate(0.85deg);
}
.tab[aria-selected="true"],
.tab.is-active {
  background: var(--ink);
  color: #e8cfa0;
  mix-blend-mode: normal;
}

.table-wrap {
  overflow-x: auto;
  min-width: 0;
}
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.98rem;
}
th,
td {
  text-align: left;
  padding: 0.38rem 0.4rem;
  border-bottom: 2px solid rgba(28, 17, 8, 0.28);
  vertical-align: top;
}
th {
  white-space: nowrap;
  color: var(--ink-soft);
  font-weight: 400;
}

.stat {
  display: grid;
  gap: 0.1rem;
  transform: rotate(-0.45deg);
}
.stat__label {
  font-size: 0.92rem;
  color: var(--ink-faint);
}
.stat__value {
  font-size: 1.4rem;
}

.kv {
  display: grid;
  gap: 0.25rem;
}
.window-row,
.windows {
  display: grid;
  gap: 0.4rem;
}

.toast-host {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  display: grid;
  gap: 0.4rem;
  z-index: 50;
  max-width: min(90vw, 22rem);
}
.toast {
  border: 2.75px solid var(--ink);
  background: #e8cfa0;
  color: var(--ink);
  padding: 0.5rem 0.75rem;
  box-shadow: 3px 4px 0 rgba(28, 17, 8, 0.22);
  font-size: 1.02rem;
  border-radius: 2px 10px 3px 8px / 8px 2px 10px 3px;
  transform: rotate(-1.1deg);
}
.toast--error {
  border-color: #6e0e0e;
  color: #6e0e0e;
  transform: rotate(0.9deg);
}

.center-page {
  min-height: 70vh;
  display: grid;
  place-content: center;
  text-align: center;
  gap: 0.8rem;
}

a:focus-visible,
button:focus-visible,
.input:focus-visible,
.select:focus-visible,
.textarea:focus-visible,
.choice:focus-visible,
.chip:focus-visible,
.day:focus-visible,
.slot:focus-visible,
.tab:focus-visible {
  outline: 3px dashed var(--ink);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
  h1,
  h2,
  h3,
  .glass,
  .card,
  .btn,
  .choice,
  .chip,
  .day,
  .slot,
  .notice,
  .brand,
  .lede,
  .privacy,
  .field {
    transform: none !important;
  }
}
