:root {
  --ink: #172329;
  --muted: #5c686b;
  --paper: #fbfaf7;
  --surface: #f2f0e9;
  --line: #dcded8;
  --accent: #b55332;
  --accent-dark: #8f3d24;
  --green: #1f4842;
  --white: #ffffff;
  --radius: 18px;
  --shadow: 0 24px 70px rgba(23, 35, 41, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  border-radius: 8px;
  color: var(--white);
  background: var(--ink);
  font-size: 14px;
  font-weight: 750;
  transform: translateY(-150%);
  transition: transform 160ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

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

.shell {
  width: min(1180px, calc(100% - 48px));
  margin-inline: auto;
}

.narrow {
  width: min(1040px, calc(100% - 48px));
}

.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  border-bottom: 1px solid rgba(220, 222, 216, 0.82);
  background: rgba(251, 250, 247, 0.94);
  backdrop-filter: blur(12px);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  gap: 32px;
}

.wordmark {
  flex: 0 0 auto;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 24px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.025em;
}

.wordmark span {
  color: var(--accent);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 34px;
  font-size: 14px;
  font-weight: 650;
}

.mobile-nav-actions {
  display: none;
}

.nav-links > a:not(.nav-cta):not(.nav-speak-cta) {
  position: relative;
}

.nav-links > a:not(.nav-cta):not(.nav-speak-cta)::after {
  position: absolute;
  right: 0;
  bottom: -4px;
  left: 0;
  height: 1px;
  background: var(--accent);
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.nav-links > a:not(.nav-cta):not(.nav-speak-cta):hover::after,
.nav-links > a:not(.nav-cta):not(.nav-speak-cta):focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-cta {
  padding: 10px 17px;
  border-radius: 999px;
  color: var(--white);
  background: var(--green);
}

.nav-speak-cta {
  padding: 9px 16px;
  border: 1px solid var(--accent);
  border-radius: 999px;
  color: var(--accent-dark);
  background: transparent;
  transition: color 180ms ease, background-color 180ms ease;
}

.nav-speak-cta:hover {
  color: var(--white);
  background: var(--accent);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.75fr);
  align-items: center;
  gap: clamp(64px, 8vw, 120px);
  min-height: calc(100vh - 76px);
  padding-block: 90px;
}

.eyebrow {
  margin: 0 0 20px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  letter-spacing: -0.045em;
}

h1 {
  max-width: 820px;
  margin-bottom: 30px;
  font-size: clamp(48px, 6vw, 82px);
  line-height: 0.99;
}

h1 em {
  color: var(--accent);
  font-weight: inherit;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(38px, 4vw, 58px);
  line-height: 1.05;
}

h3 {
  line-height: 1.3;
}

.hero-intro {
  max-width: 720px;
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 19px;
}

.hero-note {
  max-width: 650px;
  margin-bottom: 34px;
  padding-left: 18px;
  border-left: 2px solid var(--accent);
  font-weight: 650;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 13px 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 750;
  line-height: 1.2;
  transition: transform 180ms ease, background-color 180ms ease, color 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button span {
  margin-left: 10px;
  font-size: 19px;
}

.button-primary {
  color: var(--white);
  background: var(--accent);
}

.button-primary:hover {
  background: var(--accent-dark);
}

.button-secondary {
  border-color: var(--line);
  background: var(--white);
}

.portrait-frame {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  border-radius: 180px 180px 24px 24px;
  background: #d7ddd7;
  box-shadow: var(--shadow);
}

.portrait-frame::before {
  position: absolute;
  z-index: -1;
  top: -22px;
  right: -28px;
  width: 180px;
  height: 180px;
  border: 1px solid var(--accent);
  border-radius: 50%;
  content: "";
}

.image-frame > img {
  position: absolute;
  z-index: 1;
  inset: 0;
  height: 100%;
  object-fit: cover;
}

.image-frame.image-missing > img {
  display: none;
}

.image-fallback {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #d7ddd7;
}

.image-fallback span {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(36px, 5vw, 66px);
  line-height: 1;
}

.image-fallback small {
  margin-top: 14px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.portrait-caption {
  position: absolute;
  z-index: 2;
  right: 18px;
  bottom: 18px;
  left: 18px;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 15px 18px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 12px;
  color: var(--white);
  background: rgba(23, 35, 41, 0.78);
  backdrop-filter: blur(10px);
  font-size: 12px;
  font-weight: 700;
}

.section {
  padding-block: 130px;
}

.about {
  color: var(--white);
  background: var(--green);
}

.two-column {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(60px, 9vw, 130px);
}

.about .eyebrow {
  color: #e9ad91;
}

.about .prose {
  color: rgba(255, 255, 255, 0.78);
  font-size: 18px;
}

.about .prose p:last-child {
  margin-bottom: 0;
  color: var(--white);
}

.mentorship {
  background: var(--surface);
}

.section-heading {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: end;
  gap: 60px;
  margin-bottom: 62px;
}

.section-heading > p {
  max-width: 480px;
  margin-bottom: 4px;
  color: var(--muted);
}

.topic-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid #cfd2cc;
  border-left: 1px solid #cfd2cc;
}

.topic-card {
  min-height: 238px;
  padding: 28px;
  border-right: 1px solid #cfd2cc;
  border-bottom: 1px solid #cfd2cc;
  background: rgba(255, 255, 255, 0.48);
  transition: background-color 180ms ease, transform 180ms ease;
}

.topic-card:hover {
  position: relative;
  background: var(--white);
  transform: translateY(-3px);
}

.topic-card > span {
  display: block;
  margin-bottom: 42px;
  color: var(--accent);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 14px;
  font-style: italic;
}

.topic-card h3 {
  margin-bottom: 10px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 21px;
  font-weight: 600;
}

.topic-card p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.mentorship-fit {
  display: grid;
  gap: 6px;
  margin-top: 30px;
  padding: 22px 26px;
  border-left: 2px solid var(--accent);
  background: rgba(255, 255, 255, 0.42);
}

.mentorship-fit p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 14px;
}

.mentorship-fit strong {
  color: var(--ink);
}

.free-note {
  margin: 34px 0 0;
  color: var(--green);
  font-weight: 700;
  text-align: center;
}

.free-note span {
  margin-right: 7px;
  color: var(--accent);
}

.feedback {
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

.feedback-list {
  display: grid;
  gap: 24px;
}

.feedback-card {
  margin: 0;
  padding: clamp(18px, 3vw, 34px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.feedback-card a {
  display: block;
}

.feedback-card img {
  width: auto;
  max-width: 100%;
  height: auto;
  margin-inline: auto;
}

.feedback-card figcaption {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  color: var(--ink);
  font-size: 13px;
  font-weight: 750;
}

.feedback-card figcaption span,
.feedback-hint {
  color: var(--muted);
  font-weight: 500;
}

.feedback-hint {
  margin: 18px 0 0;
  font-size: 12px;
  text-align: center;
}

.speaking .section-heading {
  margin-bottom: 72px;
}

.talk-list {
  display: grid;
  gap: 72px;
}

.talk-card {
  display: grid;
  grid-template-columns: 1.04fr 0.96fr;
  align-items: center;
  gap: clamp(42px, 7vw, 90px);
}

.talk-card:nth-child(even) .conference-image {
  order: 2;
}

.conference-image {
  position: relative;
  min-height: 350px;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--surface);
}

.conference-image::after {
  position: absolute;
  z-index: 2;
  inset: 12px;
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: 12px;
  content: "";
  pointer-events: none;
}

.conference-image .image-fallback:nth-child(1) span {
  color: var(--green);
  font-size: clamp(30px, 4vw, 50px);
}

.graphql-photo {
  object-fit: contain;
  background: #07131c;
}

.talk-meta {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
  padding-bottom: 13px;
  border-bottom: 1px solid var(--line);
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.talk-copy h3 {
  margin-bottom: 17px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(27px, 3vw, 38px);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.16;
}

.talk-copy p {
  margin-bottom: 0;
  color: var(--muted);
}

.talk-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 24px;
  padding-bottom: 3px;
  border-bottom: 1px solid currentColor;
  color: var(--green);
  font-size: 14px;
  font-weight: 750;
  transition: color 180ms ease;
}

.talk-link:hover {
  color: var(--accent);
}

.organizer-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 56px;
  margin-top: 96px;
  padding: 42px 46px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.organizer-strip > div {
  max-width: 720px;
}

.organizer-strip .eyebrow {
  margin-bottom: 10px;
}

.organizer-strip h3 {
  margin-bottom: 8px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(27px, 3vw, 36px);
  font-weight: 500;
  letter-spacing: -0.025em;
}

.organizer-strip p:last-child {
  margin-bottom: 0;
  color: var(--muted);
}

.organizer-strip .button {
  flex: 0 0 auto;
}

.process {
  border-top: 1px solid var(--line);
  background: var(--surface);
}

.process-heading {
  max-width: 600px;
  margin-bottom: 58px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 0;
  padding: 0;
  border-top: 1px solid #cfd2cc;
  list-style: none;
}

.steps li {
  min-height: 170px;
  padding: 28px 30px 24px 0;
  border-right: 1px solid #cfd2cc;
}

.steps li + li {
  padding-left: 30px;
}

.steps li:last-child {
  border-right: 0;
}

.steps span {
  display: grid;
  width: 35px;
  height: 35px;
  margin-bottom: 28px;
  place-items: center;
  border: 1px solid var(--accent);
  border-radius: 50%;
  color: var(--accent);
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
}

.steps p {
  max-width: 240px;
  margin-bottom: 0;
  font-weight: 700;
}

.no-fee {
  margin: 28px 0 0;
  color: var(--accent);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 22px;
  font-style: italic;
}

.availability-note {
  max-width: 620px;
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.booking {
  padding-block: 120px;
  color: var(--white);
  background: var(--accent);
}

.booking-inner {
  text-align: center;
}

.booking .eyebrow {
  color: rgba(255, 255, 255, 0.72);
}

.booking h2 {
  max-width: 850px;
  margin: 0 auto 23px;
  font-size: clamp(42px, 5.5vw, 70px);
}

.booking p:not(.eyebrow) {
  margin-bottom: 32px;
  color: var(--white);
  font-size: 19px;
}

.booking .booking-detail {
  margin: 18px 0 0;
  color: var(--white);
  font-size: 14px;
  font-weight: 700;
}

.button-light {
  color: var(--ink);
  background: var(--white);
}

.button-light:hover {
  color: var(--accent);
}

.footer {
  padding-block: 64px 28px;
  color: rgba(255, 255, 255, 0.72);
  background: var(--ink);
}

.footer-inner,
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 48px;
}

.footer-mark {
  display: inline-block;
  margin-bottom: 14px;
  color: var(--white);
}

.footer-inner p {
  margin-bottom: 0;
  font-size: 14px;
}

.footer-links {
  display: flex;
  align-items: flex-start;
  gap: 32px;
  color: var(--white);
  font-size: 14px;
  font-weight: 700;
}

.footer-links a:hover {
  color: #e9ad91;
}

.footer-bottom {
  margin-top: 54px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 12px;
}

.footer-bottom p {
  margin-bottom: 0;
}

:focus-visible {
  outline: 3px solid #e3a080;
  outline-offset: 4px;
}

#about,
#mentorship,
#feedback,
#speaking,
#book {
  scroll-margin-top: 92px;
}

.netlify-badge,
#netlify-badge,
[data-netlify-badge] {
  display: none !important;
}

@media (max-width: 980px) {
  .hero {
    grid-template-columns: 1fr 310px;
    gap: 50px;
  }

  .portrait-frame {
    min-height: 440px;
  }

  .topic-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .talk-card {
    gap: 42px;
  }

  .conference-image {
    min-height: 300px;
  }
}

@media (max-width: 840px) {
  .shell,
  .narrow {
    width: min(100% - 32px, 720px);
  }

  .nav {
    min-height: 68px;
  }

  .nav-links {
    display: none;
  }

  .mobile-nav-actions {
    display: flex;
    align-items: center;
    gap: 10px;
  }

  .mobile-booking {
    padding: 9px 14px;
    font-size: 12px;
    font-weight: 750;
  }

  .mobile-speak {
    padding: 8px 13px;
    font-size: 12px;
    font-weight: 750;
  }

  .mobile-menu {
    position: relative;
  }

  .mobile-menu summary {
    padding: 8px 0 8px 8px;
    font-size: 13px;
    font-weight: 750;
    cursor: pointer;
    list-style: none;
  }

  .mobile-menu summary::-webkit-details-marker {
    display: none;
  }

  .mobile-menu summary::after {
    margin-left: 5px;
    content: "+";
  }

  .mobile-menu[open] summary::after {
    content: "−";
  }

  .mobile-menu-panel {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    display: grid;
    min-width: 190px;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--paper);
    box-shadow: 0 18px 48px rgba(23, 35, 41, 0.16);
  }

  .mobile-menu-panel a {
    padding: 10px 12px;
    border-radius: 7px;
    font-size: 14px;
    font-weight: 650;
  }

  .mobile-menu-panel a:hover,
  .mobile-menu-panel a:focus-visible {
    background: var(--surface);
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-block: 72px 88px;
  }

  h1 {
    font-size: clamp(46px, 13vw, 66px);
    line-height: 1.1;
  }

  .portrait-frame {
    width: min(100%, 410px);
    min-height: 500px;
    margin-inline: auto;
  }

  .portrait-frame img {
    object-position: 52% 28%;
  }

  .section {
    padding-block: 88px;
  }

  .two-column,
  .section-heading,
  .talk-card {
    grid-template-columns: 1fr;
  }

  .two-column {
    gap: 40px;
  }

  .section-heading {
    gap: 24px;
    margin-bottom: 44px;
  }

  .talk-list {
    gap: 64px;
  }

  .talk-card {
    gap: 28px;
  }

  .talk-card:nth-child(even) .conference-image {
    order: 0;
  }

  .organizer-strip {
    align-items: flex-start;
    flex-direction: column;
    gap: 28px;
    margin-top: 72px;
    padding: 34px 30px;
  }

  .conference-image {
    min-height: 330px;
  }

  .steps {
    grid-template-columns: 1fr;
  }

  .steps li,
  .steps li + li {
    display: grid;
    grid-template-columns: 45px 1fr;
    align-items: center;
    min-height: 0;
    padding: 22px 0;
    border-right: 0;
    border-bottom: 1px solid #cfd2cc;
  }

  .steps span {
    margin-bottom: 0;
  }

  .steps p {
    max-width: none;
  }

  .booking {
    padding-block: 88px;
  }
}

@media (max-width: 520px) {
  body {
    font-size: 16px;
  }

  .wordmark {
    font-size: 21px;
  }

  .nav {
    flex-wrap: wrap;
    padding-block: 12px;
  }

  .mobile-nav-actions {
    width: 100%;
    justify-content: space-between;
  }

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

  .hero {
    padding-top: 58px;
  }

  h1 {
    font-size: 42px;
    line-height: 1.12;
  }

  h2 {
    font-size: 38px;
  }

  .button-row .button {
    width: 100%;
  }

  .portrait-frame {
    min-height: 430px;
  }

  .portrait-caption {
    flex-direction: column;
    gap: 2px;
  }

  .topic-grid {
    grid-template-columns: 1fr;
  }

  .topic-card {
    min-height: 0;
  }

  .topic-card > span {
    margin-bottom: 25px;
  }

  .conference-image {
    min-height: 255px;
  }

  .talk-meta,
  .footer-inner,
  .footer-bottom {
    flex-direction: column;
  }

  .talk-meta {
    gap: 3px;
  }

  .footer-links {
    flex-direction: column;
    gap: 12px;
  }

  .footer-bottom {
    gap: 6px;
  }
}

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

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
