:root {
  --green: #0d4838;
  --green-deep: #08382c;
  --green-ink: #062c23;
  --sage-light: #dfe8e0;
  --ink: #1d2823;
  --muted: #53645a;
  --line: #dce4de;
  --paper: #fffefb;
  --paper-green: #f2f6f2;
  --copper: #bd7f55;
  --peach: #f4c9a9;
  --display: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body { margin: 0; overflow-x: hidden; color: var(--ink); background: var(--paper); font: 16px/1.65 var(--sans); -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
::selection { color: white; background: var(--green); }
:focus-visible { outline: 3px solid var(--copper); outline-offset: 4px; }

.skip-link { position: fixed; top: 10px; left: 10px; z-index: 100; padding: 10px 16px; border-radius: 8px; color: white; background: var(--green-deep); transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }
.site-header { min-height: 88px; padding: 13px 24px 12px; display: flex; flex-direction: column; align-items: center; justify-content: center; border-bottom: 1px solid rgba(13,72,56,.08); background: var(--paper); }
.brand { display: block; width: min(340px, 80vw); line-height: 0; }
.brand img { width: 100%; height: auto; }
.site-header .brand { width: min(170px, 40vw); }
.site-header p, .site-footer p { margin: 4px 0 0; color: #68716b; font-size: 10px; font-weight: 750; line-height: 1.3; letter-spacing: .08em; text-align: center; text-transform: uppercase; }

h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { text-wrap: balance; }
h1, h2 { font-family: var(--display); font-weight: 500; letter-spacing: -.035em; }
h2 { color: var(--green-deep); font-size: clamp(39px, 5vw, 64px); line-height: 1.04; }
h3 { color: var(--green-deep); font-size: 25px; line-height: 1.22; }
.button { min-height: 58px; padding: 14px 28px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; gap: 13px; font-size: 14px; font-weight: 800; line-height: 1.35; text-align: center; box-shadow: 0 16px 34px rgba(4,35,28,.15); transition: transform .18s ease, box-shadow .18s ease, background .18s ease; }
.button:hover { transform: translateY(-2px); box-shadow: 0 21px 40px rgba(4,35,28,.22); }
.button span { font-size: 20px; font-weight: 400; line-height: 1; }
.button-peach { color: var(--green-deep); background: var(--peach); }
.button-peach:hover { background: #ffd5b6; }

.hero { position: relative; isolation: isolate; padding: 96px 24px 173px; background: radial-gradient(circle at 88% 88%, rgba(255,255,255,.58), transparent 32%), linear-gradient(135deg, #edf3ee 0%, var(--sage-light) 100%); text-align: center; }
.hero::before { content: ""; position: absolute; z-index: -1; inset: 0; opacity: .4; background-image: linear-gradient(rgba(13,72,56,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(13,72,56,.07) 1px, transparent 1px); background-size: 56px 56px; mask-image: linear-gradient(to bottom, black, transparent 76%); }
.hero-inner { max-width: 1080px; margin: 0 auto; }
.hero h1 { max-width: 1050px; margin: 0 auto; color: var(--green-deep); font-size: clamp(46px, 5vw, 72px); line-height: 1.04; }
.hero h1 em { color: var(--green); font-style: normal; }
.hero-lead { max-width: 750px; margin: 32px auto 0; color: #42564c; font-size: clamp(18px, 1.5vw, 20px); line-height: 1.65; }
.hero-event { width: fit-content; margin: 26px auto 0; padding: 8px 18px; border: 1px solid rgba(13,72,56,.2); border-radius: 999px; color: var(--green-deep); background: rgba(255,255,255,.62); font-size: 16px; font-weight: 750; line-height: 1.4; }

.intro-card { position: relative; z-index: 2; width: min(100% - 48px, 1040px); margin: -77px auto 0; padding: clamp(38px, 5vw, 67px); border: 1px solid rgba(13,72,56,.09); border-radius: 36px; background: var(--paper); box-shadow: 0 34px 90px rgba(6,44,35,.17); text-align: center; }
.intro-card h2 { max-width: 770px; margin: 0 auto 26px; font-size: clamp(37px, 4.2vw, 54px); }
.intro-card p { max-width: 780px; margin: 0 auto; color: #4f5b54; font-size: 17px; line-height: 1.8; }
.intro-card p + p { margin-top: 16px !important; }

.section { padding: 116px max(24px, calc((100vw - 1180px) / 2)); }
.section-heading { max-width: 840px; margin: 0 auto 47px; text-align: center; }
.section-heading h2 { margin-bottom: 19px; }
.section-heading p { max-width: 700px; margin: 0 auto; color: var(--muted); font-size: 17px; }
.process-grid { max-width: 1040px; margin: 0 auto; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; list-style: none; }
.process-grid li { min-height: 112px; padding: 25px 26px; border: 1px solid var(--line); border-radius: 20px; display: grid; grid-template-columns: 17px minmax(0, 1fr); align-items: start; gap: 15px; color: var(--green-deep); background: #fbfcfa; font-size: 17px; font-weight: 680; line-height: 1.35; box-shadow: 0 10px 28px rgba(8,56,44,.04); }
.process-grid li::before { content: "↗"; color: var(--copper); font-size: 20px; line-height: 1.3; }
.process-grid h3 { margin: 0 0 12px; font: 750 19px/1.35 var(--sans); }
.process-grid p { margin: 0; color: var(--muted); font-size: 15px; font-weight: 400; line-height: 1.65; }
.examples-note { max-width: 900px; margin: 32px auto 0; color: var(--muted); font-size: 16px; line-height: 1.75; text-align: center; }
.learning-overview { width: min(100% - 48px, 1180px); padding: clamp(32px, 4vw, 56px); }
.learning-overview .process-grid { margin-top: 32px; text-align: left; }
.learning-overview .process-grid p { font-size: 15px; line-height: 1.65; }
.learning-overview .examples-note { max-width: 900px; margin: 32px auto 0; font-size: 16px; line-height: 1.75; }

.audience { background: var(--paper-green); }
.two-column { max-width: 1120px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1.06fr) minmax(0, .94fr); align-items: center; gap: 75px; }
.two-column h2 { margin-bottom: 0; }
.check-list { margin: 0; padding: 33px 37px; border: 1px solid var(--line); border-radius: 28px; list-style: none; background: var(--paper); box-shadow: 0 18px 48px rgba(8,56,44,.06); }
.check-list li { position: relative; padding: 13px 0 13px 35px; border-bottom: 1px solid var(--line); color: #3c4c43; font-size: 16px; line-height: 1.5; }
.check-list li:last-child { border-bottom: 0; }
.check-list li::before { content: "✓"; position: absolute; left: 0; top: 12px; color: var(--copper); font-weight: 800; }
.check-list .no-wrap { white-space: nowrap; }

.method { background: var(--paper); }
.steps { max-width: 1180px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.step-card { min-width: 0; padding: 35px 32px 36px; border: 1px solid var(--line); border-radius: 25px; background: #fbfcfa; }
.learning-formats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.step-card p + p { margin-top: 18px; }
.step-number { display: flex; width: 46px; height: 46px; margin: 0 auto; border-radius: 50%; align-items: center; justify-content: center; color: var(--green-deep); background: #f2d8c4; font-size: 13px; font-weight: 850; }
.step-card h3 { margin: 27px 0 14px; }
.step-card p { margin: 0; color: var(--muted); }

.instructor { background: var(--paper-green); }
.instructor .section-heading { margin-bottom: 42px; }
.instructor-card { max-width: 1080px; margin: 0 auto; border: 1px solid var(--line); border-radius: 32px; display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); overflow: hidden; background: var(--paper); box-shadow: 0 18px 48px rgba(8,56,44,.06); }
.instructor-photo { min-height: 560px; margin: 0; display: flex; align-items: flex-end; justify-content: center; overflow: hidden; background: radial-gradient(circle at 25% 22%, #e2ede5 0 28%, transparent 28.2%), linear-gradient(145deg, #edf4ee, #d8e7dc); }
.instructor-photo img { width: min(95%, 420px); height: auto; max-height: 560px; object-fit: contain; object-position: bottom; }
.instructor-content { padding: clamp(34px, 4vw, 64px); display: flex; flex-direction: column; justify-content: center; }
.instructor-content h3 { margin: 0 0 20px; font: 500 clamp(40px, 3.5vw, 53px)/1.1 var(--display); letter-spacing: -.03em; }
.instructor-content p { margin: 0 0 24px; color: var(--muted); font-size: 17px; line-height: 1.7; }
.instructor-facts { margin: 0; padding: 0; list-style: none; }
.instructor-facts li { position: relative; padding: 14px 0 14px 28px; border-top: 1px solid var(--line); color: var(--green-deep); font-size: 15px; line-height: 1.5; }
.instructor-facts li::before { content: "✦"; position: absolute; top: 14px; left: 0; color: var(--copper); }

.closing { background: radial-gradient(circle at 87% 10%, rgba(240,216,199,.21), transparent 26%), var(--green-deep); }
.closing-inner { max-width: 1180px; margin: 0 auto; }
.closing-heading h2 { color: white; }
.closing-heading p { color: #d9e7de; }
.format-grid { max-width: 1000px; margin: 0 auto; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.workshop-offer { max-width: 1000px; grid-template-columns: minmax(0, 1fr); }
.format-card { min-width: 0; padding: 35px 32px 34px; border: 1px solid var(--line); border-radius: 25px; display: flex; flex-direction: column; background: var(--paper); }
.format-card h3 { min-height: 2.2em; margin: 0 0 17px; font: 500 clamp(30px, 2.6vw, 39px)/1.1 var(--display); letter-spacing: -.03em; }
.format-card h3 span { white-space: nowrap; }
.format-price { margin-bottom: 21px; color: var(--green-deep); font: 500 clamp(42px, 3.4vw, 54px)/1.1 var(--display); white-space: nowrap; }
.format-price span { font: 800 12px var(--sans); }
.format-card > p:not(.format-price) { margin-bottom: 28px; color: var(--muted); font-size: 15px; line-height: 1.65; }
.format-card ul { margin: auto 0 0; padding: 0; list-style: none; }
.format-card li { position: relative; padding: 12px 0 12px 28px; border-top: 1px solid var(--line); color: #3c4c43; font-size: 14px; line-height: 1.5; }
.format-card li::before { content: "↗"; position: absolute; left: 0; color: var(--copper); font-weight: 800; }
.deferred-workshop-form { width: min(100%, 1000px); min-height: 610px; margin: 32px auto 0; }
.deferred-workshop-form > .registration-form { margin-top: 0; }
.deferred-form-prompt { min-height: 610px; padding: 38px 24px; border: 1px solid var(--line); border-radius: 25px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; background: #fbfaf7; text-align: center; }
.deferred-form-prompt h3 { margin: 0; font: 500 clamp(35px, 3.3vw, 49px)/1.1 var(--display); letter-spacing: -.03em; }
.deferred-form-prompt p { max-width: 440px; margin: 0; color: var(--muted); font-size: 15px; }
.deferred-form-prompt p a { color: var(--green-deep); text-decoration: underline; text-underline-offset: 3px; }
.deferred-form-prompt .button { width: min(100%, 360px); }
.registration-form { width: min(100%, 1000px); min-width: 0; margin: 32px auto 0; padding: clamp(25px, 3vw, 36px); border: 1px solid var(--line); border-radius: 25px; background: #fbfaf7; box-shadow: 0 14px 40px rgba(8,56,44,.04); }
.registration-form fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
.registration-form legend { margin-bottom: 9px; color: var(--green-deep); font: 500 clamp(35px, 3.3vw, 49px)/1.1 var(--display); letter-spacing: -.03em; }
.registration-form-lead { margin-bottom: 25px; color: var(--muted); font-size: 13px; line-height: 1.6; }
.registration-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.registration-form-grid .full { grid-column: 1 / -1; }
.registration-form label { min-width: 0; display: flex; flex-direction: column; gap: 7px; color: #35423b; font-size: 12px; font-weight: 800; }
.registration-form input, .registration-form select, .registration-form textarea { width: 100%; min-height: 52px; padding: 13px 14px; border: 1px solid #cbd9cf; border-radius: 11px; color: var(--ink); background: white; font: 14px/1.45 var(--sans); }
.registration-form textarea { min-height: 112px; resize: vertical; }
.registration-form input:focus, .registration-form select:focus, .registration-form textarea:focus { outline: 3px solid rgba(13,72,56,.17); outline-offset: 0; border-color: var(--green); }
.registration-form .button { width: 100%; margin-top: 20px; border: 0; cursor: pointer; }
.registration-form .button:disabled { cursor: not-allowed; opacity: .7; }
.registration-form .form-status { margin: 15px 0 0; padding: 13px 15px; border: 1px solid var(--line); border-radius: 11px; color: var(--muted); background: white; font-size: 13px; line-height: 1.5; text-align: center; }
.registration-form .form-status:empty { display: none; }
.registration-form .form-status.is-success { border-color: #b9d2c1; color: var(--green-deep); background: var(--paper-green); }
.registration-form .form-status.is-error { border-color: #e4b8b1; color: #8c2620; background: #fff0ed; }
.registration-form.is-submitted { display: grid; align-items: center; }
.registration-form.is-submitted fieldset { display: none; }
.registration-form.is-submitted .form-status.is-success { margin: 0; padding: 32px; font: 500 clamp(28px, 3vw, 42px)/1.2 var(--display); }
.standalone-registration { width: min(100% - 40px, 1000px); min-height: 75vh; margin: 0 auto; padding: 54px 0 90px; }
.standalone-registration > a { color: var(--green-deep); font-size: 14px; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.standalone-registration h1 { margin: 25px 0 12px; color: var(--green-deep); font: 500 clamp(42px, 5vw, 64px)/1.1 var(--display); }
.standalone-registration > p { color: var(--muted); }
.standalone-registration > p a { color: var(--green-deep); text-decoration: underline; text-underline-offset: 3px; }
.standalone-registration .registration-form { margin-top: 28px; }
.site-footer { padding: 44px 24px 35px; display: flex; flex-direction: column; align-items: center; background: var(--paper); }
.site-footer .brand { width: min(135px, 35vw); }
.site-footer small { margin-top: 17px; color: #758078; font-size: 11px; }

@media (max-width: 960px) {
  .section { padding: 90px 32px; }
  .two-column { gap: 35px; }
  .process-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: 1fr; }
  .instructor-card { grid-template-columns: 1fr; }
  .instructor-photo { min-height: 430px; }
  .instructor-photo img { max-height: 430px; }
  .format-grid { grid-template-columns: 1fr; }
  .format-card h3 { min-height: 0; }
}

@media (max-width: 680px) {
  .site-header { min-height: 76px; }
  .brand { width: min(290px, 80vw); }
  .site-header .brand { width: min(145px, 40vw); }
  .hero { padding: 73px 20px 136px; }
  .hero h1 { font-size: clamp(34px, 10.2vw, 56px); line-height: 1.01; }
  .hero-lead { margin-top: 24px; font-size: 17px; }
  .hero-event { margin-top: 22px; font-size: 14px; }
  .intro-card { width: calc(100% - 28px); margin-top: -70px; padding: 37px 25px; border-radius: 25px; }
  .intro-card p { font-size: 16px; }
  .section { padding: 78px 20px; }
  .section-heading { margin-bottom: 33px; }
  h2 { font-size: clamp(38px, 9vw, 52px); }
  .process-grid, .two-column { grid-template-columns: 1fr; }
  .process-grid li { min-height: 78px; padding: 20px; }
  .two-column { gap: 29px; }
  .audience h2 { text-align: center; }
  .check-list { padding: 20px 26px; }
  .step-card { padding: 26px 22px; }
  .instructor .section-heading { margin-bottom: 32px; }
  .instructor-card { border-radius: 25px; }
  .instructor-photo { min-height: 380px; }
  .instructor-photo img { max-height: 380px; }
  .instructor-content { padding: 30px 25px 36px; }
  .format-card { padding: 29px 26px; }
  .deferred-workshop-form, .deferred-form-prompt { min-height: 800px; }
  .registration-form { padding: 27px 18px; }
  .registration-form-grid { grid-template-columns: 1fr; }
  .registration-form-grid .full { grid-column: auto; }
  .button { width: 100%; max-width: 380px; }
}

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

/* Organizers and venue for the Sarajevo workshop. */
.organizers { display: flex; align-items: center; justify-content: center; flex-wrap: nowrap; gap: 24px; width: 100%; }
.organizer { display: flex; flex-direction: column; align-items: center; justify-content: center; }
.organizer-partner { gap: 6px; }
.organizer-label { color: var(--muted); font-size: 10px; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; }
.partner-brand { display: block; width: 114px; line-height: 0; }
.partner-brand img { width: 100%; height: auto; }
.hero-location { margin: 14px auto 0; color: var(--green-deep); font-size: 15px; line-height: 1.6; }
.hero-location a { color: inherit; text-underline-offset: 3px; }
@media (max-width: 480px) {
  .organizers { gap: 16px; }
  .partner-brand { width: 90px; }
  .hero-location { font-size: 14px; }
}

.learning-formats.learning-formats-single { grid-template-columns: minmax(0, 1fr); }

/* Keep IUS LIFE first and the divider between the two brands. */
.organizer-divider { flex: 0 0 1px; height: 56px; background: var(--line); }
.site-footer .organizers { margin-bottom: 20px; }
.site-footer .partner-brand { width: 90px; }
@media (max-width: 480px) {
  .organizer-divider { height: 44px; }
}

/* Desktop topic order; keep the single-column reading order unchanged. */
@media (min-width: 681px) {
  .learning-overview .process-grid > li:nth-child(1) { order: 1; }
  .learning-overview .process-grid > li:nth-child(2) { order: 2; }
  .learning-overview .process-grid > li:nth-child(3) { order: 5; }
  .learning-overview .process-grid > li:nth-child(4) { order: 4; }
  .learning-overview .process-grid > li:nth-child(5) { order: 3; }
  .learning-overview .process-grid > li:nth-child(6) { order: 6; }
}

.deferred-workshop-form .registration-form legend + .registration-form-grid { margin-top: 20px; }
