:root {
  color-scheme: light;
  --navy: #0f1b2d;
  --gold: #c8a23a;
  --pollen: #f4d35e;
  --olive: #5b6b3f;
  --bark: #4a3526;
  --ivory: #f6f1e6;
  --white: #fffaf1;
  --muted: rgba(15, 27, 45, 0.66);
  --line: rgba(15, 27, 45, 0.18);
  --line-light: rgba(246, 241, 230, 0.24);
  --font-sans: "Avenir Next", "Segoe UI", Arial, Helvetica, sans-serif;
  --font-serif: Georgia, "Times New Roman", serif;
  --font-symbol: "Segoe UI Symbol", "Apple Symbols", "Arial Unicode MS", sans-serif;
  --pad: clamp(24px, 5vw, 76px);
  --ease: cubic-bezier(0.2, 0.72, 0, 1);
}

* {
  box-sizing: border-box;
  letter-spacing: 0;
}

html,
body {
  min-height: 100%;
  margin: 0;
}

body {
  color: var(--navy);
  background: var(--ivory);
  font-family: var(--font-sans);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  color: inherit;
  font: inherit;
}

img {
  display: block;
  max-width: 100%;
}

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 4px;
}

::selection {
  color: var(--navy);
  background: var(--pollen);
}

.deck-body {
  height: 100svh;
  overflow: hidden;
  background: var(--navy);
}

.deck {
  height: 100svh;
  position: relative;
}

.slide {
  position: absolute;
  inset: 0;
  display: none;
  min-height: 100svh;
  overflow: hidden;
  background: var(--ivory);
}

.slide.is-active {
  display: block;
  animation: slide-in 420ms var(--ease) both;
}

@keyframes slide-in {
  from {
    opacity: 0;
    transform: translateY(12px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.slide-inner {
  width: 100%;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  padding: clamp(76px, 9vh, 112px) var(--pad) clamp(86px, 10vh, 118px);
}

.slide-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
}

.slide-topline span:first-child {
  color: var(--gold);
}

.slide-heading {
  max-width: 1040px;
  margin: clamp(44px, 8vh, 94px) 0 0;
  font-family: var(--font-serif);
  font-size: clamp(3.25rem, 6.6vw, 7.2rem);
  font-weight: 400;
  line-height: 0.92;
}

.slide-heading em {
  color: var(--olive);
  font-weight: 400;
}

.slide-lead {
  max-width: 760px;
  margin: 30px 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.45vw, 1.32rem);
  line-height: 1.65;
}

.slide-footer {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  margin-top: auto;
  padding-top: 34px;
  border-top: 1px solid var(--line);
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
}

.slide-footer span:last-child {
  color: var(--gold);
}

.cover {
  color: var(--ivory);
  background: var(--navy);
}

.cover-media,
.cover-overlay {
  position: absolute;
  inset: 0;
}

.cover-media {
  z-index: 0;
}

.cover-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 48%;
}

.cover-overlay {
  z-index: 1;
  background: rgba(15, 27, 45, 0.64);
}

.cover .slide-inner {
  position: relative;
  z-index: 2;
}

.cover-brand {
  width: clamp(142px, 14vw, 214px);
  height: auto;
  filter: brightness(0) invert(1);
}

.cover-kicker {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  margin-top: 32px;
  padding-top: 18px;
  border-top: 1px solid var(--line-light);
  color: rgba(246, 241, 230, 0.74);
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
}

.cover h1 {
  max-width: 1100px;
  margin: auto 0 0;
  font-family: var(--font-serif);
  font-size: clamp(4.2rem, 9.2vw, 10rem);
  font-weight: 400;
  line-height: 0.86;
}

.cover h1 em {
  display: block;
  color: var(--pollen);
  font-weight: 400;
}

.cover-summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.4fr);
  align-items: end;
  gap: 50px;
  margin-top: 44px;
}

.cover-summary p {
  max-width: 680px;
  margin: 0;
  color: rgba(246, 241, 230, 0.82);
  font-size: clamp(1rem, 1.35vw, 1.25rem);
}

.cover-summary span {
  justify-self: end;
  color: var(--pollen);
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
}

.split-slide .slide-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(440px, 1.12fr);
  grid-template-rows: auto 1fr auto;
  gap: 0 7vw;
}

.split-slide .slide-topline,
.split-slide .slide-footer {
  grid-column: 1 / -1;
}

.split-intro {
  align-self: center;
}

.split-intro .slide-heading {
  margin-top: 0;
  font-size: clamp(3.15rem, 5.4vw, 6.4rem);
}

.split-content {
  align-self: center;
  border-top: 1px solid var(--line);
}

.service-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.service-list li {
  min-height: 66px;
  display: grid;
  grid-template-columns: 34px 1fr;
  align-items: center;
  gap: 14px;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-serif);
  font-size: clamp(1.25rem, 2vw, 2.1rem);
  line-height: 1.08;
}

.service-list b {
  color: var(--gold);
  font-family: var(--font-sans);
  font-size: 0.62rem;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin-top: auto;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.category-grid article {
  min-height: clamp(230px, 32vh, 350px);
  display: flex;
  flex-direction: column;
  padding: clamp(24px, 2.6vw, 42px);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.category-grid span,
.offer-grid span,
.process-grid span,
.case-grid span {
  color: var(--gold);
  font-size: 0.62rem;
  font-weight: 800;
  text-transform: uppercase;
}

.category-grid h3 {
  margin: auto 0 0;
  font-family: var(--font-serif);
  font-size: clamp(1.55rem, 2.35vw, 2.8rem);
  font-weight: 400;
  line-height: 1;
}

.category-grid p {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.55;
}

.offer-grid,
.case-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: auto;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.offer-grid article,
.case-grid article {
  min-height: clamp(190px, 28vh, 290px);
  padding: clamp(22px, 2.6vw, 40px);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.offer-grid h3,
.case-grid h3 {
  margin: 32px 0 0;
  font-family: var(--font-serif);
  font-size: clamp(1.55rem, 2.5vw, 3rem);
  font-weight: 400;
  line-height: 1;
}

.offer-grid p,
.case-grid p {
  margin: 18px 0 0;
  color: var(--muted);
  line-height: 1.55;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: auto;
  border-top: 1px solid var(--line);
}

.process-grid article {
  min-height: clamp(210px, 31vh, 330px);
  padding: clamp(24px, 3vw, 46px);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.process-grid article:last-child {
  border-right: 0;
}

.process-grid h3 {
  margin: 46px 0 0;
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3vw, 3.6rem);
  font-weight: 400;
  line-height: 1;
}

.process-grid p {
  margin: 20px 0 0;
  color: var(--muted);
  line-height: 1.6;
}

.dark-slide {
  color: var(--ivory);
  background: var(--navy);
}

.olive-slide {
  color: var(--ivory);
  background: var(--olive);
}

.dark-slide .slide-topline,
.dark-slide .slide-footer,
.olive-slide .slide-topline,
.olive-slide .slide-footer,
.dark-slide .process-grid,
.olive-slide .process-grid,
.dark-slide .process-grid article,
.olive-slide .process-grid article {
  border-color: var(--line-light);
}

.dark-slide .slide-heading em,
.olive-slide .slide-heading em {
  color: var(--pollen);
}

.dark-slide .slide-lead,
.olive-slide .slide-lead,
.dark-slide .process-grid p,
.olive-slide .process-grid p {
  color: rgba(246, 241, 230, 0.7);
}

.contact-slide {
  color: var(--ivory);
  background: var(--olive);
}

.contact-slide .slide-inner {
  justify-content: space-between;
}

.contact-slide .cover-brand {
  filter: brightness(0) invert(1);
}

.contact-slide h2 {
  max-width: 1100px;
  margin: auto 0;
  font-family: var(--font-serif);
  font-size: clamp(4rem, 8.8vw, 9.5rem);
  font-weight: 400;
  line-height: 0.88;
}

.contact-slide h2 em {
  display: block;
  color: var(--pollen);
  font-weight: 400;
}

.contact-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding-top: 26px;
  border-top: 1px solid var(--line-light);
  font-size: clamp(1rem, 1.7vw, 1.55rem);
}

.contact-line span:last-child {
  color: var(--pollen);
  font-family: var(--font-symbol);
  font-size: 1.25rem;
  font-weight: 400;
  line-height: 1;
}

.deck-chrome {
  position: fixed;
  right: 18px;
  bottom: 18px;
  left: 18px;
  z-index: 50;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  pointer-events: none;
}

.deck-progress {
  align-self: end;
  width: min(320px, 24vw);
  height: 3px;
  overflow: hidden;
  background: rgba(246, 241, 230, 0.34);
}

.deck-progress i {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--pollen);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 260ms var(--ease);
}

.deck-controls {
  display: flex;
  gap: 7px;
  padding: 7px;
  background: rgba(15, 27, 45, 0.9);
  border: 1px solid rgba(246, 241, 230, 0.2);
  border-radius: 4px;
  backdrop-filter: blur(12px);
  pointer-events: auto;
}

.deck-controls button,
.deck-controls a {
  min-width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  padding: 0 12px;
  color: var(--ivory);
  background: transparent;
  border: 0;
  border-radius: 2px;
  cursor: pointer;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
}

.deck-controls button:hover,
.deck-controls a:hover {
  color: var(--navy);
  background: var(--pollen);
}

.deck-controls button:disabled {
  opacity: 0.34;
  cursor: default;
}

.deck-controls button:disabled:hover {
  color: var(--ivory);
  background: transparent;
}

.deck-controls [data-prev],
.deck-controls [data-next] {
  font-family: var(--font-symbol);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1;
}

.deck-count {
  justify-self: end;
  padding: 11px 14px;
  color: var(--ivory);
  background: rgba(15, 27, 45, 0.9);
  border: 1px solid rgba(246, 241, 230, 0.2);
  border-radius: 3px;
  font-size: 0.66rem;
  font-weight: 800;
  pointer-events: auto;
}

.library-body {
  background: var(--ivory);
}

.library-header {
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 0 var(--pad);
  border-bottom: 1px solid var(--line);
}

.library-header img {
  width: 150px;
  height: auto;
}

.library-header a:last-child {
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
}

.library-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.46fr);
  align-items: end;
  gap: 64px;
  padding: clamp(80px, 12vh, 150px) var(--pad) 90px;
}

.library-hero h1 {
  max-width: 980px;
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(4rem, 8vw, 8.6rem);
  font-weight: 400;
  line-height: 0.88;
}

.library-hero h1 em {
  display: block;
  color: var(--olive);
  font-weight: 400;
}

.library-hero p {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.7;
}

.library-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.library-card {
  min-height: 330px;
  display: flex;
  flex-direction: column;
  padding: clamp(28px, 3.5vw, 54px);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transition: color 220ms ease, background 220ms ease;
}

.library-card:hover {
  color: var(--ivory);
  background: var(--olive);
}

.library-card > span {
  color: var(--gold);
  font-size: 0.62rem;
  font-weight: 800;
  text-transform: uppercase;
}

.library-card h2 {
  margin: auto 0 0;
  font-family: var(--font-serif);
  font-size: clamp(2rem, 3.6vw, 4.2rem);
  font-weight: 400;
  line-height: 0.95;
}

.library-card p {
  margin: 22px 0 0;
  color: var(--muted);
  line-height: 1.6;
}

.library-card:hover p {
  color: rgba(246, 241, 230, 0.7);
}

.library-card strong {
  margin-top: 28px;
  color: var(--gold);
  font-size: 0.68rem;
  text-transform: uppercase;
}

@media (max-width: 980px) {
  .deck-body {
    height: auto;
    overflow: auto;
  }

  .deck,
  .slide,
  .slide-inner {
    min-height: 100svh;
  }

  .split-slide .slide-inner {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto 1fr auto;
    gap: 42px;
  }

  .split-content {
    align-self: start;
  }

  .category-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .category-grid article {
    min-height: 210px;
  }

  .offer-grid,
  .case-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .process-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .process-grid article:nth-child(2) {
    border-right: 0;
  }

  .library-hero {
    grid-template-columns: 1fr;
  }

  .library-hero p {
    max-width: 620px;
  }

  .library-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .slide {
    position: relative;
  }

  .slide-inner {
    padding-top: 72px;
    padding-bottom: 112px;
  }

  .slide-heading {
    font-size: 3.25rem;
  }

  .cover h1 {
    font-size: 4.15rem;
  }

  .cover-summary {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .cover-summary span {
    justify-self: start;
  }

  .category-grid,
  .offer-grid,
  .case-grid,
  .process-grid {
    grid-template-columns: 1fr;
    margin-top: 54px;
  }

  .category-grid article,
  .offer-grid article,
  .case-grid article,
  .process-grid article {
    min-height: 0;
  }

  .process-grid article {
    border-right: 0;
  }

  .deck-chrome {
    right: 10px;
    bottom: 10px;
    left: 10px;
    grid-template-columns: 1fr auto 1fr;
  }

  .deck-progress {
    display: none;
  }

  .deck-controls {
    justify-self: center;
  }

  .deck-controls [data-print] {
    display: none;
  }

  .slide-topline span:last-child {
    display: none;
  }

  .library-header {
    padding: 0 20px;
  }

  .library-hero {
    padding: 80px 20px 64px;
  }

  .library-hero h1 {
    font-size: 4rem;
  }

  .library-grid {
    grid-template-columns: 1fr;
  }

  .library-card {
    min-height: 280px;
    padding: 34px 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .slide.is-active {
    animation: none;
  }
}

@media print {
  @page {
    size: 13.333in 7.5in;
    margin: 0;
  }

  html,
  body,
  .deck,
  .slide,
  .slide-inner {
    width: 13.333in;
    height: 7.5in;
    min-height: 7.5in;
  }

  body {
    overflow: visible;
    print-color-adjust: exact;
    -webkit-print-color-adjust: exact;
  }

  .deck {
    height: auto;
  }

  .slide,
  .slide.is-active {
    position: relative;
    inset: auto;
    display: block;
    overflow: hidden;
    break-after: page;
    page-break-after: always;
    animation: none;
  }

  .slide:last-child {
    break-after: auto;
    page-break-after: auto;
  }

  .slide-inner {
    padding: 0.72in 0.72in 0.62in;
  }

  .slide-heading {
    font-size: 0.68in;
  }

  .cover h1,
  .contact-slide h2 {
    font-size: 0.9in;
  }

  .category-grid article,
  .offer-grid article,
  .case-grid article,
  .process-grid article {
    min-height: 1.9in;
  }

  .deck-chrome {
    display: none;
  }
}
