/* icooley.com — a doc-like page in the Notion register.
   Centered masthead, left-aligned column, warm near-black ink,
   emoji callouts, quote blocks, one blue primary action. */

* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --bg: #ffffff;
  --text: #37352f;
  --muted: #787774;
  --callout: #f7f7f5;
  --border: #e9e9e7;
  --quote-bar: #37352f;
  --blue: #2383e2;
  --blue-hover: #1b74cc;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #191919;
    --text: #d3d3d0;
    --muted: #9b9b98;
    --callout: #232323;
    --border: #2f2f2f;
    --quote-bar: #d3d3d0;
    --blue: #2383e2;
    --blue-hover: #3a95ef;
  }
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  font-size: 1.0625rem;
  line-height: 1.62;
  padding: 5rem 1.5rem 5rem;
  -webkit-font-smoothing: antialiased;
}

/* ~72ch measure at this type size — the readable range */
.page { max-width: 40rem; margin: 0 auto; }

@media (max-width: 600px) {
  body { padding-top: 3rem; }
  h1 { font-size: 2.1rem !important; }
}

a { color: inherit; text-decoration: underline; text-decoration-color: var(--muted); text-underline-offset: 3px; }
a:hover { background: var(--callout); }

/* ---------- page header ---------- */
.masthead { text-align: center; }

.portrait {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  margin: 0 auto;
}

h1 {
  font-size: 2.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-top: 1.4rem;
}

.tagline {
  font-size: 1.15rem;
  max-width: 30rem;
  margin: 0.9rem auto 0;
}

.meta {
  margin-top: 0.9rem;
  color: var(--muted);
  font-size: 0.95rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.4rem 1.4rem;
}

.cta-row { margin-top: 1.6rem; }

.masthead button, a.btn {
  all: revert;
  display: inline-block;
  font-family: inherit !important;
  font-size: 1rem !important;
  font-weight: 550 !important;
  color: #fff !important;
  background: var(--blue) !important;
  border: none !important;
  border-radius: 6px !important;
  height: auto !important;
  padding: 0.65rem 1.5rem !important;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.15s ease;
}

.masthead button:hover, a.btn:hover { background: var(--blue-hover) !important; }

.fine-print { color: var(--muted); font-size: 0.87rem; margin-top: 0.65rem; }

/* ---------- sections ---------- */
/* more air above a heading than below it, so sections scan cleanly */
section { margin-top: 3.4rem; }

section p + p { margin-top: 0.9rem; }

/* the logo carousel sits directly under the booking CTA, as a divider */
.masthead + section { margin-top: 2.2rem; }

h2 {
  font-size: 1.35rem;
  font-weight: 650;
  letter-spacing: -0.01em;
  margin-bottom: 1.1rem;
}

/* ---------- callouts ---------- */
.callout {
  display: flex;
  gap: 0.85rem;
  background: var(--callout);
  border-radius: 6px;
  padding: 1rem 1.1rem;
  margin-bottom: 0.6rem;
}

.callout .icon { font-size: 1.25rem; line-height: 1.5; flex: none; }

.callout h3 { font-size: 1.05rem; font-weight: 650; margin-bottom: 0.25rem; }
.callout p { font-size: 1rem; }

/* ---------- logo carousel ---------- */
/* a slow continuous marquee: the track holds two copies of the
   sequence and slides half its width, so the loop is seamless */
.carousel {
  overflow: hidden;
  padding: 0.5rem 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.carousel-track {
  display: flex;
  align-items: center;
  gap: 3rem;
  width: max-content;
  animation: logo-scroll 45s linear infinite;
}

.carousel:hover .carousel-track { animation-play-state: paused; }

@keyframes logo-scroll { to { transform: translateX(-50%); } }

@media (prefers-reduced-motion: reduce) {
  .carousel { overflow-x: auto; -webkit-mask-image: none; mask-image: none; }
  .carousel-track { animation: none; }
}

.carousel-track img {
  height: 38px; width: auto; max-width: 150px; object-fit: contain;
  flex: none;
  opacity: 0.92;
}
.carousel-track img.md { height: 50px; }
.carousel-track img.tall { height: 62px; }
.carousel-track img.wide { height: 30px; }
.carousel-track img.boxed { height: 78px; max-width: 78px; mix-blend-mode: multiply; }

@media (prefers-color-scheme: dark) {
  .carousel-track img {
    background: #f2f1ec;
    padding: 7px 12px;
    border-radius: 6px;
  }
  .carousel-track img.boxed { mix-blend-mode: normal; }
}

/* ---------- quote blocks ---------- */
blockquote {
  border-left: 3px solid var(--quote-bar);
  padding: 0.1rem 0 0.1rem 1.1rem;
  margin: 1.7rem 0;
}

blockquote:first-of-type { margin-top: 0; }

blockquote footer {
  margin-top: 0.45rem;
  font-size: 0.85rem;
  color: var(--muted);
}

/* ---------- closing CTA panel ---------- */
.closing {
  background: rgba(35, 131, 226, 0.07);
  border: 1px solid rgba(35, 131, 226, 0.22);
  border-radius: 12px;
  padding: 2.2rem 2rem;
  text-align: center;
}

@media (prefers-color-scheme: dark) {
  .closing {
    background: rgba(35, 131, 226, 0.12);
    border-color: rgba(35, 131, 226, 0.3);
  }
}

.closing h2 { font-size: 1.55rem; }

.closing p { max-width: 32rem; margin-left: auto; margin-right: auto; }

/* ---------- footer ---------- */
.site-footer {
  border-top: 1px solid var(--border);
  margin-top: 3rem;
  padding-top: 1.6rem;
  font-size: 0.9rem;
  color: var(--muted);
  text-align: center;
}

.site-footer p + p { margin-top: 0.4rem; }
