/* ==================================================
   Base
   ================================================== */

:root {
  /* Palette sampled from the logo and the seminar flyer */
  --ink: #481808;
  --text: #664221;
  --muted: #8A6440;
  --line: #E8CFA0;
  --soft: #FBE6C0;
  --paper: #FFF1D6;

  --coffee: #664221;
  --copper: #E88838;
  --caramel: #E8A858;
  --cream: #FFF1D6;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

/* The colour lives on <html>: the fixed flow canvas (z-index -1) paints
   above it, and the transparent <body> lets it show through. */
html {
  background: var(--paper);
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI",
    Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  background: transparent;
  line-height: 1.6;
}

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

a {
  color: inherit;
}


/* ==================================================
   Layout
   ================================================== */

.container {
  width: min(900px, 90%);
  margin: 0 auto;
}


/* ==================================================
   Header
   ================================================== */

header {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 241, 214, 0.8);
  backdrop-filter: blur(6px);
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--ink);
  text-decoration: none;
}

.logo small {
  display: block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.nav-logo {
  width: 110px;
  height: auto;
  object-fit: contain;
}

nav .links {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
}

nav .links a {
  color: var(--text);
  text-decoration: none;
}

nav .links a:hover {
  color: var(--ink);
}


/* ==================================================
   Hero
   ================================================== */

.hero {
  position: relative;
  overflow: hidden;
  padding: 110px 0 90px;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero h1 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(3rem, 9vw, 6rem);
  line-height: 1;
  letter-spacing: -0.05em;
}

.tagline {
  margin: 24px 0 10px;
  font-size: clamp(1.4rem, 4vw, 2rem);
  font-weight: 600;
}

.intro {
  max-width: 650px;
  font-size: 1.15rem;
  color: var(--text);
}


/* ==================================================
   Hero trajectory background
   ================================================== */

.trajectory-background {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: -1;
}


/* ==================================================
   Buttons
   ================================================== */

.buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.button {
  display: inline-block;
  padding: 13px 22px;
  border-radius: 8px;

  background: var(--ink);
  color: var(--paper);

  text-decoration: none;
  font-weight: 700;

  box-shadow:
    0 6px 18px rgba(84, 32, 0, 0.16);

  transition:
    transform 0.2s ease,
    background 0.2s ease,
    box-shadow 0.2s ease;
}

.button:hover {
  background: var(--coffee);
  transform: translateY(-2px);

  box-shadow:
    0 9px 24px rgba(84, 32, 0, 0.22);
}

.button.secondary {
  background: var(--soft);
  color: var(--ink);
}

.centered-buttons {
  justify-content: center;
}


/* ==================================================
   Sections
   ================================================== */

section {
  padding: 70px 0;
  border-top: 1px solid var(--line);
}

section h2 {
  margin-top: 0;
  font-size: 2rem;
  color: var(--ink);
}

.section-intro {
  color: var(--muted);
  margin-bottom: 30px;
}


/* ==================================================
   Upcoming seminar card
   ================================================== */

.event {
  max-width: none;
  padding: 36px 40px 40px;
  background: rgba(251, 230, 192, 0.85);
  border: 1px solid var(--line);
  border-left: 4px solid var(--copper);
  border-radius: 12px;
  backdrop-filter: blur(4px);
}

.event h3 {
  margin-top: 0;
  font-size: 1.5rem;
}


/* ==================================================
   Past seminars
   ================================================== */

.seminar-list {
  display: grid;
  gap: 16px;
}

.seminar-item {
  padding: 24px 0;
  border-top: 1px solid var(--line);
}

.seminar-item:last-child {
  border-bottom: 1px solid var(--line);
}

.seminar-item h3 {
  margin: 4px 0 0;
  font-size: 1.25rem;
}


/* ==================================================
   Subscribe
   ================================================== */

.subscribe {
  text-align: center;
}

.subscribe p {
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}


/* ==================================================
   Utility
   ================================================== */

.muted {
  color: var(--muted);
}
.meeting-note {
  color: var(--ink);
  margin-top: 14px;
}


/* ==================================================
   Footer
   ================================================== */

footer {
  padding: 35px 0;
  border-top: 1px solid var(--line);
  background: rgba(255, 241, 214, 0.8);
  backdrop-filter: blur(6px);
  color: var(--muted);
  font-size: 0.9rem;
}

footer a {
  color: inherit;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
}

.footer-content p {
  margin: 0;
}

.footer-content a {
  text-decoration: none;
}

.footer-content a:hover {
  text-decoration: underline;
}


/* ==================================================
   Accessibility
   ================================================== */

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

  .button {
    transition: none;
  }
}


/* ==================================================
   Mobile
   ================================================== */

@media (max-width: 650px) {
  nav {
    align-items: center;
    gap: 12px;
  }

  .logo {
    gap: 12px;
  }

  .nav-logo {
    width: 85px;
  }

  nav .links {
    gap: 12px;
    font-size: 0.9rem;
  }

  .hero {
    padding: 80px 0 65px;
  }

  .footer-content {
    display: block;
  }

  .footer-content p + p {
    margin-top: 18px;
  }
}


/* Speaker profile link */

.speaker-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: -6px 0 18px;
}

.speaker-links a {
  padding: 4px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 241, 214, 0.7);
  color: var(--ink);
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.speaker-links a::after {
  content: " ↗";
  color: var(--copper);
}

.speaker-links a:hover,
.speaker-links a:focus-visible {
  border-color: var(--copper);
  background: #fff;
  outline: none;
}


/* ==================================================
   Call for speakers / contact
   ================================================== */

.talk {
  border-top: 0;
  padding: 20px 0 90px;
}

.talk-panel {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 48px;
  padding: 44px;
  background: rgba(255, 241, 214, 0.82);
  border: 1px solid var(--line);
  border-radius: 20px;
  backdrop-filter: blur(6px);
  box-shadow: 0 18px 40px rgba(72, 24, 8, 0.08);
}

.talk-intro,
.talk-send {
  min-width: 0;
}

.eyebrow {
  margin: 0 0 14px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--copper);
}

.talk-intro h2 {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 18px;
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.mic {
  flex: none;
  fill: none;
  stroke: var(--copper);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.mic rect {
  fill: rgba(232, 136, 56, 0.16);
}

.talk-intro p {
  margin: 0 0 14px;
  font-size: 1.08rem;
}

.talk-intro .muted {
  font-size: 0.98rem;
}

.talk-send {
  padding: 28px;
  background: rgba(251, 230, 192, 0.7);
  border: 1px solid var(--line);
  border-radius: 14px;
}

.talk-label {
  margin: 0 0 14px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.checklist {
  list-style: none;
  margin: 0 0 26px;
  padding: 0;
  display: grid;
  gap: 12px;
}

.checklist li {
  position: relative;
  padding-left: 32px;
  color: var(--ink);
  font-weight: 600;
}

.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.28em;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--copper);
}

.checklist li::after {
  content: "";
  position: absolute;
  left: 6px;
  top: calc(0.28em + 3.5px);
  width: 5px;
  height: 9px;
  border: solid var(--paper);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg) scale(0.9);
}

.checklist .optional {
  font-weight: 500;
  color: var(--text);
}

.checklist .optional::before {
  background: transparent;
  border: 2px solid var(--caramel);
}

.checklist .optional::after {
  display: none;
}

.checklist .optional span {
  margin-left: 6px;
  padding: 1px 8px;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}

.talk-send .button {
  display: block;
  text-align: center;
}

.talk-email {
  margin: 16px 0 4px;
  text-align: center;
  font-weight: 600;
}

.talk-email a {
  text-decoration-color: var(--copper);
  text-underline-offset: 3px;
}

.talk-note {
  margin: 0;
  text-align: center;
  font-size: 0.92rem;
}

.talk-send a:focus-visible,
.button:focus-visible {
  outline: 3px solid var(--copper);
  outline-offset: 3px;
}

@media (max-width: 760px) {
  .talk-panel {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 28px 22px;
  }

  .talk-send {
    padding: 22px;
  }

  .talk-email {
    font-size: 0.9rem;
    overflow-wrap: normal;
  }
}


/* ==================================================
   Speaker row (optional portrait) and abstract
   ================================================== */

.speaker {
  display: flex;
  align-items: center;
  gap: 20px;
  margin: 0 0 16px;
}

.speaker-info {
  margin: 0;
  min-width: 0;
}

.speaker-info strong {
  display: block;
  font-size: 1.2rem;
  line-height: 1.3;
  color: var(--ink);
}

.speaker-info span {
  display: block;
  margin-top: 4px;
  line-height: 1.45;
}

/* Fixed portrait frame: any photo (landscape, square, tall) is cropped to fit. */
.speaker-photo {
  flex: none;
  width: 112px;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: var(--soft);
  box-shadow: 0 10px 24px rgba(72, 24, 8, 0.14);
  position: relative;
}

.speaker-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  max-width: none;
}

.speaker-links {
  margin-top: 0;
}

.abstract {
  margin-top: 26px;
  padding: 22px 24px 20px;
  background: rgba(255, 241, 214, 0.72);
  border: 1px solid var(--line);
  border-radius: 14px;
}

.abstract-label {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 14px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--copper);
}

.abstract-label::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line);
}

.abstract-text {
  margin: 0 0 12px;
  max-width: 66ch;
  font-size: 1.02rem;
  line-height: 1.75;
  color: var(--text);
  hyphens: auto;
  text-wrap: pretty;
}

.abstract-text:last-child {
  margin-bottom: 0;
}

@media (max-width: 650px) {
  .event {
    padding: 22px 18px;
  }

  .speaker-photo {
    width: 84px;
    border-radius: 12px;
  }

  .speaker {
    gap: 14px;
  }

  .abstract {
    padding: 18px 16px;
  }

  .abstract-text {
    font-size: 0.98rem;
    line-height: 1.7;
  }
}


/* Seminar card: same width as the panels below.
   Speaker on the left, date and join on the right, abstract underneath in two columns. */

.event-grid {
  margin-top: 26px;
}

.event-main {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: 0 48px;
  align-items: stretch;
}

.event-who,
.event-when {
  display: flex;
  flex-direction: column;
  justify-content: center;   /* both halves centred on the same horizontal axis */
  min-width: 0;
}

.event-when {
  padding-left: 48px;
  border-left: 1px solid var(--line);
}

.event-when > :first-child {
  margin-top: 0;
}

.event-who > :last-child,
.event-when > :last-child {
  margin-bottom: 0;
}

.event-grid .abstract {
  margin-top: 30px;
}

.abstract-body {
  max-width: 76ch;
  margin: 0 auto;
}

.event-grid .abstract-text {
  max-width: none;
}

.abstract-label + .abstract-body > .abstract-text:first-child::first-letter {
  float: left;
  margin: 4px 10px 0 0;
  font-size: 3.1rem;
  line-height: 0.85;
  font-weight: 700;
  color: var(--ink);
}

@media (max-width: 820px) {
  .event {
    padding: 28px 22px 30px;
  }

  .event-main {
    grid-template-columns: minmax(0, 1fr);
    gap: 22px;
  }

  .event-when {
    padding-left: 0;
    padding-top: 22px;
    border-left: 0;
    border-top: 1px solid var(--line);
  }

}


/* ==================================================
   Calendar link
   ================================================== */

.calendar-cta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin-top: 18px;
}

.calendar-cta .button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 11px 20px;
  border: 1px solid var(--line);
  background: rgba(255, 241, 214, 0.85);
  backdrop-filter: blur(6px);
  box-shadow: 0 6px 16px rgba(72, 24, 8, 0.08);
}

.calendar-cta .button:hover {
  background: #fff;
  border-color: var(--copper);
}

.calendar-cta svg {
  flex: none;
  fill: none;
  stroke: var(--copper);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.calendar-cta .muted {
  font-size: 0.95rem;
}

.footer-links {
  display: flex;
  gap: 22px;
}


.calendar-help {
  margin-top: 14px;
  max-width: 640px;
  padding: 12px 18px;
  background: rgba(255, 241, 214, 0.85);
  border: 1px solid var(--line);
  border-radius: 12px;
  backdrop-filter: blur(6px);
}

.calendar-help summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--ink);
}

.calendar-help ol {
  margin: 12px 0 10px;
  padding-left: 1.2em;
}

.calendar-help li + li {
  margin-top: 4px;
}

.ics-url {
  width: 100%;
  box-sizing: border-box;
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--text);
  font: 0.82rem/1.4 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.calendar-help p {
  margin: 10px 0 0;
  font-size: 0.92rem;
}

.calendar-help ul {
  margin: 12px 0 0;
  padding-left: 1.2em;
}

.calendar-help ul li + li {
  margin-top: 4px;
}

.calendar-help .ics-url {
  margin-top: 12px;
}

.ics-row {
  display: flex;
  gap: 8px;
  align-items: stretch;
  margin-top: 12px;
}

.ics-row .ics-url {
  flex: 1;
  min-width: 0;
  margin-top: 0;
}

.copy-button {
  flex: none;
  padding: 0 18px;
  border: 1px solid var(--ink);
  border-radius: 8px;
  background: var(--ink);
  color: var(--paper);
  font: inherit;
  font-size: 0.92rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.copy-button:hover {
  background: var(--coffee);
}

.copy-button:focus-visible {
  outline: 3px solid var(--copper);
  outline-offset: 2px;
}

.copy-button.is-copied {
  background: #2f6b3a;
  border-color: #2f6b3a;
}

.copy-status {
  min-height: 1.3em;
  margin: 8px 0 0;
  font-size: 0.88rem;
  color: var(--muted);
}

@media (max-width: 480px) {
  .ics-row {
    flex-direction: column;
  }

  .copy-button {
    padding: 11px 18px;
  }
}


/* Small credit line under the footer */

.footer-credit {
  margin-top: 16px;
  margin-bottom: 0;
  font-size: 0.82rem;
  color: var(--muted);
  opacity: 0.9;
}


/* ==================================================
   Seminar deck: past seminars on the left, next seminar first
   ================================================== */

.seminar-deck {
  max-width: 100%;
}

.deck-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 12px;
}

.deck-bar[hidden] {
  display: none;
}

.deck-status {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0;
  min-width: 0;
}

/* plain text between two hairlines, so it never looks like one of the buttons */
.deck-status::before,
.deck-status::after {
  content: "";
  flex: 1;
  height: 1px;
  background: rgba(72, 24, 8, 0.28);
}

.deck-status > span {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  text-align: center;
  line-height: 1.25;
  text-shadow:
    0 0 6px var(--paper),
    0 0 12px var(--paper),
    0 0 18px var(--paper);
}

/* small tracked eyebrow, like the "Save the date" label */
.deck-kind {
  color: #A8541A;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.deck-date {
  color: var(--ink);
  font-size: 1.05rem;
  font-weight: 700;
}

/* where you are in the strip */
.deck-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 14px;
}

.deck-dots[hidden] {
  display: none;
}

.deck-dots button {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(72, 24, 8, 0.25);
  cursor: pointer;
  transition: width 0.25s ease, background 0.25s ease;
}

.deck-dots button[aria-current="true"] {
  width: 24px;
  background: var(--copper);
}

.deck-dots button:focus-visible {
  outline: 3px solid var(--copper);
  outline-offset: 3px;
}

.deck-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 241, 214, 0.9);
  color: var(--ink);
  font: inherit;
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  backdrop-filter: blur(6px);
  transition: border-color 0.2s ease, background 0.2s ease, opacity 0.2s ease;
}

.deck-btn svg {
  flex: none;
  fill: none;
  stroke: var(--copper);
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.deck-btn:hover:not(:disabled) {
  border-color: var(--copper);
  background: #fff;
}

.deck-btn:disabled {
  opacity: 0.35;
  cursor: default;
}

.deck-btn:focus-visible,
.deck-track:focus-visible {
  outline: 3px solid var(--copper);
  outline-offset: 3px;
}

.deck-track {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 20px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  border-radius: 12px;
}

.deck-track::-webkit-scrollbar {
  display: none;
}

.deck-track.ready {
  transition: height 0.3s ease;
}

.deck-slide {
  flex: 0 0 100%;
  min-width: 0;
  box-sizing: border-box;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

.past-slide {
  border-left-color: var(--caramel);
}

/* the bar above already says which seminar this is */
.seminar-deck.has-bar .deck-slide > p.muted:first-child {
  display: none;
}

.keyword-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 14px 0 0;
}

.keyword-chips span {
  padding: 3px 11px;
  border-radius: 999px;
  background: rgba(232, 136, 56, 0.16);
  color: var(--ink);
  font-size: 0.8rem;
  font-weight: 600;
}

@media (max-width: 520px) {
  .deck-bar {
    flex-wrap: wrap;
  }

  .deck-status {
    order: 3;
    flex-basis: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .deck-track.ready {
    transition: none;
  }
}

.planned {
  margin: 4px 0 14px;
  padding: 14px 18px;
  background: rgba(255, 241, 214, 0.75);
  border: 1px solid var(--line);
  border-radius: 12px;
}

.planned p {
  margin: 0;
}

.planned-label {
  margin-bottom: 4px !important;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--copper);
}


/* "Brewing..." card, while the next speaker is not announced yet */

.brew {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 24px 40px;
}

.brew-figure {
  display: grid;
  justify-items: center;
  gap: 10px;
}

.brew-art {
  position: relative;
  width: 176px;
  height: 176px;
  border-radius: 50%;
  overflow: hidden;
  background: radial-gradient(circle at 50% 45%, #fff8ea 0%, var(--paper) 62%, rgba(255, 241, 214, 0.4) 100%);
  border: 1px solid var(--line);
}

/* names the brewing method on show: method on one line, place on the next. Fixed size, so a
   long name never reflows the card when it changes. */
.brew-caption {
  display: grid;
  gap: 2px;
  width: 176px;
  height: 2.6em;
  margin: 0;
  text-align: center;
  white-space: nowrap;
}

.brew-name {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #A8541A;
}

.brew-place {
  font-size: 0.78rem;
  color: var(--muted);
}

.brewing {
  margin: 0 0 6px;
  font-size: 2.1rem !important;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.brew-dots i {
  font-style: normal;
  animation: brew-dot 1.8s ease-in-out infinite;
}

.brew-dots i:nth-child(2) { animation-delay: 0.3s; }
.brew-dots i:nth-child(3) { animation-delay: 0.6s; }

.brew-lead {
  margin: 0 0 16px;
}

.brew .planned {
  margin: 0;
}

.brew-note {
  margin: 22px 0 0;
}

.brew-doodle {
  display: block;
  width: 100%;
  height: 100%;
}

.brew-doodle .line,
.brew-doodle .stream,
.brew-doodle .water {
  fill: none;
  stroke: var(--ink);
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.brew-doodle .thin {
  stroke-width: 1.4;
  opacity: 0.6;
}

.brew-doodle .thick {
  stroke-width: 3.4;
}

.brew-doodle .knob {
  fill: var(--ink);
}

.brew-doodle .needle,
.brew-doodle .flame,
.brew-doodle .lamp {
  stroke: var(--copper);
  fill: var(--copper);
}

.brew-doodle .needle {
  fill: none;
}

/* coffee pouring: thin dashed lines flowing down */
.brew-doodle .stream {
  stroke: var(--copper);
  stroke-width: 1.8;
  stroke-dasharray: 5 4;
  animation: pour-flow 0.6s linear infinite;
}

.brew-doodle .water {
  stroke: var(--muted);
  stroke-width: 1.4;
  stroke-dasharray: 3 4;
  animation: pour-flow 0.5s linear infinite;
}

.brew-doodle .coffee,
.brew-doodle .drop {
  fill: #6b2f12;
  opacity: 0.8;
}

.brew-doodle .milk {
  fill: #EDD3A8;
}

/* poured liquid: a ribbon that falls in an arc, with a faint highlight running down it */
.brew-doodle .liquid {
  fill: #6b2f12;
  opacity: 0.85;
}

.brew-doodle .water-liquid {
  fill: rgba(102, 66, 33, 0.45);
}

.brew-doodle .shine {
  fill: none;
  stroke: rgba(255, 241, 214, 0.75);
  stroke-width: 0.7;
  stroke-linecap: round;
  stroke-dasharray: 2 6;
  animation: pour-flow 0.5s linear infinite;
}

.brew-doodle .foam-fill {
  fill: #D9A066;
}

.brew-doodle .grounds {
  fill: #3b1a0a;
}

.brew-doodle .bubble {
  fill: none;
  stroke: #D9A066;
  stroke-width: 1;
}

.brew-doodle .hole {
  fill: var(--ink);
}

.brew-doodle .plate {
  fill: var(--paper);
}

.brew-doodle .foam {
  fill: #D9A066;
  stroke: var(--ink);
  stroke-width: 1.4;
}

@keyframes pour-flow {
  to { stroke-dashoffset: -9; }
}

@keyframes brew-dot {
  0%, 100% { opacity: 0.2; }
  40% { opacity: 1; }
}

@media (max-width: 620px) {
  .brew {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .brew-art {
    width: 156px;
    height: 156px;
  }


  .brew-text {
    width: 100%;
  }

  .brew .planned {
    text-align: left;
  }

  .brewing {
    font-size: 1.8rem !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .brew-doodle .stream,
  .brew-doodle .shine,
  .brew-doodle .water,
  .brew-dots i {
    animation: none;
  }
}
