:root {
  --primary: #005b72;
  --bg-light: #ffffff;
  --bg-muted: #f0f0f0;
  --text-primary: #000000;
  --text-secondary: #515151;
  --text-tertiary: #a2a2a2;
  --line: #b6d5dd;
  --danger: #b2191a;
  --teal: #005F78;
  --card-shadow: 0 8px 16px -2px rgba(16, 24, 32, 0.08), 0 0 0 1px rgba(0, 0, 0, 0.05);
  --font-body: "Akkurat Pro", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-display: "Albra", "Akkurat Pro", "Iowan Old Style", "Times New Roman", serif;
}

@font-face {
  font-family: "Akkurat Pro";
  src: url("../content/font/lineto-akkurat-regular.woff2") format("woff2"),
       url("../content/font/lineto-akkurat-regular.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Akkurat Pro";
  src: url("../content/font/lineto-akkurat-regular.woff2") format("woff2"),
       url("../content/font/lineto-akkurat-regular.woff") format("woff");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Akkurat Pro";
  src: url("../content/font/lineto-akkurat-bold.woff2") format("woff2"),
       url("../content/font/lineto-akkurat-bold.woff") format("woff");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Akkurat Pro";
  src: url("../content/font/lineto-akkurat-italic.woff2") format("woff2"),
       url("../content/font/lineto-akkurat-italic.woff") format("woff");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Albra";
  src: url("../content/font/albra-regular.woff2") format("woff2"),
       url("../content/font/albra-regular.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Albra";
  src: url("../cc-imgs/AlbraTRIAL-Medium.otf") format("opentype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #ffffff;
  color: var(--text-primary);
  font-family: var(--font-body);
}

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

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

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

.container {
  width: min(1200px, calc(100% - 48px));
  margin: 0 auto;
}

.section {
  padding: 80px 0;
}

.section-contact {
  padding: 120px 0;
}

.bg-light {
  background: var(--bg-light);
}

.bg-muted {
  background: var(--bg-muted);
}

.section-title {
  font-size: 48px;
  line-height: 1.1;
  font-weight: 700;
  margin-bottom: 40px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid #ece9e6;
  background: #ffffff;
}

.header-inner {
  min-height: 112px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  width: 87px;
  height: 64px;
  flex: 0 0 auto;
}

.brand img {
  width: 100%;
  height: 100%;
}

.menu-toggle {
  display: none;
  border: 0;
  background: transparent;
  color: var(--text-primary);
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  padding: 8px 0;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 40px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.main-nav .nav-link {
  font-size: 18px;
  line-height: 1.5;
  color: var(--text-secondary);
  padding: 8px;
  border-bottom: 2px solid transparent;
}

.main-nav .nav-link.active,
.main-nav .nav-link:hover {
  color: var(--text-primary);
}

.main-nav .nav-link.active {
  border-bottom-color: var(--primary);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 8px;
  background: var(--primary);
  color: #ffffff;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.btn:hover {
  background: #00465a;
}

.btn-small {
  min-height: 44px;
  padding: 8px 20px;
  font-size: 16px;
  line-height: 1.4;
}

.btn-large {
  width: 100%;
  min-height: 56px;
  padding: 16px 28px;
  font-size: 18px;
  line-height: 1.4;
}

.hero-grid {
  margin: unset;
  width: 100%;
}

.hero {
  background: var(--bg-light);
}

.hero img {
  width: 100%;
  aspect-ratio: 2250 / 465;
  object-fit: cover;
}

.welcome-grid {
  display: grid;
  grid-template-columns: minmax(0, 636px) minmax(0, 440px);
  gap: 80px;
  justify-content: space-between;
  align-items: start;
}

.welcome-copy h1 {
  font-size: 48px;
  line-height: 1.1;
  margin-bottom: 40px;
  font-weight: 700;
}

.welcome-copy p {
  color: var(--text-secondary);
  font-size: 20px;
  line-height: 1.4;
}

.welcome-copy p+p {
  margin-top: 28px;
}

.event-card {
  background: #ffffff;
  border-radius: 12px;
  box-shadow: var(--card-shadow);
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 393px;
}

.event-card h2 {
  font-size: 24px;
  line-height: 1.4;
  font-weight: 700;
  margin-bottom: 24px;
}

.event-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 24px;
}

.event-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.event-icon-box {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: #edf5f7;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.event-icon-box img {
  width: 18px;
  height: 18px;
}

.event-meta {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.event-label {
  color: var(--text-secondary);
  font-size: 12px;
  line-height: 1.4;
}

.event-value {
  color: var(--text-primary);
  font-size: 14px;
  line-height: 1.4;
  font-weight: 700;
}

.agenda-list {
  display: flex;
  flex-direction: column;
}

.agenda-item {
  display: grid;
  grid-template-columns: 200px 33px minmax(0, 1fr);
  column-gap: 36px;
  align-items: stretch;
}

.agenda-time {
  color: var(--text-secondary);
  font-size: 18px;
  line-height: 1.5;
  font-weight: 700;
  padding: 16px 0 44px;
  white-space: nowrap;
}

.agenda-track {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  padding-top: 25px;
}

.agenda-dot {
  width: 8px;
  height: 8px;
  border-radius: 4px;
  background: var(--primary);
  flex: 0 0 auto;
}

.agenda-line {
  width: 1px;
  flex: 1;
  background: var(--line);
}

.agenda-topic {
  font-family: var(--font-display);
  font-size: 32px;
  line-height: 1.3;
  font-weight: 500;
  padding: 12px 0 40px;
}

.agenda-item:last-child .agenda-line {
  display: none;
}

.agenda-item:last-child .agenda-time {
  padding-bottom: 24px;
}

.agenda-item:last-child .agenda-topic {
  padding-bottom: 20px;
}

.speakers-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 80px;
}

.speaker-card {
  background: #ffffff;
  border-radius: 16px;
  box-shadow: var(--card-shadow);
  padding: 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.speaker-card:hover {
  box-shadow: 0px 20px 32px -2px rgba(16, 24, 32, 0.12), 0px 0px 0px 1px rgba(0, 0, 0, 0.05);
}

.speaker-tom {
  grid-column: 2;
}

.speaker-photo-wrap,
.speaker-icon-wrap {
  width: 200px;
  height: 200px;
  border-radius: 174px;
  overflow: hidden;
  flex: 0 0 auto;
}

.speaker-photo-wrap {
  background: #d9d9d9;
}

.speaker-photo {
  width: 200px;
  height: 260px;
  object-fit: cover;
}

.speaker-photo-maurice {
  transform: scale(1.04);
}

.speaker-photo-tom {
  transform: scale(1.14);
  transform-origin: top center;
}

.speaker-icon-wrap {
  background: #edf5f7;
  display: flex;
  align-items: center;
  justify-content: center;
}

.speaker-icon-wrap img {
  width: 104px;
  height: 104px;
}

.speaker-card-chris .speaker-icon-wrap {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid #b7b7b7;
}

.speaker-card-chris .speaker-icon-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.speaker-meta {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
}

.speaker-meta h3 {
  font-family: var(--font-display);
  font-size: 24px;
  line-height: 1.2;
  font-weight: 500;
  text-align: center;
}

.speaker-meta p,
.speaker-company {
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.5;
  text-align: center;
}

.speaker-company {
  font-weight: 700;
}

.register-grid {
  display: grid;
  grid-template-columns: 456px minmax(0, 1fr);
  gap: 80px;
  align-items: start;
}

.register-copy h2 {
  margin-bottom: 16px;
}

.register-copy p {
  color: var(--text-secondary);
  font-size: 20px;
  line-height: 1.4;
}

.register-form {
  background: #ffffff;
  border-radius: 16px;
  box-shadow: var(--card-shadow);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.register-form h3 {
  font-family: var(--font-display);
  font-size: 32px;
  line-height: 1.3;
  font-weight: 500;
}

.line-field {
  display: flex;
  flex-direction: column;
  gap: 4px;
  border-bottom: 1px solid #c7c7c7;
  padding-bottom: 10px;
}

.line-field>span {
  color: var(--text-secondary);
  font-size: 16px;
  line-height: 1.4;
}

.required {
  color: var(--danger);
}

.line-field input {
  border: 0;
  outline: none;
  color: var(--text-primary);
  font-size: 18px;
  line-height: 1.4;
  font-family: var(--font-body);
  background: transparent;
  padding: 0;
}

.line-field input::placeholder {
  color: var(--text-tertiary);
}

.consent-row {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-top: 4px;
}

.consent-row input[type="checkbox"] {
  width: 24px;
  height: 24px;
  appearance: none;
  border-radius: 6px;
  border: 1.25px solid var(--text-tertiary);
  background: #ffffff;
  margin: 0;
  flex: 0 0 auto;
  position: absolute;
  opacity: 0;
  cursor: pointer;
}

.checkmark {
  display: inline-block;
  width: 24px;
  height: 24px;
  min-width: 24px;
  min-height: 24px;
  flex: 0 0 24px;
  box-sizing: border-box;
  border: 1.25px solid var(--teal);
  border-radius: 6px;
  background: #ffffff;
  position: relative;
  margin-top: 1px;
  transition: all 0.25 ease;
}

.consent-row input:checked+.checkmark {
  background: var(--teal);
  border-color: var(--teal);
}

.consent-row input:checked+.checkmark::after {
  content: "";
  position: absolute;
  width: 12px;
  height: 6px;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(-45deg);
  left: 5px;
  top: 6px;
}

.consent-row>span:last-child {
  color: var(--text-secondary);
  font-size: 16px;
  line-height: 1.5;
}

.consent-row a {
  color: var(--primary);
}

.contact-grid {
  display: grid;
  grid-template-columns: 456px minmax(0, 1fr);
  gap: 80px;
  align-items: start;
}

.contact-copy p {
  color: var(--text-secondary);
  font-size: 20px;
  line-height: 1.4;
}

.contact-card {
  background: #ffffff;
  border-radius: 16px;
  box-shadow: var(--card-shadow);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-person h3 {
  font-family: var(--font-display);
  font-size: 32px;
  line-height: 1.3;
  font-weight: 500;
}

.contact-person p {
  margin-top: 8px;
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.5;
}

.contact-lines {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-line {
  display: flex;
  align-items: center;
  gap: 8px;
}

.contact-line img {
  width: 24px;
  height: 24px;
}

.contact-line a {
  color: var(--primary);
  font-size: 16px;
  line-height: 1.5;
  font-weight: 700;
}

.disclaimer-title {
  font-size: 32px;
  line-height: 1.4;
  font-weight: 700;
  margin-bottom: 16px;
}

.disclaimer-copy {
  color: var(--text-secondary);
  font-size: 20px;
  line-height: 1.4;
}

@media (max-width: 1279px) {

  .welcome-grid,
  .register-grid,
  .contact-grid {
    gap: 48px;
  }

  .speakers-grid {
    gap: 48px;
  }

  .agenda-item {
    column-gap: 24px;
  }
}

@media (max-width: 1080px) {

  .section,
  .section-contact {
    padding: 64px 0;
  }

  .section-title,
  .welcome-copy h1 {
    font-size: 40px;
    margin-bottom: 32px;
  }

  .welcome-grid,
  .register-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

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

  .agenda-item {
    grid-template-columns: 170px 28px minmax(0, 1fr);
  }

  .agenda-time {
    font-size: 16px;
  }

  .agenda-topic {
    font-size: 28px;
  }

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

  .speaker-tom {
    grid-column: auto;
  }
}

@media (max-width: 920px) {
  .header-inner {
    min-height: 88px;
    position: relative;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .header-right {
    position: absolute;
    right: 0;
    top: calc(100% - 1px);
    width: min(360px, 100%);
    background: #ffffff;
    border: 1px solid #ece9e6;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
    border-radius: 0 0 12px 12px;
    padding: 16px;
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 0.2s ease, transform 0.2s ease;
  }

  .header-right.open {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .main-nav {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }

  .main-nav a {
    border-bottom: 0;
    border-radius: 8px;
    padding: 10px 12px;
    background: #f7f7f7;
  }

  .main-nav a.active {
    border-bottom: 0;
    background: #e7f1f4;
  }

  .header-cta {
    width: 100%;
  }

  .speaker-photo-wrap,
  .speaker-icon-wrap {
    width: 160px;
    height: 160px;
  }

  .speaker-card-chris .speaker-icon-wrap {
    width: 160px;
    height: 160px;
  }

  .speaker-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
  }

  .speaker-photo-maurice,
  .speaker-photo-tom {
    transform: none;
  }

  .speaker-photo-maurice {
    object-position: center 24%;
  }

  .speaker-photo-tom {
    object-position: center 22%;
  }

  .speaker-icon-wrap img {
    width: 88px;
    height: 88px;
  }
}

@media (max-width: 760px) {

  .section,
  .section-contact {
    padding: 48px 0;
  }

  .section-title,
  .welcome-copy h1 {
    font-size: 34px;
    margin-bottom: 24px;
  }

  .welcome-copy p,
  .register-copy p,
  .contact-copy p,
  .disclaimer-copy {
    font-size: 18px;
  }

  .event-card,
  .register-form,
  .contact-card,
  .speaker-card {
    padding: 24px;
  }

  .agenda-item {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
    row-gap: 12px;
    position: relative;
    padding-left: 24px;
  }

  .agenda-time {
    padding: 8px 0 0;
    white-space: normal;
  }

  .agenda-track {
    position: absolute;
    left: 0;
    top: 44px;
    bottom: 24px;
    width: 16px;
    padding: 0;
  }

  .agenda-dot {
    margin-top: 0;
  }

  .agenda-topic {
    font-size: 26px;
    padding: 0 0 24px;
  }

  .agenda-item:last-child .agenda-track {
    bottom: 8px;
  }

  .speakers-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .speaker-card {
    max-width: 400px;
    width: 100%;
    margin: 0 auto;
  }

  .register-form h3,
  .contact-person h3 {
    font-size: 28px;
  }

  .line-field input {
    font-size: 16px;
  }

  .disclaimer-title {
    font-size: 28px;
  }
}

.modal {
  width: 100%;
  height: 100%;
  border: none;
  position: fixed;
  z-index: 9999;
  opacity: 0;
  display: flex;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  justify-content: center;
  align-items: center;
}

.modal-body {
  background: #ffffff;
  width: 650px;
  max-width: 90%;
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  padding: 32px;
  text-align: center;
  align-items: center;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.modal-content {
  background: #EDF5F7;
  width: 120px;
  max-width: 90%;
  border-radius: 50%;
  padding: 28px;
  text-align: center;
  margin-bottom: 24px;
}

.message {
  font-size: 20px;
  line-height: 1.6;
  color: #333333;
  margin-bottom: 24px;
}

.close-btn {
  padding: 12px 35px;
  border: 1px solid #8ABCC9;
  border-radius: 8px;
  background: #ffffff;
  color: #005F78;
  font-size: 18px;
  cursor: pointer;
  font-weight: 700;
}

.modal.show {
  opacity: 1;
  visibility: visible;
}

#submitBtn {
  font-family: 'Akkurat Pro';
}

#submitBtn:disabled {
  background: #b5b5b5;
  cursor: not-allowed;
  opacity: 0.7;
}

#submitBtn:not(:disabled) {
  background: var(--primary);
  color: #ffffff;
  cursor: pointer;
}

.error {
  display: none;
  color: #B2191A;
  font-size: 14px;
  margin-top: 8px;
}

.error.show {
  display: block;
}

.clickdform input {
  border: 0;
  outline: none;
  color: var(--text-primary);
  font-size: 18px;
  line-height: 1.4;
  font-family: var(--font-body);
  background: transparent;
  padding: 0;
}

  .main-nav a.header-cta,
  .main-nav a.header-cta.active {
    background: var(--primary);
    color: #ffffff;
  }

  .main-nav a.nav-link:hover,
  .main-nav a.nav-link:active,
  .main-nav a.nav-link:focus-visible {
    background: #e7f1f4;
    color: var(--text-primary);
  }

  .main-nav a.header-cta:hover,
  .main-nav a.header-cta:active,
  .main-nav a.header-cta:focus-visible {
    background: #00465a;
    color: #ffffff;
  }

.speaker-meta p {
  min-height: 42px;
}

@media (max-width: 760px) {
  .consent-row {
    gap: 10px;
  }
  .checkmark {
    width: 20px;
    height: 20px;
    min-width: 20px;
    min-height: 20px;
    flex: 0 0 20px;
    margin-top: 2px;
  }
  .consent-row input:checked+.checkmark::after {
    width: 10px;
    height: 5px;
    left: 4px;
    top: 5px;
  }
  .consent-row>span:last-child {
    font-size: 14px;
    line-height: 1.45;
  }
}