/*
  SDG Design System v0.2
  Scope all public redesign components inside .sdg-style.
*/

.sdg-style {
  --sdg-ivory: #fbf7ef;
  --sdg-ivory-2: #f4ecdf;
  --sdg-paper: #fffdf8;
  --sdg-stone: #d8cdbf;
  --sdg-ink: #202124;
  --sdg-muted: #6b665f;
  --sdg-navy: #142846;
  --sdg-navy-2: #213a5f;
  --sdg-wine: #7b2538;
  --sdg-wine-2: #5f1d2b;
  --sdg-gold: #b99a5e;
  --sdg-gold-2: #e5d4ad;
  --sdg-line: rgba(20, 40, 70, .16);
  --sdg-shadow-soft: 0 18px 50px rgba(20, 40, 70, .14);
  --sdg-shadow-strong: 0 28px 80px rgba(20, 40, 70, .22);
  --sdg-radius-xl: 34px;
  --sdg-radius-lg: 24px;
  --sdg-radius-md: 16px;
  --sdg-max: 1180px;
  --sdg-reading: 760px;
  color: var(--sdg-ink);
  background: var(--sdg-ivory);
  font-family: Inter, "Source Sans 3", "Source Sans Pro", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 18px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow: hidden;
}

.sdg-style *, .sdg-style *::before, .sdg-style *::after { box-sizing: border-box; }
.sdg-style :where(h1,h2,h3,h4,p,figure,blockquote,ul,ol) { margin-top: 0; }
.sdg-style img { display: block; max-width: 100%; height: auto; }
.sdg-style a { color: inherit; }

.sdg-style :where(h1,h2,h3,.sdg-display) {
  color: var(--sdg-navy);
  font-family: "Cormorant Garamond", "Libre Baskerville", Georgia, serif;
  font-weight: 600;
  line-height: .98;
  letter-spacing: -.03em;
  text-wrap: balance;
}

.sdg-style h1 { font-size: clamp(3.7rem, 9vw, 8.8rem); margin-bottom: 1.1rem; }
.sdg-style h2 { font-size: clamp(2.45rem, 5vw, 5rem); margin-bottom: 1rem; }
.sdg-style h3 { font-size: clamp(1.55rem, 2.6vw, 2.45rem); line-height: 1.08; margin-bottom: .75rem; }
.sdg-style p { margin-bottom: 1.15rem; }

.sdg-style .sdg-container { width: min(100% - 42px, var(--sdg-max)); margin-inline: auto; }
.sdg-style .sdg-reading { width: min(100% - 42px, var(--sdg-reading)); margin-inline: auto; }
.sdg-style .sdg-section { padding: clamp(64px, 9vw, 132px) 0; position: relative; }
.sdg-style .sdg-section--tight { padding: clamp(48px, 7vw, 90px) 0; }
.sdg-style .sdg-section--dark { background: var(--sdg-navy); color: rgba(255,255,255,.86); }
.sdg-style .sdg-section--dark :where(h1,h2,h3,.sdg-display) { color: #fff; }
.sdg-style .sdg-section--warm { background: var(--sdg-ivory-2); }
.sdg-style .sdg-section--paper { background: var(--sdg-paper); }

.sdg-style .sdg-eyebrow { color: var(--sdg-wine); font-size: .78rem; font-weight: 800; letter-spacing: .16em; line-height: 1.25; margin-bottom: .9rem; text-transform: uppercase; }
.sdg-style .sdg-section--dark .sdg-eyebrow { color: var(--sdg-gold-2); }
.sdg-style .sdg-lede { color: var(--sdg-muted); font-size: clamp(1.12rem, 2vw, 1.42rem); line-height: 1.55; }
.sdg-style .sdg-section--dark .sdg-lede { color: rgba(255,255,255,.78); }
.sdg-style .sdg-small { color: var(--sdg-muted); font-size: .98rem; line-height: 1.55; }
.sdg-style .sdg-kicker-line { width: 74px; height: 2px; background: var(--sdg-gold); margin: 1.35rem 0 1.55rem; }
.sdg-style .sdg-center { text-align: center; }
.sdg-style .sdg-center > * { margin-left: auto; margin-right: auto; }

.sdg-style .sdg-actions { display: flex; flex-wrap: wrap; gap: 13px; align-items: center; margin-top: 1.8rem; }
.sdg-style .sdg-button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 13px 22px; border: 1px solid var(--sdg-wine); border-radius: 999px; background: var(--sdg-wine); color: #fff !important; font-size: .92rem; font-weight: 800; letter-spacing: .02em; line-height: 1; text-decoration: none !important; transition: transform .2s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease; }
.sdg-style .sdg-button:hover, .sdg-style .sdg-button:focus { background: var(--sdg-wine-2); border-color: var(--sdg-wine-2); box-shadow: 0 10px 24px rgba(123,37,56,.23); transform: translateY(-1px); }
.sdg-style .sdg-button--secondary { background: transparent; color: var(--sdg-navy) !important; border-color: rgba(20,40,70,.32); }
.sdg-style .sdg-button--secondary:hover, .sdg-style .sdg-button--secondary:focus { background: var(--sdg-navy); border-color: var(--sdg-navy); color: #fff !important; }
.sdg-style .sdg-section--dark .sdg-button--secondary { color: #fff !important; border-color: rgba(255,255,255,.42); }
.sdg-style .sdg-section--dark .sdg-button--secondary:hover { background: #fff; color: var(--sdg-navy) !important; }

.sdg-style .sdg-media, .sdg-style .sdg-visual-bg { background-color: #d9d0c1; background-image: linear-gradient(135deg, rgba(20,40,70,.10), rgba(123,37,56,.10)), var(--sdg-img, linear-gradient(135deg,#ddd2c2,#bfc9d5)); background-position: center; background-size: cover; background-repeat: no-repeat; }
.sdg-style .sdg-media { min-height: 360px; border-radius: var(--sdg-radius-xl); box-shadow: var(--sdg-shadow-soft); overflow: hidden; }
.sdg-style .sdg-media--tall { min-height: clamp(480px, 66vw, 700px); }
.sdg-style .sdg-media--medium { min-height: clamp(340px, 42vw, 520px); }
.sdg-style .sdg-media--short { min-height: clamp(220px, 30vw, 330px); }
.sdg-style .sdg-media--square { aspect-ratio: 1; min-height: 0; }
.sdg-style .sdg-media--wide { aspect-ratio: 16 / 9; min-height: 0; }
.sdg-style .sdg-media--portrait { aspect-ratio: 4 / 5; min-height: 0; }

.sdg-style .sdg-hero { min-height: min(900px, 92vh); display: grid; align-items: end; position: relative; isolation: isolate; padding: 120px 0 84px; color: #fff; background-color: var(--sdg-navy); background-image: linear-gradient(90deg, rgba(10,20,35,.90) 0%, rgba(10,20,35,.72) 37%, rgba(10,20,35,.38) 68%, rgba(10,20,35,.34) 100%), linear-gradient(0deg, rgba(10,20,35,.65), rgba(10,20,35,.02) 44%, rgba(10,20,35,.42)), var(--sdg-img, radial-gradient(circle at 72% 35%, #425b7b, #152942 58%, #0b1728)); background-position: center; background-size: cover; }
.sdg-style .sdg-hero::after { content: ""; position: absolute; inset: auto 0 0; height: 26%; background: linear-gradient(0deg, var(--sdg-ivory), rgba(251,247,239,0)); z-index: -1; }
.sdg-style .sdg-hero--short { min-height: 560px; }
.sdg-style .sdg-hero__inner { max-width: 820px; }
.sdg-style .sdg-hero h1 { color: #fff; }
.sdg-style .sdg-hero .sdg-lede { color: rgba(255,255,255,.82); max-width: 680px; }
.sdg-style .sdg-hero__note { display: inline-flex; border: 1px solid rgba(255,255,255,.28); border-radius: 999px; color: rgba(255,255,255,.85); padding: 8px 13px; background: rgba(255,255,255,.08); backdrop-filter: blur(10px); font-size: .82rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 1.4rem; }

.sdg-style .sdg-split { display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr); gap: clamp(32px, 6vw, 76px); align-items: center; }
.sdg-style .sdg-split--reverse { grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); }
.sdg-style .sdg-section-header { display: flex; justify-content: space-between; gap: 30px; align-items: end; margin-bottom: clamp(30px, 5vw, 54px); }
.sdg-style .sdg-section-header > div { max-width: 790px; }
.sdg-style .sdg-grid { display: grid; gap: 20px; }
.sdg-style .sdg-grid--2 { grid-template-columns: repeat(2, minmax(0,1fr)); }
.sdg-style .sdg-grid--3 { grid-template-columns: repeat(3, minmax(0,1fr)); }
.sdg-style .sdg-grid--4 { grid-template-columns: repeat(4, minmax(0,1fr)); }

.sdg-style .sdg-card { background: var(--sdg-paper); border: 1px solid var(--sdg-line); border-radius: var(--sdg-radius-lg); box-shadow: 0 10px 28px rgba(20,40,70,.07); padding: clamp(24px, 3vw, 34px); }
.sdg-style .sdg-card h3 { font-size: clamp(1.55rem, 2.2vw, 2.05rem); }
.sdg-style .sdg-card p:last-child { margin-bottom: 0; }
.sdg-style .sdg-card--dark { background: var(--sdg-navy); color: rgba(255,255,255,.82); }
.sdg-style .sdg-card--dark h3 { color: #fff; }
.sdg-style .sdg-card--link { text-decoration: none !important; transition: transform .2s ease, box-shadow .2s ease; }
.sdg-style .sdg-card--link:hover { transform: translateY(-3px); box-shadow: var(--sdg-shadow-soft); }
.sdg-style .sdg-stat { color: var(--sdg-wine); font-family: "Cormorant Garamond", Georgia, serif; font-size: clamp(3rem, 5vw, 5.2rem); font-weight: 600; line-height: .9; margin-bottom: .55rem; }

.sdg-style .sdg-feature-list { display: flex; flex-direction: column; gap: 20px; margin-top: 1.8rem; }
.sdg-style .sdg-item { display: flex; gap: 15px; align-items: flex-start; font-size: clamp(1.08rem, 1.6vw, 1.28rem); line-height: 1.42; }
.sdg-style .sdg-icon { flex: 0 0 30px; width: 30px; height: 30px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; margin-top: .06em; background: rgba(123,37,56,.11); color: var(--sdg-wine); font-weight: 900; font-size: 1rem; }

.sdg-style .sdg-event-feature { display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); gap: 0; border-radius: var(--sdg-radius-xl); overflow: hidden; background: var(--sdg-paper); box-shadow: var(--sdg-shadow-strong); border: 1px solid rgba(20,40,70,.10); }
.sdg-style .sdg-event-image { min-height: clamp(450px, 52vw, 660px); background-image: linear-gradient(0deg, rgba(10,20,35,.78), rgba(10,20,35,.04) 52%, rgba(10,20,35,.28)), var(--sdg-img, linear-gradient(135deg,#2a4164,#c6b489)); background-size: cover; background-position: center; display: flex; align-items: end; padding: clamp(26px, 4vw, 44px); color: #fff; }
.sdg-style .sdg-event-image h3 { color: #fff; font-size: clamp(2.2rem, 5vw, 4.6rem); margin-bottom: 0; }
.sdg-style .sdg-event-body { padding: clamp(32px, 5vw, 62px); }
.sdg-style .sdg-meta { display: flex; flex-wrap: wrap; gap: 9px; margin: 1.4rem 0 1.5rem; }
.sdg-style .sdg-pill { display: inline-flex; align-items: center; min-height: 32px; border-radius: 999px; padding: 7px 12px; background: rgba(20,40,70,.07); color: var(--sdg-navy); font-size: .82rem; font-weight: 800; }
.sdg-style .sdg-section--dark .sdg-pill { background: rgba(255,255,255,.12); color: #fff; }

.sdg-style .sdg-gallery { display: grid; grid-template-columns: 1.25fr .82fr .82fr; gap: 18px; }
.sdg-style .sdg-gallery__stack { display: grid; gap: 18px; }
.sdg-style .sdg-gallery .sdg-media { border-radius: var(--sdg-radius-lg); box-shadow: none; min-height: 260px; }
.sdg-style .sdg-gallery .sdg-media--large { min-height: 560px; }
.sdg-style .sdg-caption { color: var(--sdg-muted); font-size: .92rem; margin-top: 14px; }

.sdg-style .sdg-video { aspect-ratio: 16 / 9; border-radius: var(--sdg-radius-xl); overflow: hidden; box-shadow: var(--sdg-shadow-strong); background-image: linear-gradient(0deg, rgba(10,20,35,.78), rgba(10,20,35,.22)), var(--sdg-img, radial-gradient(circle at 45% 35%, #6f7f95, #142846)); background-size: cover; background-position: center; display: grid; place-items: center; color: #fff; text-decoration: none !important; }
.sdg-style .sdg-play { width: 86px; height: 86px; border-radius: 999px; display: grid; place-items: center; background: rgba(255,255,255,.92); color: var(--sdg-wine); font-size: 2rem; box-shadow: 0 16px 44px rgba(0,0,0,.28); }

.sdg-style blockquote { color: var(--sdg-navy); font-family: "Cormorant Garamond", Georgia, serif; font-size: clamp(2.1rem, 4.4vw, 4.4rem); line-height: 1.02; letter-spacing: -.03em; margin-bottom: 1.2rem; }
.sdg-style .sdg-quote-panel { border-radius: var(--sdg-radius-xl); padding: clamp(34px, 6vw, 76px); background: var(--sdg-navy); color: rgba(255,255,255,.82); position: relative; overflow: hidden; }
.sdg-style .sdg-quote-panel::before { content:""; position:absolute; inset:0; background: radial-gradient(circle at 85% 15%, rgba(185,154,94,.34), transparent 32%); pointer-events:none; }
.sdg-style .sdg-quote-panel > * { position:relative; }
.sdg-style .sdg-quote-panel h2 { color:#fff; max-width: 820px; }
.sdg-style .sdg-quote-byline { color: var(--sdg-muted); font-weight: 800; }

.sdg-style .sdg-cta { min-height: 520px; display: grid; align-items: center; color: #fff; background-color: var(--sdg-navy); background-image: linear-gradient(90deg, rgba(10,20,35,.88), rgba(10,20,35,.55), rgba(10,20,35,.32)), var(--sdg-img, linear-gradient(135deg,#142846,#7b2538)); background-size: cover; background-position: center; }
.sdg-style .sdg-cta h2 { color: #fff; max-width: 760px; }
.sdg-style .sdg-cta .sdg-lede { color: rgba(255,255,255,.82); max-width: 680px; }

.sdg-style .sdg-timeline { display: grid; gap: 18px; counter-reset: sdg-step; }
.sdg-style .sdg-step { position: relative; display: grid; grid-template-columns: 58px 1fr; gap: 18px; align-items: start; }
.sdg-style .sdg-step::before { counter-increment: sdg-step; content: counter(sdg-step); width: 44px; height: 44px; display: grid; place-items: center; border-radius: 999px; background: var(--sdg-wine); color: #fff; font-weight: 900; }
.sdg-style .sdg-step h3 { margin-bottom: .3rem; }

.sdg-style .sdg-faq details { background: var(--sdg-paper); border: 1px solid var(--sdg-line); border-radius: var(--sdg-radius-md); padding: 20px 22px; margin-bottom: 12px; }
.sdg-style .sdg-faq summary { cursor: pointer; font-weight: 800; color: var(--sdg-navy); }
.sdg-style .sdg-faq details > *:last-child { margin-bottom: 0; }

.sdg-style .sdg-person { display: grid; grid-template-columns: 140px 1fr; gap: 22px; align-items: start; }
.sdg-style .sdg-person__photo { width: 140px; aspect-ratio: 1; border-radius: 999px; background-image: var(--sdg-img, linear-gradient(135deg,#ddd2c2,#bfc9d5)); background-position: center; background-size: cover; box-shadow: var(--sdg-shadow-soft); }
.sdg-style .sdg-person__role { color: var(--sdg-wine); font-size: .82rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }

.sdg-style .sdg-price { display: grid; gap: 12px; }
.sdg-style .sdg-price__amount { color: var(--sdg-navy); font-family: "Cormorant Garamond", Georgia, serif; font-size: clamp(2.6rem, 4vw, 4.4rem); line-height: .9; }
.sdg-style .sdg-price__label { color: var(--sdg-wine); font-weight: 900; text-transform: uppercase; letter-spacing: .12em; font-size: .78rem; }

.sdg-style .sdg-dashboard { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 18px; }
.sdg-style .sdg-dashboard-card { min-height: 190px; display: flex; flex-direction: column; justify-content: space-between; text-decoration: none !important; }
.sdg-style .sdg-dashboard-card .sdg-icon { margin-bottom: 18px; }

.sdg-style .sdg-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 16px; }
.sdg-style .sdg-form-field { display: grid; gap: 6px; }
.sdg-style .sdg-form-field label { color: var(--sdg-navy); font-weight: 800; }
.sdg-style .sdg-form-field input, .sdg-style .sdg-form-field textarea, .sdg-style .sdg-form-field select { width: 100%; border: 1px solid var(--sdg-line); border-radius: 14px; padding: 13px 14px; background: #fff; color: var(--sdg-ink); font: inherit; }
.sdg-style .sdg-form-field textarea { min-height: 150px; resize: vertical; }
.sdg-style .sdg-form-field--full { grid-column: 1 / -1; }

.sdg-style .sdg-page-footer { background: #0d1a2c; color: rgba(255,255,255,.74); padding: 56px 0; }
.sdg-style .sdg-page-footer h2, .sdg-style .sdg-page-footer h3 { color: #fff; }

@media (max-width: 900px) {
  .sdg-style { font-size: 17px; }
  .sdg-style .sdg-hero { min-height: 760px; padding: 96px 0 72px; background-image: linear-gradient(90deg, rgba(10,20,35,.92), rgba(10,20,35,.64)), var(--sdg-img, radial-gradient(circle at 70% 20%, #425b7b, #0b1728)); }
  .sdg-style .sdg-split, .sdg-style .sdg-split--reverse, .sdg-style .sdg-event-feature { grid-template-columns: 1fr; }
  .sdg-style .sdg-section-header { display: block; }
  .sdg-style .sdg-section-header .sdg-button { margin-top: 1rem; }
  .sdg-style .sdg-grid--2, .sdg-style .sdg-grid--3, .sdg-style .sdg-grid--4, .sdg-style .sdg-dashboard { grid-template-columns: 1fr; }
  .sdg-style .sdg-gallery { grid-template-columns: 1fr; }
  .sdg-style .sdg-gallery .sdg-media--large { min-height: 380px; }
}

@media (max-width: 560px) {
  .sdg-style .sdg-container, .sdg-style .sdg-reading { width: min(100% - 28px, var(--sdg-max)); }
  .sdg-style h1 { font-size: clamp(3rem, 15vw, 4.8rem); }
  .sdg-style .sdg-button { width: 100%; }
  .sdg-style .sdg-actions { align-items: stretch; }
  .sdg-style .sdg-media { border-radius: 22px; }
  .sdg-style .sdg-event-body { padding: 28px 22px; }
  .sdg-style .sdg-person { grid-template-columns: 1fr; }
  .sdg-style .sdg-form-grid { grid-template-columns: 1fr; }
}
