/* Rosa Priego Martinez & Facundo Barrientos Perez Family Foundation
   Static rebuild of the Wix site. Values measured from the live Wix page at 1920px. */

:root {
  --cream: #fffaf0;          /* rgb(255,250,240) section + header background */
  --ink: #052812;            /* rgb(5,40,18) body text */
  --green: #24582a;          /* rgb(36,88,42) buttons */
  --white: #ffffff;
  --black: #000000;
  --serif: "Fraunces", "Times New Roman", Georgia, serif;
  --sans: "Avenir Next", "Avenir", "Nunito Sans", "Helvetica Neue", Arial, sans-serif;
  --caslon: "Adobe Caslon Pro", "Libre Caslon Text", "Times New Roman", serif;
  --wrap: 1670px;            /* content width at 1920: 119px side margins */
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 20.8px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-variation-settings: "opsz" 120; font-weight: 500; line-height: 1; margin: 0; color: var(--ink); }
p { margin: 0; }

.wrap { width: min(var(--wrap), 100% - 40px); margin-inline: auto; }
.wrap-wide { width: min(1745px, 100% - 40px); margin-inline: auto; }

.skip { position: absolute; left: -9999px; top: 0; background: #fff; color: #116dff; padding: 8px 14px; z-index: 100; }
.skip:focus { left: 8px; top: 8px; }

/* ---------- Header ---------- */
.site-header { background: var(--cream); height: 77px; display: flex; align-items: center; justify-content: center; position: sticky; top: 0; z-index: 50; }
.site-header ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 30px; }
.site-header a { text-decoration: none; font-size: 20.8px; line-height: 1.5; color: var(--ink); }
.site-header a:hover, .site-header a.active { text-decoration: underline; text-underline-offset: 4px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; text-align: center;
  background: var(--green); color: var(--white); text-decoration: none;
  border-radius: 999px; padding: 0 22px; line-height: 1.5; transition: filter .15s ease;
}
.btn:hover { filter: brightness(1.15); }
.btn { width: 240px; min-height: 104px; font-size: 26.8px; }
.btn-lg { width: 249px; min-height: 110px; font-size: 23.8px; }
.btn-sm { width: auto; min-height: 44px; font-size: 16px; padding: 0 30px; border-radius: 0; }

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--black); min-height: 1108px; overflow: hidden; display: grid; grid-template-rows: 1fr auto; }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; opacity: .6; }
.hero-content { position: relative; display: flex; align-items: center; justify-content: center; padding: 200px 40px 60px; }
.hero h1 { color: var(--white); font-size: clamp(48px, 6.2vw, 119px); line-height: 1; text-align: center; max-width: 1188px; }
.hero-quote { position: relative; color: var(--white); font-size: clamp(22px, 1.86vw, 35.7px); line-height: 1.5; text-align: center; width: 826px; max-width: 100%; margin: 0 40px 38px auto; }

/* ---------- Our Purpose ---------- */
.purpose { background: var(--cream); padding: 119px 0 100px; }
.purpose-grid { display: grid; grid-template-columns: 544px 1fr; gap: 60px; align-items: start; }
.purpose-left h2 { font-size: 89px; margin: 104px 0 30px -60px; }
.purpose-left .logo { width: 295px; height: 295px; object-fit: cover; }
.lead { font-size: 32.7px; line-height: 1.5; }
.btn-row { text-align: center; margin-top: 60px; }

/* ---------- Our Ethos ---------- */
.ethos { background: var(--white); padding: 119px 0 110px; }
.ethos-top { display: grid; grid-template-columns: 412px 595px; gap: 0; align-items: start; }
.ethos-left h2 { font-size: 89px; margin: 0 0 54px; }
.ethos-left .btn { margin: 0 0 33px 62px; }
.ethos-img { width: 595px; height: 595px; object-fit: cover; }
.features { display: grid; grid-template-columns: 525px 542px; column-gap: 158px; row-gap: 90px; margin: 50px 0 0 416px; }
.feature { border-top: 1px solid var(--ink); padding-top: 28px; }
.feature h3 { font-size: 47.6px; line-height: 1.2; margin-bottom: 30px; }
.feature p { font-size: 20.8px; }

/* ---------- Student Successes ---------- */
.successes { background: var(--white); padding: 0 0 146px; }
.successes h2 { font-size: 89px; margin-bottom: 118px; }
.successes blockquote { margin: 0 0 41px; font-size: 20.8px; line-height: 1.5; }
.successes blockquote p { margin-bottom: 31px; }
.successes blockquote footer { font-size: 20.8px; }
.portrait { width: 617px; height: 617px; object-fit: cover; }

/* ---------- Contact ---------- */
.contact { background: var(--cream); padding: 119px 0 169px; min-height: 674px; }
.contact h2 { font-size: 89px; margin-bottom: 31px; }
.contact p { max-width: 511px; }

/* ---------- Lake image ---------- */
.lake { background: var(--white); padding: 80px 0; }
.lake img { width: 100%; height: 1069px; object-fit: cover; }

/* ---------- Footer ---------- */
.site-footer { background: var(--cream); min-height: 641px; display: flex; align-items: flex-end; padding-bottom: 150px; }
.footer-grid { display: grid; grid-template-columns: 1fr 1fr; align-items: end; gap: 40px; }
.site-footer address { font-style: normal; font-size: 20.8px; line-height: 1.5; }
.copyright { font-size: 20.8px; padding-left: 134px; }

/* ---------- About ---------- */
.about { background: var(--white); padding: 30px 0 120px; min-height: 1503px; }
.caslon { font-family: var(--caslon); font-weight: 400; font-size: clamp(36px, 4.65vw, 89px); line-height: 1; margin: 0 -40px 16px; letter-spacing: 0; text-transform: uppercase; }
.about-grid { display: grid; grid-template-columns: 515px 1fr; gap: 20px; align-items: start; }
.about-left img { width: 359px; height: 359px; object-fit: cover; margin: 0 0 22px 87px; }
.about-caption { font-size: 16px; line-height: 1.7; margin: 0 0 22px 60px; }
.about-org { font-size: 14px; line-height: 1.7; margin-left: 60px; }
.about-right img + img { margin-top: 0; }

/* ---------- Blog list ---------- */
.blog { background: var(--white); padding: 90px 0 140px; }
.blog h1 { font-size: 89px; margin: 0 0 110px -20px; }
.post-list { width: 1028px; max-width: 100%; margin-inline: auto; display: grid; gap: 40px; }
.post-card { display: grid; grid-template-columns: 530px 1fr; border: 1px solid #d9d9d9; background: var(--white); }
.post-card-img img { width: 530px; height: 398px; object-fit: cover; }
.post-card-body { padding: 24px 30px; display: flex; flex-direction: column; }
.post-card h2 { font-size: 26px; line-height: 1.3; font-family: var(--serif); margin-bottom: 14px; }
.post-card h2 a { text-decoration: none; }
.post-card h2 a:hover { text-decoration: underline; }
.excerpt { font-size: 14px; line-height: 1.6; flex: 1; }
.post-meta { font-size: 13px; display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
.post-meta span + span::before { content: "\00b7"; margin-right: 6px; }

/* ---------- Single post ---------- */
.post-page { background: var(--white); padding: 40px 0 140px; }
.post-page .back { font-size: 12px; margin-bottom: 40px; }
.post-page .back a { text-decoration: none; }
.post { width: 770px; max-width: 100%; margin-inline: auto; border: 1px solid #ececec; padding: 60px 80px 80px; }
.post h1 { font-size: 40px; line-height: 1.3; margin: 18px 0 30px; }
.post .post-meta { margin: 0; }
.post-body { font-size: 17px; line-height: 1.7; }
.post-body h2 { font-family: var(--serif); font-size: 28px; line-height: 1.3; margin: 36px 0 14px; }
.post-body h3 { font-family: var(--serif); font-size: 22px; line-height: 1.3; margin: 28px 0 10px; }
.post-body p { margin: 0 0 18px; }
.post-body ul { margin: 0 0 18px; padding-left: 28px; }
.post-body li { margin-bottom: 8px; }
.post-body strong { font-weight: 700; }
.post-body figure { margin: 0 0 24px; }

/* ---------- Events list ---------- */
.events { background: var(--white); padding: 30px 0 160px; }
.event-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 87px; }
.event-card { border: 1px solid #e3e3e3; text-align: center; }
.event-card > a img { width: 100%; aspect-ratio: 542 / 495; object-fit: cover; }
.event-card-body { padding: 26px 20px 34px; }
.event-card h2 { font-family: var(--sans); font-weight: 300; font-size: 26px; line-height: 1.3; margin-bottom: 10px; }
.event-card h2 a { text-decoration: none; }
.event-when { font-size: 14px; }
.event-when .sep { margin: 0 8px; }
.more { font-size: 16px; display: inline-block; margin: 18px 0 20px; }

/* ---------- Single event ---------- */
.event-page { background: var(--white); padding: 40px 0 140px; }
.event-hero { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; margin-bottom: 80px; }
.event-hero h1 { font-family: var(--sans); font-weight: 300; font-size: 40px; line-height: 1.2; margin-bottom: 14px; }
.event-desc { margin: 24px 0 30px; }
.event-details { max-width: 900px; }
.event-details h2 { font-family: var(--sans); font-weight: 300; font-size: 26px; margin: 48px 0 16px; padding-bottom: 12px; border-bottom: 1px solid #ddd; }
.event-details p { margin-bottom: 10px; }
.tickets { border-collapse: collapse; width: 100%; max-width: 600px; }
.tickets th { text-align: left; font-weight: 300; font-size: 14px; padding: 8px 0; border-bottom: 1px solid #ddd; }
.tickets td { padding: 18px 0; vertical-align: middle; }
.tickets td:last-child { text-align: right; }
.share a { text-decoration: none; }
.share a:hover { text-decoration: underline; }

/* ---------- Scroll reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.72s cubic-bezier(0.22, 1, 0.36, 1) var(--reveal-delay, 0ms),
              transform 0.72s cubic-bezier(0.22, 1, 0.36, 1) var(--reveal-delay, 0ms);
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1300px) {
  :root { --wrap: 1100px; }
  .purpose-grid, .ethos-top, .about-grid, .event-hero { grid-template-columns: 1fr; }
  .purpose-left h2, .ethos-left h2, .successes h2, .contact h2, .blog h1 { font-size: 64px; margin-left: 0; }
  .purpose-left h2 { margin-top: 0; }
  .lead { font-size: 26px; }
  .ethos-left .btn { margin-left: 0; margin-right: 20px; }
  .ethos-img { margin-top: 40px; }
  .features { grid-template-columns: 1fr 1fr; column-gap: 60px; margin-left: 0; }
  .lake img { height: auto; }
  .site-footer { min-height: 0; padding: 80px 0; }
  .copyright { padding-left: 0; }
  .about-left img, .about-caption, .about-org { margin-left: 0; }
  .event-list { gap: 40px; }
}
@media (max-width: 760px) {
  body { font-size: 18px; }
  .site-header { height: auto; padding: 16px 0; }
  .site-header ul { flex-wrap: wrap; justify-content: center; gap: 16px 22px; }
  .hero { min-height: 90vh; }
  .hero-content { padding: 100px 20px 40px; }
  .hero-quote { width: auto; margin: 0 20px 30px; }
  .purpose, .ethos, .contact { padding: 60px 0; }
  .purpose-left h2, .ethos-left h2, .successes h2, .contact h2, .blog h1 { font-size: 44px; }
  .purpose-left .logo { width: 200px; height: 200px; }
  .lead { font-size: 20px; }
  .btn { width: 100%; min-height: 70px; font-size: 20px; }
  .btn-lg { width: 100%; min-height: 70px; font-size: 20px; }
  .btn-sm { width: auto; min-height: 44px; font-size: 16px; }
  .ethos-img { width: 100%; height: auto; }
  .features { grid-template-columns: 1fr; row-gap: 40px; }
  .feature h3 { font-size: 32px; }
  .successes { padding-top: 60px; }
  .successes h2 { margin-bottom: 40px; }
  .portrait { width: 100%; height: auto; }
  .lake { padding: 30px 0; }
  .footer-grid { grid-template-columns: 1fr; }
  .about-left img { width: 100%; height: auto; }
  .post-card { grid-template-columns: 1fr; }
  .post-card-img img { width: 100%; height: auto; }
  .post { padding: 30px 20px 40px; }
  .post h1 { font-size: 30px; }
  .event-list { grid-template-columns: 1fr; }
  .event-hero h1 { font-size: 30px; }
}
