@font-face {
  font-family: Caveat;
  src: url("/assets/caveat.7062df7fee2e.ttf") format("truetype");
  font-weight: 500;
  font-display: swap;
}
* {
  box-sizing: border-box;
}
html {
  font-family: Arial, Helvetica, sans-serif;
  color: #30352b;
  background: #f7f8f4;
}
body {
  margin: 0;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
button {
  font: inherit;
  cursor: pointer;
}
button:focus-visible,
a:focus-visible {
  outline: 3px solid #8b985c;
  outline-offset: 4px;
}
main {
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 55px 24px;
}
.prompt-window {
  width: min(100%, 720px);
  background: #fff;
  border: 1px solid #dce1d5;
  border-radius: 17px;
  overflow: hidden;
  box-shadow: 0 20px 80px #29381907;
}
.prompt-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 19px 28px;
  border-bottom: 1px solid #eef0e9;
}
.assistant-name {
  font-size: 14px;
  font-weight: 550;
  display: flex;
  align-items: center;
  gap: 11px;
}
.assistant-name > span {
  font-size: 24px;
  font-weight: 400;
}
#restart {
  border: 0;
  background: transparent;
  color: #7e8971;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  font-size: 22px;
}
#restart:hover {
  background: #eef1e6;
}
.conversation {
  padding: 27px 30px;
  display: flex;
  flex-direction: column;
  gap: 27px;
  max-height: 370px;
  overflow: auto;
  scrollbar-width: thin;
  scrollbar-color: #d4ddc6 transparent;
}
.message {
  max-width: 94%;
  flex-shrink: 0;
}
.speaker {
  display: block;
  font: 12px monospace;
  letter-spacing: 1px;
  color: #536047;
  margin-bottom: 9px;
}
.message p {
  font-size: 16px;
  line-height: 1.7;
  margin: 0;
}
.user {
  align-self: flex-end;
  max-width: 91%;
}
.user .speaker {
  text-align: right;
}
.user p {
  background: #f0f3e9;
  padding: 15px 19px;
  border-radius: 12px 12px 2px 12px;
  color: #536144;
}
.assistant p {
  padding-right: 6px;
}
.reply-area {
  padding: 23px 28px 16px;
  border-top: 1px solid #e8eddf;
  background: #fcfdf9;
}
.reply-heading {
  font: 12px monospace;
  letter-spacing: 1px;
  color: #536047;
  margin-bottom: 15px;
}
.reply {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 17px;
  padding: 14px 17px;
  border: 1px solid #dce3d0;
  border-radius: 8px;
  background: white;
  color: #515f40;
  text-align: left;
  font-size: 15px;
  line-height: 1.5;
  margin: 9px 0;
  transition:
    background 0.2s,
    border 0.2s;
}
.reply:hover:not(:disabled) {
  background: #f2f5df;
  border-color: #acb87f;
}
.reply:disabled {
  opacity: 0.5;
  cursor: default;
}
.skill-odds {
  font: 13px monospace;
  color: #435527;
}
.typing-status {
  font-size: 12px;
  color: #536047;
  text-align: center;
  min-height: 18px;
  margin: 16px 0 0;
}
.scenario-note {
  font-size: 12px;
  color: #536047;
  padding: 10px 20px 18px;
  text-align: center;
  background: #fcfdf9;
  line-height: 1.5;
}
.invitation {
  padding: 8px 0 15px;
}
.eyebrow {
  font: 12px monospace;
  letter-spacing: 1.3px;
  color: #536047;
}
.invitation h1 {
  font-size: 35px;
  letter-spacing: -1.2px;
  line-height: 1.15;
  font-weight: 550;
  margin: 18px 0;
}
.invitation p {
  font-size: 16px;
  line-height: 1.7;
  color: #7d896d;
  max-width: 510px;
}
.contact {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  background: #e4eaa4;
  color: #415029;
  padding: 16px 20px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 15px;
  margin-top: 23px;
}
.contact:hover {
  background: #d7e285;
}
.try-again {
  border: 0;
  background: transparent;
  color: #536047;
  font-size: 13px;
  margin-top: 19px;
  padding: 0;
  text-decoration: underline;
  text-underline-offset: 4px;
}
@media (max-width: 600px) {
  main {
    padding: 18px 12px;
    align-items: flex-start;
  }
  .prompt-top {
    padding: 15px 20px;
  }
  .conversation {
    padding: 22px 20px;
    max-height: 43svh;
    gap: 22px;
  }
  .message p {
    font-size: 15px;
  }
  .reply-area {
    padding: 21px 18px 12px;
  }
  .reply {
    font-size: 14px;
    padding: 13px 14px;
  }
  .invitation h1 {
    font-size: 29px;
  }
  .user {
    max-width: 95%;
  }
  .scenario-note {
    font-size: 12px;
    padding: 10px 18px 17px;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
.message p.typing::after {
  content: "";
  display: inline-block;
  width: 2px;
  height: 1.05em;
  background: #7b895f;
  margin-left: 3px;
  vertical-align: -2px;
  animation: cursor-pulse 0.8s steps(2) infinite;
}
.thinking {
  display: flex;
  gap: 5px;
  align-items: center;
  min-height: 28px;
}
.thinking span {
  font-size: 30px;
  line-height: 0.6;
  color: #536047;
  animation: thinking-dot 1.1s ease-in-out infinite;
}
.thinking span:nth-child(2) {
  animation-delay: 0.17s;
}
.thinking span:nth-child(3) {
  animation-delay: 0.34s;
}
.message {
  animation: message-in 0.25s ease-out;
}
.assistant-name > span {
  color: #71834f;
}
.conversation {
  min-height: 230px;
}
@keyframes thinking-dot {
  0%,
  70%,
  100% {
    opacity: 0.25;
    transform: translateY(0);
  }
  35% {
    opacity: 1;
    transform: translateY(-4px);
  }
}
@keyframes cursor-pulse {
  50% {
    opacity: 0;
  }
}
@keyframes message-in {
  from {
    opacity: 0;
    transform: translateY(5px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@media (prefers-reduced-motion: reduce) {
  .message,
  .thinking span,
  .message p.typing::after {
    animation: none;
  }
}

.calendar-panel {
  background: white;
  border: 1px solid #dce0d5;
  border-radius: 14px;
  overflow: hidden;
}
.calendar-toolbar {
  padding: 23px 26px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
}
.calendar-toolbar h2 {
  font-size: 26px;
  font-weight: 550;
  margin: 0;
}
.calendar-toolbar h2 span {
  color: #536047;
  font-weight: 400;
}
.event-count {
  font-size: 14px;
  color: #6d775d;
}
.month-grid {
  table-layout: fixed;
  border-collapse: collapse;
  width: 100%;
}
.month-grid th {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 400;
  text-align: left;
  color: #7e876f;
  background: #f7f8f3;
  padding: 13px 16px;
  border-top: 1px solid #e8ebdf;
  border-bottom: 1px solid #e8ebdf;
}
.month-grid abbr {
  text-decoration: none;
}
.month-grid td {
  height: 106px;
  vertical-align: top;
  border: 1px solid #e8ebdf;
  padding: 14px 16px;
  font-size: 14px;
  color: #727b64;
}
.month-grid td:first-child {
  border-left: 0;
}
.month-grid td:last-child {
  border-right: 0;
}
.month-grid tr:last-child td {
  border-bottom: 0;
}
.month-grid .empty {
  background: #fbfcf8;
}
.month-grid .event-day {
  padding: 0;
  background: #f4f6cf;
}
.month-grid .techpro {
  background: #e8eddf;
}
.event-day a {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 106px;
  height: 100%;
  padding: 14px 16px;
  text-decoration: none;
  color: #384025;
  position: relative;
}
.event-day a:hover {
  background: #e6eaa9;
}
.event-day time {
  font-weight: 700;
}
.event-name {
  font-size: 14px;
  line-height: 1.4;
  font-weight: 550;
  overflow-wrap: anywhere;
}
.event-dot {
  display: none;
}
.calendar-instruction {
  font-size: 14px;
  color: #747e65;
  line-height: 1.6;
  margin: 16px 0 0;
}
.event-day {
  perspective: 800px;
}
.date-trigger {
  width: 100%;
  min-height: 106px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 14px 16px;
  border: 0;
  text-align: left;
  color: #384025;
  background: transparent;
  transition:
    transform 0.32s ease,
    background 0.2s;
  transform-origin: center;
  position: relative;
}
.date-trigger:hover {
  background: #e6eaa9;
}
.date-trigger.flipped {
  transform: rotateY(180deg);
  background: #dde4a6;
}
.date-trigger:focus-visible {
  outline-offset: -4px;
}
.flip-hint {
  font-size: 12px;
  color: #727d4b;
  margin-top: auto;
}
.event-details-button {
  margin-left: auto;
  border: 1px solid #cfd7be;
  border-radius: 7px;
  background: transparent;
  padding: 10px 14px;
  font-size: 14px;
  color: #586443;
  white-space: nowrap;
}
.event-details-button:hover {
  background: #e9edcf;
}
.event-modal-open {
  overflow: hidden;
}
.event-dialog {
  padding: 0;
  width: min(460px, calc(100% - 32px));
  max-height: calc(100dvh - 40px);
  border: 1px solid #d3dcc0;
  border-radius: 20px;
  background: #f9fbef;
  color: #293121;
  box-shadow: 0 28px 100px #18210c40;
  overflow: auto;
}
.event-dialog::backdrop {
  background: #20271866;
  backdrop-filter: blur(4px);
}
.event-dialog[open] {
  animation: card-turn 0.48s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.popup-content {
  padding: 36px;
  position: relative;
}
.popup-close {
  position: absolute;
  right: 16px;
  top: 13px;
  border: 0;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  background: #e9eddc;
  color: #5e6b4b;
  font-size: 25px;
  line-height: 1;
}
.popup-kicker {
  font: 12px monospace;
  letter-spacing: 1.5px;
  color: #536047;
  margin: 8px 32px 25px 0;
}
.popup-date {
  font-size: 14px;
  color: #697b47;
  line-height: 1.6;
}
.event-dialog h2 {
  font-size: 32px;
  line-height: 1.15;
  font-weight: 550;
  letter-spacing: -1px;
  margin: 12px 0 20px;
}
.event-dialog p {
  font-size: 16px;
  line-height: 1.7;
  color: #65734f;
}
.event-dialog .popup-note {
  font-size: 13px;
  border-top: 1px solid #dce3cb;
  padding-top: 16px;
  color: #536047;
}
.popup-link {
  display: block;
  border-radius: 9px;
  background: #e2e98f;
  padding: 15px 20px;
  color: #35411d;
  text-decoration: none;
  font-size: 15px;
  margin-top: 25px;
  font-weight: 550;
}
.popup-link:hover {
  background: #d5df70;
}
.popup-external {
  display: block;
  font-size: 12px;
  text-align: center;
  color: #536047;
  margin-top: 12px;
}
.event-dialog[data-event="techpro"] {
  background: #f2f6eb;
}
.event-dialog[data-event="techpro"] .popup-link {
  background: #dbe7c8;
}
@keyframes card-turn {
  from {
    opacity: 0;
    transform: perspective(900px) rotateY(-75deg) scale(0.88);
  }
  to {
    opacity: 1;
    transform: perspective(900px) rotateY(0) scale(1);
  }
}
@media (max-width: 700px) {
  .date-trigger {
    min-height: 65px;
    padding: 10px 4px;
    align-items: center;
    gap: 9px;
  }
  .flip-hint {
    display: none;
  }
  .popup-content {
    padding: 30px 25px;
  }
  .event-dialog h2 {
    font-size: 28px;
  }
  .event-details-button {
    font-size: 12px;
    padding: 9px 10px;
  }
  .event-card {
    flex-wrap: wrap;
  }
  .event-details-button {
    margin-left: 78px;
  }
  .event-card > div:nth-child(2) {
    flex: 1;
    min-width: 150px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .event-dialog[open] {
    animation: none;
  }
  .date-trigger.flipped {
    transform: none;
  }
}

main {
  flex-direction: column;
  gap: 46px;
}
.home-events {
  width: min(100%, 900px);
}
.home-events[hidden] {
  display: none;
}
.events-heading {
  margin-bottom: 22px;
}
.events-heading h2 {
  font-size: 32px;
  letter-spacing: -1px;
  font-weight: 550;
  margin: 12px 0;
}
.events-heading p {
  font-size: 14px;
  color: #536047;
  margin: 0;
  line-height: 1.6;
}
.calendar-toolbar h2 {
  margin: 0;
}
.calendar-panel {
  width: 100%;
}
.no-event-x {
  display: block;
  color: #bf6662;
  font-size: 23px;
  line-height: 1;
  margin-top: 16px;
  font-weight: 400;
}
.calendar-legend {
  display: flex;
  gap: 25px;
  flex-wrap: wrap;
  margin-top: 17px;
  font-size: 12px;
  color: #536047;
}
.calendar-legend > span {
  display: flex;
  align-items: center;
  gap: 8px;
}
.calendar-legend i {
  display: inline-block;
  width: 10px;
  height: 10px;
  background: #dbe49c;
  border-radius: 3px;
}
.calendar-legend b {
  color: #bf6662;
  font-size: 20px;
  font-weight: 400;
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.event-day .date-trigger {
  height: 100%;
  min-height: 123px;
}
.event-dialog .popup-close {
  font-family: Arial, sans-serif;
}
.home-events .event-name {
  font-size: 13px;
}
.home-events .flip-hint {
  font-size: 12px;
}
@media (max-width: 700px) {
  .home-events .calendar-toolbar {
    padding: 18px 13px;
  }
  .home-events .calendar-toolbar h2 {
    font-size: 21px;
  }
  .event-count {
    font-size: 12px;
  }
  .month-grid th {
    padding: 11px 3px;
    text-align: center;
    letter-spacing: 0;
  }
  .month-grid td {
    height: 70px;
    padding: 11px 4px;
    text-align: center;
  }
  .month-grid .event-day {
    padding: 0;
  }
  .event-day .date-trigger {
    min-height: 70px;
    padding: 11px 4px;
    align-items: center;
  }
  .home-events .event-name,
  .home-events .flip-hint {
    display: none;
  }
  .event-dot {
    display: block;
    width: 6px;
    height: 6px;
    background: #76854c;
    border-radius: 50%;
  }
  .no-event-x {
    margin-top: 10px;
    font-size: 19px;
  }
  .home-events {
    margin-bottom: 25px;
  }
  .events-heading h2 {
    font-size: 28px;
  }
  main {
    gap: 32px;
  }
}

:root {
  --ink: #20251f;
  --paper: #f6f7f4;
  --accent: #d8ef62;
  --quiet: #586448;
}
html {
  background: var(--paper);
  color: var(--ink);
  scroll-padding-top: 110px;
}
body {
  line-height: 1.5;
}
a {
  color: inherit;
}
button,
a,
summary {
  touch-action: manipulation;
}
button:focus-visible,
a:focus-visible,
summary:focus-visible {
  outline: 3px solid #849f31;
  outline-offset: 5px;
}
h1,
h2,
h3,
p {
  overflow-wrap: break-word;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 25px;
  padding: 20px 5%;
  border-bottom: 1px solid #dce0d5;
  background: #f6f7f4f2;
  backdrop-filter: blur(14px);
}
.wordmark {
  text-decoration: none;
  white-space: nowrap;
  font-size: 23px;
  letter-spacing: -1.1px;
  font-weight: 650;
}
.wordmark span {
  color: #92a331;
}
.site-header nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  margin: auto;
}
.site-header nav a {
  text-decoration: none;
  font-size: 14px;
  color: #536047;
  position: relative;
  padding: 7px 0;
}
.site-header nav a:hover,
.site-header nav a[aria-current] {
  color: var(--ink);
}
.site-header nav a[aria-current]:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 20px;
  height: 2px;
  background: #96aa3c;
}
.talk-button {
  border: 0;
  background: var(--accent);
  color: #29351c;
  padding: 12px 18px;
  border-radius: 6px;
  font-size: 14px;
  white-space: nowrap;
}
.talk-button span {
  margin-left: 12px;
}
.talk-button:hover,
.primary-link:hover {
  background: #cbe34e;
}
.skip-link {
  position: fixed;
  left: 20px;
  top: -100px;
  background: var(--accent);
  padding: 12px;
  z-index: 50;
}
.skip-link:focus {
  top: 12px;
}
.home-main {
  display: block;
  max-width: 1080px;
  margin: 0 auto;
  min-height: 0;
  padding: 0 34px;
}
.intro-stage {
  min-height: calc(100svh - 86px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 54px 0 70px;
}
.stage-caption {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: min(100%, 720px);
  margin-bottom: 19px;
  gap: 12px;
}
.eyebrow {
  color: #536047;
  font-size: 12px;
  letter-spacing: 1.4px;
  line-height: 1.6;
}
.stage-number {
  font: 12px monospace;
  color: #536047;
  white-space: nowrap;
}
.prompt-window {
  box-shadow: 0 20px 75px #23301108;
}
.prompt-controls {
  display: flex;
  align-items: center;
  gap: 13px;
}
#skip {
  border: 0;
  background: transparent;
  color: #536047;
  font-size: 12px;
  padding: 8px 0;
}
#skip:hover {
  text-decoration: underline;
}
.conversation {
  min-height: 250px;
}
.reply-area {
  min-height: 110px;
}
.reply:hover {
  background: #f0f5d8;
}
.home-main > .invitation {
  padding: 90px 0 80px;
  border-top: 1px solid #dce1d2;
  border-bottom: 1px solid #dce1d2;
  scroll-margin-top: 105px;
}
.invitation h1 {
  font-size: clamp(38px, 5vw, 65px);
  letter-spacing: -2.6px;
  max-width: 800px;
  margin: 24px 0;
}
.invitation p {
  font-size: 20px;
  max-width: 590px;
  color: var(--quiet);
  line-height: 1.7;
}
.primary-link {
  display: inline-flex;
  align-items: center;
  gap: 35px;
  text-decoration: none;
  border: 0;
  border-radius: 6px;
  background: var(--accent);
  color: #29351c;
  padding: 16px 22px;
  font-size: 15px;
  font-weight: 550;
  margin-top: 16px;
  cursor: pointer;
}
.home-main > .home-events {
  width: 100%;
  padding: 75px 0 85px;
}
.events-heading {
  margin-bottom: 29px;
}
.events-heading h2 {
  font-size: 38px;
  letter-spacing: -1.3px;
  margin: 13px 0;
}
.events-heading p {
  font-size: 16px;
  color: var(--quiet);
}
.month-grid td {
  position: relative;
  height: 126px;
}
.month-grid .no-event time {
  position: relative;
  z-index: 1;
  background: var(--paper);
  border-radius: 4px;
  padding: 2px;
}
.ink-x {
  position: absolute;
  inset: 17px 8px 4px;
  width: calc(100% - 16px);
  height: calc(100% - 21px);
  pointer-events: none;
  transform: rotate(-5deg);
}
.ink-x path {
  stroke: #b95c56;
  stroke-width: 3.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0.7;
}
.no-event:nth-child(3n) .ink-x {
  transform: rotate(7deg) scale(0.92, 1);
}
.no-event:nth-child(4n) .ink-x {
  transform: rotate(-10deg) scale(1, 0.94);
}
.no-event:nth-child(5n) .ink-x path {
  stroke-width: 3.2;
}
.month-grid .event-day {
  background: #e9f3b3;
}
.month-grid .techpro {
  background: #e2e9d6;
}
.date-trigger:hover {
  background: #dbe99d;
}
.calendar-legend {
  color: #6f7c5e;
  font-size: 13px;
}
.calendar-legend i {
  background: #d4e89c;
}
.home-events {
  scroll-margin-top: 115px;
}
.site-footer {
  max-width: 1080px;
  margin: auto;
  border-top: 1px solid #dce1d2;
  padding: 30px 34px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
}
.site-footer > span {
  font-size: 12px;
  color: #536047;
}
.site-footer > a:last-child {
  font-size: 13px;
  text-decoration: none;
  color: #586448;
}
.content-main {
  display: block;
  max-width: 1160px;
  margin: auto;
  padding: 70px 45px 90px;
  min-height: 70svh;
}
.page-intro {
  padding-bottom: 55px;
  max-width: 820px;
}
.page-intro h1,
.about-lead h1 {
  font-size: clamp(40px, 5vw, 67px);
  font-weight: 550;
  letter-spacing: -2.8px;
  line-height: 1.1;
  margin: 22px 0 28px;
}
.accent-dot {
  color: #95ae36;
}
.page-intro p {
  font-size: 19px;
  line-height: 1.7;
  color: var(--quiet);
  max-width: 580px;
}
.inline-link {
  display: inline-block;
  color: #56643f;
  font-size: 14px;
  margin-top: 15px;
  text-decoration: none;
  border-bottom: 1px solid #b8c49e;
  padding-bottom: 4px;
}
.work-list {
  border-top: 1px solid #cfd8c1;
}
.work-item {
  display: grid;
  grid-template-columns: 95px 1fr;
  gap: 25px;
  padding: 46px 0;
  border-bottom: 1px solid #dce1d2;
}
.work-index {
  font: 34px monospace;
  color: #b6c198;
  padding-top: 3px;
}
.work-copy {
  max-width: 760px;
}
.work-copy h2 {
  font-size: 34px;
  line-height: 1.2;
  font-weight: 550;
  letter-spacing: -1px;
  margin: 14px 0;
}
.work-copy .organisation {
  font-size: 14px;
  color: #536047;
  margin: 0 0 20px;
}
.work-copy > p {
  font-size: 17px;
  line-height: 1.75;
  color: #677755;
}
.work-copy details {
  border-top: 1px solid #dce2d2;
  margin-top: 27px;
}
.work-copy summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 0;
  font-size: 14px;
  display: flex;
  justify-content: space-between;
  color: #52653a;
}
.work-copy summary::-webkit-details-marker {
  display: none;
}
.work-copy summary span {
  font-size: 21px;
}
.work-copy details[open] summary span {
  transform: rotate(45deg);
}
.work-copy dl {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 15px 25px;
  font-size: 15px;
  line-height: 1.7;
}
.work-copy dt {
  color: #344623;
}
.work-copy dd {
  margin: 0;
  color: #788666;
}
.source-link {
  font-size: 13px;
  color: #74865a;
  display: inline-block;
  margin: 12px 0 18px;
}
.page-cta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  margin-top: 75px;
  padding-top: 50px;
  border-top: 1px solid #d4ddc6;
}
.page-cta h2 {
  font-size: 35px;
  line-height: 1.2;
  font-weight: 550;
  letter-spacing: -1px;
  margin: 0;
}
.page-cta .primary-link {
  white-space: nowrap;
}
.media-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-bottom: 80px;
}
.media-card {
  display: block;
  text-decoration: none;
  border: 1px solid #d9e1ce;
  border-radius: 11px;
  overflow: hidden;
  background: white;
  transition: transform 0.2s;
}
.media-card:hover {
  transform: translateY(-3px);
}
.media-art {
  position: relative;
  aspect-ratio: 16/9;
  background: #283c2f;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 20px;
  color: #e1efbb;
  font: 12px monospace;
  overflow: hidden;
}
.media-art img {
  position: absolute;
  width: 100%;
  height: 100%;
  inset: 0;
  object-fit: cover;
}
.media-art:has(img):after {
  content: "";
  position: absolute;
  inset: 40% 0 0;
  background: linear-gradient(transparent, #121b16b3);
}
.media-art > span {
  position: relative;
  z-index: 1;
}
.media-play {
  border: 1px solid #d3e4b688;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 23px;
}
.media-art.expats {
  background: #5a6757;
}
.media-art.ai-five {
  background: #d5e795;
  color: #43512a;
}
.media-art.ai-five:before {
  content: "AI / 5";
  position: absolute;
  left: 25px;
  top: 20px;
  font-size: 68px;
  letter-spacing: -5px;
}
.media-copy {
  padding: 25px;
}
.media-copy .eyebrow {
  font-size: 12px;
}
.media-copy h2 {
  font-size: 27px;
  line-height: 1.2;
  font-weight: 550;
  letter-spacing: -0.6px;
  margin: 14px 0;
}
.media-copy p {
  font-size: 16px;
  line-height: 1.7;
  color: #6f7e5e;
}
.media-copy .inline-link {
  margin: 10px 0;
}
.content-main > .home-events {
  width: 100%;
  padding-top: 20px;
}
.about-lead {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 65px;
  align-items: center;
}
.about-lead h1 {
  font-size: clamp(40px, 4.5vw, 57px);
}
.about-lead p {
  font-size: 17px;
  line-height: 1.8;
  color: #536047;
}
.about-lead .large-copy {
  font-size: 23px;
  line-height: 1.5;
  color: #374c27;
}
.portrait-frame {
  margin: 0;
  background: #e3e8db;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 4/5;
  position: relative;
}
.portrait-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}
.portrait-frame figcaption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 16px 20px;
  font-size: 12px;
  color: white;
  background: linear-gradient(transparent, #142314ad);
}
.portrait-fallback {
  font-size: 57px;
  line-height: 1.1;
  letter-spacing: -2px;
  padding: 35px;
  color: #52663c;
}
.portrait-fallback span {
  display: block;
  font: 12px monospace;
  letter-spacing: 0;
  margin-top: 25px;
}
.about-story {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 60px;
  padding-top: 70px;
  margin-top: 70px;
  border-top: 1px solid #d4ddc6;
}
.about-story h2 {
  font-size: 34px;
  font-weight: 550;
  line-height: 1.2;
  letter-spacing: -1px;
  margin-top: 0;
}
.about-story p {
  font-size: 17px;
  line-height: 1.8;
  color: #536047;
}
.bio-sources {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 25px;
}
.bio-sources a {
  font-size: 12px;
  color: #536047;
}
.contact-open {
  overflow: hidden;
}
.contact-dialog {
  width: min(460px, calc(100% - 30px));
  max-height: calc(100svh - 35px);
  border: 1px solid #d5dfc8;
  border-radius: 14px;
  padding: 0;
  color: var(--ink);
  background: var(--paper);
}
.contact-dialog::backdrop {
  background: #20251f66;
  backdrop-filter: blur(5px);
}
.contact-inner {
  padding: 42px 32px;
  position: relative;
}
.dialog-close {
  position: absolute;
  right: 15px;
  top: 13px;
  border: 0;
  background: transparent;
  font-size: 27px;
  color: #6c7d57;
  width: 35px;
  height: 35px;
}
.contact-inner h2 {
  font-size: 34px;
  font-weight: 550;
  line-height: 1.1;
  letter-spacing: -1px;
  margin: 20px 0;
}
.contact-inner p {
  font-size: 16px;
  line-height: 1.7;
  color: #536047;
}
.contact-inner .primary-link {
  display: flex;
  justify-content: space-between;
}
.contact-inner .contact-small {
  font-size: 13px;
  color: #536047;
  margin-top: 21px;
}
@media (max-width: 850px) {
  .site-header {
    gap: 15px;
    padding: 15px 4%;
  }
  .site-header nav {
    gap: 17px;
  }
  .wordmark {
    font-size: 20px;
  }
  .site-header nav a {
    font-size: 13px;
  }
  .talk-button {
    padding: 10px 12px;
    font-size: 13px;
  }
  .about-lead {
    gap: 30px;
  }
  .content-main {
    padding: 45px 28px 60px;
  }
  .work-item {
    grid-template-columns: 55px 1fr;
  }
  .media-copy {
    padding: 20px;
  }
  .about-story {
    gap: 30px;
  }
  .site-footer {
    padding-left: 28px;
    padding-right: 28px;
  }
}
@media (max-width: 650px) {
  .site-header {
    flex-wrap: wrap;
    justify-content: space-between;
    row-gap: 10px;
  }
  .site-header nav {
    order: 3;
    width: 100%;
    margin: 0;
    justify-content: space-between;
    gap: 8px;
  }
  .site-header nav a {
    font-size: 13px;
  }
  .talk-button {
    margin-left: auto;
  }
  .home-main {
    padding: 0 18px;
  }
  .intro-stage {
    min-height: calc(100svh - 121px);
    padding: 30px 0 45px;
  }
  .stage-caption .eyebrow {
    font-size: 10px;
    letter-spacing: 0.7px;
  }
  .stage-number {
    display: none;
  }
  .prompt-top {
    padding: 13px 16px;
  }
  .assistant-name {
    font-size: 13px;
    gap: 7px;
  }
  .prompt-controls {
    gap: 8px;
  }
  #skip {
    font-size: 11px;
  }
  .home-main > .invitation {
    padding: 55px 0;
  }
  .invitation h1 {
    font-size: 40px;
    letter-spacing: -1.6px;
  }
  .invitation p {
    font-size: 18px;
  }
  .home-main > .home-events {
    padding: 45px 0 55px;
  }
  .month-grid td {
    height: 77px;
  }
  .ink-x {
    inset: 22px 3px 3px;
    width: calc(100% - 6px);
    height: calc(100% - 25px);
  }
  .ink-x path {
    stroke-width: 5;
  }
  .site-footer {
    flex-wrap: wrap;
    gap: 16px;
    padding: 25px 20px;
  }
  .site-footer > span {
    order: 3;
    width: 100%;
  }
  .content-main {
    padding: 38px 20px 55px;
  }
  .page-intro h1,
  .about-lead h1 {
    font-size: 42px;
    letter-spacing: -1.6px;
  }
  .page-intro p {
    font-size: 17px;
  }
  .work-item {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 30px 0;
  }
  .work-index {
    font-size: 20px;
  }
  .work-copy h2 {
    font-size: 29px;
  }
  .work-copy dl {
    grid-template-columns: 1fr;
    gap: 5px;
  }
  .work-copy dd {
    margin-bottom: 13px;
  }
  .page-cta {
    display: block;
    margin-top: 50px;
    padding-top: 30px;
  }
  .page-cta h2 {
    font-size: 30px;
  }
  .page-cta .primary-link {
    margin-top: 25px;
  }
  .media-grid {
    grid-template-columns: 1fr;
    gap: 25px;
    margin-bottom: 45px;
  }
  .about-lead {
    grid-template-columns: 1fr;
    gap: 35px;
  }
  .portrait-frame {
    max-width: 440px;
    width: 100%;
  }
  .about-story {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 45px;
    padding-top: 35px;
  }
  .about-story h2 {
    font-size: 30px;
  }
  .contact-inner {
    padding: 40px 26px;
  }
  .home-events {
    scroll-margin-top: 140px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .media-card {
    transition: none;
  }
}

/* Editorial media collection */
.press-board {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 25px;
  padding: 8px 4px 35px;
}
.clipping {
  grid-column: span 3;
  display: flex;
  flex-direction: column;
  position: relative;
  padding: 32px;
  text-decoration: none;
  background: #fff;
  border: 1px solid #cdd3c7;
  box-shadow: 3px 5px 0 #20251f09;
  transition:
    transform 0.22s,
    box-shadow 0.22s;
  min-width: 0;
}
.clipping:hover,
.clipping:focus-visible {
  transform: translateY(-6px) rotate(0);
  box-shadow: 5px 12px 0 #20251f0d;
  z-index: 2;
}
.clip-meta {
  font: 12px/1.6 monospace;
  letter-spacing: 0.7px;
  color: #59614f;
  display: block;
}
.clipping h2 {
  font-size: clamp(28px, 3vw, 39px);
  line-height: 1.12;
  letter-spacing: -1.3px;
  font-weight: 550;
  margin: 25px 0 15px;
}
.clipping p {
  font-size: 16px;
  line-height: 1.7;
  color: #53604c;
  margin: 0 0 22px;
}
.margin-note {
  font-family: Caveat, cursive;
  font-size: 22px;
  font-weight: 400;
  line-height: 1.3;
  display: block;
  color: #8e443e;
  transform: rotate(-3deg);
  margin: 12px 0 25px;
}
.clip-link {
  font-size: 14px;
  border-top: 1px solid #20251f30;
  padding-top: 16px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: auto;
}
.profile-clip {
  grid-column: span 4;
  background: #202b24;
  color: #f6f7f4;
  transform: rotate(-0.6deg);
}
.profile-clip h2 {
  font-family: Georgia, serif;
  font-size: clamp(38px, 4.3vw, 57px);
  font-weight: 400;
  letter-spacing: -1.8px;
}
.profile-clip p,
.profile-clip .clip-meta {
  color: #d9e2d3;
}
.profile-clip .margin-note {
  color: #d8ef62;
}
.profile-clip .clip-link {
  border-color: #ffffff40;
}
.note-clip {
  grid-column: span 2;
  background: #e3ef9c;
  transform: rotate(1deg);
}
.note-clip h2 {
  font-size: clamp(30px, 3.2vw, 43px);
}
.news-clip {
  border-top: 5px solid #20251f;
}
.news-clip h2 {
  font-family: Georgia, serif;
  font-weight: 400;
}
.essay-clip {
  transform: rotate(0.6deg);
}
.team-clip {
  background: #e7ebe3;
  transform: rotate(-0.6deg);
}
.interview-clip h2 {
  font-family: Georgia, serif;
  font-weight: 400;
}
.archive-strip {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 25px;
  border-block: 1px solid #cdd3c7;
  text-decoration: none;
  padding: 24px 5px;
}
.archive-strip strong {
  display: block;
  font-size: 18px;
  font-weight: 500;
  margin-top: 5px;
}
.archive-strip > span:last-child {
  font-size: 28px;
}
.archive-strip:hover strong {
  text-decoration: underline;
}
.on-air {
  padding: 65px 0 70px;
}
.shelf-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  margin-bottom: 25px;
}
.shelf-heading h2 {
  font-size: 35px;
  font-weight: 550;
  letter-spacing: -1px;
  margin: 10px 0;
}
.shelf-heading .margin-note {
  max-width: 200px;
  font-size: 21px;
}
.podcast-shelf {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 23px;
}
.podcast-shelf .media-card {
  border-radius: 3px;
}
.podcast-shelf .media-copy {
  padding: 22px;
}
.podcast-shelf .media-copy h2 {
  font-size: 25px;
}
.podcast-shelf .media-copy p {
  color: #53604c;
}
.podcast-shelf .media-copy .eyebrow {
  color: #59614f;
}
.podcast-shelf .media-art.ai-five:before {
  font-size: 55px;
  top: 8px;
}
.podcast-shelf .media-art {
  padding: 15px;
}
@media (max-width: 850px) {
  .profile-clip,
  .note-clip {
    grid-column: span 3;
  }
  .clipping {
    padding: 25px;
  }
  .podcast-shelf {
    grid-template-columns: 1fr 1fr;
  }
  .shelf-heading .margin-note {
    font-size: 18px;
  }
}
@media (max-width: 650px) {
  .press-board {
    grid-template-columns: 1fr;
    gap: 24px;
    padding-inline: 3px;
  }
  .clipping,
  .profile-clip,
  .note-clip {
    grid-column: auto;
    padding: 27px;
  }
  .clipping h2 {
    font-size: 34px;
  }
  .profile-clip h2 {
    font-size: 42px;
  }
  .podcast-shelf {
    grid-template-columns: 1fr;
  }
  .shelf-heading {
    display: block;
  }
  .shelf-heading h2 {
    font-size: 31px;
  }
  .shelf-heading .margin-note {
    max-width: none;
    margin-top: 15px;
  }
  .on-air {
    padding: 45px 0;
  }
  .archive-strip strong {
    font-size: 16px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .clipping {
    transition: none;
  }
  .clipping:hover,
  .clipping:focus-visible {
    transform: none;
  }
}

.skill-reply {
  align-items: center;
  gap: 15px;
}
.skill-copy {
  display: flex;
  flex-direction: column;
  gap: 5px;
  text-align: left;
}
.skill-copy strong {
  font: 600 12px/1.5 monospace;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #435527;
}
.skill-copy > span {
  font-size: 15px;
  line-height: 1.5;
}
.skill-odds {
  font: 13px/1.5 monospace;
  white-space: nowrap;
  color: #536143;
}
.skill-check {
  border-block: 1px dashed #adb898;
  margin: 20px 0;
  padding: 18px 12px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px 20px;
  align-items: center;
  background: #eaf0de;
}
.check-title {
  font: 12px/1.5 monospace;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.dice-pair {
  display: flex;
  gap: 12px;
  grid-column: 2;
  grid-row: 1/3;
}
.die {
  font-family: "Apple Symbols", "Segoe UI Symbol", sans-serif;
  font-size: 49px;
  line-height: 1;
  width: 52px;
  height: 54px;
  display: grid;
  place-items: center;
  background: #fff;
  border: 1px solid #b9c1ae;
  border-radius: 8px;
  box-shadow: 2px 3px 0 #8b9876;
  color: #293b20;
}
.check-result {
  font: 600 13px/1.6 monospace;
  color: #405822;
}
.skill-check.failed {
  background: #f1e7e2;
}
.failed .check-result {
  color: #87463b;
}
.rolling .die {
  animation: die-tumble 0.25s ease-in-out infinite alternate;
}
.rolling .die:nth-child(2) {
  animation-delay: -0.12s;
}
.game-takeaway {
  font-family: Caveat, cursive;
  font-size: 24px !important;
  color: #8e443e !important;
  transform: rotate(-2deg);
  margin-bottom: 30px;
}
.game-takeaway[hidden] {
  display: none;
}
@keyframes die-tumble {
  from {
    transform: rotate(-12deg) translateY(-3px);
  }
  to {
    transform: rotate(12deg) translateY(2px);
  }
}
@media (max-width: 650px) {
  .skill-reply {
    padding: 12px;
  }
  .skill-copy > span {
    font-size: 14px;
  }
  .skill-odds {
    font-size: 12px;
  }
  .skill-check {
    gap: 10px;
    padding: 15px 9px;
  }
  .die {
    font-size: 38px;
    width: 40px;
    height: 43px;
  }
  .dice-pair {
    gap: 7px;
  }
  .check-title {
    font-size: 11px;
  }
  .check-result {
    font-size: 12px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .rolling .die {
    animation: none;
  }
}

/* Broad translucent ink and tactile dice faces. */
.month-grid .ink-x {
  overflow: visible;
  opacity: 0.83;
  scale: 0.85;
}
.month-grid .ink-x .marker-stroke {
  stroke: #d84f58;
  stroke-width: 4.2;
  stroke-linecap: butt;
  opacity: 0.4;
}
.month-grid .ink-x .marker-grain {
  stroke: #ba3545;
  stroke-width: 1.3;
  stroke-linecap: butt;
  opacity: 0.16;
}
.month-grid .no-event:nth-child(3n) .marker-stroke {
  stroke-width: 4.6;
  opacity: 0.35;
}
.month-grid .no-event:nth-child(5n) .marker-stroke {
  stroke-width: 3.8;
  opacity: 0.45;
}
.month-grid .no-event time {
  background: transparent;
}
.dice-pair {
  perspective: 450px;
  gap: 17px;
  padding: 5px 6px 10px;
}
.die {
  position: relative;
  box-sizing: border-box;
  width: 56px;
  height: 56px;
  padding: 10px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(3, 1fr);
  gap: 4px;
  border-radius: 11px;
  border: 1px solid #d0cec3;
  background: linear-gradient(145deg, #fffef9 8%, #f7f4ea 53%, #e0ded2 100%);
  box-shadow:
    inset 2px 2px 2px #fff,
    inset -2px -2px 3px #c5c2b766,
    1px 1px 0 #d1cec2,
    2px 3px 0 #b9b6aa,
    3px 5px 0 #aaa89b,
    4px 8px 10px #20251f30;
  transform: rotate(-9deg);
  font-size: inherit;
  transition: transform 0.25s;
}
.die:nth-child(2) {
  transform: rotate(10deg) translateY(-2px);
}
.die-pip {
  display: block;
  align-self: center;
  justify-self: center;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: radial-gradient(circle at 65% 70%, #485144, #1d251c 80%);
  box-shadow:
    inset 1px 1px 2px #0008,
    0 1px 0 #fff;
  grid-row: 2;
  grid-column: 2;
}
.pip-1 {
  grid-area: 1/1;
}
.pip-3 {
  grid-area: 1/3;
}
.pip-4 {
  grid-area: 2/1;
}
.pip-5 {
  grid-area: 2/2;
}
.pip-6 {
  grid-area: 2/3;
}
.pip-7 {
  grid-area: 3/1;
}
.pip-9 {
  grid-area: 3/3;
}
.rolling .die {
  animation: physical-roll 0.28s ease-in-out infinite alternate;
}
.rolling .die:nth-child(2) {
  animation-delay: -0.17s;
}
@keyframes physical-roll {
  0% {
    transform: translateY(-8px) rotate(-24deg) rotateX(18deg) rotateY(-16deg);
  }
  100% {
    transform: translateY(1px) rotate(20deg) rotateX(-10deg) rotateY(12deg);
  }
}
@media (max-width: 650px) {
  .dice-pair {
    gap: 12px;
    padding: 4px 4px 9px;
  }
  .die {
    width: 45px;
    height: 45px;
    border-radius: 9px;
    padding: 8px;
    gap: 3px;
  }
  .die-pip {
    width: 6px;
    height: 6px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .die {
    transition: none;
  }
  .rolling .die {
    animation: none;
  }
}
/* Dedicated calendar and owner editor */
.events-main .page-intro {
  padding-bottom: 35px;
}
.events-main .calendar-panel {
  padding-bottom: 15px;
}
.month-controls {
  display: flex;
  gap: 8px;
}
.month-controls button,
.calendar-subbar button,
#retry-events,
#admin-retry,
.form-actions > button:not(.primary-link),
.manage-list-heading button,
.event-row-actions button {
  border: 1px solid #bdc8ae;
  background: #fff;
  color: #33452b;
  border-radius: 5px;
  padding: 10px 15px;
  font-size: 14px;
  cursor: pointer;
}
.month-controls button:hover,
.calendar-subbar button:hover {
  background: #e8efdb;
}
button:disabled {
  opacity: 0.5;
  cursor: default;
}
.calendar-subbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 20px 15px;
  color: #586448;
  font-size: 14px;
}
.events-main #calendar-status {
  margin: 0 20px 15px;
  color: #586448;
  font-size: 15px;
}
.events-main #calendar-status:empty {
  display: none;
}
.calendar-event {
  display: block;
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 7px 3px;
  margin-top: 5px;
  border: 0;
  border-radius: 4px;
  background: #dae99a;
  color: #293d20;
  text-align: left;
  font-size: 13px;
  line-height: 1.3;
  cursor: pointer;
  overflow-wrap: anywhere;
}
.calendar-event:hover {
  background: #ccdf75;
}
.events-main .month-grid td {
  height: 125px;
  vertical-align: top;
  padding: 9px;
}
.events-main .month-grid .event-day {
  background: #edf3d9;
}
.calendar-today time {
  border-bottom: 2px solid #50612c;
  font-weight: 700;
}
.events-main .calendar-legend {
  margin: 18px 0 35px;
}
.month-agenda h2 {
  font-size: 27px;
  letter-spacing: -0.6px;
}
.agenda-event {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
  text-align: left;
  border: 0;
  border-bottom: 1px solid #d6ddcc;
  background: transparent;
  padding: 23px 0;
  cursor: pointer;
  color: #293924;
}
.agenda-event strong {
  font-size: 18px;
  font-weight: 500;
}
.agenda-event span {
  font-size: 15px;
  color: #586448;
}
.month-agenda p {
  font-size: 16px;
  color: #586448;
}
.event-workspace {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 65px;
  padding-top: 25px;
}
.event-workspace h2 {
  font-size: 25px;
  letter-spacing: -0.5px;
  font-weight: 550;
}
.event-workspace label {
  display: block;
  font-size: 15px;
  color: #3c4c31;
  margin-bottom: 21px;
}
.event-workspace label span {
  font-size: 13px;
  color: #748267;
}
.event-workspace input,
.event-workspace textarea {
  display: block;
  box-sizing: border-box;
  width: 100%;
  margin-top: 7px;
  padding: 12px;
  border: 1px solid #c6cfb9;
  border-radius: 5px;
  background: white;
  color: #20251f;
  font:
    16px/1.5 Arial,
    sans-serif;
}
.event-workspace textarea {
  resize: vertical;
}
.date-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}
.form-actions {
  display: flex;
  gap: 15px;
  align-items: center;
  flex-wrap: wrap;
}
.form-actions .primary-link {
  margin: 0;
}
.managed-event {
  padding: 21px 0;
  border-bottom: 1px solid #d5ddca;
}
.managed-event h3 {
  font-size: 19px;
  margin: 0 0 8px;
  font-weight: 550;
}
.managed-event p {
  font-size: 14px;
  color: #68775a;
  line-height: 1.7;
}
.event-row-actions {
  display: flex;
  gap: 10px;
}
.event-row-actions .delete-link {
  color: #923d3d;
  border-color: #d6b5b5;
  background: transparent;
}
.manage-list-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.danger-button {
  background: #973e3e !important;
  color: white !important;
  border-color: #973e3e !important;
}
#admin-status,
#form-status,
#delete-status {
  font-size: 15px;
  color: #526442;
}
#form-status:empty {
  display: none;
}
[hidden] {
  display: none !important;
}
@media (max-width: 850px) {
  .event-workspace {
    gap: 30px;
  }
  .site-header nav {
    gap: 15px;
  }
}
@media (max-width: 650px) {
  .calendar-toolbar {
    align-items: flex-start;
    gap: 15px;
    flex-wrap: wrap;
  }
  .month-controls {
    gap: 5px;
  }
  .month-controls button {
    padding: 8px 12px;
  }
  .calendar-subbar {
    padding-inline: 12px;
  }
  .events-main .month-grid td {
    height: 90px;
    padding: 4px;
  }
  .calendar-event {
    font-size: 11px;
    padding: 5px 2px;
  }
  .events-main .month-grid time {
    font-size: 13px;
  }
  .agenda-event {
    flex-direction: column;
    gap: 7px;
  }
  .event-workspace {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .date-fields {
    grid-template-columns: 1fr;
  }
  .site-header nav a {
    font-size: 12px;
  }
  .site-header nav {
    gap: 7px;
  }
}
/* Shared layouts and editorial workspace */
[hidden] {
  display: none !important;
}
input,
select,
textarea,
button {
  font: inherit;
}
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid #627d2c;
  outline-offset: 3px;
}
.identity {
  display: flex;
  flex-direction: column;
  text-decoration: none;
}
.identity-role {
  font: 12px/1.5 monospace;
  color: #536047;
}
.site-header nav {
  margin-left: auto;
  margin-right: 0;
}
.site-header nav a {
  font-size: 14px;
  color: #536047;
}
.menu-toggle {
  display: none;
}
.site-footer > div {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
.site-footer > div a {
  font-size: 13px;
  color: #536047;
}
.quiet {
  color: #536047;
}
.prompt-window {
  width: min(100%, 760px);
}
.stage-caption {
  width: min(100%, 760px);
}
.prompt-top {
  gap: 15px;
}
.prompt-controls button {
  min-height: 34px;
}
#instant {
  border: 0;
  background: transparent;
  color: #435527;
  font-size: 13px;
  padding: 8px 2px;
}
#skip {
  color: #536047;
  font-size: 13px;
}
.typing-status,
.scenario-note {
  font-size: 13px;
  color: #536047;
}
.skill-copy > span {
  font-size: 15px;
  color: #405333;
}
.skill-odds {
  color: #435527;
}
.continue-story {
  display: block;
  width: 100%;
  border: 1px solid #a9bc73;
  background: #e6efc6;
  border-radius: 6px;
  padding: 13px;
  color: #34472b;
  font-size: 15px;
}
.home-proof {
  padding: 65px 0 0;
}
.home-proof h2 {
  font-size: 38px;
}
.proof-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 35px;
}
.proof-grid a {
  text-decoration: none;
  border-top: 1px solid #adba98;
  padding-top: 22px;
}
.proof-grid a > span {
  font: 12px monospace;
  color: #536a3f;
}
.proof-grid h3 {
  font-size: 25px;
  line-height: 1.2;
  font-weight: 550;
}
.proof-grid p {
  color: #536047;
}
.proof-grid a:hover h3 {
  text-decoration: underline;
}
.work-note {
  margin-top: 35px;
  color: #536047;
}
.large-copy {
  font-size: 22px;
  line-height: 1.6;
}
.about-lead p,
.about-story p {
  color: #536047;
}
.contact-page {
  max-width: 950px;
}
.contact-options {
  border-top: 1px solid #d5dccb;
  margin: 15px 0 30px;
}
.contact-choice {
  padding: 25px 0;
  border-bottom: 1px solid #d5dccb;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 6px 20px;
  text-decoration: none;
}
.contact-choice > span:first-child {
  font-size: 14px;
  color: #536047;
}
.contact-choice strong {
  font-size: 26px;
  font-weight: 500;
  grid-column: 1;
  overflow-wrap: anywhere;
}
.contact-choice > span:last-child {
  grid-column: 2;
  grid-row: 1/3;
  font-size: 28px;
  align-self: center;
}
.contact-choice:hover strong {
  text-decoration: underline;
}
.media-filters,
.manager-tabs {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.media-filters button,
.manager-tabs button {
  border: 1px solid #bcc9aa;
  background: transparent;
  color: #3c512d;
  border-radius: 30px;
  padding: 9px 17px;
  font-size: 14px;
}
.media-filters [aria-pressed="true"],
.manager-tabs [aria-pressed="true"] {
  background: #273b28;
  color: white;
  border-color: #273b28;
}
.press-board {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.press-board .clipping {
  grid-column: auto;
}
.clip-image {
  width: calc(100% + 64px);
  height: auto;
  aspect-ratio: 16/9;
  object-fit: cover;
  margin: -32px -32px 25px;
}
.attribution {
  font-size: 13px;
  color: #536047;
}
.profile-clip .attribution {
  color: #d9e2d3;
}
.speaking-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  padding-top: 60px;
  scroll-margin-top: 110px;
}
.speaking-section h2 {
  font-size: 34px;
  font-weight: 550;
}
.speaking-section p,
.speaking-section li {
  color: #536047;
}
.speaker-kit {
  border-left: 1px solid #d5dccb;
  padding-left: 35px;
}
.speaker-kit a {
  display: block;
  font-size: 15px;
  margin: 12px 0;
}
.article-row {
  display: block;
  text-decoration: none;
  border-top: 1px solid #d5dccb;
  padding: 25px 0;
}
.article-row h3 {
  font-size: 26px;
  font-weight: 550;
}
.article-row p {
  color: #536047;
}
.article-row:hover h3 {
  text-decoration: underline;
}
.writing-list {
  margin-bottom: 40px;
}
.detail-page {
  max-width: 850px;
}
.detail-page h1 {
  font-size: clamp(38px, 5vw, 62px);
  line-height: 1.12;
  letter-spacing: -1.8px;
  font-weight: 550;
  margin-top: 24px;
}
.detail-kicker {
  display: block;
  margin-top: 40px;
}
.detail-image {
  width: 100%;
  height: auto;
  max-height: 480px;
  object-fit: cover;
  border-radius: 7px;
  margin: 25px 0;
}
.detail-page > p {
  line-height: 1.85;
  font-size: 17px;
}
.detail-actions {
  display: flex;
  gap: 25px;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 35px;
}
.preview-banner {
  background: #e8edca;
  padding: 14px 20px;
  border: 1px dashed #7e9149;
  color: #3c502b;
}
.next-up {
  margin: 0 0 35px;
  border-top: 1px solid #b8c797;
  padding: 22px 0 0;
}
.agenda-event {
  text-decoration: none;
}
.status-label {
  display: block;
  font-size: 13px;
  color: #963f46;
  text-transform: capitalize;
}
.calendar-legend {
  display: block;
  font-size: 13px;
  color: #536047;
  line-height: 1.8;
}
.legend-x {
  font:
    24px Caveat,
    cursive;
  color: #b9535c;
  margin: 0 5px;
}
.calendar-event {
  min-height: 30px;
  text-decoration: none;
  transition: transform 0.3s;
}
.calendar-event.flipped {
  transform: rotateY(180deg);
}
.calendar-mark {
  position: absolute;
  inset: 12px 7px 0;
  text-align: center;
  font:
    500 87px/1 Caveat,
    cursive;
  color: #d84f5877;
  transform: rotate(5deg);
  pointer-events: none;
}
.mark-1,
.mark-5 {
  transform: rotate(-8deg) scale(0.92);
}
.mark-3 {
  transform: rotate(10deg) scale(0.9, 1.04);
}
.marker-1 {
  stroke-width: 3.6 !important;
}
.marker-2 {
  stroke-width: 4.3 !important;
}
.marker-3 {
  stroke-width: 4.8 !important;
}
.past-events {
  margin-top: 40px;
}
.past-events summary {
  cursor: pointer;
  padding: 14px 0;
  font-size: 17px;
}
#event-popup-body {
  padding: 40px 30px;
}
.manager {
  max-width: 1320px;
}
.manager-toolbar {
  display: flex;
  align-items: flex-end;
  gap: 20px;
  flex-wrap: wrap;
  margin: 25px 0;
}
.manager-toolbar label {
  min-width: 180px;
}
.manager-toolbar .primary-link {
  margin-bottom: 20px;
}
.manager-layout {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 38px;
}
.manager label {
  display: block;
  margin-bottom: 20px;
  font-size: 14px;
  color: #3d4e30;
}
.manager label > span {
  font-size: 13px;
}
.manager input:not([type="checkbox"]),
.manager select,
.manager textarea {
  display: block;
  width: 100%;
  padding: 11px;
  border: 1px solid #b8c6a4;
  border-radius: 5px;
  background: white;
  color: #20251f;
  font-size: 16px;
  line-height: 1.5;
  margin-top: 7px;
}
.manager input[type="checkbox"] {
  margin-left: 12px;
  width: 20px;
  height: 20px;
  vertical-align: middle;
}
.manager textarea {
  resize: vertical;
}
.manager input[readonly] {
  background: #f0f3ea;
  color: #536347;
  font-size: 13px;
}
.manager button:not(.primary-link):not([data-kind]):not(.content-item) {
  background: white;
  border: 1px solid #b3c19f;
  border-radius: 5px;
  color: #3b512d;
  padding: 10px 15px;
  font-size: 14px;
}
.content-item {
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding: 18px;
  width: 100%;
  margin: 0 0 10px;
  text-align: left;
  border: 1px solid #d0d9c4;
  border-radius: 6px;
  background: white;
  color: #20251f;
}
.content-item.selected {
  border-color: #739242;
  background: #eef4dd;
}
.content-item strong {
  font-size: 16px;
  line-height: 1.4;
  font-weight: 550;
}
.content-item span {
  font-size: 13px;
  color: #536047;
}
.editor-panel {
  min-width: 0;
  padding-left: 30px;
  border-left: 1px solid #d5dccb;
}
.editor-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}
.editor-heading h2 {
  font-size: 27px;
}
.editor-heading a {
  font-size: 14px;
}
.form-actions,
.editor-secondary {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}
.editor-secondary {
  margin-top: 25px;
  padding-top: 20px;
  border-top: 1px solid #d5dccb;
}
.manager .delete-link {
  color: #8d3039 !important;
}
.manager details {
  margin-top: 25px;
}
.manager summary {
  cursor: pointer;
  font-size: 15px;
}
#revisions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  padding-top: 15px;
}
#revisions button {
  font-size: 13px !important;
  text-align: left;
}
.owner-tools {
  margin-top: 60px;
  border-top: 1px solid #d5dccb;
  padding-top: 40px;
}
.owner-tools p {
  max-width: 800px;
  color: #536047;
}
#invite-form {
  display: flex;
  gap: 20px;
  align-items: flex-end;
  max-width: 650px;
}
#invite-form label {
  flex: 1;
  margin: 0;
}
#editor-access p {
  display: flex;
  align-items: center;
  gap: 15px;
  overflow-wrap: anywhere;
}
.backup-import {
  max-width: 350px;
}
.image-upload-label {
  border-top: 1px solid #d5dccb;
  padding-top: 20px;
}
#save-status,
#upload-status,
#backup-status,
#access-status {
  color: #3c5b29;
  font-size: 15px;
}
@media (max-width: 900px) {
  .manager-layout {
    grid-template-columns: 260px minmax(0, 1fr);
    gap: 22px;
  }
  .editor-panel {
    padding-left: 20px;
  }
  .site-header nav {
    gap: 16px;
  }
}
@media (max-width: 720px) {
  .site-header {
    flex-wrap: wrap;
    padding: 13px 20px;
    gap: 12px;
  }
  .menu-toggle {
    display: block;
    border: 1px solid #b9c7a6;
    background: transparent;
    padding: 9px 13px;
    border-radius: 5px;
    font-size: 14px;
  }
  .site-header nav {
    display: none;
    width: 100%;
    flex-wrap: wrap;
    gap: 10px 25px;
    padding-top: 10px;
  }
  .site-header nav.is-open {
    display: flex;
  }
  .site-header nav a {
    font-size: 16px;
  }
  .site-footer > div {
    gap: 16px;
  }
  .prompt-top {
    padding: 12px 15px;
    flex-wrap: wrap;
    row-gap: 5px;
  }
  .prompt-controls {
    gap: 12px;
  }
  .prompt-controls button,
  #instant,
  #skip {
    font-size: 12px;
  }
  .skill-copy > span {
    font-size: 15px;
  }
  .scenario-note {
    font-size: 12px;
  }
  .proof-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .home-proof {
    padding-top: 40px;
  }
  .home-proof h2 {
    font-size: 31px;
  }
  .speaking-section {
    grid-template-columns: 1fr;
    gap: 25px;
    padding-top: 40px;
  }
  .speaker-kit {
    border-left: 0;
    padding: 25px 0 0;
    border-top: 1px solid #d5dccb;
  }
  .press-board {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .clip-image {
    width: calc(100% + 54px);
    margin: -27px -27px 22px;
  }
  .calendar-event {
    font-size: 12px !important;
    padding: 6px 2px !important;
    min-height: 30px;
  }
  .calendar-mark {
    font-size: 55px;
    top: 25px;
  }
  .manager-layout {
    grid-template-columns: 1fr;
  }
  .content-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  .content-item {
    margin: 0;
    padding: 13px;
  }
  .editor-panel {
    padding: 25px 0 0;
    border-left: 0;
    border-top: 1px solid #d5dccb;
  }
  .manager-toolbar {
    gap: 12px;
  }
  .manager-toolbar label {
    min-width: 0;
    flex: 1;
  }
  .manager-toolbar .primary-link {
    width: 100%;
    justify-content: center;
  }
  #invite-form {
    display: block;
  }
  #invite-form button {
    margin-top: 15px;
  }
  .contact-choice strong {
    font-size: 22px;
  }
  .detail-page h1 {
    font-size: 37px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .calendar-event.flipped {
    transform: none;
  }
}
@media print {
  .site-header,
  .site-footer,
  .media-filters,
  .month-controls,
  .calendar-subbar button {
    display: none;
  }
  .content-main {
    padding: 0;
  }
  .clipping {
    transform: none;
    break-inside: avoid;
  }
  .press-board {
    display: block;
  }
  .clipping {
    margin: 20px 0;
  }
}

#backup-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 18px 0;
}

/* Keep navigation and content usable when enhancement scripts cannot run. */
html:not(.js-enabled) .menu-toggle,
html:not(.js-enabled) .prompt-controls,
html:not(.js-enabled) .reply-area,
html:not(.js-enabled) .media-filters,
html:not(.js-enabled) .month-controls,
html:not(.js-enabled) #next-event {
  display: none;
}
@media (max-width: 720px) {
  html:not(.js-enabled) .site-header nav {
    display: flex;
  }
}
.public-site :is(a, button, summary):focus-visible {
  outline-color: var(--marker);
}
