/* Replica of Tailwind preflight + the app's base layer, for static preview only */
*,::before,::after{box-sizing:border-box;border:0 solid #d5d5de}
html{line-height:1.5;-webkit-text-size-adjust:100%;scroll-behavior:smooth}
body{margin:0;min-width:320px;overflow-x:hidden;line-height:inherit;background:#fff;color:#4e4e70;font-family:var(--app-font-sans);-webkit-font-smoothing:antialiased}
h1,h2,h3,h4,p,blockquote,figure{margin:0}
h1,h2,h3{font-size:inherit;font-weight:inherit}
ul,ol{list-style:none;margin:0;padding:0}
a{color:inherit;text-decoration:inherit}
button{font:inherit;color:inherit;background:transparent;padding:0;margin:0}
img,svg{display:block;vertical-align:middle}
img{max-width:100%;height:auto}
[hidden]{display:none!important}
:root{--app-font-sans:'Matter','Inter','Myriad Pro',system-ui,-apple-system,'Segoe UI',sans-serif;--app-font-serif:'Gothia','Source Serif 4','Times New Roman',Times,serif;--app-font-mono:ui-monospace,Menlo,Consolas,monospace}

/* === Kenyon-inspired site styles ========================================= */

:root {
  --k-purple: #4b2e84;
  --k-navy: #151538;
  --k-slate: #4e4e70;
  --k-periwinkle: #8f80ff;
  --k-mist: #f3f7f7;
  --k-fog: #d5d5de;
  --k-white: #ffffff;
  --k-rule: rgba(78, 78, 112, 0.2);
  --k-rule-light: rgba(243, 247, 247, 0.2);
  --k-container: 1200px;
  --k-gutter: clamp(20px, 4vw, 32px);
  --k-header: 110px;
}

.k-container {
  width: min(var(--k-container), 100% - (var(--k-gutter) * 2));
  margin-inline: auto;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.site-wrap {
  position: relative;
  min-height: 100dvh;
  background: var(--k-white);
  color: var(--k-slate);
  font-family: var(--app-font-sans);
  font-size: 16px;
  line-height: 1.15;
}

.page-view {
  animation: page-in 600ms cubic-bezier(.22, .61, .36, 1) both;
}

@keyframes page-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Shared type styles ------------------------------------------------------ */

.k-title {
  margin: 0 0 10px;
  color: var(--k-navy);
  font-family: var(--app-font-serif);
  font-size: clamp(32px, 3.5vw, 42px);
  font-weight: 400;
  line-height: 1.26;
  letter-spacing: 0;
  text-wrap: balance;
}

.k-lede {
  max-width: 751px;
  margin: 0;
  color: var(--k-slate);
  font-size: clamp(18px, 1.6vw, 21px);
  line-height: 1.62;
}

.k-eyebrow {
  margin: 0 0 20px;
  color: var(--k-slate);
  font-family: var(--app-font-sans);
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 1px;
  line-height: 17px;
  text-transform: uppercase;
}

.k-eyebrow-light {
  color: var(--k-fog);
}

.k-action-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.k-action-link {
  display: block;
  padding: 10px 0;
  color: var(--k-navy);
  font-family: var(--app-font-serif);
  font-size: 21px;
  font-weight: 600;
  line-height: 1.25;
  text-decoration: none;
  text-decoration-color: var(--k-periwinkle);
  text-decoration-thickness: 2px;
  text-underline-offset: 6px;
  transition: color 180ms ease;
}

.k-action-link:hover,
.k-action-link:focus-visible {
  color: var(--k-purple);
  text-decoration-line: underline;
}

.k-action-link-light {
  color: var(--k-mist);
}

.k-action-link-light:hover,
.k-action-link-light:focus-visible {
  color: var(--k-periwinkle);
}

.k-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 30px;
  border: 0;
  border-radius: 0;
  background: var(--k-purple);
  color: var(--k-white);
  cursor: pointer;
  font-family: var(--app-font-sans);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .04em;
  line-height: 20px;
  text-decoration: none;
  text-transform: uppercase;
  transition: background-color 180ms ease, color 180ms ease;
}

.k-button:hover,
.k-button:focus-visible {
  background: var(--k-navy);
  color: var(--k-white);
}

.k-text-link {
  color: var(--k-slate);
  font-size: 16px;
  text-decoration: underline;
  text-decoration-color: var(--k-periwinkle);
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
  transition: color 180ms ease;
}

.k-text-link:hover,
.k-text-link:focus-visible {
  color: var(--k-purple);
}

/* Masthead ---------------------------------------------------------------- */

.masthead {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 10;
  width: 100%;
  color: var(--k-white);
}

.masthead-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--k-header);
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  color: inherit;
  text-decoration: none;
}

.brand-name {
  font-family: var(--app-font-serif);
  font-size: clamp(28px, 2.6vw, 34px);
  font-weight: 600;
  letter-spacing: -.01em;
  line-height: 1;
}

.mast-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.mast-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 38px;
  padding: 0 22px;
  border-radius: 500px;
  background: var(--k-mist);
  color: var(--k-purple);
  font-family: var(--app-font-sans);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.1;
  text-decoration: none;
  transition: background-color 180ms ease, color 180ms ease;
}

.mast-pill:hover,
.mast-pill:focus-visible {
  background: var(--k-white);
}

.mast-pill-primary {
  background: var(--k-purple);
  color: var(--k-white);
}

.mast-pill-primary:hover,
.mast-pill-primary:focus-visible {
  background: var(--k-navy);
  color: var(--k-white);
}

.menu-trigger {
  display: inline-flex;
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 50%;
  background: var(--k-mist);
  color: var(--k-purple);
  cursor: pointer;
  transition: background-color 180ms ease;
}

.menu-trigger:hover,
.menu-trigger:focus-visible {
  background: var(--k-white);
}

/* Hero (home) ------------------------------------------------------------- */

.hero,
.section-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--k-navy);
  color: var(--k-white);
}

.hero-background {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: var(--k-navy);
}

.hero-background img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 30%;
}

.hero-background::after {
  position: absolute;
  inset: 0;
  content: '';
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.6) 100%),
    linear-gradient(-17deg, rgba(0, 0, 0, 0) 48%, rgba(0, 0, 0, 0.47) 100%);
}

.hero-inner {
  display: flex;
  min-height: min(100dvh, 900px);
  flex-direction: column;
  justify-content: flex-end;
  padding: calc(var(--k-header) + 40px) 0 64px;
}

.hero-content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 253px;
  gap: 64px;
  align-items: end;
}

.hero-quote {
  max-width: 900px;
  margin: 0;
}

.hero-quote p {
  margin: 0;
  color: var(--k-white);
  font-family: var(--app-font-serif);
  font-size: clamp(32px, 4vw, 50px);
  font-weight: 400;
  line-height: 1.23;
  text-wrap: balance;
}

.hero-quote footer {
  margin-top: 22px;
  color: var(--k-fog);
  font-size: 16px;
  line-height: 1.4;
}

.hero-links-title {
  display: block;
  margin: 0 0 20px;
  color: var(--k-fog);
  font-family: var(--app-font-sans);
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 1px;
  line-height: 17px;
  text-transform: uppercase;
}

.hero-links-title::after {
  display: block;
  height: 1px;
  margin-top: 20px;
  content: '';
  background: var(--k-rule-light);
}

.hero-links .k-action-link {
  padding: 8px 0;
}

/* Highlight block (white) ------------------------------------------------- */

.highlight {
  background: var(--k-white);
  color: var(--k-slate);
}

.highlight-inner {
  padding: clamp(72px, 9vw, 120px) 0 0;
}

.highlight-header {
  max-width: 737px;
  margin-bottom: 36px;
}

.highlight-header .k-lede + .k-lede {
  margin-top: 18px;
}

.highlight-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: clamp(40px, 7vw, 92px);
  align-items: start;
  padding-bottom: clamp(72px, 9vw, 120px);
}

.highlight-media {
  margin: 0;
  aspect-ratio: 829 / 502;
  overflow: hidden;
  background: var(--k-mist);
}

.highlight-media img,
.gallery-figure img,
.story-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 30%;
}

.highlight-actions {
  padding-top: 8px;
}

/* Gallery (navy) ---------------------------------------------------------- */

.gallery {
  padding: 80px 0;
  background: var(--k-navy);
  color: var(--k-white);
}

.gallery-header {
  max-width: 751px;
  margin-bottom: 40px;
}

.gallery .k-title {
  color: var(--k-white);
}

.gallery .k-lede {
  color: var(--k-white);
}

.gallery-items {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 48px 20px;
}

.gallery-item {
  display: block;
  color: var(--k-white);
  text-decoration: none;
}

.gallery-figure {
  margin: 0;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--k-mist);
}

.gallery-figure img {
  transition: transform 500ms cubic-bezier(.22, .61, .36, 1);
}

.gallery-item:hover .gallery-figure img,
.gallery-item:focus-visible .gallery-figure img {
  transform: scale(1.03);
}

.gallery-index {
  margin: 20px 0 6px;
  color: var(--k-fog);
  font-size: 14px;
  letter-spacing: 1px;
  line-height: 22px;
  text-transform: uppercase;
}

.gallery-item-title {
  margin: 0 0 8px;
  font-family: var(--app-font-serif);
  font-size: clamp(22px, 2vw, 28px);
  font-weight: 600;
  line-height: 1.2;
  text-decoration: underline;
  text-decoration-color: transparent;
  text-decoration-thickness: 2px;
  text-underline-offset: 6px;
  transition: text-decoration-color 180ms ease, color 180ms ease;
}

.gallery-item:hover .gallery-item-title,
.gallery-item:focus-visible .gallery-item-title {
  color: var(--k-periwinkle);
  text-decoration-color: var(--k-periwinkle);
}

.gallery-caption {
  max-width: 820px;
  margin: 0;
  color: var(--k-fog);
  font-size: 14px;
  line-height: 22px;
}

/* Rich-text block (white) ------------------------------------------------- */

.wysiwyg {
  padding: 80px 0;
  background: var(--k-white);
}

.wysiwyg-inner {
  max-width: 751px;
}

.wysiwyg .k-lede {
  margin-bottom: 20px;
}

.wysiwyg .k-button {
  margin-top: 10px;
}

/* Footer ------------------------------------------------------------------ */

.footer {
  padding: 60px 0;
  border-top: 1px solid var(--k-rule);
  background: var(--k-white);
  color: var(--k-slate);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr repeat(2, minmax(0, 1fr));
  gap: 40px;
}

.footer-brand .brand-name {
  display: block;
  color: var(--k-navy);
}

.footer-tagline {
  display: block;
  margin: 18px 0 0;
  color: var(--k-purple);
  font-family: var(--app-font-serif);
  font-size: 21px;
  font-weight: 800;
  line-height: 38px;
}

.footer-nav h2 {
  margin: 0 0 14px;
  color: var(--k-slate);
  font-family: var(--app-font-sans);
  font-size: 14px;
  font-weight: 400;
  letter-spacing: .3px;
  line-height: 16px;
}

.footer-nav ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-nav a {
  display: inline-block;
  padding: 6px 0;
  color: var(--k-slate);
  font-size: 16px;
  line-height: 1.4;
  text-decoration: none;
  transition: color 180ms ease;
}

.footer-nav a:hover,
.footer-nav a:focus-visible {
  color: var(--k-purple);
  text-decoration: underline;
  text-decoration-color: var(--k-periwinkle);
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--k-rule);
  font-size: 14px;
  line-height: 22px;
}

.footer-bottom p {
  margin: 0;
}

/* Menu overlay ------------------------------------------------------------ */

.menu-overlay {
  position: fixed;
  z-index: 40;
  inset: 0;
  overflow-y: auto;
  background: var(--k-navy);
  color: var(--k-white);
  animation: overlay-in 260ms ease both;
}

@keyframes overlay-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

.menu-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--k-header);
}

.close-menu {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 34px;
  padding: 0 14px 0 18px;
  border: 0;
  border-radius: 500px;
  background: var(--k-mist);
  color: var(--k-navy);
  cursor: pointer;
  font-family: var(--app-font-sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: background-color 180ms ease;
}

.close-menu:hover,
.close-menu:focus-visible {
  background: var(--k-white);
}

.menu-body {
  padding: 16px 0 80px;
}

.menu-title {
  margin: 0 0 12px;
  padding-top: 12px;
  color: var(--k-periwinkle);
  font-family: var(--app-font-serif);
  font-size: 32px;
  font-weight: 600;
  line-height: 1.4;
}

.menu-list {
  max-width: 900px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.menu-link {
  display: flex;
  align-items: baseline;
  gap: 18px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  color: var(--k-white);
  font-family: var(--app-font-serif);
  font-size: clamp(26px, 3.6vw, 40px);
  font-weight: 600;
  line-height: 1.15;
  text-decoration: none;
  transition: color 180ms ease;
}

.menu-link span {
  min-width: 2.2em;
  color: var(--k-periwinkle);
  font-family: var(--app-font-sans);
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.menu-link:hover,
.menu-link:focus-visible {
  color: var(--k-periwinkle);
}

.menu-secondary {
  display: flex;
  flex-wrap: wrap;
  gap: 0 24px;
  margin-top: 36px;
}

.menu-secondary a {
  display: inline-block;
  padding: 14px 0;
  color: var(--k-white);
  font-size: 16px;
  line-height: 1.4;
  text-decoration: underline;
  text-decoration-color: var(--k-periwinkle);
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}

.menu-secondary a:hover,
.menu-secondary a:focus-visible {
  color: var(--k-periwinkle);
}

/* Section pages ----------------------------------------------------------- */

.section-hero-inner {
  display: flex;
  min-height: min(72dvh, 680px);
  flex-direction: column;
  justify-content: flex-end;
  padding: calc(var(--k-header) + 40px) 0 64px;
}

.section-title {
  max-width: 900px;
  margin: 0;
  color: var(--k-white);
  font-family: var(--app-font-serif);
  font-size: clamp(34px, 4.4vw, 54px);
  font-weight: 400;
  line-height: 1.18;
  text-wrap: balance;
}

.section-hero .k-eyebrow {
  margin-bottom: 24px;
}

.wysiwyg-lede {
  padding: 64px 0 24px;
}

.stories {
  padding-bottom: 24px;
}

.story {
  padding: clamp(56px, 7vw, 88px) 0;
}

.story + .story {
  border-top: 1px solid var(--k-rule);
}

.story-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(40px, 7vw, 92px);
  align-items: center;
}

.story.has-image .story-inner {
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
}

.story-media {
  margin: 0;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--k-mist);
}

.story.story-flip .story-media {
  order: 2;
}

.story:not(.has-image) .story-inner {
  max-width: 751px;
}

.story-title {
  margin: 0 0 20px;
  color: var(--k-navy);
  font-family: var(--app-font-serif);
  font-size: clamp(28px, 2.6vw, 34px);
  font-weight: 400;
  line-height: 1.24;
  text-wrap: balance;
}

.story-body {
  max-width: 620px;
  margin: 0;
  color: var(--k-slate);
  font-size: 18px;
  line-height: 1.7;
  white-space: pre-line;
}

.return-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 0 88px;
}

/* Not found --------------------------------------------------------------- */

.not-found {
  display: flex;
  min-height: 100dvh;
  flex-direction: column;
  justify-content: center;
  background: var(--k-navy);
  color: var(--k-white);
}

.not-found-inner {
  padding: calc(var(--k-header) + 24px) 0 80px;
}

.not-found .section-title {
  margin-bottom: 24px;
}

.not-found p {
  max-width: 560px;
  margin: 0 0 32px;
  color: var(--k-fog);
  font-size: 18px;
  line-height: 1.6;
}

/* Responsive -------------------------------------------------------------- */

@media (max-width: 1024px) {
  .highlight-body {
    grid-template-columns: minmax(0, 1fr) 220px;
  }
  .hero-content {
    grid-template-columns: minmax(0, 1fr) 220px;
    gap: 40px;
  }
}

@media (max-width: 760px) {
  :root {
    --k-header: 80px;
  }
  .mast-pill { display: none; }
  .hero-inner {
    min-height: 100svh;
    padding-bottom: 48px;
  }
  .hero-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hero-background img { object-position: 60% 25%; }
  .hero-quote p { font-size: clamp(30px, 8.5vw, 40px); }
  .highlight-body {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .gallery { padding: 64px 0; }
  .gallery-items {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .wysiwyg { padding: 64px 0; }
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 8px;
  }
  .menu-link { gap: 14px; padding: 14px 0; }
  .menu-title { font-size: 26px; }
  .section-hero-inner {
    min-height: 68svh;
    padding-bottom: 44px;
  }
  .story.has-image .story-inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .story.story-flip .story-media { order: 0; }
  .story-media { aspect-ratio: 4 / 3; }
  .story-body { font-size: 17px; }
  .return-row {
    flex-wrap: wrap;
    padding-bottom: 64px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
