:root {
  --ink: #171629;
  --muted: #4e4d5b;
  --paper: #ffffff;
  --soft: #f5f4f8;
  --violet: #4b2e83;
  --blue: #2176c7;
  --green: #6fbf73;
  --aqua: #67c7be;
  --yellow: #f5c842;
  --coral: #ef6a5b;
  --pink: #d75696;
  --border: #d7d5df;
  --shadow: 0 20px 55px rgba(23, 22, 41, 0.12);
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 7rem;
}

body {
  color: var(--ink);
  background: var(--paper);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-size: 1.0625rem;
  font-weight: 400;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

h1,
h2,
h3,
.navbar,
.btn,
.eyebrow,
.proof-item,
.case-meta,
.package-topline {
  line-height: 1.12;
}

h1,
h2,
h3 {
  color: var(--ink);
  font-weight: 800;
  letter-spacing: -0.035em;
}

h1 {
  max-width: 15ch;
  font-size: clamp(3rem, 6.2vw, 6rem);
}

h1 span {
  display: block;
  color: var(--violet);
}

h2 {
  max-width: 18ch;
  font-size: clamp(2.25rem, 4vw, 4rem);
}

h3 {
  font-size: clamp(1.5rem, 2.2vw, 2rem);
}

p:last-child {
  margin-bottom: 0;
}

a:not(.btn):not(.navbar-brand) {
  color: currentColor;
  font-weight: 700;
  text-decoration-line: underline;
  text-decoration-color: var(--coral);
  text-decoration-thickness: 0.13em;
  text-underline-offset: 0.18em;
}

a:not(.btn):not(.navbar-brand):hover {
  color: var(--violet);
  text-decoration-thickness: 0.2em;
}

a:focus-visible,
button:focus-visible {
  outline: 4px solid var(--yellow);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  left: 1rem;
  top: -5rem;
  z-index: 2000;
  padding: 0.75rem 1rem;
  color: var(--paper);
  background: var(--ink);
}

.skip-link:focus {
  top: 1rem;
}

.site-header {
  border-bottom: 1px solid rgba(23, 22, 41, 0.12);
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(12px);
}

.navbar {
  min-height: 6rem;
  font-size: 0.98rem;
  font-weight: 750;
}

.navbar-brand img {
  width: clamp(190px, 16vw, 230px);
  height: auto;
  margin-block: 0;
}

.navbar .nav-link {
  color: var(--ink);
  text-decoration: none !important;
}

.navbar .nav-link:hover,
.navbar .nav-link:focus,
.dropdown-item:hover,
.dropdown-item:focus {
  color: var(--violet);
  background: transparent;
}

.dropdown-menu {
  padding: 0.6rem;
  border: 2px solid var(--ink);
  border-radius: 0;
  box-shadow: var(--shadow);
}

.dropdown-item {
  padding: 0.7rem 0.85rem;
  color: var(--ink);
  font-weight: 700;
  text-decoration: none !important;
}

.btn {
  min-height: 3.1rem;
  padding: 0.9rem 1.25rem;
  border: 2px solid var(--ink);
  border-radius: 0;
  font-weight: 800;
  box-shadow: 5px 5px 0 var(--ink);
  transition: transform 120ms ease, box-shadow 120ms ease;
}

.btn:hover {
  transform: translate(2px, 2px);
  box-shadow: 3px 3px 0 var(--ink);
}

.btn-dark,
.btn-dark:hover {
  color: var(--paper);
  background: var(--ink);
}

.btn-primary,
.btn-primary:hover {
  color: var(--ink);
  background: var(--yellow);
  border-color: var(--ink);
}

.btn-light,
.btn-light:hover {
  color: var(--ink);
  background: var(--paper);
  border-color: var(--ink);
}

.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(4.5rem, 9vw, 8.5rem) 0 clamp(5rem, 9vw, 8rem);
  background:
    linear-gradient(90deg, rgba(245, 200, 66, 0.2) 1px, transparent 1px) 0 0 / 42px 42px,
    linear-gradient(rgba(245, 200, 66, 0.2) 1px, transparent 1px) 0 0 / 42px 42px,
    #fffdf7;
}

.hero::after {
  position: absolute;
  right: -5rem;
  bottom: -7rem;
  width: 18rem;
  height: 18rem;
  border-radius: 50%;
  background: var(--aqua);
  content: "";
  opacity: 0.55;
}

.hero-copy {
  max-width: 44rem;
  margin: 1.8rem 0 2.1rem;
  color: var(--ink);
  font-size: clamp(1.2rem, 1.8vw, 1.45rem);
  line-height: 1.55;
}

.eyebrow {
  margin-bottom: 1rem;
  color: var(--violet);
  font-size: 0.83rem;
  font-weight: 850;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.text-link {
  display: inline-block;
  font-size: 1.02rem;
}

.hero-image-wrap {
  position: relative;
  z-index: 1;
  border: 3px solid var(--ink);
  background: var(--paper);
  box-shadow: 15px 15px 0 var(--coral);
  transform: rotate(1.4deg);
}

.hero-image {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 58% center;
}

.hero-image-wrap figcaption {
  padding: 0.85rem 1rem;
  color: var(--ink);
  font-size: 0.85rem;
  font-weight: 750;
}

.proof-strip {
  color: var(--paper);
  background: var(--ink);
}

.proof-item {
  display: flex;
  min-height: 8.5rem;
  padding: 1.5rem;
  border-right: 1px solid rgba(255, 255, 255, 0.22);
  flex-direction: column;
  justify-content: center;
}

.proof-item strong {
  margin-bottom: 0.45rem;
  color: var(--yellow);
  font-size: 1.25rem;
}

.proof-item span {
  font-size: 0.9rem;
  font-weight: 650;
  line-height: 1.35;
}

.section {
  padding: clamp(5rem, 9vw, 8.5rem) 0;
}

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

.lead {
  color: var(--ink);
  font-size: clamp(1.25rem, 2vw, 1.65rem);
  font-weight: 600;
  line-height: 1.5;
}

.lead-sm {
  color: var(--muted);
  font-size: 1.2rem;
  line-height: 1.55;
}

.package-card {
  position: relative;
  overflow: hidden;
  padding: clamp(2rem, 4vw, 3.5rem);
  border: 3px solid var(--ink);
  box-shadow: 9px 9px 0 var(--ink);
}

.package-card::after {
  position: absolute;
  right: -4rem;
  bottom: -4rem;
  width: 10rem;
  height: 10rem;
  border: 3px solid var(--ink);
  border-radius: 50%;
  content: "";
  opacity: 0.25;
}

.package-coral {
  background: #fff1ef;
}

.package-blue {
  background: #ecf5fd;
}

.package-topline {
  display: flex;
  margin-bottom: 2.5rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid var(--ink);
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.85rem;
  font-weight: 850;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.package-price {
  white-space: nowrap;
}

.package-card h3 {
  max-width: 15ch;
  margin-bottom: 1.3rem;
}

.check-list {
  margin: 1.5rem 0 2rem;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  margin-bottom: 0.65rem;
  padding-left: 1.8rem;
  font-weight: 650;
}

.check-list li::before {
  position: absolute;
  left: 0;
  color: var(--violet);
  content: "✓";
  font-weight: 900;
}

.card-link {
  position: relative;
  z-index: 1;
}

.bespoke-note {
  max-width: 58rem;
  margin: 3rem auto 0;
  padding: 1.2rem 1.5rem;
  border-left: 7px solid var(--yellow);
  background: var(--soft);
  text-align: center;
}

.work-section {
  background: var(--soft);
}

.section-heading h2 {
  max-width: 20ch;
}

.case-card {
  position: relative;
  overflow: hidden;
  min-height: 27rem;
  padding: 2rem;
  border: 3px solid var(--ink);
  box-shadow: 7px 7px 0 var(--ink);
}

.case-card h3 {
  max-width: 12ch;
  margin: 2.5rem 0 1rem;
  font-size: clamp(2rem, 3vw, 3rem);
}

.case-card p:not(.case-meta) {
  position: relative;
  z-index: 1;
  max-width: 29rem;
}

.case-meta {
  font-size: 0.75rem;
  font-weight: 850;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.case-number {
  position: absolute;
  right: -0.8rem;
  bottom: -2.3rem;
  color: rgba(23, 22, 41, 0.12);
  font-size: 10rem;
  font-weight: 900;
  letter-spacing: -0.09em;
  line-height: 1;
}

.case-yellow {
  background: #ffe88f;
}

.case-green {
  background: #bbdfbd;
}

.case-pink {
  background: #f1bfd8;
}

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

.service-row {
  display: grid;
  padding: 1.75rem 0 2.2rem;
  border-top: 2px solid var(--ink);
  grid-template-columns: 4rem 1fr;
  gap: 1rem;
}

.service-row:last-child {
  border-bottom: 2px solid var(--ink);
}

.service-row h3 {
  margin-bottom: 0.75rem;
}

.service-row p {
  max-width: 47rem;
  color: var(--muted);
}

.service-index {
  color: var(--pink);
  font-size: 0.9rem;
  font-weight: 900;
}

.relationship-band {
  padding: clamp(4rem, 7vw, 6.5rem) 0;
  color: var(--paper);
  background: var(--violet);
}

.relationship-band h2,
.relationship-band .eyebrow {
  color: var(--paper);
}

.relationship-band .eyebrow {
  opacity: 0.78;
}

.relationship-grid {
  display: grid;
  border-top: 1px solid rgba(255, 255, 255, 0.35);
}

.relationship-grid p {
  display: flex;
  margin: 0;
  padding: 1.15rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.35);
  justify-content: space-between;
  gap: 2rem;
}

.relationship-grid strong {
  color: var(--yellow);
}

.relationship-grid span {
  text-align: right;
}

.about-section {
  background: #fffdf7;
}

.team-grid {
  display: grid;
  align-items: start;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.team-card {
  margin: 0;
  border: 3px solid var(--ink);
  background: var(--paper);
  box-shadow: 8px 8px 0 var(--aqua);
}

.team-card-offset {
  margin-top: 3rem;
  box-shadow: 8px 8px 0 var(--coral);
}

.team-card img {
  display: block;
  width: 100%;
  height: auto;
  border-bottom: 3px solid var(--ink);
}

.team-card figcaption {
  display: flex;
  padding: 1rem;
  flex-direction: column;
  line-height: 1.35;
}

.team-card strong {
  font-size: 1.15rem;
}

.team-card span {
  margin-top: 0.25rem;
  color: var(--muted);
  font-size: 0.83rem;
}

.contact-section {
  padding: clamp(4.5rem, 8vw, 7rem) 0;
  color: var(--paper);
  background: var(--ink);
}

.contact-section h2,
.contact-section .eyebrow {
  color: var(--paper);
}

.contact-section p:not(.eyebrow) {
  max-width: 48rem;
  color: #e4e2ec;
  font-size: 1.2rem;
}

.site-footer {
  padding: 2rem 0;
  color: var(--ink);
  background: var(--yellow);
  font-size: 0.86rem;
  font-weight: 750;
}

.site-footer p {
  margin: 0;
}

/* Video production page */

.video-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(4.5rem, 8vw, 8rem) 0;
  background: #f4effc;
}

.video-hero::before {
  position: absolute;
  top: -9rem;
  right: -7rem;
  width: 25rem;
  height: 25rem;
  border: 3px solid var(--violet);
  border-radius: 50%;
  content: "";
  opacity: 0.15;
}

.video-hero h1 {
  max-width: 14ch;
  font-size: clamp(2.8rem, 5.3vw, 5.2rem);
}

.video-poster {
  position: relative;
  overflow: hidden;
  border: 3px solid var(--ink);
  background: var(--ink);
  box-shadow: 13px 13px 0 var(--aqua);
  transform: rotate(1deg);
}

.video-poster img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 58% center;
  opacity: 0.82;
}

.video-poster-overlay {
  position: absolute;
  right: 1.25rem;
  bottom: 1.25rem;
  left: 1.25rem;
  display: flex;
  padding: 1rem;
  color: var(--ink);
  border: 2px solid var(--ink);
  background: var(--yellow);
  align-items: center;
  gap: 0.9rem;
}

.play-mark {
  display: grid;
  width: 2.75rem;
  height: 2.75rem;
  color: var(--paper);
  border-radius: 50%;
  background: var(--ink);
  place-items: center;
  flex: 0 0 auto;
  font-size: 0.85rem;
}

.video-poster-overlay div {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.video-poster-overlay strong {
  font-size: 1.08rem;
}

.video-poster-overlay span:last-child {
  margin-top: 0.2rem;
  font-size: 0.78rem;
  font-weight: 700;
}

.video-assurance {
  color: var(--paper);
  background: var(--ink);
}

.assurance-item {
  display: flex;
  min-height: 7rem;
  padding: 1.3rem;
  border-right: 1px solid rgba(255, 255, 255, 0.22);
  align-items: center;
  gap: 0.8rem;
}

.assurance-item span {
  color: var(--yellow);
  font-size: 0.8rem;
  font-weight: 900;
}

.assurance-item strong {
  font-size: 1rem;
  line-height: 1.3;
}

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

.pull-quote {
  margin: 2.5rem 0 0;
  padding: 1.5rem 0 1.5rem 1.5rem;
  color: var(--violet);
  border-left: 8px solid var(--yellow);
  font-size: clamp(1.35rem, 2vw, 1.8rem);
  font-weight: 800;
  line-height: 1.4;
}

.package-section {
  background: var(--soft);
}

.package-intro {
  max-width: 30rem;
  color: var(--muted);
}

.detailed-package {
  margin-top: 3rem;
  padding: clamp(2rem, 5vw, 4.5rem);
  border: 3px solid var(--ink);
  box-shadow: 10px 10px 0 var(--ink);
  scroll-margin-top: 8rem;
}

.detailed-package-coral {
  background: #fff1ef;
}

.detailed-package-blue {
  background: #ecf5fd;
}

.package-heading {
  position: sticky;
  top: 9rem;
}

.package-kicker {
  margin-bottom: 1rem;
  color: var(--violet);
  font-size: 0.83rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.package-heading h3 {
  max-width: 14ch;
  font-size: clamp(2.2rem, 3.8vw, 3.6rem);
}

.display-price {
  margin-top: 2rem;
  color: var(--ink);
  font-size: clamp(2rem, 3.2vw, 3rem);
  font-weight: 900;
  letter-spacing: -0.04em;
}

.package-details {
  margin: 1.5rem 0 1rem;
}

.package-details h4 {
  font-size: 0.83rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.bespoke-video-note {
  display: grid;
  margin-top: 3.5rem;
  padding: 2.25rem;
  border: 3px solid var(--ink);
  background: var(--yellow);
  align-items: center;
  grid-template-columns: 1.1fr 1.4fr auto;
  gap: 2rem;
}

.bespoke-video-note .eyebrow,
.bespoke-video-note h3,
.bespoke-video-note p {
  margin-bottom: 0;
}

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

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

.process-list li {
  display: grid;
  padding: 1.6rem 0 2rem;
  border-top: 2px solid var(--ink);
  grid-template-columns: 5rem 1fr;
  gap: 1.5rem;
}

.process-list li:last-child {
  border-bottom: 2px solid var(--ink);
}

.process-number {
  color: var(--coral);
  font-size: 1rem;
  font-weight: 900;
}

.process-list h3 {
  margin-bottom: 0.55rem;
}

.process-list p {
  max-width: 43rem;
  color: var(--muted);
}

.practice-band {
  padding: clamp(4.5rem, 8vw, 7rem) 0;
  color: var(--paper);
  background: var(--violet);
}

.practice-band h2,
.practice-band .eyebrow {
  color: var(--paper);
}

.practice-band .eyebrow {
  opacity: 0.78;
}

.practice-band p:not(.eyebrow) {
  max-width: 53rem;
  margin-bottom: 2rem;
  color: #f2edf9;
  font-size: 1.18rem;
}

.practice-list {
  display: grid;
  margin: 0;
  padding: 0;
  grid-template-columns: 1fr 1fr;
  gap: 0.8rem;
  list-style: none;
}

.practice-list li {
  padding: 1rem;
  color: var(--ink);
  border: 2px solid var(--ink);
  background: var(--yellow);
  box-shadow: 4px 4px 0 var(--ink);
  font-weight: 800;
  line-height: 1.3;
}

.video-work-section {
  background: #fffdf7;
}

.video-work-card {
  min-height: 24rem;
  padding: 2rem;
  border: 3px solid var(--ink);
  box-shadow: 7px 7px 0 var(--ink);
}

.video-work-card h3 {
  margin: 3.5rem 0 1rem;
  font-size: clamp(2rem, 3vw, 3rem);
}

.video-work-type {
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.video-work-yellow {
  background: #ffe88f;
}

.video-work-green {
  background: #bbdfbd;
}

.video-work-pink {
  background: #f1bfd8;
}

.faq-section {
  background: var(--soft);
}

.accordion {
  border-top: 3px solid var(--ink);
}

.accordion-item {
  color: var(--ink);
  border: 0;
  border-bottom: 3px solid var(--ink);
  border-radius: 0 !important;
  background: transparent;
}

.accordion-button {
  padding: 1.45rem 0;
  color: var(--ink);
  background: transparent;
  box-shadow: none !important;
  font-size: 1.2rem;
  font-weight: 800;
}

.accordion-button:not(.collapsed) {
  color: var(--violet);
  background: transparent;
}

.accordion-button::after {
  filter: none;
}

.accordion-body {
  max-width: 46rem;
  padding: 0 0 1.6rem;
  color: var(--muted);
}

/* Contact page */

.contact-hero {
  padding: clamp(5rem, 9vw, 9rem) 0;
  background:
    linear-gradient(90deg, rgba(75, 46, 131, 0.08) 1px, transparent 1px) 0 0 / 42px 42px,
    linear-gradient(rgba(75, 46, 131, 0.08) 1px, transparent 1px) 0 0 / 42px 42px,
    #fffdf7;
}

.contact-hero h1 {
  max-width: 11ch;
}

.contact-direct-card {
  padding: 2rem;
  border: 3px solid var(--ink);
  background: var(--aqua);
  box-shadow: 9px 9px 0 var(--ink);
  transform: rotate(1deg);
}

.contact-direct-label {
  margin-bottom: 0.4rem;
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.contact-direct-card > a {
  display: inline-block;
  margin-bottom: 1.2rem;
  font-size: clamp(1.8rem, 3vw, 2.7rem);
  font-weight: 900;
  letter-spacing: -0.04em;
}

.contact-direct-card p:last-child {
  font-weight: 650;
}

.contact-principles {
  color: var(--paper);
  background: var(--ink);
}

.principle-item {
  min-height: 12rem;
  padding: 2rem;
  border-right: 1px solid rgba(255, 255, 255, 0.22);
}

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

.principle-item span {
  display: block;
  margin-bottom: 1.1rem;
  color: var(--yellow);
  font-size: 0.78rem;
  font-weight: 900;
}

.principle-item strong {
  display: block;
  margin-bottom: 0.55rem;
  font-size: 1.2rem;
}

.principle-item p {
  color: #dedce6;
  font-size: 0.92rem;
  line-height: 1.5;
}

.enquiry-section {
  background: var(--soft);
  scroll-margin-top: 6rem;
}

.enquiry-form-wrap {
  padding: clamp(1.5rem, 4vw, 3.5rem);
  border: 3px solid var(--ink);
  background: var(--paper);
  box-shadow: 10px 10px 0 var(--ink);
}

.form-heading {
  margin-bottom: 2.7rem;
  padding-bottom: 2rem;
  border-bottom: 2px solid var(--ink);
}

.form-heading h2 {
  max-width: none;
}

.form-heading > p:last-child {
  color: var(--muted);
  font-size: 0.9rem;
}

.form-label {
  margin-bottom: 0.55rem;
  color: var(--ink);
  font-weight: 800;
}

.optional {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 650;
}

.form-control,
.form-select {
  min-height: 3.4rem;
  padding: 0.8rem 0.9rem;
  color: var(--ink);
  border: 2px solid var(--ink);
  border-radius: 0;
  background-color: var(--paper);
  font-size: 1rem;
  font-weight: 550;
}

textarea.form-control {
  min-height: 10rem;
  resize: vertical;
}

.form-control::placeholder {
  color: #696775;
  opacity: 1;
}

.form-control:focus,
.form-select:focus,
.form-check-input:focus {
  border-color: var(--violet);
  box-shadow: 0 0 0 0.25rem rgba(245, 200, 66, 0.65);
}

.budget-note {
  margin: 0 0 0.35rem;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.45;
}

.consent-check {
  padding: 1.2rem 1.2rem 1.2rem 3rem;
  border: 2px solid var(--border);
  background: var(--soft);
}

.form-check-input {
  width: 1.3rem;
  height: 1.3rem;
  margin-left: -1.9rem;
  border: 2px solid var(--ink);
  border-radius: 0 !important;
}

.form-check-input:checked {
  border-color: var(--violet);
  background-color: var(--violet);
}

.form-check-label {
  font-size: 0.91rem;
}

.form-status {
  max-width: 25rem;
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.4;
}

.contact-sidebar {
  display: grid;
  gap: 2rem;
}

.fit-card,
.next-step-card {
  padding: 2rem;
  border: 3px solid var(--ink);
}

.fit-card {
  background: #ffe88f;
  box-shadow: 8px 8px 0 var(--ink);
}

.fit-card h2 {
  max-width: 13ch;
  font-size: clamp(2rem, 3vw, 3rem);
}

.fit-list {
  margin: 1.7rem 0 0;
  padding: 0;
  list-style: none;
}

.fit-list li {
  position: relative;
  margin-bottom: 1rem;
  padding: 0 0 1rem 1.8rem;
  border-bottom: 1px solid rgba(23, 22, 41, 0.3);
  font-weight: 700;
  line-height: 1.45;
}

.fit-list li::before {
  position: absolute;
  left: 0;
  color: var(--violet);
  content: "✓";
  font-weight: 900;
}

.next-step-card {
  color: var(--paper);
  background: var(--violet);
  box-shadow: 8px 8px 0 var(--coral);
}

.next-step-card .eyebrow {
  color: var(--paper);
  opacity: 0.76;
}

.next-step-card ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

.next-step-card li {
  display: flex;
  padding: 1.1rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.3);
  flex-direction: column;
}

.next-step-card strong {
  color: var(--yellow);
}

.next-step-card span {
  margin-top: 0.2rem;
  color: #eee9f6;
  font-size: 0.88rem;
}

.contact-close {
  padding: clamp(4.5rem, 8vw, 7rem) 0;
  text-align: center;
  background: #fffdf7;
}

.contact-close h2 {
  max-width: none;
}

.contact-close p:last-child {
  color: var(--muted);
  font-size: 1.15rem;
}

/* Long-form legal pages */

.legal-hero {
  padding: clamp(4.5rem, 8vw, 7rem) 0;
  color: var(--paper);
  background: var(--violet);
}

.legal-hero .eyebrow,
.legal-hero h1 {
  color: var(--paper);
}

.legal-hero h1 {
  max-width: none;
  margin-bottom: 1.25rem;
  font-size: clamp(3rem, 6vw, 5.7rem);
}

.legal-intro {
  max-width: 48rem;
  color: #f1edf7;
  font-size: 1.25rem;
}

.legal-meta {
  display: flex;
  margin-top: 2rem;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.legal-meta span {
  padding: 0.65rem 0.85rem;
  color: var(--ink);
  border: 2px solid var(--ink);
  background: var(--yellow);
  font-size: 0.82rem;
}

.legal-switcher {
  border-bottom: 2px solid var(--ink);
  background: var(--paper);
}

.legal-switcher .container-xl {
  display: flex;
  overflow-x: auto;
  gap: 0;
}

.legal-switcher a {
  padding: 1rem 1.25rem;
  border-right: 1px solid var(--border);
  white-space: nowrap;
  text-decoration: none !important;
}

.legal-switcher a.active {
  color: var(--paper);
  background: var(--ink);
}

.legal-layout {
  padding: clamp(4rem, 7vw, 7rem) 0;
  background: #fffdf7;
}

.legal-contents {
  position: sticky;
  top: 8rem;
  padding: 1.5rem;
  border: 2px solid var(--ink);
  background: var(--paper);
  box-shadow: 6px 6px 0 var(--aqua);
}

.legal-contents-title {
  margin-bottom: 1rem;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.legal-contents ol {
  margin: 0;
  padding-left: 1.25rem;
}

.legal-contents li {
  margin-bottom: 0.58rem;
  color: var(--muted);
  font-size: 0.84rem;
}

.legal-document {
  max-width: 46rem;
  color: #292735;
  font-size: 1.02rem;
  line-height: 1.72;
}

.legal-company-block {
  margin-bottom: 2rem;
  padding: 1.35rem;
  border-left: 7px solid var(--yellow);
  background: var(--soft);
}

.legal-document section {
  padding-top: 2rem;
  scroll-margin-top: 7rem;
}

.legal-document h2 {
  max-width: none;
  margin: 2.5rem 0 1.2rem;
  padding-bottom: 0.7rem;
  border-bottom: 2px solid var(--ink);
  font-size: clamp(1.75rem, 3vw, 2.35rem);
  letter-spacing: -0.025em;
}

.legal-document h2 span {
  color: var(--coral);
}

.legal-document h3 {
  margin: 2rem 0 0.65rem;
  font-size: 1.2rem;
  letter-spacing: -0.01em;
}

.legal-document ol,
.legal-document ul {
  padding-left: 1.5rem;
}

.legal-document li {
  margin-bottom: 0.7rem;
  padding-left: 0.3rem;
}

.legal-definitions {
  display: grid;
  margin: 0;
  grid-template-columns: minmax(8rem, 0.35fr) 1fr;
}

.legal-definitions dt,
.legal-definitions dd {
  margin: 0;
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--border);
}

.legal-definitions dt {
  padding-right: 1rem;
  font-weight: 850;
}

.legal-document address {
  font-style: normal;
}

.back-to-top {
  display: inline-block;
  margin-top: 3rem;
}

.legal-footer {
  background: var(--yellow);
}

/* Website design and development page */

.web-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(4.5rem, 8vw, 8rem) 0;
  background:
    linear-gradient(90deg, rgba(103, 199, 190, 0.18) 1px, transparent 1px) 0 0 / 42px 42px,
    linear-gradient(rgba(103, 199, 190, 0.18) 1px, transparent 1px) 0 0 / 42px 42px,
    #f3fbfa;
}

.web-hero h1 {
  max-width: 14ch;
  font-size: clamp(2.8rem, 5.4vw, 5.4rem);
}

.browser-frame {
  margin: 0;
  border: 3px solid var(--ink);
  background: var(--paper);
  box-shadow: 13px 13px 0 var(--yellow);
  transform: rotate(1deg);
}

.browser-bar {
  display: flex;
  height: 2.7rem;
  padding: 0.75rem;
  border-bottom: 3px solid var(--ink);
  align-items: center;
  gap: 0.4rem;
}

.browser-bar span {
  width: 0.7rem;
  height: 0.7rem;
  border: 2px solid var(--ink);
  border-radius: 50%;
}

.browser-bar span:nth-child(1) { background: var(--coral); }
.browser-bar span:nth-child(2) { background: var(--yellow); }
.browser-bar span:nth-child(3) { background: var(--green); }

.browser-bar i {
  height: 1.1rem;
  margin-left: 0.6rem;
  border: 2px solid var(--ink);
  flex: 1;
}

.browser-frame img {
  display: block;
  width: 100%;
  height: auto;
}

.browser-frame figcaption {
  display: flex;
  padding: 1rem;
  border-top: 3px solid var(--ink);
  flex-direction: column;
  line-height: 1.35;
}

.browser-frame figcaption span {
  margin-top: 0.2rem;
  color: var(--muted);
  font-size: 0.8rem;
}

.web-proof {
  color: var(--paper);
  background: var(--ink);
}

.web-positioning {
  background: var(--paper);
}

.web-capabilities {
  background: var(--soft);
}

.capability-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.capability-card {
  min-height: 22rem;
  padding: clamp(2rem, 4vw, 3rem);
  border: 3px solid var(--ink);
  box-shadow: 7px 7px 0 var(--ink);
}

.capability-card > span {
  display: block;
  margin-bottom: 3rem;
  font-size: 0.8rem;
  font-weight: 900;
}

.capability-card h3 {
  max-width: 17ch;
}

.capability-card p {
  max-width: 33rem;
}

.capability-yellow { background: #ffe88f; }
.capability-green { background: #bbdfbd; }
.capability-blue { background: #c9e3f6; }
.capability-pink { background: #f1bfd8; }

.ee-band {
  padding: clamp(5rem, 9vw, 8rem) 0;
  color: var(--paper);
  background: var(--violet);
}

.ee-band h2,
.ee-band .eyebrow {
  color: var(--paper);
}

.ee-band .eyebrow {
  opacity: 0.78;
}

.ee-band p:not(.eyebrow) {
  color: #f0ebf7;
  font-size: 1.1rem;
}

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

.ee-points li {
  display: flex;
  padding: 1.1rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.3);
  flex-direction: column;
}

.ee-points li:last-child {
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

.ee-points strong {
  color: var(--yellow);
  font-size: 1.1rem;
}

.ee-points span {
  margin-top: 0.25rem;
  color: #f0ebf7;
  font-size: 0.92rem;
}

.website-work {
  background: #fffdf7;
}

.website-project {
  overflow: hidden;
  border: 3px solid var(--ink);
  background: var(--paper);
  box-shadow: 8px 8px 0 var(--ink);
}

.website-project-featured {
  margin: 3rem 0 1.5rem;
}

.website-project img {
  display: block;
  width: 100%;
  height: auto;
  border-bottom: 3px solid var(--ink);
  object-fit: cover;
}

.website-project-featured img {
  height: 100%;
  min-height: 31rem;
  border-right: 3px solid var(--ink);
  border-bottom: 0;
  object-position: top center;
}

.project-copy {
  padding: clamp(1.7rem, 4vw, 3rem);
}

.project-copy h3 {
  margin-bottom: 1rem;
  font-size: clamp(2rem, 3vw, 3rem);
}

.project-meta {
  margin-bottom: 2.5rem;
  color: var(--violet);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.project-proof {
  margin: 1.5rem 0;
  padding: 1rem;
  border-left: 6px solid var(--aqua);
  background: var(--soft);
}

.web-process {
  background: var(--paper);
}

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

.web-process-list li {
  display: grid;
  padding: 1.5rem 0 2rem;
  border-top: 2px solid var(--ink);
  grid-template-columns: 5rem 1fr;
  gap: 1.5rem;
}

.web-process-list li:last-child {
  border-bottom: 2px solid var(--ink);
}

.web-process-list > li > span {
  color: var(--pink);
  font-size: 0.9rem;
  font-weight: 900;
}

.web-process-list h3 {
  margin-bottom: 0.5rem;
}

.web-process-list p {
  max-width: 43rem;
  color: var(--muted);
}

.web-pricing {
  padding: clamp(4.5rem, 8vw, 7rem) 0;
  background: var(--aqua);
}

.web-pricing h2 {
  max-width: 17ch;
}

.web-pricing p:not(.eyebrow) {
  max-width: 48rem;
  font-size: 1.1rem;
}

.pricing-fit-card {
  padding: 2rem;
  border: 3px solid var(--ink);
  background: var(--paper);
  box-shadow: 8px 8px 0 var(--ink);
}

.pricing-fit-card ul {
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
}

.pricing-fit-card li {
  position: relative;
  margin-bottom: 0.9rem;
  padding: 0 0 0.9rem 1.7rem;
  border-bottom: 1px solid var(--border);
  font-weight: 700;
}

.pricing-fit-card li::before {
  position: absolute;
  left: 0;
  color: var(--violet);
  content: "✓";
  font-weight: 900;
}

/* 360 virtual tours page */

.tour-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(4.5rem, 8vw, 8rem) 0;
  background:
    radial-gradient(circle at 86% 22%, rgba(245, 200, 66, 0.55) 0 0.45rem, transparent 0.52rem),
    radial-gradient(circle at 92% 30%, rgba(215, 86, 150, 0.42) 0 0.3rem, transparent 0.38rem),
    linear-gradient(90deg, rgba(75, 46, 131, 0.08) 1px, transparent 1px) 0 0 / 42px 42px,
    linear-gradient(rgba(75, 46, 131, 0.08) 1px, transparent 1px) 0 0 / 42px 42px,
    #fffaf0;
}

.tour-hero h1 {
  max-width: 12ch;
  font-size: clamp(2.8rem, 5.4vw, 5.4rem);
}

.tour-panorama {
  position: relative;
  margin: 0;
  border: 3px solid var(--ink);
  background: var(--ink);
  box-shadow: 13px 13px 0 var(--pink);
  transform: rotate(1deg);
}

.tour-panorama img {
  display: block;
  width: 100%;
  min-height: 26rem;
  object-fit: cover;
}

.tour-panorama figcaption {
  display: flex;
  padding: 1rem;
  color: var(--ink);
  border-top: 3px solid var(--ink);
  background: var(--paper);
  flex-direction: column;
  line-height: 1.35;
}

.tour-panorama figcaption span {
  margin-top: 0.2rem;
  color: var(--muted);
  font-size: 0.8rem;
}

.tour-hotspot {
  position: absolute;
  display: grid;
  width: 2.8rem;
  height: 2.8rem;
  color: var(--ink);
  border: 3px solid var(--ink);
  border-radius: 50%;
  background: var(--yellow);
  box-shadow: 3px 3px 0 var(--ink);
  place-items: center;
  font-size: 1.5rem;
  font-weight: 900;
  line-height: 1;
}

.tour-hotspot-one { top: 31%; left: 24%; }
.tour-hotspot-two { top: 43%; right: 19%; }

.tour-proof {
  color: var(--paper);
  background: var(--ink);
}

.tour-positioning {
  background: var(--paper);
}

.tour-use-section {
  background: var(--soft);
}

.tour-use-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.tour-use-card {
  min-height: 22rem;
  padding: clamp(2rem, 4vw, 3rem);
  border: 3px solid var(--ink);
  box-shadow: 7px 7px 0 var(--ink);
}

.tour-use-card > span {
  display: block;
  margin-bottom: 3rem;
  font-size: 0.8rem;
  font-weight: 900;
}

.tour-use-card h3 {
  max-width: 16ch;
}

.tour-use-card p {
  max-width: 35rem;
}

.tour-use-yellow { background: #ffe88f; }
.tour-use-green { background: #bbdfbd; }
.tour-use-blue { background: #c9e3f6; }
.tour-use-pink { background: #f1bfd8; }

.tour-media-band {
  padding: clamp(5rem, 9vw, 8rem) 0;
  color: var(--paper);
  background: var(--violet);
}

.tour-media-band h2,
.tour-media-band .eyebrow {
  color: var(--paper);
}

.tour-media-band .eyebrow {
  opacity: 0.78;
}

.tour-viewer-placeholder {
  position: relative;
  display: grid;
  min-height: 30rem;
  padding: 2rem;
  overflow: hidden;
  color: var(--ink);
  border: 3px solid var(--ink);
  background:
    linear-gradient(135deg, rgba(255,255,255,0.3), transparent),
    var(--aqua);
  box-shadow: 12px 12px 0 var(--yellow);
  place-items: center;
  text-align: center;
}

.tour-viewer-placeholder::before,
.tour-viewer-placeholder::after {
  position: absolute;
  border: 3px solid var(--ink);
  border-radius: 50%;
  content: "";
}

.tour-viewer-placeholder::before {
  width: 27rem;
  height: 13rem;
}

.tour-viewer-placeholder::after {
  width: 13rem;
  height: 27rem;
}

.tour-viewer-orbit {
  position: relative;
  z-index: 1;
  display: grid;
  width: 8rem;
  height: 8rem;
  border: 3px solid var(--ink);
  border-radius: 50%;
  background: var(--yellow);
  box-shadow: 6px 6px 0 var(--ink);
  place-items: center;
}

.tour-viewer-orbit span {
  font-size: 2rem;
  font-weight: 900;
  letter-spacing: -0.05em;
}

.tour-viewer-placeholder p {
  position: absolute;
  right: 1.5rem;
  bottom: 1.5rem;
  left: 1.5rem;
  z-index: 1;
  display: flex;
  margin: 0;
  padding: 0.9rem;
  border: 2px solid var(--ink);
  background: var(--paper);
  flex-direction: column;
  line-height: 1.35;
}

.tour-viewer-placeholder p span {
  margin-top: 0.2rem;
  color: var(--muted);
  font-size: 0.78rem;
}

.tour-feature-list {
  margin: 2rem 0 0;
  padding: 0;
  list-style: none;
}

.tour-feature-list li {
  display: flex;
  padding: 1.1rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.3);
  flex-direction: column;
}

.tour-feature-list li:last-child {
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

.tour-feature-list strong {
  color: var(--yellow);
  font-size: 1.1rem;
}

.tour-feature-list span {
  margin-top: 0.25rem;
  color: #f0ebf7;
  font-size: 0.92rem;
}

.tour-work-section {
  background: #fffdf7;
}

.tour-case {
  min-height: 24rem;
  padding: clamp(2rem, 4vw, 3rem);
  border: 3px solid var(--ink);
  box-shadow: 8px 8px 0 var(--ink);
}

.tour-case-featured { background: #ffe88f; }
.tour-case-act { background: #c9e3f6; }
.tour-case-mfw { background: #f1bfd8; }

.tour-case-meta {
  min-height: 3rem;
  margin-bottom: 3rem;
  color: var(--violet);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.tour-case h3 {
  margin-bottom: 1rem;
  font-size: clamp(2rem, 3vw, 3rem);
}

.tour-case a {
  display: inline-block;
  margin-top: 1rem;
}

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

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

.tour-process-list li {
  display: grid;
  padding: 1.5rem 0 2rem;
  border-top: 2px solid var(--ink);
  grid-template-columns: 5rem 1fr;
  gap: 1.5rem;
}

.tour-process-list li:last-child {
  border-bottom: 2px solid var(--ink);
}

.tour-process-list > li > span {
  color: var(--pink);
  font-size: 0.9rem;
  font-weight: 900;
}

.tour-process-list h3 {
  margin-bottom: 0.5rem;
}

.tour-process-list p {
  max-width: 43rem;
  color: var(--muted);
}

.tour-quote-band {
  padding: clamp(4.5rem, 8vw, 7rem) 0;
  background: var(--aqua);
}

.tour-quote-band h2 {
  max-width: 18ch;
}

.tour-quote-band p:not(.eyebrow) {
  max-width: 49rem;
  font-size: 1.1rem;
}

.tour-quote-card {
  padding: 2rem;
  border: 3px solid var(--ink);
  background: var(--paper);
  box-shadow: 8px 8px 0 var(--ink);
}

.tour-quote-label {
  color: var(--violet);
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.tour-quote-card ul {
  margin: 1.4rem 0 0;
  padding: 0;
  list-style: none;
}

.tour-quote-card li {
  position: relative;
  padding: 0.8rem 0 0.8rem 1.7rem;
  border-top: 1px solid var(--border);
  font-weight: 700;
}

.tour-quote-card li::before {
  position: absolute;
  left: 0;
  color: var(--violet);
  content: "→";
  font-weight: 900;
}

/* Managed services page */

.managed-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(4.5rem, 8vw, 8rem) 0;
  background:
    linear-gradient(90deg, rgba(33, 118, 199, 0.1) 1px, transparent 1px) 0 0 / 42px 42px,
    linear-gradient(rgba(33, 118, 199, 0.1) 1px, transparent 1px) 0 0 / 42px 42px,
    #f2f8fd;
}

.managed-hero h1 {
  max-width: 14ch;
  font-size: clamp(2.75rem, 5.1vw, 5.2rem);
}

.managed-console {
  overflow: hidden;
  border: 3px solid var(--ink);
  background: var(--paper);
  box-shadow: 13px 13px 0 var(--aqua);
  transform: rotate(1deg);
}

.console-topline,
.console-footer {
  display: flex;
  padding: 1rem 1.2rem;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.8rem;
  font-weight: 800;
}

.console-topline { color: var(--paper); background: var(--ink); }
.console-topline strong { color: var(--yellow); }

.console-stat {
  display: grid;
  padding: 2rem 1.5rem;
  border-bottom: 2px solid var(--ink);
  background: #ffe88f;
  grid-template-columns: 1fr auto;
  align-items: end;
}

.console-stat span {
  grid-column: 1;
  color: var(--violet);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.console-stat strong {
  grid-column: 2;
  grid-row: 1 / 3;
  font-size: clamp(4.5rem, 8vw, 7.5rem);
  letter-spacing: -0.08em;
  line-height: 0.8;
}

.console-stat small { grid-column: 1; font-weight: 750; }
.console-list { padding: 0.5rem 1.2rem; }

.console-list p {
  display: grid;
  margin: 0;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
  grid-template-columns: 1rem 1fr auto;
  align-items: center;
  gap: 0.7rem;
  line-height: 1.25;
}

.console-list small { color: var(--muted); font-weight: 700; }

.status-dot {
  width: 0.75rem;
  height: 0.75rem;
  border: 2px solid var(--ink);
  border-radius: 50%;
}

.status-green { background: var(--green); }
.status-yellow { background: var(--yellow); }
.console-footer { background: var(--soft); }
.managed-proof { color: var(--paper); background: var(--ink); }
.managed-positioning { background: var(--paper); }
.managed-services-grid { background: var(--soft); }

.managed-card-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.managed-card {
  min-height: 22rem;
  padding: clamp(2rem, 4vw, 3rem);
  border: 3px solid var(--ink);
  box-shadow: 7px 7px 0 var(--ink);
}

.managed-card > span {
  display: block;
  margin-bottom: 3rem;
  font-size: 0.8rem;
  font-weight: 900;
}

.managed-card h3 { max-width: 17ch; }
.managed-card p { max-width: 34rem; }
.managed-card-yellow { background: #ffe88f; }
.managed-card-green { background: #bbdfbd; }
.managed-card-blue { background: #c9e3f6; }
.managed-card-pink { background: #f1bfd8; }

.managed-detail-band {
  padding: clamp(5rem, 9vw, 8rem) 0;
  color: var(--paper);
  background: var(--violet);
}

.managed-detail-band h2,
.managed-detail-band .eyebrow { color: var(--paper); }
.managed-detail-band .eyebrow { opacity: 0.78; }
.managed-detail-band p:not(.eyebrow) { color: #f0ebf7; font-size: 1.1rem; }

.managed-task-list {
  margin: 0;
  padding: 0;
  border-top: 1px solid rgba(255,255,255,0.35);
  list-style: none;
}

.managed-task-list li {
  display: grid;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.35);
  grid-template-columns: 7rem 1fr;
  gap: 1.5rem;
}

.managed-task-list span {
  color: var(--yellow);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.managed-task-list strong { color: var(--paper); line-height: 1.4; }
.managed-case-section { background: #fffdf7; }

.managed-case {
  overflow: hidden;
  border: 3px solid var(--ink);
  background: var(--paper);
  box-shadow: 10px 10px 0 var(--ink);
}

.managed-case-number {
  display: flex;
  min-height: 34rem;
  padding: 3rem;
  color: var(--ink);
  border-right: 3px solid var(--ink);
  background:
    linear-gradient(90deg, rgba(23,22,41,0.1) 1px, transparent 1px) 0 0 / 36px 36px,
    linear-gradient(rgba(23,22,41,0.1) 1px, transparent 1px) 0 0 / 36px 36px,
    var(--aqua);
  flex-direction: column;
  justify-content: center;
}

.managed-case-number span {
  font-size: clamp(7rem, 15vw, 13rem);
  font-weight: 900;
  letter-spacing: -0.1em;
  line-height: 0.8;
}

.managed-case-number strong { margin-top: 1.6rem; font-size: 1.2rem; }

.managed-case-copy {
  display: flex;
  padding: clamp(2.5rem, 6vw, 5rem);
  flex-direction: column;
  justify-content: center;
}

.managed-case-copy h2 { max-width: none; }
.managed-process { background: var(--paper); }

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

.managed-process-list li {
  display: grid;
  padding: 1.5rem 0 2rem;
  border-top: 2px solid var(--ink);
  grid-template-columns: 5rem 1fr;
  gap: 1.5rem;
}

.managed-process-list li:last-child { border-bottom: 2px solid var(--ink); }
.managed-process-list > li > span { color: var(--blue); font-size: 0.9rem; font-weight: 900; }
.managed-process-list h3 { margin-bottom: 0.5rem; }
.managed-process-list p { max-width: 43rem; color: var(--muted); }

.managed-fit-band {
  padding: clamp(5rem, 9vw, 8rem) 0;
  background: var(--soft);
}

.managed-fit-band .col-lg-6 {
  padding: clamp(2rem, 5vw, 4rem);
  border: 3px solid var(--ink);
  background: var(--paper);
  box-shadow: 8px 8px 0 var(--ink);
}

.managed-fit-band .col-lg-6:last-child { background: #fff1ef; }

.managed-fit-list {
  margin: 2rem 0 0;
  padding: 0;
  list-style: none;
}

.managed-fit-list li {
  position: relative;
  padding: 1rem 0 1rem 2rem;
  border-top: 1px solid var(--border);
  font-weight: 700;
}

.managed-fit-list li::before { position: absolute; left: 0; font-size: 1.1rem; font-weight: 900; }
.fit-yes li::before { color: var(--violet); content: "✓"; }
.fit-no li::before { color: var(--coral); content: "×"; }

.managed-pricing-band {
  padding: clamp(4.5rem, 8vw, 7rem) 0;
  color: var(--paper);
  background: var(--blue);
}

.managed-pricing-band h2,
.managed-pricing-band .eyebrow { color: var(--paper); }
.managed-pricing-band .eyebrow { opacity: 0.8; }
.managed-pricing-band p:not(.eyebrow) { max-width: 49rem; color: #f0f7fd; font-size: 1.1rem; }

.managed-pricing-card {
  padding: 2rem;
  color: var(--ink);
  border: 3px solid var(--ink);
  background: var(--yellow);
  box-shadow: 8px 8px 0 var(--ink);
}

.managed-pricing-label {
  color: var(--violet) !important;
  font-size: 0.8rem !important;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.managed-pricing-card ul { margin: 1.4rem 0 0; padding: 0; list-style: none; }

.managed-pricing-card li {
  position: relative;
  padding: 0.8rem 0 0.8rem 1.7rem;
  border-top: 1px solid rgba(23,22,41,0.3);
  font-weight: 700;
}

.managed-pricing-card li::before {
  position: absolute;
  left: 0;
  color: var(--violet);
  content: "→";
  font-weight: 900;
}

.managed-agreement-link {
  margin-top: 2rem;
  padding: 1rem;
  border-left: 6px solid var(--yellow);
  background: var(--paper);
  font-size: 0.92rem;
}

/* Reusable case study page */

.case-study-hero {
  padding: clamp(3rem, 7vw, 6.5rem) 0 0;
  background:
    linear-gradient(90deg, rgba(245, 200, 66, 0.18) 1px, transparent 1px) 0 0 / 42px 42px,
    linear-gradient(rgba(245, 200, 66, 0.18) 1px, transparent 1px) 0 0 / 42px 42px,
    #fffdf7;
}

.case-study-breadcrumb {
  display: flex;
  margin-bottom: clamp(3rem, 6vw, 5rem);
  color: var(--muted);
  gap: 0.65rem;
  font-size: 0.86rem;
  font-weight: 750;
}

.case-study-hero h1 {
  max-width: 13ch;
  font-size: clamp(3rem, 6vw, 6rem);
}

.case-study-deck {
  margin-bottom: 1rem;
  font-size: clamp(1.2rem, 1.8vw, 1.45rem);
  font-weight: 600;
  line-height: 1.55;
}

.case-study-hero-media {
  position: relative;
  z-index: 1;
  margin: clamp(3rem, 6vw, 5rem) 0 -6rem;
  border: 3px solid var(--ink);
  background: var(--paper);
  box-shadow: 13px 13px 0 var(--coral);
}

.case-study-hero-media img {
  display: block;
  width: 100%;
  height: auto;
}

.case-study-hero-media figcaption,
.case-study-media figcaption {
  display: flex;
  padding: 1rem 1.2rem;
  border-top: 3px solid var(--ink);
  flex-direction: column;
  line-height: 1.35;
}

.case-study-hero-media figcaption span,
.case-study-media figcaption span {
  margin-top: 0.25rem;
  color: var(--muted);
  font-size: 0.82rem;
}

.case-study-facts {
  padding-top: 6rem;
  color: var(--paper);
  background: var(--ink);
}

.case-study-facts dl {
  margin: 0;
}

.case-study-facts dl > div {
  display: flex;
  min-height: 9rem;
  padding: 1.5rem;
  border-right: 1px solid rgba(255,255,255,0.22);
  flex-direction: column;
  justify-content: center;
}

.case-study-facts dt {
  margin-bottom: 0.45rem;
  color: var(--yellow);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.case-study-facts dd {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 750;
  line-height: 1.4;
}

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

.case-study-statement {
  padding: clamp(4.5rem, 8vw, 7rem) 0;
  color: var(--paper);
  background: var(--violet);
}

.case-study-statement p {
  max-width: 27ch;
  margin: 0;
  font-size: clamp(2.1rem, 4.5vw, 4.5rem);
  font-weight: 850;
  letter-spacing: -0.04em;
  line-height: 1.12;
}

.case-study-statement span {
  color: var(--yellow);
}

.case-study-narrative {
  background: var(--soft);
}

.case-study-text-block {
  height: 100%;
  padding: clamp(2rem, 5vw, 4rem);
  border: 3px solid var(--ink);
  background: var(--paper);
  box-shadow: 8px 8px 0 var(--ink);
}

.case-study-text-block-colour {
  background: #c9e3f6;
}

.case-study-text-block h2 {
  max-width: 15ch;
  font-size: clamp(2rem, 3.4vw, 3.4rem);
}

.case-study-text-block p:not(.eyebrow) {
  color: var(--muted);
}

.case-study-media-section {
  background: #fffdf7;
}

.case-study-media {
  overflow: hidden;
  margin: 0;
  border: 3px solid var(--ink);
  background: var(--paper);
  box-shadow: 8px 8px 0 var(--ink);
}

.case-study-media img {
  display: block;
  width: 100%;
}

.case-study-media-site img {
  height: 100%;
  min-height: 31rem;
  object-fit: cover;
}

.case-study-film-image {
  position: relative;
  height: calc(100% - 5.6rem);
  min-height: 31rem;
  overflow: hidden;
  background: var(--ink);
}

.case-study-film-image img {
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.case-study-play {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  width: 5rem;
  height: 5rem;
  padding-left: 0.25rem;
  color: var(--paper);
  border: 3px solid var(--ink);
  border-radius: 50%;
  background: var(--coral);
  box-shadow: 5px 5px 0 var(--ink);
  transform: translate(-50%, -50%);
  place-items: center;
  font-size: 1.4rem;
}

.case-study-deliverables {
  color: var(--paper);
  background: var(--ink);
}

.case-study-deliverables h2,
.case-study-deliverables .eyebrow,
.case-study-deliverables h3 {
  color: var(--paper);
}

.case-study-deliverables .eyebrow {
  opacity: 0.78;
}

.deliverables-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.deliverables-grid article {
  min-height: 17rem;
  padding: 2rem;
  border-top: 1px solid rgba(255,255,255,0.3);
  border-left: 1px solid rgba(255,255,255,0.3);
}

.deliverables-grid article:nth-last-child(-n + 2) {
  border-bottom: 1px solid rgba(255,255,255,0.3);
}

.deliverables-grid article > span {
  display: block;
  margin-bottom: 2rem;
  color: var(--yellow);
  font-size: 0.78rem;
  font-weight: 900;
}

.deliverables-grid h3 {
  margin-bottom: 0.7rem;
}

.deliverables-grid p {
  color: #dedce6;
  font-size: 0.94rem;
}

.case-study-result {
  padding: clamp(5rem, 9vw, 8rem) 0;
  color: var(--paper);
  background: var(--blue);
}

.case-study-result h2,
.case-study-result .eyebrow {
  color: var(--paper);
}

.case-study-result .eyebrow {
  opacity: 0.8;
}

.case-study-result p {
  color: #f0f7fd;
  font-size: 1.14rem;
}

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

.credits-list {
  margin: 0;
  border-top: 2px solid var(--ink);
}

.credits-list > div {
  display: grid;
  padding: 1.25rem 0;
  border-bottom: 2px solid var(--ink);
  grid-template-columns: 10rem 1fr;
  gap: 2rem;
}

.credits-list dt {
  color: var(--violet);
  font-weight: 850;
}

.credits-list dd {
  margin: 0;
  color: var(--muted);
}

.case-study-next {
  padding: clamp(4.5rem, 8vw, 7rem) 0;
  background: var(--soft);
}

.case-study-next-card {
  position: relative;
  display: flex;
  min-height: 15rem;
  padding: 2rem 5rem 2rem 2rem;
  color: var(--ink) !important;
  border: 3px solid var(--ink);
  background: var(--paper);
  box-shadow: 7px 7px 0 var(--ink);
  flex-direction: column;
  justify-content: space-between;
  text-decoration: none !important;
}

.case-study-next-card:hover {
  background: var(--yellow);
}

.case-study-next-card span {
  color: var(--violet);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.case-study-next-card strong {
  max-width: 20ch;
  font-size: clamp(1.5rem, 2.6vw, 2.4rem);
  line-height: 1.2;
}

.case-study-next-card i {
  position: absolute;
  right: 2rem;
  bottom: 2rem;
  font-size: 2.5rem;
  font-style: normal;
}

@media print {
  .site-header,
  .legal-switcher,
  .legal-contents,
  .site-footer,
  .back-to-top {
    display: none !important;
  }

  .legal-hero {
    padding: 0 0 1.5rem;
    color: #000;
    background: #fff;
  }

  .legal-hero h1,
  .legal-hero .eyebrow,
  .legal-intro {
    color: #000;
  }

  .legal-layout {
    padding: 0;
    background: #fff;
  }

  .legal-document {
    max-width: none;
    color: #000;
    font-size: 10pt;
  }
}

@media (max-width: 991.98px) {
  .navbar-collapse {
    padding: 1.25rem 0 1.5rem;
    border-top: 1px solid var(--border);
  }

  .navbar-nav {
    align-items: flex-start !important;
  }

  .navbar .nav-link {
    padding-block: 0.65rem;
  }

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

  .proof-item:nth-child(-n + 2) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.22);
  }

  .hero-image-wrap {
    max-width: 36rem;
  }

  .team-grid {
    max-width: 42rem;
  }

  .package-heading {
    position: static;
  }

  .bespoke-video-note {
    grid-template-columns: 1fr;
  }

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

  .assurance-item:nth-child(-n + 2) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.22);
  }

  .contact-sidebar {
    grid-template-columns: 1fr 1fr;
  }

  .legal-contents {
    position: static;
  }

  .website-project-featured img {
    min-height: auto;
    border-right: 0;
    border-bottom: 3px solid var(--ink);
  }

  .tour-panorama {
    max-width: 46rem;
  }

  .managed-console {
    max-width: 38rem;
  }

  .managed-case-number {
    min-height: 22rem;
    border-right: 0;
    border-bottom: 3px solid var(--ink);
  }

  .managed-fit-band .row {
    margin-inline: 0;
  }

  .case-study-facts dl > div:nth-child(2) {
    border-right: 0;
  }

  .case-study-facts dl > div:nth-child(-n + 2) {
    border-bottom: 1px solid rgba(255,255,255,0.22);
  }

  .case-study-media-site img,
  .case-study-film-image {
    min-height: 25rem;
  }
}

@media (max-width: 575.98px) {
  body {
    font-size: 1rem;
  }

  h1 {
    font-size: clamp(2.65rem, 13vw, 4rem);
  }
  
  .navbar-brand img {
    width: 175px;
  }

  .hero {
    padding-top: 3.5rem;
  }

  .proof-item {
    min-height: 7.5rem;
    padding: 1rem;
  }

  .package-topline,
  .relationship-grid p {
    align-items: flex-start;
    flex-direction: column;
  }

  .relationship-grid span {
    text-align: left;
  }

  .service-row {
    grid-template-columns: 2.5rem 1fr;
  }

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

  .team-card,
  .team-card-offset {
    max-width: 22rem;
    margin: 0 auto;
  }

  .case-card {
    min-height: 23rem;
  }

  .video-hero {
    padding-top: 3.5rem;
  }

  .assurance-item {
    min-height: 6.5rem;
    padding: 0.9rem;
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
  }

  .process-list li {
    grid-template-columns: 2.5rem 1fr;
    gap: 0.8rem;
  }

  .practice-list {
    grid-template-columns: 1fr;
  }

  .video-work-card {
    min-height: 20rem;
  }

  .contact-hero {
    padding-top: 3.5rem;
  }

  .principle-item {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.22);
  }

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

  .contact-sidebar {
    grid-template-columns: 1fr;
  }

  .legal-definitions {
    grid-template-columns: 1fr;
  }

  .legal-definitions dt {
    padding-bottom: 0.1rem;
    border-bottom: 0;
  }

  .legal-definitions dd {
    padding-top: 0.1rem;
  }

  .web-hero {
    padding-top: 3.5rem;
  }

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

  .capability-card {
    min-height: 18rem;
  }

  .web-process-list li {
    grid-template-columns: 2.5rem 1fr;
    gap: 0.8rem;
  }

  .tour-hero {
    padding-top: 3.5rem;
  }

  .tour-panorama img {
    min-height: 19rem;
  }

  .tour-use-grid {
    grid-template-columns: 1fr;
  }

  .tour-use-card {
    min-height: 18rem;
  }

  .tour-viewer-placeholder {
    min-height: 24rem;
  }

  .tour-process-list li {
    grid-template-columns: 2.5rem 1fr;
    gap: 0.8rem;
  }

  .managed-hero {
    padding-top: 3.5rem;
  }

  .managed-card-grid {
    grid-template-columns: 1fr;
  }

  .managed-card {
    min-height: 18rem;
  }

  .managed-task-list li {
    grid-template-columns: 1fr;
    gap: 0.3rem;
  }

  .managed-case-number {
    min-height: 18rem;
    padding: 2rem;
  }

  .managed-process-list li {
    grid-template-columns: 2.5rem 1fr;
    gap: 0.8rem;
  }

  .managed-fit-band .col-lg-6 {
    padding: 2rem 1.25rem;
  }

  .console-list p {
    grid-template-columns: 1rem 1fr;
  }

  .console-list small {
    grid-column: 2;
  }

  .case-study-hero {
    padding-top: 2.5rem;
  }

  .case-study-breadcrumb {
    margin-bottom: 2.5rem;
  }

  .case-study-hero-media {
    margin-bottom: -3rem;
  }

  .case-study-facts {
    padding-top: 3rem;
  }

  .case-study-facts dl > div {
    min-height: 8rem;
    padding: 1rem;
  }

  .case-study-text-block {
    padding: 2rem 1.25rem;
  }

  .case-study-media-site img,
  .case-study-film-image {
    min-height: 20rem;
  }

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

  .deliverables-grid article {
    min-height: auto;
    border-right: 1px solid rgba(255,255,255,0.3);
  }

  .deliverables-grid article:nth-last-child(-n + 2) {
    border-bottom: 0;
  }

  .deliverables-grid article:last-child {
    border-bottom: 1px solid rgba(255,255,255,0.3);
  }

  .credits-list > div {
    grid-template-columns: 1fr;
    gap: 0.25rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
