/*
Theme Name: Premium Medium
Theme URI: https://premium-medium.com
Author: Premium Medium
Author URI: https://premium-medium.com
Description: Custom theme for Premium Medium — a full-service media & marketing agency in Tulsa, Oklahoma. Installs its own pages, services and menu on activation.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: premium-medium
Tags: business, agency, one-column, custom-menu, custom-logo, featured-images, translation-ready
*/

/* =========================================================
   PREMIUM MEDIUM — Main Stylesheet
   Light, clean, corporate-premium: white/soft-slate base,
   brand blue + slate-gray from the logo, one deep-navy
   contrast section for the CTA band + footer.
   ========================================================= */

:root{
  --paper:         #ffffff;
  --paper-alt:      #f4f7f9;
  --paper-alt-2:    #eaeef1;
  --line:           rgba(14,22,28,0.10);
  --line-soft:      rgba(14,22,28,0.06);

  --ink:            #0e1216;
  --ink-soft:       #3d454c;
  --muted:          #627987;   /* brand slate, from the logo's "MEDIUM" */
  --muted-2:        #8b9aa3;

  --blue:           #1898d5;   /* brand blue, from the logo's "P" swoosh */
  --blue-rgb:        24,152,213;
  --blue-dark:      #0e77ac;
  --blue-deep:      #0b5f8a;
  --blue-pale:      #e8f4fb;
  --blue-pale-2:    #d6ecf8;

  --slate:          #627987;
  --slate-dark:     #435662;

  --red:            #d64545;   /* form-error state only — not a brand color */

  /* Dark contrast section (CTA band + footer): near-black, matching the
     logo's own "PREMIUM" ink — not an invented navy — with the brand blue
     doing the accent work on top of it. */
  --deep:           #0d1115;
  --deep-2:         #141a1f;
  --deep-line:      rgba(255,255,255,0.12);
  --deep-line-soft: rgba(255,255,255,0.07);
  --on-deep:        #f2f6f8;
  --on-deep-muted:  #9aa7ae;

  --radius-sm: 8px;
  --radius:    16px;
  --radius-lg: 26px;

  --container: 1240px;
  --measure: 760px;   /* shared reading-column width */
  --gutter: clamp(20px, 5vw, 64px);

  --ff-display: "Poppins", "Helvetica Neue", Arial, sans-serif;
  --ff-head: "Poppins", "Helvetica Neue", Arial, sans-serif;
  --ff-body: "Inter", "Helvetica Neue", Arial, sans-serif;

  --ease: cubic-bezier(.16,.84,.44,1);
  --shadow-sm: 0 1px 2px rgba(14,22,28,0.04), 0 1px 1px rgba(14,22,28,0.03);
  --shadow-md: 0 12px 28px -12px rgba(14,30,41,0.16);
  --shadow-lg: 0 24px 60px -20px rgba(14,30,41,0.22);
}

/* ---------- Reset ---------- */
*, *::before, *::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin:0;
  background: var(--paper);
  color: var(--ink-soft);
  font-family: var(--ff-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img{ max-width:100%; display:block; }
a{ color: inherit; text-decoration:none; }
ul{ list-style:none; margin:0; padding:0; }
button{ font-family: inherit; cursor:pointer; }
input, textarea, select{ font-family: inherit; }
h1,h2,h3,h4,p,figure{ margin:0; }
.container{
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
/* Reading-width column whose text edge lines up with .entry-content
   inside a full-width .container at every viewport size. */
.container-narrow{ max-width: calc(var(--measure) + var(--gutter) * 2); }

/* =========================================================
   SURFACES — the page alternates between three grounds so it
   never runs as one long sheet of white:
     (default)      paper        — reading + scanning
     .section-alt   paper-alt    — soft breather
     .section-deep  deep         — statements, proof, CTAs
   .section-deep re-scopes the surface tokens rather than
   restyling components, so cards, tags, checklists and the
   SVG artwork all invert automatically inside it.
   ========================================================= */
.section-alt{ background: var(--paper-alt); }
.section-deep,
.deep-card{
  --paper:          var(--deep-2);
  --paper-alt:      #1b2229;
  --paper-alt-2:    #222b33;
  --ink:            var(--on-deep);
  --ink-soft:       #b6c3cb;
  --muted:          #8b9ba6;
  --muted-2:        #74848f;
  --line:           var(--deep-line);
  --line-soft:      var(--deep-line-soft);
  --blue-pale:      rgba(var(--blue-rgb),.16);
  --blue-pale-2:    rgba(var(--blue-rgb),.26);
  --blue-dark:      #5cc0f0;
  --slate:          #7d8f9b;
  --slate-dark:     #c2cfd6;
  --shadow-sm:      0 1px 2px rgba(0,0,0,.4);
  --shadow-md:      0 14px 30px -14px rgba(0,0,0,.6);
  --shadow-lg:      0 26px 60px -22px rgba(0,0,0,.7);
  position: relative;
  isolation: isolate;
  background: var(--deep);
  color: var(--on-deep);
}
/* one soft blue bloom so the dark ground has depth, not flatness */
.section-deep::before{
  content:"";
  position:absolute; inset:0;
  background: radial-gradient(120% 90% at 78% 0%, rgba(var(--blue-rgb),.16), transparent 62%);
  pointer-events:none;
  z-index:-1;
}
.deep-card{
  border-radius: var(--radius-lg);
  padding: 42px 34px;
  border: 1px solid var(--deep-line-soft);
}
.deep-card::before{
  content:"";
  position:absolute; inset:0;
  border-radius: inherit;
  background: radial-gradient(120% 80% at 20% 0%, rgba(var(--blue-rgb),.18), transparent 60%);
  pointer-events:none;
  z-index:-1;
}
.deep-card strong{ color: var(--on-deep); }
.deep-card .social-row a{ border-color: rgba(255,255,255,.16); color: var(--slate-dark); }
.deep-card .social-row a:hover{ border-color: var(--blue); color:#fff; }
.section-deep h1, .section-deep h2, .section-deep h3,
.section-deep .h1, .section-deep .h2, .section-deep .h3{ color: var(--on-deep); }
.section-deep .lede, .section-deep p{ color: var(--ink-soft); }
.section-deep .section-tag{ color: var(--on-deep-muted); }
/* cards sit slightly above their ground instead of casting dark-on-dark shadows */
.section-deep .service-card{ box-shadow: none; }
.section-deep .service-card:hover{
  background: #1b232a;
  border-color: rgba(var(--blue-rgb),.55);
  box-shadow: 0 26px 54px -26px rgba(0,0,0,.85);
}
.section-deep .service-card .num{ color: #7fd0f5; opacity:.1; }
.section-deep .service-card:hover .num{ opacity:.2; }
.section-deep .service-card .ico{ color: #7fd0f5; }
.section-deep .service-card::after{
  background: linear-gradient(115deg, transparent 42%, rgba(255,255,255,.09) 50%, transparent 58%);
}
.section-deep .btn-ghost{ border-color: var(--deep-line); color: var(--on-deep); }
.section-deep .btn-ghost:hover{ border-color: var(--blue); color:#fff; background: rgba(var(--blue-rgb),.14); }
.section-deep .related-services-list a{ background: rgba(255,255,255,.04); color: var(--slate-dark); }
.section-deep .related-services-list a:hover{ background: rgba(var(--blue-rgb),.16); color:#fff; }
.section-deep .hero-quote span{ color: #7fd0f5; }
.section-deep .entry-content a{ color: #7fd0f5; }
::selection{ background: var(--blue); color:#fff; }

/* ---------- Typography helpers ---------- */
.eyebrow{
  display:inline-flex;
  align-items:center;
  gap:10px;
  font-family: var(--ff-head);
  font-weight:600;
  font-size: 12.5px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--blue-dark);
}
.eyebrow::before{
  content:"";
  width: 26px; height:2px;
  background: var(--blue);
  display:inline-block;
  border-radius: 2px;
}
.eyebrow-plain::before{
  display:none;
}
h1, .h1{
  font-family: var(--ff-display);
  font-weight:800;
  text-transform: none;
  line-height: 1.04;
  letter-spacing: -.02em;
  color: var(--ink);
  text-wrap: balance;
}
h2, .h2{
  font-family: var(--ff-head);
  font-weight: 700;
  text-transform: none;
  line-height: 1.12;
  letter-spacing: -.01em;
  color: var(--ink);
  font-size: clamp(28px, 4vw, 46px);
  text-wrap: balance;
}
h3, .h3{
  font-family: var(--ff-head);
  font-weight:600;
  color: var(--ink);
  font-size: clamp(18px, 2vw, 21px);
  line-height:1.35;
}
.lede{
  font-size: clamp(16.5px, 1.4vw, 19px);
  color: var(--ink-soft);
  line-height:1.65;
}
.text-blue{ color: var(--blue-dark); }
.text-muted{ color: var(--muted); }

/* ---------- Buttons ---------- */
.btn{
  display: inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  font-family: var(--ff-head);
  font-weight:600;
  font-size: 14px;
  letter-spacing: .01em;
  padding: 16px 28px;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: transform .3s var(--ease), background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease);
}
/* Solid buttons use the deeper blue so white labels clear WCAG AA (4.9:1);
   the brighter brand blue stays on artwork, icons and accents. */
.btn-primary{
  background: var(--blue-dark);
  color: #fff;
  box-shadow: 0 10px 24px -10px rgba(var(--blue-rgb),.55);
}
.btn-primary:hover{ background: var(--blue-deep); transform: translateY(-2px); box-shadow: 0 14px 28px -10px rgba(var(--blue-rgb),.6); }
.btn-ghost{
  background: transparent;
  border-color: var(--line);
  color: var(--ink);
}
.btn-ghost:hover{ border-color: var(--blue); color: var(--blue-dark); transform: translateY(-2px); }
.btn-on-deep{
  border-color: var(--deep-line);
  color: var(--on-deep);
}
.btn-on-deep:hover{ border-color: var(--blue); color: #fff; background: rgba(var(--blue-rgb),.15); }
.btn-sm{ padding: 12px 22px; font-size:12.5px; }
.btn-block{ width:100%; }
.btn svg{ width:16px; height:16px; }

/* ---------- Header ---------- */
.site-header{
  position: fixed;
  top:0; left:0; right:0;
  z-index: 1000;
  padding: 20px 0;
  transition: background .4s var(--ease), padding .4s var(--ease), border-color .4s var(--ease), box-shadow .4s var(--ease);
  border-bottom: 1px solid transparent;
  background: rgba(255,255,255,0.0);
}
.site-header.is-scrolled{
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  padding: 14px 0;
  border-bottom-color: var(--line);
  box-shadow: var(--shadow-sm);
}
.site-header .container{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 24px;
}
.brand{
  display:flex;
  align-items:center;
  gap:12px;
  font-family: var(--ff-head);
  font-weight:700;
  font-size: 19px;
  letter-spacing:-.01em;
  color: var(--ink);
}
.brand img{ height: 40px; width:auto; }
.brand .mark{
  width:38px; height:38px;
  border-radius:10px;
  background: linear-gradient(135deg, var(--blue), var(--blue-deep));
  display:flex; align-items:center; justify-content:center;
  color:#fff; font-family: var(--ff-display); font-weight:800; font-size:16px;
  flex: none;
}
.brand small{
  display:block;
  font-family: var(--ff-body);
  font-weight:500;
  font-size:10px;
  letter-spacing:.2em;
  text-transform:uppercase;
  color: var(--muted);
  margin-top:2px;
}

.main-nav ul{ display:flex; align-items:center; gap: 34px; }
.main-nav a{
  font-family: var(--ff-head);
  font-size: 14px;
  font-weight:500;
  color: var(--ink-soft);
  position:relative;
  padding: 6px 0;
}
.main-nav a::after{
  content:"";
  position:absolute; left:0; right:100%; bottom:0;
  height:2px; background: var(--blue);
  border-radius: 2px;
  transition: right .3s var(--ease);
}
.main-nav a:hover{ color: var(--ink); }
.main-nav a:hover::after{ right:0; }
.main-nav .current-menu-item > a{ color: var(--blue-dark); font-weight:600; }

.header-cta{ display:flex; align-items:center; gap:18px; }
.header-cta .btn{ white-space:nowrap; }
.header-call{ display:none; gap:7px; padding-left:18px; padding-right:20px; }
.header-cta .phone{
  display:flex; flex-direction:column; align-items:flex-end;
  font-family: var(--ff-head);
}
.header-cta .phone span{
  font-size:10px; letter-spacing:.16em; text-transform:uppercase; color:var(--muted);
}
.header-cta .phone a{ font-size:15px; font-weight:700; color:var(--ink); }
.header-cta .phone a:hover{ color: var(--blue-dark); }

.menu-toggle{
  display:none;
  width:44px; height:44px;
  border-radius:50%;
  border:1px solid var(--line);
  background:transparent;
  color:var(--ink);
  align-items:center; justify-content:center;
}

/* ---------- Hero ---------- */
.hero{
  position:relative;
  padding: 176px 0 110px;
  overflow:hidden;
  isolation:isolate;
  background: var(--paper);
}
.hero::before{
  content:"";
  position:absolute; z-index:-1; inset: -15% -10% auto -10%;
  height: 780px;
  background:
    radial-gradient(circle at 18% 5%, rgba(var(--blue-rgb),0.14), transparent 55%),
    radial-gradient(circle at 88% 25%, rgba(98,121,135,0.12), transparent 50%);
}
.hero-grid{
  display:grid;
  grid-template-columns: 1.35fr .9fr;
  gap: 60px;
  align-items:end;
}
.hero-grid-single{
  grid-template-columns: 1fr;
}
.hero-copy{
  max-width: 680px;
}
.hero h1{ font-size: clamp(42px, 5.8vw, 78px); }
.hero h1 em{
  font-style:normal;
  color: var(--blue);
}
.hero .lede{ margin-top:26px; max-width: 540px; }
.hero-actions{ display:flex; gap:16px; margin-top:40px; flex-wrap:wrap; }

.hero-side{
  border-left: 1px solid var(--line);
  padding-left: 40px;
  display:flex; flex-direction:column; gap:26px;
}
.hero-quote{
  font-family: var(--ff-head);
  font-weight: 500;
  font-size: 19px;
  color: var(--ink);
  line-height:1.5;
}
.hero-quote span{ color: var(--blue-dark); font-weight:700; }
.hero-quote-by{
  margin-top:14px;
  font-family: var(--ff-body);
  font-size:13px;
  color: var(--muted);
}

.hero-stats{
  display:grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  margin-top: 80px;
  padding-top: 36px;
  border-top: 1px solid var(--line);
}
.stat .num{
  font-family: var(--ff-display);
  font-weight: 800;
  font-size: clamp(32px, 3.2vw, 44px);
  color: var(--ink);
  line-height:1;
}
.stat .num span{ color: var(--blue); }
.stat .label{
  margin-top:8px;
  font-size:12.5px;
  letter-spacing:.03em;
  color: var(--muted);
  max-width: 24ch;
}

/* ---------- Marquee (media types ticker) ---------- */
.marquee-band{
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--paper-alt);
  padding: 20px 0;
  overflow:hidden;
}
.marquee{
  display:flex;
  width: max-content;
  animation: marquee 32s linear infinite;
}
.marquee-band:hover .marquee{ animation-play-state: paused; }
.marquee span{
  font-family: var(--ff-head);
  font-weight:600;
  font-size: 14px;
  letter-spacing:.06em;
  text-transform:uppercase;
  color: var(--slate-dark);
  padding: 0 28px;
  display:flex;
  align-items:center;
  gap:28px;
  white-space:nowrap;
}
.marquee span::after{ content:"●"; color: var(--blue); font-size:7px; }
@keyframes marquee{
  from{ transform: translateX(0); }
  to{ transform: translateX(-50%); }
}

/* ---------- Section shell ---------- */
section{ padding: 110px 0; position:relative; }
.section-head{
  display:flex;
  justify-content:space-between;
  align-items:flex-end;
  gap: 40px;
  margin-bottom: 60px;
}
.section-head .h2{ margin-top:14px; max-width: 620px; }
.section-head .lede{ max-width:400px; }
.section-tag{ text-align:right; }

/* ---------- Problem / Agitate section ---------- */
.problem{
  background: var(--paper-alt);
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);
}
.problem-grid{
  display:grid;
  grid-template-columns: .95fr 1.05fr;
  gap: 60px;
  align-items:start;
}
.problem-list{ display:flex; flex-direction:column; }
.problem-item{
  display:grid;
  grid-template-columns: 44px 1fr;
  gap: 20px;
  padding: 24px 0;
  border-top: 1px solid var(--line);
}
.problem-item:last-child{ border-bottom: 1px solid var(--line); }
.problem-item .ico{
  width:44px; height:44px;
  border-radius:50%;
  background: #fbeaea;
  color: var(--red);
  display:flex; align-items:center; justify-content:center;
  font-family: var(--ff-display);
  font-weight:700;
  font-size:15px;
}
.problem-item h3{ margin-bottom:6px; }
.problem-item p{ color: var(--muted); font-size:15px; }

.solution-card{
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 44px;
  position:relative;
  overflow:hidden;
  box-shadow: var(--shadow-md);
}
.solution-card::before{
  content:"";
  position:absolute; top:-40%; right:-30%;
  width:320px; height:320px;
  background: radial-gradient(circle, rgba(var(--blue-rgb),.14), transparent 65%);
}
.solution-card .quote-mark{
  font-family: var(--ff-display);
  font-weight: 800;
  font-size: 84px;
  line-height:.6;
  color: var(--blue);
  display:block;
  margin-bottom: 10px;
}
.solution-card p.lede{ color: var(--ink); }
.solution-signoff{
  margin-top: 32px;
  display:flex;
  align-items:center;
  gap:16px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}
.solution-signoff .avatar{
  width:52px; height:52px; border-radius:50%;
  background: linear-gradient(135deg, var(--blue), var(--blue-deep));
  display:flex; align-items:center; justify-content:center;
  font-family: var(--ff-display);
  font-weight:700;
  color:#fff; font-size:18px;
  flex: none;
  overflow: hidden;
}
.solution-signoff .avatar img{ width:100%; height:100%; object-fit:cover; }
.solution-signoff strong{ display:block; color:var(--ink); font-family:var(--ff-head); font-size:14.5px; }
.solution-signoff span{ font-size:12.5px; color:var(--muted); }

/* ---------- Services ---------- */
.services-grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.service-card{
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 42px 34px;
  position:relative;
  overflow:hidden;
  transition:
    opacity .7s var(--ease) var(--reveal-delay, 0s),
    transform .7s var(--ease) var(--reveal-delay, 0s),
    box-shadow .4s var(--ease),
    border-color .4s var(--ease),
    background .4s var(--ease);
}
.service-card:nth-child(1){ --reveal-delay: 0s; }
.service-card:nth-child(2){ --reveal-delay: .08s; }
.service-card:nth-child(3){ --reveal-delay: .16s; }
.service-card:nth-child(4){ --reveal-delay: .24s; }
.service-card:nth-child(5){ --reveal-delay: .32s; }
.service-card:nth-child(6){ --reveal-delay: .4s; }
.service-card:nth-child(7){ --reveal-delay: .48s; }
.service-card:hover{
  background: var(--paper-alt);
  border-color: rgba(var(--blue-rgb),.4);
  box-shadow: 0 26px 50px -24px rgba(14,18,22,.28);
}
.service-card::before{
  content:"";
  position:absolute; left:0; top:0; right:0;
  height:3px;
  background: linear-gradient(90deg, var(--blue), var(--blue-dark));
  transform: scaleX(0);
  transform-origin:left;
  transition: transform .5s var(--ease);
}
.service-card:hover::before{ transform: scaleX(1); }
.service-card::after{
  content:"";
  position:absolute; inset:0;
  background: linear-gradient(115deg, transparent 42%, rgba(255,255,255,.55) 50%, transparent 58%);
  transform: translateX(-130%);
  transition: transform .85s var(--ease);
  pointer-events:none;
}
.service-card:hover::after{ transform: translateX(130%); }
.service-card .num{
  position:absolute;
  top:20px; right:26px;
  font-family: var(--ff-display);
  font-weight:800;
  font-size:56px;
  line-height:1;
  color: var(--blue);
  opacity:.07;
  letter-spacing:-.02em;
  transition: opacity .4s var(--ease), transform .4s var(--ease);
}
.service-card:hover .num{ opacity:.14; transform: scale(1.06); }
.service-card .ico{
  position:relative;
  width: 52px; height:52px;
  margin: 18px 0 22px;
  border-radius: 14px;
  background: var(--blue-pale);
  display:flex; align-items:center; justify-content:center;
  color: var(--blue-dark);
  transition: transform .4s var(--ease), background .4s var(--ease), color .4s var(--ease);
  z-index:1;
}
.service-card .ico::before{
  content:"";
  position:absolute; inset:-7px;
  border-radius:18px;
  border:1.5px solid rgba(var(--blue-rgb),.5);
  opacity:0;
  animation: icoPing 3.4s var(--ease) infinite;
}
.service-card:nth-child(1) .ico::before{ animation-delay:0s; }
.service-card:nth-child(2) .ico::before{ animation-delay:.5s; }
.service-card:nth-child(3) .ico::before{ animation-delay:1s; }
.service-card:nth-child(4) .ico::before{ animation-delay:1.5s; }
.service-card:nth-child(5) .ico::before{ animation-delay:2s; }
.service-card:nth-child(6) .ico::before{ animation-delay:2.5s; }
.service-card:nth-child(7) .ico::before{ animation-delay:3s; }
@keyframes icoPing{
  0%{ opacity:.5; transform:scale(.85); }
  65%{ opacity:0; transform:scale(1.4); }
  100%{ opacity:0; transform:scale(1.4); }
}
.service-card:hover .ico{
  transform: translateY(-4px) rotate(-6deg) scale(1.08);
  background: var(--blue);
  color:#fff;
}
.service-card .ico svg{ width:25px; height:25px; position:relative; z-index:1; }
.service-card h3{ margin-bottom:12px; position:relative; z-index:1; }
.service-card p{ font-size:14.5px; color: var(--muted); position:relative; z-index:1; }
.tags{ display:flex; flex-wrap:wrap; gap:8px; }
.tags span{
  font-size: 11px;
  letter-spacing:.02em;
  color: var(--slate-dark);
  background: var(--paper-alt);
  border: 1px solid var(--line);
  padding: 5px 10px;
  border-radius:999px;
  transition: background .3s var(--ease), border-color .3s var(--ease);
}
.service-card .tags{ margin-top:18px; position:relative; z-index:1; }
.service-card:hover .tags span{ background:#fff; border-color: rgba(var(--blue-rgb),.3); }

/* ---------- Process ---------- */
.process{ background: var(--paper); border-top:1px solid var(--line); border-bottom:1px solid var(--line); }
.process-list{ display:flex; flex-direction:column; }
.process-item{
  display:grid;
  grid-template-columns: 120px 1fr 1fr;
  gap: 30px;
  align-items:center;
  padding: 34px 0;
  border-top:1px solid var(--line);
}
.process-item:last-child{ border-bottom:1px solid var(--line); }
.process-item .step-num{
  font-family: var(--ff-display);
  font-weight: 800;
  font-size: 46px;
  color: var(--blue-pale-2);
}
.process-item h3{ font-size: clamp(19px,2.1vw,24px); }
.process-item p{ color: var(--muted); font-size:14.5px; }

/* ---------- Results / Portfolio ---------- */
.results-grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.result-card{
  position:relative;
  border-radius: var(--radius-lg);
  overflow:hidden;
  aspect-ratio: 4/5;
  background: var(--paper-alt);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.result-card img{ width:100%; height:100%; object-fit:cover; transition: transform .6s var(--ease); }
.result-card:hover img{ transform: scale(1.06); }
.result-card .overlay{
  position:absolute; inset:0;
  display:flex; flex-direction:column; justify-content:flex-end;
  padding: 28px;
  background: linear-gradient(to top, rgba(13,30,41,.92) 12%, rgba(13,30,41,.25) 60%, transparent);
}
.result-card .cat{
  font-family: var(--ff-head);
  font-weight:600;
  font-size:11.5px;
  letter-spacing:.06em;
  text-transform:uppercase;
  color: #8fd2f2;
  margin-bottom: 10px;
}
.result-card h3{ font-size:20px; color:#fff; }
.result-card .stat-row{ display:flex; gap:18px; margin-top:14px; }
.result-card .stat-row div{ font-family: var(--ff-head); }
.result-card .stat-row strong{ display:block; color:#fff; font-size:19px; font-weight:700; }
.result-card .stat-row small{ color: #b9d3de; font-size:10.5px; text-transform:uppercase; letter-spacing:.04em; }

/* ---------- Testimonials ---------- */
.testimonials{ background: var(--paper-alt); }
.testi-track{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.testi-card{
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
  display:flex; flex-direction:column;
  justify-content:space-between;
  gap: 24px;
  box-shadow: var(--shadow-sm);
}
.testi-stars{ color: var(--blue); letter-spacing:3px; font-size:14px; }
.testi-card p{ color: var(--ink-soft); font-size:15px; line-height:1.7; }
.testi-person{ display:flex; align-items:center; gap:14px; }
.testi-person .avatar{
  width:44px; height:44px; border-radius:50%;
  background: var(--blue-pale);
  display:flex; align-items:center; justify-content:center;
  font-family: var(--ff-head); color: var(--blue-dark); font-weight:700;
}
.testi-person strong{ display:block; color:var(--ink); font-size:14px; }
.testi-person span{ font-size:12px; color:var(--muted); }

/* ---------- About ---------- */
.about-grid{
  display:grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 64px;
  align-items:center;
}
.about-media{
  position:relative;
  border-radius: var(--radius-lg);
  overflow:hidden;
  aspect-ratio: 3/4;
  border: 1px solid var(--line);
  background: var(--paper-alt);
  box-shadow: var(--shadow-md);
}
.about-media img{ width:100%; height:100%; object-fit:cover; }
.about-badge{
  position:absolute; bottom:20px; left:20px; right:20px;
  background: rgba(13,30,41,.85);
  backdrop-filter: blur(10px);
  border: 1px solid var(--deep-line);
  border-radius: var(--radius);
  padding: 18px 20px;
  display:flex; align-items:center; gap:14px;
}
.about-badge .num{ font-family: var(--ff-display); font-weight:800; font-size:28px; color: #8fd2f2; }
.about-badge .label{ font-size:12px; color: var(--on-deep-muted); line-height:1.35; }
.about-copy .lede{ margin: 20px 0 28px; }
.about-points{ display:grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 18px; }
.about-points li{ display:flex; gap:12px; align-items:flex-start; font-size:14.5px; color: var(--ink-soft); }
.about-points li svg{ flex:none; width:20px; height:20px; color: var(--blue); margin-top:1px; }

/* ---------- CTA band (deep contrast section) ---------- */
.cta-band{
  position:relative;
  overflow:hidden;
  border-radius: var(--radius-lg);
  margin: 0 var(--gutter);
  padding: 86px var(--gutter);
  text-align:center;
  background: linear-gradient(165deg, var(--deep-2), var(--deep) 65%);
  border: 1px solid var(--deep-line-soft);
}
@media (min-width: 1300px){
  .cta-band{ margin-left: calc((100vw - var(--container)) / 2); margin-right: calc((100vw - var(--container)) / 2); }
}
.cta-band::before{
  content:"";
  position:absolute; inset:-40% -10% auto -10%; height:600px;
  background: radial-gradient(circle at 50% 0%, rgba(var(--blue-rgb),.28), transparent 60%);
}
.cta-band .eyebrow{ color:#8fd2f2; }
.cta-band .eyebrow::before{ background:#8fd2f2; }
.cta-band h2{ max-width:780px; margin: 0 auto; color:#fff; }
.cta-band .lede{ max-width:520px; margin: 22px auto 38px; color: var(--on-deep-muted); }
.cta-actions{ display:flex; gap:16px; justify-content:center; flex-wrap:wrap; }

/* ---------- Contact ---------- */
.contact-grid{
  display:grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 64px;
}
.contact-info{ display:flex; flex-direction:column; gap: 28px; }
.contact-item{ display:flex; gap:16px; align-items:flex-start; }
.contact-item .ico{
  width:46px; height:46px; border-radius:12px;
  background: var(--blue-pale);
  display:flex; align-items:center; justify-content:center;
  color: var(--blue-dark); flex:none;
}
.contact-item strong{ display:block; color:var(--ink); font-family:var(--ff-head); font-size:13.5px; margin-bottom:4px; }
.contact-item a, .contact-item p{ color: var(--muted); font-size:14.5px; }
.contact-item a:hover{ color: var(--blue-dark); }
.social-row{ display:flex; gap:12px; margin-top:10px; }
.social-row a{
  width:40px; height:40px; border-radius:50%;
  border:1px solid var(--line);
  display:flex; align-items:center; justify-content:center;
  color: var(--ink-soft);
}
.social-row a:hover{ border-color: var(--blue); color: var(--blue-dark); }

.contact-form{
  background: var(--paper-alt);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 42px;
}
.form-row{ display:grid; grid-template-columns:1fr 1fr; gap:20px; }
.field{ margin-bottom:20px; }
.field label{
  display:block; font-size:11.5px; letter-spacing:.04em; text-transform:uppercase;
  color: var(--slate-dark); margin-bottom:9px; font-family: var(--ff-head); font-weight:600;
}
.field input, .field textarea, .field select{
  width:100%;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  color: var(--ink);
  font-size:14.5px;
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.field input:focus, .field textarea:focus, .field select:focus{
  outline:none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(var(--blue-rgb),.12);
}
.field textarea{ resize:vertical; min-height:120px; }
.form-note{ font-size:12px; color:#546b78; margin-top:14px; }

/* ---------- Footer (deep contrast section) ---------- */
/* Light footer: the logo is a dark-ink lockup, so it sits on paper —
   a hairline rule and a soft ground separate it from the page above. */
.site-footer{
  background: var(--paper-alt);
  border-top: 1px solid var(--line);
  padding-top: 78px;
  color: var(--muted);
}
.footer-top{
  display:grid;
  grid-template-columns: 1.3fr .8fr .8fr 1fr;
  gap: 50px;
  padding-bottom: 60px;
}
.footer-brand .brand{ color: var(--ink); }
.footer-brand .brand img{ height:38px; width:auto; }
.footer-brand .lede{ font-size:15px; margin: 22px 0 26px; max-width:320px; color: var(--ink-soft); }
.footer-col h4{
  font-family: var(--ff-head); font-weight:600; font-size:12.5px; letter-spacing:.1em; text-transform:uppercase;
  color: var(--ink); margin-bottom: 20px;
}
.footer-col ul{ display:flex; flex-direction:column; gap:13px; }
.footer-col a, .footer-col li > span{ color: var(--slate-dark); font-size:14.5px; transition: color .25s var(--ease); }
.footer-col a:hover{ color: var(--blue-dark); }
.footer-bottom{
  border-top: 1px solid var(--line);
  padding: 24px 0;
  display:flex; justify-content:space-between; align-items:center;
  flex-wrap:wrap; gap:14px;
}
.footer-bottom p{ font-size:12.5px; color:#546b78; }   /* 5.2:1 on the footer ground */
.footer-legal{ display:flex; gap:22px; }
.footer-legal a{ font-size:12.5px; color:#546b78; transition: color .25s var(--ease); }
.footer-legal a:hover{ color: var(--blue-dark); }
.footer-brand .social-row a{ border-color: var(--line); color: var(--slate); background: var(--paper); }
.footer-brand .social-row a:hover{ border-color: var(--blue); color: var(--blue-dark); }

/* ---------- Page / blog basics (inner pages) ---------- */
.page-hero{
  padding: 176px 0 70px;
  border-bottom: 1px solid var(--line);
  background: var(--paper-alt);
}
.page-hero .eyebrow{ margin-bottom:18px; }
.page-hero h1{ font-size: clamp(36px,5.4vw,64px); }
.service-hero-ico{
  width:64px; height:64px;
  border-radius:16px;
  background: var(--blue-pale);
  color: var(--blue-dark);
  display:flex; align-items:center; justify-content:center;
  margin-bottom:26px;
}
.service-hero-ico svg{ width:30px; height:30px; position:relative; z-index:1; }
.service-hero-ico{ position:relative; }
.service-hero-ico::after{
  content:"";
  position:absolute; inset:0;
  border-radius:16px;
  border:1.5px solid rgba(var(--blue-rgb),.5);
  animation: heroIcoPing 3.4s var(--ease) infinite;
  pointer-events:none;
}
@keyframes heroIcoPing{
  0%{ transform:scale(1); opacity:.75; }
  65%{ transform:scale(1.42); opacity:0; }
  100%{ transform:scale(1.42); opacity:0; }
}
/* back-link nudges toward where it's taking you */
.svc-hero .btn-ghost:hover{ transform: translateX(-4px); }

/* "What's included" — checks tick in one after another */
.about-points.reveal{ opacity:1; transform:none; transition:none; }
.about-points.reveal li{
  --d:0s;
  opacity:0;
  transform:translateY(14px);
  transition: opacity .6s var(--ease) var(--d), transform .6s var(--ease) var(--d);
}
.about-points.reveal.is-visible li{ opacity:1; transform:none; }
.about-points.reveal li svg path{
  stroke-dasharray:30; stroke-dashoffset:30;
  transition: stroke-dashoffset .55s var(--ease) calc(var(--d) + .18s);
}
.about-points.reveal.is-visible li svg path{ stroke-dashoffset:0; }
.about-points.reveal li:nth-child(1){ --d:.04s; }
.about-points.reveal li:nth-child(2){ --d:.13s; }
.about-points.reveal li:nth-child(3){ --d:.22s; }
.about-points.reveal li:nth-child(4){ --d:.31s; }
.about-points.reveal li:nth-child(5){ --d:.4s; }
.about-points.reveal li:nth-child(6){ --d:.49s; }
.about-points.reveal li:nth-child(7){ --d:.58s; }
.about-points.reveal li:nth-child(8){ --d:.67s; }

/* ---------- Service hero decor (animated line-art scenes) ---------- */
.svc-hero{ position:relative; z-index:0; overflow:hidden; }
.svc-hero .container{ position:relative; }
.svc-decor{
  position:absolute;
  top:50%; right:0;
  transform:translateY(-50%);
  width:420px; height:280px;
  opacity:.6;
  z-index:-1;
  pointer-events:none;
}
.svc-decor svg{ display:block; width:100%; height:100%; overflow:visible; }
/* keep hero copy clear of the artwork at every width */
.svc-hero h1,
.svc-hero .lede,
.svc-hero .tags{ max-width: min(660px, 58%); }
.svc-decor [class*="-ping"],
.svc-decor .tv-wave,
.svc-decor .em-node,
.svc-decor .ctv-prog,
.svc-decor .ps-type{ transform-box: fill-box; transform-origin: center; }
.svc-decor .ctv-prog,
.svc-decor .ps-type{ transform-origin: left center; }

/* Billboard & OOH — light sweep across the board + traffic below */
.bb-sweep{ animation: bbSweep 4.2s ease-in-out infinite; }
@keyframes bbSweep{
  0%{ transform:translateX(0); }
  60%{ transform:translateX(620px); }
  100%{ transform:translateX(620px); }
}
.bb-car{ animation-name: bbDrive; animation-timing-function: linear; animation-iteration-count: infinite; }
.bb-car1{ animation-duration:3.4s; animation-delay:0s; }
.bb-car2{ animation-duration:4.1s; animation-delay:.9s; }
.bb-car3{ animation-duration:3.7s; animation-delay:1.9s; }
@keyframes bbDrive{
  0%{ transform:translateX(-40px); opacity:0; }
  8%{ opacity:1; }
  90%{ opacity:1; }
  100%{ transform:translateX(500px); opacity:0; }
}

/* Social Media Management — an endlessly scrolling feed + likes floating up */
.sm-feed{ animation: smScroll 11s linear infinite; }
@keyframes smScroll{
  0%{ transform:translateY(0); }
  100%{ transform:translateY(-234px); }
}
.sm-heart{ animation-name: smFloat; animation-timing-function: ease-out; animation-iteration-count: infinite; opacity:0; }
.sm-heart1{ animation-duration:3.6s; animation-delay:.2s; }
.sm-heart2{ animation-duration:4.4s; animation-delay:1.6s; }
.sm-heart3{ animation-duration:4s; animation-delay:2.9s; }
@keyframes smFloat{
  0%{ transform:translateY(0) scale(.6); opacity:0; }
  15%{ opacity:.9; }
  70%{ opacity:.7; }
  100%{ transform:translateY(-96px) scale(1.05); opacity:0; }
}

/* Broadcast TV — signal pushing out of the antenna + a scanline down the tube */
.tv-wave{ animation: tvWave 2.7s ease-out infinite; opacity:0; }
.tv-wave2{ animation-delay:.9s; }
.tv-wave3{ animation-delay:1.8s; }
@keyframes tvWave{
  0%{ transform:scale(.5); opacity:0; }
  20%{ opacity:.65; }
  100%{ transform:scale(3.1); opacity:0; }
}
.tv-scan{ transform:translateY(60px); animation: tvScan 3.8s linear infinite; }
@keyframes tvScan{
  0%{ transform:translateY(0); }
  100%{ transform:translateY(150px); }
}

/* Connected TV — content rail sliding, play pulse, playhead filling */
.ctv-row{ animation: ctvSlide 14s linear infinite; }
@keyframes ctvSlide{
  0%{ transform:translateX(0); }
  100%{ transform:translateX(-288px); }
}
.ctv-ping{ animation: ctvPing 2.9s ease-out infinite; opacity:0; }
@keyframes ctvPing{
  0%{ transform:scale(1); opacity:.6; }
  100%{ transform:scale(1.85); opacity:0; }
}
.ctv-prog{ animation: ctvProg 5.6s ease-in-out infinite; }
@keyframes ctvProg{
  0%{ transform:scaleX(0); }
  88%{ transform:scaleX(1); }
  100%{ transform:scaleX(1); }
}

/* Targeted Display — a reticle stepping across the audience grid */
.dp-reticle{ transform:translate(244px,190px); animation: dpMove 9s var(--ease) infinite; }
@keyframes dpMove{
  0%,28%{ transform:translate(160px,154px); }
  33%,61%{ transform:translate(286px,226px); }
  66%,94%{ transform:translate(244px,118px); }
  100%{ transform:translate(160px,154px); }
}
.dp-ping{ animation: dpPing 3s ease-out infinite; opacity:0; }
@keyframes dpPing{
  0%{ transform:scale(.7); opacity:0; }
  15%{ opacity:.7; }
  70%{ transform:scale(2.4); opacity:0; }
  100%{ transform:scale(2.4); opacity:0; }
}

/* Paid Search — a query being typed, then results landing under it */
.ps-type{ animation: psType 7s var(--ease) infinite; }
@keyframes psType{
  0%{ transform:scaleX(0); }
  20%{ transform:scaleX(1); }
  90%{ transform:scaleX(1); }
  97%,100%{ transform:scaleX(0); }
}
.ps-caret-move{ animation: psCaret 7s var(--ease) infinite; }
@keyframes psCaret{
  0%{ transform:translateX(-150px); }
  20%{ transform:translateX(0); }
  90%{ transform:translateX(0); }
  97%,100%{ transform:translateX(-150px); }
}
.ps-caret{ animation: psBlink 1.06s steps(1,end) infinite; }
@keyframes psBlink{ 0%,50%{ opacity:1; } 51%,100%{ opacity:0; } }
.ps-res1{ animation: psRes1 7s var(--ease) infinite; }
.ps-res2{ animation: psRes2 7s var(--ease) infinite; }
.ps-res3{ animation: psRes3 7s var(--ease) infinite; }
@keyframes psRes1{
  0%,21%{ opacity:0; transform:translateY(12px); }
  27%,89%{ opacity:1; transform:translateY(0); }
  95%,100%{ opacity:0; transform:translateY(0); }
}
@keyframes psRes2{
  0%,26%{ opacity:0; transform:translateY(12px); }
  32%,89%{ opacity:1; transform:translateY(0); }
  95%,100%{ opacity:0; transform:translateY(0); }
}
@keyframes psRes3{
  0%,31%{ opacity:0; transform:translateY(12px); }
  37%,89%{ opacity:1; transform:translateY(0); }
  95%,100%{ opacity:0; transform:translateY(0); }
}

/* Services overview — every channel wired back to one hub */
.hub-spoke{ stroke: rgba(var(--blue-rgb),.22); stroke-width:2; }
.hub-beam{
  stroke: var(--blue); stroke-width:3; stroke-linecap:round;
  stroke-dasharray: 12 88; stroke-dashoffset:0;
  opacity:0;
  animation: hubBeam 7s linear infinite;
}
.hub-b2{ animation-delay:.62s; }
.hub-b3{ animation-delay:1.24s; }
.hub-b4{ animation-delay:1.86s; }
.hub-b5{ animation-delay:2.48s; }
.hub-b6{ animation-delay:3.1s; }
.hub-b7{ animation-delay:3.72s; }
@keyframes hubBeam{
  0%{ stroke-dashoffset:0; opacity:0; }
  3%{ opacity:1; }
  13%{ stroke-dashoffset:-88; opacity:1; }
  17%{ stroke-dashoffset:-88; opacity:0; }
  100%{ stroke-dashoffset:-88; opacity:0; }
}
.hub-node{ transform-box:fill-box; transform-origin:center; animation: hubNode 7s var(--ease) infinite; }
.hub-node-bg{ fill: var(--paper); animation: hubNodeLit 7s var(--ease) infinite; }
.hub-n2, .hub-n2 .hub-node-bg{ animation-delay:.62s; }
.hub-n3, .hub-n3 .hub-node-bg{ animation-delay:1.24s; }
.hub-n4, .hub-n4 .hub-node-bg{ animation-delay:1.86s; }
.hub-n5, .hub-n5 .hub-node-bg{ animation-delay:2.48s; }
.hub-n6, .hub-n6 .hub-node-bg{ animation-delay:3.1s; }
.hub-n7, .hub-n7 .hub-node-bg{ animation-delay:3.72s; }
@keyframes hubNode{
  0%,11%{ transform:scale(1); }
  16%{ transform:scale(1.15); }
  27%,100%{ transform:scale(1); }
}
@keyframes hubNodeLit{
  0%,11%{ fill: var(--paper); }
  16%{ fill: var(--blue-pale); }
  32%,100%{ fill: var(--paper); }
}
.hub-halo{ transform-box:fill-box; transform-origin:center; opacity:0; animation: hubHalo 7s ease-out infinite; }
@keyframes hubHalo{
  0%,80%{ transform:scale(1); opacity:0; }
  84%{ opacity:.55; }
  99%,100%{ transform:scale(1.95); opacity:0; }
}

/* Email Automation — a send leaving the envelope, a flow running underneath */
.em-letter{ animation: emSend 6s var(--ease) infinite; }
@keyframes emSend{
  0%,10%{ transform:translateY(44px); opacity:1; }
  46%{ transform:translateY(-12px); opacity:1; }
  68%{ transform:translateY(-18px); opacity:1; }
  86%,100%{ transform:translateY(-34px); opacity:0; }
}
.em-dot{ animation: emFlow 6s linear infinite; }
@keyframes emFlow{
  0%{ transform:translateX(0); opacity:0; }
  6%{ opacity:1; }
  92%{ opacity:1; }
  100%{ transform:translateX(256px); opacity:0; }
}
.em-node{ animation: emNode 6s ease-out infinite; }
.em-node2{ animation-delay:3s; }
.em-node3{ animation-delay:5.6s; }
@keyframes emNode{
  0%,4%{ transform:scale(1); }
  8%{ transform:scale(1.28); }
  20%,100%{ transform:scale(1); }
}

@media (max-width: 1240px){ .svc-decor{ opacity:.45; width:320px; height:214px; } }
@media (max-width: 860px){
  .svc-decor{ display:none; }
  .svc-hero h1, .svc-hero .tags{ max-width:100%; }
  .svc-hero .lede{ max-width:640px; }
}
@media (prefers-reduced-motion: reduce){
  .bb-sweep, .bb-car, .sm-feed, .sm-heart, .tv-wave, .tv-scan,
  .ctv-row, .ctv-ping, .ctv-prog, .dp-reticle, .dp-ping,
  .ps-type, .ps-caret, .ps-caret-move, .ps-res1, .ps-res2, .ps-res3,
  .em-letter, .em-dot, .em-node,
  .hub-beam, .hub-node, .hub-node-bg, .hub-halo{ animation:none; }
  .sm-heart, .tv-wave, .ctv-ping, .dp-ping{ opacity:.5; }
}
.related-services{
  margin-top:64px;
  padding-top:40px;
  border-top:1px solid var(--line);
}
/* when it stands as its own section it doesn't need the divider above it */
.related-services.is-standalone{ margin-top:0; padding-top:0; border-top:0; }
.related-services > strong{
  display:block;
  font-family: var(--ff-head);
  font-size:13px;
  text-transform:uppercase;
  letter-spacing:.05em;
  color: var(--muted);
  margin-bottom:18px;
}
.related-services-list{ display:flex; flex-wrap:wrap; gap:10px; }
.related-services-list a{
  font-size:13px;
  color: var(--slate-dark);
  background: var(--paper-alt);
  border:1px solid var(--line);
  padding:9px 18px;
  border-radius:999px;
  transition: background .3s var(--ease), border-color .3s var(--ease), color .3s var(--ease),
              transform .3s var(--ease), box-shadow .3s var(--ease);
}
.related-services-list a:hover{
  background:#fff;
  border-color: rgba(var(--blue-rgb),.4);
  color: var(--blue-dark);
  transform: translateY(-3px);
  box-shadow: 0 8px 18px rgba(var(--blue-rgb),.14);
}
.entry-content{ padding: 70px 0; max-width: var(--measure); margin:0 auto; }
.entry-content h2{ font-size: clamp(24px,2.8vw,32px); margin: 38px 0 16px; text-align:left; }
.entry-content h3{ margin: 28px 0 12px; text-align:left; }
.entry-content p{ margin-bottom:18px; color: var(--ink-soft); }
.entry-content a{ color: var(--blue-dark); text-decoration:underline; text-underline-offset:3px; }
.entry-content ul, .entry-content ol{ margin: 0 0 18px 22px; color: var(--ink-soft); }
.entry-content ul{ list-style:disc; }
.entry-content ol{ list-style:decimal; }
.entry-content img{ border-radius: var(--radius); margin: 28px 0; }
.entry-content blockquote{
  border-left: 3px solid var(--blue);
  padding-left: 20px;
  font-family: var(--ff-head);
  font-size:18px;
  color: var(--ink);
  margin: 28px 0;
}

.blog-grid{ display:grid; grid-template-columns: repeat(3,1fr); gap:28px; }
.post-card{
  background: var(--paper); border:1px solid var(--line); border-radius: var(--radius);
  overflow:hidden; display:flex; flex-direction:column;
  box-shadow: var(--shadow-sm);
}
.post-card .thumb{ aspect-ratio:16/10; overflow:hidden; background: var(--paper-alt); }
.post-card .thumb img{ width:100%; height:100%; object-fit:cover; }
.post-card .body{ padding:24px; display:flex; flex-direction:column; gap:12px; flex:1; }
.post-card .meta{ font-size:11.5px; letter-spacing:.04em; text-transform:uppercase; color: var(--blue-dark); font-weight:600; }
.post-card h3{ font-size:18px; }
.post-card p{ font-size:14px; color:var(--muted); }
.post-card .readmore{ margin-top:auto; font-family: var(--ff-head); font-size:12.5px; font-weight:700; color:var(--ink); }

.pagination{ display:flex; gap:10px; justify-content:center; margin-top:56px; }
.pagination a, .pagination span{
  min-width:42px; height:42px; padding:0 14px;
  display:flex; align-items:center; justify-content:center;
  border:1px solid var(--line); border-radius:999px; font-family:var(--ff-head); font-size:13px;
  color: var(--ink-soft);
}
.pagination .current{ background: var(--blue); color:#fff; border-color:var(--blue); }
.pagination a:hover{ border-color:var(--blue); color:var(--blue-dark); }

.error-404{ padding: 210px 0 150px; text-align:center; }
.error-404 .h1{ font-size: clamp(80px,14vw,180px); }
.error-404 p{ margin: 18px auto 32px; max-width:420px; }

.widget-area{ padding: 56px 0; }
.widget{ margin-bottom: 38px; }
.widget h2, .widget .widget-title{ font-family: var(--ff-head); font-weight:600; font-size:14px; text-transform:uppercase; letter-spacing:.06em; margin-bottom:16px; color:var(--ink); }

.comments-area{ margin-top: 56px; border-top:1px solid var(--line); padding-top: 38px; }

/* WP core alignment helpers */
.alignwide{ max-width: 1080px; margin-left:auto; margin-right:auto; }
.alignfull{ max-width:none; width:100vw; margin-left:calc(50% - 50vw); }
.wp-caption-text, figcaption{ font-size:12.5px; color: var(--muted); margin-top:8px; text-align:center; }
.screen-reader-text{ position:absolute !important; clip:rect(1px,1px,1px,1px); overflow:hidden; height:1px; width:1px; }

/* ---------- Reveal-on-scroll ---------- */
.reveal{ opacity:0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-visible{ opacity:1; transform:none; }
@media (prefers-reduced-motion: reduce){
  .reveal{ opacity:1; transform:none; transition:none; }
  .about-points.reveal li{ opacity:1; transform:none; transition:none; }
  .about-points.reveal li svg path{ stroke-dashoffset:0; transition:none; }
  .service-hero-ico::after{ animation:none; opacity:0; }
  .marquee{ animation:none; }
  .service-card .ico::before{ animation:none; opacity:0; }
  .service-card::after{ transition:none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px){
  .hero-grid{ grid-template-columns:1fr; gap: 56px; }
  .hero-side{ border-left:none; padding-left:0; border-top:1px solid var(--line); padding-top:30px; }
  .problem-grid, .about-grid, .contact-grid{ grid-template-columns:1fr; }
  .services-grid{ grid-template-columns: repeat(2,1fr); }
  .results-grid, .testi-track{ grid-template-columns: repeat(2,1fr); }
  .footer-top{ grid-template-columns: 1fr 1fr; }
  .blog-grid{ grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 860px){
  .main-nav, .header-cta .phone{ display:none; }
  .menu-toggle{ display:flex; }
  section{ padding: 72px 0; }
  .hero{ padding: 140px 0 70px; }
  /* comfortable tap targets on touch devices */
  .contact-item a, .contact-item p{ min-height:40px; display:flex; align-items:center; }
  .footer-col a, .footer-contact a, .mobile-nav a{ padding-top:5px; padding-bottom:5px; }
}
@media (max-width: 640px){
  .services-grid, .results-grid, .testi-track, .about-points, .form-row, .blog-grid{ grid-template-columns: 1fr; }
  .process-item{ grid-template-columns: 1fr; gap:10px; }
  .footer-top{ grid-template-columns: 1fr; gap:38px; }
  .cta-band{ margin: 0 16px; padding: 56px 22px; }
  .section-head{ flex-direction:column; align-items:flex-start; }
  .section-tag{ text-align:left; }

  /* header: swap the long CTA for a one-tap call button */
  .header-book{ display:none; }
  .header-call{ display:inline-flex; }
  .site-header .container{ gap:10px; }
  .brand img{ height:34px; }
  .header-cta{ gap:10px; }

  /* stats read as a clean 2-up instead of 4 cramped columns */
  .hero-stats{ display:grid; grid-template-columns:1fr 1fr; gap:26px 18px; justify-content:stretch; }
  .hero-stats .stat .num{ font-size:30px; }
  .hero-stats .stat .label{ font-size:12.5px; line-height:1.45; max-width:none; }
}

/* ---------- Mobile nav drawer ---------- */
.mobile-nav{
  position:fixed; inset:0; z-index:1100;
  background: rgba(255,255,255,.98);
  backdrop-filter: blur(10px);
  display:flex; flex-direction:column;
  padding: 100px var(--gutter) 40px;
  transform: translateX(100%);
  transition: transform .45s var(--ease);
}
.mobile-nav.is-open{ transform:none; }
.mobile-nav ul{ display:flex; flex-direction:column; gap:4px; }
.mobile-nav a{
  font-family: var(--ff-display);
  font-weight:700;
  font-size: 32px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
}
.mobile-nav .btn{ margin-top:32px; align-self:flex-start; }
.mobile-close{
  position:absolute; top:22px; right:var(--gutter);
  width:44px; height:44px; border-radius:50%;
  border:1px solid var(--line); background:transparent; color:var(--ink);
  display:flex; align-items:center; justify-content:center;
}

/* ---------- CTV streaming showcase (Services page) ---------- */
.ctv-showcase{
  background: var(--deep);
  border-radius: var(--radius-lg);
  padding: 64px var(--gutter);
  position:relative;
  overflow:hidden;
  isolation:isolate;
}
.ctv-showcase::before{
  content:"";
  position:absolute; inset:-30% -10% auto -10%; height:520px; z-index:-1;
  background: radial-gradient(circle at 20% 10%, rgba(var(--blue-rgb),.28), transparent 55%),
              radial-gradient(circle at 85% 40%, rgba(var(--blue-rgb),.14), transparent 50%);
}
.ctv-showcase-head{
  display:flex;
  justify-content:space-between;
  align-items:flex-end;
  gap:32px;
  flex-wrap:wrap;
  margin-bottom: 48px;
}
.ctv-showcase-head .eyebrow{ color:#8fd2f2; }
.ctv-showcase-head .eyebrow::before{ background:#8fd2f2; }
.ctv-showcase-head h2{ color:#fff; margin-top:14px; max-width:520px; }
.ctv-showcase-head .lede{ color: var(--on-deep-muted); max-width:380px; }

.ctv-screen{
  border-radius: var(--radius);
  border: 1px solid var(--deep-line);
  background: linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,0));
  padding: 34px 0;
  display:flex;
  flex-direction:column;
  gap: 18px;
}
.logo-row{
  display:flex;
  width: max-content;
  gap: 16px;
  animation: logo-scroll 26s linear infinite;
}
.logo-row.row-reverse{ animation-direction: reverse; animation-duration: 32s; }
.ctv-screen:hover .logo-row{ animation-play-state: paused; }
@keyframes logo-scroll{
  from{ transform: translateX(0); }
  to{ transform: translateX(-50%); }
}
.logo-chip{
  flex: none;
  display:flex;
  align-items:center;
  gap:10px;
  padding: 14px 26px;
  border-radius: 999px;
  background: rgba(255,255,255,.05);
  border: 1px solid var(--deep-line);
  font-family: var(--ff-head);
  font-weight:600;
  font-size: 15px;
  letter-spacing:.01em;
  color: var(--on-deep);
  white-space:nowrap;
  transition: background .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease);
}
.logo-chip:hover{ background: rgba(var(--blue-rgb),.16); border-color: rgba(var(--blue-rgb),.5); transform: translateY(-2px); }
.logo-chip .dot{
  width:7px; height:7px; border-radius:50%;
  background: var(--blue);
  flex:none;
  box-shadow: 0 0 0 4px rgba(var(--blue-rgb),.2);
}

.ctv-stats{
  display:grid;
  grid-template-columns: repeat(3,1fr);
  gap: 24px;
  margin-top: 44px;
  padding-top: 40px;
  border-top: 1px solid var(--deep-line-soft);
}
.ctv-stats .stat .num{ color:#fff; }
.ctv-stats .stat .num span{ color:#8fd2f2; }
.ctv-stats .stat .label{ color: var(--on-deep-muted); }

@media (prefers-reduced-motion: reduce){
  .logo-row{ animation: none; }
}
@media (max-width: 640px){
  .ctv-stats{ grid-template-columns: 1fr; }
}

/* ---------- Contact form: validation states + spam trap ---------- */
.hp-field{ position:absolute; left:-9999px; width:1px; height:1px; overflow:hidden; }
.field-error{
  display:block;
  min-height:0;
  font-size:12.5px;
  color: var(--red);
  margin-top:6px;
  line-height:1.4;
}
.field input.is-invalid,
.field textarea.is-invalid{
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(214,69,69,.12);
}
.form-status{
  margin-top:14px;
  font-size:13.5px;
  font-weight:500;
  padding:12px 16px;
  border-radius: var(--radius-sm);
  line-height:1.5;
}
.form-status.is-ok{ background: var(--blue-pale); color: var(--blue-deep); border:1px solid rgba(var(--blue-rgb),.28); }
.form-status.is-err{ background:#fdf0f0; color:#9c2b2b; border:1px solid rgba(214,69,69,.3); }

/* ---------- Legal documents ---------- */
.legal-doc{ padding-top: 0; }
.legal-doc h2{ font-size: clamp(21px,2.3vw,26px); margin: 40px 0 14px; }
.legal-doc p, .legal-doc li{ font-size:15.5px; line-height:1.75; }
.legal-doc ul{ margin: 0 0 18px 20px; list-style: disc; }
.legal-doc li{ margin-bottom:9px; }
.legal-doc a{ padding:2px 0; }          /* a little more to tap on phones */
.legal-meta{
  font-size:13.5px !important;
  color: var(--muted);
  padding-bottom:22px;
  margin-bottom:26px;
  border-bottom:1px solid var(--line);
}

/* ---------- Cookie consent ---------- */
.cookie-bar{
  position: fixed;
  left: 50%;
  bottom: 20px;
  transform: translate(-50%, 130%);
  z-index: 1200;
  width: min(760px, calc(100vw - 32px));
  background: var(--deep);
  color: var(--on-deep);
  border: 1px solid var(--deep-line);
  border-radius: var(--radius);
  box-shadow: 0 24px 60px -18px rgba(0,0,0,.55);
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
  transition: transform .5s var(--ease), opacity .4s var(--ease);
  opacity: 0;
}
.cookie-bar.is-shown{ transform: translate(-50%, 0); opacity: 1; }
.cookie-bar p{ flex:1 1 320px; margin:0; font-size:13.5px; line-height:1.6; color:#c2cfd6; }
.cookie-bar a{ color:#7fd0f5; text-decoration:underline; text-underline-offset:2px; }
.cookie-actions{ display:flex; gap:10px; flex-wrap:wrap; }
.cookie-bar .btn{ padding:11px 20px; font-size:12.5px; }
@media (max-width: 560px){
  .cookie-bar{ padding:18px; gap:14px; bottom:12px; }
  .cookie-actions{ width:100%; }
  .cookie-actions .btn{ flex:1; }
}

/* ---------- WordPress specifics ---------- */
.skip-link{ position:absolute; left:-9999px; }
.skip-link:focus{
  left:16px; top:16px; z-index:2000; width:auto; height:auto; clip:auto;
  padding:12px 18px; border-radius:10px;
  background: var(--deep); color:#fff; font-family: var(--ff-head); font-weight:600;
}
.admin-bar .site-header{ top: 32px; }
@media (max-width: 782px){ .admin-bar .site-header{ top: 46px; } }

.legal-copy h2{ text-align:left; }
.post-summary{ margin-bottom: 42px; }
.post-summary h2 a{ color: inherit; text-decoration:none; }
.post-summary h2 a:hover{ color: var(--blue-dark); }

/* WordPress adds its own menu classes — match the design's active state */
.main-nav .current-menu-item > a,
.main-nav .current_page_item > a,
.main-nav .current-menu-ancestor > a{ color: var(--blue-dark); }
.main-nav .current-menu-item > a::after,
.main-nav .current_page_item > a::after,
.main-nav .current-menu-ancestor > a::after{ width:100%; }

.contact-note{ margin-top: auto; padding-top: 26px; border-top: 1px solid var(--line); }
.contact-note strong{
  display:block; color: var(--ink); font-family: var(--ff-head);
  font-size:14px; margin-bottom:10px; text-transform:uppercase; letter-spacing:.03em;
}
.contact-note p{ color: var(--ink-soft); font-size:14.5px; line-height:1.7; margin:0; }

/* ---------- Contact icons (footer + contact card) ---------- */
.footer-col .footer-contact-list li{ display:flex; align-items:center; gap:12px; }
.footer-col .footer-contact-list li > span.fc-ico{
  width:32px; height:32px; border-radius:9px; flex:none;
  background: var(--blue-pale); color: var(--blue-dark);
  display:inline-flex; align-items:center; justify-content:center;
}
.footer-col .footer-contact-list .fc-ico svg{ width:16px; height:16px; }
.contact-item .ico svg{ width:22px; height:22px; }
