/*
Theme Name: Owl Studios
Theme URI: https://owl-studios.co.uk
Author: Owl Studios
Author URI: https://owl-studios.co.uk
Description: Marketing theme for Owl Studios, a small design and development studio with deep NHS health-tech pedigree. A single-page site: hero, services, health-tech specialism, track record, AI versus experience, approach, pricing and contact. Wise by design.
Version: 1.13.0
Requires at least: 6.0
Tested up to: 6.5
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: owl-studios
*/

:root{
  --coral:#F43F5E;
  --coral-deep:#BE123C;
  --ink:#15161B;
  --panel:#1A1C21;
  --panel-2:#22242B;
  --slate:#6B7280;
  --line:#E8E8EC;
  --line-dk:#2C2F37;
  --paper:#FAFAFA;
  --white:#FFFFFF;
  --sans:"Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --maxw:1120px;
}
*{box-sizing:border-box;}
html{scroll-behavior:smooth;}
body{margin:0; background:var(--white); color:var(--ink); font-family:var(--sans);
  font-size:16px; line-height:1.6; -webkit-font-smoothing:antialiased;}
.wrap{max-width:var(--maxw); margin:0 auto; padding:0 32px;}
h1,h2,h3{margin:0; font-weight:800; letter-spacing:-.025em; line-height:1.05;}
p{margin:0;}
a{color:inherit;}
.eyebrow{display:inline-block; color:var(--coral); text-transform:uppercase;
  letter-spacing:.32em; font-weight:700; font-size:.7rem;}

/* mark + lockup */
.mark{display:block; color:var(--coral);}
.mark svg{display:block; width:100%; height:auto;}
.lockup{display:flex; align-items:center; gap:.62em;}
.lockup .mark{width:1.55em;}
.lockup__type{display:flex; flex-direction:column; line-height:1;}
.lockup__word{font-size:1em; letter-spacing:-.01em; color:var(--ink); font-weight:400;}
.lockup__word b{font-weight:800;}
.lockup__strap{margin-top:.34em; color:var(--coral); text-transform:uppercase;
  font-weight:700; letter-spacing:.34em; font-size:.26em; padding-left:.15em;}
.lockup--ondark .lockup__word{color:var(--white);}

/* buttons */
.btn{display:inline-flex; align-items:center; gap:.5em; background:var(--coral); color:#fff;
  text-decoration:none; font-weight:600; font-size:15px; padding:13px 22px; border-radius:10px;
  transition:background .18s ease, transform .18s ease;}
.btn:hover{background:var(--coral-deep); transform:translateY(-1px);}
.btn--ghost{background:transparent; color:var(--ink); border:1px solid var(--line);}
.btn--ghost:hover{background:var(--ink); color:#fff; border-color:var(--ink);}
.btn--ondark.btn--ghost{color:#fff; border-color:var(--line-dk);}
.btn--ondark.btn--ghost:hover{background:#fff; color:var(--ink); border-color:#fff;}

/* header */
header.site{position:sticky; top:0; z-index:30; background:rgba(255,255,255,.86);
  backdrop-filter:saturate(1.4) blur(10px); border-bottom:1px solid var(--line);}
header.site .wrap{display:flex; align-items:center; justify-content:space-between; height:66px;}
header.site .lockup{font-size:18px;}
header.site nav{display:flex; align-items:center; gap:28px;}
header.site nav a{color:var(--slate); text-decoration:none; font-size:14px; font-weight:600;}
header.site nav a:hover{color:var(--ink);}
header.site nav a.btn, header.site nav a.btn:hover{color:#fff;}

/* --- primary navigation ------------------------------------------------ */
header.site nav a.is-current{color:var(--ink);}

.navgroup{position:relative;}
.navgroup__btn{
  appearance:none; background:none; border:0; padding:0; cursor:pointer;
  font:inherit; font-size:14px; font-weight:600; color:var(--slate);
  display:inline-flex; align-items:center; gap:6px;
}
.navgroup__btn:hover, .navgroup__btn.is-current, .navgroup.is-open .navgroup__btn{color:var(--ink);}
.navgroup__chev{width:10px; height:6px; transition:transform .18s ease;}
.navgroup.is-open .navgroup__chev{transform:rotate(180deg);}
.navgroup__btn:focus-visible, .navtoggle:focus-visible{outline:2px solid var(--coral); outline-offset:4px; border-radius:4px;}

.subnav{
  position:absolute; top:calc(100% + 14px); left:-18px; min-width:262px;
  background:#fff; border:1px solid var(--line); border-radius:14px;
  box-shadow:0 18px 40px rgba(21,22,27,.10);
  padding:8px; display:none; flex-direction:column;
}
.navgroup.is-open .subnav{display:flex;}
.subnav::before{content:""; position:absolute; top:-14px; left:0; right:0; height:14px;}
header.site .subnav a{
  padding:9px 12px; border-radius:9px; font-size:14px; font-weight:600;
  color:var(--slate); white-space:nowrap;
}
header.site .subnav a:hover{background:var(--paper); color:var(--ink);}

/* hamburger */
.navtoggle{
  display:none; appearance:none; background:none; border:0; cursor:pointer;
  width:42px; height:42px; margin-right:-9px; padding:11px 9px;
  flex-direction:column; justify-content:space-between;
}
.navtoggle__bar{
  display:block; height:2px; width:100%; background:var(--ink); border-radius:2px;
  transition:transform .22s ease, opacity .18s ease;
}
.navtoggle.is-open .navtoggle__bar:nth-child(1){transform:translateY(9px) rotate(45deg);}
.navtoggle.is-open .navtoggle__bar:nth-child(2){opacity:0;}
.navtoggle.is-open .navtoggle__bar:nth-child(3){transform:translateY(-9px) rotate(-45deg);}

@media(max-width:900px){
  .navtoggle{display:flex;}
  header.site .wrap{position:relative;}
  header.site nav{
    display:none; position:absolute; top:calc(100% + 1px); left:0; right:0;
    flex-direction:column; align-items:stretch; gap:0;
    background:#fff; border-bottom:1px solid var(--line);
    box-shadow:0 20px 40px rgba(21,22,27,.09);
    padding:10px 20px 22px; max-height:calc(100vh - 66px); overflow-y:auto;
  }
  header.site nav.is-open{display:flex;}
  header.site nav > a{padding:13px 0; border-bottom:1px solid var(--line); font-size:16px;}
  header.site nav > a.btn{margin-top:16px; border:0; justify-content:center; padding:13px 18px;}
  .navgroup{border-bottom:1px solid var(--line);}
  .navgroup__btn{width:100%; justify-content:space-between; padding:13px 0; font-size:16px;}
  .subnav{
    position:static; min-width:0; border:0; border-radius:0; box-shadow:none;
    padding:0 0 10px 14px; background:none;
  }
  header.site .subnav a{padding:9px 0; font-size:15px; white-space:normal;}
  header.site .subnav a:hover{background:none;}
}

/* hero */
.hero{background:var(--panel); color:#fff; position:relative; overflow:hidden;
  padding:140px 0 130px;}
.hero .wrap{position:relative;}
.hero .eyebrow{margin-bottom:26px;}
.hero h1{font-size:clamp(40px,6.4vw,72px); max-width:16ch;}
.hero h1 em{font-style:normal; color:var(--coral);}
.hero p.sub{margin-top:30px; max-width:58ch; font-size:19px; color:#C9CACF;}
.hero .cta{margin-top:40px; display:flex; gap:14px; flex-wrap:wrap;}

/* sections */
section{padding:104px 0;}
.sec-head{max-width:62ch;}
.sec-head .eyebrow{margin-bottom:18px;}
.sec-head h2{font-size:clamp(28px,4.2vw,42px);}
.sec-head p{margin-top:18px; font-size:18px; color:#3a3b42;}

/* services */
.services{display:grid; grid-template-columns:repeat(3,1fr); gap:26px; margin-top:52px;}
@media(max-width:880px){.services{grid-template-columns:1fr;}}
.card{border:1px solid var(--line); border-radius:18px; padding:34px; background:#fff;
  transition:border-color .2s ease, transform .2s ease, box-shadow .2s ease;}
.card:hover{border-color:var(--coral); transform:translateY(-3px);
  box-shadow:0 18px 40px -24px rgba(20,21,27,.22);}
.card .rule{width:34px; height:4px; background:var(--coral); border-radius:3px; margin-bottom:22px;}
.card h3{font-size:21px; margin-bottom:12px;}
.card p{color:#4b4c54; font-size:15.5px; line-height:1.62;}
.card ul{margin:18px 0 0; padding:0; list-style:none;}
.card li{font-size:13.5px; color:var(--slate); padding:6px 0; border-top:1px solid var(--line);}

/* experience / lived it */
.lived{background:var(--ink); color:#fff;}
.lived .grid{display:grid; grid-template-columns:1.05fr .95fr; gap:64px; align-items:center;}
@media(max-width:880px){.lived .grid{grid-template-columns:1fr; gap:40px;}}
.lived h2{font-size:clamp(28px,4.2vw,42px);}
.lived p{margin-top:20px; color:#C9CACF; font-size:18px; max-width:48ch;}
.ledger{border:1px solid var(--line-dk); border-radius:18px; overflow:hidden; background:var(--panel-2);}
.ledger .row{display:grid; grid-template-columns:130px 1fr; gap:18px; padding:18px 22px;
  border-top:1px solid var(--line-dk);}
.ledger .row:first-child{border-top:none;}
.ledger .k{color:var(--coral); font-size:11.5px; font-weight:700; text-transform:uppercase; letter-spacing:.16em; padding-top:3px;}
.ledger .v{color:#E6E7EA; font-size:14.5px; line-height:1.55;}

/* approach */
.approach{background:var(--paper);}
.pillars{display:grid; grid-template-columns:repeat(4,1fr); gap:26px; margin-top:48px;}
@media(max-width:980px){.pillars{grid-template-columns:repeat(2,1fr);}}
@media(max-width:560px){.pillars{grid-template-columns:1fr;}}
.pillar h3{font-size:18px; margin-bottom:10px;}
.pillar p{color:#4b4c54; font-size:15px;}
.pillar .dot{width:12px; height:12px; border-radius:50%; border:3px solid var(--coral); margin-bottom:18px;}

/* contact */
.contact{background:var(--panel); color:#fff; text-align:center;}
.contact .eyebrow{margin-bottom:20px;}
.contact h2{font-size:clamp(30px,5vw,52px);}
.contact p{margin:22px auto 0; max-width:46ch; color:#C9CACF; font-size:18px;}
.contact .cta{margin-top:36px; display:flex; gap:14px; justify-content:center; flex-wrap:wrap;}

footer{background:var(--ink); color:#8C8E96; padding:46px 0; border-top:1px solid var(--line-dk);}
footer .wrap{display:flex; justify-content:space-between; align-items:center; gap:20px; flex-wrap:wrap;}
footer .lockup{font-size:30px;}
footer .small{font-size:13px;}

/* startups / path to live */
.entrants{background:var(--paper);}
.path{display:grid; grid-template-columns:repeat(4,1fr); gap:24px; margin-top:52px;}
@media(max-width:980px){.path{grid-template-columns:repeat(2,1fr);}}
@media(max-width:560px){.path{grid-template-columns:1fr;}}
.pstep{position:relative;}
.pstep .num{width:42px; height:42px; border-radius:12px; background:var(--coral); color:#fff;
  font-weight:800; font-size:17px; display:flex; align-items:center; justify-content:center; margin-bottom:20px;}
.pstep h3{font-size:17px; margin-bottom:10px;}
.pstep p{font-size:14.5px; color:#4b4c54; line-height:1.6;}

/* ai vs experience */
.ai{background:#fff;}
.ai h2{font-size:clamp(28px,4.6vw,46px);}
.contrast{display:grid; grid-template-columns:1fr 1fr; gap:48px; margin-top:48px;}
@media(max-width:720px){.contrast{grid-template-columns:1fr; gap:28px;}}
.contrast > div{border-top:3px solid var(--coral); padding-top:18px;}
.contrast .lbl{display:block; font-weight:800; font-size:18px; letter-spacing:-.01em; margin-bottom:8px;}
.contrast p{color:#4b4c54; font-size:15.5px; max-width:42ch;}

/* pricing */
.pricing{background:#fff;}
.pricing .sec-head{max-width:64ch;}
.pricing .narrative{max-width:60ch;}
.pricing .narrative p{font-size:18px; color:#3a3b42; margin-top:18px;}
.pricing .pull{margin-top:42px; padding:22px 28px; border-left:4px solid var(--coral);
  font-size:clamp(22px,3vw,30px); font-weight:800; letter-spacing:-.02em; line-height:1.2; max-width:22ch;}

.js .reveal{opacity:0; transform:translateY(16px); transition:opacity .6s ease, transform .6s ease;}
.js .reveal.in{opacity:1; transform:none;}
@media(prefers-reduced-motion:reduce){.js .reveal{opacity:1; transform:none; transition:none;}}

/* standard pages (privacy, cookies, etc.) */
.page-content{background:#fff; padding:130px 0 96px;}
.wrap--narrow{max-width:760px;}
.page-head{margin-bottom:34px;}
.page-head h1{font-size:clamp(30px,5vw,46px); letter-spacing:-.025em;}
.page-head .updated{margin-top:14px; color:var(--slate); font-size:14px;}
.prose{font-size:16.5px; line-height:1.72; color:#2b2c33;}
.prose h2{font-size:23px; letter-spacing:-.02em; margin:40px 0 12px;}
.prose h3{font-size:17.5px; margin:28px 0 8px;}
.prose p{margin:0 0 16px;}
.prose ul{margin:0 0 18px; padding-left:20px;}
.prose li{margin:7px 0;}
.prose a{color:var(--coral); text-decoration:underline;}
.prose strong{font-weight:700; color:var(--ink);}
.prose hr{border:none; border-top:1px solid var(--line); margin:34px 0;}

/* footer legal links */
.foot-right{display:flex; flex-direction:column; align-items:flex-end; gap:10px; text-align:right;}
.foot-links{display:flex; gap:20px;}
.foot-links a{color:#C9CACF; text-decoration:none; font-size:13px; font-weight:600;}
.foot-links a:hover{color:#fff;}
@media(max-width:600px){footer .wrap{align-items:flex-start;} .foot-right{align-items:flex-start; text-align:left;}}
/* ==========================================================================
   NHS Integration page (page-nhs-integration.php)
   Appended for theme v1.8.0. Uses the existing design tokens only.
   ========================================================================== */

.nhs-hero{
  background:var(--panel);
  color:#fff;
  padding:150px 0 96px;
}
.nhs-hero h1{
  font-size:clamp(32px,5.4vw,54px);
  line-height:1.06;
  letter-spacing:-.03em;
  margin:0 0 22px;
  color:#fff;
}
.nhs-standfirst{
  max-width:60ch;
  font-size:18.5px;
  line-height:1.66;
  color:#C9CACF;
  margin:0 0 34px;
}
.nhs-hero .cta{display:flex; flex-wrap:wrap; gap:12px;}

.nhs-section{padding:92px 0; border-top:1px solid var(--line); background:#fff;}
.nhs-section--alt{background:var(--paper);}
.nhs-section .sec-head{margin-bottom:30px;}
.nhs-section h2{font-size:clamp(26px,3.7vw,38px); letter-spacing:-.025em; margin:0 0 4px;}

.nhs-narrative{max-width:66ch; font-size:17px; line-height:1.72; color:#2b2c33;}
.nhs-narrative p{margin:0 0 16px;}
.nhs-lead{max-width:60ch; font-size:18px; color:#2b2c33; margin:0 0 32px;}

.nhs-credits{
  margin-top:26px;
  padding-top:18px;
  border-top:1px solid var(--line);
  font-size:14px;
  color:var(--slate);
}

/* Offer cards */
.nhs-offers{display:grid; gap:20px; grid-template-columns:repeat(3,1fr);}
.nhs-offer{
  background:#fff;
  border:1px solid var(--line);
  border-radius:16px;
  padding:30px 28px;
  display:flex;
  flex-direction:column;
}
.nhs-section--alt .nhs-offer{box-shadow:0 1px 2px rgba(21,22,27,.04);}
.nhs-offer__rung{
  font-size:12px;
  font-weight:800;
  letter-spacing:.18em;
  color:var(--coral);
  margin-bottom:14px;
}
.nhs-offer h3{font-size:20px; letter-spacing:-.015em; margin:0 0 8px;}
.nhs-offer__terms{
  font-size:13.5px;
  color:var(--slate);
  font-weight:600;
  margin:0 0 16px;
  padding-bottom:16px;
  border-bottom:1px solid var(--line);
}
.nhs-offer p{font-size:15.5px; line-height:1.66; margin:0 0 14px; color:#2b2c33;}
.nhs-offer__note{
  margin-top:auto;
  padding-top:14px;
  font-size:14px;
  color:var(--slate);
}

/* Readiness holds */
.nhs-holds{display:grid; gap:24px 34px; grid-template-columns:repeat(2,1fr);}
.nhs-hold h3{font-size:17.5px; letter-spacing:-.01em; margin:0 0 6px;}
.nhs-hold p{font-size:15.5px; line-height:1.66; color:#2b2c33; margin:0; max-width:46ch;}
.nhs-hold .dot{
  width:9px; height:9px; border-radius:50%;
  background:var(--coral); margin-bottom:14px;
}

/* AI callout */
.nhs-callout{
  border-left:4px solid var(--coral);
  background:var(--paper);
  border-radius:0 14px 14px 0;
  padding:26px 30px;
  max-width:70ch;
}
.nhs-section--alt .nhs-callout{background:#fff;}
.nhs-callout p{font-size:16.5px; line-height:1.7; margin:0 0 14px; color:#2b2c33;}
.nhs-callout p:last-child{margin-bottom:0;}

/* FAQ */
.nhs-faq{max-width:74ch; border-top:1px solid var(--line);}
.nhs-faq details{border-bottom:1px solid var(--line);}
.nhs-faq summary{
  cursor:pointer;
  list-style:none;
  padding:18px 34px 18px 0;
  font-weight:700;
  font-size:16.5px;
  color:var(--ink);
  position:relative;
}
.nhs-faq summary::-webkit-details-marker{display:none;}
.nhs-faq summary::after{
  content:"+";
  position:absolute; right:6px; top:16px;
  color:var(--coral); font-size:21px; font-weight:700; line-height:1;
}
.nhs-faq details[open] summary::after{content:"\2013";}
.nhs-faq summary:focus-visible{outline:2px solid var(--coral); outline-offset:3px;}
.nhs-faq details p{
  margin:0 0 20px;
  font-size:15.5px; line-height:1.7; color:#2b2c33;
  max-width:64ch;
}

.nhs-contact{border-top:none;}

@media (max-width:900px){
  .nhs-offers{grid-template-columns:1fr;}
  .nhs-holds{grid-template-columns:1fr;}
}
@media (max-width:640px){
  .nhs-hero{padding:120px 0 68px;}
  .nhs-section{padding:64px 0;}
  .nhs-callout{padding:22px 22px; border-radius:0 12px 12px 0;}
}

/* --- Route stack (added for the full-service page) --- */
.nhs-stack{border-top:1px solid var(--line); margin-top:8px;}
.nhs-step{
  display:grid;
  grid-template-columns:56px 1fr 210px;
  gap:8px 20px;
  align-items:start;
  padding:26px 0;
  border-bottom:1px solid var(--line);
}
.nhs-step__num{
  font-size:13px; font-weight:800; letter-spacing:.14em;
  color:var(--coral); padding-top:4px;
}
.nhs-step__label{
  display:block; font-size:11.5px; font-weight:800;
  letter-spacing:.18em; text-transform:uppercase;
  color:var(--slate); margin-bottom:6px;
}
.nhs-step h3{font-size:19px; letter-spacing:-.015em; margin:0 0 7px;}
.nhs-step p{font-size:15.5px; line-height:1.66; color:#2b2c33; margin:0; max-width:56ch;}
.nhs-step__who{
  justify-self:start;
  font-size:12.5px; font-weight:700; line-height:1.4;
  color:var(--slate);
  border:1px solid var(--line);
  background:#fff;
  border-radius:999px;
  padding:7px 14px;
}
.nhs-stack__note{
  margin:26px 0 0;
  max-width:62ch;
  font-size:16px; line-height:1.7; color:#2b2c33;
  border-left:3px solid var(--coral);
  padding-left:18px;
}

@media (max-width:820px){
  .nhs-step{grid-template-columns:40px 1fr; gap:6px 14px;}
  .nhs-step__who{grid-column:2; margin-top:12px;}
}

/* --- FAQ prompt block on the service page --- */
.nhs-prompt{
  border:1px solid var(--line);
  border-radius:16px;
  background:var(--paper);
  padding:34px 32px;
  max-width:74ch;
}
.nhs-prompt h2{font-size:clamp(22px,3vw,30px); margin:0 0 12px;}
.nhs-prompt p{font-size:16px; line-height:1.7; color:#2b2c33; margin:0 0 22px; max-width:60ch;}
.nhs-prompt .cta{display:flex; flex-wrap:wrap; gap:12px;}

/* --- FAQ page --- */
.nhs-hero--compact{padding:130px 0 64px;}
.nhs-hero--compact h1{font-size:clamp(29px,4.6vw,44px);}
.nhs-faq--page{max-width:74ch; margin:0 auto;}
.nhs-faq--page summary{font-size:17px; padding:20px 34px 20px 0;}
.nhs-faq--page summary::after{top:18px;}
.nhs-faq--page details[open] summary{color:var(--coral);}

@media (max-width:640px){
  .nhs-prompt{padding:26px 22px;}
  .nhs-hero--compact{padding:110px 0 52px;}
}

/* link block at the foot of the health tech section */
.path-more{margin-top:38px; padding-top:28px; border-top:1px solid var(--line);
  display:flex; align-items:center; justify-content:space-between; gap:24px; flex-wrap:wrap;}
.path-more p{font-size:16.5px; color:#2b2c33; max-width:52ch; margin:0;}
@media(max-width:640px){.path-more{align-items:flex-start;} .path-more p{font-size:15.5px;}}

/* frameworks page: ghost button on a light background */
.nhs-prompt .btn--ghost{border:1px solid var(--line); background:#fff; color:var(--ink);}
.nhs-prompt .btn--ghost:hover{border-color:var(--ink);}
.nhs-section .pull{margin-top:26px;}

/* FAQ questions are h2 for search engines; keep them looking like summaries */
.nhs-faq summary h2{
  display:inline; margin:0; font-size:inherit; font-weight:inherit;
  letter-spacing:inherit; line-height:inherit; color:inherit;
}
