/*
Theme Name: Blue Chilli Group
Theme URI: https://www.wearebluechilli.co.uk/
Author: Blue Chilli Group
Author URI: https://www.wearebluechilli.co.uk/
Description: A responsive one-page WordPress theme for Blue Chilli Group and its six specialist event companies.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: blue-chilli-group
*/

:root {
  color-scheme: dark;
  --ink: #f8fbff;
  --muted: rgba(244, 248, 255, 0.72);
  --line: rgba(255, 255, 255, 0.22);
  --blue-black: #050b36;
  --blue-deep: #08145f;
  --blue: #0754c8;
  --blue-bright: #119de1;
  --page-gutter: clamp(1rem, 3vw, 3rem);
  font-family: "Helvetica Neue", "Arial Nova", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--blue-deep);
  overflow-x: hidden;
  overflow-x: clip;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-wrap: break-word;
  color: var(--ink);
  background:
    radial-gradient(circle at 84% 15%, rgba(62, 190, 255, 0.2), transparent 31rem),
    linear-gradient(180deg, var(--blue-black) 0%, var(--blue-deep) 30%, var(--blue) 72%, var(--blue-bright) 116%);
}

img {
  max-width: 100%;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: 10;
  pointer-events: none;
  content: "";
  opacity: 0.18;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.15'/%3E%3C/svg%3E");
  mix-blend-mode: soft-light;
}

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

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 30;
  padding: 0.8rem 1rem;
  color: #051052;
  background: white;
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.page-shell {
  width: min(100%, 1680px);
  margin-inline: auto;
  overflow: hidden;
}

.masthead {
  position: relative;
  display: grid;
  min-height: clamp(33rem, 61svh, 47rem);
  padding: clamp(1.25rem, 3vw, 2.75rem) var(--page-gutter) clamp(3.75rem, 7vw, 6.5rem);
  grid-template-columns: minmax(10rem, 1fr) auto;
  grid-template-rows: auto 1fr;
  isolation: isolate;
}

.masthead::after {
  position: absolute;
  right: -6rem;
  bottom: -9rem;
  z-index: -1;
  width: clamp(18rem, 45vw, 46rem);
  aspect-ratio: 1;
  content: "";
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 43% 57% 72% 28% / 54% 35% 65% 46%;
  transform: rotate(18deg);
}

.brand-lockup {
  display: grid;
  width: clamp(14rem, 23vw, 22rem);
  aspect-ratio: 1535 / 798;
  padding: 0.35rem 0.55rem;
  place-items: center;
  background: white;
  border-radius: 0.45rem 3.2rem 0.45rem 0.45rem;
  box-shadow: 0 1rem 4rem rgba(0, 9, 66, 0.28);
}

.brand-lockup img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.masthead-meta {
  display: flex;
  align-items: center;
  align-self: start;
  gap: 0.8rem;
  padding-top: 0.5rem;
  color: var(--muted);
  font-size: clamp(0.75rem, 1vw, 0.9rem);
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.meta-rule {
  display: inline-block;
  width: clamp(1.75rem, 5vw, 4.5rem);
  height: 1px;
  background: var(--line);
}

.hero-copy {
  align-self: end;
  max-width: 77rem;
  margin-top: clamp(4rem, 9vh, 7rem);
}

.eyebrow {
  margin: 0 0 1rem;
  color: #6ed3ff;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

h1 {
  max-width: 14ch;
  margin: 0;
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: clamp(3.8rem, 8.8vw, 9.3rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 0.94;
  text-transform: uppercase;
}

.headline-line {
  display: block;
}

.headline-line--solid {
  color: var(--ink);
}

.headline-line--outline {
  margin-top: 0.09em;
  color: rgba(255, 255, 255, 0.08);
  -webkit-text-stroke: clamp(1px, 0.11vw, 2px) rgba(255, 255, 255, 0.9);
  white-space: nowrap;
}

.intro {
  max-width: 38rem;
  margin: clamp(1.5rem, 3vw, 2.3rem) 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.7vw, 1.35rem);
  line-height: 1.45;
}

.scroll-cue {
  position: absolute;
  right: var(--page-gutter);
  bottom: 2.75rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
}

.scroll-cue i {
  display: block;
  width: 1px;
  height: 3.5rem;
  background: linear-gradient(transparent, white);
}

.company-grid {
  display: grid;
  min-height: clamp(47rem, 97svh, 64rem);
  padding: 0 var(--page-gutter) clamp(3rem, 7vw, 7rem);
  gap: clamp(0.75rem, 1.3vw, 1.3rem);
  grid-template-columns: 1.12fr 0.88fr;
  grid-template-rows: repeat(3, minmax(22rem, 1fr));
}

.brand-panel {
  position: relative;
  display: block;
  width: 100%;
  min-height: 22rem;
  overflow: hidden;
  padding: 0;
  color: white;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
  appearance: none;
  background: #06114e;
  border: 0;
  isolation: isolate;
  transform: translateZ(0);
  touch-action: manipulation;
}

.brand-panel--static {
  cursor: default;
}

.coming-soon-sticker {
  position: absolute;
  top: clamp(1.15rem, 2.3vw, 2rem);
  right: clamp(1.15rem, 2.3vw, 2rem);
  z-index: 4;
  display: grid;
  min-width: 8.8rem;
  padding: 0.72rem 1.05rem 0.82rem;
  color: #06114e;
  background: #e9f9ff;
  box-shadow: 0.45rem 0.65rem 1.35rem rgba(0, 5, 38, 0.34);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  line-height: 1.2;
  text-transform: uppercase;
  transform: rotate(2.5deg);
}

.coming-soon-sticker strong {
  margin-top: 0.18rem;
  color: #0754c8;
  font-family: "Manrope", sans-serif;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.coming-soon-sticker::after {
  position: absolute;
  right: -1px;
  bottom: -1px;
  width: 1.05rem;
  height: 1.05rem;
  content: "";
  background: linear-gradient(135deg, #acdff2 0 49%, rgba(1, 10, 55, 0.42) 50% 58%, transparent 59%);
  filter: drop-shadow(-0.18rem -0.12rem 0.2rem rgba(2, 14, 71, 0.2));
}

.brand-panel::after {
  position: absolute;
  inset: 0;
  z-index: 5;
  content: "";
  pointer-events: none;
  border: 1px solid rgba(255, 255, 255, 0.24);
}

.brand-panel > .panel-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 900ms cubic-bezier(0.2, 0.8, 0.2, 1), filter 600ms ease;
}

.source-logo {
  display: block;
}

.source-logo--stretch {
  color: #fff;
  font: 800 clamp(2.3rem, 4.7vw, 5.5rem) / 0.88 "Manrope", sans-serif;
  letter-spacing: -0.075em;
  text-shadow: 0 0.14em 0.65em rgba(0, 0, 0, 0.35);
}

.source-logo--stretch > span {
  display: inline-block;
}

.source-logo-slash {
  margin: 0 0.08em;
  color: #d9ff4a;
  transform: skew(-12deg);
}

.source-logo--sunset {
  width: clamp(7.25rem, 12.5vw, 10.5rem);
  aspect-ratio: 996 / 1220;
  background: url("assets/sunset-logo-full.png") center / contain no-repeat;
  filter: drop-shadow(0 0.65rem 1.4rem rgba(21, 5, 35, 0.32));
}

.source-logo--pineapple {
  display: flex;
  align-items: center;
  gap: clamp(0.75rem, 1.4vw, 1.2rem);
  filter: drop-shadow(0 0.65rem 1.4rem rgba(28, 0, 42, 0.35));
}

.source-logo--secret {
  position: relative;
  padding-bottom: 0.5rem;
  transform-origin: left center;
  transition: transform 400ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.source-logo--secret::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 0.22rem;
  background: linear-gradient(90deg, #ffe08a 0 37%, #ff6878 37% 65%, #8db7ff 65%);
  border-radius: 999px;
  content: "";
}

.secret-wordmark {
  display: flex;
  flex-direction: column;
  color: #fff;
  font-family: "Helvetica Neue", "Arial Nova", Arial, sans-serif;
  font-size: clamp(1rem, 1.5vw, 1.45rem);
  font-weight: 700;
  letter-spacing: 0.22em;
  line-height: 0.82;
  text-shadow: 0 0.25rem 1.2rem rgba(9, 2, 62, 0.7);
  text-transform: uppercase;
}

.secret-wordmark b {
  font-size: clamp(2.25rem, 4.1vw, 4.5rem);
  letter-spacing: 0.02em;
  line-height: 0.86;
}

.secret-wordmark-tail {
  align-self: flex-end;
  margin-top: 0.28rem;
}

.source-logo--pineapple > img {
  width: clamp(3.8rem, 6vw, 6rem);
  height: auto;
  object-fit: contain;
}

.pineapple-wordmark {
  display: flex;
  flex-direction: column;
  color: #fff;
  font-family: "Helvetica Neue", "Arial Nova", Arial, sans-serif;
  font-size: clamp(1.15rem, 2vw, 2rem);
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 0.84;
  text-transform: uppercase;
}

.pineapple-wordmark b {
  font-size: clamp(1.8rem, 3.35vw, 3.6rem);
  letter-spacing: 0.045em;
}

.panel-tint {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(120deg, rgba(1, 8, 49, 0.88) 0%, rgba(2, 25, 104, 0.45) 48%, rgba(0, 0, 0, 0.08) 100%);
  transition: opacity 500ms ease;
}

.panel-copy,
.panel-mark {
  position: absolute;
  z-index: 2;
}

.panel-copy {
  right: clamp(1.5rem, 3vw, 3rem);
  bottom: clamp(1.5rem, 3vw, 3rem);
  left: clamp(1.5rem, 3vw, 3rem);
  display: flex;
  align-items: flex-start;
  flex-direction: column;
}

.panel-kicker {
  margin-bottom: 0.7rem;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.panel-copy strong {
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: clamp(3rem, 5.8vw, 6.8rem);
  font-weight: 900;
  letter-spacing: -0.035em;
  line-height: 0.77;
  text-transform: uppercase;
}

.panel-title--long {
  max-width: 12ch;
  font-size: clamp(2.35rem, 4.2vw, 5rem) !important;
  line-height: 0.9 !important;
}

.panel-subtitle {
  margin-top: 0.6rem;
  font-size: clamp(0.9rem, 1.35vw, 1.2rem);
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
}

.panel-detail {
  max-width: 29rem;
  height: 0;
  margin-top: 0;
  overflow: hidden;
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.96rem;
  line-height: 1.4;
  opacity: 0;
  transform: translateY(0.75rem);
  transition: opacity 350ms ease, transform 350ms ease, height 350ms ease, margin 350ms ease;
}

.panel-mark {
  top: clamp(1.25rem, 2.5vw, 2.2rem);
  right: clamp(1.25rem, 2.5vw, 2.2rem);
  display: grid;
  width: 2.7rem;
  aspect-ratio: 1;
  place-items: center;
  font-size: 1.2rem;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 50%;
  transition: color 300ms ease, background-color 300ms ease, transform 300ms ease;
}

.panel-stretch {
  clip-path: polygon(0 0, 95% 0, 100% 18%, 96% 100%, 0 100%, 3% 58%);
}

.panel-sunset {
  clip-path: polygon(7% 0, 100% 0, 100% 100%, 0 100%, 3% 45%);
}

.panel-secret {
  clip-path: polygon(0 0, 96% 0, 100% 43%, 95% 100%, 0 100%);
  background: #2219d2 url("assets/secret-garden-parties-backyard-v2.webp") center / cover no-repeat;
}

.panel-pineapple {
  clip-path: polygon(4% 0, 100% 0, 97% 52%, 100% 100%, 0 100%, 0 15%);
}

.panel-transport {
  clip-path: polygon(0 0, 96% 0, 100% 30%, 96% 100%, 0 100%, 2% 55%);
}

.panel-creative {
  clip-path: polygon(6% 0, 100% 0, 100% 100%, 0 100%, 3% 42%);
}

.panel-sunset .panel-tint {
  background: linear-gradient(125deg, rgba(23, 12, 65, 0.8), rgba(208, 48, 14, 0.23) 65%, rgba(255, 137, 33, 0.08));
}

.panel-secret .panel-image {
  object-position: center 42%;
}

.panel-secret .panel-tint {
  background:
    radial-gradient(circle at 78% 18%, rgba(255, 218, 82, 0.34), transparent 24%),
    linear-gradient(105deg, rgba(12, 7, 73, 0.94) 0%, rgba(25, 17, 119, 0.7) 41%, rgba(25, 17, 119, 0.12) 77%);
}

.panel-secret .panel-kicker,
.panel-secret .panel-subtitle {
  color: #ffe08a;
  font-weight: 800;
  text-shadow: 0 2px 16px rgba(14, 8, 85, 0.85);
}

.panel-secret:hover .source-logo--secret,
.panel-secret:focus-visible .source-logo--secret {
  transform: scale(1.035);
}

.panel-pineapple img {
  object-position: 18% center;
}

.panel-pineapple .panel-tint {
  background:
    linear-gradient(90deg, rgba(37, 0, 45, 0.94) 0%, rgba(106, 0, 82, 0.78) 42%, rgba(198, 7, 113, 0.24) 78%),
    linear-gradient(180deg, transparent 55%, rgba(20, 0, 34, 0.72));
}

.panel-pineapple .panel-kicker,
.panel-pineapple .panel-subtitle {
  color: #ffd8f0;
  font-weight: 800;
  text-shadow: 0 2px 14px rgba(30, 0, 45, 0.75);
}

.panel-transport .panel-tint {
  background:
    linear-gradient(108deg, rgba(2, 9, 53, 0.96) 0%, rgba(6, 48, 121, 0.72) 48%, rgba(0, 10, 32, 0.14) 80%);
}

.panel-transport .panel-image {
  object-position: center;
}

.panel-transport .panel-kicker,
.panel-transport .panel-subtitle {
  color: #87dcff;
  font-weight: 800;
}

.panel-creative .panel-image {
  object-position: center 46%;
}

.panel-creative .panel-tint {
  background: linear-gradient(120deg, rgba(1, 8, 49, 0.88) 0%, rgba(2, 25, 104, 0.45) 48%, rgba(0, 0, 0, 0.08) 100%);
}

.panel-creative .panel-copy {
  transition: transform 350ms ease;
}

.panel-creative .panel-kicker,
.panel-creative .panel-subtitle {
  color: #b7eaff;
  font-weight: 800;
}

.panel-services {
  max-width: 42rem;
  letter-spacing: 0.1em;
  line-height: 1.45;
}

.panel-transport .panel-title,
.panel-creative .panel-title {
  max-width: 14ch;
  font-size: clamp(2.15rem, 3.25vw, 4rem) !important;
  letter-spacing: -0.02em;
  line-height: 0.96 !important;
}

.panel-transport .panel-subtitle,
.panel-creative .panel-subtitle {
  max-width: 34rem;
  font-size: clamp(0.82rem, 1.05vw, 1rem);
  letter-spacing: 0.12em;
  line-height: 1.45;
}

.brand-panel:hover > .panel-image,
.brand-panel:focus-visible > .panel-image {
  filter: saturate(1.14) contrast(1.04);
  transform: scale(1.045);
}

.brand-panel--static:hover > .panel-image {
  filter: none;
  transform: none;
}

.brand-panel--static:hover .panel-tint {
  opacity: 1;
}

.panel-creative.brand-panel--static:hover > .panel-image {
  filter: saturate(1.14) contrast(1.04);
  transform: scale(1.045);
}

.panel-creative.brand-panel--static:hover .panel-tint {
  opacity: 0.79;
}

.brand-panel:hover .panel-tint,
.brand-panel:focus-visible .panel-tint {
  opacity: 0.79;
}

.brand-panel:hover .panel-mark,
.brand-panel:focus-visible .panel-mark {
  color: #051153;
  background: white;
  transform: rotate(45deg);
}

.brand-panel:hover .panel-detail,
.brand-panel:focus-visible .panel-detail {
  height: 2.8rem;
  margin-top: 1rem;
  opacity: 1;
  transform: translateY(0);
}

.brand-panel:focus-visible {
  outline: 4px solid white;
  outline-offset: -5px;
}

.site-footer {
  display: grid;
  padding: 1.7rem var(--page-gutter) 2.25rem;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-top: 1px solid var(--line);
  grid-template-columns: 1fr 1fr 1fr;
}

.site-footer p {
  margin: 0;
}

.site-footer p:nth-child(2) {
  text-align: center;
}

.site-footer a {
  justify-self: end;
  color: inherit;
  text-decoration-color: rgba(255, 255, 255, 0.35);
  text-underline-offset: 0.35rem;
}

.site-footer a:hover {
  color: white;
}

.company-details {
  display: flex;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  align-items: flex-start;
  flex-direction: column;
  gap: 0.35rem;
  font-style: normal;
  letter-spacing: 0.06em;
  line-height: 1.6;
  text-transform: none;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  grid-column: 1 / -1;
}

.company-details strong {
  flex: 0 0 auto;
  color: rgba(255, 255, 255, 0.92);
  letter-spacing: 0.1em;
}

.company-details a[href^="tel:"] {
  display: inline-block;
  min-height: 2.75rem;
  padding: 0.55rem 0.15rem;
  color: white;
  font-weight: 800;
  white-space: nowrap;
}

.social-icons {
  display: flex;
  margin-top: 1.25rem;
  gap: 0.65rem;
  grid-column: 1 / -1;
}

.social-icon {
  display: grid;
  width: 2.75rem;
  height: 2.75rem;
  color: rgba(255, 255, 255, 0.92);
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;
}

.social-icon svg {
  width: 1.3rem;
  height: 1.3rem;
  fill: currentColor;
  stroke: currentColor;
  stroke-width: 1.7;
}

.social-icon path,
.social-icon-dot {
  stroke: none;
}

.social-icon rect,
.social-icon circle:not(.social-icon-dot) {
  fill: none;
}

@media (hover: hover) {
  .panel-creative:hover .panel-copy {
    transform: translateY(-3.8rem);
  }
}

@media (max-width: 900px) {
  .masthead {
    min-height: 39rem;
    grid-template-columns: 1fr;
  }

  .masthead-meta {
    position: absolute;
    top: 2rem;
    right: var(--page-gutter);
  }

  .hero-copy {
    grid-column: 1;
  }

  h1 {
    font-size: clamp(3.6rem, 10.7vw, 6.8rem);
    line-height: 0.96;
  }

  .company-grid {
    min-height: auto;
    grid-template-columns: 1fr;
    grid-template-rows: repeat(6, minmax(25rem, 62svh));
  }

  .brand-panel {
    min-height: 25rem;
    border-radius: 0.4rem 4rem 0.4rem 0.4rem;
    clip-path: none;
  }

  .panel-sunset,
  .panel-pineapple,
  .panel-creative {
    border-radius: 4rem 0.4rem 0.4rem 0.4rem;
  }

  .panel-copy strong {
    font-size: clamp(3.5rem, 12vw, 6.2rem);
  }

  .source-logo--stretch {
    font-size: clamp(2.45rem, 9.5vw, 5rem);
  }

  .source-logo--sunset {
    width: clamp(7.5rem, 26vw, 10.5rem);
  }

  .panel-detail {
    height: auto;
    margin-top: 1rem;
    opacity: 0.86;
    transform: none;
  }
}

@media (max-width: 620px) {
  :root {
    --page-gutter: 1rem;
  }

  .masthead {
    min-height: min(42rem, 100svh);
    padding-top: 1rem;
    padding-bottom: 3rem;
  }

  .brand-lockup {
    width: min(12.5rem, 50vw);
  }

  .masthead-meta {
    top: 1.5rem;
    max-width: 8rem;
    align-items: flex-end;
    flex-direction: column;
    gap: 0.45rem;
    text-align: right;
  }

  .meta-rule {
    display: none;
  }

  h1 {
    max-width: 100%;
    font-size: clamp(3rem, 14vw, 5rem);
    line-height: 1;
  }

  .headline-line--outline {
    max-width: 9.5ch;
    margin-top: 0.12em;
    white-space: normal;
  }

  .scroll-cue {
    display: none;
  }

  .company-grid {
    padding-right: var(--page-gutter);
    padding-left: var(--page-gutter);
    gap: 0.75rem;
    grid-template-rows: repeat(6, minmax(22rem, 58svh));
  }

  .brand-panel {
    min-height: 22rem;
    border-radius: 0.4rem 2.75rem 0.4rem 0.4rem;
  }

  .panel-sunset,
  .panel-pineapple,
  .panel-creative {
    border-radius: 2.75rem 0.4rem 0.4rem 0.4rem;
  }

  .panel-copy {
    right: 1.25rem;
    bottom: 1.35rem;
    left: 1.25rem;
  }

  .panel-mark {
    top: 1rem;
    right: 1rem;
  }

  .coming-soon-sticker {
    top: 1rem;
    right: 1rem;
    min-width: 7.8rem;
    padding: 0.62rem 0.85rem 0.72rem;
  }

  .coming-soon-sticker strong {
    font-size: 0.82rem;
  }

  .panel-detail {
    max-width: 25rem;
    font-size: 1rem;
  }

  .site-footer {
    gap: 0.8rem;
    font-size: 0.875rem;
    letter-spacing: 0.06em;
    line-height: 1.55;
    grid-template-columns: 1fr;
  }

  .site-footer p:nth-child(2) {
    text-align: left;
  }

  .site-footer a {
    justify-self: start;
  }

  .company-details {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 430px) {
  .masthead {
    display: block;
    min-height: 42rem;
  }

  .brand-lockup {
    width: min(12.5rem, 64vw);
  }

  .masthead-meta {
    position: static;
    max-width: none;
    margin-top: 1.2rem;
    align-items: flex-start;
    flex-direction: row;
    flex-wrap: wrap;
    text-align: left;
  }

  .hero-copy {
    margin-top: 4.5rem;
  }

  .company-grid {
    grid-template-rows: repeat(6, minmax(24rem, 66svh));
  }

  .panel-transport .panel-title,
  .panel-creative .panel-title {
    font-size: clamp(1.9rem, 10vw, 2.5rem) !important;
  }

  .panel-transport .panel-subtitle,
  .panel-creative .panel-subtitle {
    font-size: 0.78rem;
    letter-spacing: 0.09em;
  }
}

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

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

}

/* WordPress fallback content template. */
.blue-chilli-content-page {
  min-height: 100vh;
}

.content-shell {
  width: min(100% - 2rem, 72rem);
  min-height: 100vh;
  margin-inline: auto;
  padding: clamp(3rem, 8vw, 7rem) 0;
}

.content-card {
  padding: clamp(1.5rem, 4vw, 3.5rem);
  color: #07104f;
  background: #fff;
  border-radius: 0.5rem 4rem 0.5rem 0.5rem;
  box-shadow: 0 1.5rem 5rem rgba(0, 7, 50, 0.3);
}

.content-title {
  max-width: none;
  color: #07104f;
  font-size: clamp(2.5rem, 7vw, 5.5rem);
}

.entry-content {
  margin-top: 2rem;
  font-size: 1rem;
  line-height: 1.7;
}

.entry-content a {
  color: #0754c8;
}
