/* THTD Model-A design adaptation. */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("assets/inter-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("assets/inter-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Libre Caslon Display";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/libre-caslon-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Libre Caslon Display";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/libre-caslon-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --brand-deep: #0b3b49;
  --brand-dark: #082f3b;
  --brand-mid: #1597aa;
  --brand-light: #78d4df;
  --brand-pale: #e7f7fa;
  --pistachio: #c8edf2;
  --pistachio-strong: #78d4df;
  --pistachio-soft: #eefbfd;
  --pistachio-surface: #e7f7fa;
  --accent-warm: #78d4df;
  --accent-warm-strong: #1597aa;
  --accent-warm-soft: #eefbfd;
  --accent-warm-surface: #e7f7fa;
  --accent-warm-text: #0f7c8d;
  --accent-cool-soft: #eefbfd;
  --navy: var(--brand-deep);
  --navy-2: var(--brand-dark);
  --cyan: var(--brand-mid);
  --cyan-soft: var(--brand-pale);
  --orange: var(--accent-warm-text);
  --orange-soft: var(--accent-warm-soft);
  --ink: #0b3b49;
  --muted: #4f6f78;
  --line: #a9dce4;
  --mist: #ffffff;
}

.thtd-brand {
  width: 126px;
  display: inline-flex;
  align-items: center;
}

.thtd-brand-logo {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.hero {
  background-image: url("/wp-content/uploads/thtd-kongre/source/hero-main-user.webp");
  background-position: center bottom;
  background-size: cover;
}

@media (max-width: 820px) {
  .hero {
    background-image: url("/wp-content/uploads/thtd-kongre/source/hero-main-mobile.webp");
  }
}

.hero-overlay {
  background: linear-gradient(180deg, rgba(5,38,48,.08), rgba(5,38,48,.16));
}

.hero-content {
  max-width: 1040px;
  transform: translateY(-10px);
}

.hero h1 {
  max-width: 1000px;
}

.hero-pretitle {
  margin-bottom: 4px;
  font-size: clamp(50px, 5vw, 76px);
  font-weight: 400;
  line-height: 1.02;
}

.subhero {
  background-image: url("/wp-content/uploads/thtd-kongre/source/hero-subpage-user.webp");
  background-position: center bottom;
  background-size: cover;
}

.subhero-overlay {
  background: linear-gradient(90deg, rgba(18,62,77,.38), rgba(18,62,77,.08));
}

.site-header.scrolled,
.subpage-header {
  background: rgba(18,62,77,.98);
  box-shadow: 0 8px 24px rgba(18,62,77,.16);
}

.site-header {
  border-bottom-color: rgba(255,255,255,.22);
}

.hero-actions .button-primary {
  border-color: var(--pistachio);
  background: var(--pistachio);
  color: var(--brand-deep);
}

.hero-actions .button-secondary {
  border-color: var(--accent-warm);
  background: var(--accent-warm);
  color: var(--brand-deep);
}

.hero-actions .button-primary::before,
.hero-actions .button-secondary::after {
  color: var(--brand-deep);
}

.hero-actions .button-primary:hover {
  border-color: var(--pistachio-strong);
  background: var(--pistachio-strong);
  color: var(--brand-deep);
}

.hero-actions .button-secondary:hover {
  border-color: var(--accent-warm-strong);
  background: var(--accent-warm-strong);
  color: var(--brand-deep);
}

.hero-scroll {
  border-color: rgba(255,255,255,.72);
  color: white;
  background: rgba(18,62,77,.7);
}

.hero-scroll:hover {
  color: var(--brand-deep);
  border-color: var(--accent-warm);
  background: var(--accent-warm);
}

.countdown {
  border-top-color: rgba(255,255,255,.42);
  border-bottom-color: rgba(255,255,255,.42);
}

.countdown > div {
  border-right-color: rgba(255,255,255,.28);
}

.footer-bottom {
  border-top-color: rgba(255,255,255,.22);
}

.page-scroll-control {
  position: fixed;
  top: 50%;
  right: 14px;
  bottom: auto;
  z-index: 90;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid var(--brand-light);
  border-radius: 50%;
  color: white;
  background: var(--brand-mid);
  box-shadow: 0 8px 24px rgba(8,47,59,.2);
  cursor: pointer;
  transform: translateY(-50%);
  transition: color .2s ease, background .2s ease, border-color .2s ease, transform .2s ease;
}

.page-scroll-control[hidden] {
  display: none;
}

.page-scroll-control:hover,
.page-scroll-control:focus-visible {
  border-color: var(--brand-mid);
  color: var(--brand-deep);
  background: var(--brand-light);
  transform: translateY(calc(-50% - 2px));
}

.page-scroll-control span {
  grid-area: 1 / 1;
  font: 400 30px/1 var(--display);
}

.page-scroll-up,
.page-scroll-control.points-up .page-scroll-down {
  display: none;
}

.page-scroll-control.points-up .page-scroll-up {
  display: block;
}

.quick-actions {
  grid-template-columns: repeat(8, minmax(0, 1fr));
  border-color: var(--line);
  background: white;
}

.quick-actions > a {
  border-color: var(--line);
  background: white;
}

.quick-actions > a svg {
  color: var(--brand-mid);
}

.quick-actions > a:hover {
  color: var(--brand-deep);
  background: var(--brand-pale);
}

.quick-actions > a:hover svg {
  color: var(--brand-mid);
}

.new-badge {
  min-width: 30px;
  height: 18px;
  padding: 0 5px;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  border: 1px solid #e6ad00;
  border-radius: 3px;
  background: #ffdc3d;
  color: #c4142d;
  box-shadow: 0 2px 8px rgba(196, 20, 45, .2);
  font-family: var(--body);
  font-size: 9px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0;
  text-transform: uppercase;
  pointer-events: none;
}

.quick-actions .quick-action-new {
  position: relative;
}

.quick-actions .quick-action-new .new-badge {
  position: static;
  flex: 0 0 auto;
  transform: rotate(-7deg);
  transform-origin: center;
}

.button-primary,
.registration-band .button-primary,
.registration-cta .button-primary {
  border-color: var(--pistachio);
  background: var(--pistachio);
  color: var(--brand-deep);
}

.button-primary:hover,
.registration-band .button-primary:hover,
.registration-cta .button-primary:hover {
  border-color: var(--pistachio-strong);
  background: var(--pistachio-strong);
  color: var(--brand-deep);
}

.abstract-cta .button-primary {
  border-color: var(--accent-warm);
  background: var(--accent-warm);
  color: var(--brand-deep);
}

.abstract-cta .button-primary:hover {
  border-color: var(--accent-warm-strong);
  background: var(--accent-warm-strong);
  color: var(--brand-deep);
}

.document-access-section {
  width: 100%;
  max-width: none;
  min-height: 560px;
  margin: 0;
  padding: 88px max(6vw, calc((100vw - 1180px) / 2));
  display: grid;
  grid-template-columns: minmax(0,1.08fr) minmax(380px,.92fr);
  align-items: center;
  gap: 88px;
  box-sizing: border-box;
  scroll-margin-top: 112px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--brand-pale);
}

.document-access-copy {
  padding-left: 28px;
  border-left: 4px solid var(--brand-mid);
}

.document-access-copy .eyebrow {
  color: #0f7482;
}

.document-access-copy h2 {
  max-width: 620px;
  margin: 12px 0 24px;
  font-size: 60px;
  line-height: 1.06;
}

.document-access-copy > p:last-child {
  max-width: 620px;
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
}

.document-access-details {
  padding: 28px;
  border: 1px solid var(--line);
  background: white;
}

.document-access-details > p {
  min-height: 74px;
  margin: 0;
  padding: 14px 2px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 24px;
  border-bottom: 1px solid var(--line);
}

.document-access-details strong {
  color: var(--brand-deep);
  font-size: 15px;
}

.document-access-details p span {
  color: var(--muted);
  font-size: 13px;
  text-align: right;
}

.document-access-button {
  width: 100%;
  min-height: 54px;
  margin-top: 26px;
  padding: 0 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 1px solid var(--brand-deep);
  background: var(--brand-deep);
  color: white;
  font-weight: 700;
}

.document-access-button:hover {
  border-color: var(--brand-mid);
  background: var(--brand-mid);
  color: white;
}

.document-access-button svg {
  width: 18px;
  height: 18px;
}

.personal-photos-section {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 88px max(6vw, calc((100vw - 1180px) / 2));
  box-sizing: border-box;
  scroll-margin-top: 112px;
  border-bottom: 1px solid var(--line);
  background: white;
}

.personal-photos-heading {
  display: grid;
  grid-template-columns: minmax(0,1.05fr) minmax(320px,.95fr);
  align-items: end;
  gap: 72px;
}

.personal-photos-heading h2 {
  margin: 10px 0 0;
  color: var(--brand-deep);
  font-size: clamp(48px,5vw,68px);
  line-height: 1;
}

.personal-photos-heading > p {
  max-width: 580px;
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
}

.personal-photo-actions {
  margin-top: 46px;
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  border: 1px solid var(--line);
}

.personal-photo-action {
  min-height: 190px;
  padding: 26px;
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto auto 1fr;
  align-items: start;
  gap: 14px 20px;
  border: 0;
  border-right: 1px solid var(--line);
  border-radius: 0;
  background: white;
  color: var(--brand-deep);
  font-family: var(--sans);
  text-align: left;
  cursor: pointer;
  transition: color .2s ease, background .2s ease;
}

.personal-photo-action:last-child {
  border-right: 0;
}

.personal-photo-action > span {
  color: #0f7482;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.home-page .leadership-group > span {
  color: #0f7482;
}

.personal-photo-action > svg {
  width: 28px;
  height: 28px;
  color: var(--brand-mid);
}

.personal-photo-action > strong {
  grid-column: 1 / -1;
  align-self: start;
  font: 400 30px/1.1 var(--display);
}

.personal-photo-action > small {
  grid-column: 1 / -1;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.personal-photo-action:hover,
.personal-photo-action:focus-visible,
.personal-photo-action.is-active {
  background: var(--brand-pale);
}

.personal-photo-action.is-active {
  box-shadow: inset 0 -4px 0 var(--brand-mid);
}

.personal-photo-workspace {
  margin-top: 34px;
  padding: 38px;
  border: 1px solid var(--line);
  background: #f8fcfd;
}

.personal-photo-intro {
  display: grid;
  grid-template-columns: minmax(220px,.75fr) minmax(0,1.25fr);
  align-items: end;
  gap: 18px 48px;
}

.personal-photo-intro .eyebrow {
  grid-column: 1 / -1;
  margin: 0;
}

.personal-photo-intro h3 {
  margin: 0;
  color: var(--brand-deep);
  font: 400 clamp(34px,3.5vw,50px)/1.08 var(--display);
}

.personal-photo-intro > p:last-child {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.personal-photo-auth-form {
  margin-top: 34px;
}

.personal-photo-auth-form .photo-identity-fields {
  display: grid;
  grid-template-columns: repeat(4,minmax(0,1fr));
  gap: 16px;
}

.personal-photo-auth-form label > span {
  min-height: 34px;
  display: flex;
  align-items: flex-end;
}

.personal-photo-auth-form input {
  width: 100%;
  min-height: 50px;
  border: 1px solid var(--line);
  border-radius: 0;
  background: white;
}

.personal-photo-auth-form .photo-access-note {
  margin-top: 18px;
}

.personal-photo-auth-submit {
  margin: 20px 0 0;
}

.personal-photo-auth-submit .button {
  min-width: 240px;
  min-height: 52px;
}

.personal-photo-status {
  margin-top: 14px;
}

.personal-photo-private-area[hidden],
.personal-photo-panel[hidden],
.personal-photo-auth-form[hidden],
.personal-photo-intro[hidden] {
  display: none !important;
}

.personal-photo-profile {
  min-height: 68px;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-left: 4px solid var(--brand-mid);
  background: var(--brand-pale);
}

.personal-photo-profile > div {
  display: grid;
  gap: 4px;
}

.personal-photo-profile span {
  color: var(--brand-mid);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.personal-photo-profile strong {
  color: var(--brand-deep);
}

.personal-photo-profile button {
  padding: 9px 12px;
  border: 1px solid var(--brand-mid);
  border-radius: 0;
  background: transparent;
  color: var(--brand-deep);
  font-weight: 700;
  cursor: pointer;
}

.personal-photo-profile button:hover {
  background: var(--brand-mid);
  color: white;
}

.personal-photo-panel {
  margin-top: 32px;
}

.personal-photo-panel-heading,
.private-photo-gallery-heading {
  padding-bottom: 20px;
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(280px,.72fr);
  align-items: end;
  gap: 40px;
  border-bottom: 1px solid var(--line);
}

.personal-photo-panel-heading h3,
.private-photo-gallery-heading h3 {
  margin: 8px 0 0;
  color: var(--brand-deep);
  font: 400 clamp(34px,3.6vw,52px)/1 var(--display);
}

.personal-photo-panel-heading > p,
.private-photo-gallery-heading > .photo-gallery-count {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.private-photo-gallery-heading > .photo-gallery-count {
  justify-self: end;
  font-size: 13px;
  font-weight: 700;
}

.personal-photo-dropzone {
  position: relative;
  min-height: 210px;
  margin-top: 24px;
  padding: 30px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 8px;
  border: 1px dashed var(--brand-mid);
  background: white;
  color: var(--brand-deep);
  text-align: center;
  cursor: pointer;
}

.personal-photo-dropzone:hover,
.personal-photo-dropzone:focus-within {
  background: var(--brand-pale);
}

.photo-gallery-page .thtd-form-surface .personal-photo-dropzone input[type="file"] {
  position: absolute;
  width: 1px;
  height: 1px;
  min-height: 0;
  margin: 0;
  padding: 0;
  border: 0;
  overflow: hidden;
  opacity: 0;
}

.personal-photo-dropzone svg {
  width: 34px;
  height: 34px;
  color: var(--brand-mid);
}

.personal-photo-dropzone strong {
  font-size: 17px;
}

.personal-photo-dropzone span {
  color: var(--muted);
  font-size: 13px;
}

.personal-photo-file-list {
  margin-top: 16px;
  display: grid;
  gap: 6px;
}

.personal-photo-file-list p {
  margin: 0;
  padding: 9px 12px;
  border-left: 3px solid var(--brand-mid);
  background: white;
  color: var(--muted);
  font-size: 13px;
}

.photo-publication-consent {
  margin-top: 18px;
  padding: 15px 16px;
  display: grid;
  grid-template-columns: 20px minmax(0,1fr);
  align-items: start;
  gap: 11px;
  border: 1px solid var(--line);
  background: white;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.photo-gallery-page .thtd-form-surface .photo-publication-consent input {
  width: 18px;
  height: 18px;
  min-height: 0;
  margin: 1px 0 0;
  accent-color: var(--brand-mid);
}

.photo-removal-note {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.photo-removal-note a {
  color: var(--brand-deep);
  font-weight: 700;
  text-underline-offset: 3px;
}

.personal-photo-upload-button {
  min-height: 52px;
  margin-top: 18px;
}

.personal-photo-upload-button:disabled {
  opacity: .48;
  cursor: not-allowed;
}

.personal-photo-panel .private-photo-grid {
  grid-template-columns: repeat(3,minmax(0,1fr));
}

.eyebrow {
  color: var(--accent-warm-text);
}

.registration-band .eyebrow,
.transfer-price-band .eyebrow {
  color: var(--brand-light);
}

.registration-cta .eyebrow {
  color: #0b3b49 !important;
  opacity: 1;
  font-size: 13px;
  font-weight: 800;
}

.travel-plan {
  padding-top: 88px;
  padding-bottom: 76px;
}

.travel-plan .route-line {
  margin-top: 42px;
}

.venue-overview-copy .eyebrow {
  color: var(--brand-light);
}

.route-line article > span {
  color: #0f7c8d;
}

.route-line article {
  display: grid;
  align-content: start;
  min-height: 238px;
}

.route-line article > svg {
  margin-bottom: 42px;
}

.transfer-price-band {
  box-sizing: border-box;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-rows: auto auto auto;
  column-gap: 48px;
  padding: 44px 48px;
}

.transfer-price-band > div:not(.transfer-price-icon) {
  display: contents;
}

.transfer-price-band .eyebrow {
  grid-column: 1;
  grid-row: 1;
}

.transfer-price-band h2 {
  grid-column: 1;
  grid-row: 2;
}

.transfer-price-band p:not(.eyebrow) {
  grid-column: 1;
  grid-row: 3;
  max-width: 720px;
}

.transfer-price-band > strong {
  grid-column: 2;
  grid-row: 1 / 4;
  align-self: center;
  color: var(--brand-light) !important;
}

.travel-notice {
  box-sizing: border-box;
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  align-items: start;
  gap: 28px;
  margin-top: 62px;
  margin-bottom: 78px;
  padding: 42px 48px;
  border-left: 4px solid var(--brand-mid);
  background: var(--brand-soft);
}

.travel-notice-icon {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  color: var(--brand-dark);
  background: white;
  border: 1px solid var(--line);
}

.travel-notice-icon svg {
  width: 25px;
  height: 25px;
}

.travel-notice .eyebrow {
  margin: 0 0 10px;
}

.travel-notice h2 {
  margin: 0;
  font: 400 clamp(30px, 3.4vw, 44px)/1.08 var(--display);
}

.travel-notice div > p:last-child {
  max-width: 820px;
  margin: 15px 0 0;
  color: var(--muted);
  font-size: 14px;
}

@media (max-width: 820px) {
  .travel-plan {
    padding-top: 72px;
    padding-bottom: 68px;
  }

  .route-line article {
    min-height: 190px;
    padding: 26px;
  }

  .route-line article > svg {
    margin-bottom: 30px;
  }

  .transfer-price-band {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto auto;
    gap: 0;
    padding: 38px 32px;
  }

  .transfer-price-band .eyebrow,
  .transfer-price-band h2,
  .transfer-price-band p:not(.eyebrow),
  .transfer-price-band > strong {
    grid-column: 1;
  }

  .transfer-price-band .eyebrow {
    grid-row: 1;
  }

  .transfer-price-band h2 {
    grid-row: 2;
    font-size: 36px;
  }

  .transfer-price-band p:not(.eyebrow) {
    grid-row: 3;
  }

  .transfer-price-band > strong {
    grid-row: 4;
    margin-top: 18px;
    font-size: 44px;
  }

  .travel-notice {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 50px;
    margin-bottom: 68px;
    padding: 34px 28px;
  }
}

@media (max-width: 540px) {
  .travel-plan .route-line {
    margin-top: 34px;
  }

  .route-line article {
    min-height: 176px;
    padding: 24px;
  }

  .transfer-price-band {
    padding: 34px 24px;
  }

  .transfer-price-band h2 {
    font-size: 32px;
  }

  .travel-notice {
    padding: 30px 24px;
  }

  .travel-notice h2 {
    font-size: 31px;
  }
}

.countdown strong {
  font-family: var(--sans);
}

.countdown [data-countdown-unit="seconds"] {
  font-family: var(--display);
  font-size: 34px;
  font-variant-numeric: tabular-nums;
}

.countdown {
  margin-top: 24px;
}

.countdown > div {
  display: grid;
  grid-template-rows: 34px auto;
  align-content: start;
}

.countdown > div > strong {
  align-self: end;
}

.countdown > div > span {
  align-self: start;
}

.subpage-countdown {
  margin-top: 18px;
}

.association-mark {
  min-height: 260px;
  display: grid;
  place-items: center;
  padding: 44px;
  background: var(--cyan-soft);
}

.association-mark img {
  width: min(230px, 100%);
  height: auto;
  object-fit: contain;
}

.thtd-hotel-image {
  background-image:
    linear-gradient(135deg, rgba(18,62,77,.2), rgba(99,180,207,.14)),
    url("/wp-content/uploads/thtd-kongre/source/hotel-overview.webp");
  background-position: center;
  background-size: cover;
}

.venue-overview-image.thtd-hotel-image {
  background-image:
    linear-gradient(135deg, rgba(18,62,77,.12), rgba(52,117,139,.08)),
    url("/wp-content/uploads/thtd-kongre/source/hotel-overview.webp");
  background-position: center 38%;
}

.invitation-leadership {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
}

.invitation-leadership .leadership-names {
  grid-template-columns: 1fr;
}

.agenda-placeholder time {
  color: var(--orange);
  font-family: var(--display);
  font-size: 34px;
}

.included-services,
.faq-section {
  width: min(1180px, 88vw);
  margin-inline: auto;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.service-grid article {
  min-height: 220px;
  padding: 28px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.service-grid svg {
  width: 26px;
  color: var(--cyan);
}

.service-grid h3 {
  margin: 30px 0 8px;
  font: 400 24px/1.15 var(--display);
}

.service-grid p,
.faq-grid p {
  margin: 0;
  color: var(--muted);
}

.faq-grid {
  display: grid;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.faq-grid details {
  background: white;
}

.faq-grid summary {
  cursor: pointer;
  padding: 22px 26px;
  font-weight: 700;
}

.faq-grid details p {
  padding: 0 26px 26px;
}

.thtd-footer-brand {
  width: 150px;
  display: inline-flex;
  color: white;
}

.thtd-footer-brand img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.footer-main {
  grid-template-columns: minmax(0, 1fr) minmax(360px, auto) minmax(0, 1fr);
}

.footer-actions {
  width: 360px;
  justify-self: center;
}

.footer-nav {
  justify-self: end;
}

.footer-action-registration {
  border-color: var(--pistachio);
  background: var(--pistachio);
  color: var(--brand-deep);
}

.footer-action-registration:hover {
  color: var(--brand-deep);
  border-color: var(--pistachio-strong);
  background: var(--pistachio-strong);
}

.footer-action-abstract {
  border-color: var(--accent-warm);
  background: var(--accent-warm);
  color: var(--brand-deep);
}

.footer-action-abstract:hover {
  color: var(--brand-deep);
  border-color: var(--accent-warm-strong);
  background: var(--accent-warm-strong);
}

.site-footer .footer-nav a:hover {
  color: var(--brand-light);
}

.thtd-form-page .subhero {
  min-height: 390px;
}

.thtd-form-section,
.thtd-form-layout {
  width: min(1180px, 88vw);
  margin-inline: auto;
}

.thtd-form-section {
  padding-top: 64px;
}

.thtd-form-layout {
  display: grid;
  grid-template-columns: minmax(280px,.72fr) minmax(0,1.28fr);
  gap: 40px;
  align-items: start;
}

.thtd-form-layout > aside {
  position: sticky;
  top: 120px;
  padding: 28px;
  color: white;
  background: var(--navy);
}

.thtd-form-layout > aside > span {
  color: #d7f4f7;
  font-size: 12px;
  font-weight: 700;
}

.thtd-form-layout > aside h2 {
  margin: 14px 0;
  color: white;
  font: 400 clamp(28px,3vw,36px)/1.08 var(--display);
}

.thtd-form-layout > aside p {
  color: rgba(255,255,255,.72);
}

.thtd-form-surface {
  padding: 36px;
  border: 1px solid var(--line);
  background: var(--mist);
}

.thtd-form-surface form {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 20px;
}

.thtd-form-surface form > h3,
.thtd-form-surface form > .thtd-kvkk,
.thtd-form-surface form > p:has(textarea),
.thtd-form-surface form > p:has(input[type="file"]),
.thtd-form-surface form > p:has(button),
.thtd-form-surface .demo-form-status {
  grid-column: 1 / -1;
}

.thtd-form-surface form > h3 {
  margin: 20px 0 0;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
  font: 400 30px/1.1 var(--display);
}

.thtd-form-surface form > p {
  margin: 0;
}

.thtd-form-surface label {
  display: grid;
  gap: 8px;
  font-weight: 600;
}

.thtd-form-surface input:not([type="checkbox"]),
.thtd-form-surface select,
.thtd-form-surface textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid #a8d3dc;
  border-radius: 0;
  background: white;
  color: var(--ink);
  font: inherit;
}

.thtd-form-surface textarea {
  min-height: 130px;
  resize: vertical;
}

.thtd-form-surface input:focus,
.thtd-form-surface select:focus,
.thtd-form-surface textarea:focus {
  outline: 3px solid rgba(99,180,207,.22);
  border-color: var(--cyan);
}

.thtd-form-surface .wpcf7-submit {
  min-height: 54px;
  padding: 0 24px;
  border: 1px solid var(--orange);
  background: transparent;
  color: var(--ink);
  font-weight: 700;
}

.thtd-form-surface .wpcf7-submit:hover {
  color: white;
  background: var(--cyan);
  border-color: var(--cyan);
}

.thtd-kvkk {
  padding: 22px;
  border: 1px solid var(--line);
  background: white;
}

.thtd-kvkk summary {
  cursor: pointer;
  color: var(--navy);
  font-weight: 700;
}

.thtd-kvkk-text {
  padding: 14px 0;
  color: var(--muted);
  font-weight: 400;
}

.thtd-kvkk-text h3 {
  color: var(--ink);
  font: 400 25px/1.15 var(--display);
}

.thtd-kvkk-consent {
  display: flex !important;
  grid-template-columns: none;
  align-items: flex-start;
  gap: 10px !important;
  padding-top: 12px;
}

.thtd-kvkk-consent input {
  margin-top: 5px;
}

.invitation-letter-page .subhero-inner {
  max-width: 920px;
}

.invitation-form-layout {
  grid-template-columns: minmax(290px,.78fr) minmax(0,1.22fr);
}

.invitation-form-surface form {
  align-items: start;
}

.invitation-form-surface form > p:has(input[type="email"]) {
  grid-column: 1 / -1;
}

.invitation-form-surface form > .invitation-kvkk,
.invitation-form-surface form > .invitation-submit-row,
.invitation-form-status,
.invitation-result {
  grid-column: 1 / -1;
}

.invitation-submit-row {
  display: flex;
}

.invitation-submit-row .wpcf7-submit {
  min-width: min(100%, 360px);
}

.invitation-submit-row .wpcf7-submit:disabled {
  cursor: wait;
  opacity: .58;
}

.invitation-form-status {
  min-height: 24px;
  color: var(--muted);
  font-weight: 600;
  line-height: 1.55;
}

.invitation-form-status:empty {
  min-height: 0;
}

.invitation-form-status.is-error {
  padding: 14px 16px;
  border-left: 4px solid #b42318;
  background: #fff1f0;
  color: #7a271a;
}

.invitation-form-status.is-success {
  color: var(--brand-deep);
}

.invitation-result {
  padding: 24px;
  border: 1px solid var(--brand-mid);
  background: var(--brand-pale);
}

.invitation-result[hidden] {
  display: none;
}

.invitation-result > div {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.invitation-result > div > svg {
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  color: var(--brand-mid);
}

.invitation-result h3 {
  margin: 0 0 6px;
  color: var(--brand-deep);
  font: 400 27px/1.1 var(--display);
}

.invitation-result-summary,
.invitation-mail-note {
  margin: 0;
  color: var(--muted);
}

.invitation-download {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  margin-top: 20px;
  padding: 0 20px;
  border: 1px solid var(--brand-mid);
  background: var(--brand-mid);
  color: white;
  font-weight: 700;
}

.invitation-download:hover {
  border-color: var(--brand-deep);
  background: var(--brand-deep);
}

.invitation-download + .invitation-download {
  margin-top: 10px;
}

.invitation-download svg {
  width: 18px;
  height: 18px;
}

.invitation-mail-note {
  margin-top: 14px;
  font-size: 13px;
  line-height: 1.5;
}

.document-center-page .subhero-inner {
  max-width: 920px;
}

.document-center-layout {
  grid-template-columns: minmax(300px,.8fr) minmax(0,1.2fr);
}

.document-form-surface {
  min-height: 527px;
}

.document-service-timeline {
  margin: 32px 0 0;
  border-top: 1px solid rgba(255,255,255,.34);
}

.document-service-timeline > div {
  min-height: 70px;
  display: grid;
  align-content: center;
  gap: 5px;
  border-bottom: 1px solid rgba(255,255,255,.22);
}

.document-service-timeline dt {
  color: white;
  font-weight: 700;
}

.document-service-timeline dd {
  margin: 0;
  color: var(--brand-light);
  font-size: 13px;
}

.document-type-field,
.document-choice-info,
.document-identity-fields,
.photo-identity-fields,
.photo-access-note,
.private-photo-gallery,
.document-booklet-download,
.document-program-download {
  grid-column: 1 / -1;
}

.document-type-field {
  margin: 0;
}

.document-choice-info {
  min-height: 112px;
  padding: 20px;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 16px;
  border: 1px solid var(--line);
  background: var(--brand-pale);
}

.document-choice-info[hidden],
.document-identity-fields[hidden],
.photo-identity-fields[hidden],
.photo-access-note[hidden],
.private-photo-gallery[hidden],
.document-kvkk[hidden],
.document-submit-row[hidden],
.document-booklet-download[hidden],
.document-program-download[hidden] {
  display: none !important;
}

.document-booklet-download,
.document-program-download {
  width: fit-content;
}

.document-choice-info > svg {
  width: 26px;
  height: 26px;
  color: var(--brand-mid);
}

.document-choice-info h3 {
  margin: 0 0 6px;
  color: var(--brand-deep);
  font: 400 25px/1.15 var(--display);
}

.document-choice-info p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.certificate-availability {
  margin-top: 12px !important;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  color: var(--brand-deep) !important;
  font-size: 13px;
  font-weight: 700;
}

.certificate-availability.is-locked {
  color: #8a4b00 !important;
}

.certificate-availability.is-available {
  color: #126b3f !important;
}

.document-identity-fields {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 20px;
}

.document-identity-fields > p,
.photo-identity-fields > p {
  min-width: 0;
  margin: 0;
}

.document-identity-fields > p:has(input[type="email"]) {
  grid-column: 1 / -1;
}

.photo-identity-fields {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 20px;
}

.photo-privacy-summary {
  margin-top: 10px !important;
  color: var(--brand-deep) !important;
  font-size: 13px;
  font-weight: 700;
}

.photo-access-note {
  margin: 0;
  padding: 14px 16px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  border-left: 3px solid var(--brand-mid);
  background: var(--brand-pale);
  color: var(--brand-deep);
  font-size: 13px;
  line-height: 1.55;
}

.photo-access-note svg {
  width: 19px;
  height: 19px;
  flex: 0 0 auto;
  color: var(--brand-mid);
}

.private-photo-gallery {
  margin-top: 8px;
  scroll-margin-top: 112px;
}

.private-photo-gallery > header {
  padding-bottom: 18px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid var(--line);
}

.private-photo-gallery .eyebrow {
  margin-bottom: 6px;
}

.private-photo-gallery h3 {
  margin: 0;
  color: var(--brand-deep);
  font: 400 clamp(32px,4vw,52px)/1 var(--display);
}

.photo-gallery-count {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.private-photo-grid {
  margin-top: 22px;
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 20px;
}

.private-photo-card {
  min-width: 0;
  border: 1px solid var(--line);
  background: white;
}

.private-photo-card > img {
  width: 100%;
  aspect-ratio: 3 / 2;
  display: block;
  object-fit: cover;
  background: var(--brand-pale);
}

.private-photo-card-body {
  padding: 16px;
}

.private-photo-card-body > p {
  min-height: 42px;
  margin: 0 0 14px;
  color: var(--brand-deep);
  font-weight: 700;
  line-height: 1.45;
}

.private-photo-actions {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 8px;
}

.photo-action {
  min-height: 42px;
  padding: 9px 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border: 1px solid var(--brand-mid);
  border-radius: 0;
  background: transparent;
  color: var(--brand-deep);
  font: 700 12px/1.2 var(--sans);
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}

.photo-action:hover,
.photo-action:focus-visible {
  background: var(--brand-mid);
  color: white;
}

.photo-action svg {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
}

.photo-action-delete {
  border-color: #a93d3d;
  color: #8d2525;
}

.photo-action-delete:hover,
.photo-action-delete:focus-visible {
  background: #8d2525;
  color: white;
}

.photo-delete-confirmation {
  margin-top: 12px;
  padding: 14px;
  border: 1px solid #d7a1a1;
  background: #fff8f8;
}

.photo-delete-confirmation[hidden] {
  display: none !important;
}

.photo-delete-confirmation p {
  margin: 0 0 10px;
  color: #6f2222;
  font-size: 13px;
  font-weight: 700;
}

.photo-delete-confirmation button {
  min-height: 36px;
  padding: 8px 12px;
  border: 1px solid #8d2525;
  border-radius: 0;
  background: transparent;
  color: #6f2222;
  font: 700 12px/1 var(--sans);
  cursor: pointer;
}

.photo-delete-confirmation button + button {
  margin-left: 8px;
  border-color: var(--line);
  color: var(--brand-deep);
}

.photo-delete-confirm {
  background: #8d2525 !important;
  color: white !important;
}

.private-photo-empty {
  margin-top: 22px;
  min-height: 210px;
  padding: 32px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 8px;
  border: 1px solid var(--line);
  background: var(--brand-pale);
  text-align: center;
}

.private-photo-empty[hidden] {
  display: none !important;
}

.private-photo-empty svg {
  width: 30px;
  height: 30px;
  color: var(--brand-mid);
}

.private-photo-empty h4 {
  margin: 4px 0 0;
  color: var(--brand-deep);
  font: 400 25px/1.2 var(--display);
}

.private-photo-empty p {
  max-width: 480px;
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.document-form-surface form > .document-kvkk,
.document-form-surface form > .document-submit-row {
  grid-column: 1 / -1;
}

.demo-form-status {
  min-height: 24px;
  color: var(--cyan);
  font-weight: 700;
}

.demo-form-status.is-loading {
  color: var(--muted);
}

.demo-form-status.is-success {
  color: #0f7482;
}

.demo-form-status.is-error {
  color: #a12b2b;
}

/* Structural homepage alternatives with independent colour characters. */
.prototype-page {
  background: #fff;
}

.prototype-b {
  --brand-deep: #173f49;
  --brand-mid: #71882f;
  --brand-pale: #f4f7e9;
  --line: #d5e2aa;
  --muted: #526d72;
}

.prototype-c {
  --brand-deep: #0b3b49;
  --brand-dark: #082f3b;
  --brand-mid: #1597aa;
  --brand-light: #78d4df;
  --brand-pale: #e7f7fa;
  --line: #a9dce4;
  --muted: #4f6f78;
  --navy: #0b3b49;
  --navy-2: #082f3b;
  --cyan: #1597aa;
  --cyan-soft: #e7f7fa;
  --orange: #78d4df;
  --accent-warm: #78d4df;
  --accent-warm-strong: #1597aa;
  --pistachio: #c8edf2;
  --pistachio-strong: #78d4df;
  --pistachio-soft: #eefbfd;
  --pistachio-surface: #e7f7fa;
}

.prototype-d {
  --brand-deep: #263f45;
  --brand-mid: #b85c2e;
  --brand-pale: #fbefe8;
  --line: #e6bda6;
  --muted: #5f6d6f;
}

.prototype-b .site-footer {
  background: #173f49;
}

.prototype-b .footer-action-registration {
  color: #173f49;
  border-color: #d7e88b;
  background: #d7e88b;
}

.prototype-b .footer-action-abstract {
  color: #fff;
  border-color: #d7e88b;
  background: transparent;
}

.prototype-b .footer-action-registration:hover,
.prototype-b .footer-action-abstract:hover {
  color: #173f49;
  border-color: #c4d86b;
  background: #c4d86b;
}

.prototype-b .site-footer .footer-nav a:hover {
  color: #d7e88b;
}

.prototype-c .site-footer {
  background: #0b3b49;
}

.prototype-c .footer-action-registration {
  color: #0b3b49;
  border-color: #78d4df;
  background: #78d4df;
}

.prototype-c .footer-action-abstract {
  color: #0b3b49;
  border-color: #c8edf2;
  background: #c8edf2;
}

.prototype-c .footer-action-registration:hover,
.prototype-c .footer-action-abstract:hover {
  color: #0b3b49;
  border-color: #fff;
  background: #fff;
}

.prototype-c .site-footer .footer-nav a:hover {
  color: #78d4df;
}

.prototype-d .site-footer {
  background: #263f45;
}

.prototype-d .footer-action-registration {
  color: #263f45;
  border-color: #efb07d;
  background: #efb07d;
}

.prototype-d .footer-action-abstract {
  color: #fff;
  border-color: #efb07d;
  background: transparent;
}

.prototype-d .footer-action-registration:hover,
.prototype-d .footer-action-abstract:hover {
  color: #263f45;
  border-color: #fff;
  background: #fff;
}

.prototype-d .site-footer .footer-nav a:hover {
  color: #efb07d;
}

.prototype-page .site-footer .footer-bottom {
  border-top-color: rgba(255,255,255,.24);
}

.prototype-page .site-header {
  border-color: rgba(255,255,255,.24);
}

.prototype-hero {
  position: relative;
  min-height: 780px;
  display: grid;
  align-items: stretch;
  overflow: hidden;
  color: #fff;
  background-image: url("/wp-content/uploads/thtd-kongre/source/hero-main-user.webp");
  background-position: center bottom;
  background-size: cover;
}

.prototype-hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(9,39,47,.18);
}

.prototype-model-label {
  position: absolute;
  top: 118px;
  left: 6vw;
  z-index: 2;
  display: flex;
  gap: 9px;
  align-items: center;
  color: rgba(255,255,255,.78);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.prototype-hero-grid {
  position: relative;
  z-index: 1;
  width: min(1240px,88vw);
  margin: 0 auto;
  padding: 170px 0 150px;
  display: grid;
  align-items: center;
}

.prototype-edition {
  margin: 0 0 6px;
  font: 400 clamp(34px,4vw,60px)/1 var(--display);
}

.prototype-title h1 {
  max-width: 920px;
  margin: 0;
  font: 400 clamp(52px,6vw,90px)/1.02 var(--display);
}

.prototype-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 30px;
  margin-top: 30px;
}

.prototype-facts p {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0;
  font-weight: 600;
}

.prototype-facts svg {
  width: 18px;
}

.prototype-side {
  min-width: 0;
}

.prototype-countdown {
  margin: 0;
}

.prototype-cta {
  display: grid;
  gap: 10px;
  margin-top: 24px;
}

.prototype-cta a,
.prototype-final-actions a {
  min-height: 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 0 18px;
  border: 1px solid rgba(255,255,255,.58);
  color: #fff;
  font-weight: 700;
}

.prototype-cta a:hover,
.prototype-final-actions a:hover {
  color: var(--brand-deep);
  background: #fff;
}

.prototype-cta svg,
.prototype-text-link svg {
  width: 18px;
}

.prototype-hero-links {
  position: absolute;
  z-index: 2;
  display: grid;
}

.prototype-hero-links a {
  display: flex;
  align-items: center;
  color: #fff;
  font-family: var(--display);
}

.prototype-intro,
.prototype-dates,
.prototype-program,
.prototype-venue,
.prototype-final-actions {
  width: min(1180px,88vw);
  margin-inline: auto;
}

.prototype-intro {
  padding: 110px 0;
  display: grid;
  grid-template-columns: minmax(0,.8fr) minmax(0,1.2fr);
  gap: 8vw;
  align-items: start;
}

.prototype-intro h2,
.prototype-section-heading h2,
.prototype-venue-copy h2,
.prototype-final-actions h2 {
  margin: 0;
  font: 400 clamp(42px,5vw,72px)/1.04 var(--display);
}

.prototype-intro > p {
  margin: 34px 0 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.8;
}

.prototype-dates,
.prototype-program {
  padding: 100px 0;
  border-top: 1px solid var(--line);
}

.prototype-section-heading {
  display: grid;
  grid-template-columns: minmax(0,.7fr) minmax(0,1.3fr);
  align-items: end;
  margin-bottom: 54px;
}

.prototype-section-heading .eyebrow {
  margin: 0;
}

.prototype-date-grid {
  display: grid;
  grid-template-columns: repeat(4,minmax(0,1fr));
  border-top: 1px solid var(--brand-deep);
  border-bottom: 1px solid var(--brand-deep);
}

.prototype-date-grid article {
  min-height: 180px;
  padding: 28px;
  border-right: 1px solid var(--line);
}

.prototype-date-grid article:last-child {
  border-right: 0;
}

.prototype-date-grid time,
.prototype-date-grid strong {
  display: block;
}

.prototype-date-grid time {
  margin-bottom: 50px;
  color: var(--brand-mid);
  font: 400 34px/1 var(--display);
}

.prototype-date-grid strong {
  font-size: 14px;
}

.prototype-program-steps {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  border-top: 1px solid var(--line);
}

.prototype-program-steps article {
  min-height: 240px;
  padding: 30px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.prototype-program-steps article:last-child {
  border-right: 0;
}

.prototype-program-steps span {
  color: var(--brand-mid);
  font: 400 30px/1 var(--display);
}

.prototype-program-steps h3 {
  margin: 54px 0 12px;
  font: 400 26px/1.1 var(--display);
}

.prototype-program-steps p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.prototype-text-link {
  width: max-content;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 34px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--brand-mid);
  color: var(--brand-deep);
  font-weight: 700;
}

.prototype-venue {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0,1.15fr) minmax(360px,.85fr);
}

.prototype-venue-image {
  min-height: 610px;
}

.prototype-venue-copy {
  padding: clamp(60px,8vw,120px);
  align-content: center;
  background: var(--brand-pale);
}

.prototype-venue-copy > p:not(.eyebrow) {
  color: var(--muted);
  line-height: 1.7;
}

.prototype-final-actions {
  width: 100%;
  padding: 90px 6vw;
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(320px,.65fr);
  gap: 7vw;
  align-items: center;
  color: #fff;
  background: var(--brand-deep);
}

.prototype-final-actions > div:last-child {
  display: grid;
  gap: 10px;
}

/* Model-B: editorial left-to-right reading flow. */
.prototype-b .prototype-hero-grid {
  grid-template-columns: minmax(0,1.3fr) minmax(310px,.7fr);
  gap: 7vw;
}

.prototype-b .prototype-side {
  align-self: end;
}

.prototype-b .prototype-cta a:first-child {
  color: #173f49;
  background: #d7e88b;
  border-color: #d7e88b;
}

.prototype-b .prototype-cta a:first-child:hover {
  background: #c4d86b;
  border-color: #c4d86b;
}

.prototype-b .prototype-hero-links {
  right: 0;
  bottom: 0;
  left: 0;
  grid-template-columns: repeat(4,1fr);
  border-top: 1px solid rgba(255,255,255,.32);
}

.prototype-b .prototype-hero-links a {
  min-height: 88px;
  justify-content: center;
  border-right: 1px solid rgba(255,255,255,.25);
}

.prototype-b .prototype-hero-links a:last-child {
  border-right: 0;
}

/* Model-C: permanent scientific navigation rail. */
.prototype-c .site-header {
  top: 0;
  right: auto;
  bottom: 0;
  left: 0;
  width: 238px;
  height: 100vh;
  padding: 32px 28px;
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: auto 1fr auto;
  align-items: start;
  background: rgba(18,62,77,.98);
  border-right: 1px solid rgba(255,255,255,.2);
}

.prototype-c .desktop-nav {
  display: grid;
  align-content: center;
  gap: 4px;
}

.prototype-c .desktop-nav a {
  padding: 10px 0;
}

.prototype-c .header-actions {
  align-self: end;
}

.prototype-c .menu-button {
  display: none;
}

.prototype-c main,
.prototype-c .site-footer {
  margin-left: 238px;
}

.prototype-c .prototype-model-label {
  left: 5vw;
}

.prototype-c .prototype-hero-grid {
  width: min(980px,82vw);
  grid-template-columns: 1fr;
  justify-items: center;
  text-align: center;
}

.prototype-c .prototype-title h1 {
  max-width: 980px;
}

.prototype-c .prototype-facts {
  justify-content: center;
}

.prototype-c .prototype-side {
  width: min(720px,100%);
  margin-top: 42px;
}

.prototype-c .prototype-cta {
  grid-template-columns: repeat(2,minmax(0,1fr));
}

.prototype-c .prototype-cta a {
  color: #0b3b49;
  background: #78d4df;
  border-color: #78d4df;
}

.prototype-c .prototype-cta a:last-child {
  color: #fff;
  background: transparent;
  border-color: rgba(255,255,255,.66);
}

.prototype-c .prototype-cta a:hover {
  color: #0b3b49;
  background: #fff;
  border-color: #fff;
}

.prototype-c .prototype-hero-links {
  top: 50%;
  right: 24px;
  gap: 6px;
  transform: translateY(-50%);
}

.prototype-c .prototype-hero-links a {
  min-height: 44px;
  padding: 0 12px;
  border-right: 2px solid rgba(255,255,255,.45);
  justify-content: flex-end;
  font-family: var(--sans);
  font-size: 12px;
}

.prototype-c .prototype-date-grid {
  grid-template-columns: repeat(2,minmax(0,1fr));
}

.prototype-c .prototype-date-grid article:nth-child(2) {
  border-right: 0;
}

.prototype-c .prototype-date-grid article:nth-child(-n+2) {
  border-bottom: 1px solid var(--line);
}

/* Model-D: poster-first stage with a floating lower navigation dock. */
.prototype-d .site-header {
  top: auto;
  right: auto;
  bottom: 22px;
  left: 50%;
  width: min(1180px,92vw);
  min-height: 72px;
  padding: 0 24px;
  transform: translateX(-50%);
  background: rgba(18,62,77,.92);
  border: 1px solid rgba(255,255,255,.3);
}

.prototype-d .prototype-hero {
  min-height: 100vh;
}

.prototype-d .prototype-model-label {
  top: 40px;
}

.prototype-d .prototype-hero-grid {
  min-height: 100vh;
  padding: 130px 0 160px;
  grid-template-columns: minmax(0,1.25fr) minmax(300px,.75fr);
  gap: 6vw;
  align-items: end;
}

.prototype-d .prototype-title h1 {
  max-width: 850px;
}

.prototype-d .prototype-side {
  align-self: end;
}

.prototype-d .prototype-cta a:first-child {
  color: #263f45;
  background: #efb07d;
  border-color: #efb07d;
}

.prototype-d .prototype-cta a:first-child:hover {
  background: #e49a61;
  border-color: #e49a61;
}

.prototype-d .prototype-hero-links {
  top: 36px;
  right: 5vw;
  grid-template-columns: repeat(4,auto);
  gap: 24px;
}

.prototype-d .prototype-hero-links a {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 700;
}

.prototype-d .prototype-intro {
  grid-template-columns: 1fr;
  text-align: center;
}

.prototype-d .prototype-intro h2,
.prototype-d .prototype-intro > p {
  max-width: 880px;
  margin-inline: auto;
}

.prototype-d .prototype-section-heading {
  grid-template-columns: 1fr;
  gap: 12px;
}

.prototype-index-main {
  width: min(1180px,88vw);
  min-height: 72vh;
  margin: 0 auto;
  padding: 180px 0 100px;
}

.prototype-index-main h1 {
  max-width: 850px;
  margin: 0;
  font: 400 clamp(48px,6vw,82px)/1.02 var(--display);
}

.prototype-index-main > div > p:last-child {
  max-width: 720px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
}

.prototype-index-links {
  margin-top: 70px;
  border-top: 1px solid var(--brand-deep);
}

.prototype-index-links a {
  min-height: 96px;
  display: grid;
  grid-template-columns: 150px 1fr auto;
  align-items: center;
  gap: 28px;
  border-bottom: 1px solid var(--line);
}

.prototype-index-links strong {
  font-size: 12px;
}

.prototype-index-links span {
  font: 400 28px/1.1 var(--display);
}

.prototype-index-links svg {
  width: 20px;
}

@media (max-width: 1050px) {
  .prototype-c .site-header,
  .prototype-d .site-header {
    position: absolute;
    top: 0;
    right: 0;
    bottom: auto;
    left: 0;
    width: 100%;
    height: auto;
    min-height: 86px;
    padding: 0 5vw;
    display: grid;
    grid-template-columns: auto 1fr auto;
    grid-template-rows: none;
    align-items: center;
    transform: none;
    background: rgba(18,62,77,.86);
    border: 0;
    border-bottom: 1px solid rgba(255,255,255,.22);
  }

  .prototype-c .desktop-nav {
    display: flex;
    justify-content: center;
  }

  .prototype-c .desktop-nav a {
    padding: 8px 10px;
  }

  .prototype-c .header-actions {
    align-self: auto;
  }

  .prototype-c main,
  .prototype-c .site-footer {
    margin-left: 0;
  }

  .prototype-c .prototype-model-label {
    left: 6vw;
  }

  .prototype-c .prototype-hero-links,
  .prototype-d .prototype-hero-links {
    top: auto;
    right: 0;
    bottom: 0;
    left: 0;
    grid-template-columns: repeat(4,1fr);
    gap: 0;
    transform: none;
    border-top: 1px solid rgba(255,255,255,.28);
  }

  .prototype-c .prototype-hero-links a,
  .prototype-d .prototype-hero-links a {
    min-height: 76px;
    padding: 0 12px;
    justify-content: center;
    text-align: center;
    border-right: 1px solid rgba(255,255,255,.22);
  }

  .prototype-c .prototype-hero-links a:last-child,
  .prototype-d .prototype-hero-links a:last-child {
    border-right: 0;
  }
}

@media (max-width: 1050px) {
  .thtd-brand { width: 112px; }
  .service-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}

@media (max-width: 820px) {
  .invitation-leadership,
  .thtd-form-layout,
  .document-access-section { grid-template-columns: 1fr; }
  .thtd-form-layout > aside { position: static; }
  .document-form-surface { min-height: 0; }
  .thtd-form-surface form { grid-template-columns: 1fr; }
  .thtd-form-surface form > * { grid-column: 1 !important; }
  .document-access-section { gap: 38px; }
  .document-identity-fields,
  .photo-identity-fields,
  .private-photo-grid { grid-template-columns: 1fr; }
  .private-photo-actions { grid-template-columns: 1fr; }
  .hero h1 { font-size: clamp(42px,12vw,68px); }
  .hero-pretitle {
    margin-bottom: 4px;
    font-size: clamp(42px,12vw,68px);
  }
  .footer-main { grid-template-columns: 1fr; }
  .footer-actions { width: min(430px, 100%); justify-self: center; }
  .footer-nav { justify-self: start; }
  .countdown { margin-top: 16px; }
  .subpage-countdown { margin-top: 18px; }
  .countdown > div { grid-template-rows: 30px auto; }
  .countdown [data-countdown-unit="seconds"] { font-size: 30px; }

  .prototype-page {
    overflow-x: clip;
  }

  .prototype-c .desktop-nav {
    display: none;
  }

  .prototype-c .menu-button {
    display: inline-flex;
  }

  .prototype-hero {
    min-height: 760px;
  }

  .prototype-model-label {
    top: 112px;
  }

  .prototype-hero-grid,
  .prototype-b .prototype-hero-grid,
  .prototype-c .prototype-hero-grid,
  .prototype-d .prototype-hero-grid {
    width: min(88vw,680px);
    min-height: 0;
    padding: 160px 0 130px;
    grid-template-columns: 1fr;
    gap: 36px;
    align-items: center;
    justify-items: start;
    text-align: left;
  }

  .prototype-c .prototype-facts {
    justify-content: flex-start;
  }

  .prototype-title h1,
  .prototype-c .prototype-title h1,
  .prototype-d .prototype-title h1 {
    max-width: 680px;
    font-size: clamp(44px,10vw,70px);
  }

  .prototype-side,
  .prototype-c .prototype-side,
  .prototype-d .prototype-side {
    width: min(520px,100%);
    margin-top: 0;
    align-self: auto;
  }

  .prototype-intro,
  .prototype-section-heading,
  .prototype-venue,
  .prototype-final-actions {
    grid-template-columns: 1fr;
  }

  .prototype-intro {
    gap: 20px;
    padding: 76px 0;
  }

  .prototype-intro > p {
    margin-top: 0;
  }

  .prototype-d .prototype-intro {
    text-align: left;
  }

  .prototype-d .prototype-intro h2,
  .prototype-d .prototype-intro > p {
    margin-inline: 0;
  }

  .prototype-dates,
  .prototype-program {
    padding: 76px 0;
  }

  .prototype-section-heading {
    gap: 12px;
    margin-bottom: 36px;
  }

  .prototype-date-grid {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }

  .prototype-date-grid article:nth-child(2) {
    border-right: 0;
  }

  .prototype-date-grid article:nth-child(-n+2) {
    border-bottom: 1px solid var(--line);
  }

  .prototype-program-steps {
    grid-template-columns: 1fr;
  }

  .prototype-program-steps article {
    min-height: 0;
    border-right: 0;
  }

  .prototype-program-steps h3 {
    margin-top: 30px;
  }

  .prototype-venue-image {
    min-height: 420px;
  }

  .prototype-venue-copy {
    padding: 64px 6vw;
  }

  .prototype-final-actions {
    gap: 36px;
    padding-block: 72px;
  }

  .prototype-index-links a {
    grid-template-columns: 100px 1fr auto;
    gap: 16px;
  }
}

@media (max-width: 680px) {
  .quick-actions > a:last-child {
    grid-column: auto;
  }
}

/* Registration page: compact, task-focused Model-A flow. */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.registration-page .subhero-kicker {
  color: var(--brand-light);
}

.registration-page .fees-section {
  padding-top: 72px;
  padding-bottom: 58px;
}

.registration-page .section-heading {
  margin-bottom: 0;
}

.registration-page .section-lead {
  max-width: 720px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
}

.registration-page .fee-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 32px;
}

.registration-page .fee-card {
  min-height: 190px;
  padding: 24px 22px;
}

.registration-page .fee-card p {
  min-height: 42px;
  margin: 24px 0 12px;
}

.registration-page .course-fee-card {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  margin-top: 12px;
  padding: 18px 22px;
  border: 1px solid var(--line);
  background: var(--brand-pale);
}

.registration-page .course-fee-card .fee-icon {
  width: 48px;
  height: 48px;
  background: white;
}

.registration-page .course-fee-card p,
.registration-page .course-fee-card strong {
  margin: 0;
}

.registration-page .course-fee-card p {
  margin-top: 3px;
  color: var(--brand-deep);
  font-weight: 700;
}

.registration-page .course-fee-card strong {
  color: var(--brand-deep);
  font: 400 26px/1 var(--display);
  white-space: nowrap;
}

.registration-page .course-fee-kicker {
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.registration-page .notice-line {
  margin-top: 12px;
}

.registration-page .stay-section {
  gap: 56px;
  align-items: center;
  padding-top: 54px;
  padding-bottom: 24px;
}

.registration-page .pricing-tables {
  padding-top: 18px;
  padding-bottom: 46px;
}

.registration-page .stay-conditions {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 1px solid var(--line);
  background: white;
}

.registration-page .stay-conditions > div {
  min-height: 126px;
  padding: 22px;
  border-right: 1px solid var(--line);
}

.registration-page .stay-conditions > div:last-child {
  border-right: 0;
}

.registration-page .stay-conditions strong {
  color: var(--accent-warm-text);
  font-size: 12px;
  text-transform: uppercase;
}

.registration-page .stay-conditions p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.registration-page .payment-note {
  grid-column: 1 / -1;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 17px 20px;
  border: 1px solid var(--line);
  color: var(--muted);
  background: var(--brand-pale);
  font-size: 13px;
  line-height: 1.55;
}

.registration-page .payment-note svg {
  width: 18px;
  flex: 0 0 18px;
  margin-top: 2px;
  color: var(--brand-mid);
}

.registration-page .payment-note p {
  margin: 0;
}

.registration-page .transfer-section {
  padding-top: 42px;
  padding-bottom: 42px;
}

.registration-page .included-services {
  padding-top: 58px;
  padding-bottom: 58px;
}

.registration-page .included-services .section-heading {
  margin-bottom: 34px;
}

.registration-page .service-grid article {
  min-height: 174px;
  padding: 24px;
}

.registration-page .service-grid h3 {
  margin: 20px 0 7px;
}

.registration-page .payment-section {
  gap: 64px;
  padding-top: 58px;
  padding-bottom: 58px;
}

.registration-page .bank-details div {
  padding: 16px 0;
}

.registration-page .faq-section {
  padding-top: 58px;
  padding-bottom: 58px;
}

.registration-page .faq-section .section-heading {
  margin-bottom: 34px;
}

.registration-page .registration-cta {
  margin-bottom: 0;
  padding: 52px 0;
  border-top: 1px solid var(--line);
  border-left: 0;
  background: transparent;
}

.registration-page .registration-cta > div {
  padding: 0;
}

@media (max-width: 1050px) {
  .registration-page .fee-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .registration-page .fees-section {
    padding-top: 58px;
    padding-bottom: 48px;
  }

  .registration-page .stay-section {
    gap: 32px;
    padding-top: 48px;
  }

  .registration-page .stay-conditions {
    grid-template-columns: 1fr;
  }

  .registration-page .stay-conditions > div {
    min-height: 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .registration-page .stay-conditions > div:last-child {
    border-bottom: 0;
  }

  .registration-page .included-services,
  .registration-page .payment-section,
  .registration-page .faq-section {
    padding-top: 48px;
    padding-bottom: 48px;
  }

  .registration-page .registration-cta {
    padding: 46px 0;
  }
}

@media (max-width: 560px) {
  .registration-page .fee-grid {
    grid-template-columns: 1fr;
  }

  .registration-page .fee-card {
    min-height: 148px;
    padding: 22px;
  }

  .registration-page .course-fee-card {
    grid-template-columns: 44px minmax(0, 1fr);
    padding: 18px;
  }

  .registration-page .course-fee-card .fee-icon {
    width: 44px;
    height: 44px;
  }

  .registration-page .course-fee-card strong {
    grid-column: 2;
    font-size: 24px;
  }

  .registration-page .service-grid article {
    min-height: 0;
    padding: 22px;
  }

  .registration-page .service-grid h3 {
    margin-top: 16px;
  }

  .registration-page .registration-cta {
    margin-bottom: 0;
    padding: 42px 0;
  }
}

/* Abstract page: complete rules, readable columns and compact section rhythm. */
.abstract-page .subhero-kicker {
  color: var(--brand-light);
}

.abstract-page .subhero-inner > .subhero-deadline-note,
.registration-page .subhero-inner > .subhero-deadline-note {
  width: min(336px, 100%);
  max-width: 336px;
  margin: 12px 0 0;
  color: white;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
}

.abstract-page .abstract-summary {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding-top: 58px;
  padding-bottom: 58px;
}

.abstract-page .guidelines-layout {
  padding-top: 52px;
  padding-bottom: 44px;
}

.abstract-page .guideline-block {
  padding-bottom: 56px;
}

.abstract-page .guideline-block + .guideline-block {
  padding-top: 56px;
}

.abstract-page .guideline-block:last-child {
  padding-bottom: 0;
}

.abstract-page .guideline-body {
  min-width: 0;
}

.abstract-page .guideline-block h2 {
  margin-bottom: 26px;
  font-size: clamp(36px, 4.2vw, 54px);
}

.abstract-page .rule-list li {
  line-height: 1.62;
}

.abstract-page .presentation-grid {
  margin-top: 6px;
}

.abstract-page .presentation-grid article {
  min-width: 0;
  padding: 28px;
}

.abstract-page .presentation-grid h3 {
  font-size: 28px;
}

.abstract-page .presentation-grid .rule-list {
  margin-top: 18px;
}

.abstract-page .publication-note {
  margin-top: 18px;
}

.abstract-page .abstract-cta {
  margin-bottom: 48px;
  border-left: 0;
}

@media (max-width: 820px) {
  .abstract-page .abstract-summary {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .abstract-page .guideline-block {
    padding-bottom: 48px;
  }

  .abstract-page .guideline-block + .guideline-block {
    padding-top: 48px;
  }
}

@media (max-width: 640px) {
  .abstract-page .abstract-summary {
    grid-template-columns: 1fr;
    padding-top: 44px;
    padding-bottom: 44px;
  }

  .abstract-page .abstract-summary article {
    min-height: 142px;
  }

  .abstract-page .guidelines-layout {
    gap: 40px;
    padding-top: 40px;
  }

  .abstract-page .guideline-block h2 {
    font-size: 35px;
  }

  .abstract-page .presentation-grid article {
    padding: 23px;
  }

  .abstract-page .abstract-cta {
    padding-top: 44px;
    padding-bottom: 44px;
  }
}

/* Program page: compact Model-A schedule and consistent alignment. */
.program-page .subhero-kicker {
  color: var(--pistachio-strong);
}

.program-page .program-status,
.program-page .program-days,
.program-page .registration-cta {
  width: min(1120px, 88vw);
  margin-inline: auto;
}

.program-page .program-status {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  gap: 32px;
  align-items: start;
  padding: 72px 0 58px;
}

.program-page .status-mark {
  width: 88px;
  height: 88px;
  background: var(--pistachio-surface);
  color: var(--brand-deep);
}

.program-page .status-mark svg {
  width: 28px;
  height: 28px;
}

.program-page .program-status-copy .eyebrow,
.program-page .program-days-heading .eyebrow {
  margin: 0 0 14px;
  color: var(--accent-warm-text);
}

.program-page .program-status-copy h2,
.program-page .program-days-heading h2 {
  max-width: 850px;
  margin: 0;
  font: 400 clamp(42px, 5vw, 62px)/1.06 var(--display);
  color: var(--brand-deep);
}

.program-page .program-status-copy > p:last-child {
  max-width: 780px;
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
}

.program-page .program-download-button {
  width: fit-content;
  margin-top: 26px;
}

.program-page .program-days {
  padding: 54px 0 72px;
  border-top: 1px solid var(--line);
}

.program-page .program-day-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 34px;
}

.program-page .program-day-grid article {
  min-height: 218px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 28px 26px;
  border: 1px solid var(--line);
  border-top: 3px solid var(--brand-mid);
  background: #fff;
}

.program-page .program-day-grid time {
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.program-page .program-day-grid time > span {
  color: var(--brand-deep);
  font: 400 48px/1 var(--display);
}

.program-page .program-day-grid time > strong {
  color: var(--accent-warm-text);
  font: 700 13px/1.35 var(--sans);
}

.program-page .program-day-grid article > p {
  margin: 28px 0 0;
  color: var(--brand-deep);
  font-size: 15px;
  line-height: 1.55;
}

.program-page .registration-cta {
  margin-bottom: 0;
  padding: 58px 0;
  border-top: 1px solid var(--line);
  border-left: 0;
  background: transparent;
}

.program-page .registration-cta > div {
  padding: 0;
}

.program-page .registration-cta h2 {
  max-width: 720px;
}

@media (max-width: 900px) {
  .program-page .program-day-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .program-page .program-status {
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 22px;
    padding: 58px 0 48px;
  }

  .program-page .status-mark {
    width: 72px;
    height: 72px;
  }

  .program-page .program-status-copy h2,
  .program-page .program-days-heading h2 {
    font-size: clamp(36px, 8vw, 48px);
  }

  .program-page .registration-cta {
    row-gap: 28px;
    padding: 48px 0;
  }

  .program-page .registration-cta .eyebrow {
    margin-bottom: 12px;
  }
}

@media (max-width: 560px) {
  .program-page .program-status,
  .program-page .program-days,
  .program-page .registration-cta {
    width: min(92vw, 620px);
  }

  .program-page .program-status {
    grid-template-columns: 58px minmax(0, 1fr);
    gap: 16px;
    padding: 46px 0 42px;
  }

  .program-page .status-mark {
    width: 58px;
    height: 58px;
  }

  .program-page .status-mark svg {
    width: 22px;
    height: 22px;
  }

  .program-page .program-status-copy .eyebrow,
  .program-page .program-days-heading .eyebrow {
    margin-bottom: 10px;
    font-size: 11px;
  }

  .program-page .program-status-copy h2,
  .program-page .program-days-heading h2 {
    font-size: 34px;
  }

  .program-page .program-status-copy > p:last-child {
    margin-top: 16px;
    font-size: 16px;
  }

  .program-page .program-days {
    padding: 42px 0 48px;
  }

  .program-page .program-day-grid {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 26px;
  }

  .program-page .program-day-grid article {
    min-height: 0;
    padding: 22px 20px;
  }

  .program-page .program-day-grid time > span {
    font-size: 38px;
  }

  .program-page .program-day-grid time > strong {
    font-size: 14px;
  }

  .program-page .program-day-grid article > p {
    margin-top: 18px;
    font-size: 15px;
  }

  .program-page .registration-cta {
    padding: 44px 0;
  }

  .program-page .registration-cta h2 {
    font-size: 34px;
  }
}

/* Final Tam Kural homepage spacing and alignment pass. */
.invite-section {
  width: min(1180px, 88vw);
  grid-template-columns: minmax(220px, .5fr) minmax(0, 1.5fr);
  gap: clamp(44px, 6vw, 88px);
}

.invite-title {
  position: sticky;
  top: 118px;
  align-self: start;
}

.invite-copy {
  max-width: 780px;
}

.dates-section {
  padding-bottom: 76px;
}

.date-line,
.prototype-date-grid {
  grid-template-columns: repeat(5,minmax(0,1fr));
}

.program-section {
  padding-top: 76px;
  padding-bottom: 88px;
}

.venue-section {
  align-items: stretch;
}

.venue-image {
  height: 100%;
  min-height: 520px;
  aspect-ratio: auto;
}

.venue-content {
  padding: 48px clamp(34px,5vw,72px);
}

.venue-content h2 {
  font-size: clamp(38px,3.6vw,46px);
  line-height: 1.06;
}

.venue-content > p:not(.eyebrow) {
  font-size: 15.5px;
  line-height: 1.55;
}

.venue-content dl {
  margin: 26px 0 22px;
}

.venue-content dl div {
  padding-block: 9px;
}

.venue-content .text-link {
  margin-top: 22px;
}

.about-section {
  padding-top: 84px;
  padding-bottom: 84px;
}

.association-social-note {
  margin-top: 18px;
}

.association-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 28px;
  margin-top: 24px;
}

.association-links .text-link {
  margin: 0;
}

.association-instagram-link > svg:first-child {
  width: 18px;
  height: 18px;
  margin-right: 2px;
}


.photo-gallery-links .personal-photo-action {
  text-decoration: none;
}

.photo-gallery-links .personal-photo-action:hover,
.photo-gallery-links .personal-photo-action:focus-visible {
  background: var(--brand-pale);
  box-shadow: inset 0 -4px 0 var(--brand-mid);
}

.photo-gallery-page-section {
  padding-top: 64px;
}

.photo-gallery-layout {
  align-items: stretch;
}

.photo-gallery-surface {
  min-width: 0;
}

.photo-service-field {
  margin: 0;
}

.photo-service-field select {
  width: 100%;
  min-height: 56px;
  margin-top: 8px;
  border: 1px solid var(--brand-mid);
  border-radius: 0;
  background: white;
  color: var(--brand-deep);
  font: 700 15px/1.3 var(--sans);
}

.photo-service-panel {
  margin-top: 28px;
}

.photo-service-panel[hidden],
.photo-service-panel [hidden] {
  display: none !important;
}

.photo-service-panel > [data-photo-auth-intro] {
  margin: 30px 0 0;
}

.photo-service-panel > [data-photo-auth-intro] h3 {
  margin: 8px 0 0;
  color: var(--brand-deep);
  font: 400 34px/1.1 var(--display);
}

.photo-gallery-page .personal-photo-auth-form .photo-identity-fields {
  grid-template-columns: repeat(2,minmax(0,1fr));
}

.photo-gallery-page .personal-photo-private-area {
  margin-top: 28px;
}

.photo-gallery-page .private-photo-gallery-heading {
  margin-top: 28px;
}

.photo-gallery-page .personal-photo-dropzone {
  margin-top: 24px;
}

.photo-gallery-page .document-choice-info {
  margin-bottom: 28px;
}

.photo-gallery-page .public-photo-heading {
  margin-top: 30px;
}

.photo-gallery-page .community-photo-heading {
  margin-top: 38px;
  padding-top: 30px;
  border-top: 1px solid var(--line);
}

@media (max-width: 820px) {
  .photo-gallery-page .personal-photo-auth-form .photo-identity-fields {
    grid-template-columns: 1fr;
  }

  .photo-gallery-page-section {
    padding-top: 36px;
  }

  .photo-gallery-page .thtd-form-layout > aside {
    padding: 26px 24px;
  }

  .photo-gallery-page .thtd-form-layout > aside h2 {
    margin-top: 8px;
    font-size: 34px;
    line-height: 1.06;
  }

  .photo-gallery-page .thtd-form-layout > aside p {
    margin-top: 14px;
    line-height: 1.55;
  }

  .photo-gallery-page .thtd-form-surface {
    padding: 28px 22px;
  }
}

@media (max-width: 1050px) {
  .quick-actions {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .quick-actions > a:last-child {
    grid-column: auto;
  }

  .quick-actions > a:nth-child(4n) {
    border-right: 0;
  }
}

@media (max-width: 680px) {
  .quick-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .quick-actions > a:last-child {
    grid-column: auto;
  }

  .quick-actions > a:nth-child(even) {
    border-right: 0;
  }
}

.home-page main > section[id] {
  scroll-margin-top: 112px !important;
}

@media (max-width: 820px) {
  .home-page main > section[id] {
    scroll-margin-top: 96px !important;
  }
}

@media (max-width: 820px) {
  .date-line {
    grid-template-columns: 1fr;
  }

  .prototype-date-grid {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }

  .invite-section {
    width: min(90vw, 650px);
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .invite-title {
    position: static;
  }

  .dates-section,
  .program-section,
  .about-section {
    padding-top: 68px;
    padding-bottom: 68px;
  }

  .venue-image {
    height: auto;
    min-height: 0;
    aspect-ratio: 16 / 9;
  }

  .venue-content {
    padding: 42px 6vw 48px;
  }

  .thtd-form-section {
    padding-top: 48px;
  }

  .document-access-section {
    min-height: 0;
    padding: 68px 6vw;
    grid-template-columns: 1fr;
    gap: 42px;
    scroll-margin-top: 96px;
  }

  .document-access-copy {
    padding-left: 22px;
    border-left-width: 3px;
  }

  .document-access-copy h2 {
    font-size: 46px;
  }

  .document-access-details {
    padding: 24px;
  }

  .personal-photos-section {
    padding: 68px 6vw;
    scroll-margin-top: 96px;
  }

  .personal-photos-heading,
  .personal-photo-intro,
  .personal-photo-panel-heading,
  .private-photo-gallery-heading {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .personal-photo-actions {
    grid-template-columns: 1fr;
  }

  .personal-photo-action {
    min-height: 150px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .personal-photo-action:last-child {
    border-bottom: 0;
  }

  .personal-photo-workspace {
    padding: 28px;
  }

  .personal-photo-auth-form .photo-identity-fields,
  .personal-photo-panel .private-photo-grid {
    grid-template-columns: 1fr;
  }

  .private-photo-gallery-heading > .photo-gallery-count {
    justify-self: start;
  }
}

@media (max-width: 560px) {
  .page-scroll-control {
    top: 96px;
    right: 14px;
    bottom: auto;
    width: 44px;
    height: 44px;
    transform: none;
  }

  .page-scroll-control:hover,
  .page-scroll-control:focus-visible {
    transform: translateY(-2px);
  }

  .service-grid { grid-template-columns: 1fr; }
  .thtd-form-surface { padding: 22px; }
  .thtd-form-layout > aside { padding: 28px; }
  .document-access-details > p {
    min-height: 82px;
    grid-template-columns: 1fr;
    gap: 4px;
  }
  .document-access-details p span { text-align: left; }
  .document-access-button { width: 100%; }
  .document-access-section {
    padding: 56px 5vw;
  }
  .document-access-copy {
    padding-left: 18px;
  }
  .document-access-copy h2 {
    margin-bottom: 18px;
    font-size: 38px;
  }
  .document-access-copy > p:last-child {
    font-size: 16px;
    line-height: 1.6;
  }
  .document-access-details {
    padding: 20px;
  }
  .personal-photos-section {
    padding: 56px 5vw;
  }
  .personal-photos-heading h2 {
    font-size: 42px;
  }
  .personal-photo-workspace {
    padding: 20px;
  }
  .personal-photo-profile {
    align-items: flex-start;
    flex-direction: column;
  }
  .personal-photo-profile button,
  .personal-photo-auth-submit .button,
  .personal-photo-upload-button {
    width: 100%;
  }
  .personal-photo-dropzone {
    min-height: 180px;
    padding: 24px 18px;
  }
  .document-choice-info {
    min-height: 0;
    padding: 18px;
  }
  .invitation-submit-row .wpcf7-submit,
  .invitation-download { width: 100%; }

  .prototype-model-label {
    top: 102px;
    font-size: 10px;
  }

  .prototype-hero,
  .prototype-d .prototype-hero {
    min-height: 720px;
  }

  .prototype-hero-grid,
  .prototype-b .prototype-hero-grid,
  .prototype-c .prototype-hero-grid,
  .prototype-d .prototype-hero-grid {
    padding-top: 142px;
  }

  .prototype-edition {
    font-size: 34px;
  }

  .prototype-title h1,
  .prototype-c .prototype-title h1,
  .prototype-d .prototype-title h1 {
    font-size: clamp(40px,12vw,58px);
  }

  .prototype-facts {
    display: grid;
    gap: 10px;
    margin-top: 22px;
  }

  .prototype-c .prototype-hero-links,
  .prototype-d .prototype-hero-links,
  .prototype-b .prototype-hero-links {
    grid-template-columns: repeat(2,1fr);
  }

  .prototype-c .prototype-hero-links a,
  .prototype-d .prototype-hero-links a,
  .prototype-b .prototype-hero-links a {
    min-height: 54px;
    border-bottom: 1px solid rgba(255,255,255,.2);
    font-size: 12px;
  }

  .prototype-intro h2,
  .prototype-section-heading h2,
  .prototype-venue-copy h2,
  .prototype-final-actions h2 {
    font-size: clamp(38px,11vw,54px);
  }

  .prototype-date-grid {
    grid-template-columns: 1fr;
  }

  .prototype-date-grid article,
  .prototype-date-grid article:nth-child(2) {
    min-height: 140px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .prototype-date-grid article:last-child {
    border-bottom: 0;
  }

  .prototype-date-grid time {
    margin-bottom: 30px;
  }

  .prototype-venue-image {
    min-height: 300px;
  }

  .prototype-index-main {
    padding-top: 140px;
  }

  .prototype-index-links a {
    grid-template-columns: 1fr auto;
    padding: 20px 0;
  }

  .prototype-index-links strong {
    grid-column: 1 / -1;
  }
}
.document-center-section {
  scroll-margin-top: 112px;
}

/* Public congress archive: HEAD-style horizontal gallery in the THTD palette. */
[data-photo-panel="congress"] .public-photo-heading { border-bottom: 2px solid var(--brand-mid); padding-bottom: 18px; }
[data-photo-panel="congress"] .photo-gallery-count { flex-shrink: 0; padding: 8px 12px; background: var(--brand-pale); color: var(--brand-deep); }
.congress-gallery { position: relative; min-width: 0; max-width: 100%; }
.congress-gallery-track.private-photo-grid { display: flex; gap: 14px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: thin; scrollbar-color: var(--brand-mid) var(--brand-pale); padding-bottom: 12px; }
.congress-gallery-track .private-photo-card { flex: 0 0 230px; scroll-snap-align: start; }
.congress-photo-zoom { display: block; position: relative; overflow: hidden; background: var(--brand-pale); }
.congress-photo-zoom img { display: block; width: 100%; height: 285px; object-fit: cover; transition: transform .2s ease; }
.congress-photo-zoom:hover img { transform: scale(1.035); }
.congress-photo-zoom:focus-visible, .congress-gallery-track:focus-visible { outline: 3px solid var(--brand-mid); outline-offset: -3px; }
.congress-gallery-track .private-photo-card-body { padding: 12px; }
.congress-gallery-track .private-photo-actions { grid-template-columns: 1fr 1fr; }
.congress-gallery-track .private-photo-card-body > p { min-height: 0; font-size: 13px; }
.congress-gallery-arrow { position: absolute; top: 115px; z-index: 2; width: 44px; height: 54px; border: 0; background: var(--brand-deep); color: white; font: 38px/1 var(--sans); cursor: pointer; box-shadow: 0 2px 8px #0002; }
.congress-gallery-previous { left: 0; }
.congress-gallery-next { right: 0; }
.congress-gallery-arrow:hover { background: var(--brand-mid); }
[data-photo-panel="congress"] [data-public-empty] { margin-top: 22px; border: 1px solid var(--line); border-top: 3px solid var(--brand-mid); background: var(--brand-pale); }
.congress-gallery-dialog { width: min(1000px,94vw); max-width: 94vw; max-height: 94dvh; padding: 48px 20px 18px; border: 1px solid var(--line); background: white; color: var(--brand-deep); overflow: auto; }
.congress-gallery-dialog::backdrop { background: #082f3be8; }
.congress-dialog-close { position: absolute; right: 10px; top: 4px; width: 44px; height: 40px; border: 0; background: transparent; color: var(--brand-deep); font-size: 32px; cursor: pointer; }
.congress-dialog-stage { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-width: 0; }
.congress-dialog-stage img { display: block; min-width: 0; max-width: calc(100% - 104px); max-height: 65dvh; width: auto; height: auto; object-fit: contain; margin: auto; }
.congress-dialog-stage button { flex: 0 0 44px; height: 52px; border: 1px solid var(--line); background: var(--brand-pale); color: var(--brand-deep); font-size: 32px; cursor: pointer; }
.congress-gallery-dialog [hidden] { display: none; }
.congress-dialog-footer { display: flex; gap: 16px; align-items: center; justify-content: space-between; margin-top: 16px; }
.congress-dialog-footer p { margin: 0; font: 500 13px/1.5 var(--sans); overflow-wrap: anywhere; }
.congress-dialog-footer a { flex-shrink: 0; }
@media(max-width:600px) {
 .congress-gallery-track .private-photo-card { flex-basis: min(230px,85%); }
 .congress-photo-zoom img { height: 255px; }
 .congress-gallery-arrow { top: 100px; }
 .congress-gallery-dialog { padding: 46px 10px 14px; }
 .congress-dialog-stage { gap: 4px; }
 .congress-dialog-stage button { flex-basis: 36px; }
 .congress-dialog-stage img { max-width: calc(100% - 80px); }
 .congress-dialog-footer { flex-direction: column; align-items: stretch; gap: 10px; }
}
@media(prefers-reduced-motion:reduce) { .congress-photo-zoom img { transition: none; } .congress-gallery-track { scroll-behavior: auto; } }

/* Always-visible photo services; no dropdown. */
.photo-service-navigation { display: flex; flex-wrap: wrap; gap: 10px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.photo-service-navigation button { flex: 1 1 150px; min-height: 52px; padding: 12px 16px; border: 1px solid var(--brand-mid); background: white; color: var(--brand-deep); font: 700 14px/1.4 var(--sans); cursor: pointer; }
.photo-service-navigation button[aria-pressed="true"] { background: var(--brand-deep); border-color: var(--brand-deep); color: white; box-shadow: inset 0 -3px var(--brand-mid); }
.photo-service-navigation button:hover { background: var(--brand-pale); color: var(--brand-deep); }
.photo-service-navigation button:focus-visible { outline: 3px solid var(--brand-mid); outline-offset: 3px; }
@media(max-width:600px) { .photo-service-navigation { flex-direction: column; } .photo-service-navigation button { flex: auto; width: 100%; } }
