:root {
  --ink: #151515;
  --muted: #4e4c48;
  --paper: #f8f7f5;
  --sage: #dce3d7;
  --clay: #c46f46;
  --clay-dark: #9f593c;
  --line: #a7aca2;
  --border: #d47f5c;
  --serif: Spectral, Georgia, "Times New Roman", serif;
  --sans: Futura, "Avenir Next", Avenir, Montserrat, Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15.5px;
  font-synthesis: none;
  font-weight: 400;
  line-height: 1.48;
  overflow-x: hidden;
}

a {
  color: inherit;
  transition:
    color 180ms ease,
    opacity 180ms ease;
}

.site-header {
  background: var(--paper);
  min-height: 98px;
  padding: 20px 0 14px;
  position: relative;
  z-index: 10;
}

.header-inner {
  align-items: center;
  display: flex;
  gap: clamp(96px, 13vw, 190px);
  justify-content: center;
  margin: 0 auto;
  max-width: 1240px;
  padding: 0 48px;
  width: 100%;
}

.brand {
  display: block;
  flex: 0 0 auto;
  width: clamp(176px, 16vw, 250px);
}

.brand img {
  display: block;
  width: 100%;
}

.site-nav {
  align-items: center;
  display: flex;
  gap: 34px;
  padding-top: 2px;
}

.site-nav a {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0;
  text-decoration: none;
  text-transform: uppercase;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--clay);
}

.menu-button {
  align-items: center;
  background: transparent;
  border: 0;
  display: none;
  flex-direction: column;
  gap: 5px;
  height: 42px;
  justify-content: center;
  padding: 0;
  width: 42px;
}

.menu-button span {
  background: var(--ink);
  display: block;
  height: 2px;
  width: 24px;
}

.container {
  margin: 0 auto;
  max-width: 1240px;
  padding: 0 48px;
  width: 100%;
}

.narrow {
  max-width: 1100px;
}

.section-white {
  background: var(--paper);
}

.section-sage {
  background: var(--sage);
}

section {
  padding: 58px 0;
}

h1,
h2,
h3,
p {
  margin: 0;
}

h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 700;
  line-height: 1.02;
}

h1 {
  font-size: clamp(31px, 3.05vw, 52px);
  text-align: center;
}

h2 {
  font-size: clamp(28px, 2.45vw, 42px);
  text-align: center;
}

.home-page section h2::after {
  background: var(--clay);
  content: "";
  display: block;
  height: 1px;
  margin: 18px auto 0;
  width: 76px;
}

.hero {
  padding: 56px 0 88px;
}

.hero-inner {
  align-items: center;
  display: flex;
  flex-direction: column;
  max-width: 1240px;
  text-align: center;
}

.hero-kicker {
  color: #303030;
  font-size: clamp(15px, 1.05vw, 18px);
  font-style: italic;
  font-weight: 400;
  line-height: 1.28;
  margin-top: 38px;
  max-width: 700px;
}

.hero-statement {
  display: grid;
  gap: 22px;
  font-size: clamp(16.5px, 1.3vw, 19px);
  font-weight: 500;
  line-height: 1.28;
  margin-top: 32px;
  max-width: 800px;
}

.button {
  background: var(--clay);
  border: 1px solid rgba(159, 89, 60, 0.32);
  border-radius: 7px;
  box-shadow: 0 6px 14px rgba(196, 111, 70, 0.12);
  color: #fff;
  display: inline-flex;
  font-size: 11px;
  font-weight: 700;
  justify-content: center;
  margin-top: 34px;
  min-width: 184px;
  padding: 10px 20px;
  text-decoration: none;
  text-transform: uppercase;
  transition:
    background-color 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms cubic-bezier(0.22, 1, 0.36, 1);
}

.button:hover,
.button:focus-visible {
  background: var(--clay-dark);
  border-color: rgba(159, 89, 60, 0.44);
  box-shadow: 0 10px 22px rgba(159, 89, 60, 0.18);
  transform: translateY(-2px);
}

.about {
  padding: 48px 0 56px;
}

.copy-block,
.intro-copy,
.project-intro,
.connection-copy {
  color: #2f2b28;
  font-size: clamp(15px, 0.98vw, 17px);
  font-weight: 400;
}

.copy-block {
  display: grid;
  gap: 26px;
  margin-top: 32px;
}

.journey {
  padding: 58px 0 68px;
}

.intro-copy {
  display: grid;
  gap: 24px;
  margin: 30px auto 42px;
  max-width: 940px;
}

.role-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(5, 1fr);
}

.role-card {
  align-items: center;
  border: 1px solid rgba(196, 111, 70, 0.48);
  display: flex;
  flex-direction: column;
  min-height: 270px;
  padding: 19px 15px 17px;
  text-align: center;
}

.role-card img {
  height: 76px;
  margin-bottom: 26px;
  object-fit: contain;
  width: 100%;
}

.role-card h3 {
  font-size: 19px;
  margin-bottom: 13px;
}

.role-card p {
  font-size: 14.5px;
  font-weight: 400;
  line-height: 1.32;
}

.projects {
  padding: 56px 0 60px;
}

.project-intro {
  display: grid;
  gap: 20px;
  margin: 34px auto 36px;
  max-width: 860px;
}

.timeline {
  margin: 0 auto;
  max-width: 820px;
  position: relative;
}

.timeline::before {
  background: var(--line);
  content: "";
  left: 29px;
  position: absolute;
  top: var(--timeline-start, 0);
  height: var(--timeline-height, 100%);
  width: 1px;
}

.project-card {
  align-items: center;
  display: grid;
  gap: 0;
  grid-template-columns: 58px 96px minmax(0, 1fr);
  margin: 0 0 24px;
  position: relative;
}

.project-card::before {
  border-top: 1px dotted var(--line);
  content: "";
  left: 53px;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 101px;
}

.project-number {
  align-items: center;
  background: var(--clay);
  border-radius: 50%;
  color: #fff;
  display: flex;
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 700;
  height: 42px;
  justify-content: center;
  justify-self: center;
  line-height: 1;
  position: relative;
  width: 42px;
  z-index: 1;
}

.project-content {
  border: 1px solid var(--border);
  grid-column: 3;
  padding: 24px 36px 22px;
  transition:
    background-color 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms cubic-bezier(0.22, 1, 0.36, 1);
}

.project-card:hover .project-content,
.project-card:focus-within .project-content {
  background: rgba(248, 247, 245, 0.28);
  border-color: var(--clay);
  box-shadow: 0 12px 26px rgba(159, 89, 60, 0.11);
  transform: translateY(-3px);
}

.project-content h3 {
  font-size: clamp(20px, 1.5vw, 24px);
  margin-bottom: 6px;
}

.project-meta {
  color: #5c5752;
  font-size: 14px;
  font-weight: 400;
  margin-bottom: 15px;
}

.project-content p:not(.project-meta) {
  font-size: clamp(14.5px, 0.92vw, 16px);
  font-weight: 400;
  line-height: 1.38;
}

.project-content a {
  align-items: center;
  background: var(--clay);
  border-radius: 7px;
  color: #fff;
  display: inline-flex;
  float: right;
  font-size: 10px;
  font-weight: 700;
  margin-top: 16px;
  padding: 6px 12px;
  text-decoration: none;
  text-transform: uppercase;
  transition:
    background-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms cubic-bezier(0.22, 1, 0.36, 1);
}

.project-content a:hover,
.project-content a:focus-visible {
  background: var(--clay-dark);
  box-shadow: 0 6px 14px rgba(159, 89, 60, 0.14);
  transform: translateX(2px);
}

.project-content a::after {
  content: " \2192";
}

.project-content::after {
  clear: both;
  content: "";
  display: table;
}

.connection {
  padding: 58px 0 62px;
}

.connection-grid {
  align-items: center;
  display: grid;
  gap: clamp(42px, 5vw, 76px);
  grid-template-columns: minmax(0, 1fr) minmax(280px, 390px);
  max-width: 980px;
  margin: 0 auto;
}

.connection h2 {
  margin-bottom: 42px;
  text-align: center;
}

.connection-copy {
  color: #302c29;
  display: block;
}

.connection-copy p {
  margin-bottom: 20px;
}

.connection-copy p:last-child {
  margin-bottom: 0;
}

.highlight {
  color: var(--clay);
  font-size: 1.08em;
  font-synthesis: weight;
  font-weight: 800;
}

.connection-art {
  align-self: stretch;
  display: flex;
  height: var(--connection-copy-height, auto);
  justify-content: center;
  min-height: 0;
}

.connection-art img {
  display: block;
  height: 100%;
  max-width: 100%;
  object-fit: contain;
  width: auto;
}

.contact {
  padding: 46px 0 48px;
}

.contact-inner {
  text-align: center;
}

.contact p {
  font-size: clamp(15px, 1.1vw, 17px);
  font-weight: 400;
  line-height: 1.3;
  margin: 22px auto 28px;
  max-width: 560px;
}

.social-links {
  display: flex;
  gap: 34px;
  justify-content: center;
}

.social-links a {
  align-items: center;
  background: transparent;
  border-radius: 50%;
  display: flex;
  font-size: 16px;
  font-weight: 900;
  height: 42px;
  justify-content: center;
  text-decoration: none;
  width: 42px;
}

.social-links img {
  display: block;
  height: 100%;
  width: 100%;
}

.footer-band {
  align-items: center;
  background: var(--clay);
  color: #fff;
  display: flex;
  justify-content: center;
  min-height: 86px;
  padding: 22px 24px;
  text-align: center;
}

.footer-band p {
  font-family: var(--serif);
  font-size: clamp(21px, 2vw, 28px);
  font-weight: 700;
}

.site-credit {
  background: var(--paper);
  color: #5f5a55;
  padding: 18px 24px 24px;
  text-align: center;
}

.site-credit p {
  font-size: 12px;
  margin: 0;
}

.case-page {
  background: var(--paper);
}

.case-page .container {
  max-width: 1120px;
}

.case-hero {
  padding: 68px 0 84px;
}

.case-2-page .case-hero {
  padding-top: 18px;
}

.case-hero-grid {
  align-items: center;
  display: grid;
  gap: clamp(34px, 4vw, 58px);
  grid-template-columns: minmax(440px, 1.08fr) minmax(300px, 460px);
}

.case-hero-copy h1 {
  font-size: clamp(36px, 3.15vw, 54px);
  margin-top: 44px;
  text-align: left;
}

.back-link {
  color: var(--clay);
  font-size: 12px;
  font-weight: 500;
  text-decoration: none;
  text-transform: uppercase;
}

.case-meta {
  color: #5f5a55;
  font-size: clamp(14px, 1vw, 16px);
  margin-top: 14px;
}

.short-rule {
  background: var(--clay);
  display: block;
  height: 1px;
  margin: 32px 0 28px;
  width: 76px;
}

.case-section > .container > .short-rule {
  margin-left: auto;
  margin-right: auto;
}

.case-lead {
  color: #171717;
  font-size: clamp(15.5px, 1.05vw, 18px);
  font-weight: 400;
  line-height: 1.46;
  max-width: 600px;
}

.case-hero-media {
  align-items: center;
  display: flex;
  justify-content: flex-end;
  min-height: 0;
  position: relative;
}

.case-hero-art {
  display: block;
  height: auto;
  margin-left: auto;
  max-width: 100%;
  object-fit: contain;
  width: min(460px, 100%);
}

.case-book-art {
  width: min(520px, 100%);
}

.case-2-page .case-hero-grid {
  align-items: start;
  gap: clamp(26px, 3vw, 44px);
  grid-template-columns: minmax(390px, 0.85fr) minmax(460px, 1.15fr);
}

.case-2-page .case-hero-media {
  justify-content: flex-start;
  margin-top: -118px;
  overflow: visible;
  pointer-events: none;
  z-index: 0;
}

.case-2-page .case-hero-copy {
  padding-top: 128px;
  position: relative;
  z-index: 1;
}

.case-2-page .case-book-art {
  margin-left: 0;
  max-width: none;
  transform: translateX(42px);
  width: min(780px, 58vw);
}

.case-vessel-art {
  width: min(500px, 100%);
}

.case-cpd-art {
  width: min(480px, 100%);
}

.case-photo-frame {
  border: 1px solid rgba(196, 111, 70, 0.72);
  margin-left: auto;
  padding: 32px 0 0 36px;
  position: relative;
  width: min(360px, 100%);
}

.case-photo-frame::after {
  border-bottom: 1px solid rgba(196, 111, 70, 0.72);
  border-right: 1px solid rgba(196, 111, 70, 0.72);
  bottom: -18px;
  content: "";
  height: 118px;
  position: absolute;
  right: -14px;
  width: 146px;
  z-index: 0;
}

.case-photo-frame img {
  aspect-ratio: 1 / 0.94;
  display: block;
  object-fit: cover;
  object-position: 44% 48%;
  position: relative;
  width: 100%;
  z-index: 1;
}

.case-dots {
  background-image: radial-gradient(#777 1.2px, transparent 1.2px);
  background-size: 24px 24px;
  height: 112px;
  left: 0;
  opacity: 0.65;
  position: absolute;
  top: 112px;
  width: 150px;
}

.case-square {
  background: var(--clay);
  height: 12px;
  position: absolute;
  right: 58px;
  top: 36px;
  width: 12px;
  z-index: 2;
}

.case-target {
  border: 1px solid #9c9c9c;
  border-radius: 50%;
  bottom: 14px;
  height: 58px;
  left: 56px;
  position: absolute;
  width: 58px;
}

.case-target::before,
.case-target::after {
  border: 1px solid #b4b4b4;
  border-radius: 50%;
  content: "";
  inset: 9px;
  position: absolute;
}

.case-target::after {
  background: var(--clay);
  border: 0;
  height: 7px;
  inset: 25px;
  width: 7px;
}

.case-facts {
  padding: 24px 0;
}

.fact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.fact-item {
  align-items: center;
  border-right: 1px solid rgba(196, 111, 70, 0.65);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-height: 132px;
  padding: 0 24px;
  text-align: center;
}

.fact-item:last-child {
  border-right: 0;
}

.fact-item img {
  height: 58px;
  margin-bottom: 12px;
  object-fit: contain;
  width: 98px;
}

.fact-item h2 {
  font-family: var(--serif);
  font-size: 18px;
  line-height: 1.05;
  margin-bottom: 6px;
}

.fact-item p {
  font-size: 13.5px;
  line-height: 1.24;
}

.case-section {
  padding: clamp(58px, 5vw, 72px) 0;
}

.case-narrow {
  max-width: 1120px;
}

.case-section h2 {
  font-size: clamp(27px, 2.1vw, 36px);
  text-align: center;
}

.case-copy {
  color: #26221f;
  display: grid;
  font-size: clamp(14.5px, 0.95vw, 16.5px);
  gap: 22px;
  font-weight: 400;
  line-height: 1.52;
}

.case-copy strong {
  font-weight: 800;
}

.case-statement {
  align-items: center;
  background: var(--clay);
  color: #fff;
  display: flex;
  justify-content: center;
  min-height: 84px;
  padding: 18px 24px;
  text-align: center;
}

.case-statement p {
  font-family: var(--serif);
  font-size: clamp(18px, 1.35vw, 23px);
  font-weight: 600;
  line-height: 1.16;
}

.case-principles {
  padding-bottom: clamp(58px, 5vw, 72px);
}

.principles-grid {
  display: grid;
  gap: 56px;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1fr);
}

.principles-list {
  font-size: clamp(15px, 1vw, 17px);
  line-height: 1.45;
  list-style-position: outside;
  margin: 0;
  padding-left: 18px;
}

.outlined-note {
  border: 1px solid rgba(196, 111, 70, 0.5);
  font-size: clamp(16.5px, 1.15vw, 20px);
  font-weight: 600;
  line-height: 1.32;
  margin: 46px auto 0;
  max-width: 920px;
  padding: 16px 26px;
  text-align: center;
}

.strategy-grid {
  align-items: start;
  display: grid;
  gap: clamp(46px, 5vw, 76px);
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 560px);
}

.case-device-mockup {
  align-self: start;
  margin: -24px 0 0;
  overflow: visible;
}

.case-device-mockup img {
  display: block;
  height: auto;
  width: min(620px, 100%);
}

.case-compliance-mockup img {
  width: min(680px, 100%);
}

.case-cpd-mockup img {
  width: min(660px, 100%);
}

.case-3-page .strategy-grid,
.case-4-page .strategy-grid {
  align-items: center;
  gap: clamp(40px, 4vw, 68px);
  grid-template-columns: minmax(0, 0.86fr) minmax(420px, 1fr);
}

.case-3-page .strategy-grid .case-copy,
.case-4-page .strategy-grid .case-copy {
  margin: 0;
  max-width: none;
}

.case-3-page .case-device-mockup,
.case-4-page .case-device-mockup {
  margin: 0;
  max-width: none;
  width: 100%;
}

.case-3-page .case-device-mockup img,
.case-4-page .case-device-mockup img {
  width: 100%;
}

.laptop-mockup {
  margin-top: 38px;
}

.laptop-screen {
  background: #ecebe6;
  border: 10px solid #111;
  border-radius: 12px 12px 4px 4px;
  box-shadow: 0 18px 30px rgba(0, 0, 0, 0.12);
  display: grid;
  grid-template-columns: 118px minmax(0, 1fr);
  min-height: 260px;
  overflow: hidden;
}

.course-sidebar {
  background: #223027;
  color: #f8f7f5;
  display: flex;
  flex-direction: column;
  font-family: var(--serif);
  font-size: 14px;
  gap: 14px;
  justify-content: flex-start;
  padding: 28px 18px;
}

.course-sidebar span {
  line-height: 1.08;
}

.course-sidebar i {
  background: rgba(248, 247, 245, 0.15);
  display: block;
  height: 6px;
  width: 72px;
}

.course-slide {
  background: #f8f7f5;
  padding: 30px 34px;
}

.module-label {
  color: var(--clay);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
}

.course-slide h3 {
  font-size: 24px;
  margin: 8px 0 16px;
}

.course-slide img {
  display: block;
  height: 78px;
  margin-bottom: 16px;
  object-fit: cover;
  object-position: 46% 48%;
  width: 190px;
}

.course-cards {
  display: flex;
  gap: 12px;
}

.course-cards b {
  border: 1px solid #ddd6cd;
  border-radius: 6px;
  color: var(--clay);
  display: block;
  font-size: 15px;
  padding: 12px 14px;
}

.laptop-base {
  background: linear-gradient(90deg, #2c2c2c, #070707 40%, #2b2b2b);
  border-radius: 0 0 50% 50%;
  height: 16px;
  margin: 0 auto;
  width: 92%;
}

.case-highlight {
  color: var(--clay);
  font-size: clamp(17px, 1.25vw, 21px);
  font-weight: 700;
  line-height: 1.32;
}

.case-wide-copy {
  margin: 0 auto;
  max-width: 1120px;
}

.case-visual-gallery {
  margin: 34px auto 0;
}

.case-visual-gallery img {
  display: block;
  height: auto;
  width: 100%;
}

.case-image-grid {
  display: grid;
  align-items: stretch;
  gap: clamp(16px, 1.6vw, 24px);
  grid-auto-flow: row;
  grid-template-columns: repeat(12, 1fr);
  margin-top: 38px;
}

.case-image-grid img {
  background: #fff;
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.case-image-grid .feature {
  grid-column: span 7;
  height: clamp(340px, 28vw, 430px);
}

.case-image-grid .side {
  grid-column: span 5;
  height: clamp(340px, 28vw, 430px);
}

.case-image-grid .panorama {
  grid-column: span 8;
  height: clamp(250px, 21vw, 320px);
}

.case-image-grid .medium {
  grid-column: span 4;
  height: clamp(250px, 21vw, 320px);
}

.case-image-grid .portrait {
  grid-column: span 3;
  height: clamp(330px, 30vw, 440px);
}

.case-image-grid .full {
  grid-column: span 6;
  height: clamp(330px, 30vw, 440px);
}

.case-nav {
  align-items: center;
  background: var(--paper);
  display: grid;
  gap: 28px;
  grid-template-columns: minmax(0, 1fr) 96px minmax(0, 1fr);
  margin: 0 auto;
  max-width: 1120px;
  padding: 50px 48px 56px;
  text-align: center;
}

.case-nav-prev,
.case-nav-next {
  align-items: center;
  display: flex;
  gap: 22px;
}

.case-nav-prev {
  justify-content: flex-start;
}

.case-nav-next {
  justify-content: flex-end;
}

.case-nav-prev a,
.case-nav-next a {
  align-items: center;
  border: 1px solid #8f8b86;
  border-radius: 50%;
  color: var(--clay);
  display: flex;
  height: 34px;
  justify-content: center;
  text-decoration: none;
  transition:
    border-color 180ms ease,
    color 180ms ease,
    transform 180ms cubic-bezier(0.22, 1, 0.36, 1);
  width: 34px;
}

.case-nav-prev a:hover,
.case-nav-prev a:focus-visible,
.case-nav-next a:hover,
.case-nav-next a:focus-visible {
  border-color: var(--clay);
  transform: translateX(2px);
}

.case-nav-prev a:hover,
.case-nav-prev a:focus-visible {
  transform: translateX(-2px);
}

.motion-ready .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 520ms ease,
    transform 560ms cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--reveal-delay, 0ms);
}

.motion-ready .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.motion-ready .reveal[data-reveal="slide"] {
  transform: translateY(24px);
}

.motion-ready .reveal[data-reveal="image"] {
  transform: translateY(18px) scale(0.985);
}

.motion-ready .reveal[data-reveal="image"].is-visible {
  transform: translateY(0) scale(1);
}

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

  .motion-ready .reveal {
    opacity: 1;
    transform: none;
  }
}

.case-nav span {
  font-size: 15px;
  line-height: 1.25;
  min-width: 0;
  max-width: 230px;
}

.case-nav small {
  color: var(--clay);
  display: block;
  font-size: 10px;
  font-weight: 700;
  margin-bottom: 4px;
  text-transform: uppercase;
}

.case-nav-cta {
  align-items: center;
  display: flex;
  gap: 22px;
  justify-content: flex-end;
  min-width: 0;
}

.case-contact-button {
  background: var(--clay);
  border-radius: 7px;
  color: #fff;
  display: inline-flex;
  font-size: 12px;
  font-weight: 700;
  justify-content: center;
  padding: 11px 16px;
  text-decoration: none;
  transition:
    background 180ms ease,
    transform 180ms cubic-bezier(0.22, 1, 0.36, 1);
  white-space: nowrap;
}

.case-contact-button:hover,
.case-contact-button:focus-visible {
  background: var(--clay-dark);
  transform: translateY(-1px);
}

.case-nav-brand {
  border-left: 1px solid #8f8b86;
  border-right: 1px solid #8f8b86;
  margin: 0 auto;
  padding: 0 34px;
  width: 96px;
}

@media (max-width: 1280px) {
  .case-hero-grid,
  .strategy-grid,
  .case-3-page .strategy-grid,
  .case-4-page .strategy-grid {
    gap: 34px;
    grid-template-columns: 1fr;
  }

  .strategy-grid .case-copy,
  .case-3-page .strategy-grid .case-copy,
  .case-4-page .strategy-grid .case-copy {
    margin: 0 auto;
    max-width: 760px;
  }

  .case-device-mockup,
  .case-3-page .case-device-mockup,
  .case-4-page .case-device-mockup {
    margin: 0 auto;
    max-width: 780px;
    width: 100%;
  }

  .case-device-mockup img,
  .case-compliance-mockup img,
  .case-cpd-mockup img {
    width: 100%;
  }

  .case-2-page .case-hero {
    padding-top: 40px;
  }

  .case-2-page .case-hero-copy {
    padding-top: 0;
  }

  .case-2-page .case-hero-media {
    margin: 0 auto;
    max-width: 720px;
  }

  .case-2-page .case-book-art {
    margin-left: auto;
    max-width: 100%;
    transform: none;
    width: 100%;
  }
}

@media (max-width: 980px) {
  .case-hero-grid,
  .principles-grid {
    grid-template-columns: 1fr;
  }

  .case-hero-media {
    margin: 0 auto;
    max-width: 520px;
    min-height: 0;
    width: 100%;
  }

  .case-hero-art {
    height: auto;
    width: 100%;
  }

  .case-2-page .case-book-art {
    margin-left: auto;
    max-width: 100%;
    transform: none;
    width: 100%;
  }

  .principles-grid {
    gap: 30px;
  }
}

@media (max-width: 860px) {
  .site-header {
    min-height: 86px;
    padding: 17px 0;
  }

  .header-inner {
    gap: 18px;
    justify-content: space-between;
    padding: 0 24px;
  }

  .brand {
    width: min(196px, 66vw);
  }

  .menu-button {
    display: inline-flex;
  }

  .site-nav {
    background: var(--paper);
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    display: none;
    flex-direction: column;
    gap: 0;
    left: 0;
    padding: 12px 24px 24px;
    position: absolute;
    right: 0;
    top: 100%;
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 13px 0;
  }

  section {
    padding: 46px 0;
  }

  .container {
    padding: 0 24px;
  }

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

  .role-card {
    min-height: 250px;
  }

  .connection-grid {
    gap: 24px;
    grid-template-columns: 1fr;
  }

  .connection-art {
    margin: 0 auto;
    max-width: 280px;
    padding-top: 4px;
  }

  .case-hero-grid,
  .strategy-grid,
  .principles-grid {
    grid-template-columns: 1fr;
  }

  .case-hero {
    padding: 40px 0 52px;
  }

  .case-hero-copy h1 {
    margin-top: 30px;
  }

  .case-hero-media {
    margin: 0 auto;
    max-width: 460px;
    min-height: 0;
    overflow: hidden;
    width: 100%;
  }

  .case-hero-art {
    height: auto;
    width: 100%;
  }

  .case-2-page .case-book-art {
    margin-left: auto;
    max-width: 100%;
    transform: none;
    width: 100%;
  }

  .fact-grid {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 26px;
  }

  .fact-item:nth-child(2) {
    border-right: 0;
  }

  .case-section {
    padding: 52px 0;
  }

  .laptop-mockup {
    margin-top: 10px;
  }

  .case-device-mockup {
    margin: 0 auto;
    max-width: 620px;
    width: 100%;
  }

  .case-device-mockup img {
    width: 100%;
  }

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

  .case-image-grid .feature,
  .case-image-grid .side,
  .case-image-grid .panorama,
  .case-image-grid .medium,
  .case-image-grid .portrait,
  .case-image-grid .full {
    grid-column: span 1;
  }

  .case-nav {
    gap: 18px;
    grid-template-columns: minmax(0, 1fr) 72px minmax(0, 1fr);
    padding: 38px 24px 42px;
  }

  .case-nav-brand {
    display: block;
    padding: 0 24px;
    width: 72px;
  }

  .case-nav-prev,
  .case-nav-next,
  .case-nav-cta {
    gap: 14px;
  }

  .case-nav-cta {
    align-items: flex-end;
    flex-direction: column;
  }

  .case-nav span {
    font-size: 13px;
    max-width: 180px;
  }
}

@media (max-width: 640px) {
  .hero {
    padding-top: 30px;
  }

  .hero-kicker {
    margin-top: 28px;
  }

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

  .role-card {
    min-height: auto;
  }

  .timeline::before,
  .project-card::before {
    display: none;
  }

  .project-card {
    display: block;
    margin-bottom: 22px;
  }

  .project-number {
    height: 38px;
    margin: 0 0 -17px 16px;
    width: 38px;
  }

  .project-content {
    padding: 31px 20px 22px;
  }

  .project-content a {
    float: none;
  }

  .social-links a {
    height: 40px;
    width: 40px;
  }

  .case-hero-media {
    min-height: 0;
  }

  .case-photo-frame {
    padding: 22px 0 0 24px;
    width: min(300px, 90%);
  }

  .case-dots {
    background-size: 18px 18px;
    height: 92px;
    top: 86px;
    width: 114px;
  }

  .case-target {
    left: 24px;
  }

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

  .case-image-grid {
    grid-template-columns: 1fr;
  }

  .case-image-grid .feature,
  .case-image-grid .side,
  .case-image-grid .panorama,
  .case-image-grid .medium,
  .case-image-grid .portrait,
  .case-image-grid .full {
    aspect-ratio: auto;
    height: auto;
  }

  .fact-item,
  .fact-item:nth-child(2) {
    border-right: 0;
    border-bottom: 1px solid rgba(196, 111, 70, 0.4);
    min-height: auto;
    padding: 0 16px 24px;
  }

  .fact-item:last-child {
    border-bottom: 0;
  }

  .case-statement {
    min-height: 88px;
  }

  .outlined-note {
    padding: 16px 18px;
  }

  .laptop-screen {
    border-width: 7px;
    grid-template-columns: 88px minmax(0, 1fr);
    min-height: 210px;
  }

  .course-sidebar {
    font-size: 11px;
    padding: 20px 12px;
  }

  .course-sidebar span {
    overflow-wrap: anywhere;
  }

  .course-sidebar i {
    width: 50px;
  }

  .course-slide {
    padding: 22px 18px;
  }

  .course-slide h3 {
    font-size: 19px;
  }

  .course-slide img {
    height: 60px;
    width: 140px;
  }

  .course-cards {
    gap: 6px;
  }

  .course-cards b {
    font-size: 12px;
    padding: 8px 9px;
  }

  .case-nav {
    align-items: center;
    gap: 10px;
    grid-template-columns: minmax(0, 1fr) 44px minmax(0, 1fr);
    padding: 34px 16px 38px;
  }

  .case-nav span {
    font-size: 12px;
    max-width: none;
  }

  .case-nav-brand {
    padding: 0 12px;
    width: 44px;
  }

  .case-nav-prev,
  .case-nav-next,
  .case-nav-cta {
    gap: 8px;
  }

  .case-nav-prev,
  .case-nav-next {
    display: grid;
    grid-template-columns: 32px minmax(0, 1fr);
  }

  .case-nav-next {
    grid-template-columns: minmax(0, 1fr) 32px;
  }

  .case-nav-cta {
    align-items: flex-end;
  }

  .case-nav-prev a,
  .case-nav-next a {
    aspect-ratio: 1;
    flex: 0 0 32px;
    font-size: 17px;
    height: 32px;
    line-height: 1;
    min-height: 32px;
    min-width: 32px;
    width: 32px;
  }
}
