/*
Theme Name: Tracy Clark Layout Only
Theme URI: https://tracyclark.london/
Author: Tracy Clark site build
Description: Layout-only classic WordPress theme built directly from the approved Tracy Clark mockup. Content is intentionally blank and ready for Gutenberg editing.
Version: 2.1.0
Requires at least: 5.8
Requires PHP: 7.4
License: GPL-2.0-or-later
Text Domain: tracy-clark-layout
*/

/* ============================================================
   BRAND TOKENS — these are the only lines that need to change
   to match Tracy's real brand. Send hex codes and I swap them.
   ============================================================ */
:root{
  --ink:        #14191D;   /* headings, primary text */
  --ink-soft:   #4C585F;   /* body text */
  --ink-mute:   #7C878D;   /* captions, labels */
  --paper:      #FCFBFA;   /* page background */
  --paper-2:    #F2EFEA;   /* alternate section background */
  --accent:     #0E6B62;   /* PLACEHOLDER brand accent */
  --accent-soft:color-mix(in srgb, var(--accent) 16%, #fff);
  --rule:       #E2DDD5;

  --display: "Fraunces", Georgia, serif;
  --body: "Work Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --measure: 34em;      /* reading width for body copy */
  --shell: 1120px;      /* outer container */
}

*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{
  margin:0; background:var(--paper); color:var(--ink-soft);
  font-family:var(--body); font-size:1.0625rem; line-height:1.72;
  font-weight:400; -webkit-font-smoothing:antialiased;
}
img{max-width:100%;display:block}
a{color:inherit}
:focus-visible{outline:2px solid var(--accent);outline-offset:3px;border-radius:2px}

/* ---------- layout ---------- */
.shell{max-width:var(--shell);margin:0 auto;padding:0 28px}
.col{max-width:var(--measure)}
.section{padding:88px 0}
.section--tight{padding:56px 0}
.section--tint{background:var(--paper-2)}
.section--ink{background:var(--ink);color:#C9D1D5}
.rule{height:1px;background:var(--rule);border:0;margin:0}

/* ---------- type ---------- */
h1,h2,h3,h4{font-family:var(--display);color:var(--ink);font-weight:400;margin:0}
h1{font-size:clamp(2.15rem,4.6vw,3.5rem);line-height:1.06;letter-spacing:-.015em}
h2{font-size:clamp(1.7rem,3.2vw,2.4rem);line-height:1.14;letter-spacing:-.01em}
h3{font-size:clamp(1.3rem,2.2vw,1.65rem);line-height:1.2}
h4{font-family:var(--body);font-size:1rem;font-weight:600;color:var(--ink);letter-spacing:.005em}
p{margin:0 0 1.15em}
p:last-child{margin-bottom:0}
strong{font-weight:600;color:var(--ink)}
em{font-style:italic}

.eyebrow{
  font-size:.72rem;font-weight:600;letter-spacing:.18em;text-transform:uppercase;
  color:var(--ink-mute);margin:0 0 22px;font-family:var(--body);
}
.eyebrow--accent{color:var(--accent)}

/* the standalone sentence — the copy's main rhythmic device */
.line{
  font-family:var(--display);font-size:clamp(1.35rem,2.5vw,1.9rem);line-height:1.28;
  color:var(--ink);max-width:24em;margin:2.4rem 0;letter-spacing:-.01em;
}
.line--sm{font-size:clamp(1.2rem,2vw,1.5rem)}

/* SIGNATURE ELEMENT — the question in the margin */
.q{
  position:relative;font-family:var(--display);font-style:italic;font-weight:300;
  font-size:clamp(1.45rem,2.9vw,2.15rem);line-height:1.24;color:var(--ink);
  max-width:22em;margin:2.8rem 0 2.8rem 0;padding-left:34px;letter-spacing:-.01em;
}
.q::before{
  content:"";position:absolute;left:0;top:.42em;bottom:.18em;width:2px;background:var(--accent);
}
.q--lead{margin-top:0}

/* the quiet claim block */
.claim{
  border-top:1px solid var(--rule);border-bottom:1px solid var(--rule);
  padding:26px 0;margin:2.6rem 0;max-width:30em;
  font-family:var(--display);font-size:clamp(1.1rem,1.9vw,1.35rem);line-height:1.4;color:var(--ink);
}

.stack>*+*{margin-top:1.15em}
.lede{font-size:1.2rem;line-height:1.62;color:var(--ink)}

/* ---------- buttons ---------- */
.btn{
  display:inline-flex;align-items:center;gap:.55em;font-family:var(--body);
  font-size:.95rem;font-weight:500;letter-spacing:.01em;text-decoration:none;
  padding:14px 26px;border-radius:2px;background:var(--accent);color:#fff;
  transition:transform .18s ease, opacity .18s ease;border:0;cursor:pointer;
}
.btn:hover{opacity:.88;transform:translateY(-1px)}
.btn--ghost{background:transparent;color:var(--ink);border:1px solid var(--ink);}
.btn--ghost:hover{background:var(--ink);color:var(--paper)}
.tlink{
  display:inline-flex;align-items:center;gap:.5em;text-decoration:none;
  font-weight:500;font-size:1rem;color:var(--accent);
  border-bottom:1px solid var(--accent-soft);padding-bottom:3px;transition:border-color .18s;
  background:none;border-left:0;border-right:0;border-top:0;cursor:pointer;font-family:var(--body);
}
.tlink:hover{border-color:var(--accent)}
.cta-row{margin-top:2.2rem;display:flex;flex-wrap:wrap;gap:16px;align-items:center}

/* ---------- nav ---------- */
.nav{
  position:sticky;top:0;z-index:50;background:rgba(252,251,250,.92);
  backdrop-filter:blur(8px);border-bottom:1px solid var(--rule);
}
.nav__in{max-width:var(--shell);margin:0 auto;padding:0 28px;height:72px;display:flex;align-items:center;gap:28px}
.brand{
  font-family:var(--display);font-size:1.05rem;letter-spacing:.14em;text-transform:uppercase;
  color:var(--ink);text-decoration:none;font-weight:500;margin-right:auto;white-space:nowrap;
}
.nav__links{display:flex;gap:26px;align-items:center}
.nav__links button{
  background:none;border:0;padding:6px 0;font-family:var(--body);font-size:.92rem;
  color:var(--ink-soft);cursor:pointer;position:relative;
}
.nav__links button[aria-current="true"]{color:var(--ink);font-weight:500}
.nav__links button[aria-current="true"]::after{
  content:"";position:absolute;left:0;right:0;bottom:0;height:1px;background:var(--accent)
}
.nav .btn{padding:10px 18px;font-size:.85rem}
@media(max-width:900px){
  .nav__in{height:auto;padding:12px 20px;flex-wrap:wrap;gap:12px}
  .nav__links{order:3;width:100%;overflow-x:auto;gap:18px;padding-bottom:4px}
  .nav__links button{white-space:nowrap;font-size:.85rem}
}

/* ---------- hero ---------- */
.hero{padding:clamp(72px,11vw,132px) 0 clamp(56px,8vw,88px)}
.hero h1{max-width:15em}
.hero .lede{max-width:28em;margin-top:32px}

/* ---------- two-column ---------- */
.duo{display:grid;grid-template-columns:1fr 1fr;gap:clamp(32px,6vw,84px);align-items:start}
.duo--narrow{grid-template-columns:minmax(0,1fr) minmax(0,.8fr)}
@media(max-width:860px){.duo,.duo--narrow{grid-template-columns:1fr;gap:40px}}

.figure{background:var(--paper-2);border-radius:2px;overflow:hidden}
.figure img{width:100%;height:100%;object-fit:cover}
.figure--tall{aspect-ratio:4/5}

.ph{
  border:1px dashed var(--rule);background:var(--paper-2);border-radius:2px;
  display:flex;align-items:center;justify-content:center;text-align:center;
  padding:28px;color:var(--ink-mute);font-size:.78rem;letter-spacing:.14em;text-transform:uppercase;
}

/* ---------- cards / paths ---------- */
.paths{display:grid;grid-template-columns:1fr 1fr;gap:1px;background:var(--rule);border:1px solid var(--rule)}
@media(max-width:820px){.paths{grid-template-columns:1fr}}
.path{background:var(--paper);padding:clamp(32px,4vw,48px)}
.path h3{margin-bottom:10px}
.path .sub{font-family:var(--body);font-size:.98rem;color:var(--accent);font-weight:500;margin-bottom:20px}

/* ---------- chain visual ---------- */
.chain{display:flex;flex-wrap:wrap;align-items:center;gap:14px 18px;margin:36px 0 28px}
.chain span{
  font-family:var(--display);font-size:clamp(1.05rem,2vw,1.4rem);color:var(--ink);
  padding:12px 20px;border:1px solid var(--rule);background:var(--paper);border-radius:2px;
}
.chain i{color:var(--accent);font-style:normal;font-size:1.1rem}

/* ---------- ripple / stages ---------- */
.stages{display:grid;gap:1px;background:var(--rule);border:1px solid var(--rule);margin-top:40px}
.stage{background:var(--paper);padding:clamp(28px,4vw,44px);display:grid;grid-template-columns:150px 1fr;gap:clamp(20px,4vw,48px)}
@media(max-width:760px){.stage{grid-template-columns:1fr;gap:18px}}
.stage__mark{display:flex;align-items:flex-start;justify-content:flex-start}
.stage h3{margin-bottom:14px}
.stage .outcome{
  margin-top:18px;font-family:var(--display);font-style:italic;color:var(--accent);font-size:1.1rem;
}

/* ---------- evidence ---------- */
.evidence{
  display:grid;grid-template-columns:auto 1fr;gap:clamp(22px,4vw,40px);align-items:start;
  border-left:3px solid var(--accent);padding:26px 0 26px 28px;margin:2.6rem 0;max-width:42em;
}
@media(max-width:640px){.evidence{grid-template-columns:1fr;gap:12px}}
.evidence__num{font-family:var(--display);font-size:clamp(2.6rem,6vw,3.8rem);line-height:.9;color:var(--ink);letter-spacing:-.02em}
.evidence__src{display:block;margin-top:12px;font-size:.82rem;color:var(--ink-mute);letter-spacing:.02em}

/* ---------- pillars ---------- */
.pillar-strip{
  display:flex;flex-wrap:wrap;gap:8px 28px;margin:28px 0 0;
  font-family:var(--display);font-size:clamp(1.1rem,2.2vw,1.5rem);color:var(--ink);
}
.pillar-strip span:not(:last-child)::after{content:"";}
.pillars{margin-top:8px}
.pillar{
  display:grid;grid-template-columns:200px 1fr;gap:clamp(24px,5vw,64px);
  padding:44px 0;border-top:1px solid var(--rule);
}
@media(max-width:800px){.pillar{grid-template-columns:1fr;gap:16px}}
.pillar h3{font-size:clamp(1.5rem,3vw,2rem)}
.pillar__num{font-family:var(--body);font-size:.72rem;letter-spacing:.18em;color:var(--accent);text-transform:uppercase;margin-top:.6em}

/* ---------- talks ---------- */
.talk{border-top:1px solid var(--rule);padding:clamp(44px,6vw,72px) 0}
.talk__grid{display:grid;grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);gap:clamp(28px,6vw,72px)}
@media(max-width:860px){.talk__grid{grid-template-columns:1fr;gap:24px}}
.talk h2{position:sticky;top:110px}
@media(max-width:860px){.talk h2{position:static}}
.talk__close{
  margin-top:32px;padding-top:24px;border-top:1px solid var(--rule);
  font-family:var(--display);font-style:italic;font-size:clamp(1.15rem,2.2vw,1.45rem);
  line-height:1.35;color:var(--ink);max-width:26em;
}

/* ---------- credibility strip ---------- */
.creds{display:flex;flex-wrap:wrap;gap:10px 0;align-items:center;margin-top:32px}
.creds span{
  font-size:.86rem;letter-spacing:.06em;color:var(--ink-soft);padding:0 20px;
  border-left:1px solid var(--rule);
}
.creds span:first-child{padding-left:0;border-left:0}

/* ---------- testimonials ---------- */
.tcar{position:relative;max-width:44em;margin:0 auto;text-align:center}
.tslide{display:none}
.tslide.on{display:block;animation:fade .45s ease}
@keyframes fade{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}
.tquote{
  font-family:var(--display);font-size:clamp(1.3rem,2.8vw,1.95rem);line-height:1.32;
  color:var(--ink);letter-spacing:-.01em;
}
.tname{margin-top:24px;font-size:.9rem;letter-spacing:.05em;color:var(--ink-mute)}
.tnav{display:flex;gap:10px;justify-content:center;margin-top:38px}
.tdot{width:7px;height:7px;border-radius:50%;background:var(--rule);border:0;padding:0;cursor:pointer}
.tdot.on{background:var(--accent)}

/* ---------- media grid ---------- */
.media{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;margin-top:32px}
@media(max-width:760px){.media{grid-template-columns:1fr}}
.media--hero{grid-template-columns:1fr;margin-bottom:20px}
.media .ph{aspect-ratio:16/9}
.media--hero .ph{aspect-ratio:16/7}

/* ---------- insights ---------- */
.filters{display:flex;flex-wrap:wrap;gap:10px;margin:32px 0 8px}
.filters button{
  font-family:var(--body);font-size:.86rem;padding:9px 18px;border-radius:999px;
  border:1px solid var(--rule);background:transparent;color:var(--ink-soft);cursor:pointer;
}
.filters button.on{background:var(--ink);color:var(--paper);border-color:var(--ink)}
.grid3{display:grid;grid-template-columns:repeat(3,1fr);gap:1px;background:var(--rule);border:1px solid var(--rule);margin-top:32px}
@media(max-width:900px){.grid3{grid-template-columns:1fr 1fr}}
@media(max-width:620px){.grid3{grid-template-columns:1fr}}
.card{background:var(--paper);padding:32px;display:flex;flex-direction:column;gap:14px;min-height:230px}
.card .kicker{font-size:.7rem;letter-spacing:.16em;text-transform:uppercase;color:var(--accent)}
.card h3{font-size:1.25rem}
.card .tlink{margin-top:auto;align-self:flex-start;font-size:.92rem}

/* ---------- hero (two variants) ---------- */
.hero2{
  position:relative;display:grid;
  grid-template-columns:minmax(0,1.05fr) minmax(0,.9fr);
  align-items:center;gap:clamp(28px,5vw,64px);
  padding:clamp(56px,8vw,96px) 0;
}
.hero2__text{
  padding-left:max(28px, calc((100vw - var(--shell))/2 + 28px));
  padding-right:12px;position:relative;z-index:3;
}
.hero2__img{
  align-self:stretch;min-height:clamp(340px,52vh,560px);
  background:var(--paper-2);overflow:hidden;position:relative;
}
.hero2__img img{width:100%;height:100%;object-fit:cover;object-position:center 22%}
.hero2__scrim{display:none}
@media(max-width:860px){
  .hero2{grid-template-columns:1fr;gap:28px;padding:44px 0 0}
  .hero2__text{padding:0 24px}
  .hero2__img{min-height:300px;max-height:56vh}
}

/* variant B — full-width banner with the text over the photograph */
body.hero-b .hero2{display:block;padding:0;background:var(--ink)}
body.hero-b .hero2__img{position:absolute;inset:0;min-height:0;width:100%;height:100%;background:var(--ink)}
body.hero-b .hero2__img img{opacity:.5;object-position:center 20%}
body.hero-b .hero2__img.imgslot{color:#7C878D;border-color:rgba(255,255,255,.2);background:var(--ink)}
body.hero-b .hero2__scrim{
  display:block;position:absolute;inset:0;z-index:2;
  background:linear-gradient(90deg, rgba(0,0,0,.72) 0%, rgba(0,0,0,.5) 48%, rgba(0,0,0,.2) 100%);
}
body.hero-b .hero2__text{
  max-width:var(--shell);margin:0 auto;padding:clamp(88px,15vh,180px) 28px;
}
body.hero-b .hero2__text h1{color:#fff}
body.hero-b .hero2__text .eyebrow{color:rgba(255,255,255,.68)}
body.hero-b .hero2__text .lede{color:rgba(255,255,255,.92)}
@media(max-width:860px){
  body.hero-b .hero2__text{padding:64px 24px}
}

/* ---------- big single statement ---------- */
.bigstate{border-top:1px solid var(--rule);border-bottom:1px solid var(--rule);padding:clamp(44px,7vw,80px) 0}
.bigstate h2{font-size:clamp(2.2rem,7vw,4.4rem);line-height:1;letter-spacing:-.025em;max-width:none}

/* ---------- results grid ---------- */
.results{display:grid;grid-template-columns:1fr 1fr;gap:1px;background:var(--rule);border:1px solid var(--rule);margin-top:40px}
@media(max-width:720px){.results{grid-template-columns:1fr}}
.results div{
  background:var(--paper);padding:clamp(24px,3vw,34px);
  font-family:var(--display);font-size:clamp(1.05rem,1.9vw,1.35rem);line-height:1.32;color:var(--ink);
}

/* ---------- chips ---------- */
.chips{display:flex;flex-wrap:wrap;gap:8px;margin-top:4px}
.chips span{
  border:1px solid var(--rule);padding:8px 14px;font-size:.9rem;color:var(--ink);
  background:var(--paper);border-radius:2px;
}

/* ---------- evidence panel ---------- */
.ev{
  display:grid;grid-template-columns:auto 1fr;gap:clamp(20px,3vw,34px);align-items:start;
  background:var(--paper);border:1px solid var(--rule);border-top:2px solid var(--accent);
  padding:clamp(24px,3vw,34px);margin:2.2rem 0;
}
@media(max-width:560px){.ev{grid-template-columns:1fr;gap:10px}}
.ev__num{font-family:var(--display);font-size:clamp(2.6rem,6vw,3.6rem);line-height:.88;color:var(--accent);letter-spacing:-.02em}
.ev p{font-size:1rem;line-height:1.6;color:var(--ink)}
.ev__src{display:block;margin-top:12px;font-size:.8rem;color:var(--ink-mute)}

/* ---------- buyer questions ---------- */
.buyerq{display:grid;grid-template-columns:1fr 1fr;gap:1px;background:var(--rule);border:1px solid var(--rule);margin-top:40px}
@media(max-width:720px){.buyerq{grid-template-columns:1fr}}
.buyerq div{
  background:var(--paper);padding:clamp(26px,3.2vw,38px);
  font-family:var(--display);font-style:italic;font-weight:300;color:var(--ink);
  font-size:clamp(1.1rem,2vw,1.4rem);line-height:1.28;
}

/* ---------- perhaps row ---------- */
.perhaps{display:grid;grid-template-columns:repeat(3,1fr);gap:1px;background:var(--rule);border:1px solid var(--rule);margin-top:40px}
@media(max-width:760px){.perhaps{grid-template-columns:1fr}}
.perhaps p{background:var(--paper);margin:0;padding:clamp(24px,3vw,34px);font-size:1.05rem;line-height:1.55;color:var(--ink)}
.perhaps .an{color:var(--accent);font-weight:500}

/* ---------- split (sticky heading + copy) ---------- */
.split{display:grid;grid-template-columns:minmax(0,.72fr) minmax(0,1.28fr);gap:clamp(28px,6vw,80px);align-items:start}
@media(max-width:860px){.split{grid-template-columns:1fr;gap:20px}}
.split__head{position:sticky;top:110px}
@media(max-width:860px){.split__head{position:static}}
.split .col{max-width:none}

/* ---------- three questions row ---------- */
.qrow{display:grid;grid-template-columns:repeat(3,1fr);gap:1px;background:var(--rule);border:1px solid var(--rule)}
@media(max-width:760px){.qrow{grid-template-columns:1fr}}
.qrow div{
  background:var(--paper);padding:clamp(26px,3.4vw,40px);
  font-family:var(--display);font-style:italic;font-weight:300;color:var(--ink);
  font-size:clamp(1.15rem,2.1vw,1.5rem);line-height:1.26;
}

/* ---------- anaphora list ---------- */
.anaphora{display:grid;grid-template-columns:1fr 1fr;gap:1px;background:var(--rule);border:1px solid var(--rule);margin-top:40px}
@media(max-width:720px){.anaphora{grid-template-columns:1fr}}
.anaphora p{background:var(--paper);margin:0;padding:clamp(24px,3vw,34px);font-size:1.05rem;line-height:1.55;color:var(--ink)}
.anaphora .an{color:var(--accent);font-weight:500}

/* ---------- chain band ---------- */
.chainband{background:var(--ink);color:#B9C3C8;padding:clamp(56px,8vw,88px) 0}
.chainband .chain{margin:0}
.chainband .chain span{background:transparent;border-color:rgba(255,255,255,.22);color:#fff}
.chainband .chain i{color:var(--accent);filter:brightness(1.7)}
.chainband .line{color:#fff}
.chain--big span{font-size:clamp(1.1rem,2.6vw,1.75rem);padding:16px 26px}

/* ---------- case study ---------- */
.case{display:grid;grid-template-columns:minmax(0,.62fr) minmax(0,1.38fr);gap:clamp(28px,5vw,64px);align-items:start}
@media(max-width:900px){.case{grid-template-columns:1fr;gap:28px}}
.case__rail{position:sticky;top:110px}
@media(max-width:900px){.case__rail{position:static}}
.case__body{display:grid;grid-template-columns:1fr 1fr;gap:clamp(24px,3.4vw,44px)}
@media(max-width:720px){.case__body{grid-template-columns:1fr}}
.case__col p{font-size:1rem;line-height:1.7}

/* ---------- insights feature ---------- */
.feature{
  display:grid;grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);gap:clamp(24px,5vw,56px);
  align-items:center;border-top:1px solid var(--rule);border-bottom:1px solid var(--rule);
  padding:clamp(32px,5vw,52px) 0;margin-top:36px;
}
@media(max-width:760px){.feature{grid-template-columns:1fr;gap:24px}}
.feature .kicker{font-size:.7rem;letter-spacing:.16em;text-transform:uppercase;color:var(--accent)}

/* ---------- inline emphasis ---------- */
.hl{color:var(--accent);font-weight:500}
.section--ink .hl{color:#fff;font-weight:500}

/* ---------- image bands ---------- */
.band{position:relative;overflow:hidden;background:var(--ink);padding:clamp(80px,12vw,150px) 0}
.band img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:.34}
.band__in{position:relative;z-index:2}
.band__stmt{
  font-family:var(--display);font-size:clamp(1.6rem,4vw,3rem);line-height:1.18;
  color:#fff;letter-spacing:-.015em;max-width:20em;margin:0;
}
.band .slotlabel{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);z-index:1}

.slotlabel{
  font-size:.7rem;letter-spacing:.16em;text-transform:uppercase;color:var(--ink-mute);
  border:1px dashed var(--rule);padding:8px 14px;display:inline-block;background:var(--paper);
}
.imgslot{
  border:1px dashed var(--rule);background:var(--paper-2);display:flex;align-items:center;
  justify-content:center;text-align:center;padding:24px;color:var(--ink-mute);
  font-size:.72rem;letter-spacing:.14em;text-transform:uppercase;line-height:1.7;
}
.sig{max-width:190px;margin-top:32px;opacity:.9}
.proof{display:flex;flex-wrap:wrap;gap:36px;align-items:center;justify-content:center;padding:12px 0}
.proof .imgslot{width:150px;height:76px;font-size:.62rem}
.stagegrid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-top:36px}
@media(max-width:760px){.stagegrid{grid-template-columns:1fr}}
.stagegrid .imgslot{aspect-ratio:4/3}
.card .imgslot{aspect-ratio:16/9;margin:-32px -32px 4px;border:0;border-bottom:1px solid var(--rule)}

/* ---------- marks ---------- */
.mark{display:block;color:var(--accent);margin-bottom:18px}
.mark svg{display:block}
.path .mark{margin-bottom:22px}
.talk__head{position:sticky;top:110px}
.talk__head h2{position:static}
@media(max-width:860px){.talk__head{position:static}}

/* ---------- footer ---------- */
.foot{background:var(--ink);color:#98A4AA;padding:64px 0 40px;font-size:.9rem}
.foot a{color:#D6DDE0;text-decoration:none}
.foot__grid{display:flex;flex-wrap:wrap;gap:32px;justify-content:space-between;align-items:flex-start}
.foot .brand{color:#fff;margin:0}


@media(prefers-reduced-motion:reduce){
  *{animation:none!important;transition:none!important}
}

/* ============================================================
   WORDPRESS INTEGRATION
   The rules above are the approved mockup design system.
   These additions make that system work correctly in WordPress.
   ============================================================ */
html, body { min-height: 100%; }
body { overflow-x: hidden; }
.site-main { width: 100%; }

/* Gutenberg should inherit the same typography and colours. */
.editor-styles-wrapper { background: var(--paper); color: var(--ink-soft); font-family: var(--body); }
.editor-styles-wrapper h1,
.editor-styles-wrapper h2,
.editor-styles-wrapper h3,
.editor-styles-wrapper h4 { font-family: var(--display); color: var(--ink); }

/* Empty layout slots are intentionally visible on the front end so the user can add copy. */
.layout-slot-heading { min-height: 3.8rem; }
.layout-slot-heading-lg { min-height: 6rem; }
.layout-slot-copy { min-height: 4.8rem; }
.layout-slot-copy-sm { min-height: 2.4rem; }
.layout-slot-question { min-height: 5rem; }
.layout-slot-line { min-height: 3rem; }
.layout-slot-card { min-height: 220px; }
.layout-slot-image { min-height: 280px; }
.layout-slot-image-tall { min-height: 520px; }
.layout-slot-image-wide { min-height: 260px; }
.layout-slot-hero { min-height: 560px; }

/* Empty Gutenberg blocks still need to occupy the visual positions from the mockup. */
.wp-block-group.shell { width: 100%; }
.wp-block-columns { margin-bottom: 0; }
.wp-block-column { min-width: 0; }
.wp-block-image { margin: 0; }
.wp-block-image img { width: 100%; height: auto; }
.wp-block-separator { border-color: var(--rule); }

/* Full-width banner hero, matching the selected Hero B state. */
body.hero-b .hero2 { min-height: 560px; }
body.hero-b .hero2__img { min-height: 560px; }
body.hero-b .hero2__text { min-height: 560px; display:flex; flex-direction:column; justify-content:center; }

/* Keep blank photo areas visibly designed, not collapsed. */
.imgslot.layout-image-slot { min-height: 320px; }
.figure.layout-image-slot { min-height: 420px; }
.band.layout-photo-band { min-height: 360px; }

/* WordPress navigation fallback. */
.nav a { text-decoration: none; }
.nav__links a { position: relative; }
.nav__links a:hover { color: var(--ink); }

/* Make the theme full-bleed while retaining the mockup's 1120px internal shell. */
.wp-site-blocks, .wp-block-group, .wp-block-template-part { max-width: none; }

@media(max-width:860px){
  body.hero-b .hero2,
  body.hero-b .hero2__img,
  body.hero-b .hero2__text { min-height: 480px; }
}

/* Editable Gutenberg layout slots: empty content stays visually empty on the live site,
   while the editor receives a clear insertion target. */
.editor-styles-wrapper .layout-slot-heading:empty:before,
.editor-styles-wrapper .layout-slot-heading-lg:empty:before {
  content: attr(data-placeholder);
  opacity: .28;
}
.editor-styles-wrapper .layout-slot-copy:empty:before,
.editor-styles-wrapper .layout-slot-copy-sm:empty:before,
.editor-styles-wrapper .lede:empty:before,
.editor-styles-wrapper .eyebrow:empty:before,
.editor-styles-wrapper .eyebrow--accent:empty:before,
.editor-styles-wrapper .layout-slot-question:empty:before,
.editor-styles-wrapper .layout-slot-line:empty:before {
  content: 'Click to add text';
  opacity: .28;
}
.editor-styles-wrapper .tracy-editable-image:empty {
  min-height: 180px;
  display: block;
  background: var(--paper-2);
  border: 1px dashed var(--rule);
}
.editor-styles-wrapper .tracy-editable-image:empty:after {
  content: 'Click to add an image';
  display: grid;
  place-items: center;
  min-height: 180px;
  color: var(--ink-mute);
  font-family: var(--body);
  font-size: .82rem;
  letter-spacing: .02em;
}
.tracy-editable-image { overflow: hidden; }
.tracy-editable-image img { display:block; width:100%; height:100%; object-fit:cover; }

/* ============================================================
   EDITABLE WORDPRESS LAYER
   These rules do not alter the approved live design. They make
   native Gutenberg blocks easier to select and edit.
   ============================================================ */
.tracy-primary-menu{display:flex;gap:26px;align-items:center;list-style:none;margin:0;padding:0}
.tracy-primary-menu li{margin:0;padding:0}
.tracy-primary-menu a{position:relative;text-decoration:none}
@media(max-width:900px){.tracy-primary-menu{gap:18px;overflow-x:auto;white-space:nowrap;width:100%}}

.editor-styles-wrapper .wp-block-image.tracy-editable-image{position:relative;min-height:80px}
.editor-styles-wrapper .wp-block-image.tracy-editable-image:not(:has(img)){min-height:180px;background:var(--paper-2);border:1px dashed var(--rule)}
.editor-styles-wrapper .wp-block-image.tracy-editable-image:not(:has(img))::after{content:'Select this image block to choose or upload an image';position:absolute;inset:0;display:grid;place-items:center;color:var(--ink-mute);font:500 .82rem var(--body);text-align:center;padding:20px}
.editor-styles-wrapper .wp-block-button__link:empty::after{content:'Add button text';opacity:.35}
.editor-styles-wrapper .layout-slot-heading:empty::after,
.editor-styles-wrapper .layout-slot-heading-lg:empty::after,
.editor-styles-wrapper .layout-slot-copy:empty::after,
.editor-styles-wrapper .layout-slot-copy-sm:empty::after,
.editor-styles-wrapper .layout-slot-question:empty::after,
.editor-styles-wrapper .layout-slot-line:empty::after{content:'Click here to edit';opacity:.28}
