:root {
  color-scheme: light;
  --paper: #fffefa;
  --ink: #15283a;
  --muted: #67717a;
  --line: rgba(21, 40, 58, .14);
  --yellow: #f6dc3e;
  --coral: #df426f;
  --blue: #2aa9bf;
}

* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; background: var(--paper); }
body { color: var(--ink); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
a { color: inherit; }

.page-shell {
  position: relative;
  isolation: isolate;
  display: flex;
  min-height: 100svh;
  flex-direction: column;
  overflow: hidden;
  padding: clamp(1.4rem, 3vw, 2.7rem) clamp(1.4rem, 5vw, 6rem) 1.6rem;
  background-color: var(--paper);
  background-image: url("/assets/images/cecil-wise-background.png");
  background-position: center;
  background-size: cover;
  animation: reveal 900ms cubic-bezier(.2,.8,.2,1) both;
}

.page-shell::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  content: "";
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(255,254,250,.36), transparent 55%),
    linear-gradient(180deg, rgba(255,254,250,.3), transparent 19%, transparent 70%, rgba(255,254,250,.91));
}

.site-header,
.site-footer__base {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.wordmark { visibility: hidden; display: flex; align-items: baseline; gap: .25rem; text-decoration: none; text-transform: uppercase; letter-spacing: -.05em; font-size: clamp(1.4rem, 2.4vw, 2.35rem); line-height: 1; }
.wordmark span { font-family: Georgia, "Times New Roman", serif; font-style: italic; font-weight: 400; }
.wordmark strong { font-weight: 850; }
.site-header p { display: flex; align-items: center; gap: .7rem; margin: 0; color: var(--muted); text-transform: uppercase; letter-spacing: .16em; font-size: .61rem; font-weight: 750; }
.site-header i { width: .45rem; height: .45rem; border-radius: 50%; background: var(--coral); box-shadow: 0 0 0 .32rem rgba(223, 66, 111, .09); }

.hero { display: flex; flex: 1; align-items: center; }
.hero__copy { width: min(46rem, 48vw); margin-top: -4vh; padding-left: clamp(1rem, 4vw, 5rem); animation: copy-in 900ms 180ms cubic-bezier(.2,.8,.2,1) both; }
.eyebrow { margin: 0 0 1.05rem; color: var(--coral); text-transform: uppercase; letter-spacing: .2em; font-size: .67rem; font-weight: 850; }
h1 { margin: 0; color: #24262b; font-family: Georgia, "Times New Roman", serif; font-size: clamp(4.4rem, 8vw, 9.2rem); font-weight: 400; line-height: .86; letter-spacing: -.055em; text-transform: uppercase; }
.lede { margin: 1.2rem 0 0; color: #35383c; font-family: Georgia, "Times New Roman", serif; font-size: clamp(1.25rem, 2vw, 2rem); line-height: 1.25; }

.site-footer { display: flex; align-items: flex-end; justify-content: space-between; gap: 2.5rem; color: #7d8589; }
.site-footer__base { padding-bottom: .7rem; text-transform: uppercase; letter-spacing: .13em; font-size: .58rem; font-weight: 750; }
.partner { display: flex; align-items: center; justify-content: center; gap: 1.5rem; text-align: right; }
.partner__copy { display: grid; gap: .35rem; min-width: 22rem; text-transform: uppercase; }
.partner__copy strong { color: var(--coral); font-size: .66rem; letter-spacing: .19em; }
.partner__copy span { color: #495963; font-size: .79rem; letter-spacing: .07em; }
.partner a { display: inline-flex; opacity: .92; transition: opacity 180ms ease, transform 180ms ease; }
.partner a:hover, .partner a:focus-visible { opacity: 1; transform: translateY(-2px); }
.partner img { width: auto; height: 4.35rem; }

@keyframes reveal { from { opacity: 0; filter: saturate(.85); transform: scale(1.012); } to { opacity: 1; filter: none; transform: none; } }
@keyframes copy-in { from { opacity: 0; transform: translateY(1rem); } to { opacity: 1; transform: none; } }

@media (max-width: 620px) {
  .page-shell { min-height: 100svh; background-position: 78% center; }
  .page-shell::before { background: linear-gradient(180deg, rgba(255,254,250,.55), transparent 25%, transparent 55%, rgba(255,254,250,.96) 78%); }
  .site-header p { font-size: .52rem; }
  .site-header p i { display: none; }
  .hero { align-items: flex-end; }
  .hero__copy { width: 100%; margin: 0 0 1.8rem; padding-left: 0; }
  h1 { font-size: clamp(3.4rem, 17vw, 5rem); }
  .lede { margin-top: .7rem; font-size: 1.18rem; }
  .site-footer { align-items: flex-start; flex-direction: column; gap: 1.2rem; }
  .site-footer__base { align-items: flex-start; flex-direction: column; }
  .partner { align-items: flex-start; flex-direction: column; gap: .5rem; text-align: left; }
  .partner__copy { min-width: 0; }
  .partner__copy span { max-width: 19rem; }
  .partner img { height: 3rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
