:root {
  --ink: #13262f;
  --ink-soft: #3a555f;
  --river: #1c5a68;
  --river-deep: #0e3a44;
  --reed: #3f6b52;
  --mist: #dce8e6;
  --foam: #f4f8f7;
  --sand: #e6ddd0;
  --accent: #c46b2c;
  --white: #ffffff;
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Sora", system-ui, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--ink);
  background:
    radial-gradient(ellipse 80% 50% at 10% 0%, rgba(28, 90, 104, 0.08), transparent 55%),
    radial-gradient(ellipse 60% 40% at 100% 20%, rgba(63, 107, 82, 0.1), transparent 50%),
    linear-gradient(180deg, var(--foam) 0%, var(--mist) 45%, var(--foam) 100%);
}

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

a {
  color: inherit;
}

.skip {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--river-deep);
  color: var(--white);
  padding: 0.75rem 1rem;
  z-index: 100;
}

.skip:focus {
  left: 0;
}

.wrap {
  width: min(1360px, calc(100% - 2.5rem));
  margin-inline: auto;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  background: rgba(244, 248, 247, 0.82);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}

.site-header.is-scrolled {
  border-bottom-color: rgba(19, 38, 47, 0.08);
}

.site-header__inner {
  width: min(1360px, calc(100% - 2rem));
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 0;
}

.logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.35rem;
  text-decoration: none;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.logo span {
  color: var(--river);
}

.brand-lockup {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  min-width: 0;
}

.brand-divider {
  width: 1px;
  height: 1.6rem;
  background: rgba(19, 38, 47, 0.18);
  flex-shrink: 0;
}

.sggw-mark {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.sggw-mark img {
  height: 2rem;
  width: auto;
}

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

.nav a {
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ink-soft);
}

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

.nav__cta {
  background: var(--river-deep);
  color: var(--white) !important;
  padding: 0.55rem 1rem;
  border-radius: 999px;
}

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  width: 2.2rem;
  height: 2.2rem;
  padding: 0;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 2px;
  margin: 6px 0;
  background: var(--ink);
}

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--white);
}

.hero__media {
  position: absolute;
  inset: 0;
}

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.08);
  animation: hero-drift 18s var(--ease) infinite alternate;
}

.hero__veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(14, 58, 68, 0.35) 0%, rgba(14, 58, 68, 0.55) 45%, rgba(14, 58, 68, 0.88) 100%),
    linear-gradient(90deg, rgba(14, 58, 68, 0.45), transparent 55%);
}

.hero__content {
  position: relative;
  z-index: 1;
  width: min(1360px, calc(100% - 2.5rem));
  margin: 0 auto 7.5rem;
  padding-top: 7rem;
}

.hero__brand {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 8vw, 5.5rem);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.02em;
  color: var(--white);
  opacity: 0;
  transform: translateY(24px);
  animation: rise 0.9s var(--ease) 0.15s forwards;
}

.hero__title {
  margin: 0 0 1rem;
  max-width: 16ch;
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 3.4vw, 2.35rem);
  font-weight: 500;
  line-height: 1.2;
  color: var(--white);
  opacity: 0;
  transform: translateY(24px);
  animation: rise 0.9s var(--ease) 0.35s forwards;
}

.hero__lead {
  margin: 0 0 1.75rem;
  max-width: 36ch;
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.88);
  opacity: 0;
  transform: translateY(24px);
  animation: rise 0.9s var(--ease) 0.5s forwards;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  opacity: 0;
  transform: translateY(24px);
  animation: rise 0.9s var(--ease) 0.65s forwards;
}

.hero__partners {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 1.25rem;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: 1.5rem 2rem;
  width: min(1360px, calc(100% - 2.5rem));
  margin-inline: auto;
  opacity: 0;
  transform: translateY(24px);
  animation: rise 0.9s var(--ease) 0.8s forwards;
}

.hero__partners img {
  height: 2.6rem;
  width: auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.hero__partners img[src*="logo-irs"] {
  height: 3rem;
}

.hero__partners img[src*="logo-igpas"] {
  height: 2.35rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.35rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease);
}

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

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

.btn--ghost {
  border: 1px solid rgba(255, 255, 255, 0.55);
  color: var(--white);
  background: transparent;
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.12);
}

.section {
  padding: 5.5rem 0;
}

.section-anchor {
  display: block;
  height: 0;
  scroll-margin-top: 5.5rem;
}

.eyebrow {
  margin: 0 0 0.75rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--river);
}

h2 {
  margin: 0 0 1.25rem;
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.5vw, 2.75rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  max-width: 18ch;
}

.lede {
  font-size: 1.15rem;
  color: var(--ink-soft);
  max-width: 58ch;
}

.lede--compact {
  font-size: 0.95rem;
  margin-bottom: 0.75rem;
}

.about h2 {
  max-width: none;
}

.organisers .lede {
  max-width: none;
}

.committees h2 {
  max-width: none;
}

.why h2 {
  max-width: none;
}

.venue h2 {
  max-width: none;
}

.about p,
.theme p,
.venue p,
.why p {
  max-width: 62ch;
}

.why > .wrap > p {
  max-width: none;
}

.about__layout {
  display: grid;
  gap: 2.5rem;
  align-items: start;
}

.about__lede {
  margin: 0;
}

.about__layout p {
  font-size: 1.15rem;
  color: var(--ink-soft);
  max-width: 58ch;
}

.about__copy p {
  margin: 0 0 1rem;
}

.about__copy p:last-child {
  margin-bottom: 0;
}

@media (min-width: 900px) {
  .about__layout {
    grid-template-columns: 1fr 1.1fr;
    grid-template-areas:
      "lede photo"
      "copy photo";
    gap: 1.25rem 3rem;
    align-items: start;
  }

  .about__lede {
    grid-area: lede;
  }

  .about__copy {
    grid-area: copy;
  }

  .about__layout .photo-frame {
    grid-area: photo;
  }
}

.photo-frame {
  margin: 0;
}

.photo-frame img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  border-radius: 4px;
}

.photo-frame figcaption,
.venue__figure figcaption {
  margin-top: 0.75rem;
  font-size: 0.88rem;
  color: var(--ink-soft);
}

.org-grid,
.why-grid {
  display: grid;
  gap: 2rem;
  margin-top: 2.5rem;
}

@media (min-width: 800px) {
  .org-grid,
  .why-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.why-grid--follow {
  margin-top: 2rem;
}

.why-grid .plain-list {
  margin-top: 0.75rem;
}

.org-card {
  padding-top: 1.25rem;
  border-top: 2px solid var(--river);
}

.org-card--featured {
  border-top-color: #003228;
}

.org-card__logo {
  margin-bottom: 1rem;
  padding: 0;
  background: transparent;
  border: none;
  width: fit-content;
  max-width: 100%;
}

.org-card__logo img {
  height: 3rem;
  width: auto;
}

.org-card__logo--pair {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.org-card__seal {
  height: 3.1rem !important;
  width: auto;
}

.org-card__tag {
  margin: 0 0 0.65rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--river);
}

.org-grid h3,
.why-grid h3 {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.25;
}

.org-grid p,
.why-grid p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.98rem;
}

.org-card ul {
  margin: 0.75rem 0 0;
  padding-left: 1.1rem;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.org-card ul li + li {
  margin-top: 0.4rem;
}

.session-list .speaker {
  font-size: 0.88rem;
  font-style: italic;
  color: var(--ink-soft);
}

.why-points {
  margin: 1.5rem 0 0;
  padding-left: 1.25rem;
  color: var(--ink-soft);
}

.why-points li + li {
  margin-top: 0.85rem;
}

.why-points strong {
  color: var(--ink);
}

.photo-strip {
  display: grid;
  gap: 1rem;
  margin-top: 2.5rem;
}

@media (min-width: 800px) {
  .photo-strip {
    grid-template-columns: repeat(3, 1fr);
  }
}

.photo-strip img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 4px;
}

.programme-list {
  max-width: 72ch;
}

.programme-list--spaced {
  margin-top: 1.5rem;
}

.venue__logo {
  margin: 0 0 1.25rem;
  padding: 0;
  background: transparent;
  border: none;
  width: fit-content;
}

.venue__logo img {
  height: 3.2rem;
  width: auto;
}

.theme {
  background: linear-gradient(135deg, var(--river-deep), #1a5c4a 70%);
  color: var(--white);
}

section.section.theme {
  padding-top: 3.75rem;
  padding-bottom: 5.5rem;
}

.theme .eyebrow {
  color: #9fd0c0;
  margin-bottom: 1.6rem;
}

.theme h2 {
  margin-bottom: 1.85rem;
}

.theme .lede {
  color: rgba(255, 255, 255, 0.88);
}

.theme__layout {
  display: grid;
  gap: 2.5rem;
}

@media (min-width: 900px) {
  .theme__layout {
    grid-template-columns: 1.2fr 0.8fr;
    align-items: start;
  }

  .theme__intro {
    transform: translate3d(0, -1.25rem, 0);
  }
}

.theme__list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.theme__list li {
  padding: 0.85rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 0.98rem;
}

@media (min-width: 900px) {
  .theme__list li:first-child {
    padding-top: 0;
  }
}

.theme__list li:last-child {
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.subhead {
  margin: 2.5rem 0 1rem;
  font-family: var(--font-display);
  font-size: 1.35rem;
}

.session-list {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: session;
}

.session-list li {
  counter-increment: session;
  display: grid;
  gap: 0.2rem;
  padding: 1.1rem 0 1.1rem 3rem;
  border-bottom: 1px solid rgba(19, 38, 47, 0.12);
  position: relative;
}

.session-list li::before {
  content: counter(session, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 1.15rem;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--river);
}

.session-list strong {
  font-size: 1.05rem;
}

.session-list span {
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.two-col {
  display: grid;
  gap: 2rem;
  margin-top: 1rem;
}

@media (min-width: 800px) {
  .two-col {
    grid-template-columns: 1fr 1fr;
  }
}

.plain-list {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--ink-soft);
}

.plain-list li + li {
  margin-top: 0.45rem;
}

.plain-list.compact {
  columns: 1;
}

.venue__layout {
  display: grid;
  gap: 2.5rem;
  align-items: start;
  margin-top: 0.5rem;
}

.venue__copy > p:first-child {
  margin-top: 0;
}

@media (min-width: 900px) {
  .venue__layout {
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "logo ."
      "copy photo";
    gap: 1.25rem 3rem;
    align-items: start;
  }

  .venue__logo {
    grid-area: logo;
  }

  .venue__copy {
    grid-area: copy;
  }

  .venue__figure {
    grid-area: photo;
  }
}

.venue__figure {
  margin: 0;
  overflow: hidden;
  border-radius: 4px;
}

.venue__figure img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
}

.chairs {
  margin-bottom: 0.5rem;
  font-size: 1.05rem;
  color: var(--ink);
}

.register {
  padding-bottom: 6rem;
}

.register__box {
  background: var(--white);
  border: 1px solid rgba(19, 38, 47, 0.08);
  padding: clamp(1.75rem, 4vw, 3rem);
  box-shadow: 0 24px 60px rgba(14, 58, 68, 0.08);
}

.fee-row {
  display: grid;
  gap: 1.5rem;
  margin: 2rem 0;
}

@media (min-width: 700px) {
  .fee-row {
    grid-template-columns: repeat(3, 1fr);
  }
}

.fee-label {
  margin: 0;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--river);
  font-weight: 600;
}

.fee-value {
  margin: 0.35rem 0;
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 700;
  line-height: 1;
}

.fee-note {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.register__note {
  margin: 0;
  padding-top: 1rem;
  color: var(--ink-soft);
  max-width: none;
  width: 100%;
}

.register__box .programme-list + .register__note {
  padding-top: 1.75rem;
}

.site-footer {
  background: var(--river-deep);
  color: rgba(255, 255, 255, 0.85);
  padding: 3rem 0;
}

.footer__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: space-between;
  align-items: center;
}

.footer__brand {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--white);
}

.footer__logos {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.75rem;
}

.footer__partners {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: 1.25rem 1.75rem;
}

.footer__sggw,
.footer__partner-logo {
  display: inline-flex;
  align-items: center;
  padding: 0;
  background: transparent;
  border-radius: 0;
}

.footer__sggw img,
.footer__partner-logo img {
  height: 3.3rem;
  width: auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.footer__partner-logo--irs img {
  height: 3.9rem;
}

.footer__hosts {
  margin: 0;
  font-size: 0.95rem;
  text-align: left;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@keyframes rise {
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes hero-drift {
  to {
    transform: scale(1.14) translate3d(-1.5%, -1%, 0);
  }
}

@media (max-width: 800px) {
  .nav-toggle {
    display: block;
  }

  .sggw-mark img {
    height: 1.55rem;
  }

  .brand-divider {
    height: 1.2rem;
  }

  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--foam);
    border-bottom: 1px solid rgba(19, 38, 47, 0.08);
    padding: 0.5rem 1.25rem 1rem;
  }

  .nav.is-open {
    display: flex;
  }

  .nav a {
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(19, 38, 47, 0.06);
  }

  .nav__cta {
    margin-top: 0.5rem;
    text-align: center;
  }

  .hero {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
  }

  .hero__content {
    margin-bottom: 1.35rem;
  }

  .hero__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero__actions .btn {
    width: 100%;
  }

  .hero__partners {
    position: relative;
    left: auto;
    right: auto;
    bottom: auto;
    margin: 0 auto 1.25rem;
    gap: 1rem 1.35rem;
  }

  .hero__partners img {
    height: 2.15rem;
  }

  .hero__partners img[src*="logo-irs"] {
    height: 2.45rem;
  }

  .hero__partners img[src*="logo-igpas"] {
    height: 1.95rem;
  }

  .footer__logos {
    align-items: flex-start;
  }
}
