/*
Theme Name: Digital Drama
Theme URI: https://digitaldrama.com.au/
Author: Digital Drama
Description: Custom CMS-first WordPress theme for Digital Drama, adapted from the approved wireframe.
Version: 1.0.29
Requires at least: 6.5
Tested up to: 7.0
Requires PHP: 8.0
Text Domain: digital-drama
*/

:root {
  --ink: #08090b;
  --ink-2: #111418;
  --panel: rgba(255, 255, 255, 0.07);
  --panel-strong: rgba(255, 255, 255, 0.13);
  --line: rgba(255, 255, 255, 0.16);
  --text: #fbfcff;
  --muted: #b9c1cc;
  --brand-blue: #2ea6df;
  --brand-teal: #47b7b6;
  --brand-green: #64bf4b;
  --brand-orange: #ffa313;
  --brand-red: #ef2a1f;
  --brand-magenta: #b51b84;
  --brand-purple: #6442ad;
  --white: #ffffff;
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.42);
  --radius: 8px;
  --max: 1180px;
  --header-height: 92px;
  --page-hero-image: url("assets/images/page-hero-about-work.png");
  --page-hero-left-overlay: 0.94;
  --page-hero-mid-overlay: 0.79;
  --page-hero-right-overlay: 0.46;
  --page-hero-edge-overlay: 0.74;
  --page-hero-top-overlay: 0.28;
  --page-hero-center-overlay: 0.36;
  --page-hero-bottom-overlay: 0.78;
  --page-hero-tint: linear-gradient(135deg, rgba(46, 166, 223, 0.24), rgba(100, 191, 75, 0.08) 42%, rgba(255, 163, 19, 0.12) 70%, rgba(181, 27, 132, 0.18));
  --page-hero-size: cover;
  --page-hero-position: center;
  --page-hero-mobile-position: var(--page-hero-position);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(circle at 8% 12%, rgba(46, 166, 223, 0.24), transparent 26%),
    radial-gradient(circle at 86% 10%, rgba(100, 191, 75, 0.16), transparent 26%),
    radial-gradient(circle at 72% 82%, rgba(255, 163, 19, 0.12), transparent 30%),
    linear-gradient(135deg, #08090b 0%, #101416 48%, #160a12 100%);
}

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

a:hover,
a:focus {
  color: var(--white);
}

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

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link:focus {
  top: 12px;
  left: 12px;
  z-index: 1000;
  width: auto;
  height: auto;
  padding: 10px 14px;
  clip: auto;
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(8, 9, 11, 0.86);
  backdrop-filter: blur(18px);
}

.nav-shell {
  width: min(100% - 32px, var(--max));
  min-height: 92px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand,
.custom-logo-link {
  display: inline-flex;
  align-items: center;
}

.brand img,
.custom-logo {
  width: auto;
  max-height: 72px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.site-nav ul {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-nav li {
  position: relative;
}

.site-nav a {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  padding: 9px 12px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  color: var(--muted);
  font-size: 0.94rem;
}

.site-nav a:hover,
.site-nav .current-menu-item > a,
.site-nav .current-menu-ancestor > a {
  color: var(--text);
  border-color: rgba(46, 166, 223, 0.28);
  background: linear-gradient(135deg, rgba(46, 166, 223, 0.14), rgba(100, 191, 75, 0.08));
}

.site-nav .sub-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 220px;
  display: none;
  flex-direction: column;
  align-items: stretch;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(8, 9, 11, 0.98);
  box-shadow: var(--shadow);
}

.site-nav li:hover > .sub-menu,
.site-nav li:focus-within > .sub-menu {
  display: flex;
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
}

.button,
.wp-block-button__link,
.wp-element-button,
.nav-cta > a,
.site-nav li:last-child > a {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 18px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--brand-orange), var(--brand-red) 48%, var(--brand-magenta));
  color: var(--white);
  font-weight: 800;
  letter-spacing: 0;
  box-shadow: 0 16px 40px rgba(239, 42, 31, 0.22);
}

.button.secondary,
.is-style-outline > .wp-block-button__link {
  background: rgba(255, 255, 255, 0.08);
  box-shadow: none;
}

.section,
.hero,
.site-main > .page-content,
.site-main > .post-list,
.site-main > .entry-shell {
  width: min(100% - 32px, var(--max));
  margin-inline: auto;
}

.home .site-main > .page-content,
.front-page .site-main > .page-content {
  width: 100%;
  max-width: none;
}

.home .site-main > .page-content > .entry-content,
.front-page .site-main > .page-content > .entry-content {
  width: 100%;
}

.home .site-main > .page-content > .entry-content > .home-hero,
.front-page .site-main > .page-content > .entry-content > .home-hero,
.home .site-main > .page-content > .entry-content > .dark-band,
.front-page .site-main > .page-content > .entry-content > .dark-band {
  width: 100%;
  max-width: none;
}

.hero {
  min-height: calc(100vh - 92px);
  display: grid;
  grid-template-columns: minmax(0, 0.86fr);
  align-items: center;
  gap: clamp(28px, 5vw, 74px);
  padding: 64px 0 42px;
}

.home-hero {
  width: 100%;
  max-width: none;
  min-height: calc(100vh - var(--header-height));
  min-height: calc(100svh - var(--header-height));
  display: block;
  position: relative;
  overflow: hidden;
  padding: 0;
}

.home-hero::before,
.home-hero::after {
  content: "";
  position: absolute;
  inset: 0;
}

.home-hero::before {
  background-image: url("assets/images/dd-hero-image.jpg");
  background-size: cover;
  background-position: center;
  transform: scaleX(-1);
}

.home-hero::after {
  background:
    linear-gradient(90deg, rgba(8, 9, 11, 0.94) 0%, rgba(8, 9, 11, 0.78) 38%, rgba(8, 9, 11, 0.32) 72%, rgba(8, 9, 11, 0.72) 100%),
    linear-gradient(135deg, rgba(46, 166, 223, 0.32), rgba(100, 191, 75, 0.14) 42%, rgba(255, 163, 19, 0.18) 68%, rgba(181, 27, 132, 0.26));
}

.home-hero > div {
  width: min(100% - 32px, var(--max));
  min-height: calc(100vh - var(--header-height));
  min-height: calc(100svh - var(--header-height));
  margin: 0 auto;
  padding: clamp(28px, 6svh, 64px) 0 clamp(24px, 5svh, 42px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  z-index: 1;
}

.page-hero {
  width: 100vw;
  max-width: none;
  min-height: clamp(420px, 52vh, 620px);
  grid-template-columns: minmax(0, var(--max));
  align-items: center;
  gap: 0;
  margin-inline: calc(50% - 50vw);
  padding: clamp(58px, 8vw, 108px) max(16px, calc((100vw - var(--max)) / 2)) clamp(72px, 8vw, 112px);
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: #07090b;
}

.page-hero::before,
.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
}

.page-hero::before {
  z-index: -2;
  background-image: var(--page-hero-image);
  background-size: var(--page-hero-size);
  background-position: var(--page-hero-position);
  background-repeat: no-repeat;
  transform: scale(1.02);
  filter: saturate(1.08) contrast(1.04);
}

.page-hero::after {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(8, 9, 11, var(--page-hero-left-overlay)) 0%, rgba(8, 9, 11, var(--page-hero-mid-overlay)) 42%, rgba(8, 9, 11, var(--page-hero-right-overlay)) 76%, rgba(8, 9, 11, var(--page-hero-edge-overlay)) 100%),
    linear-gradient(180deg, rgba(8, 9, 11, var(--page-hero-top-overlay)) 0%, rgba(8, 9, 11, var(--page-hero-center-overlay)) 58%, rgba(8, 9, 11, var(--page-hero-bottom-overlay)) 100%),
    var(--page-hero-tint);
}

.cce-hero-overlay-soft {
  --page-hero-left-overlay: 0.86;
  --page-hero-mid-overlay: 0.68;
  --page-hero-right-overlay: 0.32;
  --page-hero-edge-overlay: 0.58;
  --page-hero-top-overlay: 0.18;
  --page-hero-center-overlay: 0.26;
  --page-hero-bottom-overlay: 0.64;
}

.cce-hero-overlay-strong {
  --page-hero-left-overlay: 0.97;
  --page-hero-mid-overlay: 0.88;
  --page-hero-right-overlay: 0.62;
  --page-hero-edge-overlay: 0.84;
  --page-hero-top-overlay: 0.42;
  --page-hero-center-overlay: 0.52;
  --page-hero-bottom-overlay: 0.88;
}

.cce-hero-tint-blue {
  --page-hero-tint: linear-gradient(135deg, rgba(46, 166, 223, 0.28), rgba(46, 166, 223, 0.08) 48%, rgba(181, 27, 132, 0.14));
}

.cce-hero-tint-teal {
  --page-hero-tint: linear-gradient(135deg, rgba(71, 183, 182, 0.26), rgba(100, 191, 75, 0.12) 52%, rgba(46, 166, 223, 0.12));
}

.cce-hero-tint-orange {
  --page-hero-tint: linear-gradient(135deg, rgba(255, 163, 19, 0.22), rgba(239, 42, 31, 0.13) 52%, rgba(181, 27, 132, 0.12));
}

.cce-hero-tint-magenta {
  --page-hero-tint: linear-gradient(135deg, rgba(181, 27, 132, 0.26), rgba(100, 66, 173, 0.14) 52%, rgba(46, 166, 223, 0.12));
}

.cce-hero-tint-none {
  --page-hero-tint: linear-gradient(transparent, transparent);
}

.cce-hero-fit-cover {
  --page-hero-size: cover;
}

.cce-hero-fit-contain {
  --page-hero-size: contain;
}

.cce-hero-focus-left {
  --page-hero-position: left center;
}

.cce-hero-focus-right {
  --page-hero-position: right center;
}

.cce-hero-focus-top {
  --page-hero-position: center top;
}

.cce-hero-focus-bottom {
  --page-hero-position: center bottom;
}

.cce-hero-height-compact {
  min-height: clamp(380px, 46vh, 540px);
  padding-top: clamp(44px, 6vw, 82px);
  padding-bottom: clamp(64px, 7vw, 92px);
}

.cce-hero-height-compact h1 {
  font-size: clamp(2.45rem, 4.55vw, 4.15rem);
}

.cce-hero-height-tall {
  min-height: clamp(560px, 66vh, 760px);
}

.cce-hero-height-fill {
  min-height: calc(100vh - var(--header-height));
  min-height: calc(100svh - var(--header-height));
}

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

.page-hero .hero-copy,
.page-hero .hero-support {
  max-width: 720px;
}

.page-hero .hero-support {
  margin-top: 22px;
  padding-bottom: 0;
}

.page-hero .hero-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.page-hero .hero-copy .lead,
.page-hero .hero-support .lead {
  max-width: 620px;
}

.page-hero h1 {
  max-width: 760px;
  font-size: clamp(2.75rem, 5.2vw, 4.8rem);
  text-shadow: 0 3px 16px rgba(0, 0, 0, 0.72);
}

.page-hero .lead {
  color: rgba(251, 252, 255, 0.78);
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.74);
}

.page-hero .hero-actions {
  margin-top: 28px;
}

.page-hero-compact {
  min-height: clamp(340px, 42vh, 500px);
}

.page-hero-compact .form-shell {
  width: min(100%, 520px);
  margin-top: 24px;
}

.page-hero-compact .entry-meta {
  margin-top: 20px;
}

.page-hero + * {
  margin-top: clamp(54px, 8vw, 96px);
}

.page-hero + .section,
.page-hero + .dark-band,
.page-hero + .cta-panel {
  margin-top: 0;
}

.page-hero::before {
  pointer-events: none;
}

.page-hero::after {
  pointer-events: none;
}

.page-hero::marker {
  content: "";
}

.page-hero::selection {
  background: rgba(46, 166, 223, 0.36);
}

.page-hero::before,
.page-hero::after {
  user-select: none;
}

.page-hero .eyebrow {
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.68);
}

.page-hero::before {
  will-change: transform;
}

.page-hero::after {
  box-shadow: inset 0 -1px 0 rgba(46, 166, 223, 0.42);
}

.hero-support {
  max-width: 520px;
  padding-bottom: 8px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--brand-blue);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
  color: var(--text);
  line-height: 1.02;
  letter-spacing: 0;
}

h1 {
  max-width: 820px;
  font-size: clamp(3rem, min(8vw, 12svh), 6.8rem);
}

h2 {
  font-size: clamp(2.25rem, 5vw, 4.6rem);
}

h3 {
  font-size: clamp(1.2rem, 2vw, 1.6rem);
}

p,
li,
.wp-block-post-excerpt {
  color: var(--muted);
}

.lead {
  max-width: 720px;
  margin: 22px 0 0;
  font-size: clamp(1.08rem, 2vw, 1.35rem);
}

.hero-actions,
.actions,
.wp-block-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.section {
  padding: clamp(58px, 9vw, 116px) 0;
}

.section-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 28px;
}

.section-header p {
  max-width: 520px;
  margin: 0;
}

.cce-work-gallery .section-header {
  margin-bottom: clamp(36px, 4vw, 52px);
}

.cce-services-platform {
  align-items: end;
  padding-bottom: clamp(32px, 5vw, 64px);
}

.cce-services-platform .platform-copy {
  max-width: 720px;
}

.cce-services-platform .platform-copy p {
  margin: 0;
  font-size: clamp(1rem, 1.5vw, 1.12rem);
}

.cce-services-platform .platform-copy p + p {
  margin-top: 16px;
}

.cce-services-platform + .cce-services-groups {
  padding-top: clamp(28px, 4vw, 56px);
}

.dark-band,
.alignfull.dark-band {
  width: 100%;
  border-block: 1px solid rgba(255, 255, 255, 0.1);
  background:
    linear-gradient(135deg, rgba(46, 166, 223, 0.1), rgba(100, 191, 75, 0.08) 42%, rgba(255, 163, 19, 0.08));
}

.page .site-main > .entry-shell .entry-content > .dark-band {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  overflow: hidden;
}

.grid-3,
.grid-4,
.split,
.work-grid,
.client-grid,
.pricing-grid {
  display: grid;
  gap: 16px;
}

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

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

.split {
  grid-template-columns: 0.9fr 1.1fr;
  align-items: start;
}

.split > div:first-child {
  min-width: 0;
}

.split > div:first-child h2 {
  font-size: clamp(2.25rem, 4.4vw, 4rem);
}

.card,
.feature,
.price-card,
.form-shell,
.process-step,
.wp-block-query .wp-block-post,
.wp-block-media-text,
.wp-block-column.is-style-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(46, 166, 223, 0.08), transparent 38%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.105), rgba(255, 255, 255, 0.052));
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.18);
}

.card,
.feature,
.process-step,
.wp-block-column.is-style-card {
  padding: 24px;
}

.card ul,
.feature ul {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.card li,
.feature li {
  margin: 9px 0;
}

.card li::before,
.feature li::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 10px;
  border-radius: 50%;
  background: var(--brand-green);
  box-shadow: 0 0 18px rgba(100, 191, 75, 0.62);
}

.tag {
  display: inline-flex;
  margin-bottom: 16px;
  padding: 6px 9px;
  border: 1px solid rgba(46, 166, 223, 0.3);
  border-radius: var(--radius);
  color: var(--brand-blue);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

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

.work-card {
  min-height: 320px;
  display: flex;
  flex-direction: column;
  justify-content: start;
  padding: 104px 24px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background:
    linear-gradient(180deg, transparent, rgba(8, 9, 11, 0.84)),
    linear-gradient(135deg, rgba(46, 166, 223, 0.72), rgba(100, 191, 75, 0.42) 34%, rgba(255, 163, 19, 0.58) 66%, rgba(181, 27, 132, 0.62));
}

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

.client-logo {
  min-height: 96px;
  display: grid;
  place-items: center;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(46, 166, 223, 0.07), rgba(181, 27, 132, 0.07)),
    rgba(255, 255, 255, 0.052);
  color: var(--muted);
  text-align: center;
  font-weight: 800;
}

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

.price-card {
  padding: 28px;
}

.price-card.featured {
  border-color: rgba(255, 163, 19, 0.5);
  box-shadow: 0 26px 70px rgba(255, 163, 19, 0.14);
}

.price {
  margin: 18px 0;
  color: var(--white);
  font-size: 2.2rem;
  font-weight: 900;
}

.process-list {
  display: grid;
  gap: 14px;
  counter-reset: process;
}

.process-step {
  position: relative;
  padding-left: 76px;
}

.process-step::before {
  counter-increment: process;
  content: counter(process, decimal-leading-zero);
  position: absolute;
  left: 24px;
  top: 24px;
  color: var(--brand-orange);
  font-weight: 900;
}

.founder-section {
  display: grid;
  grid-template-columns: minmax(220px, 0.42fr) minmax(0, 0.9fr);
  align-items: start;
  gap: clamp(26px, 5vw, 70px);
}

.founder-photo {
  margin: 0;
  position: sticky;
  top: 128px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.055);
  box-shadow: var(--shadow);
}

.founder-photo img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center top;
  filter: contrast(1.08);
}

.founder-story {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(26px, 5vw, 52px);
  background:
    linear-gradient(145deg, rgba(46, 166, 223, 0.08), transparent 36%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.095), rgba(255, 255, 255, 0.048));
}

.story-copy {
  display: grid;
  gap: 14px;
  margin-top: 24px;
}

.story-copy p {
  margin: 0;
}

.story-copy strong {
  color: var(--white);
}

.form-shell {
  padding: 28px;
}

.form-shell input,
.form-shell textarea,
.form-shell select,
.search-form input[type="search"] {
  width: 100%;
  min-height: 46px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
}

.contact-list {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}

.contact-list a,
.contact-list span {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(46, 166, 223, 0.07), rgba(100, 191, 75, 0.05)),
    rgba(255, 255, 255, 0.052);
}

.cta-panel {
  width: min(100% - 32px, var(--max));
  margin: clamp(44px, 7vw, 88px) auto clamp(58px, 8vw, 92px);
  padding: clamp(30px, 6vw, 60px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(46, 166, 223, 0.2), rgba(100, 191, 75, 0.12) 35%, rgba(255, 163, 19, 0.16) 68%, rgba(181, 27, 132, 0.14)),
    rgba(255, 255, 255, 0.055);
}

.entry-shell,
.post-list {
  padding: clamp(58px, 9vw, 116px) 0;
}

.page .site-main > .entry-shell {
  padding-block: 0 clamp(48px, 7vw, 92px);
}

.page .site-main > .entry-shell .entry-content > :last-child {
  margin-bottom: clamp(48px, 7vw, 92px);
}

.page .site-main > .entry-shell .entry-content > .cta-panel:last-child {
  margin-bottom: clamp(58px, 8vw, 92px);
}

.page .site-main > .entry-shell .entry-content > .hero:not(.page-hero):first-child {
  min-height: auto;
  padding-block: clamp(44px, 7vw, 84px);
}

.entry-header,
.archive-header {
  margin-bottom: 32px;
}

.entry-meta,
.post-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin-top: 16px;
  color: var(--muted);
  font-size: 0.92rem;
}

.entry-content > * {
  max-width: var(--max);
}

.entry-content > .alignwide {
  max-width: var(--max);
}

.entry-content > .alignfull {
  max-width: none;
  margin-inline: calc(50% - 50vw);
}

.entry-content > .page-hero {
  width: 100vw;
  max-width: none;
  margin-inline: calc(50% - 50vw);
}

.wp-block-image,
.wp-block-video,
.wp-block-embed {
  margin-block: 28px;
}

.wp-block-quote {
  margin: 28px 0;
  padding: 24px;
  border-left: 4px solid var(--brand-blue);
  background: rgba(255, 255, 255, 0.06);
}

.pagination,
.posts-navigation,
.post-navigation {
  width: min(100% - 32px, var(--max));
  margin: 32px auto 72px;
}

.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  background: #050606;
}

.footer-shell {
  width: min(100% - 32px, var(--max));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 28px;
  padding: 42px 0;
}

.footer-brand img {
  width: auto;
  max-height: 82px;
}

.footer-links ul {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  justify-content: end;
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
}

.fine-print {
  margin: 16px 0 0;
  color: #858d98;
  font-size: 0.9rem;
}

@media (min-width: 921px) and (max-height: 640px) {
  .page-hero {
    align-items: start;
    padding-top: clamp(30px, 6svh, 46px);
    padding-bottom: clamp(28px, 6svh, 52px);
  }

  .page-hero h1 {
    font-size: clamp(2.55rem, min(5vw, 10svh), 4.2rem);
  }

  .page-hero .lead {
    margin-top: 16px;
    font-size: clamp(1rem, 1.6vw, 1.16rem);
  }

  .page-hero .hero-actions {
    margin-top: 18px;
  }
}

@media (max-width: 920px) {
  :root {
    --header-height: 92px;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 92px;
    left: 16px;
    right: 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(8, 9, 11, 0.97);
    box-shadow: var(--shadow);
  }

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

  .site-nav ul {
    flex-direction: column;
    align-items: stretch;
  }

  .site-nav a {
    width: 100%;
  }

  .site-nav .sub-menu {
    position: static;
    display: flex;
    min-width: 0;
    margin-left: 12px;
    box-shadow: none;
  }

  .hero,
  .split,
  .founder-section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .home-hero,
  .home-hero > div {
    min-height: calc(100vh - var(--header-height));
    min-height: calc(100svh - var(--header-height));
  }

  .home-hero > div {
    justify-content: center;
  }

  .home-hero h1 {
    font-size: clamp(3rem, min(12vw, 10svh), 5.2rem);
  }

  .home-hero .lead {
    max-width: 620px;
    font-size: clamp(1rem, 2.4vw, 1.18rem);
  }

  .page-hero {
    align-items: start;
    min-height: clamp(380px, 48vh, 540px);
    padding: 56px max(16px, calc((100vw - var(--max)) / 2)) 68px;
  }

  .page-hero h1 {
    font-size: clamp(2.55rem, 9vw, 4.4rem);
  }

  .cce-hero-height-compact {
    min-height: auto;
    padding-top: 46px;
    padding-bottom: 62px;
  }

  .cce-hero-height-tall {
    min-height: clamp(460px, 58vh, 640px);
  }

  .cce-hero-height-fill {
    min-height: calc(100vh - var(--header-height));
    min-height: calc(100svh - var(--header-height));
  }

  .hero-support {
    max-width: 680px;
    padding-bottom: 0;
  }

  .founder-photo {
    position: static;
    max-width: 360px;
  }

  .grid-3,
  .grid-4,
  .work-grid,
  .client-grid,
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .section-header,
  .footer-shell {
    display: block;
  }

  .footer-links ul {
    justify-content: start;
    margin-top: 22px;
  }
}

@media (max-width: 620px) {
  :root {
    --header-height: 74px;
  }

  .brand img,
  .custom-logo {
    max-height: 58px;
  }

  .hero {
    padding-top: 42px;
  }

  .page-hero {
    min-height: clamp(320px, 54vh, 460px);
    padding: 48px 16px 66px;
  }

  .page-hero::before {
    background-position: var(--page-hero-mobile-position);
  }

  .cce-hero-mobile-focus-left {
    --page-hero-mobile-position: left center;
  }

  .cce-hero-mobile-focus-center {
    --page-hero-mobile-position: center;
  }

  .cce-hero-mobile-focus-right {
    --page-hero-mobile-position: right center;
  }

  .cce-hero-mobile-focus-top {
    --page-hero-mobile-position: center top;
  }

  .cce-hero-height-compact {
    min-height: auto;
    padding-top: 38px;
    padding-bottom: 58px;
  }

  .cce-hero-height-fill {
    min-height: auto;
  }

  .page-hero h1 {
    font-size: clamp(2.2rem, 12vw, 3.25rem);
  }

  .page-hero .lead {
    margin-top: 16px;
    font-size: clamp(0.98rem, 4vw, 1.08rem);
  }

  .page-hero .hero-actions {
    width: 100%;
    margin-top: 22px;
  }

  .home-hero {
    min-height: calc(100vh - var(--header-height));
    min-height: calc(100svh - var(--header-height));
  }

  .home-hero::before {
    background-position: 58% center;
  }

  .home-hero > div {
    min-height: calc(100vh - var(--header-height));
    min-height: calc(100svh - var(--header-height));
    padding-block: clamp(20px, 4svh, 34px);
  }

  .home-hero .eyebrow {
    margin-bottom: 10px;
    font-size: clamp(0.68rem, 2.6vw, 0.78rem);
  }

  .home-hero h1 {
    font-size: clamp(2.55rem, min(17vw, 9.5svh), 4.2rem);
  }

  .home-hero .lead {
    margin-top: 14px;
    font-size: clamp(0.98rem, 4vw, 1.08rem);
  }

  .home-hero .hero-actions {
    margin-top: 20px;
    gap: 10px;
  }

  .grid-3,
  .grid-4,
  .work-grid,
  .client-grid,
  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .button,
  .wp-block-button,
  .wp-block-button__link {
    width: 100%;
  }

  .process-step {
    padding-left: 24px;
    padding-top: 54px;
  }
}
