.principles {
  padding: 0 5% !important;
  background: #0B0B19 !important;
}

/* Shared portfolio-logo frame and project-specific accordion presentation. */
.work-visual .client-logo-badge {
 position: absolute; left: 22px; bottom: 22px; width: 190px; height: 68px;
 display: flex; align-items: center; justify-content: center; padding: 12px 16px;
 border: 1px solid #ffffff30; border-radius: 12px; background: #0b0b19ed;
 box-sizing: border-box; overflow: hidden;
}
.work-visual .client-logo-badge .client-logo {
 position: static; display: block; width: 100%; height: 100%; max-width: 100%;
 object-fit: contain; padding: 0; border: 0; border-radius: 0; background: transparent;
 filter: none; mix-blend-mode: screen;
}
.case-editorial img.case-logo { filter: none; mix-blend-mode: screen; }
.expandable-points details > ul { display: block; border-top: 0; margin: 0 0 20px; padding: 0 44px 0 0; }
.expandable-points details > ul li { line-height: 1.75; padding: 0; }
.expandable-points details > ul li:before { content: none; }
.expandable-points summary { gap: 20px; }
.expandable-points summary > span { min-width: 0; }
.expandable-points summary b { flex-shrink: 0; }
.proof-strip > div, .case-metrics > div { min-width: 0; }
.proof-strip span, .case-metrics span { overflow-wrap: anywhere; }
@media (max-width: 900px) { .case-editorial { row-gap: 42px; } }
@media (max-width: 700px) {
 section.partnership-feature { row-gap: 36px; padding-bottom: 72px !important; }
 section.faq-group { row-gap: 28px; }
 header.open nav { align-items: stretch; gap: 0; padding: 18px 6% 26px; background: radial-gradient(ellipse at 100% 0, #530b7040, transparent 70%),linear-gradient(130deg,#160f20,#0b0b19 75%); border-bottom: 1px solid #d29aa540; box-shadow: 0 22px 40px #0007; }
 header nav a { padding: 14px 16px; font-size: 19px; font-weight: 500; border-bottom: 1px solid #ffffff12; border-radius: 8px; }
 header nav a[aria-current] { background: #d29aa512; color: #e1b2bc; border-left: 2px solid #d29aa5; }
 header nav a[aria-current]:after { display: none; }
 header nav a:hover { background: #ffffff08; }
 .proof-strip, .case-metrics { grid-template-columns: repeat(2,minmax(0,1fr)); }
 .proof-strip > div, .case-metrics > div { padding: 26px 14px; }
 .proof-strip strong, .case-metrics strong { font-size: clamp(28px,8vw,38px); }
}

/* Keep the linked first footer heading on the same baseline as the other columns. */
.footer-grid h3 > a {
  display: inline;
  margin: 0;
  color: inherit;
  font-size: inherit;
}
/* Targeted mobile corrections; desktop compositions are retained. */
header .logo { min-width: 0; }
.client-logo[src="/assets/mygas-logo.png"] { background: transparent; border: 0; padding: 0; border-radius: 0; }
.form-status { margin: 0; }
.form-status a { text-decoration: underline; text-underline-offset: 3px; color: #fff; }
.footer-grid .footer-call {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 42px;
  padding: 9px 16px;
  margin-top: 14px;
  border: 1px solid #ffffff55;
  border-radius: 999px;
  color: #fff;
  font-weight: 700;
  line-height: 1.3;
}
.footer-grid .footer-call:hover { background: #ffffff18; }
select { width: 100%; padding: 14px; margin-top: 7px; border: 1px solid #ffffff2c; border-radius: 8px; background: #0b0b19; color: white; font: inherit; }
:focus-visible { outline: 2px solid #d29aa5; outline-offset: 4px; }
@media (max-width: 700px) {
 header { gap: 12px; }
 header .brand-wordmark { font-size: clamp(12px, 3.5vw, 17px); letter-spacing: .045em; }
 header .menu { flex-shrink: 0; padding: 10px 13px; }
 .case-editorial .case-back { position: static; margin: 0 0 28px; }
 .case-editorial .case-logo { display: block; width: auto; max-width: 100%; object-fit: contain; }
 section.evidence-wall.acdc-compact .evidence-frame { height: auto; aspect-ratio: auto; }
 section.evidence-wall.acdc-compact .evidence-frame img { height: auto; width: 100%; }
 section.evidence-wall.mygas-aligned .evidence-frame { height: auto; aspect-ratio: auto; }
 section.evidence-wall.mygas-aligned .evidence-frame img { height: auto; object-fit: contain; }
 main section.reveal { transform: none; }
 .partnership-feature { padding-bottom: 70px !important; }
 .actions { flex-wrap: wrap; }
 .footer-lead .brand-wordmark { white-space: normal; }
}

.home-work {
  background:
    radial-gradient(circle at 90% 10%, #530B704a, transparent 34%),
    linear-gradient(135deg, #0B0B19 20%, #3D141466 100%);
}

.cert-grid img {
  border-radius: 50%;
  background: #fff;
  padding: 0;
}

.evidence-wall {
  align-items: start;
}
.evidence-wall:has(figure:nth-child(3):last-child) figure { grid-column: span 4; }
.evidence-frame {
  height: auto;
  min-height: 0;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  overflow: hidden;
  border-radius: 18px;
}
.evidence-frame:before { display: none; }
.evidence-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  background: transparent;
  display: block;
  border-radius: 18px;
}
.evidence-wall.landscape-uniform .evidence-frame { aspect-ratio: 16 / 10; }
.evidence-wall.portrait-uniform .evidence-frame { aspect-ratio: 4 / 5; }
.evidence-wall.mixed-natural .evidence-frame { height: auto; overflow: hidden; }
.evidence-wall.mixed-natural .evidence-frame img { height: auto; }
.evidence-wall.mygas-aligned { align-items: stretch; }
.evidence-wall.mygas-aligned figure { display: grid; grid-template-rows: auto 1fr; }
.evidence-wall.mygas-aligned .evidence-frame {
  aspect-ratio: 16 / 10;
  background: #0b0b19;
}
.evidence-wall.mygas-aligned .evidence-frame img {
  object-fit: contain;
  object-position: center;
}
.evidence-wall.acdc-compact,
.evidence-wall.expo-compact { width: 100%; margin-inline: 0; background: transparent; }
.evidence-wall.acdc-compact .evidence-frame { height: 420px; aspect-ratio: auto; }
.evidence-wall.acdc-compact .evidence-frame img { height: 100%; object-fit: contain; }
.evidence-wall.expo-compact .evidence-frame { height: 440px; aspect-ratio: auto; }
.evidence-wall.powermode-zoomout .evidence-frame {
  aspect-ratio: 2.2;
  background: transparent;
}
.evidence-wall.powermode-zoomout .evidence-frame img {
  height: 100%;
  object-fit: cover;
  object-position: center;
  padding: 0;
}

.case-editorial { position: relative; }
.case-editorial .case-logo { mix-blend-mode: screen; background: transparent; }
img[src="/assets/mygas-logo.png"] {
  filter: url("/assets/logo-filters.svg#mygas-transparent");
  mix-blend-mode: normal;
}
.brand-wordmark { display: inline-block; font-size: clamp(17px, 1.7vw, 25px); font-weight: 600; letter-spacing: .08em; white-space: nowrap; }
.footer-lead .brand-wordmark { font-size: clamp(22px, 2.2vw, 32px); }
.page-back-row { padding: 24px 5% 0; }
.page-back { display: inline-flex; align-items: center; min-height: 42px; padding: 0 18px; border: 1px solid #ffffff36; border-radius: 999px; font-size: 13px; font-weight: 700; }
.page-back:hover { background: #ffffff10; border-color: #ffffff66; }
.evidence-frame:hover img { transform: none; }
.evidence-wall:has(img[src="/assets/powermode-product-page.png"]) .evidence-frame { aspect-ratio: 2.2; }
.evidence-wall:has(img[src="/assets/powermode-product-page.png"]) .evidence-frame img { object-fit: cover; }
.evidence-wall.mygas-aligned .evidence-frame { aspect-ratio: 1.8; background: transparent; }
.evidence-wall.mygas-aligned .evidence-frame img { object-fit: cover; }
@media (max-width: 700px) {
  .evidence-wall.acdc-compact .evidence-frame,
  .evidence-wall.expo-compact .evidence-frame { height: auto; aspect-ratio: 4 / 5; }
}
.case-back {
  position: absolute;
  top: 28px;
  left: 5%;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  margin: 0;
  padding: 0 18px;
  border: 1px solid #ffffff36;
  border-radius: 999px;
  color: #f3eff4;
  font-size: 13px;
  font-weight: 700;
  transition: .25s;
}
.case-back:hover { background: #ffffff10; border-color: #ffffff66; }

.expandable-points {
  margin-top: 24px;
  border-top: 1px solid #ffffff18;
}
.expandable-points details { border-bottom: 1px solid #ffffff18; }
.expandable-points summary {
  padding: 17px 0;
  font-size: 14px;
  font-weight: 400;
  color: #d2ced7;
}
.expandable-points summary > span:before {
  content: "+";
  color: #d29aa5;
  margin-right: 12px;
}
.expandable-points summary b {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border: 1px solid #ffffff2d;
  border-radius: 50%;
  color: #fff;
}
.expandable-points details[open] summary b { transform: rotate(45deg); }
.expandable-points details > ul {
  margin: 0 0 16px 26px;
  padding: 0;
  list-style: none;
}
.expandable-points details > ul li {
  padding: 8px 0;
  border: 0;
  color: #aaa5b1;
  font-size: 14px;
}
.expandable-points details > ul li:before {
  content: "•";
  color: #d29aa5;
  margin-right: 10px;
}

.case-editorial-image {
  height: auto;
  min-height: 0;
  align-self: center;
  border: 0;
  box-shadow: none;
}
.case-editorial-image.portrait {
  width: min(100%, 500px);
  justify-self: center;
  aspect-ratio: 4 / 5;
}
.case-editorial-image.landscape { width: 100%; aspect-ratio: 16 / 10; }
.case-editorial-image img { object-fit: cover; }

.founder figure img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 45% center;
  max-height: none;
}

.partnership-feature {
  display: grid;
  grid-template-columns: .82fr 1.18fr;
  gap: 8%;
  align-items: center;
  border-bottom: 1px solid #ffffff1c;
}
.partnership-feature figure {
  width: min(100%, 430px);
  aspect-ratio: 4 / 5;
  margin: 0;
  border-radius: 18px;
  overflow: hidden;
}
.partnership-feature figure img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}
.faq-page { padding-top: 30px !important; }
.faq-group {
  display: grid;
  grid-template-columns: .55fr 1.45fr;
  gap: 8%;
  padding: 55px 0;
  border-bottom: 1px solid #ffffff1c;
}
.faq-group > div:last-child { border-top: 1px solid #ffffff1c; }
.faq-group details p { max-width: 900px; font-size: 17px; line-height: 1.8; }

.engagement {
  background:
    radial-gradient(circle at 78% 22%, #530b7045, transparent 38%),
    linear-gradient(135deg, #0b0b19 18%, #3d14144d 100%);
}
.engagement article { background: #0b0b19cc; }

.resources-section {
  background: #0b0b19;
  border-bottom: 1px solid #ffffff1c;
}
.resources-section .section-head {
  max-width: 720px;
}
.resources-grid {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  border-top: 1px solid #ffffff1c;
  border-left: 1px solid #ffffff1c;
}
.resources-grid article {
  min-height: 154px;
  padding: 24px 14px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  text-align: center;
  border-right: 1px solid #ffffff1c;
  border-bottom: 1px solid #ffffff1c;
  background: #ffffff02;
}
.resources-grid img {
  display: block;
  width: 68px;
  height: 68px;
  object-fit: contain;
}
.resources-grid span {
  min-height: 34px;
  display: flex;
  align-items: center;
  color: #d8d5dc;
  font-size: 14px;
  line-height: 1.35;
}

@media (max-width: 1100px) {
  .resources-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

.contact-band {
  background:
    radial-gradient(circle at 12% 16%, #6b35355c, transparent 42%),
    linear-gradient(118deg, #240d1f 0%, #0b0b19 68%, #180824 100%);
}

.social-row { gap: 10px; }
.social-row .social-icon {
  width: 44px;
  height: 44px;
  min-height: 44px;
  padding: 10px;
  border-radius: 50%;
}
.social-icon svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}
.social-icon svg .fill {
  fill: currentColor;
  stroke: none;
}

.evidence-wall.ads-reporting {
  grid-template-columns: 1fr;
}
.evidence-wall.ads-reporting figure {
  aspect-ratio: auto;
}
.evidence-wall.ads-reporting figure img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.longform > section p,
.solid-copy > section p {
  max-width: 1100px;
  font-size: 18px;
  line-height: 1.9;
}
.longform { max-width: 1240px; }
.longform > section {
  padding-block: 55px;
}

@media (max-width: 700px) {
  .resources-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .resources-grid article { min-height: 142px; }
  .founder { padding-bottom: 110px !important; }
  .founder .button { margin-bottom: 14px; }
  .principles { padding: 0 6% !important; }
  .evidence-wall figure { grid-column: 1 / -1 !important; }
  .case-editorial-image.portrait { width: min(100%, 420px); }
  .partnership-feature,
  .faq-group { grid-template-columns: 1fr; }
}
