@font-face { font-family: "Poppins"; src: url("/assets/fonts/Poppins-Bold-Latin.woff2") format("woff2"); font-style: normal; font-weight: 700; font-display: swap; }
@font-face { font-family: "Montserrat"; src: url("/assets/fonts/Montserrat-Medium-Latin.woff2") format("woff2"); font-style: normal; font-weight: 500; font-display: swap; }
@font-face { font-family: "Montserrat"; src: url("/assets/fonts/Montserrat-SemiBold-Latin.woff2") format("woff2"); font-style: normal; font-weight: 600; font-display: swap; }

:root {
  --dbfam-blue: #315d8a;
  --dbfam-night: #1f2a37;
  --dbfam-paper: #f5f7fa;
  --dbfam-grey: #4c4c4c;
  --white: #fff;
  --blue-soft: #e8eff6;
  --line: rgba(31, 42, 55, 0.16);
  --shadow: 0 24px 70px rgba(31, 42, 55, 0.09);
  color: var(--dbfam-night);
  background: var(--dbfam-paper);
  font-family: "Montserrat", Arial, sans-serif;
  font-synthesis: none;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; background: var(--dbfam-paper); }
a { color: inherit; }
img { display: block; max-width: 100%; }
.skip-link { position: fixed; left: 1rem; top: -5rem; z-index: 100; padding: .8rem 1rem; color: var(--white); background: var(--dbfam-night); }
.skip-link:focus { top: 1rem; }

.site-header, footer, .hero, .worlds { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.site-header { min-height: 116px; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.site-header nav, footer nav { display: flex; gap: 1.5rem; align-items: center; }
.site-header nav a, footer nav a { font-size: .9rem; font-weight: 600; text-decoration-thickness: 1px; text-underline-offset: .32rem; }
.brand-link { display: inline-flex; flex: 0 0 auto; align-items: center; text-decoration: none; }
.brand-logo { width: 210px; height: auto; aspect-ratio: 3271.11 / 1155.56; }
.footer-logo { width: 158px; height: auto; aspect-ratio: 3271.11 / 1155.56; }

.hero { min-height: 680px; display: grid; grid-template-columns: minmax(0, .94fr) minmax(360px, 1.06fr); align-items: stretch; border-top: 1px solid var(--line); }
.hero-copy { min-width: 0; padding: clamp(4rem, 8vw, 7.4rem) clamp(1rem, 5vw, 4.8rem) 5rem 0; align-self: center; }
.eyebrow { margin: 0 0 1.2rem; color: var(--dbfam-blue); font-size: .76rem; font-weight: 600; letter-spacing: .13em; text-transform: uppercase; }
h1, h2, h3 { font-family: "Poppins", Arial, sans-serif; font-weight: 700; letter-spacing: -.035em; }
h1 { max-width: 790px; margin: 0; font-size: clamp(3.05rem, 5.8vw, 5.9rem); line-height: 1.01; }
.lead { max-width: 650px; margin: 2rem 0 0; color: var(--dbfam-grey); font-size: clamp(1.02rem, 1.6vw, 1.22rem); line-height: 1.72; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 2.25rem; }
.button { display: inline-flex; min-height: 50px; align-items: center; justify-content: center; padding: .82rem 1.25rem; border: 2px solid var(--dbfam-blue); border-radius: .45rem; font-weight: 600; text-decoration: none; transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease; }
.button.primary { color: var(--white); background: var(--dbfam-blue); }
.button.quiet { color: var(--dbfam-blue); background: transparent; }
.button.light { color: var(--dbfam-night); background: var(--white); border-color: var(--white); }
.button:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(31, 42, 55, .12); }
.button:focus-visible, a:focus-visible, input:focus-visible, button:focus-visible { outline: 3px solid var(--dbfam-blue); outline-offset: 4px; }

.hero-visual { position: relative; margin: 0; min-height: 620px; overflow: hidden; background: var(--dbfam-blue); }
.hero-visual::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(150deg, rgba(31,42,55,.05), rgba(31,42,55,.5)); }
.hero-visual img { width: 100%; height: 100%; object-fit: cover; }
.hero-visual figcaption { position: absolute; left: 1.5rem; bottom: 1.5rem; z-index: 2; max-width: 20rem; color: var(--white); font-size: .82rem; font-weight: 600; line-height: 1.55; }

.worlds { padding-block: clamp(5rem, 9vw, 8rem); }
.section-heading { display: grid; grid-template-columns: .5fr 1.5fr; gap: 2rem; align-items: end; margin-bottom: 3rem; }
.section-heading h2, .newsletter-strip h2 { margin: 0; font-size: clamp(2.5rem, 4.6vw, 4.7rem); line-height: 1.06; }
.world-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 1rem; }
.world-card { min-height: 360px; padding: clamp(1.5rem, 3vw, 2.1rem); border: 1px solid var(--line); display: flex; flex-direction: column; background: var(--white); transition: transform .2s ease, box-shadow .2s ease; }
.world-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.world-card.travel { grid-column: span 7; color: var(--white); background: var(--dbfam-night); border-color: transparent; }
.world-card.books { grid-column: span 5; color: var(--white); background: var(--dbfam-blue); border-color: transparent; }
.world-card.future { grid-column: span 5; }
.world-card.digital { grid-column: span 7; background: var(--blue-soft); }
.world-card .card-index { margin: 0; font-variant-numeric: tabular-nums; opacity: .72; }
.world-card.travel .card-index, .world-card.books .card-index { opacity: 1; }
.world-card h3 { margin: auto 0 .8rem; font-size: clamp(2rem, 3.7vw, 3.4rem); }
.world-card p:not(.card-index) { max-width: 39rem; margin: 0 0 1.5rem; font-size: 1rem; line-height: 1.65; }
.world-card a, .world-card span { width: fit-content; font-weight: 600; text-underline-offset: .35rem; }

.newsletter-strip { display: grid; grid-template-columns: 1fr auto; gap: 2rem; align-items: end; padding: clamp(4rem, 8vw, 7rem) max(20px, calc((100vw - 1180px) / 2)); color: var(--white); background: var(--dbfam-blue); }
.newsletter-strip .eyebrow { color: var(--white); opacity: .8; }
.newsletter-strip h2 { max-width: 900px; }

footer { display: grid; grid-template-columns: auto 1fr auto; gap: 2rem 3rem; align-items: center; padding-block: 2.8rem; }
footer p { margin: 0; color: var(--dbfam-grey); }
.copyright { grid-column: 2; font-size: .82rem; }

.subpage-main { width: min(920px, calc(100% - 40px)); margin: 0 auto; padding: clamp(4rem, 8vw, 7rem) 0; }
.subpage-hero { max-width: 790px; margin-bottom: 3.5rem; }
.subpage-hero h1 { font-size: clamp(2.8rem, 6vw, 5.4rem); }
.subpage-hero .lead { max-width: 720px; }
.panel { padding: clamp(1.4rem, 4vw, 2.6rem); border: 1px solid var(--line); background: var(--white); }
.panel + .panel { margin-top: 1rem; }
.panel h2 { margin: 0 0 1rem; font-size: clamp(1.7rem, 3.6vw, 2.7rem); }
.panel h3 { margin: 2rem 0 .5rem; font-size: 1.35rem; }
.panel p, .panel li { line-height: 1.75; }
.panel address { font-style: normal; line-height: 1.75; }

.signup-form { display: grid; gap: 1.5rem; }
.signup-form fieldset { margin: 0; padding: 0; border: 0; }
.signup-form legend, .field-label { display: block; margin-bottom: .65rem; font-weight: 600; }
.signup-form input[type="email"] { width: 100%; min-height: 54px; padding: .85rem 1rem; border: 1px solid rgba(31,42,55,.48); border-radius: .35rem; font: inherit; background: var(--white); }
.interest-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .7rem; }
.interest-option { display: flex; gap: .8rem; align-items: flex-start; min-height: 70px; padding: 1rem; border: 1px solid var(--line); border-radius: .35rem; background: var(--dbfam-paper); cursor: pointer; }
.interest-option:has(input:checked) { border-color: var(--dbfam-blue); box-shadow: inset 0 0 0 1px var(--dbfam-blue); background: var(--blue-soft); }
.interest-option input { margin-top: .18rem; accent-color: var(--dbfam-blue); }
.interest-option strong { display: block; }
.interest-option small { display: block; margin-top: .2rem; color: var(--dbfam-grey); line-height: 1.4; }
.consent-row { display: flex; gap: .8rem; align-items: flex-start; }
.consent-row input { margin-top: .3rem; accent-color: var(--dbfam-blue); }
.form-actions { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; }
.signup-form button { cursor: pointer; }
.signup-form button:disabled { opacity: .6; cursor: wait; }
.form-note, .form-status, .form-error { margin: 0; font-size: .9rem; line-height: 1.55; }
.form-note { color: var(--dbfam-grey); }
.form-status { color: var(--dbfam-blue); font-weight: 600; }
.form-error { color: #8d2828; font-weight: 600; }
.honeypot { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.legal-index { display: grid; gap: 1rem; margin-top: 2.5rem; }
.legal-index a { font-weight: 600; text-underline-offset: .3rem; }
.review-notice { margin-top: 2rem; padding: 1rem 1.2rem; border-left: 4px solid var(--dbfam-blue); background: var(--blue-soft); }

@media (max-width: 820px) {
  .site-header { min-height: 96px; }
  .brand-logo { width: 175px; }
  .site-header nav a:first-child:not(:only-child) { display: none; }
  .hero { grid-template-columns: 1fr; }
  .hero-copy { padding: 4.8rem 0 4rem; }
  .hero-visual { min-height: 460px; }
  .section-heading { grid-template-columns: 1fr; }
  .world-card.travel, .world-card.books, .world-card.future, .world-card.digital { grid-column: 1 / -1; min-height: 320px; }
  .newsletter-strip { grid-template-columns: 1fr; align-items: start; }
  footer { grid-template-columns: 1fr; }
  .copyright { grid-column: 1; }
  .interest-grid { grid-template-columns: 1fr; }
}

@media (max-width: 520px) {
  .site-header, footer, .hero, .worlds { width: min(100% - 28px, 1180px); }
  .site-header { gap: 1rem; }
  .brand-logo { width: 150px; }
  .site-header nav { gap: .8rem; }
  .site-header nav a { font-size: .8rem; }
  .subpage-main { width: min(100% - 28px, 920px); }
  h1 { font-size: clamp(2.4rem, 11vw, 3.4rem); overflow-wrap: anywhere; }
}

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