@import url("https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,400;9..144,500;9..144,600;9..144,700&family=Inter:wght@400;500;600&display=swap");

:root {
  color-scheme: light;
  --bg: #ffffff;
  --surface: #f3f6fa;
  --text: #0c1f37;
  --muted: #66758a;
  --line: #dce3eb;
  --accent: #1f6fd6;
  --accent-strong: #0f58b8;
  --dublin-blue: #0f5fa8;
  --dublin-blue-dark: #08345f;
  --bitcoin: #f7931a;
  --max: 1280px;
  --section-y: clamp(3rem, 6vw, 5.5rem);
  --header-h: 5.1rem;
  font-family:
    "Inter",
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--bg);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  letter-spacing: 0;
}

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

p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

ul {
  margin: 0;
  padding-left: 1.2rem;
}

li {
  margin-block: 0.45rem;
  color: var(--muted);
  line-height: 1.7;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  width: 100%;
  padding: 1.25rem clamp(1.5rem, 4vw, 4rem);
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(220, 227, 235, 0.72);
  backdrop-filter: blur(18px);
}

.site-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  width: 100%;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border-bottom: 0.25rem solid var(--bitcoin);
  background: var(--dublin-blue);
  color: #ffffff;
  font-family: "Fraunces", Georgia, serif;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1;
}

nav {
  display: flex;
  align-items: center;
  gap: 1.35rem;
}

nav a {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
}

nav a:hover,
nav a:focus-visible {
  color: var(--accent);
}

.section,
.hero-inner,
.site-footer-inner {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding-inline: clamp(1.5rem, 4vw, 4rem);
}

.section {
  padding-block: var(--section-y);
}

.hero,
.section[id] {
  scroll-margin-top: calc(var(--header-h) + 1rem);
}

.section-rule {
  border-top: 1px solid var(--line);
  padding-top: clamp(2.25rem, 4vw, 3.75rem);
}

.eyebrow,
.meta {
  margin: 0;
  color: var(--accent);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--text);
  font-family: "Fraunces", Georgia, serif;
  line-height: 1.02;
}

h1 {
  max-width: 10ch;
  font-size: clamp(4rem, 11vw, 8rem);
  font-weight: 700;
}

h2 {
  max-width: 15ch;
  font-size: clamp(2.25rem, 5vw, 5rem);
  font-weight: 600;
}

h3 {
  font-size: clamp(1.65rem, 3vw, 2.35rem);
  font-weight: 600;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 0.75rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  border: 1px solid var(--line);
  padding: 0.86rem 1.3rem;
  color: var(--text);
  background: transparent;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition:
    color 180ms ease,
    background-color 180ms ease,
    border-color 180ms ease;
}

.button.primary {
  border-color: var(--accent);
  color: #ffffff;
  background: var(--accent);
}

.button:hover,
.button:focus-visible {
  border-color: var(--accent);
  color: var(--accent);
}

.button.primary:hover,
.button.primary:focus-visible {
  color: #ffffff;
  background: var(--accent-strong);
}

.hero {
  position: relative;
  min-height: calc(100svh - var(--header-h));
  display: grid;
  align-items: center;
  overflow: clip;
}

.hero h1 {
  font-size: clamp(2.75rem, 7vw, 4.75rem);
}

.hero-skyline {
  position: absolute;
  inset: auto 0 0 0;
  width: 100%;
  max-width: var(--max);
  height: auto;
  margin-inline: auto;
  padding-inline: clamp(1.5rem, 4vw, 4rem);
  color: var(--dublin-blue);
  opacity: 0.08;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(20rem, 0.85fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  padding-block: clamp(1.5rem, 3vw, 2.5rem);
}

.hero-copy {
  display: grid;
  gap: 1.3rem;
}

.hero-copy > p:not(.eyebrow) {
  max-width: 42rem;
  font-size: clamp(1rem, 1.6vw, 1.15rem);
}

.meetup-panel {
  display: grid;
  gap: clamp(1.25rem, 2.5vw, 1.75rem);
  border-top: 0.5rem solid var(--dublin-blue);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  background: var(--surface);
}

.meetup-panel-list {
  display: grid;
  gap: 0.9rem;
}

.meetup-panel-list div {
  border-top: 1px solid var(--line);
  padding-top: 0.85rem;
}

.meetup-panel-list div:first-child {
  border-top: 0;
  padding-top: 0;
}

.meetup-panel-list span {
  display: block;
  color: var(--accent);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.meetup-panel-list strong {
  display: block;
  margin-top: 0.3rem;
  color: var(--text);
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  font-weight: 600;
  line-height: 1.1;
}

.meetup-panel-list p {
  margin-top: 0.35rem;
  font-size: 0.95rem;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 9fr);
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: start;
}

.split-copy {
  max-width: 46rem;
}

.split-copy h2 + p {
  margin-top: 1.6rem;
  font-size: 1.08rem;
}

.meetup-grid {
  display: grid;
  grid-template-columns: minmax(0, 46rem);
}

.meetup-details {
  display: grid;
  gap: 2rem;
}

.info-list {
  display: grid;
  gap: 1.55rem;
}

.info-item {
  display: grid;
  grid-template-columns: 1.65rem 1fr;
  gap: 1rem;
  align-items: start;
}

.info-icon {
  display: grid;
  place-items: center;
  width: 1.25rem;
  height: 1.25rem;
  margin-top: 0.2rem;
  color: var(--accent);
}

.info-icon svg {
  width: 100%;
  height: 100%;
  stroke: currentColor;
  stroke-width: 1.8;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.info-item .meta {
  color: var(--muted);
  font-size: 0.72rem;
}

.info-item strong {
  display: block;
  margin-top: 0.2rem;
  color: var(--text);
  font-size: 1.05rem;
  font-weight: 500;
}

.presentation-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 3rem;
}

.presentation-heading h2 {
  font-size: clamp(2.25rem, 4vw, 4rem);
}

.presentation-grid {
  display: grid;
  border-block: 1px solid var(--line);
  counter-reset: presentations;
}

.presentation-card {
  counter-increment: presentations;
  display: grid;
  grid-template-columns: minmax(2.5rem, 0.7fr) minmax(12rem, 3.7fr) minmax(14rem, 4fr);
  gap: 1.5rem;
  align-items: start;
  padding: clamp(1.75rem, 3vw, 2.5rem) 0;
  border-top: 1px solid var(--line);
}

.presentation-card:first-child {
  border-top: 0;
}

.presentation-card::before {
  content: counter(presentations, decimal-leading-zero);
  color: var(--muted);
  font-family: "Fraunces", Georgia, serif;
  font-size: 0.95rem;
}

.presentation-card h3 a {
  transition: color 180ms ease;
}

.presentation-card h3 a:hover,
.presentation-card h3 a:focus-visible {
  color: var(--accent);
}

.presentation-card p {
  max-width: 44rem;
}

.presentation-details {
  display: grid;
  gap: 1rem;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.tags span {
  border: 1px solid var(--line);
  padding: 0.32rem 0.55rem;
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.card-action {
  color: var(--accent);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.site-footer {
  padding: 0 clamp(1.5rem, 4vw, 4rem) clamp(3rem, 6vw, 5.25rem);
}

.site-footer-inner {
  border-top: 1px solid var(--line);
  padding-top: 2.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 2.5rem;
}

.footer-grid h3 {
  margin-bottom: 0.9rem;
  font-size: 1.35rem;
}

.footer-grid .meta {
  margin-bottom: 0.9rem;
  color: var(--muted);
}

.footer-grid a:hover {
  color: var(--accent);
}

.copyright {
  margin-top: 3rem;
}

.deck {
  max-width: 960px;
  margin: 0 auto;
  padding: clamp(4rem, 7vw, 7rem) clamp(1.5rem, 4vw, 4rem) var(--section-y);
}

.deck-header {
  border-bottom: 1px solid var(--line);
  margin-bottom: 3rem;
  padding-bottom: 2.5rem;
}

.deck-header h1 {
  max-width: 11ch;
  margin-top: 1rem;
  margin-bottom: 1.5rem;
  font-size: clamp(3.25rem, 7vw, 6rem);
}

.deck-content {
  display: grid;
  gap: 2rem;
}

.deck-content h2 {
  max-width: 100%;
  border-top: 1px solid var(--line);
  padding-top: 2rem;
  font-size: clamp(1.8rem, 3vw, 3rem);
}

.deck-content section:first-child h2 {
  border-top: 0;
  padding-top: 0;
}

.deck-content h2 + ul {
  margin-top: 1rem;
}

@media (max-width: 920px) {
  .site-header-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  nav {
    overflow-x: auto;
    width: 100%;
    padding-bottom: 0.25rem;
  }

  .hero-inner,
  .split,
  .meetup-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .presentation-card {
    grid-template-columns: minmax(2.5rem, 0.18fr) minmax(0, 1fr);
  }

  .presentation-details {
    grid-column: 2;
  }
}

@media (max-width: 620px) {
  .site-header {
    padding-block: 1rem;
  }

  nav {
    gap: 1rem;
  }

  h1 {
    font-size: clamp(3.2rem, 19vw, 4.6rem);
  }

  .presentation-heading {
    display: grid;
    grid-template-columns: 1fr;
  }

  .button {
    width: 100%;
  }

  .presentation-card {
    grid-template-columns: 1fr;
  }

  .presentation-card::before,
  .presentation-details {
    grid-column: auto;
  }
}
