/* Design tokens: colours, fonts and radii live only here. */
:root {
  --blue:       #E4F1FB; /* very light blue: page ground, reading bands */
  --blue-2:     #CBE3F6; /* slightly deeper light blue for tiles */
  --blush:      #FBDCE2; /* palest pink */
  --pink:       #F59BB0; /* pink: title bands and big tiles with large type only */
  --blood:      #A60F1E; /* blood red: all text, solid tiles */
  --blood-deep: #7E0A16; /* hover state for blood red buttons */
  --white:      #FFFFFF;
  --hairline:   rgba(166, 15, 30, 0.3);
  --display: 'DM Serif Display', 'Times New Roman', serif;
  --body:    'Hanken Grotesk', system-ui, sans-serif;
  --radius-pill: 999px;

  --row: 21vw;
  --pad: clamp(20px, 3vw, 44px);
  --ease: 220ms ease;
}

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

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

body {
  margin: 0;
  background: var(--blue);
  color: var(--blood);
  font-family: var(--body);
  font-size: 18px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, p, blockquote, figure { margin: 0; }

a { color: inherit; }

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

:focus-visible {
  outline: 2px solid var(--blood);
  outline-offset: 3px;
}
.on-blood :focus-visible { outline-color: var(--blue); }

.skip-link {
  position: absolute;
  left: 16px;
  top: -100px;
  z-index: 100;
  padding: 10px 18px;
  background: var(--blood);
  color: var(--blue);
  font-weight: 600;
  border-radius: var(--radius-pill);
  text-decoration: none;
}
.skip-link:focus { top: 12px; }

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
  padding: 22px var(--pad) 12px;
  background: var(--blue);
  border-bottom: 1px solid var(--hairline);
}

.header-centre {
  grid-column: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.site-name {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(36px, 4.8vw, 72px);
  line-height: 1;
  letter-spacing: -0.02em;
  text-decoration: none;
  text-align: center;
}

.tabs ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.tabs a {
  display: inline-flex;
  align-items: center;
  height: 44px;
  padding: 0 20px;
  border: 1.5px solid transparent;
  border-radius: var(--radius-pill);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: border-color var(--ease), background-color var(--ease), color var(--ease);
}
.tabs a:hover { border-color: var(--blood); }
.tabs a[aria-current="page"] {
  background: var(--blood);
  border-color: var(--blood);
  color: var(--blue);
}

.social {
  grid-column: 3;
  justify-self: end;
  display: flex;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.social a {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border: 1.5px solid var(--blood);
  border-radius: 50%;
  transition: background-color var(--ease), color var(--ease);
}
.social svg { width: 28px; height: 28px; }
.social a:hover { background: var(--blood); color: var(--blue); }

/* ---------- Title band (h1 on every page) ---------- */

.title-band {
  display: flex;
  align-items: center;
  min-height: var(--row);
  padding: var(--pad);
  background: var(--pink);
}

.page-title {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(60px, 10.4vw, 160px);
  line-height: 0.95;
  letter-spacing: -0.025em;
}

.title-band--compact { min-height: 0; padding-block: clamp(36px, 4.4vw, 64px); }
.title-band--compact .page-title { font-size: clamp(40px, 4.2vw, 60px); }

/* ---------- Mosaic ---------- */

.mosaic {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: var(--row);
  gap: 0;
}

.tile {
  position: relative;
  padding: var(--pad);
  overflow: hidden;
}
.span-2 { grid-column: span 2; }
.span-2x2 { grid-column: span 2; grid-row: span 2; }

.bg-blue   { background: var(--blue); }
.bg-blue-2 { background: var(--blue-2); }
.bg-blush  { background: var(--blush); }
.bg-pink   { background: var(--pink); }
.bg-blood  { background: var(--blood); color: var(--blush); }

.icon-tile {
  display: grid;
  place-items: center;
  color: var(--blood);
}
.icon-tile.bg-blood { color: var(--blue); }
.icon-tile svg { width: 44%; height: auto; }

/* ---------- About ---------- */

.portrait { padding: 0; background: var(--blush); }
.portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 16%;
}

.quote-tile {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 24px;
}

.pull-quote {
  font-family: var(--display);
  font-size: clamp(44px, 5.6vw, 80px);
  line-height: 0.96;
  letter-spacing: -0.015em;
}

.pill {
  display: inline-block;
  border-radius: var(--radius-pill);
  font-family: var(--body);
}

.credit {
  padding: 8px 18px;
  background: var(--blood);
  color: var(--blue);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.4;
}

.reading {
  display: grid;
  grid-template-columns: 3fr 1fr;
  gap: clamp(32px, 8vw, 140px);
  padding: clamp(40px, 4.4vw, 64px) var(--pad);
  background: var(--blue);
}

.reading-text { max-width: 46em; }

.lead {
  max-width: 17em;
  margin-bottom: 1.2em;
  font-family: var(--display);
  font-size: clamp(28px, 3vw, 44px);
  line-height: 1.2;
}

.body-copy p {
  font-size: clamp(18px, 1.5vw, 22px);
  line-height: 1.7;
}
.body-copy p + p { margin-top: 1.1em; }

.icon-stack {
  display: grid;
  grid-auto-rows: 1fr;
}
.icon-stack .tile { min-height: 0; }
.icon-stack .icon-tile svg { width: 44%; }

.closing {
  padding: clamp(56px, 8vw, 120px) var(--pad);
  background: var(--blood);
  color: var(--blush);
}
.closing p {
  max-width: 14em;
  font-family: var(--display);
  font-style: italic;
  font-size: clamp(36px, 5.6vw, 80px);
  line-height: 1;
  letter-spacing: -0.015em;
}
.closing em { color: var(--blue); font-style: italic; }

/* ---------- Coming soon (Resources, Events) ---------- */

.soon-tile {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
}

.badge {
  padding: 0.3em 0.7em;
  border: 1.5px solid var(--blood);
  font-size: clamp(22px, 2.4vw, 36px);
  font-weight: 500;
  line-height: 1.3;
}

.soon-text {
  max-width: 24em;
  font-size: clamp(20px, 1.8vw, 26px);
  line-height: 1.5;
}

/* ---------- 1:1 sessions ---------- */

.sessions .session { grid-row: span 2; }

.session {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  color: var(--blood);
}
.session.bg-blood { color: var(--blush); }

.duration {
  padding: 4px 14px;
  border: 1.5px solid currentColor;
  font-size: 15px;
  font-weight: 500;
}

.session-title {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(34px, 4.2vw, 62px);
  line-height: 1.02;
  letter-spacing: -0.015em;
}

.session-desc {
  max-width: 28em;
  font-size: clamp(18px, 1.5vw, 22px);
  line-height: 1.6;
}

.session-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  margin-top: auto;
  padding-top: 24px;
}

.price {
  font-family: var(--display);
  font-size: clamp(64px, 6.4vw, 96px);
  line-height: 1;
  letter-spacing: -0.02em;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 52px;
  padding: 0 30px;
  border: 0;
  border-radius: var(--radius-pill);
  font-family: var(--body);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: background-color var(--ease), color var(--ease), transform var(--ease);
}
.button:hover { transform: translateY(-2px); }

.button--blood { background: var(--blood); color: var(--blue); }
.button--blood:hover { background: var(--blood-deep); }
.button--light { background: var(--blue); color: var(--blood); }
.button--light:hover { background: var(--white); }

/* ---------- Footer ---------- */

.site-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  padding: clamp(32px, 3vw, 44px) var(--pad);
  background: var(--blush);
}
.footer-name {
  font-family: var(--display);
  font-size: 40px;
  line-height: 1.1;
  letter-spacing: -0.015em;
}
.footer-domain { font-size: 14px; font-weight: 500; }

/* ---------- Mobile ---------- */

@media (max-width: 760px) {
  .site-header {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 12px;
    padding: 14px 16px 10px;
  }
  .social { grid-column: 1; grid-row: 1; justify-self: center; }
  .header-centre { grid-column: 1; grid-row: 2; }
  .social a { width: 44px; height: 44px; }
  .social svg { width: 22px; height: 22px; }
  .tabs a { padding: 0 14px; }

  .mosaic {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: auto;
  }
  .span-2, .span-2x2, .sessions .session { grid-column: 1 / -1; grid-row: auto; }

  .tile { min-height: 50vw; }
  .icon-tile { aspect-ratio: 1; min-height: 0; }
  .icon-tile svg { width: 56%; }
  .portrait { aspect-ratio: 4 / 5; min-height: 0; }
  .quote-tile { padding-block: 48px; }
  .session { min-height: 0; padding-block: 40px; }

  .reading { grid-template-columns: 1fr; gap: 40px; }
  .icon-stack { grid-template-columns: repeat(4, 1fr); grid-auto-rows: auto; }
  .icon-stack .icon-tile svg { width: 56%; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
  .button:hover { transform: none; }
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.email-note {
  padding: clamp(28px, 3vw, 44px) var(--pad);
  background: var(--blue);
  font-size: clamp(18px, 1.5vw, 22px);
  line-height: 1.5;
}
.email-note a {
  font-weight: 600;
  text-underline-offset: 3px;
  overflow-wrap: anywhere;
  user-select: all;
}
.email-note a:hover { color: var(--blood-deep); }
