/* Styles for the Work index and case-study pages. Loaded after home.css, which supplies the
   tokens, navigation, buttons, closing-section and footer styles shared with the homepage. */

[hidden] { display: none !important; }

/* Navigation: active page */
.nav-links a[aria-current="page"] { opacity: 1; text-decoration: underline; text-underline-offset: 8px; text-decoration-thickness: 1px; }
.menu ul a[aria-current="page"] { background: rgba(255,255,255,.1); }

/* Page hero (shorter than the homepage hero) */
.page-hero { position: relative; overflow: hidden; padding-bottom: 3.5rem; background: linear-gradient(100deg, #0a0809 0%, #0a0809 38%, #2a0f14 70%, #4a1a20 100%); }
.page-hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 78% 40%; opacity: .95; }
.page-hero::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(10,8,9,.94) 0%, rgba(10,8,9,.8) 36%, rgba(10,8,9,.25) 70%, rgba(10,8,9,.1) 100%),
    linear-gradient(180deg, rgba(0,0,0,.45) 0%, transparent 30%, rgba(0,0,0,.5) 100%); }
.page-hero > *:not(.page-hero-img) { position: relative; z-index: 1; }
.page-hero-body { padding-top: 3rem; }
.page-hero h1 { max-width: 18ch; }
.page-hero .lead { max-width: 34rem; margin-top: 1.25rem; font-family: var(--serif); font-size: 1.3rem; line-height: 1.4; opacity: .95; }
.back-link { display: inline-block; margin-bottom: 1.5rem; font-size: .85rem; color: #d6d4ce; text-decoration: none; }
.back-link:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.pill-row { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.75rem; }
.pill { display: inline-block; padding: .4rem 1rem; border: 1px solid rgba(255,255,255,.4); border-radius: 999px; font-size: .8rem; background: rgba(20,20,22,.5); }
.pill-dark { border-color: var(--line-light); background: transparent; color: var(--cream-ink); }

/* Work index: filters */
.work-list { padding: 2.5rem 0 5rem; }
.filters { display: flex; flex-wrap: wrap; gap: .6rem; margin-bottom: 2rem; }
.filter { font: inherit; font-size: .85rem; padding: .55rem 1.2rem; border-radius: 999px; border: 1px solid var(--line-light); background: transparent; color: var(--cream-ink); cursor: pointer; }
.filter:hover { border-color: rgba(0,0,0,.4); }
.filter[aria-pressed="true"] { background: #111; border-color: #111; color: #fff; }
.light :focus-visible { outline-color: #111; }
.filter-status { margin: 0 0 1.25rem; font-size: .8rem; color: var(--muted-light); min-height: 1.2em; }

/* Work index: cards */
.wcards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.wcard { display: flex; flex-direction: column; }
.wcard .shot { aspect-ratio: 16 / 10; border-radius: 4px; border: 1px solid var(--line-light); background: #1a1a1c; overflow: hidden; }
.wcard .shot img { width: 100%; height: 100%; object-fit: cover; object-position: center top; display: block; }
.wcard:nth-child(3) .shot img { object-position: 0 top; }
.wcard .cat { margin: 1.1rem 0 .3rem; font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; }
.wcard h3 { font-size: 1.9rem; margin-bottom: .6rem; }
.wcard .desc { font-size: .95rem; color: var(--muted-light); margin-bottom: 1rem; }
.wcard .pill-row { margin: 0 0 1.1rem; }
.wcard .pill { color: var(--cream-ink); border-color: var(--line-light); background: transparent; font-size: .75rem; padding: .3rem .8rem; }
.wcard .link { margin-top: auto; align-self: flex-start; font-weight: 500; }

/* Light section links */
.light .link { color: var(--cream-ink); }

/* Case study: flagship */
.flagship { padding: 1rem 1.5rem 3.5rem; border-top: 1px solid var(--line-light); margin-top: 1rem; }
.flagship-head { max-width: 44rem; padding-top: 3rem; }
.flagship-head h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); margin-bottom: 1rem; }
.flagship-head p:not(.eyebrow) { color: var(--muted-light); }
.flagship-grid { list-style: none; margin: 2.25rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.flagship-grid li { padding: 1.5rem; border: 1px solid var(--line-light); }
.flagship-grid h3 { font-size: 1.35rem; margin-bottom: .6rem; }
.flagship-grid p { margin: 0; font-size: .95rem; color: var(--muted-light); }
@media (max-width: 52rem) { .flagship-grid { grid-template-columns: minmax(0, 1fr); } }

/* Case study: overview */
.overview { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; padding: 4rem 1.5rem 3rem; }
.overview > div { padding: 0 2rem; border-left: 1px solid var(--line-light); }
.overview > div:first-child { padding-left: 0; border-left: 0; }
.overview > div:last-child { padding-right: 0; }
.overview h2, .overview h3 { font-size: 2.1rem; margin-bottom: 1rem; }
.overview p:not(.eyebrow) { font-size: .95rem; color: var(--muted-light); }
.capabilities li { padding: .7rem 0; border-bottom: 1px solid var(--line-light); font-size: .9rem; }
.capabilities li:first-child { padding-top: 0; }
.capabilities li:last-child { border-bottom: 0; }

/* Case study: gallery */
.gallery { padding: 0 1.5rem 5rem; }
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.gallery figure { margin: 0; }
.ph { aspect-ratio: 16 / 10; border-radius: 4px; display: grid; place-items: center; text-align: center; padding: 1rem;
  background: repeating-linear-gradient(135deg, #1a0f11 0 14px, #20131a 14px 28px); color: #cfcdc7; font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; border: 1px dashed rgba(255,255,255,.35); }
.gallery figcaption { margin-top: .8rem; font-size: .8rem; color: var(--muted-light); }
.gallery figcaption strong { display: block; font-weight: 500; color: var(--cream-ink); font-size: .9rem; }

/* Case study: beyond the storefront */
.ops-head { max-width: 40rem; margin-bottom: 3rem; }
.ops-head p:not(.eyebrow) { color: #d6d4ce; font-size: 1rem; margin-top: 1.1rem; }
.ops-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line-dark); }
.ops-grid li { padding: 1.5rem 1.5rem 1.5rem 0; border-bottom: 1px solid var(--line-dark); font-family: var(--serif); font-size: 1.35rem; }
.ops-grid li:not(:nth-child(3n+1)) { padding-left: 1.5rem; border-left: 1px solid var(--line-dark); }

/* Case study: technical approach */
.approach-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 4rem; align-items: start; }
.approach-grid p:not(.eyebrow) { font-size: 1rem; color: var(--muted-light); margin-bottom: 1.1rem; max-width: 36rem; }

/* Closing section extras */
.cta-actions { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 1.5rem; }
.cta .cta-actions .btn { grid-column: auto; }
.cta-inner > .cta-actions { justify-self: start; }
.text-link { color: #fff; font-size: .9rem; text-decoration: underline; text-underline-offset: 4px; }

/* Tablet */
@media (max-width: 62rem) {
  .page-hero::after { background: linear-gradient(180deg, rgba(10,8,9,.82) 0%, rgba(10,8,9,.72) 50%, rgba(10,8,9,.88) 100%); }
  .overview { grid-template-columns: 1fr; gap: 2.5rem; }
  .overview > div { padding: 0; border-left: 0; }
  .overview > div + div { border-top: 1px solid var(--line-light); padding-top: 2.5rem; }
  .gallery-grid { grid-template-columns: 1fr; max-width: 34rem; }
  .ops-grid { grid-template-columns: repeat(2, 1fr); }
  .ops-grid li:not(:nth-child(3n+1)) { padding-left: 0; border-left: 0; }
  .ops-grid li:nth-child(even) { padding-left: 1.5rem; border-left: 1px solid var(--line-dark); }
  .approach-grid { grid-template-columns: 1fr; gap: 1.5rem; }
}
@media (min-width: 40.01rem) and (max-width: 62rem) {
  /* Image beside the text so the small images are not stretched across the full width */
  .wcards { grid-template-columns: 1fr; gap: 2.5rem; }
  .wcard { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); column-gap: 2rem; align-content: start; }
  .wcard > .shot, .wcard > .shot-abstract { grid-column: 1; grid-row: 1 / span 20; }
  .wcard > :not(.shot):not(.shot-abstract) { grid-column: 2; }
  .wcard .cat { margin-top: 0; }
}
/* Phone */
@media (max-width: 40rem) {
  .wcards { grid-template-columns: 1fr; gap: 2.5rem; }
  .page-hero { padding-bottom: 2.5rem; }
  .page-hero-body { padding-top: 2rem; }
  .page-hero .lead { font-size: 1.1rem; }
  .overview { padding: 3rem 1.5rem 2.5rem; }
  .gallery { padding-bottom: 3.5rem; }
  .ops-grid { grid-template-columns: 1fr; }
  .ops-grid li, .ops-grid li:nth-child(even) { padding-left: 0; border-left: 0; }
}

/* Screen-reader-only text */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* What we do */
.page-hero-left .page-hero-img { object-position: 15% 40%; }
.page-hero .lead-sans { font-family: var(--sans); font-size: 1.05rem; line-height: 1.6; max-width: 36rem; }
.page-hero h1 { max-width: 20ch; }
.caps-section { padding: 3.5rem 0 4.5rem; }
.caps { display: grid; grid-template-columns: repeat(5, 1fr); }
.cap { padding: 0 1.25rem; border-left: 1px solid var(--line-light); display: flex; flex-direction: column; }
.cap:first-child { padding-left: 0; border-left: 0; }
.cap:last-child { padding-right: 0; }
.cap-head { display: flex; gap: .75rem; align-items: flex-start; min-height: 4.4rem; }
.cap-icon { flex: none; display: grid; place-items: center; width: 2.6rem; height: 2.6rem; border-radius: .6rem; background: rgba(0,0,0,.05); }
.cap-icon svg { width: 1.3rem; height: 1.3rem; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.cap h2 { font-size: 1.3rem; line-height: 1.15; padding-top: .1rem; }
.cap-desc { margin: .9rem 0 1rem; font-size: .8rem; color: var(--muted-light); min-height: 4.2em; }
.cap-img { aspect-ratio: 16 / 10; border-radius: 3px; overflow: hidden; background: #1a1a1c; margin-bottom: 1.1rem; }
.cap-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ticks { margin: 0 0 1rem; display: grid; gap: .55rem; }
.ticks li { position: relative; padding-left: 1.6rem; font-size: .85rem; line-height: 1.4; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .1rem; width: 1.05rem; height: 1.05rem; border: 1px solid rgba(0,0,0,.45); border-radius: 50%;
  background: no-repeat center / .6rem url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none' stroke='%2317171a' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m2.5 6.3 2.3 2.3 4.7-5'/%3E%3C/svg%3E"); }
.cap-note { font-size: .8rem; color: var(--muted-light); margin: 0 0 1rem; }
.cap-note a { color: var(--cream-ink); }
.cap .link { margin-top: auto; align-self: flex-start; font-weight: 500; }

@media (max-width: 75rem) {
  .caps { grid-template-columns: repeat(2, 1fr); gap: 3rem 0; }
  .cap, .cap:last-child { padding: 0 0 0 2rem; }
  .cap:nth-child(odd) { padding-left: 0; padding-right: 2rem; border-left: 0; }
  .cap-desc { min-height: 0; }
  .cap-head { min-height: 0; }
  .cap:last-child { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; column-gap: 2rem; align-content: start; padding: 3rem 0 0; border-left: 0; border-top: 1px solid var(--line-light); }
  .cap:last-child > .cap-img { grid-column: 1; grid-row: 1 / span 6; margin-bottom: 0; }
  .cap:last-child > :not(.cap-img) { grid-column: 2; }
}
@media (max-width: 40rem) {
  .caps { grid-template-columns: 1fr; gap: 0; }
  .cap, .cap:last-child, .cap:nth-child(odd) { display: flex; padding: 2.5rem 0; border-left: 0; border-top: 1px solid var(--line-light); }
  .cap:first-child { padding-top: 0; border-top: 0; }
  .cap:last-child > .cap-img { margin-bottom: 1.1rem; }
  .caps-section { padding: 2.5rem 0 3rem; }
}

/* About */
.page-hero-about { min-height: 22rem; }
.page-hero-about .page-hero-img { left: auto; right: 0; width: 56%; object-position: 50% 40%; opacity: .85; }
.page-hero-about::after { background:
  linear-gradient(90deg, #0a0809 0%, #0a0809 44%, rgba(10,8,9,.55) 62%, rgba(10,8,9,.15) 100%),
  linear-gradient(180deg, rgba(0,0,0,.4) 0%, transparent 30%, rgba(0,0,0,.45) 100%); }
.about { padding: 4rem 0 4.5rem; }
.about-grid { display: grid; grid-template-columns: 1fr 1.1fr 1fr; gap: 0 3rem; align-items: start; }
.about-col h2:not(.eyebrow) { font-size: 2.6rem; margin-bottom: 1.25rem; }
.about-col h2.eyebrow { font-family: var(--sans); font-weight: 400; margin-bottom: 1.5rem; }
.about-founder p:not(.eyebrow) { font-size: .95rem; color: var(--muted-light); margin-bottom: 1.5rem; }
.about-highlights { padding: 0 0 0 3rem; border-left: 1px solid var(--line-light); }
.credits { display: grid; gap: 1.5rem; }
.credits li, .principles li { display: flex; gap: 1rem; align-items: flex-start; }
.credits h3, .principles h3 { font-size: 1.2rem; line-height: 1.25; margin-bottom: .25rem; }
.credits p, .principles p { margin: 0; font-size: .85rem; color: var(--muted-light); }
.tile { flex: none; display: grid; place-items: center; width: 3.2rem; height: 3.2rem; border-radius: .5rem; background: #111; color: #fff; }
.ring { flex: none; display: grid; place-items: center; width: 2.9rem; height: 2.9rem; border-radius: 50%; border: 1px solid rgba(0,0,0,.2); background: rgba(255,255,255,.5); }
.tile svg, .ring svg { width: 1.4rem; height: 1.4rem; fill: none; stroke: currentColor; stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; }
.about-approach { background: rgba(0,0,0,.045); border-radius: 4px; padding: 1.5rem 1.75rem; }
.about-approach h2 { font-size: 1.4rem; margin-bottom: 1.25rem; }
.principles { display: grid; }
.principles li { padding: 1rem 0; border-top: 1px solid var(--line-light); }
.principles li:first-child { padding-top: 0; border-top: 0; }
.principles li:last-child { padding-bottom: 0; }

@media (max-width: 62rem) {
  .page-hero-about .page-hero-img { width: 100%; opacity: .5; }
  .page-hero-about::after { background: linear-gradient(180deg, rgba(10,8,9,.85) 0%, rgba(10,8,9,.75) 50%, rgba(10,8,9,.9) 100%); }
  .about { padding: 3rem 0; }
  .about-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .about-highlights { padding: 2.5rem 0 0; border-left: 0; border-top: 1px solid var(--line-light); }
}
@media (max-width: 40rem) {
  .about-col h2:not(.eyebrow) { font-size: 2.1rem; }
  .about-approach { padding: 1.25rem; }
}

/* MedusaJS */
.page-hero-medusa { background: radial-gradient(50% 90% at 78% 40%, rgba(60,40,36,.55), transparent 70%), linear-gradient(100deg, #0a0809 0%, #0b0a0b 60%, #14100f 100%); }
.page-hero-medusa::after { display: none; }
.medusa-hero { display: grid; grid-template-columns: 1.1fr .9fr; gap: 2rem; align-items: center; padding-top: 2rem; }
.medusa-hero h1 { max-width: 15ch; }
.medusa-hero-visual { position: relative; }
.arch { width: 100%; max-width: 26rem; height: auto; display: block; margin-left: auto; }
.arch .dg-edge { stroke: rgba(255,255,255,.22); stroke-width: 1; stroke-linejoin: round; }
.arch .dg-label { fill: #e8e6e0; letter-spacing: .02em; font-family: var(--sans); }
.arch .dg-label-base { fill: #f0d9d3; font-weight: 600; }
.medusa-mark { display: flex; align-items: center; gap: .5rem; justify-content: flex-end; margin: 1rem 0 0; font-size: 1.6rem; font-weight: 600; letter-spacing: -.01em; color: #e8e6e0; }
.medusa-mark svg { width: 1.9rem; height: 1.9rem; fill: #e8e6e0; }
.medusa-mark svg.medusa-wordmark { width: 9.5rem; height: auto; }

.medusa { padding: 3.5rem 0 4rem; }
.m-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; }
.m-col { padding: 0 2rem; border-left: 1px solid var(--line-light); }
.m-col:first-child { padding-left: 0; border-left: 0; }
.m-col:last-child { padding-right: 0; }
.m-col h2 { font-size: 2.1rem; margin-bottom: 1rem; }
.m-lead { font-size: .88rem; color: var(--muted-light); margin-bottom: 1.5rem; }
.m-list h3, .refs h3 { font-size: 1.1rem; line-height: 1.25; margin-bottom: .2rem; }
.m-list p, .refs p { margin: 0; font-size: .78rem; color: var(--muted-light); }
.m-list li { display: flex; gap: .85rem; align-items: flex-start; }
.m-list-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem 1.25rem; }
.m-card { border: 1px solid var(--line-light); border-radius: 4px; background: rgba(255,255,255,.35); }
.m-card li { padding: 1rem; border-top: 1px solid var(--line-light); }
.m-card li:first-child { border-top: 0; }
.m-note { margin: 1rem 0 0; font-size: .8rem; color: var(--muted-light); }
.m-col .ring { width: 2.5rem; height: 2.5rem; background: rgba(0,0,0,.04); border-radius: .6rem; border-color: var(--line-light); }
.m-col .ring svg { width: 1.2rem; height: 1.2rem; }
.refs { display: grid; gap: 1rem; }
.refs li { display: grid; grid-template-columns: 5.2rem 1fr; gap: .35rem .9rem; align-items: start; }
.refs li > img { grid-row: 1 / span 2; }
.refs li > .link { grid-column: 2; }
.refs img { width: 5.2rem; height: 4.2rem; object-fit: cover; object-position: center top; border-radius: 3px; background: #1a1a1c; }
.refs .link { font-size: .78rem; white-space: nowrap; font-weight: 500; }
.light-tint { background: #e6e3da; color: var(--cream-ink); }
.after-launch { padding: 2.25rem 0; }
.after-grid { display: grid; grid-template-columns: .8fr 1.2fr 1.6fr; gap: 1.5rem 2.5rem; align-items: center; }
.after-grid h2 { font-size: 1.9rem; }
.after-grid .eyebrow { margin-bottom: .5rem; }
.after-copy { margin: 0; font-size: .85rem; color: var(--muted-light); }
.after-list { display: grid; grid-template-columns: repeat(4, 1fr); gap: .75rem; }
.after-list li { display: flex; align-items: center; gap: .6rem; font-size: .78rem; line-height: 1.3; }
.after-list .ring { width: 2.4rem; height: 2.4rem; }
.after-list .ring svg { width: 1.1rem; height: 1.1rem; }

@media (max-width: 75rem) {
  .after-grid { grid-template-columns: 1fr 1fr; }
  .after-list { grid-column: 1 / -1; }
}
@media (max-width: 62rem) {
  .medusa-hero { grid-template-columns: 1fr; padding-top: 1rem; }
  .arch { margin: 0 auto 0 0; max-width: 22rem; }
  .medusa-mark { justify-content: flex-start; }
  .m-grid { grid-template-columns: 1fr; gap: 3rem; }
  .m-col, .m-col:last-child { padding: 3rem 0 0; border-left: 0; border-top: 1px solid var(--line-light); }
  .m-col:first-child { padding-top: 0; border-top: 0; }
  .after-list { grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
}
@media (max-width: 40rem) {
  .medusa { padding: 2.5rem 0 3rem; }
  .m-list-2 { grid-template-columns: 1fr; }
  .refs li { grid-template-columns: 4.5rem 1fr; }
  .refs img { width: 4.5rem; height: 3.6rem; }
  .after-grid { grid-template-columns: 1fr; }
  .after-list { grid-template-columns: 1fr; }
  .m-col h2 { font-size: 1.9rem; }
}

/* Contact */
.page-hero-contact { min-height: 20rem; }
.page-hero-contact .page-hero-img { left: auto; right: 0; width: 52%; object-position: 55% 50%; opacity: .85; }
.page-hero-contact::after { background:
  linear-gradient(90deg, #0a0809 0%, #0a0809 46%, rgba(10,8,9,.55) 64%, rgba(10,8,9,.15) 100%),
  linear-gradient(180deg, rgba(0,0,0,.4) 0%, transparent 30%, rgba(0,0,0,.45) 100%); }
.page-hero-contact h1 { max-width: 14ch; }

.contact { padding: 3.5rem 0 4.5rem; }
.contact-grid { display: grid; grid-template-columns: 1.7fr 1fr; gap: 3rem; align-items: start; }
.contact-form-wrap { scroll-margin-top: 1.5rem; }
.contact h2 { font-size: 2.6rem; margin-bottom: .75rem; }
.form-intro { font-size: .95rem; color: var(--muted-light); margin-bottom: 1.75rem; }
.enquiry { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem 1.5rem; }
.field { display: flex; flex-direction: column; min-width: 0; }
.field-wide, .form-actions, .form-error { grid-column: 1 / -1; }
.field label { font-size: .85rem; margin-bottom: .4rem; }
.req { color: #9b1c2c; }
.opt { color: var(--muted-light); font-size: .8rem; }
.field input, .field select, .field textarea { font: inherit; font-size: .95rem; color: var(--cream-ink); width: 100%; padding: .75rem .9rem; border: 1px solid rgba(0,0,0,.28); border-radius: 4px; background: rgba(255,255,255,.55); }
.field textarea { resize: vertical; min-height: 8rem; }
.field select { appearance: none; padding-right: 2.4rem; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8' fill='none' stroke='%2317171a' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m1.5 1.5 4.5 4.5 4.5-4.5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right .9rem center; background-size: .75rem; }
.field ::placeholder { color: #6b6a66; opacity: 1; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 2px solid #111; outline-offset: 1px; border-color: #111; }
.field [aria-invalid="true"] { border-color: #8a1c1c; background: rgba(155,28,44,.05); }
.field-error { margin: .4rem 0 0; font-size: .8rem; color: #8a1c1c; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.btn-dark { background: #111; color: #fff; border: 1px solid #111; font: inherit; font-size: .95rem; cursor: pointer; }
.btn-dark:disabled { opacity: .65; cursor: progress; transform: none; }
.form-actions { margin-top: .4rem; }
.form-error { padding: .9rem 1rem; border: 1px solid #8a1c1c; border-radius: 4px; background: rgba(155,28,44,.07); color: #6f1420; font-size: .9rem; }
.form-error a { color: inherit; font-weight: 600; }
.form-success { padding: 2rem; border: 1px solid var(--line-light); border-radius: 4px; background: rgba(255,255,255,.55); }
.form-success h3 { font-size: 1.7rem; margin-bottom: .75rem; }
.form-success p { color: var(--muted-light); }

.contact-panel { background: rgba(0,0,0,.045); border-radius: 4px; padding: 1.5rem 1.75rem; }
.panel-list li { display: flex; gap: 1rem; align-items: flex-start; padding: 1.25rem 0; border-top: 1px solid var(--line-light); }
.panel-list li:first-child { padding-top: 0; border-top: 0; }
.panel-list li:last-child { padding-bottom: 0; }
.panel-list h3 { font-size: 1.25rem; margin-bottom: .3rem; }
.panel-list p { margin: 0 0 .15rem; font-size: .9rem; }
.panel-list .small { font-size: .8rem; color: var(--muted-light); }
.contact-panel .ring { width: 3rem; height: 3rem; border-radius: .6rem; background: rgba(255,255,255,.6); }
.contact-panel .ring svg { width: 1.3rem; height: 1.3rem; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.email-link { color: var(--cream-ink); text-decoration: underline; text-underline-offset: 3px; word-break: break-word; }
.steps-n { display: grid; gap: .5rem; margin-top: .35rem; }
.steps-n li { display: flex; gap: .7rem; align-items: center; padding: 0; border: 0; font-size: .85rem; color: var(--muted-light); }
.steps-n li span { flex: none; display: grid; place-items: center; width: 1.4rem; height: 1.4rem; border-radius: 50%; background: rgba(0,0,0,.08); color: var(--cream-ink); font-size: .75rem; }

@media (max-width: 62rem) {
  .page-hero-contact .page-hero-img { width: 100%; opacity: .45; }
  .page-hero-contact::after { background: linear-gradient(180deg, rgba(10,8,9,.85) 0%, rgba(10,8,9,.75) 50%, rgba(10,8,9,.9) 100%); }
  .contact { padding: 2.5rem 0 3.5rem; }
  .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }
}
@media (max-width: 40rem) {
  .enquiry { grid-template-columns: 1fr; }
  .contact h2 { font-size: 2.1rem; }
  .contact-panel { padding: 1.25rem; }
  .form-actions .btn { width: 100%; justify-content: center; }
}

/* Pulsehub Intelligence */
.page-hero-intel { background: radial-gradient(50% 90% at 82% 35%, rgba(122,32,40,.32), transparent 70%), linear-gradient(100deg, #0a0809 0%, #0b0a0b 60%, #14100f 100%); }
.page-hero-intel::after { display: none; }
.intel-hero { display: grid; grid-template-columns: 1.05fr .95fr; gap: 2.5rem; align-items: center; padding-top: 2rem; padding-bottom: .5rem; }
.intel-hero h1 { max-width: none; font-size: clamp(2.4rem, 4.8vw, 3.9rem); }
.intel-hero .btn-row { margin: 1.75rem 0 0; }

/* Illustrative product mockups (HTML, not images) */
.mock { margin: 0; background: #121214; border: 1px solid rgba(255,255,255,.18); border-radius: 10px; padding: 1.1rem 1.25rem 1rem; box-shadow: 0 18px 50px rgba(0,0,0,.45); color: #f2f2f2; }
.mock-bar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .5rem 1rem; margin-bottom: 1rem; }
.mock-title { font-weight: 600; font-size: .95rem; }
.demo-badge { font-size: .65rem; letter-spacing: .1em; text-transform: uppercase; padding: .2rem .55rem; border: 1px solid rgba(255,255,255,.45); border-radius: 999px; color: #e6e3da; white-space: nowrap; }
.mock-ask { margin: 0 0 1rem; padding: .7rem .9rem; background: #1b1b1e; border: 1px solid rgba(255,255,255,.14); border-radius: 8px; font-size: .85rem; color: #a9a7a1; }
.mock-label { margin: 0 0 .5rem; font-size: .65rem; letter-spacing: .12em; text-transform: uppercase; color: #a9a7a1; }
.mock-chips { display: grid; gap: .5rem; }
.mock-chips li { padding: .6rem .8rem; background: #17171a; border: 1px solid rgba(255,255,255,.12); border-radius: 8px; font-size: .82rem; color: #e8e6e0; }
.mock figcaption { margin-top: 1rem; font-size: .72rem; color: #a9a7a1; border-top: 1px solid rgba(255,255,255,.12); padding-top: .75rem; }
.mock-q { margin: 0 0 1rem; padding: .75rem .95rem; background: #1b1b1e; border: 1px solid rgba(255,255,255,.14); border-radius: 8px; font-size: .9rem; }
.mock-a { padding: 1rem; background: #17171a; border: 1px solid rgba(255,255,255,.12); border-radius: 8px; font-size: .85rem; }
.mock-a > p { margin: 0 0 .9rem; color: #d6d4ce; }
.mock-rows { display: grid; gap: .6rem; }
.mock-rows li { display: grid; grid-template-columns: 1.2fr auto 1.6fr; gap: .8rem; align-items: baseline; padding-top: .6rem; border-top: 1px solid rgba(255,255,255,.1); font-size: .8rem; }
.mr-name { font-weight: 500; }
.mr-val { color: #f0a59a; font-weight: 600; }
.mr-why { color: #a9a7a1; }
.mock-follow { margin: 1rem 0 0; padding: .65rem .9rem; background: #1b1b1e; border: 1px solid rgba(255,255,255,.14); border-radius: 8px; font-size: .8rem; color: #8c8a85; }

/* Capabilities strip */
.intel-caps { padding: 2.25rem 0; }
.intel-cap-list { display: grid; grid-template-columns: repeat(4, 1fr); }
.intel-cap-list li { display: flex; gap: 1rem; align-items: flex-start; padding: 0 1.25rem; border-left: 1px solid var(--line-light); }
.intel-cap-list li:first-child { padding-left: 0; border-left: 0; }
.intel-cap-list li:last-child { padding-right: 0; }
.intel-cap-list h3 { font-size: 1.2rem; line-height: 1.2; margin-bottom: .3rem; }
.intel-cap-list p { margin: 0; font-size: .82rem; color: var(--muted-light); }

/* How it works */
.intel-how-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 3.5rem; align-items: center; }
.intel-how-grid > *, .intel-hero > * { min-width: 0; }
.intel-how h2 { font-size: clamp(2rem, 3.6vw, 2.8rem); margin-bottom: 1.1rem; }
.intel-lead { color: #d6d4ce; font-size: .98rem; margin-bottom: 1.75rem; max-width: 34rem; }
.intel-steps { display: grid; gap: 1.25rem; }
.intel-steps li { display: flex; gap: 1rem; align-items: flex-start; }
.intel-steps .num { flex: none; display: grid; place-items: center; width: 1.9rem; height: 1.9rem; border-radius: 50%; border: 1px solid rgba(255,255,255,.4); font-size: .8rem; }
.intel-steps h3 { font-family: var(--sans); font-size: 1rem; font-weight: 500; margin-bottom: .2rem; letter-spacing: 0; }
.intel-steps p { margin: 0; font-size: .85rem; color: #a9a7a1; }

/* Use cases */
.intel-uses-head { max-width: 40rem; margin-bottom: 2.5rem; }
.intel-uses-head h2 { font-size: clamp(2rem, 3.6vw, 2.8rem); margin-bottom: .9rem; }
.intel-lead-light { color: var(--muted-light); font-size: .98rem; margin: 0; }
.intel-uses-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
.intel-uses-grid li { display: flex; gap: 1.1rem; align-items: flex-start; padding: 1.4rem; border: 1px solid var(--line-light); border-radius: 4px; background: rgba(255,255,255,.4); }
.intel-uses-grid h3 { font-size: 1.35rem; margin-bottom: .35rem; }
.intel-uses-grid p { margin: 0; font-size: .88rem; color: var(--muted-light); }
.intel-uses-grid .ring { width: 3rem; height: 3rem; border-radius: .6rem; background: rgba(0,0,0,.05); }
.intel-uses-grid .ring svg { width: 1.3rem; height: 1.3rem; }

/* Integrations (no logos until verified) */
.intel-integrations { padding: 2.75rem 0; }
.int-grid { display: grid; grid-template-columns: 1.1fr 1.3fr auto; gap: 1.5rem 3rem; align-items: center; }
.int-grid h2 { font-size: 1.9rem; }
.int-grid .eyebrow { margin-bottom: .5rem; }
.int-grid > p { margin: 0; font-size: .92rem; color: var(--muted-light); }

@media (max-width: 75rem) {
  .nav-links { gap: 1.25rem; font-size: .82rem; }
  .intel-cap-list { grid-template-columns: repeat(2, 1fr); gap: 2rem 0; }
  .intel-cap-list li:nth-child(odd) { padding-left: 0; border-left: 0; }
  .intel-cap-list li:nth-child(even) { padding-right: 0; }
  .int-grid { grid-template-columns: 1fr 1fr; }
  .int-grid .btn { grid-column: 1 / -1; justify-self: start; }
}
@media (max-width: 62rem) {
  .intel-hero { grid-template-columns: minmax(0, 1fr); padding-top: 1rem; }
  .intel-how-grid { grid-template-columns: minmax(0, 1fr); gap: 2.5rem; }
  .intel-how-copy { order: -1; }
}
@media (max-width: 40rem) {
  .intel-cap-list { grid-template-columns: 1fr; gap: 1.75rem; }
  .intel-cap-list li, .intel-cap-list li:nth-child(even) { padding: 0; border-left: 0; }
  .intel-uses-grid { grid-template-columns: 1fr; }
  .int-grid { grid-template-columns: 1fr; }
  .mock-rows li { grid-template-columns: 1fr auto; }
  .mr-why { grid-column: 1 / -1; }
  .intel-hero .btn-row .btn { width: 100%; justify-content: center; }
}

/* About: Scott Thomson */
.scott { border-top: 1px solid var(--line-dark); }
.scott-head { max-width: 46rem; }
.scott-head h2 { font-size: clamp(2rem, 4.2vw, 3.2rem); margin-bottom: 1.25rem; }
.scott-intro { color: #d6d4ce; font-size: 1.02rem; margin: 0; }
.scott-person { margin: 3rem 0 2.5rem; padding-left: 1.25rem; border-left: 2px solid var(--muted-dark); }
.scott-name { font-family: var(--serif); font-size: 1.9rem; margin: 0; }
.scott-role { margin: .25rem 0 .9rem; letter-spacing: .14em; text-transform: uppercase; font-size: .75rem; color: var(--muted-dark); }
.scott-years { margin: 0; font-family: var(--serif); font-size: 1.2rem; font-style: italic; color: #d6d4ce; }
.scott-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line-dark); }
.scott-list li { padding: 1.75rem 1.75rem 1.75rem 0; }
.scott-list li:not(:first-child) { padding-left: 1.75rem; border-left: 1px solid var(--line-dark); }
.scott-list h3 { font-size: .8rem; letter-spacing: .18em; text-transform: uppercase; font-family: inherit; margin: 0 0 .75rem; color: var(--muted-dark); }
.scott-list p { margin: 0; font-family: var(--serif); font-size: 1.3rem; line-height: 1.4; }
.scott-note { max-width: 44rem; margin: 2rem 0 0; color: #d6d4ce; font-size: .98rem; }
@media (max-width: 52rem) {
  .scott-list { grid-template-columns: minmax(0, 1fr); }
  .scott-list li, .scott-list li:not(:first-child) { padding: 1.5rem 0; border-left: 0; border-bottom: 1px solid var(--line-dark); }
}

/* Case-study template (Artpics, SportSession, Armstrong International): abstract, CSS-only hero treatments.
   No project imagery has been supplied, so none is faked. */
.cs-hero { background-color: #0a0809; }
.cs-hero h1 { max-width: 24ch; }
.cs-hero::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .9; }
.hero-artpics { background: linear-gradient(100deg, #0a0809 0%, #0a0809 38%, #2a0f14 72%, #4a1a20 100%); }
.hero-artpics::before { background: repeating-linear-gradient(115deg, transparent 0 46px, rgba(255,255,255,.045) 46px 47px); }
.hero-sport { background: linear-gradient(100deg, #0a0809 0%, #0a0809 40%, #1a1a1f 72%, #35262a 100%); }
.hero-sport::before { background: repeating-radial-gradient(circle at 85% 30%, transparent 0 38px, rgba(255,255,255,.05) 38px 39px); }
.hero-exec { background: linear-gradient(100deg, #0a0809 0%, #0a0809 40%, #211214 72%, #3d2a22 100%); }
.hero-exec::before { background: linear-gradient(90deg, transparent 0 70%, rgba(255,255,255,.04) 70% 70.2%, transparent 70.2% 80%, rgba(255,255,255,.04) 80% 80.2%, transparent 80.2% 90%, rgba(255,255,255,.04) 90% 90.2%, transparent 90.2%); }
.cs-note { max-width: 36rem; margin: 1.5rem 0 0; padding-left: 1rem; border-left: 2px solid rgba(255,255,255,.4); font-size: .85rem; color: #d6d4ce; }
.cs-aside { margin-top: 1.5rem; padding: 1rem 1.25rem; border: 1px solid var(--line-light); font-size: .9rem; }
.cs-aside, .approach-grid p.cs-aside { color: var(--cream-ink); }
@media (min-width: 62.01rem) { .overview.overview-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .overview.overview-2 > div:nth-child(2) { padding-right: 0; } }
.cs-designs .ops-head p:not(.eyebrow) { color: var(--muted-light); }
.gallery-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem; max-width: none; margin-top: 2.5rem; }
.cs-visit { margin: 1.5rem 0 0; }
.cs-designs .gallery { padding-top: 4rem; }
.gallery-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem; max-width: none; }
.gallery img { display: block; width: 100%; height: auto; border-radius: 4px; border: 1px solid var(--line-light); background: #f4f4f4; }
@media (max-width: 62rem) { .gallery-2 { grid-template-columns: minmax(0, 1fr); } .gallery-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: none; } .cs-designs .gallery { padding-top: 3rem; } }
.gallery-1 { grid-template-columns: minmax(0, 24rem); max-width: none; margin-top: 2.5rem; }

/* Case study: admin screenshots in the dark operations section */
.ops-note { margin: 2rem 0 1rem; font-size: .8rem; color: var(--muted-dark); }
.ops-shots { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; }
.ops-shots figure { margin: 0; }
.ops-shots figure:first-child { grid-column: 1 / -1; }
.ops-shots img { display: block; width: 100%; height: auto; border-radius: 4px; border: 1px solid var(--line-dark); background: #18181a; }
.ops-shots figcaption { margin-top: .8rem; font-size: .8rem; color: var(--muted-dark); }
.ops-shots figcaption strong { display: block; font-weight: 500; color: #fff; font-size: .9rem; }
@media (max-width: 40rem) { .ops-shots { grid-template-columns: minmax(0, 1fr); } }

/* Curated Crowd case study */
.hero-curated { background: linear-gradient(100deg, #0a0809 0%, #0a0809 36%, #2a1a1c 68%, #5a2128 100%); }
.hero-curated::before { background: repeating-linear-gradient(90deg, transparent 0 58px, rgba(255,255,255,.045) 58px 59px); }
.cc-facts { padding: 3.5rem 1.5rem 3rem; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cc-facts > div { display: flex; flex-direction: column-reverse; justify-content: flex-end; padding: 0 2rem; border-left: 1px solid var(--line-light); }
.cc-facts > div:first-child { padding-left: 0; border-left: 0; }
.cc-challenge { padding-top: 1rem; }
.cc-fact-fig { margin: 0; font-family: var(--serif); font-size: clamp(2.4rem, 5vw, 3.6rem); line-height: 1.05; color: var(--cream-ink); }
.cc-fact-label { margin: .6rem 0 0; font-weight: 400; font-size: .9rem; color: var(--muted-light); }
.cc-fact-label small { display: block; margin-top: .3rem; font-size: .75rem; }
.cc-challenge-list { list-style: none; margin: 1.5rem 0 0; padding: 0; }
.cc-challenge-list li { padding: .9rem 0; border-bottom: 1px solid var(--line-light); font-family: var(--serif); font-size: 1.2rem; }
.cc-challenge-list li:first-child { border-top: 1px solid var(--line-light); }
.cc-solutions { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line-dark); }
.cc-solutions li { padding: 2rem 2rem 2.25rem 0; border-bottom: 1px solid var(--line-dark); }
.cc-solutions li:not(:nth-child(3n+1)) { padding-left: 2rem; border-left: 1px solid var(--line-dark); }
.cc-num { display: block; margin-bottom: .9rem; font-size: .7rem; letter-spacing: .18em; color: var(--muted-dark); }
.cc-solutions h3 { font-size: 1.5rem; margin-bottom: .6rem; }
.cc-solutions p { margin: 0; font-size: .92rem; color: #d6d4ce; }
.cc-solutions a { color: #fff; text-underline-offset: 3px; }
@media (max-width: 62rem) {
  .cc-facts { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .cc-facts > div, .cc-facts > div:first-child { padding: 1.5rem 0; border-left: 0; border-bottom: 1px solid var(--line-light); }
  .cc-solutions { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cc-solutions li, .cc-solutions li:not(:nth-child(3n+1)) { padding: 1.75rem 1.5rem 2rem 0; border-left: 0; }
  .cc-solutions li:nth-child(even) { padding-left: 1.5rem; border-left: 1px solid var(--line-dark); }
}
@media (max-width: 40rem) {
  .cc-facts { padding: 2.5rem 1.5rem 2rem; }
  .cc-solutions { grid-template-columns: minmax(0, 1fr); }
  .cc-solutions li, .cc-solutions li:nth-child(even) { padding: 1.5rem 0 1.75rem; border-left: 0; }
  .refs li > .shot-abstract { width: 4.5rem; height: 3.6rem; }
}
.refs li > .shot-abstract { grid-row: 1 / span 2; width: 5.2rem; height: 4.2rem; aspect-ratio: auto; padding: 0; border-radius: 3px; }
.refs li > .shot-abstract span { display: none; }
.cc-nowrap { white-space: nowrap; color: #7a2028; }
.approach-grid p.cc-stat-fig { margin: 0; max-width: none; font-family: var(--serif); font-size: clamp(4.5rem, 12vw, 8.5rem); line-height: .95; letter-spacing: -.02em; color: #7a2028; font-family: var(--serif); }
.approach-grid p.cc-stat-label { margin: .6rem 0 1.75rem; font-size: .75rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted-light); }
@media (max-width: 40rem) { .cc-stat-label { margin-bottom: 1.25rem; } }
.cs-hero-shot { margin-top: 2rem; }
.cs-hero-shot img { display: block; width: 100%; height: auto; border-radius: 6px; box-shadow: 0 18px 50px rgba(0,0,0,.45); }
@media (min-width: 62.01rem) {
  .cs-hero-shot { position: absolute; z-index: -1; right: 1.5rem; top: 50%; width: 46%; margin: 0; transform: translateY(-46%); }
  .cs-hero-shot img { -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 34%); mask-image: linear-gradient(to right, transparent 0%, #000 34%); opacity: .92; }
}
.cc-mobile img { width: auto; max-width: 100%; max-height: 30rem; margin: 0 auto; }
.cc-mobile figcaption { text-align: left; }

/* Page header brand mark (purple logo), matching the homepage hero */
.page-hero-img.page-hero-mark { inset: auto; right: 2%; top: 50%; width: auto; height: 150%; aspect-ratio: 1; max-width: none; object-fit: contain; transform: translateY(-50%); opacity: .34; pointer-events: none;
  -webkit-mask-image: radial-gradient(circle at 50% 50%, #000 38%, transparent 68%); mask-image: radial-gradient(circle at 50% 50%, #000 38%, transparent 68%); }
@media (max-width: 62rem) { .page-hero-img.page-hero-mark { right: -30%; height: 120%; opacity: .22; } }

/* FAQ (details/summary) and in-text links on light sections */
.faq details { border-top: 1px solid var(--line-light); }
.faq details:last-child { border-bottom: 1px solid var(--line-light); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: baseline; gap: 1.5rem; padding: 1.15rem 0; font-family: var(--serif); font-size: 1.25rem; line-height: 1.3; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; font-family: var(--sans); font-size: 1.3rem; color: var(--muted-light); }
.faq details[open] summary::after { content: "\2013"; }
.faq summary:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
.faq details p { margin: 0 0 1.25rem; max-width: 40rem; }
.approach-grid a.text-link-dark, .faq a { color: inherit; text-decoration: underline; text-underline-offset: 4px; }
.services-more { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--line-light); }
.services-more ul { display: flex; flex-wrap: wrap; gap: .75rem 2rem; margin-top: .75rem; }
.services-more a { color: inherit; text-decoration: underline; text-underline-offset: 4px; }
.svc-overview { padding-top: 4.5rem; }
@media (max-width: 62rem) { .svc-overview { padding-top: 3rem; } }

/* Social links on Contact and About */
.contact-panel .ring svg.si-fill { fill: currentColor; stroke: none; }
.contact-panel p a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.about-social { margin-top: 1rem; }
.about-col .about-social a, .scott-person .about-social a { color: inherit; text-decoration: underline; text-underline-offset: 4px; font-size: .9rem; }
.cap-img img { object-position: top; }
.cap-img { width: 100%; }

/* About header uses the logo mark like the other page headers */
.page-hero-about .page-hero-img.page-hero-mark { inset: auto; left: auto; right: 2%; top: 50%; width: auto; height: 150%; aspect-ratio: 1; max-width: none; object-fit: contain; transform: translateY(-50%); opacity: .34; }
@media (max-width: 62rem) { .page-hero-about .page-hero-img.page-hero-mark { right: -30%; height: 120%; width: auto; opacity: .22; } }
.page-hero-contact .page-hero-img.page-hero-mark { inset: auto; left: auto; right: 2%; top: 50%; width: auto; height: 150%; aspect-ratio: 1; max-width: none; object-fit: contain; transform: translateY(-50%); opacity: .34; }
@media (max-width: 62rem) { .page-hero-contact .page-hero-img.page-hero-mark { right: -30%; height: 120%; width: auto; opacity: .22; } }

/* Four-card flagship grid (BTN case study) */
.flagship-grid.flagship-grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 70rem) { .flagship-grid.flagship-grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 52rem) { .flagship-grid.flagship-grid-4 { grid-template-columns: minmax(0, 1fr); } }
