/* ============================================================
   CONTENT FULL STOP — shared stylesheet
   Every page links to this file. Change something here and it
   changes everywhere.

   START HERE: the teal values below are estimated from your
   screenshots. Paste your real hex codes in and the whole site
   updates.
   ============================================================ */

:root{
  --teal-light:#12A594;
  --teal:#0E8074;
  --teal-dark:#0B6B5E;
  --logo-cyan:#1CA6C0;

  --ink:#141A1F;
  --body:#5A6570;
  --muted:#8A949D;

  --bg:#FFFFFF;
  --bg-alt:#F7FAFA;
  --bg-tint:#F1F8FA;
  --line:#E6EDF0;

  --icon-cool:#EAF2F8;
  --icon-warm:#E2F4F1;

  --radius:12px;
  --shadow:0 1px 2px rgba(20,26,31,.04), 0 4px 16px rgba(20,26,31,.05);
  --shadow-hover:0 2px 6px rgba(20,26,31,.06), 0 12px 28px rgba(20,26,31,.09);

  --wrap:1140px;

  /* To use a webfont, add a Google Fonts <link> in each page's
     <head> and put the family name first in this list. */
  --font:"Segoe UI",system-ui,-apple-system,"Helvetica Neue",Arial,sans-serif;
}

*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth}
@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  *{animation:none!important;transition:none!important}
}
body{
  margin:0;font-family:var(--font);color:var(--body);background:var(--bg);
  font-size:16px;line-height:1.6;-webkit-font-smoothing:antialiased;
}
h1,h2,h3{color:var(--ink);margin:0;line-height:1.15;letter-spacing:-.02em}
p{margin:0}
a{color:var(--teal);text-decoration:none}
img,svg{max-width:100%}
:focus-visible{outline:3px solid var(--teal-light);outline-offset:3px;border-radius:4px}

.skip{
  position:absolute;left:-9999px;top:0;background:#fff;color:var(--ink);
  padding:12px 18px;z-index:200;border-radius:0 0 8px 0;font-weight:600;
}
.skip:focus{left:0}

.wrap{max-width:var(--wrap);margin:0 auto;padding:0 24px}
.sr-only{
  position:absolute;width:1px;height:1px;padding:0;margin:-1px;
  overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0;
}

/* ---------- Header ---------- */
.site-header{position:sticky;top:0;z-index:100;background:#fff;border-bottom:1px solid var(--line)}
.header-inner{display:flex;align-items:center;gap:24px;min-height:68px}

.logo{display:flex;flex-direction:column;line-height:1;flex-shrink:0}
.logo-main{font-size:22px;font-weight:700;color:var(--logo-cyan);letter-spacing:-.01em}
.logo-main::after{
  content:"";display:inline-block;width:7px;height:7px;border-radius:50%;
  background:var(--ink);margin-left:3px;
}
.logo-sub{
  font-size:10px;font-weight:600;color:var(--muted);
  letter-spacing:.14em;text-transform:uppercase;margin-top:4px;
}

.site-nav{display:flex;gap:28px;margin:0 auto}
.site-nav a{
  color:var(--body);font-size:15px;font-weight:500;padding:6px 2px;
  border-bottom:2px solid transparent;transition:color .15s,border-color .15s;
}
.site-nav a:hover{color:var(--teal)}
.site-nav a[aria-current="page"]{color:var(--ink);border-bottom-color:var(--teal)}

.header-actions{display:flex;gap:10px;flex-shrink:0}

/* ---------- Buttons ---------- */
.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:8px;
  font-family:inherit;font-size:14px;font-weight:600;
  padding:10px 18px;border-radius:8px;border:1.5px solid transparent;
  cursor:pointer;white-space:nowrap;
  transition:background .15s,color .15s,border-color .15s,transform .15s,box-shadow .15s;
}
.btn svg{width:16px;height:16px;flex-shrink:0}

.btn-outline{border-color:var(--teal);color:var(--teal);background:#fff}
.btn-outline:hover{background:var(--icon-warm)}

.btn-solid{background:var(--teal);color:#fff;border-color:var(--teal)}
.btn-solid:hover{background:var(--teal-dark);border-color:var(--teal-dark)}

.btn-lg{font-size:16px;padding:15px 26px;border-radius:10px}

.btn-on-teal{background:#fff;color:var(--teal-dark);border-color:#fff}
.btn-on-teal:hover{transform:translateY(-1px);box-shadow:0 8px 22px rgba(0,0,0,.16)}
.btn-on-teal-ghost{background:transparent;color:#fff;border-color:rgba(255,255,255,.85)}
.btn-on-teal-ghost:hover{background:rgba(255,255,255,.12);transform:translateY(-1px)}

/* ---------- Teal bands ---------- */
.band{
  background:linear-gradient(120deg,var(--teal-light) 0%,var(--teal-dark) 100%);
  color:#fff;text-align:center;
}
.band h1,.band h2{color:#fff}
.band-inner{padding:92px 24px}
.band-short .band-inner{padding:72px 24px}
.band h1{font-size:clamp(2.2rem,6vw,4rem);font-weight:800}
.band h2{font-size:clamp(1.8rem,4.5vw,2.75rem);font-weight:800}
.band .lede{
  font-size:clamp(1rem,2vw,1.2rem);color:rgba(255,255,255,.92);
  margin:18px auto 0;max-width:640px;
}
.band .actions{display:flex;gap:14px;justify-content:center;flex-wrap:wrap;margin-top:36px}

/* ---------- Sections ---------- */
.section{padding:84px 0}
.section-alt{background:var(--bg-alt)}
.section-tint{background:linear-gradient(180deg,var(--bg-tint) 0%,#fff 60%)}
.section-head{text-align:center;max-width:660px;margin:0 auto 48px}
.section-head h2{font-size:clamp(1.7rem,4vw,2.4rem);font-weight:800}
.section-head p{margin-top:12px;font-size:17px;color:var(--body)}

/* ---------- Cards ---------- */
.grid{display:grid;gap:22px}
.grid-2{grid-template-columns:repeat(2,1fr)}
.grid-3{grid-template-columns:repeat(3,1fr)}

.card{
  background:#fff;border:1px solid var(--line);border-radius:var(--radius);
  padding:28px;box-shadow:var(--shadow);
  transition:box-shadow .18s,transform .18s;
}
.card h3{font-size:18px;font-weight:700;margin-bottom:10px}
.card p{font-size:14.5px;line-height:1.65}

.icon-badge{
  width:40px;height:40px;border-radius:10px;display:grid;place-items:center;
  margin-bottom:18px;background:var(--icon-cool);color:var(--teal);
}
.icon-badge svg{width:20px;height:20px}

.card-link{display:flex;flex-direction:column;color:inherit;min-height:180px}
.card-link .icon-badge{background:var(--icon-warm)}
.card-link:hover{box-shadow:var(--shadow-hover);transform:translateY(-2px)}
.card-link .arrow{
  margin-top:auto;padding-top:18px;align-self:flex-end;color:var(--teal);
  display:flex;transition:transform .18s;
}
.card-link:hover .arrow{transform:translateX(4px)}

/* ============================================================
   ABOUT PAGE
   ============================================================ */
.bio-card{
  background:#fff;border:1px solid var(--line);border-radius:var(--radius);
  box-shadow:var(--shadow);padding:44px;max-width:860px;margin:0 auto;
}
.bio-card p+p{margin-top:18px}
.bio-portrait{
  float:left;width:150px;height:auto;border-radius:10px;
  margin:4px 26px 14px 0;
}
.bio-actions{
  display:flex;gap:14px;justify-content:center;flex-wrap:wrap;margin-top:40px;
}

/* ============================================================
   PORTFOLIO PAGE
   ============================================================ */
.portfolio-head{text-align:center;padding:64px 24px 40px}
.portfolio-head h1{font-size:clamp(2rem,5vw,3rem);font-weight:800;color:var(--teal)}
.portfolio-head p{margin-top:10px;font-size:17px;color:var(--body)}

.filter-panel{
  background:#fff;border:1px solid var(--line);border-radius:var(--radius);
  box-shadow:var(--shadow);padding:22px;margin-bottom:36px;
}
.filter-search{
  width:100%;font-family:inherit;font-size:15px;color:var(--ink);
  padding:12px 16px;border:1px solid var(--line);border-radius:8px;
  background:var(--bg-alt);
}
.filter-search::placeholder{color:var(--muted)}

.filter-tags{display:flex;flex-wrap:wrap;gap:8px;margin-top:18px;align-items:center}
.filter-tags-label{
  font-size:13px;font-weight:600;color:var(--muted);margin-right:4px;
}
.tag-chip{
  font-family:inherit;font-size:12.5px;font-weight:500;color:var(--body);
  background:#fff;border:1px solid var(--line);border-radius:999px;
  padding:5px 13px;cursor:pointer;
  transition:background .15s,color .15s,border-color .15s;
}
.tag-chip:hover{border-color:var(--teal);color:var(--teal)}
.tag-chip[aria-pressed="true"]{
  background:var(--teal);border-color:var(--teal);color:#fff;
}

.filter-status{font-size:14px;color:var(--muted);margin-bottom:20px}

.portfolio-grid{
  display:grid;grid-template-columns:repeat(3,1fr);gap:22px;align-items:start;
}

.clip{
  display:flex;flex-direction:column;
  background:#fff;border:1px solid var(--line);border-radius:var(--radius);
  box-shadow:var(--shadow);overflow:hidden;
  transition:box-shadow .18s,transform .18s;
}
.clip:hover{box-shadow:var(--shadow-hover);transform:translateY(-2px)}
.clip[hidden]{display:none}

/* Placeholder block. Swap for <img class="clip-thumb" src="..." alt="..."> */
.clip-thumb{
  display:block;width:100%;aspect-ratio:16/9;object-fit:cover;
  background:linear-gradient(120deg,var(--teal-light),var(--teal-dark));
  border-bottom:1px solid var(--line);
}

.clip-body{padding:22px;display:flex;flex-direction:column;flex:1}
.clip-body h2{font-size:17px;font-weight:700;line-height:1.3}
.clip-excerpt{font-size:14px;line-height:1.6;margin-top:10px;color:var(--body)}

.clip-source{
  display:inline-flex;align-items:center;gap:6px;
  font-size:13px;font-weight:600;color:var(--teal);margin-top:14px;
}
.clip-source svg{width:14px;height:14px}
.clip-source:hover{text-decoration:underline}

.clip-tags{
  display:flex;flex-wrap:wrap;gap:6px;margin-top:14px;
  padding-top:14px;border-top:1px solid var(--line);
}
.clip-tag{
  font-size:11.5px;color:var(--muted);
  border:1px solid var(--line);border-radius:999px;padding:3px 9px;
}

.clip-cta{
  display:flex;align-items:center;justify-content:center;gap:8px;
  margin-top:18px;padding:11px 16px;border-radius:8px;
  background:var(--teal);color:#fff;font-size:13.5px;font-weight:600;
  transition:background .15s;
}
.clip-cta svg{width:15px;height:15px;transition:transform .18s}
.clip-cta:hover{background:var(--teal-dark)}
.clip-cta:hover svg{transform:translateX(3px)}

.no-results{
  text-align:center;padding:60px 20px;color:var(--body);
  border:1px dashed var(--line);border-radius:var(--radius);
}
.no-results strong{display:block;color:var(--ink);font-size:18px;margin-bottom:8px}

/* ---------- Footer ---------- */
.site-footer{
  background:var(--bg-alt);border-top:1px solid var(--line);
  padding:40px 0;text-align:center;font-size:14px;color:var(--muted);
}
.site-footer address{font-style:normal;margin-bottom:10px;color:var(--body)}
.site-footer address a{color:var(--body)}
.site-footer address a:hover{color:var(--teal)}
.footer-sep{color:var(--line);margin:0 8px}

/* ---------- Responsive ---------- */
@media (max-width:980px){
  .grid-3,.portfolio-grid{grid-template-columns:repeat(2,1fr)}
  .site-nav{margin:0;gap:20px}
}
@media (max-width:760px){
  .header-inner{flex-wrap:wrap;gap:12px;padding-top:14px;padding-bottom:14px}
  .site-nav{order:3;width:100%;justify-content:center;border-top:1px solid var(--line);padding-top:12px}
  .header-actions{margin-left:auto}
  .band-inner{padding:64px 24px}
  .section{padding:60px 0}
  .grid-2,.grid-3,.portfolio-grid{grid-template-columns:1fr}
  .btn{font-size:13.5px;padding:9px 14px}
  .bio-card{padding:28px}
  .bio-portrait{float:none;display:block;margin:0 auto 20px}
}
@media (max-width:420px){
  .header-actions .btn span{display:none}
  .header-actions .btn{padding:10px 12px}
}

/* ============================================================
   SERVICE GROUPS (home page)
   ============================================================ */
.service-group{margin-bottom:52px}
.service-group:last-child{margin-bottom:0}
.service-group-head{
  display:flex;align-items:baseline;gap:14px;
  margin-bottom:22px;padding-bottom:12px;border-bottom:1px solid var(--line);
}
.service-group-head h3{font-size:20px;font-weight:800;color:var(--ink)}
.service-group-head span{font-size:14px;color:var(--muted)}

/* ============================================================
   TWO-ROW PORTFOLIO FILTER
   ============================================================ */
.filter-row{
  display:flex;flex-wrap:wrap;gap:8px;margin-top:16px;align-items:center;
}
.filter-row-label{
  font-size:12px;font-weight:700;color:var(--muted);
  text-transform:uppercase;letter-spacing:.08em;
  min-width:62px;
}
.filter-clear{
  font-family:inherit;font-size:13px;font-weight:600;color:var(--teal);
  background:none;border:none;cursor:pointer;padding:6px 2px;margin-top:14px;
}
.filter-clear:hover{text-decoration:underline}

/* Cards with no external link still need even spacing */
.clip-source+.clip-tags{margin-top:14px}

/* ============================================================
   JOIN THE NETWORK FORM
   ============================================================ */
.form-card{
  background:#fff;border:1px solid var(--line);border-radius:var(--radius);
  box-shadow:var(--shadow);padding:40px;max-width:720px;margin:0 auto;
}
.field{margin-bottom:22px}
.field label{
  display:block;font-size:14px;font-weight:600;color:var(--ink);margin-bottom:7px;
}
.field .hint{display:block;font-weight:400;color:var(--muted);font-size:13px;margin-top:3px}
.field input[type=text],
.field input[type=email],
.field input[type=url],
.field select,
.field textarea{
  width:100%;font-family:inherit;font-size:15px;color:var(--ink);
  padding:11px 14px;border:1px solid var(--line);border-radius:8px;
  background:var(--bg-alt);
}
.field textarea{min-height:110px;resize:vertical}
.field input:focus,.field select:focus,.field textarea:focus{
  background:#fff;border-color:var(--teal);
}

fieldset{border:none;padding:0;margin:0 0 22px}
legend{
  font-size:14px;font-weight:600;color:var(--ink);margin-bottom:10px;padding:0;
}
.checks{display:grid;grid-template-columns:repeat(2,1fr);gap:9px}
.checks label{
  display:flex;align-items:flex-start;gap:8px;
  font-size:14px;font-weight:400;color:var(--body);cursor:pointer;margin:0;
}
.checks input{margin-top:3px;accent-color:var(--teal);flex-shrink:0}

.form-note{font-size:13.5px;color:var(--muted);margin-top:18px;text-align:center}

@media (max-width:760px){
  .form-card{padding:26px}
  .checks{grid-template-columns:1fr}
  .filter-row-label{min-width:0;width:100%}
}

/* ============================================================
   "NO IMAGE" THUMBNAIL
   Use on any clip where you have no usable image:
     <div class="clip-thumb clip-thumb--none"> ... </div>
   ============================================================ */
.clip-thumb--none{
  display:flex;flex-direction:column;align-items:center;justify-content:center;
  gap:9px;background:var(--bg-alt);
  background-image:repeating-linear-gradient(
    -45deg,transparent 0 9px,rgba(14,128,116,.045) 9px 18px);
  color:var(--muted);
}
.clip-thumb--none svg{width:26px;height:26px;opacity:.55}
.clip-thumb--none span{
  font-size:11.5px;font-weight:600;letter-spacing:.06em;text-transform:uppercase;
}

/* ============================================================
   SERVICE PAGE
   ============================================================ */
.prose{max-width:760px;margin:0 auto}
.prose h2{font-size:clamp(1.4rem,3vw,1.9rem);font-weight:800;margin-top:46px}
.prose h3{font-size:18px;font-weight:700;margin-top:30px}
.prose p{margin-top:16px}
.prose ul{margin:16px 0 0;padding-left:22px}
.prose li{margin-bottom:9px}
.prose li::marker{color:var(--teal)}
.prose .lead{font-size:18px;line-height:1.65;color:var(--ink)}

.callout{
  background:var(--bg-alt);border-left:3px solid var(--teal);
  border-radius:0 8px 8px 0;padding:20px 24px;margin-top:28px;
}
.callout p{margin-top:0}
.callout p+p{margin-top:12px}

.page-cta{text-align:center;margin-top:52px}

/* ============================================================
   BLOG
   ============================================================ */
.post-list{max-width:760px;margin:0 auto;display:grid;gap:18px}
.post-card{
  display:block;background:#fff;border:1px solid var(--line);
  border-radius:var(--radius);box-shadow:var(--shadow);
  padding:26px 28px;color:inherit;
  transition:box-shadow .18s,transform .18s;
}
.post-card:hover{box-shadow:var(--shadow-hover);transform:translateY(-2px)}
.post-card h2{font-size:20px;font-weight:700;line-height:1.3}
.post-card p{font-size:15px;margin-top:9px}
.post-meta{
  font-size:12.5px;font-weight:600;color:var(--muted);
  text-transform:uppercase;letter-spacing:.07em;margin-bottom:9px;
}

.post{max-width:720px;margin:0 auto}
.post-header{margin-bottom:34px;padding-bottom:26px;border-bottom:1px solid var(--line)}
.post-header h1{font-size:clamp(1.8rem,4.5vw,2.6rem);font-weight:800}
.post-body{font-size:17px;line-height:1.75}
.post-body p{margin-top:20px}
.post-body h2{font-size:22px;font-weight:700;margin-top:40px}
.post-body h3{font-size:18px;font-weight:700;margin-top:30px}
.post-body ul,.post-body ol{margin:18px 0 0;padding-left:24px}
.post-body li{margin-bottom:10px}
.post-body li::marker{color:var(--teal)}
.post-body blockquote{
  margin:26px 0 0;padding:4px 0 4px 22px;
  border-left:3px solid var(--teal);color:var(--ink);font-size:18px;
}
.post-body img{border-radius:10px;margin-top:26px}
.post-footer{
  margin-top:44px;padding-top:26px;border-top:1px solid var(--line);
  display:flex;gap:14px;flex-wrap:wrap;align-items:center;
}
