:root {
  --ink: #082b3a;
  --ink-2: #123e4d;
  --paper: #f8f3e9;
  --cream: #fffdf8;
  --gold: #d2a437;
  --orange: #d95b29;
  --teal: #4c9c9a;
  --sage: #ddefe4;
  --line: rgba(8, 43, 58, .14);
  --muted: #66777b;
  --shadow: 0 22px 56px rgba(8, 43, 58, .12);
}

/* Comité de peritos: directorio editorial y credenciales verificables. */
.committee-hero { background: #082f3b; color: #fff; padding: 110px 0 100px; position: relative; overflow: hidden; }
.committee-hero::after { content: ''; position: absolute; width: 420px; height: 420px; border: 1px solid rgba(224,176,51,.35); border-radius: 50%; right: -100px; top: -170px; box-shadow: 0 0 0 40px rgba(224,176,51,.04), 0 0 0 80px rgba(224,176,51,.03); }
.committee-hero .site-container, .committee-directory .site-container, .committee-toolbar .site-container, .committee-note .site-container, .committee-profile-hero .site-container, .committee-credentials .site-container { position: relative; z-index: 1; }
.committee-hero h1 { font: 800 clamp(3rem, 6vw, 5.3rem)/.92 'Playfair Display', serif; letter-spacing: -.06em; margin: 22px 0; max-width: 680px; }
.committee-hero h1 em, .committee-section-heading h2 em, .committee-note h2 em { color: #e0b033; font-style: normal; }
.committee-hero p { color: #d6e4e5; max-width: 560px; font-size: 1.1rem; margin-bottom: 30px; }
.committee-toolbar { background: #f4efe5; padding: 25px 0; border-bottom: 1px solid #ddd4c4; }
.committee-search { display: flex; max-width: 730px; background: #fff; border: 1px solid #d9d2c4; padding: 7px; border-radius: 4px; }
.committee-search span { padding: 10px 12px; font-size: 1.5rem; color: #157e78; }.committee-search input { border: 0; outline: 0; flex: 1; min-width: 0; font: inherit; }.committee-search .button { padding: 12px 23px; }
.button--dark { background: #082f3b; color: #fff; border-color: #082f3b; }.committee-chips { display: flex; gap: 9px; flex-wrap: wrap; margin-top: 17px; }.committee-chip { border: 1px solid #c8bdac; color: #557079; border-radius: 30px; padding: 7px 15px; font-size: .82rem; }.committee-chip.is-active, .committee-chip:hover { background: #157e78; color: #fff; border-color: #157e78; }
.committee-directory { background: #f8f4eb; padding: 70px 0; }.committee-section-heading { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 30px; }.committee-section-heading h2, .committee-note h2 { color: #082f3b; font: 700 clamp(2rem, 3vw, 3rem)/.97 'Playfair Display', serif; letter-spacing: -.05em; margin: 13px 0 0; }.committee-section-heading > span { color: #157e78; font-weight: 700; }
.committee-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }.committee-card { background: #fff; box-shadow: 0 8px 20px rgba(8,47,59,.07); display: grid; grid-template-columns: 82px 1fr; min-height: 164px; border: 1px solid #e2d9ca; border-radius: 8px; overflow: hidden; }.committee-card__visual { height: 96px; margin: 12px 0 0 12px; position: relative; background: #dfe7e4; overflow: hidden; border-radius: 6px; }.committee-card__visual img { width: 100%; height: 100%; object-fit: cover; }.committee-initials { width: 100%; height: 100%; display: grid; place-items: center; color: #fff; background: linear-gradient(140deg,#0d5260,#dfaa2e); font: 700 2.5rem 'Playfair Display',serif; }.committee-card__body { padding: 13px 12px 11px 15px; min-width: 0; }.committee-card__code, .credential-card__eyebrow { color: #db5b2a; font-size: .6rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 800; }.committee-card h3 { color: #082f3b; font: 700 1.05rem/1.05 'Playfair Display',serif; margin: 5px 0 7px; }.committee-tags { display: flex; flex-wrap: wrap; gap: 5px; }.committee-tags span { color: #157e78; background: #e6f1ed; padding: 4px 6px; border-radius: 20px; font-size: .6rem; }.committee-card__location, .committee-card__description { color: #5e7072; font-size: .62rem; margin-top: 5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }.committee-card__footer { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-top: 9px; }.committee-card__verified { color: #cf9410; font-size: .6rem; font-weight: 800; }.committee-card__button { border: 1px solid #082f3b; border-radius: 3px; padding: 4px 9px; color: #082f3b; font-size: .62rem; font-weight: 700; }.committee-empty { grid-column: 1/-1; padding: 50px; text-align: center; color: #6c7d80; background: #fff; }.committee-pagination { display: flex; justify-content: center; align-items: center; gap: 17px; margin-top: 40px; color: #567178; }.committee-pagination a, .committee-pagination span { border: 1px solid #c6d1ce; padding: 9px 14px; background: #fff; }.committee-pagination a { color: #157e78; }.committee-pagination .is-disabled { opacity: .4; }
.committee-note { background: #e5d9c2; padding: 75px 0; }.committee-note .site-container { display: flex; align-items: center; gap: 32px; }.committee-note__mark { color: #db5b2a; font-size: 3rem; }.committee-note h2 { font-size: 3rem; margin-bottom: 15px; }.committee-note p { color: #557079; max-width: 500px; }.committee-note .button { margin-left: auto; white-space: nowrap; }
.committee-profile-hero { background: #082f3b; color: #fff; padding: 50px 0 80px; }.committee-back { color: #d9e7e4; display: inline-block; margin-bottom: 50px; }.committee-profile-grid { display: grid; grid-template-columns: 260px 1fr; gap: 50px; align-items: center; max-width: 950px; }.committee-profile-photo { height: 300px; background: #175462; }.committee-profile-photo img { width: 100%; height: 100%; object-fit: cover; }.committee-profile-grid h1 { font: 700 clamp(3rem, 7vw, 6rem)/.95 'Playfair Display',serif; margin: 17px 0; }.committee-profile-grid p { max-width: 680px; color: #d6e4e5; line-height: 1.7; }.committee-credentials { padding: 90px 0; background: #f8f4eb; }.committee-credentials h2 { color: #082f3b; font: 700 3.3rem 'Playfair Display',serif; margin: 12px 0 38px; }.credential-list { display: grid; gap: 15px; max-width: 950px; }.credential-card { background: #fff; padding: 25px; display: grid; grid-template-columns: 60px 1fr auto; align-items: center; gap: 20px; box-shadow: 0 8px 20px rgba(8,47,59,.06); }.credential-icon { background: #db5b2a; color: #fff; padding: 12px 6px; text-align: center; font-size: .7rem; font-weight: 800; }.credential-card h3 { color: #082f3b; margin: 5px 0; }.credential-card p { color: #718184; margin: 0; font-size: .88rem; }.credential-pending { color: #a6822d; font-size: .8rem; }
@media (max-width: 800px) { .committee-grid { grid-template-columns: repeat(2, 1fr); }.committee-profile-grid { grid-template-columns: 150px 1fr; gap: 25px; }.committee-profile-photo { height: 190px; }.committee-note .site-container { align-items: flex-start; flex-wrap: wrap; }.committee-note .button { margin-left: 0; } }
@media (max-width: 560px) { .committee-hero { padding: 70px 0; }.committee-grid { grid-template-columns: 1fr; }.committee-search { flex-wrap: wrap; }.committee-search input { min-width: 190px; }.committee-search .button { width: 100%; }.committee-section-heading { display: block; }.committee-section-heading > span { display: block; margin-top: 18px; }.committee-profile-grid { grid-template-columns: 1fr; }.committee-profile-photo { max-width: 220px; }.credential-card { grid-template-columns: 45px 1fr; }.credential-card .button, .credential-pending { grid-column: 2; justify-self: start; }.committee-credentials h2 { font-size: 2.5rem; } }
.committee-card__meta { color: #157e78; font-size: .62rem; font-weight: 700; margin-top: 5px; }

/* Compact directory and profile presentation. */
.committee-hero { padding: 64px 0 60px; }
.committee-hero::after { width: 310px; height: 310px; right: -70px; top: -120px; }
.committee-hero h1 { font-size: clamp(2.5rem, 4.5vw, 4rem); line-height: .96; max-width: 520px; margin: 15px 0; }
.committee-hero p { max-width: 500px; font-size: .98rem; line-height: 1.5; margin-bottom: 22px; }
.committee-hero .button { padding: 13px 20px; font-size: .82rem; }
.committee-profile-hero { padding: 30px 0 45px; }
.committee-back { margin-bottom: 26px; font-size: .86rem; }
.committee-profile-grid { grid-template-columns: 180px minmax(0, 1fr); gap: 30px; max-width: 900px; }
.committee-profile-photo { height: 215px; border-radius: 8px; overflow: hidden; }
.committee-profile-grid h1 { font-size: clamp(2.1rem, 3.7vw, 3.35rem); line-height: .98; margin: 10px 0; }
.committee-profile-grid p { font-size: .94rem; line-height: 1.55; margin: 13px 0 17px; }
.committee-profile-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; color: #d6e4e5; font-size: .76rem; }
.committee-profile-meta span:last-child { color: #e0b033; font-weight: 700; }
.committee-credentials { padding: 55px 0 65px; }
.committee-credentials__heading { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 25px; max-width: 1050px; }
.committee-credentials h2 { font-size: clamp(2rem, 3vw, 2.8rem); line-height: 1; margin: 9px 0; }
.committee-credentials__heading p { color: #5e7072; max-width: 530px; margin: 0; font-size: .9rem; }
.committee-credentials__total { color: #157e78; font-size: .78rem; font-weight: 800; white-space: nowrap; }
.credential-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; max-width: 1050px; }
.credential-card { min-height: 150px; padding: 18px; grid-template-columns: 64px minmax(0, 1fr); gap: 15px; border: 1px solid #e0d8ca; border-left: 4px solid #e0b033; box-shadow: 0 6px 16px rgba(8,47,59,.06); border-radius: 7px; }
.credential-icon { align-self: start; display: grid; gap: 4px; background: #082f3b; border-radius: 5px; padding: 11px 5px; }
.credential-icon strong { color: #fff; font-size: .78rem; }.credential-icon small { color: #e0b033; font-size: .52rem; text-transform: uppercase; letter-spacing: .06em; }
.credential-card h3 { font: 700 1.05rem/1.1 'Playfair Display', serif; margin: 5px 0 7px; }.credential-card p { font-size: .76rem; line-height: 1.45; }
.credential-card__meta { display: flex; flex-wrap: wrap; gap: 5px 12px; margin-top: 10px; color: #157e78; font-size: .67rem; font-weight: 700; }
.credential-card .button, .credential-pending { grid-column: 2; justify-self: start; margin-top: 2px; padding: 8px 11px; font-size: .7rem; }

/* Certificate cards use a branded surface instead of a generic side rule. */
.credential-card { position: relative; overflow: hidden; border: 1px solid rgba(197, 166, 95, .32); border-left: 1px solid rgba(197, 166, 95, .32); border-radius: 12px; background: linear-gradient(135deg, #ffffff 0%, #fffdfa 58%, #f3ead7 100%); box-shadow: 0 14px 30px rgba(8, 47, 59, .09); isolation: isolate; }
.credential-card::before { content: ''; position: absolute; z-index: -1; top: 0; right: 0; left: 0; height: 5px; background: linear-gradient(90deg, #d7a82f 0%, #f0cc68 45%, #198a80 100%); }
.credential-card::after { content: ''; position: absolute; z-index: -1; width: 170px; height: 170px; right: -95px; bottom: -115px; border-radius: 50%; background: radial-gradient(circle, rgba(25, 138, 128, .13), transparent 67%); }
.credential-card:hover { transform: translateY(-3px); box-shadow: 0 20px 38px rgba(8, 47, 59, .13); }
.credential-icon { min-height: 64px; background: linear-gradient(145deg, #062f3b, #156b6c); box-shadow: inset 0 0 0 1px rgba(255,255,255,.1), 0 8px 16px rgba(8,47,59,.16); }
.credential-card__eyebrow { color: #c06028; }.credential-card h3 { letter-spacing: -.015em; }
.credential-card .button { display: inline-flex; align-items: center; gap: 8px; border: 1px solid #aab9b6; border-radius: 6px; padding: 9px 14px; color: #164f56; background: linear-gradient(135deg, #fffdf8, #f0eee6); box-shadow: 0 6px 12px rgba(8, 47, 59, .08); font-size: .72rem; font-weight: 800; letter-spacing: .01em; }
.credential-card .button::before { content: '↓'; display: grid; place-items: center; width: 18px; height: 18px; color: #5e4917; background: #e7d39b; border-radius: 50%; font-size: .82rem; line-height: 1; }
.credential-card .button:hover { color: #082f3b; border-color: #789a96; background: #eaf1ee; box-shadow: 0 9px 16px rgba(8, 47, 59, .12); transform: translateY(-2px); }
.credential-card .button:hover::before { color: #fff; background: #23817b; }
@media (max-width: 800px) { .committee-profile-grid { grid-template-columns: 140px minmax(0, 1fr); gap: 20px; }.committee-profile-photo { height: 175px; }.credential-list { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .committee-hero { padding: 48px 0; }.committee-hero h1 { font-size: 2.55rem; }.committee-profile-grid { grid-template-columns: 1fr; }.committee-profile-photo { max-width: 150px; height: 170px; }.committee-credentials__heading { display: block; }.committee-credentials__total { display: block; margin-top: 12px; }.credential-card { grid-template-columns: 55px minmax(0, 1fr); } }

/* Preserve square portraits and give the public directory cards more breathing room. */
.committee-card { grid-template-columns: 100px minmax(0, 1fr); min-height: 202px; }
.committee-card__visual { width: 100px; height: 100px; margin: 16px 0 0 16px; }
.committee-card__body { padding: 17px 18px 16px 21px; }
.committee-card h3 { margin: 7px 0 10px; line-height: 1.12; }
.committee-tags { gap: 6px; }.committee-tags span { padding: 5px 8px; }
.committee-card__meta, .committee-card__location, .committee-card__description { margin-top: 8px; }
.committee-card__footer { margin-top: 14px; }.committee-card__button { padding: 6px 11px; }
@media (max-width: 560px) { .committee-card { grid-template-columns: 92px minmax(0, 1fr); min-height: 190px; }.committee-card__visual { width: 92px; height: 92px; margin: 14px 0 0 14px; }.committee-card__body { padding: 15px; } }

/* Expert cards use a dedicated portrait panel and a separate content column. */
.committee-card { grid-template-columns: 148px minmax(0, 1fr); min-height: 244px; border-radius: 12px; box-shadow: 0 14px 28px rgba(8, 47, 59, .08); }
.committee-card__visual { display: grid; align-content: start; width: auto; height: auto; min-height: 100%; margin: 0; padding: 18px; background: linear-gradient(160deg, #e4eee9, #d3e2dd 58%, #f0d99a); border-radius: 0; }
.committee-card__visual img, .committee-card__visual .committee-initials { width: 112px; height: 112px; border-radius: 9px; box-shadow: 0 10px 18px rgba(8,47,59,.16); }
.committee-card__body { display: flex; min-width: 0; flex-direction: column; padding: 20px 21px 17px; }
.committee-card__code { margin-bottom: 3px; }.committee-card h3 { font-size: 1.18rem; margin: 4px 0 11px; }
.committee-tags { margin-bottom: 3px; }.committee-card__meta { margin-top: 9px; padding-top: 9px; border-top: 1px solid #e7e1d7; }
.committee-card__location { margin-top: 9px; }.committee-card__description { margin-top: 7px; line-height: 1.35; }
.committee-card__footer { margin-top: auto; padding-top: 13px; border-top: 1px solid #e7e1d7; }.committee-card__button { padding: 6px 13px; }
@media (max-width: 560px) { .committee-card { grid-template-columns: 122px minmax(0, 1fr); min-height: 232px; }.committee-card__visual { padding: 14px; }.committee-card__visual img, .committee-card__visual .committee-initials { width: 94px; height: 94px; }.committee-card__body { padding: 16px; }.committee-card h3 { font-size: 1.04rem; } }

/* Two generous columns keep professional data readable instead of compressed. */
.committee-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; max-width: 1120px; }
@media (max-width: 560px) { .committee-grid { grid-template-columns: 1fr; gap: 14px; } }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { background: var(--paper); color: var(--ink); font-family: "DM Sans", sans-serif; margin: 0; }
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
img { display: block; max-width: 100%; }

.site-shell { overflow: clip; }
.site-container { margin: 0 auto; max-width: 1240px; padding: 0 28px; }
.site-main { min-height: 62vh; position: relative; transition: opacity .18s ease, transform .18s ease; }
.site-main.is-loading { opacity: .42; transform: translateY(6px); pointer-events: none; }
.eyebrow { color: var(--orange); font-size: .72rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.display { font-family: "Playfair Display", serif; font-weight: 700; letter-spacing: -.04em; line-height: .98; }
.section { padding: 94px 0; }
.section--tight { padding: 48px 0; }
.section--cream { background: #f0eadc; }
.section-head { align-items: end; display: flex; gap: 28px; justify-content: space-between; margin-bottom: 34px; }
.section-title { font-size: clamp(2.15rem, 4vw, 4.6rem); margin: 8px 0 0; max-width: 760px; }
.section-copy { color: var(--muted); font-size: 1rem; line-height: 1.7; max-width: 550px; }
.checkout-card { background: #fffdf8; box-shadow: var(--shadow); padding: clamp(28px, 5vw, 52px); }
.checkout-card h2 { font-family: "Playfair Display", serif; font-size: clamp(2rem, 4vw, 3.25rem); line-height: .98; margin: 0 0 14px; }
.checkout-card > p { color: var(--muted); line-height: 1.65; margin-bottom: 22px; }
.checkout-card .course-price { border-bottom: 1px solid var(--line); border-top: 1px solid var(--line); color: var(--orange); font-family: "Playfair Display", serif; font-size: 2.5rem; font-weight: 700; margin: 24px 0; padding: 18px 0; }
.checkout-form { display: grid; gap: 17px; }
.checkout-form label { color: var(--ink); display: grid; font-size: .82rem; font-weight: 800; gap: 8px; }
.checkout-form input { background: #fff; border: 1px solid #cfd9d4; border-radius: 3px; color: var(--ink); font: inherit; min-height: 50px; outline-color: var(--orange); padding: 0 14px; width: 100%; }
.checkout-form .button { justify-self: start; margin-top: 5px; }

.site-header { background: rgba(255,253,248,.94); border-bottom: 1px solid var(--line); position: relative; z-index: 50; backdrop-filter: blur(16px); }
.site-header__row { align-items: center; display: flex; min-height: 84px; justify-content: space-between; gap: 22px; }
.brand { align-items: center; display: inline-flex; flex: 0 0 auto; gap: 11px; }
.brand__logo { height: 45px; object-fit: contain; width: auto; }
.brand__word { color: var(--ink); font-family: "Playfair Display", serif; font-size: 1.75rem; font-weight: 800; letter-spacing: -.06em; }
.site-nav { align-items: center; display: flex; gap: 24px; margin-left: auto; }
.site-nav a { color: #274a54; font-size: .88rem; font-weight: 700; position: relative; }
.site-nav a:after { background: var(--orange); bottom: -9px; content: ""; height: 2px; left: 0; position: absolute; transform: scaleX(0); transform-origin: left; transition: transform .2s ease; width: 100%; }
.site-nav a:hover:after, .site-nav a.is-active:after { transform: scaleX(1); }
.nav-dropdown { position: relative; }
.nav-dropdown summary { color: #274a54; cursor: pointer; font-size: .88rem; font-weight: 700; list-style: none; }
.nav-dropdown summary::-webkit-details-marker { display: none; }
.nav-dropdown summary:after { color: var(--orange); content: "+"; font-size: 1rem; margin-left: 6px; }
.nav-dropdown[open] summary:after { content: "-"; }
.nav-dropdown__menu { background: var(--cream); border: 1px solid var(--line); box-shadow: var(--shadow); display: grid; gap: 2px; left: -16px; min-width: 190px; padding: 10px 16px; position: absolute; top: 30px; z-index: 70; }
.nav-dropdown__menu a { padding: 9px 0; white-space: nowrap; }
.nav-dropdown__menu a:after { bottom: 4px; }

.gallery-hero { background: var(--ink); color: white; overflow: hidden; padding: 52px 0 42px; position: relative; }
.gallery-hero:before { background-image: linear-gradient(rgba(210,164,55,.1) 1px, transparent 1px), linear-gradient(90deg, rgba(210,164,55,.1) 1px, transparent 1px); background-size: 36px 36px; content: ""; inset: 0; opacity: .55; position: absolute; }
.gallery-hero__grid { display: grid; gap: 16px; grid-template-columns: 1.05fr 1fr 270px; position: relative; }
.gallery-hero__intro { align-self: center; padding: 16px 20px 16px 0; }
.gallery-hero .breadcrumb { color: #bfd4cf; }
.gallery-hero h1 { font-family: "Playfair Display", serif; font-size: clamp(3.5rem, 5.2vw, 5.7rem); letter-spacing: -.07em; line-height: .94; margin: 20px 0; max-width: 560px; }
.gallery-hero h1 em { color: var(--gold); font-style: normal; }
.gallery-hero__intro > p { color: #d5e4df; line-height: 1.65; max-width: 470px; }
.gallery-filter { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 25px; }
.gallery-filter a { border: 1px solid rgba(225,237,232,.24); border-radius: 5px; color: white; font-size: .74rem; font-weight: 800; padding: 9px 12px; }
.gallery-filter a.is-active, .gallery-filter a:hover { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.gallery-feature { border-radius: 8px; min-height: 375px; overflow: hidden; position: relative; }
.gallery-feature:after, .gallery-tile:after { background: linear-gradient(0deg, rgba(0,25,33,.88), rgba(0,25,33,0) 58%); content: ""; inset: 0; pointer-events: none; position: absolute; }
.gallery-feature img, .gallery-tile img { height: 100%; object-fit: cover; width: 100%; }
.gallery-feature__copy { bottom: 0; left: 0; padding: 24px; position: absolute; right: 0; z-index: 1; }
.gallery-feature__copy span, .gallery-tile__caption span, .gallery-album span { color: var(--gold); font-size: .67rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.gallery-feature__copy h2 { font-family: "Playfair Display", serif; font-size: 1.8rem; line-height: 1; margin: 8px 0; }
.gallery-feature__copy p { color: #d2e1dc; font-size: .76rem; margin: 0; }
.gallery-upcoming { align-self: center; background: rgba(2,79,90,.75); border: 1px solid rgba(103,193,181,.22); border-radius: 8px; padding: 20px; }
.gallery-upcoming h2 { border-bottom: 1px solid rgba(220,237,232,.25); font-family: "Playfair Display", serif; font-size: 1.35rem; margin: 0 0 8px; padding-bottom: 13px; }
.gallery-upcoming__item { border-bottom: 1px solid rgba(220,237,232,.16); display: grid; gap: 12px; grid-template-columns: 34px 1fr; padding: 14px 0; }
.gallery-upcoming__item strong { color: var(--gold); font-family: "Playfair Display", serif; font-size: 1.5rem; line-height: 1; }
.gallery-upcoming__item b, .gallery-upcoming__item span { display: block; }
.gallery-upcoming__item b { font-size: .78rem; line-height: 1.3; }
.gallery-upcoming__item span { color: #bdd2cf; font-size: .67rem; margin-top: 5px; }
.gallery-upcoming .button { font-size: .72rem; margin-top: 16px; min-height: 38px; padding: 0 12px; width: 100%; }
.gallery-wall { background: var(--cream); padding-top: 36px; }
.gallery-wall__grid { display: grid; gap: 10px; grid-auto-flow: dense; grid-template-columns: repeat(4, 1fr); }
.gallery-tile { aspect-ratio: 1.08; min-height: 220px; overflow: hidden; position: relative; }
.gallery-tile--wide { aspect-ratio: auto; grid-column: span 2; grid-row: span 2; }
.gallery-tile img { transition: transform .45s ease; }
.gallery-tile:hover img { transform: scale(1.06); }
.gallery-tile__caption { bottom: 0; left: 0; padding: 18px; position: absolute; right: 0; z-index: 1; }
.gallery-tile__caption h2 { color: white; font-family: "Playfair Display", serif; font-size: 1.25rem; line-height: 1.05; margin: 6px 0; }
.gallery-tile__caption p { color: #d4e2dd; font-size: .68rem; margin: 0; }
.gallery-empty { background: white; border: 1px solid var(--line); padding: 60px; text-align: center; }
.gallery-empty h2 { font-family: "Playfair Display", serif; font-size: 2.4rem; }
.gallery-albums { background: #f0eadc; }
.gallery-albums__grid { display: grid; gap: 18px; grid-template-columns: repeat(3, 1fr); }
.gallery-album { align-items: center; background: var(--cream); border: 1px solid #d8c9aa; display: grid; gap: 15px; grid-template-columns: 120px 1fr auto; padding: 10px; }
.gallery-album img { height: 85px; object-fit: cover; width: 120px; }
.gallery-album h3 { font-family: "Playfair Display", serif; font-size: 1.15rem; line-height: 1.05; margin: 6px 0; }
.gallery-album p { color: var(--muted); font-size: .72rem; margin: 0; }
.gallery-album > b { color: var(--orange); font-size: .7rem; white-space: nowrap; }
.video-hero { background: #0c3541; color: white; overflow: hidden; padding: 58px 0; position: relative; }
.video-hero:after { border: 1px solid rgba(210,164,55,.28); border-radius: 50%; content: ""; height: 580px; position: absolute; right: -210px; top: -280px; width: 580px; }
.video-hero__grid { align-items: center; display: grid; gap: 50px; grid-template-columns: .9fr 1.1fr; position: relative; z-index: 1; }
.video-hero__intro h1 { font-family: "Playfair Display", serif; font-size: clamp(3.4rem, 5.5vw, 5.8rem); letter-spacing: -.075em; line-height: .93; margin: 20px 0; }
.video-hero__intro h1 em { color: var(--gold); font-style: normal; }
.video-hero__intro > p { color: #d2e4df; line-height: 1.65; max-width: 490px; }
.video-filter { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 25px; }
.video-filter a { border-bottom: 1px solid rgba(255,255,255,.28); color: #dbe9e5; font-size: .74rem; font-weight: 800; padding: 8px 0; }
.video-filter a + a { margin-left: 12px; }
.video-filter a.is-active, .video-filter a:hover { border-color: var(--gold); color: var(--gold); }
.video-feature { aspect-ratio: 16 / 10; box-shadow: 18px 18px 0 rgba(210,164,55,.85); overflow: hidden; position: relative; }
.video-feature img { height: 100%; object-fit: cover; width: 100%; }
.video-feature__shade { background: linear-gradient(0deg, rgba(0,23,31,.9), rgba(0,23,31,.02) 66%); inset: 0; position: absolute; }
.video-play { align-items: center; background: var(--gold); border-radius: 50%; color: var(--ink); display: flex; font-size: 1.15rem; height: 64px; justify-content: center; left: 50%; padding-left: 3px; position: absolute; top: 45%; transform: translate(-50%, -50%); transition: transform .2s ease; width: 64px; z-index: 1; }
.video-play:hover { transform: translate(-50%, -50%) scale(1.08); }
.video-feature__copy { bottom: 0; left: 0; padding: 24px; position: absolute; right: 0; z-index: 1; }
.video-feature__copy span, .video-card__body small { color: var(--gold); font-size: .68rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.video-feature__copy h2 { font-family: "Playfair Display", serif; font-size: 1.9rem; line-height: 1; margin: 8px 0; }
.video-feature__copy p { color: #d2e2dd; font-size: .76rem; margin: 0; }
.video-catalog { background: var(--cream); }
.video-grid { display: grid; gap: 18px; grid-template-columns: repeat(3, 1fr); }
.video-card { background: white; border: 1px solid var(--line); display: flex; flex-direction: column; }
.video-card__media { aspect-ratio: 16 / 9; overflow: hidden; position: relative; }
.video-card__media img { height: 100%; object-fit: cover; transition: transform .3s ease; width: 100%; }
.video-card:hover img { transform: scale(1.05); }
.video-card__media a { align-items: center; background: var(--orange); border-radius: 50%; color: white; display: flex; font-size: .7rem; height: 38px; justify-content: center; left: 14px; padding-left: 2px; position: absolute; top: 14px; width: 38px; }
.video-card__media span { background: rgba(0,42,52,.88); bottom: 10px; color: white; font-size: .67rem; font-weight: 800; padding: 6px 8px; position: absolute; right: 10px; }
.video-card__body { display: flex; flex: 1; flex-direction: column; padding: 18px; }
.video-card__body h3 { font-family: "Playfair Display", serif; font-size: 1.35rem; line-height: 1.08; margin: 9px 0; }
.video-card__body p { color: var(--muted); font-size: .82rem; line-height: 1.5; margin: 0 0 16px; }
.video-card__body b { border-top: 1px solid var(--line); color: var(--teal); font-size: .7rem; margin-top: auto; padding-top: 12px; }
.video-cta { background: #d6a72c; color: var(--ink); padding: 58px 0; }
.video-cta .site-container { align-items: center; display: flex; gap: 32px; justify-content: space-between; }
.video-cta h2 { font-family: "Playfair Display", serif; font-size: clamp(2rem, 3vw, 3rem); line-height: 1; margin: 8px 0; max-width: 670px; }
.video-cta p { margin: 0; max-width: 630px; }
.video-cta .button--gold { background: var(--ink); color: white; flex: 0 0 auto; }
.site-actions { align-items: center; display: flex; gap: 12px; }
.link-login { color: var(--ink); font-size: .88rem; font-weight: 800; white-space: nowrap; }
.button { align-items: center; border: 1px solid transparent; cursor: pointer; display: inline-flex; font-size: .88rem; font-weight: 800; gap: 10px; justify-content: center; min-height: 46px; padding: 0 20px; transition: transform .2s ease, background .2s ease, border .2s ease; }
.button:hover { transform: translateY(-2px); }
.button--primary { background: var(--orange); color: white; box-shadow: 0 10px 20px rgba(217,91,41,.22); }
.button--dark { background: var(--ink); color: white; }
.button--gold { background: var(--gold); color: var(--ink); }
.button--outline { background: transparent; border-color: var(--ink); color: var(--ink); }
.button--soft { background: #f1ebe0; color: var(--ink); }
.button--small { min-height: 38px; padding: 0 14px; }
.mobile-toggle { background: none; border: 0; color: var(--ink); cursor: pointer; display: none; font-size: 1.5rem; padding: 5px; }

.hero { background: var(--cream); border-bottom: 1px solid var(--line); position: relative; }
.hero:before { background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 74px 74px; content: ""; inset: 0; opacity: .22; pointer-events: none; position: absolute; }
.hero__layout { display: grid; grid-template-columns: minmax(0, .95fr) minmax(370px, 1.05fr); min-height: 630px; position: relative; }
.hero__copy { align-self: center; padding: 84px 32px 84px 0; position: relative; z-index: 2; }
.hero__title { font-size: clamp(3.2rem, 6.3vw, 6.35rem); margin: 16px 0 22px; max-width: 700px; }
.hero__lead { color: #38555d; font-size: 1.08rem; line-height: 1.7; margin: 0; max-width: 540px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero__trust { color: var(--muted); display: flex; flex-wrap: wrap; font-size: .83rem; font-weight: 700; gap: 18px; margin-top: 26px; }
.hero__visual { min-height: 100%; position: relative; }
.hero__photo { height: 100%; min-height: 630px; object-fit: cover; width: 100%; }
.hero__stamp { background: var(--gold); border-radius: 100%; bottom: 38px; color: var(--ink); display: grid; font-size: .82rem; font-weight: 900; height: 114px; left: -25px; line-height: 1.05; place-content: center; position: absolute; right: auto; text-align: center; transform: rotate(-9deg); width: 114px; }
.join-card { background: var(--cream); border: 1px solid var(--line); bottom: 30px; box-shadow: var(--shadow); max-width: 305px; padding: 22px; position: absolute; right: 32px; top: auto; z-index: 3; }
.join-card h3 { font-family: "Playfair Display", serif; font-size: 1.45rem; margin: 0 0 8px; }
.join-card p { color: var(--muted); font-size: .8rem; line-height: 1.45; margin: 0 0 16px; }
.join-card input { background: white; border: 1px solid var(--line); color: var(--ink); height: 41px; margin-bottom: 8px; padding: 0 11px; width: 100%; }
.join-card .button { min-height: 42px; width: 100%; }

.route-strip { background: var(--ink); color: white; }
.route-strip__inner { display: grid; grid-template-columns: 1.2fr repeat(4, 1fr); }
.route-strip__lead, .route-step { border-right: 1px solid rgba(255,255,255,.18); padding: 22px 18px; }
.route-strip__lead { font-family: "Playfair Display", serif; font-size: 1.35rem; }
.route-step { color: #d9e8e6; font-size: .78rem; }
.route-step b { color: var(--gold); display: block; font-size: 1.05rem; margin-bottom: 4px; }

.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 32px; padding-bottom: 18px; position: relative; z-index: 4; }
.feature-card { background: var(--cream); border: 1px solid var(--line); box-shadow: 0 12px 26px rgba(8,43,58,.11); min-height: 180px; overflow: hidden; padding: 18px; position: relative; }
.feature-card img { height: 86px; object-fit: cover; opacity: .72; position: absolute; right: 0; top: 0; width: 43%; }
.feature-card strong { display: block; font-family: "Playfair Display", serif; font-size: 1.32rem; line-height: 1.03; max-width: 64%; position: relative; }
.feature-card span { color: var(--teal); display: inline-block; font-size: .7rem; font-weight: 900; letter-spacing: .08em; margin-bottom: 20px; text-transform: uppercase; }
.feature-card a { bottom: 16px; color: var(--orange); font-weight: 900; position: absolute; }

.metric-grid { border-bottom: 1px solid var(--line); border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(4, 1fr); }
.metric { border-right: 1px solid var(--line); padding: 25px 24px; }
.metric:last-child { border: 0; }
.metric b { font-family: "Playfair Display", serif; font-size: clamp(2rem, 3vw, 3.3rem); font-weight: 800; }
.metric span { color: var(--muted); display: block; font-size: .78rem; font-weight: 700; margin-top: 4px; }

.program-grid, .article-grid, .resource-grid { display: grid; gap: 18px; grid-template-columns: repeat(3, 1fr); }
.program-card { background: var(--cream); border: 1px solid var(--line); display: flex; flex-direction: column; min-height: 100%; overflow: hidden; }
.program-card__image { aspect-ratio: 16 / 10; overflow: hidden; }
.program-card__image img { height: 100%; object-fit: cover; transition: transform .4s ease; width: 100%; }
.program-card:hover img { transform: scale(1.05); }
.program-card__body { display: flex; flex: 1; flex-direction: column; padding: 22px; }
.tag { color: var(--teal); font-size: .69rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.program-card h3, .article-card h3 { font-family: "Playfair Display", serif; font-size: 1.7rem; letter-spacing: -.03em; line-height: 1.05; margin: 10px 0; }
.program-card p, .article-card p { color: var(--muted); font-size: .9rem; line-height: 1.55; }
.program-card__footer { align-items: center; display: flex; gap: 10px; justify-content: space-between; margin-top: auto; padding-top: 18px; }
.text-link { align-items: center; color: var(--orange); display: inline-flex; font-size: .86rem; font-weight: 900; gap: 6px; }

.editorial-split { display: grid; grid-template-columns: 1.05fr .95fr; }
.editorial-split__photo { min-height: 450px; }
.editorial-split__photo img { height: 100%; object-fit: cover; width: 100%; }
.editorial-split__content { background: var(--ink); color: white; padding: 66px; }
.editorial-split__content .section-copy { color: #c5d8d8; }
.editorial-split__content .section-title { color: white; }
.check-list { display: grid; gap: 12px; list-style: none; margin: 25px 0 0; padding: 0; }
.check-list li:before { color: var(--gold); content: "✦"; margin-right: 10px; }

.library-shelf { background: var(--ink); color: white; padding: 54px; position: relative; }
.library-shelf:after { border: 1px solid rgba(210,164,55,.32); content: ""; inset: 18px; pointer-events: none; position: absolute; }
.library-shelf .section-title { color: white; position: relative; z-index: 1; }
.book-row { display: flex; gap: 18px; margin: 30px 0; overflow: hidden; position: relative; z-index: 1; }
.book { background: #214654; box-shadow: 12px 12px 0 rgba(0,0,0,.2); color: var(--cream); flex: 0 0 125px; height: 180px; padding: 18px 14px; }
.book:nth-child(2n) { background: #6c5633; }
.book:nth-child(3n) { background: #486d68; }
.book small { color: var(--gold); font-weight: 800; }
.book b { display: block; font-family: "Playfair Display", serif; font-size: 1.2rem; line-height: 1.05; margin-top: 30px; }

.article-card { background: var(--cream); border-bottom: 3px solid transparent; min-height: 100%; padding-bottom: 22px; transition: border .2s ease, transform .2s ease; }
.article-card:hover { border-color: var(--orange); transform: translateY(-4px); }
.article-card img { aspect-ratio: 16/9; object-fit: cover; width: 100%; }
.article-card__body { padding: 19px 20px 0; }
.article-card h3 { font-size: 1.42rem; }

.people-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.person-card { background: #ecede8; min-height: 310px; overflow: hidden; position: relative; }
.person-card img { height: 100%; object-fit: cover; width: 100%; }
.person-card__copy { background: var(--cream); bottom: 0; left: 0; padding: 13px 15px; position: absolute; right: 0; }
.person-card__copy b { display: block; font-family: "Playfair Display", serif; }
.person-card__copy span { color: var(--muted); font-size: .73rem; }

.testimonial { background: #efe7d9; display: grid; grid-template-columns: auto 1fr; gap: 22px; padding: 34px; }
.testimonial__quote { color: var(--gold); font-family: "Playfair Display", serif; font-size: 5rem; line-height: .55; }
.testimonial p { font-family: "Playfair Display", serif; font-size: 1.6rem; line-height: 1.3; margin: 0 0 18px; }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); padding: 18px 0; }
.faq-list summary { cursor: pointer; font-weight: 800; }
.faq-list p { color: var(--muted); line-height: 1.6; margin: 12px 0 0; }

.page-hero { background: var(--ink); color: white; overflow: hidden; padding: 82px 0 70px; position: relative; }
.page-hero:after { border: 1px solid rgba(210,164,55,.35); border-radius: 50%; content: ""; height: 440px; position: absolute; right: -130px; top: -220px; width: 440px; }
.page-hero .eyebrow { color: var(--gold); }
.page-hero .display { font-size: clamp(3rem, 6vw, 6rem); margin: 12px 0 18px; max-width: 850px; }
.page-hero p { color: #d1e0dd; font-size: 1.08rem; line-height: 1.65; margin: 0; max-width: 650px; }
.breadcrumb { color: #aac7c5; font-size: .78rem; font-weight: 700; margin-bottom: 22px; }
.breadcrumb a { color: var(--gold); }

.catalog-toolbar { align-items: center; border-bottom: 1px solid var(--line); display: flex; gap: 16px; justify-content: space-between; margin-bottom: 32px; padding-bottom: 18px; }
.filter-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pill { border: 1px solid var(--line); color: var(--ink); font-size: .76rem; font-weight: 800; padding: 8px 11px; }
.pill.is-active { background: var(--ink); border-color: var(--ink); color: white; }
.search-field { align-items: center; background: white; border: 1px solid var(--line); display: flex; max-width: 380px; padding: 5px; width: 100%; }
.search-field input { border: 0; color: var(--ink); min-width: 0; outline: 0; padding: 8px; width: 100%; }
.search-field button { border: 0; cursor: pointer; }

.article-layout { display: grid; gap: 44px; grid-template-columns: minmax(0, 1fr) 290px; }
.article-content { font-size: 1.06rem; line-height: 1.85; }
.article-content img { margin: 0 0 26px; width: 100%; }
.article-content p, .article-content li { color: #3f555c; }
.article-content h2, .article-content h3 { font-family: "Playfair Display", serif; line-height: 1.1; }
.side-card { background: white; border: 1px solid var(--line); padding: 22px; }
.side-card + .side-card { margin-top: 16px; }
.side-card h3 { font-family: "Playfair Display", serif; font-size: 1.5rem; margin: 0 0 12px; }
.side-card p { color: var(--muted); font-size: .88rem; line-height: 1.6; }

.resource-layout { display: grid; gap: 30px; grid-template-columns: 1fr 270px; }
.resource-card { background: var(--cream); border: 1px solid var(--line); padding: 24px; }
.resource-card__cover { background: var(--ink); display: grid; min-height: 370px; padding: 42px; place-items: center; }
.resource-card__cover img { box-shadow: 18px 20px 0 rgba(210,164,55,.33); max-height: 310px; object-fit: contain; }

.dictionary-grid { display: grid; gap: 30px; grid-template-columns: 1fr 290px; }
.dictionary-directory { padding-top: 68px; }
.dictionary-directory__intro { margin-bottom: 25px; max-width: 700px; }
.dictionary-directory__intro .display { font-size: clamp(2.2rem, 4vw, 4rem); margin: 8px 0 10px; }
.dictionary-directory__intro p { color: var(--muted); line-height: 1.65; margin: 0; max-width: 580px; }
.dictionary-search { border-color: #d8c69e; max-width: 640px; }
.dictionary-category-rail { display: grid; gap: 10px; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 25px 0 20px; }
.dictionary-category { align-items: center; background: white; border: 1px solid var(--line); display: flex; gap: 12px; min-height: 74px; padding: 12px; transition: border-color .2s ease, transform .2s ease; }
.dictionary-category:hover, .dictionary-category.is-active { border-color: var(--dictionary-category-color); transform: translateY(-2px); }
.dictionary-category__icon { align-items: center; background: color-mix(in srgb, var(--dictionary-category-color) 12%, white); color: var(--dictionary-category-color); display: flex; flex: 0 0 38px; height: 38px; justify-content: center; }
.dictionary-category__icon svg { height: 20px; width: 20px; }
.dictionary-category b { color: var(--ink); display: block; font-size: .82rem; }
.dictionary-category small { color: var(--muted); display: block; font-size: .72rem; line-height: 1.25; margin-top: 3px; }
.alphabet { display: flex; flex-wrap: wrap; gap: 7px; margin: 20px 0 28px; }
.alphabet a { align-items: center; border: 1px solid transparent; color: var(--muted); display: flex; font-size: .8rem; font-weight: 900; height: 30px; justify-content: center; min-width: 28px; padding: 4px; }
.alphabet a:hover, .alphabet a.is-active { background: var(--ink); border-color: var(--ink); color: white; }
.dictionary-results-heading { align-items: end; border-top: 1px solid var(--line); display: flex; justify-content: space-between; padding-top: 26px; }
.dictionary-results-heading .display { font-size: clamp(2rem, 3.2vw, 3.1rem); margin: 5px 0 18px; }
.dictionary-clear { color: var(--orange); font-size: .78rem; font-weight: 900; margin-bottom: 24px; }
.term-list { border-top: 1px solid var(--line); }
.term-list .dictionary-entry-card { align-items: center; border-bottom: 1px solid var(--line); display: grid; gap: 18px; grid-template-columns: 175px minmax(0, 1fr) 38px; padding: 22px 8px; transition: background .2s ease, padding .2s ease; }
.term-list .dictionary-entry-card:hover { background: white; padding-left: 16px; padding-right: 16px; }
.dictionary-entry-card__category { color: var(--dictionary-category-color); font-size: .68rem; font-weight: 900; letter-spacing: .09em; line-height: 1.35; text-transform: uppercase; }
.dictionary-entry-card__category i { align-items: center; background: color-mix(in srgb, var(--dictionary-category-color) 12%, white); display: inline-flex; font-style: normal; height: 25px; justify-content: center; margin-right: 7px; vertical-align: middle; width: 25px; }
.dictionary-entry-card__category i svg { height: 14px; width: 14px; }
.dictionary-term-category { align-items: center; display: inline-flex; gap: 7px; }
.dictionary-term-category svg { height: 16px; width: 16px; }
.dictionary-entry-card__body strong { color: var(--ink); display: block; font-family: "Playfair Display", serif; font-size: clamp(1.4rem, 2.1vw, 2rem); line-height: 1; margin-bottom: 7px; }
.dictionary-entry-card__body span { color: var(--muted); display: block; font-size: .92rem; line-height: 1.5; }
.dictionary-entry-card__arrow { align-items: center; border: 1px solid var(--line); color: var(--ink); display: flex; font-size: 1.15rem; height: 34px; justify-content: center; transition: background .2s ease, color .2s ease; width: 34px; }
.dictionary-entry-card:hover .dictionary-entry-card__arrow { background: var(--orange); border-color: var(--orange); color: white; }
.dictionary-featured { background: var(--ink); border: 0; color: white; position: sticky; top: 110px; }
.dictionary-featured h3 { color: white; }
.dictionary-featured p { color: #cbd9d6; }
.dictionary-featured > a { color: var(--gold); font-size: .82rem; font-weight: 900; }
.term-definition { background: white; border-left: 5px solid var(--gold); padding: 36px; }
.term-definition h1 { font-size: clamp(3rem, 5vw, 5.4rem); margin: 0 0 14px; }
.term-definition p { color: #425a60; font-size: 1.1rem; line-height: 1.8; }

.course-layout { display: grid; gap: 42px; grid-template-columns: minmax(0, 1fr) 360px; }
.course-intro img { aspect-ratio: 16/8; object-fit: cover; width: 100%; }
.course-info { background: var(--cream); border: 1px solid var(--line); box-shadow: var(--shadow); padding: 28px; position: sticky; top: 108px; }
.course-info h2 { font-family: "Playfair Display", serif; font-size: 2rem; margin: 0 0 16px; }
.course-price { color: var(--orange); font-family: "Playfair Display", serif; font-size: 2.8rem; font-weight: 800; margin: 15px 0; }
.info-list { list-style: none; margin: 22px 0; padding: 0; }
.info-list li { border-bottom: 1px solid var(--line); color: var(--muted); display: flex; justify-content: space-between; padding: 12px 0; }
.info-list b { color: var(--ink); }
.syllabus details { border-bottom: 1px solid var(--line); padding: 16px 0; }
.syllabus summary { cursor: pointer; font-weight: 800; }
.syllabus p { color: var(--muted); line-height: 1.65; }

.certificate-grid { display: grid; gap: 38px; grid-template-columns: .9fr 1.1fr; }
.verify-form { background: var(--ink); color: white; padding: 40px; }
.verify-form h2 { font-family: "Playfair Display", serif; font-size: 2.6rem; margin: 0 0 13px; }
.verify-form p { color: #c6d9d5; line-height: 1.6; }
.verify-form input { border: 0; height: 50px; padding: 0 14px; width: 100%; }
.certificate-result { background: white; border: 1px solid var(--line); min-height: 400px; padding: 38px; }
.certificate-result__seal { align-items: center; background: var(--sage); border-radius: 100%; color: var(--teal); display: inline-flex; font-size: 2.3rem; height: 62px; justify-content: center; width: 62px; }
.certificate-result h2 { font-family: "Playfair Display", serif; font-size: 2.8rem; margin: 18px 0 8px; }
.certificate-paper { background: #fffaf0; border: 1px solid #dacbaf; margin-top: 25px; padding: 24px; text-align: center; }
.certificate-paper h3 { font-family: "Playfair Display", serif; font-size: 2.1rem; margin: 12px 0; }

.classroom { background: linear-gradient(135deg, var(--ink) 0 60%, #164856 60%); color: white; padding: 80px 0; }
.classroom-grid { display: grid; gap: 18px; grid-template-columns: 1.1fr .9fr; }
.classroom h1 { font-size: clamp(3rem, 5vw, 5.3rem); margin: 12px 0; }
.classroom p { color: #d4e2de; line-height: 1.7; max-width: 600px; }
.classroom-card { background: var(--cream); color: var(--ink); padding: 26px; }
.classroom-card h3 { font-family: "Playfair Display", serif; font-size: 1.8rem; margin: 0 0 12px; }
.classroom-card p { color: var(--muted); }

.site-footer { background: var(--ink); color: white; margin-top: 0; overflow: hidden; padding: 70px 0 24px; position: relative; }
.site-footer:before { border: 1px solid rgba(210,164,55,.2); border-radius: 50%; content: ""; height: 540px; position: absolute; right: -140px; top: -350px; width: 540px; }
.footer-top { display: grid; gap: 55px; grid-template-columns: 1.35fr .7fr .9fr; position: relative; }
.footer-brand img { filter: brightness(0) invert(1); height: 60px; max-width: 280px; object-fit: contain; object-position: left; }
.footer-brand p { color: #c8dcda; line-height: 1.7; max-width: 400px; }
.footer-title { color: var(--gold); font-size: .72rem; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.footer-links { display: grid; gap: 11px; margin-top: 18px; }
.footer-links a { color: #e4edea; font-size: .9rem; }
.footer-links a:hover { color: var(--gold); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.15); color: #a6bfbc; display: flex; font-size: .76rem; justify-content: space-between; margin-top: 54px; padding-top: 20px; position: relative; }
.footer-bottom a { color: var(--gold); }
.floating-help { align-items: center; background: #197e68; border-radius: 99px; bottom: 20px; box-shadow: 0 10px 24px rgba(8,43,58,.2); color: white; display: inline-flex; font-size: .8rem; font-weight: 900; gap: 8px; padding: 13px 18px; position: fixed; right: 20px; z-index: 30; }

/* Virtual library */
.library-hero { background: var(--ink); color: white; overflow: hidden; padding: 74px 0 40px; position: relative; }
.library-hero:before { background-image: linear-gradient(90deg, rgba(210,164,55,.16) 1px, transparent 1px), linear-gradient(rgba(210,164,55,.12) 1px, transparent 1px); background-size: 42px 42px; content: ""; inset: 0; mask-image: linear-gradient(90deg, #000, transparent); opacity: .7; position: absolute; }
.library-hero .breadcrumb, .library-detail-hero .breadcrumb { position: relative; }
.library-hero .eyebrow { color: var(--gold); position: relative; }
.library-hero h1 { color: white; font-size: clamp(3.5rem, 6.5vw, 6.5rem); margin: 10px 0; position: relative; }
.library-hero p { color: #d0e0dc; font-size: 1.06rem; margin: 0 0 26px; max-width: 620px; position: relative; }
.library-search { background: var(--cream); display: flex; max-width: 800px; padding: 7px; position: relative; }
.library-search input { background: transparent; border: 0; color: var(--ink); min-width: 0; outline: 0; padding: 12px 16px; width: 100%; }
.library-popular { color: #a9c4c0; font-size: .75rem; margin-top: 16px; position: relative; }
.library-popular a { color: var(--gold); font-weight: 800; margin-left: 14px; }
.library-filterbar { background: var(--cream); border-bottom: 1px solid var(--line); }
.library-filterbar__form { align-items: center; display: grid; gap: 10px; grid-template-columns: repeat(5, 1fr) auto auto; padding: 15px 0; }
.library-filterbar select, .catalog-head select { background: white; border: 1px solid var(--line); color: var(--ink); min-height: 40px; padding: 0 10px; }
.library-reset { color: var(--orange); font-size: .78rem; font-weight: 900; white-space: nowrap; }
.library-layout { display: grid; gap: 30px; grid-template-columns: 220px minmax(0, 1fr); }
.library-filters { border-right: 1px solid var(--line); padding-right: 22px; }
.library-filters__top { align-items: center; display: flex; justify-content: space-between; margin-bottom: 18px; }
.library-filters__top a { color: var(--orange); font-size: .73rem; font-weight: 900; }
.library-filters details { border-top: 1px solid var(--line); padding: 16px 0; }
.library-filters summary { cursor: pointer; font-size: .84rem; font-weight: 900; list-style: none; }
.library-filters summary:after { content: "+"; float: right; }
.library-filters details[open] summary:after { content: "−"; }
.filter-link { align-items: center; color: var(--muted); display: flex; font-size: .79rem; justify-content: space-between; padding: 7px 0; }
.filter-link.is-active, .filter-link:hover { color: var(--orange); font-weight: 800; }
.filter-link em { color: #9aa9a9; font-size: .72rem; font-style: normal; }
.selected-filters { border-bottom: 1px solid var(--line); display: grid; gap: 6px; margin-bottom: 15px; padding-bottom: 15px; }
.selected-filters span { color: var(--muted); font-size: .7rem; font-weight: 800; text-transform: uppercase; }
.selected-filters a { background: #efe9dd; color: var(--ink); font-size: .73rem; padding: 7px 8px; }
.catalog-head { align-items: end; display: flex; justify-content: space-between; margin-bottom: 22px; }
.catalog-head h2 { font-size: clamp(2.2rem, 4vw, 4rem); margin: 7px 0 0; }
.library-resource-grid { display: grid; gap: 16px; grid-template-columns: repeat(4, 1fr); }
.library-resource-card { background: white; border: 1px solid var(--line); display: flex; flex-direction: column; min-width: 0; }
.library-resource-card__cover { aspect-ratio: 3/4; background: #143d4a; overflow: hidden; position: relative; }
.library-resource-card__cover img { height: 100%; object-fit: cover; transition: transform .3s ease; width: 100%; }
.library-resource-card:hover .library-resource-card__cover img { transform: scale(1.04); }
.library-resource-card__cover > span { color: white; display: grid; font-family: "Playfair Display", serif; font-size: 1.5rem; height: 100%; padding: 20px; place-items: center; text-align: center; }
.resource-badge { color: white; font-size: .64rem; font-weight: 900; left: 9px; padding: 5px 7px; position: absolute; top: 9px; text-transform: uppercase; }
.resource-badge--new { background: var(--orange); }
.library-pagination { align-items: center; display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 34px; }
.library-pagination a, .library-pagination span { align-items: center; border: 1px solid var(--line); display: inline-flex; font-size: .82rem; font-weight: 800; justify-content: center; min-height: 38px; min-width: 38px; padding: 0 12px; }
.library-pagination a:hover, .library-pagination .is-current { background: var(--ink); border-color: var(--ink); color: white; }
.library-pagination .is-disabled { color: #9aa6a8; }
.library-resource-card__body { display: flex; flex: 1; flex-direction: column; padding: 14px; }
.library-resource-card h3 { font-family: "Playfair Display", serif; font-size: 1.15rem; line-height: 1.08; margin: 7px 0 8px; }
.library-resource-card p { color: var(--muted); font-size: .73rem; margin: 0 0 12px; }
.resource-meta { align-items: center; border-top: 1px solid var(--line); color: var(--teal); display: flex; font-size: .67rem; font-weight: 800; justify-content: space-between; margin-top: auto; padding-top: 10px; }
.save-resource { background: transparent; border: 0; color: var(--ink); cursor: pointer; font-size: 1.25rem; line-height: 1; padding: 0; }
.save-resource.is-saved { color: var(--orange); }
.library-pagination { margin-top: 28px; }
.library-pagination nav { display: flex; justify-content: center; }
.library-empty { background: white; border: 1px dashed var(--line); grid-column: 1 / -1; padding: 50px 20px; text-align: center; }
.library-empty h3 { font-size: 2.4rem; margin: 0 0 10px; }
.library-collections { display: grid; gap: 14px; grid-template-columns: repeat(5, 1fr); }
.collection-card { background: var(--ink); color: white; display: flex; flex-direction: column; min-height: 185px; padding: 18px; position: relative; }
.collection-card:nth-child(2n) { background: #245863; }
.collection-card:nth-child(3n) { background: #866330; }
.collection-card span { color: var(--gold); font-size: .68rem; font-weight: 800; }
.collection-card b { font-family: "Playfair Display", serif; font-size: 1.45rem; line-height: 1.05; margin: auto 0 8px; }
.collection-card small { color: #cce0dc; font-size: .72rem; }
.collection-card i { bottom: 17px; color: var(--gold); font-style: normal; position: absolute; right: 17px; }
.library-topics { align-items: end; display: grid; gap: 30px; grid-template-columns: .8fr 1.2fr; }
.topic-grid { display: grid; gap: 10px; grid-template-columns: repeat(3, 1fr); }
.topic-grid a { align-items: center; background: white; border: 1px solid var(--line); display: flex; flex-direction: column; font-size: .78rem; font-weight: 800; gap: 9px; justify-content: center; min-height: 110px; }
.topic-grid a:hover { background: var(--ink); color: white; }
.topic-grid span { color: var(--orange); font-size: 1.55rem; }
.library-bottom-grid { display: grid; grid-template-columns: .85fr 1.15fr; }
.saved-library-card { background: #f0e7d7; padding: 42px; }
.saved-library-card h2, .library-featured h2 { font-size: clamp(2rem, 3vw, 3.4rem); margin: 11px 0; }
.saved-library-card p { color: var(--muted); line-height: 1.6; }
.saved-library-card__list { border-bottom: 1px solid var(--line); color: var(--muted); font-size: .8rem; margin: 20px 0; min-height: 42px; padding-bottom: 14px; }
.saved-library-card__list a { display: block; padding: 4px 0; }
.saved-library-card .text-link { margin: 16px 0 0 16px; }
.library-featured { background: var(--ink); color: white; padding: 42px; }
.library-featured p { color: #c7dad5; line-height: 1.6; max-width: 500px; }
.library-newsletter { background: #0e3442; color: white; padding: 21px 0; }
.library-newsletter .site-container { align-items: center; display: flex; gap: 24px; justify-content: space-between; }
.library-newsletter b { display: block; font-family: "Playfair Display", serif; font-size: 1.28rem; }
.library-newsletter small { color: #c4d6d2; }
.library-newsletter form { display: flex; min-width: min(100%, 420px); }
.library-newsletter input { border: 0; min-width: 0; padding: 0 14px; width: 100%; }
.library-newsletter .button { white-space: nowrap; }
.library-detail-hero { background: var(--ink); color: white; padding: 64px 0; }
.library-detail-layout { align-items: center; display: grid; gap: 48px; grid-template-columns: 270px minmax(0, 1fr); }
.library-detail-cover { background: #1b4350; box-shadow: 18px 22px 0 rgba(210,164,55,.3); min-height: 350px; }
.library-detail-cover img { height: 350px; object-fit: cover; width: 100%; }
.library-detail-cover span { align-items: center; color: white; display: flex; font-size: 2.2rem; height: 350px; justify-content: center; text-align: center; }
.library-detail-layout h1 { color: white; font-size: clamp(3rem, 5vw, 5.8rem); margin: 10px 0; }
.library-detail-layout p { color: #c6dad4; font-size: 1rem; }
.detail-meta { display: flex; flex-wrap: wrap; gap: 18px; margin: 20px 0 0; }
.detail-meta span { color: var(--gold); font-size: .78rem; font-weight: 800; }
.library-detail-content { display: grid; gap: 55px; grid-template-columns: minmax(0, 1fr) 280px; }
.resource-details { border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(2, 1fr); margin-top: 35px; }
.resource-details div { border-bottom: 1px solid var(--line); padding: 16px 10px 16px 0; }
.resource-details span { color: var(--muted); display: block; font-size: .72rem; font-weight: 800; text-transform: uppercase; }
.resource-details b { font-family: "Playfair Display", serif; font-size: 1.2rem; }
.detail-side { align-self: start; background: #f0e7d7; padding: 25px; position: sticky; top: 105px; }
.detail-side h3 { font-size: 2rem; margin: 10px 0 20px; }
.detail-side p { border-top: 1px solid var(--line); color: var(--muted); font-size: .85rem; line-height: 1.5; padding-top: 14px; }
.library-resource-grid--related { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 1080px) {
  .site-nav { gap: 15px; }
  .hero__layout { grid-template-columns: .9fr 1.1fr; }
  .join-card { bottom: 26px; right: 18px; top: auto; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); margin-top: 22px; }
  .program-grid { grid-template-columns: repeat(2, 1fr); }
  .article-layout, .course-layout { grid-template-columns: minmax(0, 1fr) 290px; }
  .library-resource-grid { grid-template-columns: repeat(3, 1fr); }
  .library-filterbar__form { grid-template-columns: repeat(3, 1fr); }
  .library-collections { grid-template-columns: repeat(3, 1fr); }
  .gallery-hero__grid { grid-template-columns: 1fr 1fr; }
  .gallery-upcoming { grid-column: span 2; }
  .video-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .site-header__row { min-height: 72px; }
  .site-nav { background: var(--cream); box-shadow: var(--shadow); display: none; flex-direction: column; inset: 72px 14px auto; padding: 24px; position: absolute; align-items: stretch; }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 9px 0; }
  .nav-dropdown { position: static; }
  .nav-dropdown summary { padding: 9px 0; }
  .nav-dropdown__menu { box-shadow: none; min-width: 0; padding: 4px 0 4px 16px; position: static; }
  .site-actions .button { min-height: 38px; padding: 0 13px; white-space: nowrap; }
  .mobile-toggle { display: block; }
}

@media (max-width: 820px) {
  .site-container { padding: 0 20px; }
  .site-header__row { min-height: 72px; }
  .brand__logo { height: 38px; }
  .site-nav { background: var(--cream); box-shadow: var(--shadow); display: none; flex-direction: column; inset: 72px 14px auto; padding: 24px; position: absolute; align-items: stretch; }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 9px 0; }
  .nav-dropdown { position: static; }
  .nav-dropdown summary { padding: 9px 0; }
  .nav-dropdown__menu { box-shadow: none; min-width: 0; padding: 4px 0 4px 16px; position: static; }
  .gallery-hero { padding: 30px 0; }
  .gallery-hero__grid { display: block; }
  .gallery-hero__intro { padding: 0; }
  .gallery-hero h1 { font-size: clamp(3rem, 15vw, 4.4rem); }
  .gallery-feature { margin-top: 24px; min-height: 310px; }
  .gallery-upcoming { margin-top: 12px; }
  .gallery-wall__grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-tile { min-height: 170px; }
  .gallery-tile--wide { grid-column: span 2; min-height: 300px; }
  .gallery-albums__grid { grid-template-columns: 1fr; }
  .video-hero__grid { display: block; }
  .video-feature { margin-top: 30px; }
  .video-grid { grid-template-columns: 1fr; }
  .video-cta .site-container { align-items: flex-start; flex-direction: column; }
  .site-actions .link-login { display: none; }
  .site-actions .button { min-height: 38px; padding: 0 13px; }
  .mobile-toggle { display: block; }
  .hero__layout { display: block; min-height: 0; }
  .hero__copy { padding: 68px 0 36px; }
  .hero__visual { min-height: 430px; }
  .hero__photo { min-height: 430px; }
  .hero__stamp { bottom: 16px; right: 18px; }
  .join-card { bottom: -40px; left: 20px; max-width: calc(100% - 40px); right: auto; top: auto; }
  .route-strip { margin-top: 40px; }
  .route-strip__inner { grid-template-columns: repeat(2, 1fr); }
  .route-strip__lead { grid-column: 1 / -1; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .metric-grid { grid-template-columns: repeat(2, 1fr); }
  .metric:nth-child(2) { border-right: 0; }
  .metric:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .editorial-split, .certificate-grid, .classroom-grid { grid-template-columns: 1fr; }
  .editorial-split__photo { min-height: 300px; }
  .editorial-split__content { padding: 44px 28px; }
  .people-grid { grid-template-columns: repeat(2, 1fr); }
  .article-layout, .dictionary-grid, .resource-layout, .course-layout { grid-template-columns: 1fr; }
  .dictionary-featured { position: static; }
  .dictionary-category-rail { grid-template-columns: 1fr 1fr; }
  .term-list .dictionary-entry-card { grid-template-columns: 150px minmax(0, 1fr) 34px; }
  .course-info { position: static; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .library-layout { grid-template-columns: 1fr; }
  .library-filters { border-bottom: 1px solid var(--line); border-right: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; padding: 0 0 18px; }
  .library-filters__top, .selected-filters { grid-column: 1 / -1; }
  .library-resource-grid { grid-template-columns: repeat(3, 1fr); }
  .library-collections { grid-template-columns: repeat(3, 1fr); }
  .library-topics, .library-bottom-grid, .library-detail-content { grid-template-columns: 1fr; }
  .library-detail-layout { grid-template-columns: 220px 1fr; }
  .detail-side { position: static; }
}

@media (max-width: 520px) {
  .dictionary-category-rail { grid-template-columns: 1fr; }
  .dictionary-results-heading { align-items: flex-start; flex-direction: column; }
  .dictionary-clear { margin: -10px 0 18px; }
  .term-list .dictionary-entry-card { align-items: start; grid-template-columns: 1fr 34px; }
  .dictionary-entry-card__category { grid-column: 1 / -1; }
  .dictionary-entry-card__arrow { grid-column: 2; grid-row: 2; }
  .dictionary-entry-card__body { grid-column: 1; grid-row: 2; }
}

@media (max-width: 560px) {
  .site-container { padding: 0 16px; }
  .brand__word { font-size: 1.45rem; }
  .brand__logo { max-width: 136px; }
  .site-actions .button { font-size: .73rem; }
  .hero__title { font-size: clamp(3.1rem, 16vw, 4.5rem); }
  .hero__lead { font-size: .95rem; }
  .hero__actions .button { flex: 1; }
  .hero__visual, .hero__photo { min-height: 360px; }
  .join-card { padding: 17px; }
  .feature-grid, .program-grid, .article-grid, .resource-grid { grid-template-columns: 1fr; }
  .feature-card { min-height: 145px; }
  .feature-card img { height: 100%; opacity: .34; width: 48%; }
  .section { padding: 66px 0; }
  .section-head { align-items: start; flex-direction: column; gap: 13px; margin-bottom: 24px; }
  .section-title { font-size: 2.45rem; }
  .catalog-toolbar { align-items: stretch; flex-direction: column; }
  .metric { padding: 19px 15px; }
  .metric b { font-size: 2.1rem; }
  .people-grid { gap: 10px; }
  .person-card { min-height: 245px; }
  .testimonial { gap: 12px; padding: 24px; }
  .testimonial p { font-size: 1.3rem; }
  .footer-top { gap: 34px; grid-template-columns: 1fr; }
  .footer-brand { grid-column: auto; }
  .footer-bottom { flex-direction: column; gap: 8px; }
  .floating-help { bottom: 13px; right: 13px; }
  .library-hero { padding: 50px 0 30px; }
  .library-hero h1 { font-size: 3.7rem; }
  .library-search, .library-newsletter form { flex-direction: column; }
  .library-search .button, .library-newsletter .button { width: 100%; }
  .library-popular a { display: inline-block; margin: 6px 8px 0 0; }
  .library-filterbar__form { grid-template-columns: 1fr 1fr; }
  .library-filterbar__form select { min-width: 0; }
  .library-filterbar__form .button, .library-reset { grid-column: span 1; }
  .library-filters { display: block; }
  .library-filters details { display: none; }
  .library-filters details:first-of-type { display: block; }
  .library-resource-grid { grid-template-columns: repeat(2, 1fr); }
  .library-resource-card h3 { font-size: 1rem; }
  .library-resource-card__body { padding: 11px; }
  .library-collections { grid-template-columns: 1fr 1fr; }
  .library-topics { gap: 20px; }
  .topic-grid { grid-template-columns: repeat(3, 1fr); }
  .library-bottom-grid { margin: 0 -16px; }
  .saved-library-card, .library-featured { padding: 30px 20px; }
  .library-newsletter .site-container { align-items: stretch; flex-direction: column; }
  .library-detail-layout { grid-template-columns: 1fr; gap: 28px; }
  .library-detail-cover { max-width: 220px; min-height: 285px; }
  .library-detail-cover img, .library-detail-cover span { height: 285px; }
  .library-detail-layout h1 { font-size: 3.6rem; }
  .resource-details { grid-template-columns: 1fr; }
  .library-resource-grid--related { grid-template-columns: repeat(2, 1fr); }
}
