:root {
  color-scheme: light;
  --ink: #2c2234;
  --muted: #706877;
  --paper: #f8f5f0;
  --panel: #fffdf9;
  --line: #ded5df;
  --plum: #65467b;
  --plum-deep: #3d2c48;
  --plum-soft: #eee7f1;
  --sage: #dfe5d7;
  --rose: #e8d7d4;
  --shadow: 0 24px 70px rgba(57, 39, 66, .12);
  --display: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Palatino, serif;
  --body: "Avenir Next", Avenir, "Segoe UI", sans-serif;
  font-family: var(--body);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background:
    radial-gradient(circle at 92% 4%, rgba(223, 229, 215, .7), transparent 25rem),
    var(--paper);
  color: var(--ink);
  font-family: var(--body);
  text-rendering: optimizeLegibility;
}
a { color: inherit; }
img { display: block; max-width: 100%; }

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 100;
  transform: translateY(-160%);
  border-radius: 10px;
  background: var(--ink);
  padding: 10px 14px;
  color: white;
}
.skip-link:focus { transform: translateY(0); }
:focus-visible { outline: 3px solid #a980bf; outline-offset: 4px; }

.shell { width: min(1160px, calc(100% - 48px)); margin: 0 auto; }
.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(222, 213, 223, .8);
  background: rgba(248, 245, 240, .88);
  backdrop-filter: blur(18px);
}
.nav__inner { min-height: 74px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--ink); font-size: 15px; font-weight: 700; letter-spacing: -.02em; text-decoration: none; }
.brand img { width: 42px; height: 42px; border-radius: 13px; box-shadow: 0 8px 20px rgba(57, 39, 66, .15); }
.nav__links { display: flex; align-items: center; gap: 24px; color: var(--muted); font-size: 14px; font-weight: 600; }
.nav__links a, .footer__links a { text-decoration: none; }
.nav__links > a:not(.button):hover, .footer__links a:hover, .text-link:hover { color: var(--plum); }

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--plum);
  border-radius: 999px;
  background: var(--plum);
  padding: 0 23px;
  color: white;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 12px 28px rgba(82, 55, 99, .2);
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.button:hover { transform: translateY(-2px); box-shadow: 0 16px 34px rgba(82, 55, 99, .26); }
.button--small { min-height: 40px; padding: 0 17px; }
.button--quiet { border-color: var(--line); background: rgba(255, 253, 249, .85); color: var(--plum); box-shadow: none; }
.button--light { border-color: white; background: white; color: var(--plum-deep); box-shadow: none; }
.text-link { display: inline-flex; align-items: center; gap: 8px; color: var(--plum); font-size: 14px; font-weight: 700; text-decoration: none; }

.hero { overflow: hidden; padding: 94px 0 104px; }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.03fr) minmax(390px, .97fr); align-items: center; gap: clamp(56px, 8vw, 112px); }
.hero__copy { position: relative; z-index: 2; }
.eyebrow { margin: 0 0 18px; color: #765d84; font-size: 11px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }
h1, h2, h3 { margin-top: 0; color: var(--ink); }
h1, h2 { font-family: var(--display); font-weight: 600; letter-spacing: -.045em; }
h1 { max-width: 720px; margin-bottom: 26px; font-size: clamp(52px, 7.2vw, 88px); line-height: .94; }
h2 { margin-bottom: 18px; font-size: clamp(36px, 4.8vw, 58px); line-height: .98; }
h3 { margin-bottom: 10px; font-size: 20px; font-weight: 700; letter-spacing: -.025em; }
.lede { max-width: 610px; margin: 0; color: var(--muted); font-size: clamp(17px, 2vw, 20px); line-height: 1.7; }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; margin-top: 34px; }
.hero__uses { display: flex; flex-wrap: wrap; gap: 10px; margin: 40px 0 0; padding: 0; list-style: none; }
.hero__uses li { border: 1px solid var(--line); border-radius: 999px; background: rgba(255, 253, 249, .58); padding: 8px 13px; color: var(--muted); font-size: 12px; font-weight: 600; }

.pattern-stack { position: relative; min-height: 540px; }
.pattern-stack::before { content: ""; position: absolute; inset: 8% -18% -7% 8%; border-radius: 46% 54% 48% 52%; background: var(--sage); transform: rotate(-5deg); }
.pattern-stack figure { margin: 0; overflow: hidden; background: var(--plum-soft); box-shadow: var(--shadow); }
.pattern-stack img { width: 100%; height: 100%; object-fit: cover; }
.pattern-stack__main { position: absolute; inset: 30px 44px 34px 24px; z-index: 2; border: 12px solid var(--panel); border-radius: 44% 56% 48% 52% / 46% 43% 57% 54%; transform: rotate(2deg); }
.pattern-stack__tile { position: absolute; z-index: 3; width: 144px; aspect-ratio: 1; border: 8px solid var(--panel); border-radius: 28px; }
.pattern-stack__tile--top { top: 4px; right: -14px; transform: rotate(8deg); }
.pattern-stack__tile--bottom { right: 0; bottom: 0; transform: rotate(-7deg); }
.pattern-stack__label { position: absolute; bottom: 40px; left: -18px; z-index: 4; border: 1px solid rgba(255, 255, 255, .24); border-radius: 999px; background: var(--plum-deep); padding: 12px 16px; color: white; font-size: 12px; font-weight: 700; letter-spacing: .04em; box-shadow: 0 12px 30px rgba(47, 32, 57, .2); }

.section { padding: 96px 0; }
.section--compact { padding-top: 38px; }
.section--tint { border-block: 1px solid rgba(222, 213, 223, .72); background: rgba(238, 231, 241, .52); }
.section__head { max-width: 760px; margin-bottom: 46px; }
.section__head--split { max-width: none; display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(280px, .65fr); align-items: end; gap: 60px; }
.section__head p:last-child { margin: 0; color: var(--muted); font-size: 17px; line-height: 1.75; }
.journey-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.journey-card { position: relative; min-height: 278px; overflow: hidden; border: 1px solid var(--line); border-radius: 30px; background: rgba(255, 253, 249, .9); padding: 30px; }
.journey-card::after { content: ""; position: absolute; right: -50px; bottom: -58px; width: 150px; height: 150px; border: 1px solid var(--line); border-radius: 50%; background: var(--plum-soft); opacity: .65; }
.journey-card:nth-child(2)::after { background: var(--sage); }
.journey-card:nth-child(3)::after { background: var(--rose); }
.journey-card__number { display: inline-flex; height: 42px; min-width: 42px; align-items: center; justify-content: center; border-radius: 50%; background: var(--ink); color: white; font-size: 12px; font-weight: 800; }
.journey-card h3 { margin-top: 54px; }
.journey-card p { position: relative; z-index: 1; max-width: 290px; margin: 0; color: var(--muted); font-size: 15px; line-height: 1.7; }

.gallery-section { background: var(--panel); }
.gallery { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: 160px; gap: 14px; }
.gallery__item { position: relative; grid-column: span 4; grid-row: span 2; margin: 0; overflow: hidden; border-radius: 28px; background: var(--plum-soft); }
.gallery__item--large { grid-column: span 6; grid-row: span 3; }
.gallery__item--wide { grid-column: span 5; }
.gallery__item:last-child { grid-column: span 3; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s ease; }
.gallery__item:hover img { transform: scale(1.035); }
.gallery figcaption { position: absolute; inset: auto auto 14px 14px; border-radius: 999px; background: rgba(42, 31, 48, .78); padding: 9px 13px; color: white; font-size: 11px; font-weight: 700; letter-spacing: .04em; backdrop-filter: blur(12px); }

.library-card { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, .72fr); align-items: center; gap: 60px; overflow: hidden; border-radius: 42px; background: var(--plum-deep); padding: clamp(34px, 6vw, 72px); color: white; }
.library-card .eyebrow, .library-card h2 { color: white; }
.library-card__copy p:not(.eyebrow) { max-width: 610px; margin: 0 0 30px; color: rgba(255, 255, 255, .7); font-size: 17px; line-height: 1.75; }
.library-card__art { position: relative; min-height: 300px; }
.library-card__art img { position: absolute; width: min(72%, 260px); aspect-ratio: 1; border: 9px solid rgba(255, 255, 255, .9); border-radius: 28px; object-fit: cover; box-shadow: 0 24px 50px rgba(0, 0, 0, .2); }
.library-card__art img:first-child { top: 0; right: 5%; transform: rotate(7deg); }
.library-card__art img:last-child { bottom: 0; left: 0; transform: rotate(-8deg); }

.legal { padding: 76px 0 110px; }
.legal__head { max-width: 820px; margin-bottom: 46px; }
.legal__head h1 { margin-bottom: 22px; font-size: clamp(50px, 7vw, 78px); }
.legal__meta { max-width: 680px; margin: 0; color: var(--muted); font-size: 16px; line-height: 1.7; }
.legal__body { max-width: 900px; border: 1px solid var(--line); border-radius: 32px; background: rgba(255, 253, 249, .92); padding: clamp(28px, 6vw, 64px); box-shadow: 0 20px 56px rgba(57, 39, 66, .07); }
.legal__body h2 { margin: 48px 0 16px; font-family: var(--display); font-size: clamp(26px, 3vw, 34px); font-weight: 600; letter-spacing: -.025em; }
.legal__body h2:first-child { margin-top: 0; }
.legal__body h3 { margin: 28px 0 10px; font-size: 17px; letter-spacing: -.015em; }
.legal__body p, .legal__body li { color: #635b68; font-size: 16px; line-height: 1.82; }
.legal__body ul, .legal__body ol { padding-left: 22px; }
.legal__body li + li { margin-top: 9px; }
.legal__body strong { color: var(--ink); }
.legal__body a { color: var(--plum); text-underline-offset: 3px; }
.note { border-left: 4px solid var(--plum); border-radius: 0 16px 16px 0; background: var(--plum-soft); padding: 17px 20px; }

.footer { border-top: 1px solid var(--line); padding: 38px 0; color: var(--muted); font-size: 13px; }
.footer__inner { display: flex; justify-content: space-between; gap: 26px; }
.footer__links { display: flex; flex-wrap: wrap; gap: 20px; }

@media (max-width: 940px) {
  .hero { padding-top: 74px; }
  .hero__grid { grid-template-columns: 1fr; }
  .pattern-stack { width: min(100%, 620px); min-height: 560px; }
  .section__head--split, .library-card { grid-template-columns: 1fr; }
  .section__head--split { align-items: start; gap: 10px; }
  .journey-grid { grid-template-columns: 1fr 1fr; }
  .journey-card:last-child { grid-column: 1 / -1; min-height: 230px; }
  .library-card__art { max-width: 480px; width: 100%; }
}

@media (max-width: 680px) {
  .shell { width: min(100% - 30px, 1160px); }
  .nav__inner { min-height: 66px; }
  .brand span { max-width: 138px; line-height: 1.1; }
  .nav__links { gap: 10px; }
  .nav__links > a:not(.button) { display: none; }
  .button--small { min-height: 38px; padding-inline: 14px; }
  .hero { padding: 58px 0 74px; }
  .hero__grid { gap: 42px; }
  h1 { font-size: clamp(48px, 15vw, 68px); }
  .hero__actions { align-items: flex-start; flex-direction: column; gap: 16px; }
  .pattern-stack { min-height: 390px; }
  .pattern-stack__main { inset: 24px 34px 24px 12px; border-width: 8px; }
  .pattern-stack__tile { width: 96px; border-width: 6px; border-radius: 20px; }
  .pattern-stack__tile--top { right: -4px; }
  .pattern-stack__tile--bottom { right: 2px; }
  .pattern-stack__label { bottom: 20px; left: 0; }
  .section { padding: 72px 0; }
  .section--compact { padding-top: 18px; }
  .section__head { margin-bottom: 34px; }
  .journey-grid { grid-template-columns: 1fr; }
  .journey-card, .journey-card:last-child { grid-column: auto; min-height: 230px; padding: 24px; }
  .journey-card h3 { margin-top: 38px; }
  .gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: auto; gap: 10px; }
  .gallery__item, .gallery__item--large, .gallery__item--wide, .gallery__item:last-child { grid-column: auto; grid-row: auto; aspect-ratio: 1; border-radius: 20px; }
  .gallery__item--large { grid-column: 1 / -1; aspect-ratio: 1.45; }
  .gallery figcaption { bottom: 9px; left: 9px; }
  .library-card { gap: 28px; border-radius: 30px; }
  .library-card__art { min-height: 230px; }
  .legal { padding: 54px 0 80px; }
  .legal__head { margin-bottom: 32px; }
  .legal__head h1 { font-size: 48px; }
  .legal__body { border-radius: 24px; }
  .legal__body h2 { margin-top: 38px; }
  .footer__inner { flex-direction: column; }
}

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