/* ============================================================
   AISOdog · MASTER STYLESHEET
   Organized: Variables → Reset → Layout → Nav → Typography →
   Hero → Sections → Components → Page-Specific → Media Queries → Animations
   ============================================================ */


/* ── VARIABLES ── */
:root {
  --navy:   #0B1F3A;
  --teal:   #009999;
  --accent: #1DBBBB;
  --mint:   mintcream;
  --steel:  lightsteelblue;
  --muted:  #546E7A;
  --text:   #22333B;
  --border: #c2dede;
}


/* ── RESET ── */
*, *::before, *::after {
  font-family: 'Trebuchet MS', Helvetica, sans-serif;
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}


/* ── BODY / LAYOUT ── */
body {
  display: grid;
  grid-template-rows: auto 1fr auto;
  min-height: 100dvh;
  background: mintcream;
  color: var(--text);
  line-height: 1.68;
}

main { padding: 0; }


/* ── NAV ── */
nav {
  background: teal;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 100;
}

nav img { height: 42px; }

nav ul {
  list-style: none;
  display: flex;
  gap: 0;
}

nav ul li a {
  color: mintcream;
  text-decoration: none;
  padding: .6rem 1.1rem;
  display: block;
  font-size: .95rem;
  transition: background .15s;
}

nav ul li a:hover { background: rgba(255,255,255,.15); }

#myLinks {
  display: none;
  list-style: none;
  width: 100%;
  text-align: center;
  background: teal;
}

#myLinks li a {
  display: block;
  color: mintcream;
  padding: 2vh 2rem;
  text-decoration: none;
  font-size: 1.1rem;
  transition: background .15s;
}

#myLinks li a:hover { background: rgba(255,255,255,.15); }

.menu-image {
  width: 15vw;
  height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.breadcrumb {
  background: #fff;
  border-bottom: 1px solid #d4e6e6;
  padding: .55rem 1.5rem;
  font-size: .8rem;
  color: var(--muted);
}

.breadcrumb a { color: var(--teal); text-decoration: none; }


/* ── TYPOGRAPHY ── */
h1, h2, h3 {
  color: navy;
  text-align: center;
  margin: 1rem;
}

h2 {
  font-size: clamp(1.3rem, 3vw, 1.75rem);
  margin-bottom: .6rem;
}

p {
  color: teal;
  margin: 1vh 5vw 3vh;
  line-height: 1.65;
}

hr { border: none; border-top: 1px solid #cde0e0; margin: 0; }


/* ── FOOTER ── */
footer {
  background: teal;
  color: #fff;
  text-align: center;
  padding: .9rem 1.5rem;
  font-size: .82rem;
}

footer a { color: lightsteelblue; }


/* ============================================================
   HERO
   NOTE: .hero background varies by page.
   Index uses url("images/redwoodHeroStatic.png") + .hero--imgbg.
   All other pages use navy or gradient — set per page via inline
   style or a page-specific override class.
   ============================================================ */

.hero {
  text-align: center;
  padding: 5rem 1.5rem 4rem;
  position: relative;
  overflow: hidden;
  background: navy;
}

/* Striped texture overlay — all pages except index */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    -45deg,
    transparent, transparent 40px,
    rgba(0,128,128,0.04) 40px,
    rgba(0,128,128,0.04) 80px
  );
  pointer-events: none;
}

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

/* Index hero: background image + dark vignette overlay */
.hero--imgbg {
  background: url("images/redwoodHeroStatic.png") center top / cover no-repeat;
  background-color: #0a2a3a;
  display: grid;
  align-items: center;
  justify-items: center;
  position: relative;
  overflow: hidden;
  text-align: center;
  padding: 5rem 1.5rem 4rem;
}

.hero--imgbg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0,32,64,0.55) 0%,
    rgba(0,32,64,0.35) 60%,
    rgba(0,32,64,0.65) 100%
  );
  pointer-events: none;
}

/* Case study gradient hero */
.hero--gradient {
  background: linear-gradient(135deg, var(--navy) 0%, #0d2a45 55%, #0a3040 100%);
}

.hero--gradient::after {
  background: repeating-linear-gradient(
    -50deg,
    transparent, transparent 60px,
    rgba(29,187,187,.025) 60px,
    rgba(29,187,187,.025) 120px
  );
}

/* Hero inner wrapper (case study pages) */
.hi {
  max-width: 840px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

/* Eyebrow labels */
.hero-eyebrow {
  display: inline-block;
  background: rgba(0,128,128,0.75);
  color: mintcream;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.35rem 1.1rem;
  border-radius: 3px;
  margin-bottom: 1.2rem;
  border: 1px solid rgba(173,216,230,0.4);
}

/* Case study eyebrow (variable-based) */
.eyebrow {
  display: inline-block;
  background: rgba(29,187,187,.18);
  border: 1px solid rgba(29,187,187,.4);
  color: var(--accent);
  font-size: .72rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: .32rem .9rem;
  border-radius: 3px;
  margin-bottom: 1.3rem;
}

/* Index hero headline */
.highlightH {
  color: mintcream;
  text-shadow: 2px 3px 12px rgba(0,0,80,0.7);
  font-size: clamp(2rem, 5vw, 3.6rem);
  line-height: 1.15;
  max-width: 800px;
  margin: 0 auto 1rem;
}

.highlightH span { color: lightsteelblue; }

/* Index hero subhead */
.highlightP {
  color: mintcream;
  text-shadow: 1px 1px 6px rgba(0,0,80,0.6);
  font-size: clamp(1rem, 2.5vw, 1.4rem);
  max-width: 620px;
  margin: 0 auto 2rem;
  line-height: 1.55;
  opacity: 0.93;
}

/* Standard hero h1 */
.hero h1 {
  color: #fff;
  font-size: clamp(1.8rem, 4vw, 2.9rem);
  line-height: 1.14;
  max-width: 780px;
  margin: 0 auto 1rem;
}

.hero h1 span { color: lightsteelblue; }
.hero h1 em { color: var(--accent); font-style: normal; }

/* Standard hero subtext */
.hero p {
  color: rgba(255,255,255,.78);
  max-width: 560px;
  margin: 0 auto 2.2rem;
  font-size: 1.03rem;
}

.hero-sub {
  color: rgba(255,255,255,.75);
  font-size: 1.03rem;
  max-width: 580px;
  margin: 0 0 2.2rem;
}

/* Case study meta row */
.hero-meta { display: flex; flex-wrap: wrap; gap: 1.4rem; }
.mi { display: flex; flex-direction: column; gap: .15rem; }
.ml { font-size: .69rem; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.42); text-align: left;}
.mv { font-size: .92rem; color: rgba(255,255,255,.88); font-weight: bold; }

/* Index proof badges */
.hero-proof {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem 1.4rem;
  margin-bottom: 2rem;
}

.hero-proof-item {
  background: rgba(0,128,128,0.5);
  border: 1px solid rgba(173,216,230,0.35);
  color: mintcream;
  font-size: 0.82rem;
  padding: 0.3rem 0.85rem;
  border-radius: 20px;
  letter-spacing: 0.04em;
}
.hero-buttons {
  text-align: center;
}
/* Hero CTA buttons */
.hero-buttons a {
  display: inline-block;
  background: var(--teal);
  color: #fff;
  padding: 11px 26px;
  margin: 6px;
  text-decoration: none;
  border-radius: 6px;
  font-size: 1rem;
  transition: background 0.2s, transform 0.15s;
}

.hero-buttons a:hover { background: #006666; transform: translateY(-2px); }

.hero-buttons a.secondary,
.hero-buttons a.outline {
  background: transparent;
  border: 2px solid mintcream;
  color: mintcream;
}

.hero-buttons a.secondary:hover,
.hero-buttons a.outline:hover { background: rgba(255,255,255,0.12); }


/* ── SECTION WRAPPERS ── */
.section {
  max-width: 1100px;
  margin: 3rem auto;
  padding: 0 1.5rem;
}

.section-dark {
  background: navy;
  padding: 4rem 1.5rem;
}

.section-dark h2 { color: lightsteelblue; }
.section-dark h3 { color: mintcream; }
.section-dark p  { color: mintcream; opacity: 0.85; }

.section-tint {
  background: linear-gradient(#f0fafa, #e4f4f4);
  padding: 4rem 1.5rem;
}

.section-inner { max-width: 980px; margin: 0 auto; }

.section-sub {
  text-align: center;
  color: var(--muted);
  max-width: 600px;
  margin: 0 auto 2.8rem;
  font-size: .95rem;
  line-height: 1.65;
}

.center { text-align: center; }

/* Section content blocks (case study pages) */
section { padding: 3.2rem 1.5rem; }
section h2 { font-size: 1.5rem; color: var(--navy); margin: 0 0 .9rem; line-height: 1.2; }
section h3 { font-size: .82rem; color: var(--teal); margin: 1.8rem 0 .45rem; text-transform: uppercase; letter-spacing: .08em; }
section p { color: var(--text); font-size: 1rem; line-height: 1.72; margin-bottom: 1.05rem; }
section p:last-child { margin-bottom: 0; }

.wrap { max-width: 820px; margin: 0 auto; padding: 0 1.5rem; }

.sl {
  display:block;
  margin:0 auto;
  width: 9vw;
  text-align: center;
  background: var(--accent);
  color: #fff;
  font-size: .68rem;
  font-weight: bold;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: .28rem .75rem;
  border-radius: 3px;
  margin-bottom: .8rem;
}


/* ── METRICS BAR (case study pages) ── */
.mbar { background: var(--navy); padding: 1.8rem 1.5rem; }

.mbar-in {
  max-width: 980px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: .9rem;
}

.tile {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(29,187,187,.2);
  border-top: 3px solid var(--accent);
  border-radius: 6px;
  padding: 1.1rem 1.2rem;
  text-align: center;
}

.tile .n { font-size: 2rem; font-weight: bold; color: var(--accent); line-height: 1; display: block; margin-bottom: .25rem; }
.tile .l { font-size: .73rem; color: rgba(255,255,255,.58); text-transform: uppercase; letter-spacing: .08em; line-height: 1.4; }


/* ── STATS (index) ── */
.stats {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.stat {
  background: linear-gradient(145deg, #fdfefe, #ddf0f0);
  padding: 2rem;
  text-align: center;
  border-radius: 6px;
  border-top: 3px solid teal;
  transition: transform 0.2s;
}

.stat:hover { transform: translateY(-3px); }

.stat h2 {
  font-size: clamp(2rem, 5vw, 2.8rem);
  color: navy;
  margin-bottom: 0.25rem;
}

.stat p { color: teal; font-size: 0.95rem; margin: 0; }

.stat .stat-sub {
  display: block;
  font-size: 0.75rem;
  color: steelblue;
  margin-top: 0.3rem;
  opacity: 0.85;
}


/* ── PROOF STRIP (index) ── */
.proof-strip {
  background: navy;
  padding: 2.5rem 1rem;
  text-align: center;
}

.proof-strip h2 { color: lightsteelblue; margin-bottom: 0.5rem; }

.proof-strip p {
  color: mintcream;
  max-width: 680px;
  margin: 0 auto 1.5rem;
  font-size: 1.05rem;
  opacity: 0.9;
}

.proof-strip a {
  display: inline-block;
  background: teal;
  color: white;
  padding: 11px 26px;
  text-decoration: none;
  border-radius: 6px;
  font-size: 1rem;
  transition: background 0.2s;
}

.proof-strip a:hover { background: #006666; }


/* ── PROOF BAR (portfolio) ── */
.proof-bar { background: var(--teal); padding: 1.4rem 1.5rem; text-align: center; }

.proof-bar-inner {
  max-width: 980px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1.2rem 2.4rem;
}

.pb-stat { text-align: center; }
.pb-val { display: block; font-size: 1.45rem; font-weight: bold; color: white; line-height: 1; }
.pb-label { font-size: .68rem; color: navy; text-transform: uppercase; letter-spacing: .08em; }
.pb-divider { width: 1px; height: 36px; background: rgba(255,255,255,.12); display: none; }
.pb-note { font-size: .78rem; color: navy; max-width: 480px; line-height: 1.55; text-align: center; }


/* ── PROCESS (index) ── */
.process {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
  text-align: center;
}

.process-step { margin: 1rem; position: relative; }

.step-num {
  display: inline-block;
  width: 36px;
  height: 36px;
  line-height: 36px;
  background: teal;
  color: white;
  border-radius: 50%;
  font-weight: bold;
  margin: 0.75rem;
  font-size: 0.95rem;
}


/* ── DARK SECTION (case studies) ── */
.dark { background: var(--navy); padding: 3.2rem 1.5rem; }
.dark h2 { color: lightsteelblue; font-size: 1.45rem; margin: 0 0 .9rem; }
.dark h3 { color: var(--accent); font-size: .82rem; text-transform: uppercase; letter-spacing: .08em; margin: 1.8rem 0 .45rem; }
.dark p { color: rgba(255,255,255,.8); font-size: .97rem; line-height: 1.72; margin-bottom: 1rem; }
.dark p:last-child { margin-bottom: 0; }


/* ── CALLOUTS ── */
.callout {
  background: #EAF7F7;
  border-left: 4px solid var(--accent);
  border-radius: 0 6px 6px 0;
  padding: 1.3rem 1.5rem;
  margin: 1.8rem 0;
}

.callout p { color: var(--navy); margin: 0; font-size: .97rem; line-height: 1.68; }
.callout strong { color: var(--teal); }

.callout-dark {
  background: var(--navy);
  border-left: 4px solid var(--accent);
  border-radius: 0 6px 6px 0;
  padding: 1.5rem 1.7rem;
  margin: 1.8rem 0;
}

.callout-dark p { color: rgba(255,255,255,.83); margin: 0; font-size: .97rem; line-height: 1.7; }


/* ── CHART CONTAINERS (case studies) ── */
.chart {
  margin: 2.2rem 0;
  background: #fff;
  border: 1px solid #c2dede;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 14px rgba(0,70,70,.07);
}

.chart img { width: 100%; display: block; }

.cap {
  font-size: .75rem;
  color: #7a9a9a;
  padding: .65rem 1rem;
  border-top: 1px solid #d4e6e6;
  background: #F7FDFD;
  text-align: center;
}


/* ── CTA ── */
.cta {
  background: linear-gradient(135deg, var(--teal), #005555);
  padding: 3.5rem 1.5rem;
  text-align: center;
}

.cta h2 { color: var(--mint); font-size: clamp(1.25rem, 3vw, 1.75rem); margin: 0 0 .7rem; }
.cta p { color: rgba(255,255,255,.82); max-width: 460px; margin: 0 auto 1.4rem; font-size: .97rem; }
.cta a { display: inline-block; background: var(--navy); color: #fff; padding: 11px 28px; text-decoration: none; border-radius: 5px; font-size: .97rem; font-weight: bold; }
.cta a:hover { background: #0a1a30; }

.cta-strip {
  background: linear-gradient(135deg, teal 0%, #004d4d 100%);
  padding: 3.5rem 1.5rem;
  text-align: center;
}

.cta-strip h2 { color: mintcream; font-size: clamp(1.3rem, 3vw, 1.9rem); margin-bottom: .7rem; }
.cta-strip p  { color: rgba(255,255,255,.85); max-width: 500px; margin: 0 auto 1.5rem; }

.cta-strip a {
  display: inline-block;
  background: navy;
  color: #fff;
  padding: 12px 30px;
  text-decoration: none;
  border-radius: 5px;
  font-size: 1rem;
  transition: background .2s, transform .15s;
  margin: 5px;
}

.cta-strip a:hover { background: #051229; transform: translateY(-2px); }

.cta-strip a.outline {
  background: transparent;
  border: 2px solid rgba(255,255,255,.6);
  color: rgba(255,255,255,.88);
}

.cta-strip a.outline:hover { background: rgba(255,255,255,.1); }


/* ============================================================
   CARDS
   Three card variants exist across pages.
   .card (portfolio accordion) uses variable-based styles.
   .card (index/old pages) uses a lighter gradient bg.
   ============================================================ */

.cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.2rem;
  margin-top: 1rem;
}

/* Portfolio card */
.card {
  border: 1px solid var(--border);
  border-top: 4px solid var(--teal);
  padding: 2rem;
  background: #fff;
  border-radius: 6px;
  text-align: center;
  transition: box-shadow .2s, transform .2s;
}

.card:hover { box-shadow: 0 6px 22px rgba(0,100,100,.12); transform: translateY(-3px); }
.card h3 { color: var(--navy); margin-bottom: .5rem; }
.card p { color: #448; font-size: .9rem; line-height: 1.6; margin-bottom: 1.25rem; }

.card a {
  display: inline-block;
  color: var(--navy);
  background: var(--steel);
  text-decoration: none;
  border-radius: 50px;
  padding: 9px 22px;
  font-size: .9rem;
  font-weight: bold;
  transition: background .2s, color .2s;
}

.card a:hover { background: var(--navy); color: #fff; }

/* Old client-image card (legacy pages) */
.card img { width: 150px; height: 120px; object-fit: scale-down; }
.card div { color: teal; font-weight: bold; }


/* ── CLIENTS SECTION (portfolio) ── */
.clients-section {
  text-align: center;
  padding: 0 1.5rem 1rem;
  max-width: 980px;
  margin: 0 auto 3.5rem;
}

.clients-section h2 { margin-bottom: 1rem; }

.feature_image {
  width: 70vw;
  max-width: 680px;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 4px;
}


/* ── ACCORDION CASE STUDY CARDS (portfolio) ── */
.cs-stack { display: flex; flex-direction: column; gap: 1.2rem; }

.cs-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 3px 18px rgba(0,70,70,.07);
  transition: box-shadow .2s;
}

.cs-card:hover { box-shadow: 0 6px 28px rgba(0,70,70,.12); }

.cs-trigger {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 1rem;
  padding: 1.6rem 1.8rem;
  cursor: pointer;
  background: var(--navy);
  position: relative;
  overflow: hidden;
  border: none;
  width: 100%;
  text-align: left;
  transition: background .2s;
}

.cs-trigger::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(-45deg, transparent, transparent 30px, rgba(0,153,153,.05) 30px, rgba(0,153,153,.05) 60px);
  pointer-events: none;
}

.cs-trigger:hover { background: #0d2a45; }
.cs-trigger > * { position: relative; z-index: 1; }
.cs-trigger-left { flex: 1; }

.cs-tag {
  display: inline-block;
  background: rgba(29,187,187,.2);
  border: 1px solid rgba(29,187,187,.35);
  color: var(--accent);
  font-size: .68rem;
  letter-spacing: .11em;
  text-transform: uppercase;
  padding: .2rem .7rem;
  border-radius: 3px;
  margin-bottom: .6rem;
}

.cs-trigger h3 { color: #fff; font-size: clamp(1rem, 2.5vw, 1.25rem); line-height: 1.22; margin: 0 0 .5rem; text-align: left; }

.cs-headline { display: flex; align-items: baseline; gap: .6rem; flex-wrap: wrap; }
.cs-big { font-size: clamp(1.6rem, 3vw, 2.1rem); font-weight: bold; color: var(--accent); line-height: 1; }
.cs-big-label { font-size: .82rem; color: rgba(255,255,255,.6); }

.cs-chevron {
  width: 34px;
  height: 34px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform .25s, background .2s;
}

.cs-chevron svg { width: 16px; height: 16px; stroke: rgba(255,255,255,.7); fill: none; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; transition: transform .25s; }
.cs-card.open .cs-chevron svg { transform: rotate(180deg); }
.cs-card.open .cs-chevron { background: rgba(29,187,187,.25); }

.cs-panel { max-height: 0; overflow: hidden; transition: max-height .35s cubic-bezier(.4,0,.2,1); }
.cs-card.open .cs-panel { max-height: 900px; }

.cs-metrics { display: grid; grid-template-columns: repeat(2, 1fr); border-bottom: 1px solid var(--border); }

.metric {
  padding: 1.25rem 1rem;
  text-align: center;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  transition: background .15s;
}

.metric:hover { background: #f5fdfd; }
.metric:nth-child(2n) { border-right: none; }

.metric-value { display: block; font-size: clamp(1.35rem, 3vw, 1.9rem); font-weight: bold; color: var(--navy); line-height: 1.1; margin-bottom: .25rem; }
.metric-value.hi { color: var(--teal); }
.metric-label { font-size: .73rem; color: var(--muted); line-height: 1.4; text-transform: uppercase; letter-spacing: .05em; }

.cs-panel-body { padding: 1.8rem 1.8rem 2rem; }
.cs-panel-body p { color: #334; font-size: .95rem; line-height: 1.72; margin-bottom: 1.4rem; }

.cs-panel-cta {
  display: grid;
  background: var(--navy);
  color: #fff;
  padding: 10px 24px;
  border-radius: 5px;
  text-decoration: none;
  font-size: .92rem;
  font-weight: bold;
  transition: background .2s, transform .15s;
  text-align:center;
}

.cs-panel-cta:hover { background: #051229; transform: translateY(-1px); }

.cs-panel-cta.sec {
  background: transparent;
  border: 2px solid var(--navy);
  color: var(--navy);
  margin-left: .6rem;
}

.cs-panel-cta.sec:hover { background: var(--navy); color: #fff; }


/* ── OFFERINGS (services page) ── */
.offerings {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 70vw;
  margin: 0 auto;
}

.offering {
  background: white;
  border: 1px solid #c0dada;
  border-top: 4px solid teal;
  border-radius: 6px;
  padding: 2.5rem;
  transition: box-shadow 0.2s, transform 0.2s;
  text-align: center;
}

.offering:hover { box-shadow: 0 8px 28px rgba(0,100,100,0.13); transform: translateY(-3px); }
.offering.featured { border-top-color: navy; }

.offering-tag {
  display: inline-block;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: teal;
  background: #e0f4f4;
  padding: 0.2rem 0.65rem;
  border-radius: 3px;
  margin-bottom: 0.85rem;
}

.offering h3 { text-align: center; margin: 0 0 0.3rem; font-size: 1.35rem; }

.offering-price { font-size: 1.1rem; font-weight: bold; color: teal; margin-bottom: 1.1rem; }
.offering-price .price-note { font-size: 0.8rem; font-weight: normal; color: steelblue; margin-left: 0.4rem; }

.offering > p { color: #336; font-size: 0.97rem; line-height: 1.68; margin-bottom: 1.5rem; }

.offering-features {
  list-style: none;
  padding: 0;
  margin: auto;
  width: 50vw;
  border-top: 1px solid #ddeaea;
  padding-top: 1.1rem;
  display: grid;
  grid-template-columns: 1fr;
  text-align: left;
  gap: 0.5rem;
}

.offering-features li {
  font-size: 0.9rem;
  color: #225;
  position: relative;
  line-height: 1.5;
}

.offering-features li::before { content: '☑️ '; position: relative; left: 0;  font-size: 0.82rem; }

.offering-cta { margin-top: 0; padding-top: 1.75rem; }

.offering-cta a {
  display: inline-block;
  background: navy;
  color: white;
  padding: 11px 28px;
  border-radius: 6px;
  text-decoration: none;
  font-size: 0.97rem;
  font-weight: bold;
  transition: background 0.2s, transform 0.15s;
}

.offering-cta a:hover { background: #001a4d; transform: translateY(-1px); }
.offering-cta a.teal-btn { background: teal; }
.offering-cta a.teal-btn:hover { background: navy; }
.offering-cta a.navy-btn { background: navy; }
.offering-cta a.navy-btn:hover { background: #001a4d; transform: translateY(-1px); }
.sq-badge-wrap {display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;}

    .sq-badge-wrap::after {
      content: '↗ Opens in Square';
      font-size: 0.67rem;
      font-weight: 500;
      letter-spacing: 0.13em;
      text-transform: uppercase;
      color: rgba(91, 138, 245, 0.72);
      background: rgba(91, 138, 245, 0.08);
      border-color: rgba(91, 138, 245, 0.22);
      border: 1px solid rgba(255, 255, 255, 0.09);
      backdrop-filter: blur(6px);
      -webkit-backdrop-filter: blur(6px);
      padding: 3px 9px 3px 7px;
      border-radius: 3px;
      transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease;
    }

/* ── RETAINER STRUCTURE (services page) ── */
.retainer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.2rem;
  margin: 1.8rem auto;
  max-width: 860px;
}

.retainer-item {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(173,216,230,0.22);
  border-left: 4px solid teal;
  border-radius: 0 6px 6px 0;
  padding: 1.3rem 1.5rem;
}

.retainer-item h3 { text-align: center; margin: 0 0 0.4rem; font-size: 1rem; color: lightsteelblue; }
.retainer-item p { font-size: 0.9rem; opacity: 0.82; }


/* ── SERVICE MENU (services page) ── */
.menu-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.5rem;
  margin-top: 1.5rem;
  justify-items: stretch;
}

.menu-item {
  background: white;
  border: 1px solid #c0dada;
  border-radius: 6px;
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  transition: box-shadow 0.15s;
  justify-content: center;
  text-align: left;
}
.menu-info {
flex: 1; 
}

.menu-item:hover { box-shadow: 0 4px 16px rgba(0,100,100,0.1); }
.menu-icon { font-size: 3rem; flex-shrink: 0; }
.menu-item h3 { text-align: left; margin: 0 0 0.25rem; padding: 0; font-size: 0.97rem; color: navy; }
.menu-item p { font-size: 0.85rem; color: #448; line-height: 1.55; margin: 0; padding: 0;}


/* ── TEAM (services page) ── */
.team-grid {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 0.5rem;
}

.team-card {
  background: white;
  border: 1px solid #c0dada;
  border-radius: 6px;
  padding: 2rem;
  display: flex;
  gap: 1.5rem;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: box-shadow 0.2s, transform 0.2s;
}

.team-card:hover { box-shadow: 0 6px 22px rgba(0,100,100,0.11); transform: translateY(-2px); }

.team-avatar {
  flex-shrink: 0;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, teal, navy);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: white;
}

.team-card.lead .team-avatar { width: 80px; height: 80px; font-size: 2rem; background: linear-gradient(135deg, navy, #003366); border: 3px solid teal; }

.team-info h3 { text-align: center; margin: 0 0 0.15rem; font-size: 1.05rem; color: navy; }

.team-role {
  display: inline-block;
  font-size: 0.75rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: white;
  background: teal;
  padding: 0.18rem 0.65rem;
  border-radius: 3px;
  margin-bottom: 0.65rem;
}

.team-card.lead .team-role { background: navy; }
.team-info p { font-size: 0.88rem; color: #448; line-height: 1.6; }

.team-info .team-focus { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 0.75rem; justify-content: center; text-align: center;}

.focus-tag {
  font-size: 0.75rem;
  color: teal;
  background: #e8f7f7;
  border: 1px solid #b8dede;
  padding: 0.18rem 0.6rem;
  border-radius: 12px;
  text-align: center;
  }

.dog-card { background: linear-gradient(#fffdf8, #fff8ee); border-color: #d4c8a8; border-top: 2px dashed #c8a96e; }
.dog-avatar { background: linear-gradient(135deg, #c8a96e, #a07840) !important; }
.dog-role { background: #a07840 !important; }


/* ── BIO (services page) ── */
.bio-grid { display: flex; grid-template-columns: 1fr; gap: 2rem; align-items: start; max-width: 100vw; margin: 0 auto; }
.bio-photo { width: 100%; max-width: 220px; border-radius: 6px; display: grid; margin: 0 auto; border: 3px solid teal; }
.bio-text h2 { text-align: center; margin-left: 0; }
.bio-text p  { color: #336; margin-bottom: 1rem; }

.bio-credentials { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.75rem; }

.cred-tag {
  background: #e0f4f4;
  color: navy;
  font-size: 0.78rem;
  padding: 0.28rem 0.7rem;
  border-radius: 20px;
  border: 1px solid #b0d8d8;
}


/* ── OFFERS (contact/order page) ── */
.offers {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 70vw;
  margin: 3rem auto;
}

.offer {
  background: white;
  border: 1px solid #c0dada;
  border-left: 4px solid steelblue;
  border-radius: 6px;
  padding: 1.75rem;
  display: grid;
  gap: 0.85rem;
  transition: box-shadow 0.2s, transform 0.15s;
}

.offer:hover { box-shadow: 0 6px 20px rgba(0,100,100,0.11); transform: translateY(-2px); }
.offer.featured { border-left-color: teal; border-top: 3px solid teal; }

.offer-head { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 0.4rem; }
.offer-head h2 { text-align: center; margin: 0; font-size: 1.1rem; color: navy; }
.offer-head .price { font-weight: bold; color: teal; font-size: 1rem; white-space: nowrap; }
.offer-head .price span { font-size: 0.78rem; font-weight: normal; color: steelblue; margin-left: 0.3rem; }

.offer p { color: #336; font-size: 0.92rem; line-height: 1.6; margin: 0; }

.offer .credit-note {
  font-size: 0.8rem;
  color: teal;
  background: #e8f7f7;
  padding: 0.25rem 0.7rem;
  border-radius: 3px;
  border: 1px solid #b8dede;
  display: inline-block;
}

.offer a.btn {
  display: inline-block;
  padding: 10px 22px;
  border-radius: 6px;
  text-decoration: none;
  font-size: 0.93rem;
  font-weight: bold;
  transition: background 0.2s, transform 0.12s;
  align-self: start;
  justify-self: start;
}

.btn-primary   { background: navy; color: white; }
.btn-primary:hover  { background: #001a4d; transform: translateY(-1px); }
.btn-secondary { background: teal; color: white; }
.btn-secondary:hover { background: #006666; transform: translateY(-1px); }
.btn-ghost     { background: transparent; color: navy; border: 2px solid #c0cce0; }
.btn-ghost:hover     { background: #f0f4ff; border-color: navy; }

/* General .btn (legacy) */
.btn {
  display: inline-block;
  text-align: center;
  color: white;
  background-color: teal;
  text-decoration: none;
  outline: 2px solid lightsteelblue;
  border-radius: 50px;
  padding: 10px;
}

.btn:hover { background-color: navy; outline: 2px solid white; }

.or-divider {
  text-align: center;
  color: #aab;
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin: 0.25rem 0;
}

.direct { max-width: 600px; margin: 0.5rem auto 3.5rem; padding: 0 1.5rem; text-align: center; }
.direct h2 { font-size: 1rem; color: teal; margin-bottom: 1rem; font-weight: normal; }

.direct-links { list-style: none; display: grid; grid-template-columns: 1fr; gap: 0.85rem; }

.direct-links li a {
  display: block;
  background: teal;
  color: white;
  font-size: 1rem;
  text-decoration: none;
  padding: 0.8rem 1.5rem;
  border-radius: 6px;
  transition: background 0.2s;
}

.direct-links li a:hover { background: navy; }


/* ── TABLE / FILTER PAGE ── */
.filter-container { text-align: center; margin-bottom: 1rem; }

.filter-container input {
  padding: .5rem;
  width: 80%;
  max-width: 500px;
  border: 2px solid teal;
  border-radius: 8px;
}

table { width: 95vw; border-collapse: collapse; margin-top: 1rem; }

th, td { padding: .75rem 1rem; border-bottom: 1px solid rgba(0,0,0,.15); text-align: left; }

th { background: linear-gradient(#fdfefe, #e8f4f4); cursor: pointer; position: relative; }
th.sort-asc::after  { content: " ▲"; font-size: .7rem; }
th.sort-desc::after { content: " ▼"; font-size: .7rem; }

tbody tr:hover { background-color: rgba(31,182,178,.1); }


/* ── FEATURED CASE STUDY (legacy portfolio) ── */
.featured-case-study { max-width: 900px; margin: 0 auto; }

.case-study-card { border: 1px solid #ddd; border-radius: 12px; padding: 2rem; }
.case-study-summary { font-size: 1.1rem; margin-bottom: 1rem; }

.case-study-metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1.25rem;
  margin: 1.5rem 0;
}

.case-study-focus { margin-top: 1rem; font-size: 0.9rem; opacity: 0.85; }


/* ── INTERIM SECTION (CS2 page) ── */
.interim { background: linear-gradient(135deg, #0d2a45, #0a3f40); padding: 3.2rem 1.5rem; border-top: 3px solid var(--accent); }
.interim h2 { color: #fff; font-size: 1.45rem; margin: 0 0 .5rem; }
.interim .sub { color: rgba(255,255,255,.55); font-size: .85rem; margin-bottom: 1.8rem; }
.interim p { color: rgba(255,255,255,.8); font-size: .97rem; line-height: 1.72; margin-bottom: 1rem; }
.interim p:last-child { margin-bottom: 0; }
.interim h3 { color: var(--accent); font-size: .82rem; text-transform: uppercase; letter-spacing: .08em; margin: 1.8rem 0 .45rem; }

.six-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: .9rem; margin: 1.5rem 0; }
.six-tile { background: rgba(255,255,255,.07); border: 1px solid rgba(29,187,187,.25); border-top: 3px solid var(--accent); border-radius: 6px; padding: 1.1rem 1.2rem; text-align: center; }
.six-tile .n { font-size: 1.8rem; font-weight: bold; color: var(--accent); line-height: 1; display: block; margin-bottom: .2rem; }
.six-tile .l { font-size: .72rem; color: rgba(255,255,255,.55); text-transform: uppercase; letter-spacing: .08em; line-height: 1.4; }
.six-tile .d { font-size: .72rem; color: rgba(255,255,255,.38); margin-top: .2rem; }

/* Article proof card */
.article-proof { background: #fff; border: 1px solid #c2dede; border-radius: 8px; overflow: hidden; margin: 2rem 0; box-shadow: 0 2px 14px rgba(0,70,70,.07); }
.ap-head { background: var(--navy); padding: 1rem 1.4rem; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .5rem; }
.ap-title { color: #fff; font-size: .88rem; font-weight: bold; }
.ap-url { color: rgba(255,255,255,.45); font-size: .7rem; font-family: monospace; word-break: break-all; }
.ap-body { display: grid; grid-template-columns: 1fr 1fr; gap: 0; }
.ap-col { padding: 1.3rem 1.4rem; }
.ap-col.before { border-right: 1px solid #d4e6e6; }
.ap-badge { display: inline-block; font-size: .67rem; font-weight: bold; letter-spacing: .1em; text-transform: uppercase; padding: .2rem .55rem; border-radius: 3px; margin-bottom: .8rem; }
.ap-col.before .ap-badge { background: #c05050; color: #fff; }
.ap-col.after  .ap-badge { background: var(--teal); color: #fff; }
.ap-kw { font-size: 2.8rem; font-weight: bold; line-height: 1; margin-bottom: .2rem; }
.ap-col.before .ap-kw { color: #c05050; }
.ap-col.after  .ap-kw { color: var(--teal); }
.ap-klabel { font-size: .75rem; color: var(--muted); margin-bottom: .9rem; }
.ap-stats { display: flex; flex-direction: column; gap: .3rem; }
.ap-stat { font-size: .8rem; color: var(--text); }
.ap-stat span { font-weight: bold; color: var(--navy); }
.ap-desc { font-size: .82rem; color: var(--muted); margin-top: .8rem; line-height: 1.55; font-style: italic; }

/* Yield bar */
.yield-bar { background: #fff; border: 1px solid #c2dede; border-radius: 8px; padding: 1.5rem; margin: 1.8rem 0; }
.yield-bar h4 { font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: var(--navy); margin-bottom: 1rem; font-weight: bold; }
.yb-row { display: flex; align-items: center; gap: .8rem; margin-bottom: .6rem; }
.yb-label { font-size: .8rem; color: var(--text); width: 80px; flex-shrink: 0; }
.yb-track { flex: 1; background: #e4eeee; border-radius: 3px; height: 22px; overflow: hidden; }
.yb-fill { height: 100%; border-radius: 3px; display: flex; align-items: center; padding-left: .5rem; }
.yb-fill span { font-size: .72rem; font-weight: bold; color: #fff; white-space: nowrap; }
.yb-pct { font-size: .8rem; font-weight: bold; width: 42px; text-align: right; flex-shrink: 0; }

/* Before/after comparison */
.ba { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; margin: 1.8rem 0; align-items: center; }
.bc { border-radius: 8px; padding: 1.6rem; text-align: center; }
.bc.before { background: #fff; border: 2px solid #e8c8c8; }
.bc.after  { background: #EAF7F7; border: 2px solid var(--accent); }
.bp { font-size: .7rem; text-transform: uppercase; letter-spacing: .1em; margin-bottom: .4rem; }
.bc.before .bp { color: #b05050; }
.bc.after  .bp { color: var(--teal); }
.bnum { font-size: 3rem; font-weight: bold; line-height: 1; margin-bottom: .2rem; }
.bc.before .bnum { color: #c05050; }
.bc.after  .bnum { color: var(--accent); }
.bdesc { font-size: .8rem; color: var(--muted); line-height: 1.5; }

/* Bar chart */
.bar-chart { background: #fff; border: 1px solid #c2dede; border-radius: 8px; padding: 1.4rem; margin: 2rem 0; }
.bar-chart h3 { font-size: .82rem; text-transform: uppercase; letter-spacing: .08em; color: var(--navy); margin-bottom: 1.1rem; font-weight: bold; }
.brow { display: flex; gap: .35rem; align-items: flex-end; height: 130px; }
.bi { flex: 1; display: flex; flex-direction: column; align-items: center; gap: .18rem; }
.bw { width: 100%; flex: 1; display: flex; align-items: flex-end; }
.bf { width: 100%; border-radius: 3px 3px 0 0; }
.bm { font-size: .65rem; color: var(--muted); text-align: center; }
.bv { font-size: .6rem; color: var(--navy); font-weight: bold; text-align: center; }
.leg { display: flex; gap: 1.2rem; margin-top: .8rem; font-size: .72rem; }
.li { display: flex; align-items: center; gap: .35rem; }
.ld { width: 10px; height: 10px; border-radius: 2px; }

/* Scrollable table (CS2) */
.tw { overflow-x: auto; margin: 1.8rem 0; }
.tt { width: 100%; border-collapse: collapse; font-size: .77rem; min-width: 680px; }
.tt th { background: var(--navy); color: #fff; padding: .55rem .75rem; text-align: left; letter-spacing: .05em; font-weight: bold; }
.tt td { padding: .5rem .75rem; border-bottom: 1px solid #d4e6e6; color: var(--text); vertical-align: top; }
.tt .sr td { background: #fff8f8; }
.tt .sr td:first-child { border-left: 3px solid #c05050; }
.sb { display: inline-block; background: #c05050; color: #fff; font-size: .58rem; padding: .08rem .38rem; border-radius: 2px; margin-left: .3rem; vertical-align: middle; letter-spacing: .06em; text-transform: uppercase; }


/* ── PHASES / PROCESS GRID (CS3 page) ── */
.phases { display: grid; grid-template-columns: 1fr; gap: 1rem; margin: 1.8rem 0; }

.phase { display: flex; gap: 1rem; background: #fff; border: 1px solid #c2dede; border-radius: 6px; padding: 1.2rem 1.4rem; align-items: flex-start; }
.phase-num { flex-shrink: 0; background: var(--navy); color: var(--accent); border-radius: 5px; padding: .35rem .7rem; font-size: .75rem; font-weight: bold; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; }
.phase-body h4 { font-size: .9rem; color: var(--navy); margin: 0 0 .3rem; font-weight: bold; }
.phase-body p { font-size: .88rem; color: var(--muted); line-height: 1.6; margin: 0; }

.process-grid { display: grid; grid-template-columns: 1fr; gap: 1rem; margin: 1.8rem 0; }

.step { display: flex; gap: 1rem; background: rgba(255,255,255,.06); border: 1px solid rgba(29,187,187,.2); border-radius: 6px; padding: 1.2rem 1.4rem; align-items: flex-start; }
/* NOTE: .step-num also used on index page as inline-block circle — these rules extend it */
.step .step-num { width: 34px; height: 34px; background: var(--accent); color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: bold; font-size: .9rem; line-height: unset; }
.step-body h4 { font-size: .9rem; color: rgba(255,255,255,.95); margin: 0 0 .3rem; font-weight: bold; }
.step-body p { font-size: .87rem; color: rgba(255,255,255,.7); line-height: 1.6; margin: 0; }

.params-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .9rem; margin: 1.8rem 0; }
.param { background: #fff; border: 1px solid #c2dede; border-radius: 6px; padding: 1.1rem 1.2rem; text-align: center; }
.param .pv { font-size: 1.45rem; font-weight: bold; color: var(--navy); line-height: 1; display: block; margin-bottom: .2rem; }
.param .pl { font-size: .73rem; color: var(--muted); text-transform: uppercase; letter-spacing: .07em; line-height: 1.4; }

.ga4-highlight { background: #EAF7F7; border: 2px solid var(--accent); border-radius: 8px; padding: 2rem; text-align: center; margin: 2rem 0; }
.ga4-highlight .big { font-size: 3.5rem; font-weight: bold; color: var(--accent); line-height: 1; display: block; margin-bottom: .3rem; }
.ga4-highlight .sub { font-size: 1rem; color: var(--navy); margin-bottom: .2rem; font-weight: bold; }
.ga4-highlight .note { font-size: .82rem; color: var(--muted); }

.ba-copy { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin: 1.5rem 0; }
.bac { background: #fff; border-radius: 6px; overflow: hidden; border: 1px solid #c2dede; }
.bac .bah { padding: .5rem .9rem; font-size: .7rem; font-weight: bold; letter-spacing: .08em; text-transform: uppercase; }
.bac.bad .bah { background: #c05050; color: #fff; }
.bac.good .bah { background: var(--teal); color: #fff; }
.bac .bab { padding: 1rem .9rem; font-size: .87rem; line-height: 1.6; color: var(--text); }
.bac.good .bab { background: #EAF7F7; }


/* ── PLATFORM GRID / COMP TABLE (CS pages) ── */
.platform-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .9rem; margin: 1.5rem 0; }
.pc { background: #fff; border: 1px solid #c2dede; border-radius: 6px; padding: 1.1rem; }
.pc .pn { font-size: .72rem; font-weight: bold; text-transform: uppercase; letter-spacing: .1em; color: var(--teal); margin-bottom: .35rem; }
.pc .pv { font-size: 1.55rem; font-weight: bold; color: var(--navy); line-height: 1; }
.pc .pd { font-size: .77rem; color: var(--muted); margin-top: .25rem; }

.comp-table { width: 100%; border-collapse: collapse; margin: 1.5rem 0; font-size: .88rem; }
.comp-table th { background: var(--navy); color: #fff; padding: .65rem 1rem; text-align: left; font-size: .76rem; letter-spacing: .06em; text-transform: uppercase; }
.comp-table td { padding: .65rem 1rem; border-bottom: 1px solid #d4e6e6; color: var(--text); }
.comp-table tr:nth-child(even) td { background: #F4F8F8; }
.comp-table .hl td { background: #EAF7F7; font-weight: bold; }
.comp-table .hl td:first-child { border-left: 3px solid var(--accent); }

.badge { display: inline-block; background: var(--accent); color: #fff; font-size: .67rem; padding: .1rem .45rem; border-radius: 3px; margin-left: .35rem; vertical-align: middle; }


/* ============================================================
   MEDIA QUERIES
   ============================================================ */

@media screen and (min-width: 768px) {

  /* Nav goes horizontal */
  nav { flex-direction: row; justify-content: space-between; padding: .4rem 1.5rem; }
  nav ul { display: flex; }
  #myLinks { display: flex !important; justify-content: flex-end; }
  .menu-image { width: 7vw; padding: .3rem; }

  /* Index grids */
  .stats   { grid-template-columns: repeat(3, 1fr); }




  /* Services */
  .offerings         { flex-direction: column; grid-template-columns: repeat(3, 1fr); }
  .retainer-grid     { grid-template-columns: repeat(2, 1fr); }
  .menu-grid         { grid-template-columns: repeat(2, 1fr); }
  .offering {
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-areas:
      "tag    tag"
      "title  title"
      "price  price"
      "desc   desc"
      "feats  cta";
    align-items: start;
  }
 .offering-cta {
    grid-area: cta;
    align-self: end;
    padding-top: 0;
    margin-left: 1.5rem;
  }
  .offering-tag      { grid-area: tag; }
  .offering h3       { grid-area: title; }
  .offering-price    { grid-area: price; }
  .offering > p      { grid-area: desc; }	
  .offering-features { grid-template-columns: 1fr; grid-area: feats;}
  .bio-grid          { grid-template-columns: 220px 1fr; }
	
  /* Team */
  .team-grid { grid-template-columns: repeat(3, 1fr); }
  .team-card { flex-direction: column; align-items: center; gap: 1rem; }

  /* Portfolio */
  .cs-metrics { grid-template-columns: repeat(4, 1fr); }
  .metric:nth-child(2n) { border-right: 1px solid var(--border); }
  .metric:nth-child(4n) { border-right: none; }
  .pb-divider { display: block; }

  /* Metrics bar */
  .mbar-in { grid-template-columns: repeat(5, 1fr); }

  /* Contact */
  .offer { grid-template-columns: 1fr auto; grid-template-rows: auto auto; align-items: start; }
  .offer-head  { grid-column: 1; }
  .offer p     { grid-column: 1; }
  .credit-note { grid-column: 1; }
  .offer a.btn { grid-column: unset; grid-row: unset; margin-left: 0; white-space: nowrap; }
  .direct-links { grid-template-columns: repeat(3, 1fr); }
  .offer .sq-badge-wrap {
  grid-column: 2;
  grid-row: 1 / 4;
  align-self: center;
  margin-left: 1.5rem;
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  white-space: nowrap;
}

}

@media (min-width: 600px) {
  .phases        { grid-template-columns: 1fr 1fr 1fr; }
  .process-grid  { grid-template-columns: 1fr 1fr; }
  .params-grid   { grid-template-columns: repeat(4, 1fr); }
  .six-grid      { grid-template-columns: repeat(4, 1fr); }
  .platform-grid { grid-template-columns: repeat(4, 1fr); }
}


/* ============================================================
   ANIMATIONS
   ============================================================ */

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Alias used on case study pages */
@keyframes fu {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Index hero staggered fade */
.hero-eyebrow  { animation: fadeUp 0.5s ease both 0.10s; }
.highlightH    { animation: fadeUp 0.5s ease both 0.25s; }
.highlightP    { animation: fadeUp 0.5s ease both 0.40s; }
.hero-proof    { animation: fadeUp 0.5s ease both 0.55s; }
.hero-buttons  { animation: fadeUp 0.5s ease both 0.68s; }

/* Standard hero staggered fade */
.hero h1 { animation: fadeUp 0.4s ease both 0.22s; }
.hero p  { animation: fadeUp 0.4s ease both 0.36s; }
.hero-sub { animation-delay: .3s; }
.hero-meta { animation-delay: .4s; }

/* Case study page stagger (fu keyframe) */
.hi > * { animation: fu 0.4s ease both; }
.eyebrow { animation-delay: .1s; }