/* iMillerMedia site styles
   Brand: black/white with hot pink, blue, greys, aqua and palm green.
   Accessibility notes:
   - Pink #fd2ba9 passes contrast as TEXT only on black. Blue is #0068c9 everywhere
     (brand blue #008cff was too light for text on white).
     On white we use the darker --pink-ink / --blue-ink versions.
   - Grey #797979 is below 4.5:1 on white, so body text on white uses --grey-ink.
*/
@font-face { font-family: "Jost"; src: url("/assets/fonts/jost-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Jost"; src: url("/assets/fonts/jost-latin-500-normal.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Jost"; src: url("/assets/fonts/jost-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }

:root {
  --black: #000;
  --white: #fff;
  --pink: #fd2ba9;
  --pink-ink: #d10f86;
  --blue: #0068c9;   /* was brand blue #008cff; deepened to #0068c9 site-wide for ADA contrast (Nov 23) */
  --blue-ink: #0068c9;
  --grey-light: #a2a2a2;
  --grey-dark: #797979;
  --grey-ink: #5c5c5c;
  --aqua: #b3e8ff;
  --sage: #aab8a4;
  --palm: #5b7d27;
  --panel: #1c1c1c;
  --footer: #d9d9d9;
  --font: "futura-pt", "Jost", Futura, "Century Gothic", "Trebuchet MS", Arial, sans-serif;
  --focus: var(--blue-ink);
  --header-h: 72px;
  --radius: 4px;
  --wrap: 1180px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; font-family: var(--font); font-size: 1.125rem; line-height: 1.6; color: #111; background: var(--white); }
img, video, svg { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4 { line-height: 1.15; font-weight: 600; margin: 0 0 .6em; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.25rem, 5vw + 1rem, 4.25rem); }
h2 { font-size: clamp(1.9rem, 2.6vw + 1rem, 3rem); }
h3 { font-size: clamp(1.25rem, 1vw + 1rem, 1.6rem); }
p, ul, ol, dl { margin: 0 0 1em; }
a { color: var(--blue-ink); text-underline-offset: .18em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 2px; }
.on-dark { --focus: var(--aqua); color: var(--white); background: var(--black); }
.on-dark a:not(.btn) { color: var(--aqua); }
main:focus { outline: none; }

.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 1rem; top: -100px; z-index: 1000; background: var(--aqua); color: #000; padding: .75rem 1rem; font-weight: 600; border-radius: var(--radius); }
.skip-link:focus { top: 1rem; }

.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.narrow { width: min(100% - 2.5rem, 780px); margin-inline: auto; }
.center { text-align: center; }
.section { padding-block: clamp(3.5rem, 7vw, 6rem); }
.section-tight { padding-block: clamp(2.5rem, 5vw, 4rem); }
.lead { font-size: clamp(1.2rem, .6vw + 1rem, 1.4rem); }
.kicker { text-transform: uppercase; letter-spacing: .12em; font-size: .95rem; font-weight: 600; color: var(--grey-ink); margin-bottom: .5rem; }
.on-dark .kicker, .page-hero .kicker, .about-hero .kicker, .case-hero .kicker { color: var(--grey-light); }
.pink-rule { width: 56px; height: 3px; background: var(--pink); border: 0; margin: 1.1rem auto 1.4rem; }
.pink-rule.left { margin-left: 0; }
.gradient-text { background: linear-gradient(90deg, #ff6ec7 0%, #e9a6ff 45%, #b3e8ff 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
@media (forced-colors: active) { .gradient-text { color: CanvasText; background: none; } }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 48px; padding: .7rem 1.6rem; font: 600 1.05rem/1.2 var(--font); text-decoration: none; border: 2px solid transparent; border-radius: 2px; cursor: pointer; transition: background-color .15s, color .15s; }
.btn-dark { background: #000; color: #fff; }
.btn-dark:hover { background: #333; }
.btn-light { background: #fff; color: #000; }
.btn-light:hover { background: var(--aqua); }
.btn-outline-light { border-color: #fff; color: #fff; background: transparent; }
.btn-outline-light:hover { background: #fff; color: #000; }
.btn-outline-dark { border-color: #000; color: #000; background: transparent; }
.btn-outline-dark:hover { background: #000; color: #fff; }
.btn-pink { background: var(--pink); color: #000; }
.btn-pink:hover { background: #ff63c1; }
.btn-row { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 1.5rem; }
.btn-row.center { justify-content: center; }

/* Header (fixed, black) */
.site-header { position: sticky; top: 0; z-index: 100; background: #000; color: #fff; border-bottom: 1px solid #222; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: var(--header-h); width: min(100% - 2rem, 1400px); margin-inline: auto; }
.site-header { --focus: var(--aqua); }
.brand { display: inline-flex; align-items: center; gap: .65rem; color: #fff; text-decoration: none; font-size: 1.35rem; font-weight: 400; letter-spacing: .01em; }
.brand-mark { width: 44px; height: 44px; }
.nav-list { list-style: none; margin: 0; padding: .35rem .5rem; display: flex; gap: .15rem; background: #000; border-radius: 2px; }
.nav-list a { display: block; padding: .55rem 1rem; color: #fff; text-decoration: none; font-size: 1rem; border-radius: 2px; }
@media (hover: hover) and (min-width: 861px) { .nav-list a:hover { box-shadow: inset 0 -3px 0 var(--pink); } }
.nav-list a[aria-current="page"], .nav-list a.is-section { box-shadow: inset 0 -3px 0 var(--aqua); }
.nav-list li:last-child a { border: 2px solid var(--aqua); margin-left: .35rem; }
.nav-toggle { display: none; align-items: center; gap: .55rem; min-height: 44px; padding: .5rem 1rem; background: var(--aqua); color: #000; border: 0; border-radius: 2px; font: 600 1rem var(--font); cursor: pointer; }
.nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after { display: block; width: 20px; height: 2px; background: #000; position: relative; }
.nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle-bars::before { top: -6px; } .nav-toggle-bars::after { top: 6px; }
@media (max-width: 860px) {
  .js .nav-toggle { display: inline-flex; }
  .js .nav-list { display: none; position: absolute; right: 1rem; left: 1rem; top: calc(var(--header-h) - 4px); flex-direction: column; padding: .75rem; box-shadow: 0 12px 30px rgba(0,0,0,.5); border: 1px solid #3a3a3a; }
  .js .nav-open .nav-list { display: flex; }
  .nav-list a { padding: .8rem 1rem; font-size: 1.1rem; }
  .nav-list li:last-child a { margin: .35rem 0 0; }
  .no-js .nav-list, html:not(.js) .nav-list { flex-wrap: wrap; }
}

/* Breadcrumbs */
.breadcrumbs { background: #000; color: var(--grey-light); --focus: var(--aqua); }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: .35rem; margin: 0; padding: .9rem 0 0; width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; font-size: .95rem; }
.breadcrumbs li + li::before { content: "/"; margin-right: .35rem; color: var(--grey-dark); }
.breadcrumbs a { color: var(--grey-light); }
.breadcrumbs [aria-current] { color: #fff; }

/* Page hero (inner pages) */
.page-hero { background: #000; color: #fff; padding: 2.5rem 0 3.5rem; --focus: var(--aqua); }
.page-hero h1 { max-width: 20ch; }
.page-hero .lead { max-width: 62ch; color: #e8e8e8; }
.services-page .page-hero h1 { max-width: 36ch; }
.services-page .page-hero .lead { max-width: 80ch; }
.page-hero .chip { margin-bottom: 1rem; }

/* ---------- HOME ---------- */
.hero { background: #000; color: #fff; text-align: center; padding: 2.25rem 0 0; position: relative; --focus: var(--aqua); }
.hero h1 { font-family: "futura-pt-bold", var(--font); font-weight: 700; font-size: clamp(2.3rem, 4.6vw + 1rem, 4.6rem); margin-bottom: .2em; }
.hero h1 .h1-sub { display: block; font-family: var(--font); font-size: clamp(1rem, .5vw + .9rem, 1.35rem); font-weight: 400; letter-spacing: .06em; color: #e6e6e6; margin-top: .55rem; }
.hero .btn-row { margin: 1.2rem 0 1.8rem; }
.hero-media { position: relative; width: min(100% - 2rem, 1500px); margin-inline: auto; aspect-ratio: 16 / 9; max-height: 82vh; background: #0a0a0a center / cover no-repeat; }
.hero-media video { width: 100%; height: 100%; object-fit: cover; }
.video-toggle { position: absolute; right: .5rem; bottom: .5rem; width: 24px; height: 24px; padding: 0; border-radius: 50%; border: 1px solid rgba(255,255,255,.6); background: rgba(0,0,0,.35); color: #fff; display: grid; place-items: center; cursor: pointer; opacity: .35; transition: opacity .15s; }
.video-toggle:hover, .video-toggle:focus-visible { opacity: 1; }
.video-toggle svg { width: 10px; height: 10px; fill: currentColor; }
.video-toggle .icon-play { display: none; }
.video-toggle[aria-pressed="true"] .icon-play { display: block; }
.video-toggle[aria-pressed="true"] .icon-pause { display: none; }
.hero-wave { display: block; width: 100%; height: clamp(50px, 7vw, 110px); }
.wave-black { fill: #000; }

.palm-section { position: relative; background: #dceeff url("/assets/img/brand/palm-fronds-1200.webp") center / cover no-repeat; padding: 0 0 clamp(3rem, 6vw, 5rem); }
.palm-card { position: relative; background: rgba(235, 244, 255, .94); width: min(100% - 2rem, 700px); margin: clamp(2rem, 5vw, 4rem) auto 0; padding: clamp(2rem, 4vw, 3rem) clamp(1.5rem, 4vw, 3.5rem); text-align: center; }
.palm-card h2 { margin-bottom: 0; }
.palm-card .subtitle { font-size: clamp(1.25rem, .8vw + 1rem, 1.6rem); line-height: 1.25; font-weight: 600; margin-bottom: 1rem; }

.studio { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.studio-photo img { width: 100%; aspect-ratio: 1 / 1.03; object-fit: cover; }
.studio-text { text-align: center; }
.studio-text h2 { font-size: clamp(2rem, 2.5vw + 1rem, 2.9rem); }
.credentials { list-style: none; margin: 2.5rem 0 0; padding: 1.2rem 0 0; border-top: 1px solid #ddd; display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem 1.6rem; font-size: 1rem; color: var(--grey-ink); }
.credentials li::before { content: ""; display: inline-block; width: 8px; height: 8px; background: var(--pink); border-radius: 50%; margin-right: .55rem; vertical-align: middle; }
@media (max-width: 800px) { .studio { grid-template-columns: 1fr; } .studio-photo { max-width: 420px; margin-inline: auto; } }

.ai-band { background: #000; border-block: 12px solid var(--blue); padding: clamp(3rem, 6vw, 4.5rem) 0; --focus: var(--aqua); }
.carousel { position: relative; width: min(100% - 2rem, 900px); margin-inline: auto; background: linear-gradient(120deg, #b3e8ff 0%, #e4f6ff 55%, #ffffff 100%); border: 3px solid var(--blue); color: #111; --focus: var(--blue-ink); }
.carousel-heading { margin: 0; }
.slides { margin: 0; padding: 0; }
.slide { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 2rem; align-items: center; padding: clamp(2rem, 4vw, 2.75rem) clamp(3.5rem, 7vw, 5rem) 1rem; }
.slide h3 { font-size: clamp(1.6rem, 1.6vw + 1rem, 2.2rem); line-height: 1.15; margin: 0; }
.slide p { font-size: 1.02rem; margin-bottom: .75rem; }
.slide .source { font-size: .9rem; color: var(--grey-ink); }
.js .slide[hidden] { display: none; }
.carousel-controls { display: flex; align-items: center; justify-content: center; gap: .4rem; padding: 0 1rem 1.25rem; }
.carousel-arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; display: grid; place-items: center; background: transparent; border: 0; color: var(--pink-ink); cursor: pointer; }
.carousel-arrow svg { width: 26px; height: 26px; }
.carousel-prev { left: .4rem; } .carousel-next { right: .4rem; }
.dot { width: 24px; height: 24px; border: 0; background: transparent; padding: 0; cursor: pointer; display: grid; place-items: center; }
.dot::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--pink-ink); }
.dot[aria-current="true"]::before { background: var(--blue-ink); width: 12px; height: 12px; }
html:not(.js) .carousel-arrow, html:not(.js) .carousel-controls { display: none; }
@media (max-width: 700px) { .slide { grid-template-columns: 1fr; gap: .75rem; padding-inline: 3.25rem; text-align: left; } }

.service-grid { list-style: none; margin: 2.5rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 2.5rem 2.25rem; }
.service-grid h3 { font-size: 1.3rem; margin-bottom: .35rem; }
.service-grid h3 a { color: #000; text-decoration: none; }
.service-grid h3 a:hover { text-decoration: underline; }
.service-grid p { font-size: 1rem; color: var(--grey-ink); margin-bottom: .5rem; }
.service-grid li { border-top: 3px solid var(--pink); padding-top: 1rem; }
.more-link { font-size: 1rem; font-weight: 600; }

.faq-list { max-width: 820px; margin: 2rem auto 0; }
.faq-item { border-bottom: 1px solid #d5d5d5; }
.faq-item summary { cursor: pointer; padding: 1.1rem 2.5rem 1.1rem 0; font-size: 1.15rem; font-weight: 600; list-style: none; position: relative; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; position: absolute; right: .25rem; top: .9rem; font-size: 1.6rem; color: var(--pink-ink); line-height: 1; }
.faq-item[open] summary::after { content: "–"; }
.faq-answer p { color: #333; }
.on-dark .faq-item summary::after { color: var(--pink); }

.contact-band { background: #000; color: #fff; --focus: var(--aqua); padding: clamp(3.5rem, 7vw, 6rem) 0 0; }
.contact-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(2rem, 5vw, 5rem); }
.contact-band h2 { font-size: clamp(2.6rem, 4vw + 1rem, 4.6rem); line-height: 1.02; }
.contact-band a:not(.btn) { color: var(--aqua); }
.steps { counter-reset: step; list-style: none; padding: 0; margin: 1.5rem 0; }
.steps li { counter-increment: step; position: relative; padding-left: 2.6rem; margin-bottom: .9rem; }
.steps li::before { content: counter(step); position: absolute; left: 0; top: .05rem; width: 1.8rem; height: 1.8rem; border-radius: 50%; border: 2px solid var(--pink); display: grid; place-items: center; font-size: .9rem; }
.footer-wave { display: block; width: 100%; height: clamp(50px, 7vw, 110px); margin-top: clamp(3rem, 6vw, 5rem); }
.footer-wave path { fill: var(--footer); }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }

/* Forms */
.contact-form { display: grid; gap: 1rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }
.field label { display: block; font-weight: 600; margin-bottom: .3rem; }
.optional { font-weight: 400; color: var(--grey-ink); }
.on-dark .optional, .on-dark .form-note, .on-dark .form-privacy { color: #cfcfcf; }
.field input, .field select, .field textarea { width: 100%; min-height: 48px; padding: .65rem .8rem; font: 400 1.05rem var(--font); color: #111; background: #fff; border: 2px solid #6b6b6b; border-radius: 2px; }
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-color: #000; }
.field [aria-invalid="true"] { border-color: #c1121f; border-width: 3px; }
.field-error { color: #c1121f; font-weight: 600; margin: .35rem 0 0; font-size: 1rem; }
.on-dark .field-error { color: #ff9aa2; }
.field-error::before { content: "⚠ "; }
.form-error-summary { border: 3px solid #c1121f; background: #fff3f4; color: #111; padding: 1rem; }
.form-error-summary a { color: #8a0010; }
.form-note, .form-privacy { font-size: .95rem; color: var(--grey-ink); margin: 0; }
.recaptcha-label { font-weight: 600; margin: 0 0 .4rem; }
.recaptcha-field [data-netlify-recaptcha] { min-height: 78px; }
.hp-field { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.contact-form .btn { justify-self: start; }

/* Footer */
.site-footer { background: var(--footer); color: #111; padding: 3.5rem 0 1.5rem; }
.footer-inner { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 2rem; }
.footer-name { font-size: 1.9rem; margin-bottom: .5rem; }
.footer-heading { font-size: 1.05rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; margin-bottom: .7rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: .45rem; }
.site-footer a { color: #111; font-size: 1rem; }
.site-footer p { font-size: 1rem; }
.footer-legal { width: min(100% - 2.5rem, var(--wrap)); margin: 2.5rem auto 0; padding-top: 1rem; border-top: 1px solid #aaa; font-size: .95rem; }
@media (max-width: 860px) { .footer-inner { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-inner { grid-template-columns: 1fr; } }

/* ---------- INNER PAGES ---------- */
.two-col { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
@media (max-width: 860px) { .two-col { grid-template-columns: 1fr; } }
.prose { max-width: 68ch; }
.prose h2 { margin-top: 2.2rem; font-size: clamp(1.6rem, 1.4vw + 1rem, 2.1rem); }
.ticks { list-style: none; padding: 0; }
.ticks li { position: relative; padding-left: 1.9rem; margin-bottom: .6rem; }
.ticks li::before { content: ""; position: absolute; left: .2rem; top: .55em; width: .65rem; height: .35rem; border-left: 3px solid var(--pink-ink); border-bottom: 3px solid var(--pink-ink); transform: rotate(-45deg); }
.panel { background: #f4f7fa; border-top: 4px solid var(--blue); padding: 1.6rem 1.75rem; }
.panel h2, .panel h3 { font-size: 1.35rem; }
.process { counter-reset: step; list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1.25rem; }
.process li { counter-increment: step; background: #fff; border: 1px solid #ddd; padding: 1.25rem; }
.process li::before { content: "0" counter(step); display: block; font-size: 1.6rem; color: var(--pink-ink); font-weight: 600; margin-bottom: .3rem; }
.process strong { display: block; font-size: 1.15rem; font-weight: 600; margin-bottom: .25rem; }
.process p { margin: 0; font-size: 1rem; color: #333; }
.bg-soft { background: #f3f6f9; }
.bg-aqua { background: linear-gradient(160deg, #e6f7ff 0%, #ffffff 70%); }
.chip { display: inline-block; font-size: .85rem; font-weight: 600; letter-spacing: .04em; padding: .2rem .6rem; border-radius: 999px; background: #eee; color: #111; }
.chip-client { background: #d9f1ff; } .chip-agency, .chip-inhouse { background: #ececec; } .chip-unlaunched { background: #fff1c2; } .chip-concept { background: #fde0f1; }

.svc-cards { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(320px, 100%), 1fr)); gap: 1.5rem; }
.svc-card { border: 1px solid #ddd; border-top: 4px solid var(--pink); padding: 1.6rem; background: #fff; display: flex; flex-direction: column; }
.svc-card h2 { font-size: 1.55rem; }
.svc-card h2 a { color: #000; text-decoration: none; }
.svc-card h2 a:hover { text-decoration: underline; }
.svc-card .ticks { font-size: 1rem; margin-bottom: 1rem; }
.svc-card .more-link { margin-top: auto; }

.packages { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1.25rem; }
.packages li { background: #000; color: #fff; padding: 1.5rem; }
.packages h3 { font-size: 1.3rem; margin-bottom: .2rem; }
.packages .price { color: var(--aqua); font-size: 1.15rem; font-weight: 600; }
.packages p { font-size: 1rem; color: #e6e6e6; margin: 0; }

/* Portfolio grid: white logo tiles on black (Adobe Portfolio look) */
.work-section { background: #000; color: #fff; --focus: var(--aqua); padding-block: clamp(2.5rem, 5vw, 4rem); }
.work-section h2 { margin-bottom: .3rem; }
.work-section > .wrap > p { color: #ddd; max-width: 70ch; }
.case-grid { list-style: none; padding: 0; margin: 1.75rem 0 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(250px, 100%), 1fr)); gap: 1.25rem; }
.case-tile-link { display: flex; flex-direction: column; height: 100%; color: #fff; text-decoration: none; }
.case-tile-art { background: #fff; aspect-ratio: 3 / 2; display: grid; place-items: center; padding: 1.5rem; overflow: hidden; }
.case-tile-art img { max-height: 100%; width: auto; object-fit: contain; }
.case-tile-art.is-placeholder { background: #fff; }
.placeholder-name { color: #111; font-size: clamp(1.4rem, 1.2vw + 1rem, 1.9rem); font-weight: 600; letter-spacing: .08em; text-transform: uppercase; text-align: center; line-height: 1.15; }
.case-tile-text { padding: .9rem .2rem 0; }
.case-tile-name { font-size: 1.25rem; margin: 0 0 .2rem; }
.case-tile-role { display: block; font-size: .95rem; color: #cfcfcf; margin-bottom: .5rem; }
.case-tile-link:hover .case-tile-name { text-decoration: underline; }
.case-tile-link:hover .case-tile-art { outline: 3px solid var(--pink); outline-offset: -3px; }
.light-cases .case-tile-link { color: #111; }
.light-cases .case-tile-art { border: 1px solid #ddd; }
.light-cases .case-tile-role { color: var(--grey-ink); }

/* Case study */
.case-hero { background: #000; color: #fff; padding: 2rem 0 3rem; --focus: var(--aqua); }
.case-hero .subtitle { color: #d5d5d5; font-size: 1.2rem; max-width: 60ch; }
.glance { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 1rem 1.5rem; margin: 0; }
.glance div { border-left: 3px solid var(--pink); padding-left: .8rem; }
.glance dt { font-size: .85rem; text-transform: uppercase; letter-spacing: .08em; color: var(--grey-ink); }
.glance dd { margin: 0; font-weight: 600; }
.gallery { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(260px, 100%), 1fr)); gap: 1.25rem; }
.gallery figure { margin: 0; }
.gallery a { display: block; background: #f1f1f1; aspect-ratio: 3 / 4; overflow: hidden; }
.gallery img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .3s; }
@media (prefers-reduced-motion: no-preference) { .gallery a:hover img { transform: scale(1.03); } }
.gallery figcaption { font-size: .95rem; color: var(--grey-ink); margin-top: .5rem; }
.video-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 1.75rem; align-items: start; }
.video-grid figure { margin: 0; }
.video-grid video { width: 100%; background: #000; }
.video-grid .is-portrait video { max-height: 640px; width: auto; margin-inline: auto; }
.video-grid figcaption { font-size: .98rem; margin-top: .6rem; }
.video-grid figcaption strong { display: block; }
.lightbox { padding: 0; border: 0; max-width: min(96vw, 1300px); max-height: 94vh; background: #000; color: #fff; --focus: var(--aqua); }
.lightbox::backdrop { background: rgba(0,0,0,.85); }
.lightbox-inner { display: flex; flex-direction: column; max-height: 94vh; }
.lightbox-body { overflow: auto; }
.lightbox img { width: 100%; height: auto; }
.lightbox-bar { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .6rem .9rem; background: #000; position: sticky; top: 0; }
.lightbox-close { min-width: 44px; min-height: 44px; background: #fff; color: #000; border: 0; font: 600 1rem var(--font); padding: 0 1rem; cursor: pointer; }

/* About */
.about-hero { background: #000; color: #fff; --focus: var(--aqua); padding: 2rem 0 0; }
.about-intro { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(2rem, 5vw, 5rem); align-items: end; }
.about-intro img { width: 100%; }
.about-intro .text { padding-bottom: clamp(2rem, 5vw, 4rem); }
@media (max-width: 860px) { .about-intro { grid-template-columns: 1fr; } .about-intro .photo { order: 2; max-width: 460px; } }
.cred-cards { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.25rem; }
.cred-cards li { background: #fff; border: 1px solid #dde6ee; border-top: 4px solid var(--blue); padding: 1.4rem; }
.cred-cards strong { display: block; font-size: 1.25rem; font-weight: 600; margin-bottom: .3rem; }
.cred-cards span { font-size: 1rem; color: #333; }
.timeline { list-style: none; padding: 0; margin: 0; border-left: 3px solid var(--pink); }
.timeline li { position: relative; padding: 0 0 1.4rem 1.6rem; }
.timeline li::before { content: ""; position: absolute; left: -9px; top: .45rem; width: 15px; height: 15px; border-radius: 50%; background: #fff; border: 3px solid var(--pink); }
.timeline strong { display: block; font-size: 1.15rem; font-weight: 600; }
.timeline span { color: #333; }
.interests { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.25rem; }
.interests li { padding: 1.3rem; background: rgba(255,255,255,.9); border-left: 4px solid var(--palm); }
.interests strong { display: block; font-size: 1.15rem; font-weight: 600; margin-bottom: .2rem; }
.palm-strip { height: clamp(90px, 11vw, 160px); background: #dceeff url("/assets/img/brand/palm-fronds-1200.webp") center / cover no-repeat; }
.palm-band { background: #e8f4ff url("/assets/img/brand/palm-fronds-1200.webp") center / cover no-repeat; }
.palm-band h2 { display: table; margin-inline: auto; background: rgba(255,255,255,.94); padding: .3rem 1.2rem; }
.interests li { background: rgba(255,255,255,.96); }

/* FAQ page */
.faq-sections h2 { margin-top: 2.75rem; padding-top: 1rem; border-top: 3px solid var(--pink); font-size: clamp(1.6rem, 1.2vw + 1rem, 2rem); }
.faq-sections h3 { font-size: 1.25rem; margin: 1.6rem 0 .4rem; }
.toc { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: .6rem; }
.toc a { display: inline-block; padding: .45rem .9rem; border: 1px solid #bbb; border-radius: 999px; text-decoration: none; color: #111; font-size: 1rem; }
.toc a:hover { border-color: #000; }

.cta-band { padding: clamp(3.5rem, 7vw, 5.5rem) 0; }
.cta-band h2 { font-size: clamp(2.2rem, 3vw + 1rem, 3.4rem); }
.related-links { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: .75rem; }
.related-links a { display: inline-block; padding: .6rem 1rem; border: 2px solid #000; color: #000; text-decoration: none; font-weight: 600; }
.related-links a:hover { background: #000; color: #fff; }

.legal h2 { font-size: 1.6rem; margin-top: 2rem; }
.notfound { min-height: 50vh; }

@media print {
  .site-header, .site-footer, .video-toggle, .cta-band, .contact-band { display: none; }
  body { color: #000; }
}

/* Pricing */
.price-group { margin: 2.5rem 0 1rem; padding-bottom: .4rem; border-bottom: 3px solid var(--pink); font-size: 1.5rem; }
.price-cards { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(280px, 100%), 1fr)); gap: 1.25rem; }
.price-card { background: #fff; border: 1px solid #d9d9d9; padding: 1.5rem; display: flex; flex-direction: column; }
.price-card h4 { font-size: 1.3rem; margin: 0 0 .25rem; font-weight: 600; }
.price-card .price { font-size: 1.35rem; font-weight: 600; color: var(--blue-ink); margin-bottom: .6rem; }
.price-card .best { font-size: 1rem; }
.price-card .ticks { font-size: 1rem; }
.price-card .note { font-size: .95rem; color: var(--grey-ink); }
.price-card .btn { margin-top: auto; align-self: flex-start; }
.price-card.is-free { border: 3px solid var(--pink); }
.price-card.is-free .price { color: var(--pink-ink); }

/* Audit offers (home) */
.audit-band { background: #000; }
.audit-cards { list-style: none; padding: 0; margin: 2rem auto 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 1.5rem; }
.audit-card { border: 2px solid #444; padding: 1.75rem; display: flex; flex-direction: column; background: #111; }
.audit-card.is-free { border-color: var(--pink); }
.audit-card h3 { font-size: 1.5rem; }
.audit-card p { color: #e6e6e6; }
.audit-price { font-size: .95rem; letter-spacing: .1em; text-transform: uppercase; color: var(--aqua) !important; font-weight: 600; margin-bottom: .3rem; }
.audit-card.is-free .audit-price { color: var(--pink) !important; }
.audit-card .btn { margin-top: auto; align-self: flex-start; }

/* Service page hero art and build options */
.svc-hero { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 4rem); align-items: center; }
.svc-art { width: 100%; height: auto; border-radius: 6px; }
.svc-photo { display: block; object-fit: cover; }
.svc-art-wrap picture { display: block; }
@media (max-width: 860px) { .svc-hero { grid-template-columns: 1fr; } .svc-art-wrap { max-width: 560px; } }
.build-options { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); gap: 1.5rem; }
.build-option { border: 1px solid #d9d9d9; border-top: 4px solid var(--blue); padding: 1.6rem; }
.build-option:nth-child(2) { border-top-color: var(--pink); }
.build-option .best { font-weight: 600; }
.options-note { margin-top: 1.25rem; font-size: 1rem; color: var(--grey-ink); max-width: 75ch; }

/* Mobile: make the hero video close to full screen instead of a thin 16:9 strip */
@media (max-width: 700px) {
  .hero { padding-top: 1.5rem; }
  .hero-media { width: 100%; aspect-ratio: 4 / 5; max-height: 72vh; }
}

/* Sharper palm background on larger and high-density screens */
@media (min-width: 900px) {
  .palm-section, .palm-band, .palm-strip { background-image: url("/assets/img/brand/palm-fronds-2000.webp"); }
}
@media (min-width: 1600px), (min-width: 900px) and (min-resolution: 2dppx) {
  .palm-section, .palm-band, .palm-strip { background-image: url("/assets/img/brand/palm-fronds-2800.webp"); }
}

.about-hero h1 .h1-line { display: block; margin-top: .15em; }

/* Color tweaks approved Nov 23: blue checkmarks in pricing cards, aqua "Send request" button on the home form */
.price-card .ticks li::before, .services-page .ticks li::before { border-color: var(--blue); }
.contact-band .contact-form .btn-pink { background: var(--aqua); color: #000; }
.contact-band .contact-form .btn-pink:hover { background: #fff; }

/* Term explainers (SEO & AEO page) */
.explainers { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); gap: 1.25rem; }
.explainer { border: 1px solid #d9d9d9; border-top: 4px solid var(--blue); padding: 1.5rem; background: #fff; }
.explainer h3 { font-size: 1.6rem; margin-bottom: .5rem; }
.explainer abbr { text-decoration: none; }
.explainer-full { display: block; font-size: 1.05rem; font-weight: 400; color: var(--grey-ink); margin-top: .2rem; }
.explainer p { margin: 0; }

/* Brand palette key (Brand Identity page hero) */
.brand-key { margin-top: 1rem; background: #fff; color: #000; border-radius: 6px; padding: 1rem 1.1rem; }
.brand-key-title { font-size: 1.05rem; margin: 0 0 .35rem; color: #000; }
.brand-key-group { font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: #545454; margin: .7rem 0 .35rem; }
.swatches { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(10.5rem, 100%), 1fr)); gap: .45rem .9rem; }
.swatches li { display: grid; grid-template-columns: 1.9rem 1fr; column-gap: .55rem; align-items: center; font-size: .88rem; line-height: 1.25; }
.swatch { grid-row: span 3; width: 1.9rem; height: 1.9rem; border-radius: 50%; border: 1px solid #797979; }
.sw-name { font-weight: 600; }
.sw-hex, .sw-note { color: #3d3d3d; font-size: .8rem; }
.font-sample { margin: 0; display: flex; align-items: baseline; gap: .7rem; }
.font-aa { font-size: 1.6rem; font-weight: 600; }
.photo-credit { margin: .35rem 0 0; font-size: .75rem; color: #c8c8c8; }
.bundle-note { padding-top: 1.75rem; }
.bundle-note p { margin: 0; color: var(--blue); font-weight: 600; font-size: 1.1rem; max-width: 70ch; }
.bundle-note a { color: var(--blue); }
.lead-bold { margin-top: -.25rem; }
.lead-bold strong { font-weight: 700; color: #fff; }
.learn-link { margin: .6rem 0 0; font-weight: 600; }
.learn-link a { color: var(--blue); }
.article-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(18rem, 100%), 1fr)); gap: 1rem; }
.article-list li { border-top: 4px solid var(--blue); background: #fff; border-left: 1px solid #d9d9d9; border-right: 1px solid #d9d9d9; border-bottom: 1px solid #d9d9d9; padding: 1rem 1.2rem; font-weight: 600; font-size: 1.05rem; }
.article-list a { color: var(--blue); }
.page-hero h1 .h1-subtitle { display: block; font-size: clamp(1.3rem, 1.2vw + 1rem, 1.9rem); font-weight: 400; line-height: 1.3; color: #e6e6e6; margin-top: .6rem; }
.pink-divider { height: 4px; background: var(--pink); }

/* Services page hero: palm photo fills the background; black wavy card with a thin white wavy edge floats above it */
.services-page .breadcrumbs { padding-bottom: clamp(1.75rem, 4vw, 2.75rem); }
.services-hero { position: relative; overflow: hidden; padding: clamp(4rem, 8vw, 6.5rem) 0; background: #3b86d1; }
.services-hero-bg, .services-hero-bg img { position: absolute; inset: 0; width: 100%; height: 100%; }
.services-hero-bg img { object-fit: cover; object-position: center; }
@media (max-width: 860px) { .services-hero-bg img { object-position: center 58%; } }
.services-hero .wrap { position: relative; }
.wave-defs { position: absolute; }
.wave-stack { position: relative; max-width: 900px; filter: drop-shadow(0 18px 28px rgba(0, 0, 0, .35)); }
.wave-white { position: absolute; inset: -9px -7px; background: #fff; clip-path: url(#wave-white); }
.wave-black { position: relative; background: #000; clip-path: url(#wave-black); padding: clamp(3.25rem, 6vw, 4.75rem) clamp(1.5rem, 4vw, 3.25rem); }
.wave-black h1 { margin-top: 0; }
.wave-black .lead { margin-bottom: 0; }
/* Insights page */
.insights-faq { border-left: 4px solid var(--pink); background: var(--soft, #f2f5f8); padding: 1.5rem 1.75rem; }
.insights-faq h2 { margin-top: 0; }
.insights-faq p:last-child { margin-bottom: 0; }
.insights-tools { display: grid; gap: 1rem; margin: 1.25rem 0 1.5rem; }
.insights-search label { display: block; font-weight: 600; margin-bottom: .35rem; }
.insights-search input { width: min(100%, 32rem); min-height: 48px; padding: .6rem .9rem; font: inherit; border: 2px solid #545454; border-radius: 2px; }
.insights-filters { display: flex; flex-wrap: wrap; gap: .5rem; }
.filter-btn { min-height: 44px; padding: .45rem .95rem; font: 600 .95rem var(--font); background: #f2f2f2; color: #333; border: 2px solid #797979; border-radius: 999px; cursor: pointer; }
.filter-btn:hover { background: #e4e4e4; border-color: #545454; }
.filter-btn[aria-pressed="true"] { background: #545454; border-color: #545454; color: #fff; }
.insights-count { margin: 0; color: var(--grey-ink); font-size: .95rem; }
.insight-cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(17rem, 100%), 1fr)); gap: 1.25rem; }
.insight-cards li[hidden] { display: none; }
.insight-card { display: flex; flex-direction: column; gap: .5rem; height: 100%; padding: 1.35rem 1.4rem; border: 3.5px solid var(--blue); border-radius: 6px; background: #fff; color: #000; text-decoration: none; transition: border-color .15s, background-color .15s; }
.insight-card:hover, .insight-card:focus-visible { border-color: var(--pink); }
.insight-card:active, .insight-card.is-pressed { background: var(--aqua); border-color: var(--pink); }
.insight-topic { font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--grey-ink); font-weight: 600; }
.insight-title { font-size: 1.15rem; font-weight: 600; line-height: 1.35; }
.insight-soon { margin-top: auto; font-size: .88rem; color: var(--grey-ink); }
/* Article pages: side-to-side arrows to neighbouring articles */
.article-soon { font-size: 1.25rem; font-weight: 600; }
.article-nav { display: flex; justify-content: space-between; gap: 1rem; padding-bottom: clamp(3rem, 6vw, 4.5rem); }
.article-arrow { display: flex; align-items: center; gap: .9rem; max-width: 48%; padding: 1rem 1.2rem; border: 2px solid var(--blue); border-radius: 6px; color: #000; text-decoration: none; font-weight: 600; }
.article-arrow:hover, .article-arrow:focus-visible { border-color: var(--pink); }
.article-arrow:active { background: var(--aqua); }
.article-arrow.next { margin-left: auto; text-align: right; }
.article-arrow .arrow { font-size: 1.8rem; line-height: 1; color: var(--blue); }
.article-arrow .dir { display: block; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--grey-ink); }
@media (max-width: 600px) { .article-nav { flex-direction: column; } .article-arrow { max-width: none; } }
.card-examples { font-size: .95rem; margin: .25rem 0 0; }
/* Insights articles sit on a palm photo; the search and filters sit in a white panel */
.insights-articles { background: #0d3b4f url("/assets/img/brand/insights-palms-900.webp") center / cover no-repeat; padding: clamp(2.5rem, 6vw, 4.5rem) 0; }
@media (min-width: 900px) { .insights-articles { background-image: url("/assets/img/brand/insights-palms-1600.webp"); } }
@media (min-width: 1600px), (min-width: 900px) and (min-resolution: 2dppx) { .insights-articles { background-image: url("/assets/img/brand/insights-palms-2400.webp"); } }
.insights-panel { background: #fff; border-radius: 6px; padding: 1.5rem 1.6rem; margin-bottom: 1.5rem; box-shadow: 0 10px 30px rgba(0, 0, 0, .25); }
.insights-panel h2 { margin-top: 0; }
.insights-panel .insights-tools { margin-bottom: 0; }
.insight-card { box-shadow: 0 8px 22px rgba(0, 0, 0, .22); }
.insights-articles .insights-empty { background: #fff; padding: 1rem 1.25rem; border-radius: 6px; }
/* Blue outlined buttons on service cards (home page and Services page) */
.btn-outline-blue { background: #fff; color: #000; border-color: var(--blue); }
.btn-outline-blue:hover, .btn-outline-blue:focus-visible { border-color: var(--pink); }
.btn-outline-blue:active { background: var(--aqua); border-color: var(--pink); }
.card-btn { margin: auto 0 0; padding-top: 1rem; }
.service-grid > li, .svc-card { display: flex; flex-direction: column; }
.insights-sort { display: flex; align-items: center; gap: .6rem; }
.insights-sort label { font-weight: 600; }
.insights-sort select { min-height: 44px; padding: .4rem 2rem .4rem .8rem; font: inherit; border: 2px solid #797979; border-radius: 2px; background: #f2f2f2; color: #333; }
.search-field { position: relative; width: min(100%, 32rem); }
.search-field .search-icon { position: absolute; left: .8rem; top: 50%; transform: translateY(-50%); color: #545454; pointer-events: none; }
.search-field input { width: 100%; padding-left: 2.75rem; }
.footer-name { display: flex; align-items: center; gap: .7rem; }
.site-footer .footer-name { font-size: 1.9rem; font-weight: 700; line-height: 1.1; margin-bottom: .9rem; }
.footer-mark { width: 56px; height: 56px; flex: none; }
.site-footer .footer-tagline { font-size: 1.15rem; font-weight: 600; line-height: 1.4; margin-bottom: .6rem; }
/* Portfolio project pages: tighter spacing between sections (Ingrid: no large gaps) */
.case-page .section { padding-block: clamp(2rem, 3.5vw, 2.75rem); }
.case-page .section-tight { padding-block: clamp(1.25rem, 2.5vw, 1.75rem); }
.case-page .section h2 { margin-top: 0; }
.case-page .case-hero { padding-bottom: clamp(1.75rem, 3vw, 2.5rem); }
/* Design screenshots shown whole (no cropping), top-aligned */
.gallery { align-items: start; }
.gallery a { aspect-ratio: auto; background: none; }
.gallery img { width: 100%; height: auto; max-height: 560px; object-fit: cover; object-position: top; }
/* Status tags: outlined, not filled, so they don't compete with the logo tiles */
.chip { background: transparent; border: 2px solid #797979; color: #111; }
.chip-client { background: transparent; border-color: var(--blue); }
.chip-agency, .chip-inhouse { background: transparent; border-color: #797979; }
.chip-unlaunched { background: transparent; border-color: #b8860b; }
.chip-concept { background: transparent; border-color: var(--pink); }
.case-hero > .wrap .chip, .page-hero > .wrap .chip { color: #fff; }
.case-page .video-grid .is-portrait video { max-height: 480px; }
.work-section .chip, .case-tile-link:not(.light-cases *) .chip { color: #fff; }
.light-cases .chip { color: #111; }
/* Design screenshots as a tidy masonry (no big gaps between uneven heights) */
.case-page .gallery { display: block; columns: 3 260px; column-gap: 1.25rem; }
.case-page .gallery > li { break-inside: avoid; margin-bottom: 1.25rem; }
/* Designs shown side by side at equal height, uncropped (as on the old portfolio page) */
.case-page .gallery.gallery-row { display: flex; columns: auto; gap: .6rem; align-items: flex-start; }
.case-page .gallery-row > li { min-width: 0; margin: 0; }
.case-page .gallery-row img { width: 100%; height: auto; max-height: none; object-fit: initial; display: block; }
.case-page .gallery-row figcaption { font-size: .9rem; }
@media (max-width: 700px) {
  .case-page .gallery.gallery-row { flex-direction: column; gap: 1.5rem; }
  .case-page .gallery-row > li { flex: none !important; width: 100%; }
  .case-page .gallery-row a { display: block; max-height: 900px; overflow: hidden; }
}
.case-page .gallery.gallery-row { justify-content: center; gap: clamp(1rem, 2.5vw, 2rem); }
/* Social buttons (home page, by the portrait) */
.social-label { margin: 1.25rem 0 .5rem; font-weight: 600; text-align: center; }
.social-btns { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .6rem; }
.social-btns.center { justify-content: center; }
.social-btn { display: inline-flex; align-items: center; gap: .5rem; }
/* Footer: social links as black icon + bold underlined text, spaced like the links above */
.social-btns.on-footer { flex-direction: column; gap: 0; margin-top: .65rem; }
.social-btns.on-footer li { margin-bottom: .3rem; }
.social-btns.on-footer .social-btn { display: inline-flex; align-items: center; gap: .5rem; min-height: 0; padding: 0; line-height: inherit; border: 0; background: none; color: #000; font-weight: 700; text-decoration: underline; text-underline-offset: .2em; }
.social-btns.on-footer .social-btn:hover, .social-btns.on-footer .social-btn:focus-visible { border: 0; background: none; color: #000; text-decoration-thickness: 2px; }
.social-btns.on-footer .social-btn svg { color: #000; flex: none; }
.slide-btn { margin-top: 1rem; }
.about-social { margin-top: .6rem; }

/* Case pages: rows of whole images at equal height (Jacaranda Living) */
.media-intro { max-width: 60rem; }
.media-group-title { margin: 1.6rem 0 .6rem; font-size: 1.2rem; }
.media-row, .media-grid { list-style: none; margin: 0 0 clamp(.6rem, 1.5vw, 1rem); padding: 0; }
.media-row { display: flex; gap: clamp(.6rem, 1.5vw, 1rem); align-items: flex-start; }
.media-row figure, .media-grid figure { margin: 0; }
.media-row img, .media-row video, .media-grid img { display: block; width: 100%; height: auto; }
.media-row video { background: #f2f2f2; }
.media-section figcaption { margin-top: .35rem; font-weight: 700; font-size: .95rem; }
.media-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: clamp(.5rem, 1.2vw, .9rem); }
.media-section a[data-lightbox-open] { display: block; }
.media-section a[data-lightbox-open]:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
@media (max-width: 900px) { .media-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 600px) {
  .media-row { flex-wrap: wrap; }
  .media-row > li { flex: 1 1 100% !important; }
  .media-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* About: interest cards use the pink accent; art Instagram link; artwork tile */
.interests li { border-left-color: var(--pink); }
.interests .art-ig { display: inline-flex; align-items: center; gap: .45rem; margin-top: .6rem; font-weight: 700; color: #000; text-underline-offset: .2em; }
.interests .interest-art { padding: 0; border-left: 0; background: none; overflow: hidden; }
.interests .interest-art img { display: block; width: 100%; height: 100%; object-fit: cover; }
.interests .art-ig { display: flex; width: fit-content; }
@media (min-width: 900px) { .interests { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.about-links { margin-top: 1.6rem; }
.about-links .btn-outline-blue { background: #fff; }
/* Tiles whose image already includes its own white margin: show it edge to edge, uncropped */
.case-tile-art.is-fill { padding: 0; }
.case-tile-art.is-fill img { width: 100%; height: 100%; max-height: none; object-fit: contain; }
/* Portfolio tiles: a second photo from the project fades in on hover or keyboard focus */
.case-tile-art { position: relative; }
.case-tile-art .tile-hover { position: absolute; inset: 0; width: 100%; height: 100%; max-height: none; object-fit: cover; opacity: 0; transition: opacity .35s ease; }
.case-tile-link:hover .tile-hover, .case-tile-link:focus-visible .tile-hover { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .case-tile-art .tile-hover { transition: none; } }
.media-list { max-width: 60rem; margin-bottom: 1.2rem; }
.media-list li { margin-bottom: .3rem; }
.media-section figcaption strong { display: block; }
.media-section figcaption span { font-weight: 400; }
.story-lead { font-size: clamp(1.5rem, 1vw + 1.1rem, 1.9rem); border-top: 3px solid var(--pink); padding-top: 1rem; }
.media-row.is-narrow { max-width: 760px; margin-inline: auto; }
/* About: hiking photo row (placeholders until Ingrid adds photos) */
.about-photos { list-style: none; padding: 0; margin: 1.25rem 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.about-photos img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.photo-placeholder { aspect-ratio: 4 / 3; display: grid; place-content: center; text-align: center; gap: .3rem; background: rgba(255,255,255,.9); border: 3px dashed var(--pink); color: #111; }
.photo-placeholder span { font-weight: 700; font-size: 1.15rem; }
.photo-placeholder small { color: #545454; }
@media (max-width: 700px) { .about-photos { grid-template-columns: 1fr; } }
.interests .art-ig.btn { display: inline-flex; width: fit-content; margin-top: .8rem; text-decoration: none; background: #fff; }
.interests .art-ig.btn { display: flex; }
.media-row.is-narrow { max-width: 560px; }
.media-placeholder { display: grid; place-content: center; text-align: center; gap: .3rem; padding: .6rem; background: #fff; border: 3px dashed var(--pink); color: #111; font-weight: 700; }
.media-placeholder small { font-weight: 400; color: #545454; }
#details-title ~ .media-row { gap: clamp(.4rem, 1vw, .6rem); margin-bottom: clamp(.4rem, 1vw, .6rem); }
/* Dark media section (Jacaranda "Details Matter"): black background, white product images, compact grid */
.media-dark { background: #111; color: #fff; }
.media-dark h2, .media-dark h3, .media-dark p { color: #fff; }
.media-dark .media-placeholder { background: #111; color: #fff; }
.media-dark .media-placeholder small { color: #cfcfcf; }
.media-dark a[data-lightbox-open]:focus-visible { outline-color: var(--aqua); }
.media-section .media-row:last-child { margin-bottom: 0; }
.media-section .media-row:last-child + .media-group-title { margin-top: 1.4rem; }
.media-row.is-narrow { max-width: 620px; }
.case-tile-art.is-fill .tile-hover { object-fit: cover; }
/* Spaced slides (InfinityH2O client presentation): each slide stands apart with a border and shadow */
.media-section.is-spaced .media-row { gap: clamp(1.25rem, 3vw, 2.5rem); margin-bottom: clamp(1.25rem, 3vw, 2.5rem); }
.media-section.is-spaced .media-row img { border: 1px solid #d0d0d0; box-shadow: 0 6px 18px rgba(0,0,0,.12); background: #fff; }
.media-section.is-spaced .media-row.is-narrow { max-width: 520px; }
/* Presentation slides: 2 equal columns, generous space, odd last slide centered */
.media-grid.slide-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1.5rem, 3.5vw, 3rem); max-width: 1040px; margin-inline: auto; align-items: start; }
.slide-grid img { box-shadow: 0 2px 14px rgba(0,0,0,.14); }
.slide-grid > li:last-child:nth-child(odd) { grid-column: 1 / -1; justify-self: center; width: calc(50% - clamp(.75rem, 1.75vw, 1.5rem)); }
@media (max-width: 700px) { .media-grid.slide-grid { grid-template-columns: 1fr; } .slide-grid > li:last-child:nth-child(odd) { width: 100%; } }
.media-grid.slide-grid { max-width: none; }
/* Ad with a second version: fades in on hover/focus; viewer has arrows */
.has-swap { position: relative; }
.has-swap .swap-img { position: absolute; inset: 0; opacity: 0; transition: opacity .35s ease; }
.has-swap .swap-img img { width: 100%; height: 100%; }
.has-swap:hover .swap-img, .has-swap:focus-visible .swap-img { opacity: 1; }
.lightbox-body { position: relative; }
.lightbox-arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 3rem; height: 3rem; border-radius: 50%; border: 2px solid #fff; background: rgba(0,0,0,.7); color: #fff; font-size: 2rem; line-height: 1; cursor: pointer; display: grid; place-items: center; }
.lightbox-arrow[hidden] { display: none; }
.lightbox-arrow.prev { left: .75rem; } .lightbox-arrow.next { right: .75rem; }
.lightbox-arrow:hover { border-color: var(--pink); }
.lightbox-arrow:focus-visible { outline: 3px solid var(--aqua); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { .has-swap .swap-img { transition: none; } }
.tick-mark { display: inline-block; width: .65rem; height: .35rem; margin: 0 .55rem .2rem .2rem; border-left: 3px solid var(--pink-ink); border-bottom: 3px solid var(--pink-ink); transform: rotate(-45deg); vertical-align: middle; }
.media-group-title.is-divided { margin-top: 2rem; padding-top: 1.2rem; border-top: 3px solid var(--pink); font-size: 1.35rem; }
.media-section h2 + .media-intro + .media-group-title.is-divided { margin-top: 1rem; }
/* Soft shadow so screenshots and recordings stand off the background */
.media-shadow .media-row img, .media-shadow .media-row video { box-shadow: 0 4px 18px rgba(0,0,0,.18); }
.media-row.is-spaced { gap: clamp(1.5rem, 4vw, 3.5rem); }
/* Stronger separation from the page background (Ingrid, Nov 24) */
.media-shadow .media-row img, .media-shadow .media-row video { box-shadow: 0 0 0 1px rgba(0,0,0,.14), 0 8px 24px rgba(0,0,0,.28); }
/* Black outline around each image (Deka Lash) */
.media-outline .media-row img, .media-outline .media-row video { outline: 2px solid #000; outline-offset: 0; }
/* All portfolio pages: images and recordings lift off the page with a soft shadow (no outlines) */
.case-page .media-row img, .case-page .media-row video, .case-page .media-grid img,
.case-page .gallery img, .case-page .video-grid video { box-shadow: 0 8px 24px rgba(0,0,0,.26); outline: 0; }
.case-page .media-row.is-plain img { box-shadow: none; }
.case-page .media-dark .media-row img { box-shadow: 0 8px 24px rgba(0,0,0,.6); }
/* Gallery links clip their image (overflow: hidden), so the shadow goes on the link itself */
.case-page .gallery a[data-lightbox-open] { box-shadow: 0 8px 24px rgba(0,0,0,.26); }
.case-page .gallery img { box-shadow: none; }
/* A little more space between ads/images in rows (Ingrid, Nov 24: +2-3px) */
.media-row { gap: clamp(.75rem, 1.7vw, 1.15rem); margin-bottom: clamp(.75rem, 1.7vw, 1.15rem); }
.media-placeholder { min-width: 0; overflow-wrap: anywhere; }

/* Film player: large, easy-to-see Play/Pause button (KFC sizzle reel, with sound) */
.film { position: relative; }
.film video { display: block; width: 100%; height: auto; background: #000; }
.film-toggle { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: inline-flex; align-items: center; gap: .6rem;
  padding: .9rem 1.6rem .9rem 1.2rem; border: 3px solid #fff; border-radius: 999px; background: rgba(0,0,0,.72); color: #fff;
  font: inherit; font-size: 1.25rem; font-weight: 700; cursor: pointer; box-shadow: 0 6px 20px rgba(0,0,0,.35); }
.film-toggle svg { width: 2.2rem; height: 2.2rem; }
.film-toggle .i-pause, .film.is-playing .film-toggle .i-play { display: none; }
.film.is-playing .film-toggle .i-pause { display: block; }
.film-toggle:hover { border-color: var(--pink); }
.film-toggle:focus-visible { outline: 3px solid var(--aqua); outline-offset: 3px; }
/* While playing, the button moves to the corner so it doesn't cover the video */
.film.is-playing .film-toggle { left: auto; top: auto; right: 1rem; bottom: 4rem; transform: none; font-size: 1rem; padding: .55rem 1.1rem .55rem .8rem; }
.film.is-playing .film-toggle svg { width: 1.5rem; height: 1.5rem; }
.film-note { display: block; font-weight: 700; color: #111; margin: .2rem 0; }
@media (max-width: 600px) { .film-toggle { font-size: 1rem; padding: .6rem 1.1rem .6rem .8rem; } .film-toggle svg { width: 1.6rem; height: 1.6rem; } .film.is-playing .film-toggle { bottom: 3.5rem; right: .5rem; } }

/* Long page previews (Clairol): half height with a fade; opens to a scrolling frame */
.page-preview-frame { position: relative; max-height: 760px; overflow: hidden; cursor: zoom-in; box-shadow: 0 8px 24px rgba(0,0,0,.26); background: #fff; }
.page-preview-frame img { display: block; width: 100%; height: auto; box-shadow: none !important; }
.page-preview-frame::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 7rem; background: linear-gradient(rgba(255,255,255,0), #fff); pointer-events: none; }
.page-preview.is-open .page-preview-frame { max-height: 85vh; overflow-y: auto; cursor: auto; overscroll-behavior: contain; }
.page-preview.is-open .page-preview-frame::after { display: none; }
.page-preview-frame:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
.page-preview-btn { margin-top: .9rem; }
.media-row > li:has(.page-preview) { flex: 1 1 0 !important; }
/* Credit note on past-employer project pages */
.case-credit { max-width: 46rem; margin-top: 1rem; padding: .7rem 1rem; border-left: 3px solid var(--pink); background: rgba(255,255,255,.08); color: #fff; font-size: .98rem; }
/* Portfolio page: bring the first section closer to the intro (Ingrid, Nov 26) */
.work-page .page-hero { padding-bottom: 1rem; }
.work-page .page-hero + .work-section { padding-top: 1.25rem; }
.work-page .work-section { padding-block: clamp(1.5rem, 3vw, 2.25rem); }
.work-page .page-hero + .work-section { padding-top: 1.25rem; }


/* Services hero v4 (Ingrid, Nov 26): white + black waves, centered; one whole palm frond passes over the black card but under the text */
.services-hero { isolation: isolate; }
.services-hero .wrap { position: static; }
.services-hero .wave-stack { position: relative; max-width: 900px; margin-inline: auto; filter: none; }
.services-hero .wave-shadow { position: absolute; inset: -9px -7px; z-index: 1; filter: drop-shadow(0 18px 28px rgba(0, 0, 0, .35)); }
.services-hero .wave-white { position: absolute; inset: 0; background: #fff; clip-path: url(#wave-white); }
.services-hero .wave-black { position: absolute; inset: 0; z-index: 1; background: #000; clip-path: url(#wave-black); padding: 0; }
.services-hero .wave-text { position: relative; z-index: 3; padding: clamp(4.25rem, 7vw, 5.5rem) clamp(1.75rem, 5vw, 4rem) clamp(4.75rem, 8vw, 6.25rem); color: #fff; text-shadow: 0 1px 3px rgba(0,0,0,.85), 0 0 12px rgba(0,0,0,.55); }
.services-hero .wave-text h1 { margin-top: 0; }
.deco-rule { display: flex; align-items: center; gap: .6rem; margin: 1.3rem 0 1.2rem; }
.deco-rule::before, .deco-rule::after { content: ""; height: 2px; width: 3.5rem; background: var(--pink); }
.deco-rule span { width: .55rem; height: .55rem; background: var(--aqua); transform: rotate(45deg); }
.wave-text .hero-lead-strong { font-size: clamp(1.2rem, .6vw + 1.05rem, 1.45rem); font-weight: 600; line-height: 1.4; color: #fff; margin: 0 0 .9rem; }
.wave-text .hero-lead { color: #f0f0f0; margin: 0 0 .6rem; max-width: none; }
.wave-text .hero-lead:last-child { margin-bottom: 0; }
.services-hero-bg img { object-position: center 40%; }
.services-hero-fronds { position: absolute; inset: 0; z-index: 2; pointer-events: none;
  --corner: radial-gradient(ellipse 150px 260px at calc(var(--cl, 18%) - 10px) calc(var(--ct, 130px) + 70px), #000 45%, transparent 100%);
  --side: linear-gradient(to right, #000 calc(var(--cl, 18%) - 12px), transparent calc(var(--cl, 18%) - 12px));
  --above: linear-gradient(to bottom, #000 calc(var(--ct, 130px) - 14px), transparent calc(var(--ct, 130px) - 14px));
  -webkit-mask-image: var(--corner), var(--side), var(--above); mask-image: var(--corner), var(--side), var(--above); }
.services-hero-fronds img { width: 100%; height: 100%; object-fit: cover; object-position: center 40%; }
@media (max-width: 860px) {
  .services-hero-fronds { display: none; }
  .services-hero-bg img { object-position: center 58%; }
  .services-hero .wave-text { padding: 3.75rem 1.5rem 4.5rem; }
  .services-hero .wave-text h1 { font-size: 2.1rem; }
  .services-hero .wave-text .h1-subtitle { font-size: 1.15rem; }
  .wave-text .hero-lead-strong { font-size: 1.05rem; }
  .wave-text .hero-lead { font-size: .95rem; line-height: 1.55; }
}

/* Pink line with aqua diamond, used site-wide under page titles (replaces the plain short pink line) */
.deco-rule.center { justify-content: center; }
.page-hero .deco-rule, .case-hero .deco-rule { margin: 1rem 0 1.1rem; }
.about-hero .deco-rule, .text > .deco-rule { margin: 1rem 0 1.2rem; }
.palm-card .deco-rule { margin: 1rem auto 1.3rem; }
/* Service pages: tighter spacing between sections (Ingrid, Nov 26) */
.service-page .section { padding-block: clamp(2.25rem, 4.5vw, 3.5rem); }
.service-page .section-tight { padding-block: clamp(1.75rem, 3.5vw, 2.75rem); }
.work-page .page-hero .lead { max-width: 74rem; }
.palm-card, .palm-card .btn, .deco-rule::before, .deco-rule::after { border-radius: 0; }
/* Diamond divider: square (90°) ends, same 3px weight and spacing as the original short pink line */
.deco-rule::before, .deco-rule::after { height: 3px; border-radius: 0; }
.deco-rule span { border-radius: 0; }
.palm-card .deco-rule { margin: 1.1rem auto 1.4rem; }
.services-hero { padding-bottom: calc(clamp(4rem, 8vw, 6.5rem) + 1rem); }
@media (max-width: 860px) { .services-hero { padding-bottom: calc(clamp(4rem, 8vw, 6.5rem) + 1rem); } }

/* Insights articles (published, Nov 26): body text, side-by-side example graphics, comparison table */
.article-section { padding-top: clamp(2rem, 4vw, 3rem); }
.article-body h2 { margin-top: 2.6rem; font-size: clamp(1.55rem, 1.1vw + 1rem, 2rem); }
.article-body h3 { margin-top: 1.9rem; font-size: 1.3rem; }
.article-body #examples { margin-bottom: 1.2rem; }
.article-body a:not(.btn) { color: var(--blue); text-decoration: underline; text-underline-offset: 2px; }
.article-body a:not(.btn):hover { color: var(--pink-ink); }
/* Example graphics (Ingrid, Nov 26): after the 1st paragraph, no heading. Option A = grey band with white cards (.figs-band), option B = open layout (.figs-open) */
.article-figures { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.25rem, 3vw, 2.5rem); align-items: stretch; }
.article-figures figure { margin: 0; display: flex; flex-direction: column; }
.article-figures img { display: block; width: 100%; height: auto; }
.article-figures .figure-zoom { display: block; }
.article-figures .figure-zoom:focus-visible { outline: 3px solid var(--blue); outline-offset: 4px; }
.article-figures figcaption { margin-top: 1.1rem; font-size: .95rem; line-height: 1.55; color: var(--grey-ink); }
.article-figures figcaption strong { display: block; color: #000; font-size: 1.05rem; margin-bottom: .3rem; }
.figs-band { background: #e6e6e6; padding-block: clamp(2rem, 4vw, 3.25rem); margin-block: 1.6rem 2.4rem; }
.figs-band .article-figures { max-width: 1120px; }
.figs-band .figure-zoom { background: #fff; padding: clamp(.6rem, 1.2vw, .95rem); box-shadow: 0 6px 22px rgba(0, 0, 0, .1); }
.figs-band figcaption { padding-inline: .15rem; color: #3d3d3d; }
.figs-title { max-width: 1120px; margin: 0 auto clamp(1.4rem, 2.5vw, 2rem); text-align: center; font-size: clamp(1.55rem, 1.1vw + 1rem, 2rem); }
.fig-note { font-style: italic; }
.figs-open { margin-block: 1.8rem 2.6rem; }
.figs-open .article-figures { max-width: 1080px; }
.figs-open img { box-shadow: 0 6px 22px rgba(0, 0, 0, .12); }
.figs-open figcaption { padding-top: .9rem; border-top: 3px solid var(--pink); }
.figs-open figcaption { border-image: linear-gradient(to right, var(--pink) 3.5rem, transparent 3.5rem) 1; }
@media (max-width: 860px) { .article-figures { grid-template-columns: 1fr; } }
.table-scroll { overflow-x: auto; margin: 1.2rem 0 1.4rem; }
.compare-table { width: 100%; border-collapse: collapse; min-width: 30rem; }
.compare-table th, .compare-table td { text-align: left; vertical-align: top; padding: .75rem .9rem; border-bottom: 1px solid #d5d5d5; }
.compare-table thead th { background: #000; color: #fff; font-weight: 600; }
.compare-table tbody tr:nth-child(even) { background: #f6f6f6; }
.article-body .faq-list { margin-top: 1rem; }

/* Article visuals (Insights drafts, Nov 26): real-text diagrams in brand colors */
.article-answer { font-size: 1.12rem; }
.key-points { border-left: 4px solid var(--pink); background: #f6f6f6; padding: 1.2rem 1.4rem .4rem; margin: 1.6rem 0 2rem; }
.key-points-title { font-weight: 700; text-transform: uppercase; letter-spacing: .08em; font-size: .9rem; margin-bottom: .7rem; }
.art-figure { max-width: 1080px; margin: 1.6rem auto 2.4rem; }
.art-figure figcaption { margin-top: 1rem; text-align: center; font-size: .95rem; color: var(--grey-ink); }
/* 3-step flow */
.flow { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.6rem; counter-reset: none; }
.flow-step { position: relative; background: #000; color: #fff; padding: 1.6rem 1.4rem 1.5rem; border-top: 4px solid var(--pink); }
.flow-step + .flow-step::before { content: ""; position: absolute; left: -2.05rem; top: 50%; width: 1.4rem; height: 1.4rem; border-top: 4px solid var(--pink); border-right: 4px solid var(--pink); transform: translateY(-50%) rotate(45deg); }
.flow-icon { width: 2.6rem; height: 2.6rem; color: var(--aqua); display: block; margin-bottom: .8rem; }
.flow-name { display: block; font-size: 1.3rem; font-weight: 700; margin-bottom: .35rem; }
.flow-text { display: block; font-size: .98rem; line-height: 1.5; color: #e6e6e6; }
@media (max-width: 860px) {
  .flow { grid-template-columns: 1fr; gap: 2.4rem; }
  .flow-step + .flow-step::before { left: 50%; top: -1.75rem; transform: translateX(-50%) rotate(135deg); }
}
/* 3 cards */
.trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.trio-card { background: #fff; border: 1px solid #d9d9d9; border-top: 4px solid var(--blue); padding: 1.4rem 1.3rem .6rem; }
.trio-card:nth-child(2) { border-top-color: var(--pink); }
.trio-card:nth-child(3) { border-top-color: #000; }
.trio-name { font-size: 1.25rem; font-weight: 700; margin: 0; }
.trio-sub { color: var(--grey-ink); margin: .1rem 0 .9rem; }
.trio-card .ticks { font-size: 1rem; }
@media (max-width: 860px) { .trio { grid-template-columns: 1fr; } }
/* search result anatomy */
.serp { display: grid; grid-template-columns: 1.15fr 1fr; gap: 2rem; align-items: center; background: #f3f3f3; padding: clamp(1.2rem, 3vw, 2.2rem); }
.serp-result { background: #fff; padding: 1.3rem 1.4rem; box-shadow: 0 6px 22px rgba(0, 0, 0, .08); font-family: Arial, Helvetica, sans-serif; }
.serp-site { display: flex; align-items: center; gap: .7rem; margin-bottom: .45rem; }
.serp-favicon { width: 2rem; height: 2rem; border-radius: 50%; background: #000; color: #fff; display: grid; place-items: center; font-size: .6rem; font-weight: 700; flex: none; }
.serp-name { display: block; font-size: .9rem; color: #202124; }
.serp-url { display: block; font-size: .8rem; color: #4d5156; }
.serp-title { color: #1a0dab; font-size: 1.15rem; line-height: 1.3; margin: 0 0 .35rem; }
.serp-desc { color: #4d5156; font-size: .9rem; line-height: 1.5; margin: 0; }
.serp-key { margin: 0; display: grid; gap: .9rem; }
.serp-key div { border-left: 3px solid var(--pink); padding-left: .9rem; }
.serp-key dt { font-weight: 700; }
.serp-key dd { margin: .1rem 0 0; color: #333; font-size: .98rem; }
@media (max-width: 860px) { .serp { grid-template-columns: 1fr; } }
/* 4-step flow and search vs answer comparison (AEO draft) */
.flow.flow-4 { grid-template-columns: repeat(4, 1fr); gap: 2.4rem; }
.flow-4 .flow-step + .flow-step::before { left: -1.95rem; }
@media (max-width: 1000px) and (min-width: 861px) { .flow.flow-4 { grid-template-columns: repeat(2, 1fr); } .flow-4 .flow-step:nth-child(3)::before { display: none; } }
@media (max-width: 860px) { .flow.flow-4 { grid-template-columns: 1fr; } .flow-4 .flow-step + .flow-step::before { left: 50%; top: -1.75rem; } }
.compare-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; background: #f3f3f3; padding: clamp(1.2rem, 3vw, 2.2rem); }
.compare-panel { background: #fff; padding: 1.4rem 1.4rem 1.1rem; border-top: 4px solid var(--blue); box-shadow: 0 6px 22px rgba(0, 0, 0, .06); display: flex; flex-direction: column; }
.compare-panel.is-answer { border-top-color: var(--pink); }
.compare-label { font-weight: 700; text-transform: uppercase; letter-spacing: .08em; font-size: .9rem; margin: 0 0 .7rem; }
.compare-q { border: 1px solid #cfcfcf; border-radius: 999px; padding: .45rem 1rem; font-size: .95rem; margin: 0 0 1rem; color: #333; }
.mock-links { list-style: none; margin: 0 0 1rem; padding: 0; display: grid; gap: .85rem; }
.mock-title { display: block; color: var(--blue); font-size: .98rem; }
.mock-line { display: block; height: .5rem; width: 85%; background: #e2e2e2; border-radius: 4px; margin-top: .35rem; }
.mock-answer { background: #fafafa; border-left: 3px solid var(--pink); padding: .9rem 1rem; margin-bottom: 1rem; font-size: .98rem; }
.mock-answer p { margin: 0 0 .6rem; }
.mock-sources { font-size: .85rem; color: var(--grey-ink); margin: 0 !important; display: flex; flex-wrap: wrap; gap: .35rem; align-items: center; }
.mock-chip { background: #fff; border: 1px solid #d0d0d0; border-radius: 999px; padding: .1rem .6rem; color: #333; }
.compare-note { margin: auto 0 0; font-size: .92rem; color: var(--grey-ink); }
@media (max-width: 860px) { .compare-2 { grid-template-columns: 1fr; } }
/* SEO vs. AEO Venn diagram (draft, Nov 26): brand blue + pink circles, black text, Futura */
.venn-figure { background: #fff; }
.venn { display: block; width: 100%; max-width: 980px; height: auto; margin: 0 auto; font-family: inherit; }
.venn-seo { fill: rgba(0, 104, 201, .13); }
.venn-aeo { fill: rgba(253, 43, 169, .13); }
.venn-ring { fill: none; stroke-width: 4; }
.venn-ring-seo { stroke: var(--blue); }
.venn-ring-aeo { stroke: var(--pink); }
.venn-head { font-size: 40px; font-weight: 700; letter-spacing: .02em; }
.venn-head-seo { fill: var(--blue); }
.venn-head-aeo { fill: var(--pink-ink); font-size: 30px; }
.venn-head-both { fill: #000; font-size: 24px; letter-spacing: .16em; }
.venn-sub { font-size: 15px; fill: #444; }
.venn-items text { font-size: 19px; fill: #111; }
.venn-items-both text { font-size: 18px; font-weight: 600; }
.venn-foot { font-size: 15px; fill: var(--grey-ink); letter-spacing: .02em; }
.venn-cards { display: none; }
.venn-card-both { border-top: 4px solid #000; background: linear-gradient(135deg, rgba(0, 104, 201, .08), rgba(253, 43, 169, .08)); }
@media (max-width: 700px) { .venn { display: none; } .venn-cards { display: grid; } }
.compare-3 th[scope="row"] { text-align: left; font-weight: 700; background: #f6f6f6; white-space: nowrap; }
.compare-3 td[colspan] { text-align: center; font-weight: 600; background: linear-gradient(90deg, rgba(0, 104, 201, .08), rgba(253, 43, 169, .08)); }
.venn-cards .trio-card:nth-child(2) { border-top-color: #000; }
.venn-cards .trio-card:nth-child(3) { border-top-color: var(--pink); }

/* Insights tiles with images (Ingrid chose option A, Nov 30): image on top, 1-line preview.
   Published articles: one black outline around the whole tile (no line under the image) and a black "Read More" button.
   Coming soon tiles keep the blue outline and a slim black band with the pink line and aqua diamond. */
.insight-cards .insight-card { padding: 0; overflow: hidden; gap: 0; }
.insight-thumb { display: block; background: #000; aspect-ratio: 3 / 2; }
.insight-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
.insight-thumb.is-soon { display: grid; place-items: center; aspect-ratio: 6 / 1; border-bottom: 3px solid var(--blue); }
.soon-mark { position: relative; display: block; width: 4.5rem; height: 3px; background: var(--pink); }
.soon-mark::after { content: ""; position: absolute; left: 50%; top: 50%; width: .7rem; height: .7rem; background: var(--aqua); transform: translate(-50%, -50%) rotate(45deg); }
.insight-body { display: flex; flex-direction: column; gap: .45rem; padding: 1.1rem 1.25rem 1.3rem; flex: 1; }
.insight-excerpt { font-size: .97rem; line-height: 1.5; color: #333; }
.insight-card.is-live { border: 5px solid #000; }
.insight-card.is-live .insight-thumb { border-bottom: 0; }
.insight-card.is-live:hover, .insight-card.is-live:focus-visible { border-color: var(--pink); }
.insight-more { align-self: flex-start; margin-top: auto; padding: .55rem 1.2rem; background: #000; color: #fff; font-weight: 600; font-size: .95rem; border: 2px solid #000; border-radius: 2px; }
.insight-card:hover .insight-more, .insight-card:focus-visible .insight-more { border-color: var(--pink); }
.insight-card:active .insight-more, .insight-card.is-pressed .insight-more { background: var(--aqua); color: #000; }
/* Insights articles use small round PINK bullets, never the pink checkmarks (those are for service and company pages only; Ingrid, Nov 30) */
.dots { list-style: none; padding: 0; }
.dots li { position: relative; padding-left: 1.5rem; margin-bottom: .6rem; }
.dots li::before { content: ""; position: absolute; left: .3rem; top: .62em; width: .45rem; height: .45rem; border-radius: 50%; background: var(--pink); }
.trio-card .dots { font-size: 1rem; }
/* "Ready to bring your brand to life?" band: use the full width so the heading sits on 1 line on computers (Ingrid, Nov 30) */
.cta-band .narrow { width: min(100% - 2.5rem, 1120px); }
.cta-band h2 { text-wrap: balance; }
.venn-items text { font-size: 18px; }
.venn-items-both text { font-size: 17px; }
.venn-dot { fill: #000; }
/* Published Insights tiles: thin white line outside the black outline so it stands out from the palm photo (Ingrid, Nov 30) */
.insight-card.is-live { box-shadow: 0 0 0 3px #fff, 0 8px 22px rgba(0, 0, 0, .22); }
/* Coming-soon tiles (Nov 30): same black outline + white outer line as published tiles, with a colored line between
   (blue = .soon-blue, pink = .soon-pink on the list), and a clearer "Coming soon" label. */
.insight-card:not(.is-live) { border: 5px solid #000; }
.insight-card:not(.is-live) .insight-thumb.is-soon { border-bottom: 0; }
.soon-blue .insight-card:not(.is-live) { box-shadow: 0 0 0 3px var(--blue), 0 0 0 6px #fff, 0 8px 22px rgba(0, 0, 0, .22); }
.soon-pink .insight-card:not(.is-live) { box-shadow: 0 0 0 3px var(--pink), 0 0 0 6px #fff, 0 8px 22px rgba(0, 0, 0, .22); }
.insight-cards .insight-soon { align-self: flex-start; margin-top: auto; padding: .3rem .75rem; border: 2px solid var(--pink-ink); border-radius: 999px; color: var(--pink-ink); font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.soon-blue .insight-soon { border-color: var(--blue); color: var(--blue); }
.insight-cards { gap: 1.6rem; }
/* Ingrid chose option 1 (blue). Hover on computers and tap on phones turn the blue line and badge pink (option 2); black outline stays black. */
.soon-blue .insight-card:not(.is-live):hover, .soon-blue .insight-card:not(.is-live):focus-visible,
.soon-blue .insight-card:not(.is-live):active, .soon-blue .insight-card:not(.is-live).is-pressed { border-color: #000; box-shadow: 0 0 0 3px var(--pink), 0 0 0 6px #fff, 0 8px 22px rgba(0, 0, 0, .22); }
.soon-blue .insight-card:not(.is-live):hover .insight-soon, .soon-blue .insight-card:not(.is-live):focus-visible .insight-soon,
.soon-blue .insight-card:not(.is-live):active .insight-soon, .soon-blue .insight-card:not(.is-live).is-pressed .insight-soon { border-color: var(--pink-ink); color: var(--pink-ink); }
/* "Read More" text slightly larger (Ingrid, Nov 30) */
.insight-more { font-size: 1.08rem; padding: .6rem 1.3rem; }
/* All Insights tiles (Ingrid approved Nov 30): published tiles use the same option 1 outline as coming-soon tiles: black, blue line, white line; pink on hover/tap */
.soon-blue .insight-card.is-live { border-color: #000; box-shadow: 0 0 0 3px var(--blue), 0 0 0 6px #fff, 0 8px 22px rgba(0, 0, 0, .22); }
.soon-blue .insight-card.is-live:hover, .soon-blue .insight-card.is-live:focus-visible,
.soon-blue .insight-card.is-live:active, .soon-blue .insight-card.is-live.is-pressed { border-color: #000; box-shadow: 0 0 0 3px var(--pink), 0 0 0 6px #fff, 0 8px 22px rgba(0, 0, 0, .22); }
/* Insights page: tighter top so the articles start sooner (Ingrid, Nov 30) */
.insights-hero { padding-bottom: 2.25rem; }
.insights-faq-section { padding-block: clamp(1.5rem, 3vw, 2.25rem); }
.insights-faq { display: flex; align-items: center; justify-content: space-between; gap: 1rem 2rem; flex-wrap: wrap; padding: 1.1rem 1.5rem; }
.insights-faq h2 { font-size: clamp(1.35rem, 1vw + 1rem, 1.7rem); margin: 0 0 .25rem; }
.insights-faq-text p { margin: 0; }
.insights-faq .insights-faq-btn { margin: 0; flex: none; }
.insights-articles { padding-top: clamp(1.75rem, 4vw, 3rem); }
/* Coming-soon tiles keep their own short height, even in a row with a taller live article (Ingrid, Nov 30) */
.insight-cards li:has(> .insight-card:not(.is-live)) { align-self: start; }
.insight-cards .insight-card:not(.is-live) { height: auto; min-height: 15.5rem; }
/* Smaller titles on Insights and article pages so content starts sooner (Ingrid, Nov 30) */
.insights-hero, .article-hero { padding-top: 1.75rem; padding-bottom: 2rem; }
.insights-hero h1, .article-hero h1 { font-size: clamp(2rem, 2.2vw + 1.25rem, 2.9rem); max-width: 28ch; margin-bottom: .4em; }
.insights-hero .lead { margin-bottom: 0; }
/* Article titles: wider, centered on computers and tablets, left-aligned on phones (Ingrid, Nov 30) */
.article-hero h1 { max-width: 1120px; }
@media (min-width: 700px) {
  .article-hero h1 { margin-inline: auto; text-align: center; }
  .article-hero p { text-align: center; }
}
/* "What makes a website rank high?" diagram: 5 Google signals (Dec 3) */
.rank-map { background: #000; color: #fff; padding: clamp(1.4rem, 3vw, 2.2rem); border-top: 4px solid var(--pink); }
.rank-map-title { margin: 0 0 1.4rem; text-align: center; font-size: clamp(1.3rem, 1vw + 1rem, 1.7rem); font-weight: 700; }
.rank-map-title span { display: block; font-size: .95rem; font-weight: 400; letter-spacing: .08em; text-transform: uppercase; color: var(--aqua); margin-top: .2rem; }
.rank-signals { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 1rem; }
.rank-signal { background: var(--panel); border: 1px solid #333; border-bottom: 4px solid var(--blue); padding: 1.1rem 1rem 1.2rem; display: flex; flex-direction: column; }
.rank-signal:nth-child(even) { border-bottom-color: var(--pink); }
.rank-num { width: 2.2rem; height: 2.2rem; border-radius: 50%; background: var(--pink); color: #000; font-weight: 700; display: grid; place-items: center; margin-bottom: .7rem; }
.rank-name { font-size: 1.25rem; font-weight: 700; margin-bottom: .45rem; }
.rank-ask { color: var(--aqua); font-size: .98rem; line-height: 1.4; margin-bottom: .7rem; }
.rank-do { color: #e6e6e6; font-size: .95rem; line-height: 1.45; border-top: 1px solid #444; padding-top: .6rem; margin-top: auto; }
@media (max-width: 1000px) { .rank-signals { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) { .rank-signals { grid-template-columns: 1fr; } }
/* Insights article opening visuals (.viz): black panel, brand-colored cards, file previews (Dec 3) */
.viz-figure { margin-top: 0; }
.viz { background: #000; color: #fff; padding: clamp(1.3rem, 3vw, 2.1rem); border-top: 4px solid var(--pink); }
.viz-title { margin: 0 0 1.3rem; text-align: center; font-size: clamp(1.3rem, 1vw + 1rem, 1.7rem); font-weight: 700; line-height: 1.25; }
.viz-title span { display: block; font-size: .95rem; font-weight: 400; letter-spacing: .08em; text-transform: uppercase; color: var(--aqua); margin-top: .25rem; }
.viz-cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(var(--cols, 3), 1fr); gap: 1rem; }
.viz-card { background: var(--panel); border: 1px solid #333; border-bottom: 4px solid var(--blue); padding: 1.1rem 1rem 1.2rem; display: flex; flex-direction: column; }
.viz-card:nth-child(even) { border-bottom-color: var(--pink); }
.viz-num { width: 2.2rem; height: 2.2rem; border-radius: 50%; background: var(--pink); color: #000; font-weight: 700; display: grid; place-items: center; margin-bottom: .7rem; }
.viz-name { font-size: 1.2rem; font-weight: 700; margin-bottom: .4rem; }
.viz-ask { color: var(--aqua); font-size: .98rem; line-height: 1.4; margin-bottom: .6rem; }
.viz-text { color: #e6e6e6; font-size: .95rem; line-height: 1.45; }
.viz-text + .viz-text { margin-top: .45rem; }
.viz-do { color: #e6e6e6; font-size: .95rem; line-height: 1.45; border-top: 1px solid #444; padding-top: .6rem; margin-top: auto; }
.viz-files { display: grid; grid-template-columns: repeat(var(--cols, 2), 1fr); gap: 1rem; }
.viz-file { background: #111; border: 1px solid #333; margin: 0; }
.viz-file-name { display: flex; justify-content: space-between; gap: .6rem; background: var(--panel); border-bottom: 1px solid #333; padding: .55rem .9rem; font-weight: 700; font-size: .95rem; }
.viz-file-name span { color: var(--aqua); font-weight: 400; }
.viz-file pre { margin: 0; padding: .9rem; overflow-x: auto; font: .85rem/1.55 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; color: #f2f2f2; white-space: pre-wrap; word-break: break-word; }
.viz-file .c { color: var(--aqua); }
.viz-note { margin: 1.1rem 0 0; text-align: center; color: #e6e6e6; font-size: .95rem; }
.viz-note strong { color: var(--pink); }
@media (max-width: 1000px) { .viz-cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 760px) { .viz-cards, .viz-files { grid-template-columns: 1fr; } }
/* Numbered how-to steps inside Insights articles (pink number circles) */
.steps-list { list-style: none; counter-reset: step; padding: 0; margin: 1rem 0 1.6rem; }
.steps-list > li { counter-increment: step; position: relative; padding-left: 2.9rem; margin-bottom: 1rem; }
.steps-list > li::before { content: counter(step); position: absolute; left: 0; top: .05rem; width: 2rem; height: 2rem; border-radius: 50%; background: #000; color: #fff; font-weight: 700; display: grid; place-items: center; font-size: 1rem; box-shadow: 0 0 0 3px var(--pink); }
.art-figure .viz-file-name { color: #fff; text-align: left; margin: 0; font-size: .95rem; }
.viz-cards > *, .viz-files > * { min-width: 0; }
.article-body { overflow-wrap: anywhere; }
.viz-file-name { flex-wrap: wrap; } .viz-file-name span { overflow-wrap: anywhere; min-width: 0; }
/* HEX color demo (What is a HEX color? article) */
.hex-demo { display: flex; align-items: center; justify-content: center; gap: 1.2rem; flex-wrap: wrap; margin: 0 0 1.3rem; }
.hex-swatch { width: 4.5rem; height: 4.5rem; border-radius: 50%; background: #fd2ba9; box-shadow: 0 0 0 4px #fff; }
.hex-code { margin: 0; font: 700 clamp(2.2rem, 5vw, 3.4rem)/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; letter-spacing: .06em; }
.hex-hash { color: #bdbdbd; }
.hex-r { color: #ff8a8a; } .hex-g { color: #9fe39f; } .hex-b { color: var(--aqua); }
.viz-name.viz-stat { font-size: clamp(2rem, 3vw, 2.6rem); line-height: 1.1; color: var(--pink); }
.art-photo img { width: 100%; height: auto; display: block; }
/* Accessibility disclaimer (ADA service page and accessibility articles): ADA blue, bold, own paragraph */
.disclaimer { color: var(--blue); font-weight: 700; border-left: 4px solid var(--blue); padding: .2rem 0 .2rem 1rem; margin: 1.4rem 0; }
.art-scale .scale-svg { display: block; width: 100%; height: auto; }
.art-scale .scale-svg text { font-family: var(--font); }
.stats-figure { margin-top: 1rem; margin-bottom: 2.5rem; }
/* Articles: tight gap between the black title banner and the first image (Ingrid, Dec 4) */
.article-section { padding-top: clamp(1rem, 2vw, 1.5rem); }
.article-section > .art-figure:first-child { margin-top: 0; }

/* Article pages: brief top navigation (Ingrid, Dec 4): back to all articles, previous and next */
.article-topnav { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: .6rem 1rem; margin-bottom: 1.1rem; font-size: .92rem; font-weight: 600; }
.article-topnav a { color: #fff; text-decoration: none; padding: .45rem .9rem; border: 2px solid var(--aqua); border-radius: 999px; line-height: 1.2; display: inline-flex; gap: .4rem; align-items: center; min-height: 44px; }
.article-topnav a:hover, .article-topnav a:focus-visible { border-color: var(--pink); color: #fff; }
.article-topnav a:active { background: var(--aqua); color: #000; }
.topnav-arrows { display: inline-flex; gap: .6rem; }
