:root {
  color-scheme: light;
  --bg: #f3ede3;
  --bg-soft: rgba(255, 252, 247, 0.88);
  --surface: rgba(255, 249, 241, 0.78);
  --surface-strong: #fffaf2;
  --text: #17120d;
  --muted: #655a4d;
  --line: rgba(23, 18, 13, 0.09);
  --accent: #a25234;
  --accent-soft: rgba(162, 82, 52, 0.12);
  --accent-deep: #5a2616;
  --shadow: 0 24px 70px rgba(48, 32, 20, 0.12);
  --page-width: min(1380px, calc(100% - 2rem));
  --radius-xl: 2rem;
  --radius-lg: 1.35rem;
  --radius-md: 1rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Avenir Next", "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(162, 82, 52, 0.16), transparent 34%),
    radial-gradient(circle at top right, rgba(37, 42, 68, 0.08), transparent 28%),
    linear-gradient(180deg, #f7f2ea 0%, #efe6d9 52%, #f3ede3 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.42;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.18) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.18) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.4), transparent 85%);
}

img {
  max-width: 100%;
}

.tkp-progressive-image[data-src] {
  filter: blur(12px) saturate(0.9);
  transform: scale(1.01);
}

.tkp-progressive-image {
  transition:
    filter 240ms ease,
    transform 240ms ease,
    opacity 240ms ease,
    box-shadow 180ms ease;
}

.tkp-progressive-image.is-loaded,
.tkp-progressive-image:not([data-src]) {
  filter: none;
  transform: none;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.page-shell {
  position: relative;
  z-index: 1;
  width: var(--page-width);
  margin: 0 auto;
  padding: 1.1rem 0 4rem;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.6rem 0 2rem;
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  color: inherit;
  text-decoration: none;
}

.brand-emblem {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 999px;
  background:
    radial-gradient(circle at 30% 25%, rgba(255, 247, 238, 0.22), transparent 34%),
    linear-gradient(135deg, #291913 0%, #6f3320 56%, #cb9268 100%);
  box-shadow: inset 0 1px 0 rgba(255, 248, 240, 0.15);
  color: #fff8f1;
  font-family: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-indent: 0.14em;
}

.brand-wordmark {
  display: grid;
  gap: 0.12rem;
}

.brand-wordmark span,
.header-note {
  margin: 0;
}

.brand-wordmark span {
  font-family: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif;
  font-size: clamp(1.18rem, 1.9vw, 1.55rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 0.92;
}

.header-note {
  max-width: 31rem;
  color: var(--muted);
  text-align: right;
  line-height: 1.4;
}

.eyebrow {
  margin: 0 0 0.75rem;
  color: var(--accent-deep);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.hero-banner-image,
.gallery-shell,
.home-hero-frame,
.case-summary-panel,
.case-card {
  backdrop-filter: blur(12px);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.35rem;
  padding: 0.9rem 1.35rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition:
    transform 180ms ease,
    background-color 180ms ease,
    border-color 180ms ease,
    color 180ms ease;
}

.button:hover,
.button:focus-visible,
.lightbox-close:hover,
.lightbox-close:focus-visible,
.lightbox-nav:hover,
.lightbox-nav:focus-visible {
  transform: translateY(-2px);
}

.button-primary {
  background: var(--text);
  color: #fffaf2;
}

.button-primary:hover,
.button-primary:focus-visible {
  background: #241b14;
}

.button-secondary {
  border-color: var(--line);
  background: rgba(255, 252, 247, 0.64);
  color: var(--text);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  border-color: rgba(23, 18, 13, 0.24);
}

.hero-secondary-button {
  border-color: rgba(255, 247, 238, 0.22);
  background: rgba(255, 247, 238, 0.12);
  color: #fff8f1;
  backdrop-filter: blur(8px);
}

.hero-secondary-button:hover,
.hero-secondary-button:focus-visible {
  border-color: rgba(255, 247, 238, 0.4);
  color: #fff8f1;
}

.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 0.4rem;
}

.hero-facts p {
  margin: 0;
  padding: 0.68rem 0.92rem;
  border: 1px solid rgba(255, 247, 238, 0.22);
  border-radius: 999px;
  background: rgba(255, 247, 238, 0.14);
  color: #fff8f1;
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.1;
  backdrop-filter: blur(8px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 0.25rem;
}

.home-hero {
  margin-top: 0.25rem;
}

.home-hero-frame {
  position: relative;
  margin: 0;
  overflow: hidden;
  min-height: min(49rem, 82vh);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: rgba(255, 251, 244, 0.68);
  box-shadow: var(--shadow);
}

.home-hero-frame img,
.hero-banner-image > img,
.hero-banner-image > video,
.hero-banner-abstract {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
}

.home-hero-frame img,
.hero-banner-image > img,
.hero-banner-image > video {
  object-fit: cover;
}

.tkp-hero-video-frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  background: #130f0c;
}

.home-hero-overlay {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  align-items: start;
  gap: 1.2rem;
  min-height: inherit;
  padding: clamp(1.4rem, 3.2vw, 2.6rem);
  background:
    linear-gradient(90deg, rgba(13, 10, 8, 0.84) 0%, rgba(13, 10, 8, 0.52) 38%, rgba(13, 10, 8, 0.18) 70%, rgba(13, 10, 8, 0.04) 100%);
}

.home-hero-copy {
  align-self: start;
  display: grid;
  gap: 0.95rem;
  width: min(38rem, 100%);
}

.home-hero-eyebrow {
  color: rgba(255, 247, 238, 0.84);
  margin-bottom: 0;
}

.home-hero-copy h1,
.case-overview h2,
.hero-overlay h1,
.day-header h3,
.case-summary-intro h2,
.case-summary-card h3 {
  margin: 0;
  font-family: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif;
  font-weight: 700;
  letter-spacing: -0.04em;
}

.home-hero-copy h1 {
  max-width: 9ch;
  color: #fff8f1;
  font-size: clamp(3rem, 6vw, 5.5rem);
  line-height: 0.9;
}

.home-hero-text,
.case-overview-copy,
.hero-overlay-copy,
.gallery-meta p,
.day-description,
.case-summary-copy,
.case-summary-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.home-hero-text {
  max-width: 34rem;
  color: rgba(255, 247, 238, 0.9);
  font-size: 1rem;
  line-height: 1.45;
}

.home-hero-side {
  align-self: end;
  display: grid;
  gap: 0.85rem;
  min-width: 15rem;
  padding: 1rem 1.05rem 1.05rem;
  border: 1px solid rgba(255, 247, 238, 0.14);
  border-radius: 1.35rem;
  background: rgba(255, 247, 238, 0.12);
  color: #fff8f1;
  backdrop-filter: blur(10px);
}

.home-hero-side-kicker {
  margin: 0;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 247, 238, 0.76);
}

.home-hero-side-title {
  margin: 0;
  font-family: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif;
  font-size: 1.45rem;
  font-weight: 700;
  line-height: 0.98;
}

.home-hero-list {
  display: grid;
  gap: 0.55rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.home-hero-list li {
  margin: 0;
  padding-top: 0.55rem;
  border-top: 1px solid rgba(255, 247, 238, 0.12);
  font-weight: 700;
}

.case-overview {
  margin-top: 1.5rem;
}

.case-overview-header {
  max-width: 62rem;
  margin-bottom: 1.35rem;
}

.case-overview h2 {
  font-size: clamp(2.2rem, 4.5vw, 3.9rem);
  line-height: 0.95;
}

.case-overview-copy {
  max-width: 46rem;
  margin-top: 0.95rem;
}

.case-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-flow: dense;
  grid-auto-rows: 8px;
  gap: 1rem;
  align-items: start;
}

.case-card {
  align-self: start;
  display: block;
  width: 100%;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 1.4rem;
  background:
    linear-gradient(180deg, rgba(255, 252, 247, 0.84), rgba(251, 245, 236, 0.72)),
    var(--surface);
  box-shadow: var(--shadow);
}

.case-card-featured {
  grid-column: auto;
}

.case-card[data-column-span="2"] {
  grid-column: span 2;
}

.case-card-link {
  display: grid;
  height: 100%;
  color: inherit;
  text-decoration: none;
}

.case-card-media,
.hero-banner-abstract {
  background:
    radial-gradient(circle at top left, rgba(255, 247, 238, 0.18), transparent 30%),
    radial-gradient(circle at bottom right, rgba(255, 247, 238, 0.08), transparent 42%),
    linear-gradient(135deg, var(--tone-a, #261915) 0%, var(--tone-b, #5c2d1e) 48%, var(--tone-c, #cf9c73) 100%);
}

.case-card-media {
  display: grid;
  place-items: end start;
  min-height: 12.5rem;
  padding: 1.15rem;
  color: rgba(255, 246, 236, 0.92);
}

.case-card-media span {
  max-width: 10ch;
  font-family: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif;
  font-size: clamp(1.5rem, 2.8vw, 2.2rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 0.95;
}

.case-card-media-photo {
  display: block;
  position: relative;
  min-height: 0;
  padding: 0;
  background: transparent;
}

.case-card-media-photo img,
.case-card-media-photo video,
.case-card-media-photo iframe {
  display: block;
  width: 100%;
  height: auto;
}

.case-card-media-photo[data-has-video="true"] {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #130f0c;
}

.case-card-media-photo[data-has-video="true"] video,
.case-card-media-photo[data-has-video="true"] iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.case-card-media-photo[data-has-video="true"] video {
  object-fit: cover;
}

.case-card-media-photo[data-has-video="true"][data-video-orientation="portrait"] {
  aspect-ratio: 9 / 16;
}

.case-card-media-photo[data-has-video="true"][data-video-orientation="portrait"] video {
  object-fit: contain;
}

.case-card-media-embed {
  border: 0;
  background: #130f0c;
  pointer-events: none;
}

.case-card-video-badge {
  position: absolute;
  left: 0.9rem;
  bottom: 0.9rem;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  min-height: 2rem;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  background: rgba(19, 15, 12, 0.68);
  color: #fff8f1;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
}

.tkp-cover-video {
  background: #130f0c;
}

.case-card-body {
  display: grid;
  gap: 0.7rem;
  padding: 1.1rem 1.15rem 1.2rem;
}

.case-card-kicker,
.case-card-meta {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.case-card-kicker {
  color: var(--accent-deep);
}

.case-card h3 {
  margin: 0;
  font-family: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif;
  font-size: clamp(1.45rem, 2.2vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 0.98;
}

.case-card-text {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.case-card-meta {
  color: var(--text);
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.site-footer p,
.site-footer a {
  margin: 0;
}

.site-footer a {
  color: inherit;
  font-weight: 700;
  text-decoration: none;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(20rem, 0.75fr) minmax(16rem, 0.45fr);
  gap: 1rem;
  align-items: start;
  margin-top: 1.35rem;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: calc(var(--radius-xl) + 0.25rem);
  background:
    linear-gradient(135deg, rgba(255, 252, 247, 0.88), rgba(248, 238, 226, 0.76)),
    var(--surface);
  box-shadow: var(--shadow);
}

.contact-copy,
.contact-form,
.contact-card,
.contact-sidebar {
  min-width: 0;
}

.contact-copy {
  display: grid;
  gap: 0.9rem;
  padding: 0.5rem 0.45rem;
}

.contact-copy h2,
.contact-card h3 {
  margin: 0;
  font-family: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif;
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 0.96;
}

.contact-copy h2 {
  max-width: 13ch;
  font-size: clamp(2.35rem, 4.8vw, 4.35rem);
}

.contact-copy p:not(.eyebrow) {
  margin: 0;
  color: var(--muted);
  line-height: 1.58;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  align-items: center;
}

.contact-email {
  color: var(--text);
  font-weight: 700;
  text-decoration: none;
}

.contact-form,
.contact-card {
  border: 1px solid var(--line);
  border-radius: 1.35rem;
  background: rgba(255, 252, 247, 0.68);
}

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

.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  padding: 0.85rem;
}

.contact-form label {
  display: grid;
  gap: 0.4rem;
  margin: 0;
  color: var(--accent-deep);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(23, 18, 13, 0.12);
  border-radius: 0.95rem;
  background: rgba(255, 250, 242, 0.9);
  color: var(--text);
  font: inherit;
  font-size: 0.96rem;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.45;
  padding: 0.85rem 0.9rem;
  text-transform: none;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form-wide {
  grid-column: 1 / -1;
}

.contact-form-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  pointer-events: none;
  opacity: 0;
}

.contact-form-status {
  min-height: 1.5rem;
  margin: 0;
  font-weight: 700;
  line-height: 1.4;
}

.contact-form-status[data-state="pending"] {
  color: var(--muted);
}

.contact-form-status[data-state="success"] {
  color: #1d6b3c;
}

.contact-form-status[data-state="error"] {
  color: #9a2b2b;
}

.contact-form button[disabled] {
  opacity: 0.7;
  cursor: progress;
}

.contact-card {
  display: grid;
  gap: 0.8rem;
  padding: 1rem;
}

.contact-card-kicker {
  margin: 0;
  color: var(--accent-deep);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.contact-card h3 {
  font-size: 1.5rem;
}

.contact-card ul {
  display: grid;
  gap: 0.55rem;
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
}

.contact-card li {
  padding-top: 0.55rem;
  border-top: 1px solid var(--line);
  font-weight: 700;
}

.contact-pricing-card {
  display: grid;
  gap: 1rem;
  align-items: start;
  margin-top: 1rem;
  padding: 1rem;
  scroll-margin-top: 1.5rem;
}

.contact-pricing-lead {
  display: grid;
  gap: 0.9rem;
  align-content: start;
}

.contact-pricing-lead .pricing-title-eyebrow {
  font-family: inherit;
  font-size: 0.75rem;
  letter-spacing: 0.22em;
  line-height: 1;
}

.pricing-estimator-compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.pricing-estimator {
  display: grid;
  gap: 0.9rem;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 1.15rem;
  background: rgba(255, 250, 242, 0.56);
  align-content: start;
}

.pricing-estimator-intro,
.pricing-estimator-note {
  margin: 0;
  color: var(--muted);
  line-height: 1.58;
}

.pricing-estimator-intro {
  color: var(--text);
  font-weight: 700;
}

.pricing-estimator-title {
  margin: 0;
  font-family: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif;
  font-size: 1.9rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 0.96;
}

.pricing-estimator-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.pricing-estimator-field {
  display: grid;
  gap: 0.4rem;
}

.pricing-estimator-field span,
.pricing-estimator-label {
  color: var(--accent-deep);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.pricing-estimator-field input {
  width: 100%;
  border: 1px solid rgba(23, 18, 13, 0.12);
  border-radius: 0.95rem;
  background: rgba(255, 250, 242, 0.9);
  color: var(--text);
  font: inherit;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.3;
  padding: 0.82rem 0.9rem;
}

.pricing-estimator-summary {
  display: grid;
  gap: 0.35rem;
  padding: 0.95rem 1rem;
  border: 1px solid var(--line);
  border-radius: 1.15rem;
  background:
    linear-gradient(180deg, rgba(255, 252, 247, 0.92), rgba(248, 238, 226, 0.82)),
    var(--surface);
}

.pricing-estimator-label {
  margin: 0;
}

.pricing-estimator-time,
.pricing-estimator-price {
  margin: 0;
  font-family: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif;
  font-weight: 700;
  letter-spacing: -0.04em;
}

.pricing-estimator-time {
  font-size: 1.5rem;
  line-height: 1;
}

.pricing-estimator-price {
  font-size: clamp(2rem, 4vw, 2.6rem);
  line-height: 0.96;
}

.pricing-estimator-cta {
  width: 100%;
}

.contact-pricing-copy {
  display: grid;
  gap: 0.75rem;
  color: var(--muted);
}

.contact-pricing-copy p {
  margin: 0;
  line-height: 1.58;
}

.contact-pricing-copy p + p {
  padding-top: 0.75rem;
  border-top: 1px solid var(--line);
}

.hero-banner {
  margin-top: 0.25rem;
}

.hero-banner-image {
  position: relative;
  margin: 0;
  overflow: hidden;
  aspect-ratio: 16 / 8.9;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: rgba(255, 251, 244, 0.68);
  box-shadow: var(--shadow);
}

.hero-banner-image[data-hero-media="video"]:not([data-hero-video-orientation="portrait"]) {
  aspect-ratio: 16 / 9;
  background: #130f0c;
}

.hero-banner-abstract {
  z-index: 0;
}

.hero-banner-image[data-hero-media="video"][data-hero-video-orientation="portrait"] {
  background: #130f0c;
  --hero-portrait-gap: clamp(1rem, 2vw, 1.4rem);
}

.hero-banner-image[data-hero-media="video"][data-hero-video-orientation="portrait"] > .tkp-hero-video-frame,
.hero-banner-image[data-hero-media="video"][data-hero-video-orientation="portrait"] > video {
  top: var(--hero-portrait-gap);
  right: var(--hero-portrait-gap);
  bottom: var(--hero-portrait-gap);
  left: auto;
  width: min(34%, 24rem);
  height: calc(100% - (var(--hero-portrait-gap) * 2));
  border-radius: calc(var(--radius-lg) - 0.1rem);
}

.hero-banner-image[data-hero-media="video"][data-hero-video-orientation="portrait"] > video {
  object-fit: contain;
}

.hero-banner-image[data-hero-media="video"][data-hero-video-orientation="portrait"] .hero-overlay {
  padding-right: calc(min(38vw, 26rem) + var(--hero-portrait-gap));
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  padding: clamp(1.4rem, 3.2vw, 2.6rem);
  background: transparent;
}

.hero-overlay-content {
  display: grid;
  align-content: start;
  gap: 0.9rem;
  width: min(30rem, 100%);
  padding: clamp(1.1rem, 2.2vw, 1.6rem);
  border: 1px solid rgba(255, 246, 236, 0.22);
  border-radius: 1.6rem;
  background: rgba(19, 15, 12, 0.66);
  box-shadow: 0 24px 48px rgba(19, 15, 12, 0.28);
  backdrop-filter: blur(12px);
}

.hero-overlay-eyebrow {
  color: rgba(255, 247, 238, 0.84);
  margin-bottom: 0;
}

.hero-overlay h1 {
  max-width: 8.8ch;
  color: #fff8f1;
  font-size: clamp(2.8rem, 5.8vw, 5rem);
  line-height: 0.9;
  text-shadow: 0 12px 30px rgba(0, 0, 0, 0.38);
}

.hero-overlay-copy {
  max-width: 30rem;
  color: rgba(255, 247, 238, 0.88);
  font-size: 1rem;
  line-height: 1.45;
  text-shadow: 0 8px 24px rgba(0, 0, 0, 0.32);
}

.case-summary-panel {
  margin-top: 1.25rem;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: calc(var(--radius-xl) + 0.2rem);
  background:
    linear-gradient(180deg, rgba(255, 252, 247, 0.84), rgba(251, 245, 236, 0.75)),
    var(--surface);
  box-shadow: var(--shadow);
}

.case-summary-intro {
  display: grid;
  gap: 0.8rem;
}

.case-summary-intro h2 {
  max-width: 17ch;
  font-size: clamp(2rem, 4.3vw, 3.7rem);
  line-height: 0.96;
}

.case-summary-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.05rem;
}

.case-summary-card {
  min-width: 0;
  padding: 1.15rem;
  border: 1px solid var(--line);
  border-radius: 1.2rem;
  background: rgba(255, 252, 247, 0.6);
}

.case-summary-card h3 {
  font-size: 1.3rem;
  line-height: 1;
}

.case-summary-card p {
  margin-top: 0.7rem;
}

.case-media-section {
  margin-top: 1.25rem;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: calc(var(--radius-xl) + 0.2rem);
  background:
    linear-gradient(180deg, rgba(255, 252, 247, 0.84), rgba(251, 245, 236, 0.75)),
    var(--surface);
  box-shadow: var(--shadow);
}

.case-media-header {
  display: grid;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.case-media-header h2 {
  margin: 0;
  font-family: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif;
  font-size: clamp(2rem, 4vw, 3.4rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 0.96;
}

.case-preview-grid {
  display: block;
  column-count: 2;
  column-gap: 0.95rem;
}

.case-section-stack {
  display: grid;
  gap: 1.4rem;
}

.case-section-panel {
  display: grid;
  gap: 0.95rem;
}

.case-section-panel + .case-section-panel {
  padding-top: 1.35rem;
  border-top: 1px solid rgba(71, 48, 35, 0.14);
}

.case-preview-item {
  display: block;
  width: 100%;
  margin: 0 0 0.95rem;
  padding: 0;
  border: 0;
  background: transparent;
  break-inside: avoid;
  cursor: pointer;
  overflow: hidden;
  border-radius: 1rem;
}

.case-preview-item img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 1rem;
  background: rgba(31, 22, 15, 0.06);
  box-shadow: 0 12px 24px rgba(31, 22, 15, 0.12);
  backface-visibility: hidden;
  transform: translateZ(0);
}

.case-video-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-flow: dense;
  grid-auto-rows: 8px;
  gap: 1rem;
  margin-top: 1rem;
  align-items: start;
}

.case-video-card {
  margin: 0;
  overflow: hidden;
  break-inside: avoid;
  border: 1px solid var(--line);
  border-radius: 1.2rem;
  background: rgba(255, 252, 247, 0.6);
}

.case-video-card[data-span="2"] {
  grid-column: span 2;
}

.case-video-card video {
  display: block;
  width: 100%;
  height: auto;
  background: #130f0c;
}

.case-video-card[data-orientation="portrait"] video {
  aspect-ratio: 9 / 16;
  object-fit: contain;
}

.case-video-card iframe {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
  background: #130f0c;
}

.case-video-card[data-orientation="portrait"] iframe {
  aspect-ratio: 9 / 16;
}

.case-video-card figcaption {
  padding: 0.85rem 1rem 1rem;
  color: var(--muted);
  line-height: 1.45;
}

.gallery-shell {
  margin-top: 1.2rem;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: calc(var(--radius-xl) + 0.35rem);
  background:
    linear-gradient(180deg, rgba(255, 252, 247, 0.84), rgba(251, 245, 236, 0.75)),
    var(--surface);
  box-shadow: var(--shadow);
}

.gallery-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem 1rem;
  padding: 0.35rem 0.25rem 1rem;
}

.gallery-count {
  color: var(--text);
  font-weight: 700;
}

.days-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  align-items: start;
}

.day-panel {
  display: grid;
  gap: 1rem;
  min-width: 0;
}

.day-header {
  padding: 0.35rem 0.25rem 0.4rem;
}

.day-header h3 {
  font-size: clamp(1.75rem, 3vw, 2.45rem);
  line-height: 0.96;
}

.day-description {
  margin-top: 0.8rem;
  max-width: 36rem;
}

.day-count {
  margin: 0.85rem 0 0;
  color: var(--text);
  font-weight: 600;
}

.day-gallery {
  display: grid;
  gap: 0.95rem;
}

.gallery-item {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  overflow: hidden;
  border-radius: 1rem;
}

.gallery-item img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 1rem;
  background: rgba(31, 22, 15, 0.06);
  box-shadow: 0 12px 24px rgba(31, 22, 15, 0.12);
  backface-visibility: hidden;
  transform: translateZ(0);
}

.lightbox {
  width: min(100%, 100vw);
  max-width: none;
  max-height: none;
  height: 100vh;
  margin: 0;
  padding: 1rem;
  border: 0;
  background: rgba(14, 11, 9, 0.9);
  color: #fdf8f0;
}

.lightbox::backdrop {
  background: rgba(14, 11, 9, 0.9);
}

.lightbox[open] {
  display: grid;
  align-content: space-between;
}

.lightbox-close-row {
  display: flex;
  justify-content: flex-end;
}

.lightbox-close,
.lightbox-nav {
  border: 0;
  border-radius: 999px;
  background: rgba(255, 248, 240, 0.12);
  color: #fffaf2;
  cursor: pointer;
}

.lightbox-close {
  min-height: 2.8rem;
  padding: 0.7rem 1rem;
  font-weight: 700;
}

.lightbox-layout {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 1rem;
  height: calc(100vh - 6.5rem);
}

.lightbox-nav {
  width: 3.5rem;
  height: 3.5rem;
  font-size: 2rem;
  line-height: 1;
}

.lightbox-figure {
  display: grid;
  gap: 1rem;
  margin: 0;
  justify-items: center;
}

.lightbox-figure img {
  width: auto;
  max-width: min(92vw, 1440px);
  max-height: calc(100vh - 11rem);
  border-radius: 1rem;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.34);
}

.lightbox-caption {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.65rem 1rem;
  color: rgba(255, 248, 240, 0.78);
  text-align: center;
}

.lead-page {
  background:
    radial-gradient(circle at top left, rgba(162, 82, 52, 0.2), transparent 30%),
    radial-gradient(circle at 80% 10%, rgba(31, 38, 64, 0.1), transparent 24%),
    linear-gradient(180deg, #f8f2e8 0%, #efe3d4 52%, #f3ede3 100%);
}

.lead-hero,
.lead-details {
  border: 1px solid var(--line);
  border-radius: calc(var(--radius-xl) + 0.2rem);
  background:
    linear-gradient(180deg, rgba(255, 251, 244, 0.9), rgba(250, 243, 233, 0.8)),
    var(--surface);
  box-shadow: var(--shadow);
}

.lead-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(20rem, 26rem);
  gap: 1rem;
  align-items: stretch;
  overflow: hidden;
  padding: 1rem;
}

.lead-hero-copy {
  position: relative;
  display: grid;
  align-content: start;
  gap: 1rem;
  min-height: 34rem;
  padding: clamp(1.2rem, 3vw, 2.4rem);
  border-radius: calc(var(--radius-xl) - 0.1rem);
  background:
    radial-gradient(circle at 25% 20%, rgba(255, 244, 232, 0.42), transparent 24%),
    linear-gradient(135deg, #1b110d 0%, #5a2c1d 48%, #c9895d 100%);
  color: #fff8f1;
}

.lead-hero-copy::after {
  content: "";
  position: absolute;
  right: -3rem;
  bottom: -5rem;
  width: 18rem;
  height: 18rem;
  border-radius: 50%;
  background: rgba(255, 247, 238, 0.08);
  filter: blur(6px);
}

.lead-hero-copy > * {
  position: relative;
  z-index: 1;
}

.lead-hero-copy h1,
.lead-section-intro h2,
.lead-detail-card h3 {
  margin: 0;
  font-family: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif;
  font-weight: 700;
  letter-spacing: -0.04em;
}

.lead-hero-copy h1 {
  max-width: 11ch;
  font-size: clamp(3rem, 6vw, 5.4rem);
  line-height: 0.9;
}

.lead-hero-text,
.lead-form-copy,
.lead-microcopy,
.lead-section-copy,
.lead-detail-card p {
  margin: 0;
  line-height: 1.6;
}

.lead-hero-text {
  max-width: 34rem;
  color: rgba(255, 247, 238, 0.9);
  font-size: 1.05rem;
  line-height: 1.5;
}

.lead-points {
  display: grid;
  gap: 0.7rem;
  width: min(30rem, 100%);
  margin-top: auto;
}

.lead-points p {
  margin: 0;
  padding: 0.95rem 1rem;
  border: 1px solid rgba(255, 247, 238, 0.16);
  border-radius: 1rem;
  background: rgba(255, 247, 238, 0.1);
  color: #fff8f1;
  font-weight: 700;
  backdrop-filter: blur(8px);
}

.lead-form-card {
  display: grid;
  align-content: start;
  gap: 1rem;
  padding: clamp(1.2rem, 2.6vw, 1.8rem);
  border-radius: calc(var(--radius-xl) - 0.1rem);
  background:
    linear-gradient(180deg, rgba(255, 253, 248, 0.9), rgba(252, 244, 235, 0.8)),
    var(--surface);
}

.lead-form-eyebrow {
  margin-bottom: 0;
}

.lead-form-card h2 {
  margin: 0;
  font-family: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 0.95;
}

.lead-form {
  display: grid;
  gap: 0.95rem;
}

.lead-field {
  display: grid;
  gap: 0.45rem;
  font-weight: 700;
}

.lead-field span,
.lead-consent span {
  color: var(--text);
}

.lead-field input {
  min-height: 3.5rem;
  padding: 0.95rem 1rem;
  border: 1px solid rgba(23, 18, 13, 0.14);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.72);
  color: var(--text);
  font: inherit;
}

.lead-field input:focus-visible {
  outline: 2px solid rgba(162, 82, 52, 0.24);
  outline-offset: 1px;
  border-color: rgba(162, 82, 52, 0.55);
}

.lead-consent {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  color: var(--muted);
  line-height: 1.5;
}

.lead-consent input {
  margin-top: 0.15rem;
}

.lead-submit {
  width: 100%;
}

.lead-status {
  padding: 0.9rem 1rem;
  border-radius: 1rem;
  font-weight: 700;
  line-height: 1.45;
}

.lead-status-success {
  background: rgba(79, 112, 59, 0.12);
  color: #335322;
}

.lead-status-error {
  background: rgba(138, 40, 24, 0.12);
  color: #7a2516;
}

.lead-status-warning {
  background: rgba(162, 82, 52, 0.12);
  color: var(--accent-deep);
}

.lead-microcopy {
  color: var(--muted);
  font-size: 0.94rem;
}

.lead-honeypot {
  position: absolute;
  left: -9999px;
  opacity: 0;
  pointer-events: none;
}

.lead-details {
  margin-top: 1.25rem;
  padding: 1rem;
}

.lead-section-intro {
  display: grid;
  gap: 0.8rem;
  max-width: 58rem;
  padding: 0.35rem 0.25rem 0.6rem;
}

.lead-section-intro h2 {
  max-width: 14ch;
  font-size: clamp(2.2rem, 4.4vw, 3.8rem);
  line-height: 0.96;
}

.lead-detail-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.lead-detail-card {
  display: grid;
  gap: 0.8rem;
  min-width: 0;
  padding: 1.2rem;
  border: 1px solid var(--line);
  border-radius: 1.2rem;
  background: rgba(255, 252, 247, 0.68);
}

.lead-card-number {
  margin: 0;
  color: var(--accent-deep);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.18em;
}

.lead-detail-card h3 {
  font-size: 1.45rem;
  line-height: 1;
}

.admin-page {
  background:
    radial-gradient(circle at top left, rgba(162, 82, 52, 0.18), transparent 34%),
    linear-gradient(180deg, #f7f2ea 0%, #efe6d9 100%);
}

.admin-shell {
  position: relative;
  z-index: 1;
  width: var(--page-width);
  margin: 0 auto;
  padding: 1.1rem 0 4rem;
}

.admin-header,
.admin-panel,
.admin-toolbar,
.admin-status {
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(255, 252, 247, 0.88), rgba(251, 245, 236, 0.78)),
    var(--surface);
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
}

.admin-header {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 1.25rem;
  align-items: start;
  padding: 1rem;
  border-radius: var(--radius-xl);
}

.admin-header-copy {
  display: grid;
  gap: 0.55rem;
}

.admin-header-copy h1,
.admin-panel-header h2 {
  margin: 0;
  font-family: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif;
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 0.95;
}

.admin-header-copy h1 {
  font-size: clamp(2.2rem, 4.5vw, 4rem);
}

.admin-header-copy p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.admin-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1rem;
  padding: 1rem;
  border-radius: 1.4rem;
}

.admin-toolbar .button,
.admin-case-actions .button,
.admin-selected-actions .button {
  min-height: 2.8rem;
  padding: 0.75rem 1rem;
}

.admin-status {
  margin: 1rem 0 0;
  padding: 0.85rem 1rem;
  border-radius: 1rem;
  color: var(--muted);
  line-height: 1.45;
}

.admin-status[data-tone="ok"] {
  color: #21472e;
}

.admin-status[data-tone="warn"] {
  color: #6b331e;
}

.admin-grid {
  display: grid;
  grid-template-columns: minmax(20rem, 0.95fr) minmax(16rem, 0.55fr) minmax(24rem, 1.25fr);
  gap: 1rem;
  align-items: start;
  margin-top: 1rem;
}

.admin-panel {
  min-width: 0;
  padding: 1rem;
  border-radius: 1.4rem;
}

.admin-panel-header {
  display: grid;
  gap: 0.35rem;
  margin-bottom: 1rem;
}

.admin-panel-header h2,
.admin-editor-panel h2 {
  font-size: clamp(1.65rem, 2.7vw, 2.35rem);
}

.admin-fields {
  display: grid;
  gap: 0.85rem;
}

.admin-field {
  display: grid;
  gap: 0.45rem;
  font-weight: 700;
}

.admin-field input,
.admin-field textarea,
.admin-field select {
  width: 100%;
  border: 1px solid rgba(23, 18, 13, 0.14);
  border-radius: 0.9rem;
  background: rgba(255, 252, 247, 0.76);
  color: var(--text);
  font: inherit;
  font-weight: 500;
  line-height: 1.45;
  padding: 0.85rem 0.9rem;
}

.admin-field textarea {
  resize: vertical;
}

.admin-field small {
  color: var(--muted);
  font-weight: 500;
  line-height: 1.35;
}

.admin-checkbox {
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
}

.admin-checkbox input {
  width: auto;
}

.admin-case-actions,
.admin-selected-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 1rem;
}

.admin-case-list {
  display: grid;
  gap: 0.45rem;
  max-height: 68vh;
  overflow: auto;
  padding-right: 0.25rem;
}

.admin-case-item {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 0.85rem;
  background: rgba(255, 252, 247, 0.58);
  color: var(--text);
  cursor: pointer;
  font: inherit;
  font-weight: 700;
  line-height: 1.25;
  padding: 0.75rem 0.85rem;
  text-align: left;
}

.admin-case-item.is-active {
  border-color: rgba(162, 82, 52, 0.32);
  background: var(--accent-soft);
  color: var(--accent-deep);
}

@media (max-width: 1200px) {
  .home-hero-overlay {
    grid-template-columns: 1fr;
    align-items: end;
  }

  .home-hero-side {
    min-width: 0;
    width: min(20rem, 100%);
  }
}

@media (max-width: 1080px) {
  .hero-banner-image {
    aspect-ratio: 16 / 10;
  }

  .hero-banner-image[data-hero-media="video"][data-hero-video-orientation="portrait"] > .tkp-hero-video-frame,
  .hero-banner-image[data-hero-media="video"][data-hero-video-orientation="portrait"] > video {
    width: min(40%, 22rem);
  }

  .hero-banner-image[data-hero-media="video"][data-hero-video-orientation="portrait"] .hero-overlay {
    padding-right: calc(min(44vw, 23rem) + var(--hero-portrait-gap));
  }

  .home-hero-frame {
    min-height: min(44rem, 78vh);
  }

  .header-note {
    text-align: left;
  }

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

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

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

  .pricing-estimator-compare {
    grid-template-columns: 1fr;
  }

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

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

  .lead-hero-copy {
    min-height: 0;
  }

  .lead-detail-grid {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 720px) {
  .page-shell {
    width: min(100% - 1rem, 100%);
  }

  .site-header,
  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .site-header {
    gap: 0.65rem;
    padding-bottom: 1.4rem;
  }

  .home-hero-frame {
    min-height: 38rem;
  }

  .hero-banner-image {
    aspect-ratio: 16 / 11;
  }

  .hero-banner-image[data-hero-media="video"][data-hero-video-orientation="portrait"] {
    aspect-ratio: 4 / 5;
  }

  .hero-banner-image[data-hero-media="video"][data-hero-video-orientation="portrait"] > .tkp-hero-video-frame,
  .hero-banner-image[data-hero-media="video"][data-hero-video-orientation="portrait"] > video {
    width: 100%;
  }

  .home-hero-overlay,
  .hero-overlay {
    padding: 1.2rem;
  }

  .home-hero-overlay {
    background:
      linear-gradient(180deg, rgba(13, 10, 8, 0.72) 0%, rgba(13, 10, 8, 0.48) 40%, rgba(13, 10, 8, 0.18) 100%);
  }

  .hero-overlay {
    background: transparent;
  }

  .hero-banner-image[data-hero-media="video"][data-hero-video-orientation="portrait"] .hero-overlay {
    padding-right: 1.2rem;
  }

  .case-page .hero-banner-image,
  .case-page .hero-banner-image[data-hero-media="video"][data-hero-video-orientation="portrait"] {
    display: grid;
    aspect-ratio: auto;
    background: rgba(255, 251, 244, 0.68);
  }

  .case-page .hero-banner-image[data-hero-media="video"]:not([data-hero-video-orientation="portrait"]) {
    background: #130f0c;
  }

  .case-page .hero-banner-image > img,
  .case-page .hero-banner-image > video,
  .case-page .hero-banner-image > .tkp-hero-video-frame,
  .case-page .hero-banner-image > .hero-banner-abstract {
    position: relative;
    inset: auto;
    width: 100%;
    height: auto;
  }

  .case-page .hero-banner-image > img,
  .case-page .hero-banner-image > .hero-banner-abstract {
    aspect-ratio: 16 / 11;
    object-fit: cover;
  }

  .case-page .hero-banner-image[data-hero-media="video"]:not([data-hero-video-orientation="portrait"]) > .tkp-hero-video-frame,
  .case-page .hero-banner-image[data-hero-media="video"]:not([data-hero-video-orientation="portrait"]) > video {
    top: auto;
    right: auto;
    bottom: auto;
    left: auto;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    border-radius: 0;
  }

  .case-page .hero-banner-image[data-hero-media="video"][data-hero-video-orientation="portrait"] > .tkp-hero-video-frame,
  .case-page .hero-banner-image[data-hero-media="video"][data-hero-video-orientation="portrait"] > video {
    top: auto;
    right: auto;
    bottom: auto;
    left: auto;
    width: 100%;
    height: auto;
    aspect-ratio: 9 / 16;
    border-radius: 0;
  }

  .case-page .hero-banner-image[data-hero-media="video"] > video {
    object-fit: cover;
  }

  .case-page .hero-banner-image[data-hero-media="video"][data-hero-video-orientation="portrait"] > video {
    object-fit: contain;
  }

  .case-page .hero-overlay {
    position: relative;
    inset: auto;
    display: block;
    padding: 0;
    background: transparent;
  }

  .case-page .hero-overlay-content {
    width: 100%;
    padding: 1.15rem 1.15rem 1.2rem;
    border: 0;
    border-top: 1px solid var(--line);
    border-radius: 0;
    background:
      linear-gradient(180deg, rgba(255, 252, 247, 0.94), rgba(251, 245, 236, 0.9)),
      var(--surface);
    box-shadow: none;
    backdrop-filter: none;
  }

  .case-page .hero-overlay-eyebrow {
    color: var(--accent-deep);
  }

  .case-page .hero-overlay h1 {
    max-width: none;
    color: var(--text);
    font-size: clamp(2.4rem, 11vw, 4rem);
    text-shadow: none;
  }

  .case-page .hero-overlay-copy {
    color: var(--muted);
    text-shadow: none;
  }

  .case-page .hero-facts p {
    border-color: rgba(23, 18, 13, 0.12);
    background: rgba(255, 250, 242, 0.9);
    color: var(--text);
    backdrop-filter: none;
  }

  .case-page .hero-secondary-button {
    border-color: rgba(23, 18, 13, 0.14);
    color: var(--text);
    background: rgba(255, 250, 242, 0.9);
  }

  .home-hero-copy,
  .hero-overlay-content {
    width: 100%;
  }

  .home-hero-copy h1,
  .hero-overlay h1 {
    max-width: 9.5ch;
    font-size: clamp(2.3rem, 12vw, 4rem);
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .button {
    width: 100%;
  }

  .home-hero-side {
    width: 100%;
  }

  .case-overview {
    margin-top: 1.2rem;
  }

  .days-grid,
  .contact-form,
  .pricing-estimator-grid,
  .case-video-grid,
  .lead-detail-grid {
    grid-template-columns: 1fr;
  }

  .case-video-card[data-span="2"] {
    grid-column: span 1;
  }

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

  .case-card[data-column-span="2"] {
    grid-column: span 1;
  }

  .case-preview-grid {
    column-count: 1;
  }

  .case-card-media {
    min-height: 10.5rem;
  }

  .case-card-media-photo {
    min-height: 0;
  }

  .gallery-shell,
  .case-summary-panel,
  .case-media-section,
  .lightbox,
  .lead-details {
    padding: 0.7rem;
  }

  .lead-hero {
    padding: 0.7rem;
  }

  .lead-hero-copy,
  .lead-form-card {
    padding: 1.2rem;
  }

  .lead-hero-copy h1 {
    max-width: 9.8ch;
    font-size: clamp(2.4rem, 12vw, 4rem);
  }

  .lead-section-intro h2 {
    max-width: 11ch;
    font-size: clamp(2rem, 10vw, 3.3rem);
  }

  .admin-shell {
    width: min(100% - 1rem, 100%);
  }

  .admin-header {
    grid-template-columns: 1fr;
  }

  .lightbox-layout {
    grid-template-columns: 1fr;
    grid-template-rows: auto minmax(0, 1fr) auto;
    height: calc(100vh - 5.7rem);
  }

  .lightbox-nav {
    justify-self: center;
  }

  .lightbox-figure img {
    max-width: 100%;
    max-height: calc(100vh - 14rem);
  }
}

/* Editorial portfolio refresh */
:root {
  --bg: #f7f7f3;
  --bg-soft: #ffffff;
  --surface: #ffffff;
  --surface-strong: #ffffff;
  --text: #0a0a09;
  --muted: #5c5c57;
  --line: rgba(10, 10, 9, 0.16);
  --accent: #ef4b23;
  --accent-soft: rgba(239, 75, 35, 0.1);
  --accent-deep: #0a0a09;
  --shadow: none;
  --page-width: min(1540px, calc(100% - 3rem));
  --radius-xl: 0.3rem;
  --radius-lg: 0.25rem;
  --radius-md: 0.2rem;
}

body {
  background: var(--bg);
  font-size: 17px;
  line-height: 1.55;
}

body::before {
  display: none;
}

.page-shell {
  padding-top: 1.4rem;
}

.site-header {
  display: grid;
  grid-template-columns: minmax(max-content, 1fr) auto;
  gap: 1rem 2rem;
  padding: 0 0 1.5rem;
}

.brand-lockup {
  gap: 0;
}

.brand-emblem {
  display: none;
}

.brand-wordmark {
  display: flex;
  gap: 0.32em;
  font-family: "Avenir Next", "Helvetica Neue", sans-serif;
  text-transform: uppercase;
}

.brand-wordmark span {
  font-family: inherit;
  font-size: clamp(1.9rem, 3vw, 3.3rem);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 0.95;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.7rem 1.65rem;
}

.site-nav a {
  position: relative;
  color: var(--text);
  font-family: "Avenir Next", "Helvetica Neue", sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-decoration: none;
  text-transform: uppercase;
}

.site-nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -0.32rem;
  left: 0;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header-note {
  grid-column: 1 / -1;
  max-width: none;
  padding-top: 0.65rem;
  border-top: 1px solid var(--text);
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.45;
  text-align: left;
  text-transform: uppercase;
}

.hero-banner-image,
.gallery-shell,
.home-hero-frame,
.case-summary-panel,
.case-card {
  backdrop-filter: none;
}

.home-hero {
  margin-top: 0;
}

.home-hero-frame {
  min-height: min(50rem, 78vh);
  border: 0;
  border-radius: var(--radius-xl);
  background: #151515;
  box-shadow: none;
}

.home-hero-overlay {
  padding: clamp(1.4rem, 4vw, 4.5rem);
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.82) 0%, rgba(0, 0, 0, 0.55) 42%, rgba(0, 0, 0, 0.08) 78%);
}

.home-hero-copy {
  gap: 1.1rem;
  width: min(54rem, 100%);
}

.eyebrow,
.home-hero-eyebrow {
  font-family: "Avenir Next", "Helvetica Neue", sans-serif;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.home-hero-copy h1,
.case-overview h2,
.contact-copy h2,
.hero-overlay h1,
.case-summary-intro h2,
.case-media-header h2,
.day-header h3 {
  font-family: "Avenir Next", "Helvetica Neue", sans-serif;
  font-weight: 600;
  letter-spacing: -0.035em;
}

.home-hero-copy h1 {
  max-width: 13ch;
  font-size: clamp(3rem, 6vw, 6.1rem);
  line-height: 0.94;
}

.home-hero-text {
  max-width: 55rem;
  font-size: clamp(1.02rem, 1.2vw, 1.18rem);
  line-height: 1.62;
}

.button {
  min-height: 3.1rem;
  padding: 0.85rem 1.05rem;
  border-radius: 0;
  font-family: "Avenir Next", "Helvetica Neue", sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hero-secondary-button {
  border-color: #ffffff;
  background: #ffffff;
  color: var(--text);
  backdrop-filter: none;
}

.hero-secondary-button:hover,
.hero-secondary-button:focus-visible {
  border-color: var(--accent);
  background: var(--accent);
  color: #ffffff;
}

.case-overview {
  margin-top: clamp(4.5rem, 8vw, 8rem);
}

.case-overview-header {
  display: grid;
  grid-template-columns: minmax(8rem, 0.8fr) minmax(20rem, 2.4fr) minmax(18rem, 1fr);
  gap: 1.5rem 2.5rem;
  align-items: start;
  max-width: none;
  margin-bottom: clamp(2rem, 4vw, 3.8rem);
  padding-top: 1rem;
  border-top: 2px solid var(--text);
}

.case-overview-header .eyebrow {
  margin-top: 0.45rem;
}

.case-overview h2 {
  max-width: 13ch;
  font-size: clamp(2.8rem, 4.8vw, 5rem);
  line-height: 0.95;
}

.case-overview-copy {
  margin-top: 0.35rem;
  font-size: 1.02rem;
  line-height: 1.62;
}

.case-card-grid {
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 2.75rem 1.4rem;
}

.case-card-grid[data-columns="2"] {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.case-card-grid[data-columns="3"] {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.case-card-grid[data-columns="4"] {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.case-card-grid[data-columns] .case-card,
.case-card-grid[data-columns] .case-card-featured,
.case-card-grid[data-columns] .case-card:nth-child(n) {
  grid-column: span 1;
}

.case-card-grid[data-columns] .case-card[data-column-span="2"] {
  grid-column: span 2;
}

.case-card,
.case-card-featured,
.case-card[data-column-span="2"] {
  grid-column: span 4;
}

.case-card:nth-child(8n + 2),
.case-card:nth-child(8n + 5) {
  grid-column: span 5;
}

.case-card:nth-child(8n + 3),
.case-card:nth-child(8n + 6) {
  grid-column: span 7;
}

.case-card[data-column-span="2"] {
  grid-column: span 8;
}

.case-card {
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  animation: tkp-editorial-reveal 520ms both;
}

.case-card:nth-child(3n + 2) {
  animation-delay: 70ms;
}

.case-card:nth-child(3n) {
  animation-delay: 140ms;
}

@keyframes tkp-editorial-reveal {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.case-card-link {
  gap: 0;
}

.case-card-media,
.case-card-media-photo {
  overflow: hidden;
  border-radius: 0;
  background-color: #e9e9e4;
}

.case-card-media-photo img,
.case-card-media-photo video {
  transition: filter 240ms ease, transform 420ms cubic-bezier(0.2, 0.75, 0.25, 1);
}

.case-card:hover .case-card-media-photo img.is-loaded,
.case-card:hover .case-card-media-photo img:not([data-src]),
.case-card:focus-within .case-card-media-photo img.is-loaded,
.case-card:focus-within .case-card-media-photo img:not([data-src]) {
  transform: scale(1.018);
}

.case-card-body {
  gap: 0.6rem;
  padding: 0.95rem 0 0.35rem;
  border-bottom: 0;
}

.case-card-kicker,
.case-card-meta {
  font-family: "Avenir Next", "Helvetica Neue", sans-serif;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.case-card-kicker {
  color: var(--muted);
}

.case-card h3 {
  font-family: "Avenir Next", "Helvetica Neue", sans-serif;
  font-size: clamp(1.65rem, 2.3vw, 2.35rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.05;
  transition: color 180ms ease;
}

.case-card:hover h3,
.case-card:focus-within h3 {
  color: var(--accent);
}

.case-card-text {
  max-width: 42rem;
  font-size: 1rem;
  line-height: 1.58;
}

.contact-section {
  grid-template-columns: minmax(0, 1.1fr) minmax(22rem, 0.9fr) minmax(15rem, 0.48fr);
  gap: 2rem;
  margin-top: clamp(5.5rem, 10vw, 10rem);
  padding: 2rem 0 2.5rem;
  border: 0;
  border-top: 2px solid var(--text);
  border-bottom: 1px solid var(--text);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.contact-copy {
  gap: 1.1rem;
  padding: 0;
}

.contact-copy h2 {
  max-width: 13ch;
  font-size: clamp(2.8rem, 4.8vw, 5rem);
  line-height: 0.95;
}

.contact-form {
  padding: 0 0 0 1.5rem;
  border: 0;
  border-left: 1px solid var(--text);
  border-radius: 0;
  background: transparent;
}

.contact-form input,
.contact-form textarea,
.pricing-estimator-field input {
  border: 0;
  border-bottom: 1px solid var(--text);
  border-radius: 0;
  background: #edede8;
}

.contact-sidebar {
  padding-left: 1.5rem;
  border-left: 1px solid var(--text);
}

.contact-sidebar .contact-card {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.contact-card h3,
.pricing-estimator-title,
.pricing-estimator-time,
.pricing-estimator-price,
.case-summary-card h3 {
  font-family: "Avenir Next", "Helvetica Neue", sans-serif;
  font-weight: 600;
}

.contact-pricing-card {
  gap: 2rem;
  margin-top: 1.5rem;
  padding: 2rem 0 0;
  border: 0;
  border-top: 2px solid var(--text);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.contact-pricing-lead {
  grid-template-columns: minmax(13rem, 0.75fr) minmax(20rem, 2fr);
  gap: 2rem;
}

.contact-pricing-lead .pricing-title-eyebrow {
  margin: 0;
  color: var(--text);
  font-family: "Avenir Next", "Helvetica Neue", sans-serif;
  font-size: clamp(2.8rem, 4.8vw, 5rem);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 0.95;
  text-transform: none;
}

.pricing-estimator-compare {
  gap: 1.25rem;
}

.pricing-estimator {
  gap: 1rem;
  padding: 1.4rem;
  border: 1px solid var(--text);
  border-radius: 0;
  background: #ffffff;
}

.pricing-estimator-title {
  font-size: 2.15rem;
  letter-spacing: -0.03em;
}

.pricing-estimator-summary {
  border: 0;
  border-top: 1px solid var(--text);
  border-bottom: 1px solid var(--text);
  border-radius: 0;
  background: #edede8;
}

.pricing-estimator-price {
  font-size: clamp(1.95rem, 3.4vw, 2.7rem);
  line-height: 1.08;
}

.hero-banner-image,
.case-summary-panel,
.case-media-section,
.gallery-shell {
  border-radius: 0;
  box-shadow: none;
}

.case-summary-panel,
.case-media-section,
.gallery-shell {
  margin-top: clamp(3rem, 6vw, 6rem);
  padding: 1.5rem 0 0;
  border: 0;
  border-top: 2px solid var(--text);
  background: transparent;
}

.hero-overlay-content {
  border-radius: 0;
  background: rgba(0, 0, 0, 0.76);
  box-shadow: none;
}

.case-page .hero-overlay-content {
  width: min(42rem, 100%);
  max-width: 100%;
  min-width: 0;
}

.case-page .hero-overlay h1 {
  max-width: none;
  overflow-wrap: anywhere;
  hyphens: auto;
}

.case-page .hero-overlay[data-text-position="right"] {
  justify-content: flex-end;
}

@media (min-width: 721px) {
  .hero-banner-image[data-hero-media="video"][data-hero-video-orientation="portrait"][data-hero-text-position="right"] > .tkp-hero-video-frame,
  .hero-banner-image[data-hero-media="video"][data-hero-video-orientation="portrait"][data-hero-text-position="right"] > video {
    right: auto;
    left: var(--hero-portrait-gap);
  }

  .hero-banner-image[data-hero-media="video"][data-hero-video-orientation="portrait"][data-hero-text-position="right"] .hero-overlay[data-text-position="right"] {
    padding-right: clamp(1.4rem, 3.2vw, 2.6rem);
    padding-left: calc(min(38vw, 26rem) + var(--hero-portrait-gap));
  }
}

.tkp-inline-select {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 600;
}

.case-summary-card,
.case-video-card,
.case-preview-item,
.case-preview-item img,
.gallery-item,
.gallery-item img {
  border-radius: 0;
  box-shadow: none;
}

.case-summary-card,
.case-video-card {
  border-color: var(--text);
  background: #ffffff;
}

.site-footer {
  margin-top: 5rem;
  padding: 1rem 0 0;
  border-top-color: var(--text);
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

@media (max-width: 1080px) {
  .case-overview-header {
    grid-template-columns: 1fr 2.4fr;
  }

  .case-overview-copy {
    grid-column: 2;
  }

  .case-card,
  .case-card-featured,
  .case-card:nth-child(n),
  .case-card[data-column-span="2"] {
    grid-column: span 6;
  }

  .case-card-grid[data-columns="2"],
  .case-card-grid[data-columns="3"],
  .case-card-grid[data-columns="4"] {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .contact-sidebar {
    grid-column: auto;
    padding: 1.5rem 0 0;
    border-top: 1px solid var(--text);
    border-left: 0;
  }

  .contact-form {
    padding: 1.5rem 0 0;
    border-top: 1px solid var(--text);
    border-left: 0;
  }

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

@media (max-width: 720px) {
  :root {
    --page-width: calc(100% - 1rem);
  }

  .page-shell {
    padding-top: 0.9rem;
  }

  .site-header {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.9rem;
    padding-bottom: 1rem;
  }

  .brand-wordmark span {
    font-size: clamp(1.55rem, 7.7vw, 2.15rem);
  }

  .site-nav {
    justify-content: flex-start;
    gap: 0.5rem 0.9rem;
  }

  .site-nav a {
    font-size: 0.74rem;
  }

  .header-note {
    grid-column: auto;
  }

  .home-hero-frame {
    min-height: 0;
  }

  .home-hero-overlay {
    min-height: 42rem;
    padding: 1.25rem;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.78) 0%, rgba(0, 0, 0, 0.54) 62%, rgba(0, 0, 0, 0.16) 100%);
  }

  .home-hero-copy h1 {
    max-width: 12ch;
    font-size: clamp(2.5rem, 12vw, 3.7rem);
    line-height: 0.96;
  }

  .home-hero-text {
    font-size: 1rem;
    line-height: 1.58;
  }

  .button {
    width: 100%;
  }

  .case-overview {
    margin-top: 4rem;
  }

  .case-overview-header {
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-bottom: 2rem;
  }

  .case-overview-copy {
    grid-column: auto;
  }

  .case-overview h2 {
    font-size: clamp(2.5rem, 11vw, 3.5rem);
    line-height: 0.98;
  }

  .case-card,
  .case-card-featured,
  .case-card:nth-child(n),
  .case-card[data-column-span="2"] {
    grid-column: 1 / -1;
  }

  .case-card-grid[data-columns="2"],
  .case-card-grid[data-columns="3"],
  .case-card-grid[data-columns="4"] {
    grid-template-columns: 1fr;
  }

  .case-card-grid[data-columns] .case-card,
  .case-card-grid[data-columns] .case-card-featured,
  .case-card-grid[data-columns] .case-card:nth-child(n),
  .case-card-grid[data-columns] .case-card[data-column-span="2"] {
    grid-column: 1 / -1;
  }

  .contact-section {
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 5rem;
  }

  .contact-copy h2,
  .contact-pricing-lead .pricing-title-eyebrow {
    font-size: clamp(2.5rem, 11vw, 3.5rem);
    line-height: 0.98;
  }

  .contact-form {
    padding: 1.5rem 0 0;
    border-top: 1px solid var(--text);
    border-left: 0;
  }

  .contact-sidebar {
    grid-column: auto;
    padding: 1.5rem 0 0;
    border-top: 1px solid var(--text);
    border-left: 0;
  }

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

  .pricing-estimator-compare {
    grid-template-columns: 1fr;
  }

  .pricing-estimator-price {
    font-size: clamp(1.75rem, 8vw, 2.35rem);
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
