/*
Theme Name: GMEISS 2025
Theme URI: https://gmeiss2025.gmeiss.com
Author: GMEISS Organizing Committee
Description: Custom rebuild of the GMEISS 2025 conference website — The Third Global Conference on Management, Engineering and Intelligent Sustainable Systems. Faithful to the original Inspiro-based design, rebuilt as a lean custom theme.
Version: 1.0.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
Text Domain: gmeiss2025
*/

:root {
  --navy: #00477d;
  --navy-deep: #081338;
  --blue: #0693e3;
  --ink: #313131;
  --body: #454545;
  --muted: #6c6c77;
  --line: #e5e7eb;
  --footer: #101010;
  --font-head: "Barlow Condensed", "Segoe UI", sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, sans-serif;
  --font-alt: "Montserrat", "Segoe UI", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 64px; }

::selection { background: var(--blue); color: #fff; }
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--blue); outline-offset: 2px; border-radius: 3px;
}

body {
  font-family: var(--font-body);
  color: var(--body);
  background: #fff;
  font-size: 15px;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; }
a { color: var(--blue); text-decoration: none; transition: color .2s, opacity .2s; }
a:hover { color: var(--navy); }

h1, h2, h3, h4 { font-family: var(--font-head); color: var(--ink); line-height: 1.2; font-weight: 600; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 28px; }
.container--content { max-width: 1000px; }

/* ============ Header (fixed; transparent at top, solid on scroll) ============ */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 24px 0;
  transition: padding .3s ease, background .3s ease, box-shadow .3s ease;
}
.site-header.is-scrolled {
  padding: 12px 0;
  background: rgba(8, 19, 56, .96);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 4px 24px rgba(0, 0, 0, .3);
}
.site-header__inner {
  max-width: 1200px; margin: 0 auto; padding: 0 28px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.brand img { height: 38px; width: auto; display: block; transition: height .3s ease; }
.site-header.is-scrolled .brand img { height: 32px; }
.main-nav ul { display: flex; align-items: center; gap: 6px; list-style: none; }
.main-nav a {
  position: relative; display: block; padding: 8px 13px;
  color: rgba(255,255,255,.85); font-family: var(--font-alt);
  font-size: 14.5px; font-weight: 500; letter-spacing: .02em;
}
.main-nav a::after {
  content: ""; position: absolute; left: 13px; right: 13px; bottom: 3px; height: 2px;
  background: var(--blue); border-radius: 2px;
  transform: scaleX(0); transform-origin: left; transition: transform .25s ease;
}
.main-nav a:hover { color: #fff; }
.main-nav a:hover::after { transform: scaleX(1); }
.main-nav li.current-menu-item > a, .main-nav li.current_page_item > a { color: #fff; }
.main-nav li.current-menu-item > a::after, .main-nav li.current_page_item > a::after { transform: scaleX(1); }

.nav-toggle {
  display: none; background: none; border: 1px solid rgba(255,255,255,.4);
  border-radius: 6px; padding: 7px 10px; cursor: pointer;
}
.nav-toggle span { display: block; width: 20px; height: 2px; background: #fff; margin: 4px 0; border-radius: 2px; }

@media (max-width: 820px) {
  .nav-toggle { display: block; }
  .main-nav { display: none; position: absolute; top: calc(100% + 10px); left: 20px; right: 20px;
    background: rgba(8, 19, 56, .97); border-radius: 10px; padding: 14px; }
  .main-nav.is-open { display: block; }
  .main-nav ul { flex-direction: column; align-items: stretch; gap: 2px; }
  .main-nav a { padding: 12px 16px; font-size: 15px; }
}

/* ============ Fullscreen hero ============ */
.hero {
  position: relative; min-height: min(86vh, 940px); overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  text-align: center; color: #fff;
}
.hero__bg {
  position: absolute; inset: 0;
  background-image: var(--hero-img);
  background-size: cover; background-position: center;
  background-attachment: fixed;
}
.hero__overlay {
  position: absolute; inset: 0;
  background: radial-gradient(1200px 700px at 50% 40%, rgba(8,19,56,.38) 0%, rgba(8,19,56,.66) 70%),
              linear-gradient(180deg, rgba(8,19,56,.6) 0%, rgba(8,19,56,.5) 50%, rgba(4,10,28,.82) 100%);
}
.hero__inner { position: relative; z-index: 2; padding: 110px 24px 56px; max-width: 860px; }
.hero h1 {
  color: #fff; font-family: var(--font-head); font-weight: 700;
  font-size: clamp(40px, 5.6vw, 68px); line-height: 1.16;
  letter-spacing: .42em; text-indent: .42em; text-transform: uppercase;
  text-shadow: 0 4px 28px rgba(0, 0, 0, .5);
}
.hero__sub {
  margin: 24px auto 0; max-width: 640px;
  font-family: var(--font-head); font-weight: 500;
  font-size: clamp(18px, 2vw, 23px); letter-spacing: .04em; line-height: 1.5;
  color: rgba(255,255,255,.94);
  text-shadow: 0 2px 14px rgba(0, 0, 0, .45);
}
.hero__actions { margin-top: 38px; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.btn {
  position: relative; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center;
  height: 46px; min-width: 168px; padding: 2px 30px 0; border-radius: 5px;
  font-family: var(--font-alt); font-size: 12px; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase;
  color: #fff; transition: transform .18s, box-shadow .25s, filter .2s;
}
.btn::after {
  content: ""; position: absolute; top: 0; bottom: 0; left: -80%; width: 50%;
  background: linear-gradient(105deg, transparent, rgba(255,255,255,.22), transparent);
  transform: skewX(-20deg); transition: left .5s ease;
}
.btn:hover::after { left: 130%; }
.btn--navy {
  background: linear-gradient(135deg, var(--navy-deep), #12275f);
  border: 1px solid rgba(255,255,255,.16);
  box-shadow: 0 8px 22px rgba(0,0,0,.35);
}
.btn--navy:hover { color: #fff; transform: translateY(-2px); filter: brightness(1.15); box-shadow: 0 14px 32px rgba(0,0,0,.5); }
.btn--blue {
  background: linear-gradient(135deg, var(--blue), #05a6f0);
  box-shadow: 0 8px 22px rgba(6,147,227,.4);
}
.btn--blue:hover { color: #fff; transform: translateY(-2px); filter: brightness(1.08); box-shadow: 0 14px 32px rgba(6,147,227,.55); }

.hero__meta {
  margin-top: 44px; display: flex; justify-content: center; gap: 48px; flex-wrap: wrap;
}
.hero__meta div {
  font-family: var(--font-head); text-transform: uppercase;
  min-width: 200px; padding: 18px 32px 20px;
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 12px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: background .25s, border-color .25s, transform .2s;
}
.hero__meta div:hover { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.32); transform: translateY(-3px); }
.hero__meta svg { width: 22px; height: 22px; margin-bottom: 8px; opacity: .85; }
.hero__meta b { display: block; font-size: 12px; font-weight: 600; letter-spacing: .3em; text-indent: .3em; color: rgba(255,255,255,.7); }
.hero__meta span { display: block; font-size: 23px; font-weight: 600; letter-spacing: .1em; margin-top: 5px; text-shadow: 0 2px 10px rgba(0,0,0,.4); }
@media (max-width: 620px) {
  .hero__meta { gap: 14px; }
  .hero__meta div { width: 100%; min-width: 0; padding: 18px 20px; }
}

/* Hero entrance animation */
@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(26px); }
  to { opacity: 1; transform: none; }
}
.hero__inner > * { animation: heroFadeUp .8s ease both; }
.hero__inner > h1 { animation-delay: .1s; }
.hero__inner > .hero__sub { animation-delay: .3s; }
.hero__inner > .hero__actions { animation-delay: .5s; }
.hero__inner > .hero__meta { animation-delay: .7s; }
@media (prefers-reduced-motion: reduce) { .hero__inner > * { animation: none; } }

/* Scroll cue */
.hero__scroll {
  position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%); z-index: 2;
  display: block; width: 26px; height: 42px;
  border: 2px solid rgba(255,255,255,.5); border-radius: 14px;
  transition: border-color .2s, transform .2s;
  animation: heroFadeUp .8s ease .95s both;
}
.hero__scroll:hover { border-color: #fff; transform: translateX(-50%) translateY(-3px); }
.hero__scroll::before {
  content: ""; position: absolute; top: 7px; left: 50%; margin-left: -2px;
  width: 4px; height: 8px; border-radius: 2px; background: rgba(255,255,255,.75);
  animation: scrollcue 1.8s ease-in-out infinite;
}
@keyframes scrollcue { 0% { transform: translateY(0); opacity: 1 } 70% { transform: translateY(12px); opacity: 0 } 100% { opacity: 0 } }

/* ============ Content sections ============ */
.section { padding: 80px 0; }
.section-title {
  font-size: clamp(27px, 3.2vw, 35px); font-weight: 600; letter-spacing: .08em;
  text-transform: uppercase; text-align: center; margin-bottom: 40px;
}
.section-title::after {
  content: ""; display: block; width: 64px; height: 3px; margin: 18px auto 0;
  background: var(--blue);
}

/* Theme section */
.theme-name {
  text-align: center; font-size: clamp(21px, 2.3vw, 26px); font-weight: 600;
  letter-spacing: .04em; color: var(--navy);
}
.theme-quote {
  text-align: center; font-size: 17px; font-style: italic; color: var(--muted);
  margin: 10px 0 34px;
}
.prose p { margin-bottom: 18px; }
.prose p:last-child { margin-bottom: 0; }

/* ============ Tracks ============ */
.section--tracks {
  padding-top: 20px;
  background: linear-gradient(180deg, #fff 0%, #f5f8fc 40%, #f5f8fc 100%);
}
.tracks-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px;
  align-items: stretch;
}
@media (max-width: 1000px) { .tracks-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 680px) { .tracks-grid { grid-template-columns: 1fr; } }

.track-card {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  padding: 34px 30px 30px;
  box-shadow: 0 1px 2px rgba(8,19,56,.04), 0 10px 30px rgba(8,19,56,.06);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.track-card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--navy), var(--blue));
  transform: scaleX(0); transform-origin: left; transition: transform .35s ease;
}
.track-card:hover {
  transform: translateY(-6px);
  border-color: rgba(6,147,227,.4);
  box-shadow: 0 6px 16px rgba(8,19,56,.08), 0 26px 50px rgba(8,19,56,.14);
}
.track-card:hover::before { transform: scaleX(1); }

.track-card__icon {
  width: 58px; height: 58px; border-radius: 14px; margin-bottom: 18px;
  display: grid; place-items: center; color: #fff;
  background: linear-gradient(140deg, var(--navy-deep), var(--navy) 60%, var(--blue));
  box-shadow: 0 8px 20px rgba(0,71,125,.28);
  transition: transform .25s ease;
}
.track-card__icon svg { width: 27px; height: 27px; }
.track-card:hover .track-card__icon { transform: scale(1.06) rotate(-3deg); }

.track-card__label {
  display: inline-flex; align-items: center; align-self: flex-start;
  height: 25px; padding: 2px 12px 0;
  font-family: var(--font-alt); font-size: 11px; font-weight: 600;
  letter-spacing: .18em; text-transform: uppercase; line-height: 1;
  color: var(--blue); background: rgba(6,147,227,.09);
  border: 1px solid rgba(6,147,227,.22); border-radius: 999px;
  margin-bottom: 12px;
}
.track-card h2 {
  font-size: 21px; font-weight: 600; letter-spacing: .01em;
  color: var(--ink); line-height: 1.28; margin-bottom: 18px;
}
.track-card ul {
  list-style: none; padding: 18px 0 0;
  border-top: 1px solid var(--line);
}
.track-card li {
  position: relative; padding: 7px 0 7px 24px; font-size: 15px; line-height: 1.55;
}
.track-card li + li { border-top: 1px dashed rgba(8,19,56,.08); }
.track-card li::before {
  content: ""; position: absolute; left: 4px; top: 15px;
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--blue); opacity: .5;
  transition: opacity .2s, transform .2s;
}
.track-card li:hover::before { opacity: 1; transform: scale(1.35); }

/* ============ Committees ============ */
.committee-block { margin-bottom: 64px; }
.committee-block:last-child { margin-bottom: 0; }
.committee-heading {
  font-size: clamp(22px, 2.6vw, 28px); font-weight: 600; letter-spacing: .06em;
  text-transform: uppercase; text-align: center; color: var(--ink);
  margin-bottom: 34px;
}
.committee-heading::after {
  content: ""; display: block; width: 56px; height: 3px; margin: 16px auto 0;
  background: var(--blue);
}

.chair-wrap { display: flex; justify-content: center; }
.people-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px;
}
@media (min-width: 1100px) { .people-grid { grid-template-columns: repeat(5, 1fr); } }

.person-card {
  position: relative; overflow: hidden; text-align: center;
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  padding: 32px 24px 28px;
  box-shadow: 0 1px 2px rgba(8,19,56,.04), 0 10px 30px rgba(8,19,56,.06);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.person-card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--navy), var(--blue));
  transform: scaleX(0); transform-origin: left; transition: transform .35s ease;
}
.person-card:hover {
  transform: translateY(-6px); border-color: rgba(6,147,227,.4);
  box-shadow: 0 6px 16px rgba(8,19,56,.08), 0 26px 50px rgba(8,19,56,.14);
}
.person-card:hover::before { transform: scaleX(1); }
.person-card--lead { max-width: 380px; padding: 40px 32px 34px; }

.person-card__avatar {
  display: grid; place-items: center;
  width: 76px; height: 76px; margin: 0 auto 18px; border-radius: 50%;
  font-family: var(--font-head); font-size: 26px; font-weight: 600; letter-spacing: .04em;
  color: #fff; background: linear-gradient(140deg, var(--navy-deep), var(--navy) 60%, var(--blue));
  box-shadow: 0 0 0 5px rgba(6,147,227,.12), 0 10px 24px rgba(0,71,125,.25);
}
.person-card--lead .person-card__avatar { width: 92px; height: 92px; font-size: 32px; }
.person-card h3 {
  font-size: 18px; font-weight: 600; letter-spacing: .01em; color: var(--ink);
  line-height: 1.3; margin-bottom: 8px;
}
.person-card--lead h3 { font-size: 21px; }
.person-card__role { font-size: 14px; color: var(--blue); font-weight: 600; line-height: 1.5; margin-bottom: 4px; }
.person-card__affil { font-size: 14px; color: var(--muted); line-height: 1.5; }

.members-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(330px, 1fr)); gap: 18px;
}
.member {
  display: flex; align-items: flex-start; gap: 15px;
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  padding: 18px 20px;
  box-shadow: 0 1px 2px rgba(8,19,56,.04), 0 6px 18px rgba(8,19,56,.05);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.member:hover {
  transform: translateY(-3px); border-color: rgba(6,147,227,.4);
  box-shadow: 0 4px 12px rgba(8,19,56,.07), 0 16px 32px rgba(8,19,56,.1);
}
.member__avatar {
  flex: none; display: grid; place-items: center;
  width: 48px; height: 48px; border-radius: 50%;
  font-family: var(--font-head); font-size: 17px; font-weight: 600; color: #fff;
  background: linear-gradient(140deg, var(--navy), var(--blue));
}
.member__text { min-width: 0; }
.member b {
  display: block; font-family: var(--font-head); font-size: 18px; font-weight: 600;
  color: var(--ink); line-height: 1.3; letter-spacing: .01em;
}
.member__role { display: block; font-size: 13.5px; color: var(--blue); font-weight: 600; line-height: 1.5; margin-top: 2px; }
.member__affil { display: block; font-size: 13.5px; color: var(--muted); line-height: 1.5; margin-top: 1px; }

/* ============ Contact cover section ============ */
.contact-cover {
  position: relative; padding: 110px 0; color: #fff; overflow: hidden;
}
.contact-cover__bg {
  position: absolute; inset: 0;
  background-image: var(--hero-img);
  background-size: cover; background-position: center;
  background-attachment: fixed;
}
.contact-cover__overlay { position: absolute; inset: 0; background: rgba(0,0,0,.62); }
.contact-cover .container { position: relative; z-index: 2; }
.contact-grid {
  display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(40px, 6vw, 90px);
  align-items: center;
}
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

.contact-kicker {
  display: inline-block; font-family: var(--font-alt); font-size: 13px; font-weight: 600;
  letter-spacing: .22em; text-transform: uppercase; color: #6fc3f2;
  margin-bottom: 12px;
}
.contact-cover h2 {
  color: #fff; font-size: clamp(28px, 3.2vw, 38px); font-weight: 600;
  letter-spacing: .06em; text-transform: uppercase; margin-bottom: 18px;
}
.contact-lede { color: rgba(255,255,255,.85); font-size: 16.5px; max-width: 460px; margin-bottom: 34px; }

.contact-items { list-style: none; display: grid; gap: 18px; }
.contact-items li { display: flex; align-items: center; gap: 16px; }
.contact-items__icon {
  flex: none; width: 50px; height: 50px; border-radius: 12px;
  display: grid; place-items: center; color: #7cc4ef;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.contact-items__icon svg { width: 22px; height: 22px; }
.contact-items b {
  display: block; font-family: var(--font-alt); font-size: 12px; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.6);
  margin-bottom: 2px;
}
.contact-items span > a { color: #fff; font-size: 16.5px; }
.contact-items span > a:hover { color: #7cc4ef; }
.contact-items li > span:last-child { font-size: 16.5px; color: #fff; }

.contact-panel {
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 16px; padding: clamp(26px, 3.4vw, 44px);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, .35);
}
.contact-form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 640px) { .contact-form .row { grid-template-columns: 1fr; } }
.contact-form input, .contact-form textarea {
  width: 100%; margin-bottom: 16px; padding: 14px 18px;
  background: rgba(8, 19, 56, .35); border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 8px; font-family: var(--font-body); font-size: 15px; color: #fff;
  transition: border-color .2s, background .2s, box-shadow .2s;
}
.contact-form input::placeholder, .contact-form textarea::placeholder { color: rgba(255,255,255,.55); }
.contact-form input:focus, .contact-form textarea:focus {
  outline: none; border-color: var(--blue); background: rgba(8, 19, 56, .55);
  box-shadow: 0 0 0 3px rgba(6, 147, 227, .25);
}
.contact-form textarea { min-height: 150px; resize: vertical; }
.contact-form button { border: none; cursor: pointer; width: 100%; }
.form-alert {
  margin-bottom: 20px; padding: 13px 18px; border-radius: 8px; font-size: 14.5px;
}
.form-alert--ok { background: rgba(34, 197, 94, .18); border: 1px solid rgba(34, 197, 94, .5); }
.form-alert--err { background: rgba(239, 68, 68, .16); border: 1px solid rgba(239, 68, 68, .5); }

/* ============ Inner page banner ============ */
.page-banner {
  position: relative; min-height: 340px; display: flex; align-items: flex-end;
  color: #fff; overflow: hidden;
}
.page-banner__bg {
  position: absolute; inset: 0;
  background-image: var(--banner-img);
  background-size: cover; background-position: center;
}
.page-banner__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(rgba(8,19,56,.35), rgba(8,19,56,.72));
}
.page-banner .container { position: relative; z-index: 2; padding-bottom: 42px; width: 100%; }
.page-banner h1 {
  color: #fff; font-size: clamp(28px, 3.6vw, 40px); font-weight: 600; letter-spacing: .04em;
}

/* ============ Content blocks (inner pages) ============ */
.content h2 {
  font-size: clamp(22px, 2.6vw, 29px); letter-spacing: .03em;
  margin: 46px 0 16px; color: var(--ink);
}
.content h2:first-child { margin-top: 0; }
.content h3 { font-size: 22px; margin: 30px 0 10px; }
.content h4 { font-size: 19px; margin: 26px 0 10px; font-family: var(--font-body); font-weight: 700; color: var(--ink); }
.content p { margin-bottom: 15px; }
.content ul { padding-left: 24px; margin: 8px 0 18px; }
.content li { margin-bottom: 7px; }
.content li > ul { margin: 7px 0 0; }
.content strong { color: var(--ink); }
.lead-label { font-size: 18px; font-weight: 700; color: var(--ink); margin: 26px 0 8px; }

/* Fees table */
.fees-table { width: 100%; border-collapse: collapse; margin: 20px 0 8px; font-size: 15px; }
.fees-table th, .fees-table td { border: 1px solid #d9d9d9; padding: 11px 16px; text-align: center; }
.fees-table thead th { background: var(--navy); color: #fff; font-family: var(--font-body); font-weight: 600; }
.fees-table thead tr:nth-child(2) th { background: #f1f5f9; color: var(--ink); font-weight: 600; }
.fees-table td:first-child, .fees-table th:first-child { text-align: left; }
.fees-table tbody tr:nth-child(even) { background: #fafafa; }
.table-note { font-size: 13.5px; color: var(--muted); font-style: italic; }
.table-scroll { overflow-x: auto; }

/* Publication links */
.pub-list { list-style: none; padding-left: 0 !important; }
.pub-list li { padding: 10px 14px; border-left: 3px solid var(--blue); background: #f8fafc; margin-bottom: 10px; }

/* ============ Footer ============ */
.site-footer {
  background: var(--footer); color: rgba(255,255,255,.85);
  text-align: center; padding: 20px 16px; font-size: 13.5px;
  font-family: var(--font-alt); letter-spacing: .03em;
}

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero__bg, .contact-cover__bg { background-attachment: scroll; }
}
/* iOS: fixed backgrounds unsupported */
@supports (-webkit-touch-callout: none) {
  .hero__bg, .contact-cover__bg { background-attachment: scroll; }
}

/* Default page content */
.entry-content { max-width: 900px; margin: 0 auto; }
.entry-content p { margin-bottom: 16px; }
