/* Ten Seven Consulting: shared styles for every public page */
:root {
  --ink: #000d4d;
  --navy: #0a1c63;
  --blue: #2a66c4;
  --blue-soft: #89cbef;
  --sky: #bee6f9;
  --paper: #f1f5fb;
  --white: #fff;
  --rule: #cfd9ea;
  --muted: #55627f;
  --display: "Montserrat", "Avenir Next", "Segoe UI", Helvetica, Arial, sans-serif;
  --text: "Source Serif 4", Georgia, "Times New Roman", serif;
  --gutter: clamp(16px, 5vw, 72px);
  --measure: 62ch;
  --nav-h: 64px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 16px); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--paper);
  color: var(--navy);
  font-family: var(--text);
  font-size: 1.125rem;
  line-height: 1.6;
}
h1, h2, h3 { font-family: var(--display); margin: 0; line-height: 1.1; letter-spacing: -.01em; }
h1 { font-weight: 800; font-size: clamp(2.1rem, 5.2vw, 3.9rem); }
h2 { font-weight: 800; font-size: clamp(1.7rem, 3.6vw, 2.6rem); }
h3 { font-weight: 700; font-size: 1.2rem; }
p { margin: 0 0 1em; }
a { color: inherit; }
img { max-width: 100%; display: block; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 4px; }
.dark :focus-visible, .topnav :focus-visible { outline-color: var(--blue-soft); }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--white); color: var(--ink); padding: .6em 1em; font-family: var(--display); }
.skip:focus { left: 8px; }

/* ---------- Locked top nav ---------- */
.topnav {
  position: sticky; top: 0; z-index: 50;
  min-height: var(--nav-h);
  display: flex; align-items: center; gap: clamp(12px, 2vw, 28px);
  padding: 10px clamp(16px, 3vw, 40px);
  background: rgba(0,13,77,.96);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(190,230,249,.18);
  font-family: var(--display);
}
.brand { display: flex; align-items: center; gap: .65rem; text-decoration: none; line-height: 1; margin-right: auto; }
.brand img { width: 38px; height: 38px; border-radius: 8px; }
.brand span { font-weight: 300; font-size: .8rem; letter-spacing: .4em; color: var(--sky); }
.brand b { font-weight: 500; font-size: 1.35rem; color: var(--blue-soft); }
.navlinks { display: flex; align-items: center; gap: clamp(14px, 2vw, 28px); list-style: none; margin: 0; padding: 0; }
.navlinks a, .admin-link {
  font-weight: 500; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--sky); text-decoration: none; white-space: nowrap;
}
.navlinks a:hover, .navlinks a:focus-visible, .navlinks a[aria-current="page"] { color: var(--white); }
.navlinks a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--blue-soft); padding-bottom: 4px; }
.navlinks .btn { font-size: .78rem; padding: .7em 1.1em; color: var(--ink); }
.navlinks .btn:hover { color: var(--ink); }
.admin-link { padding: .55em .9em; border: 1px solid rgba(190,230,249,.45); }
.admin-link:hover, .admin-link:focus-visible { color: var(--white); border-color: var(--white); }
.menu-toggle {
  display: none; background: none; border: 1px solid rgba(190,230,249,.45); color: var(--sky);
  font: 500 .78rem var(--display); letter-spacing: .12em; text-transform: uppercase; padding: .6em .9em; cursor: pointer;
}
@media (max-width: 980px) {
  .menu-toggle { display: inline-block; }
  .navlinks {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--ink); border-bottom: 1px solid rgba(190,230,249,.18);
    padding: 8px clamp(16px, 3vw, 40px) 40px;
  }
  .topnav.open .navlinks { display: flex; }
  .navlinks a { display: block; padding: 14px 0; font-size: .9rem; border-bottom: 1px solid rgba(190,230,249,.12); }
  .navlinks a[aria-current="page"] { box-shadow: none; color: var(--white); }
  .navlinks .btn { margin-top: 16px; text-align: center; border-bottom: 0; }
  .admin-link { order: 3; }
}
@media (max-width: 420px) { .brand span, .brand b { display: none; } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; font-family: var(--display); font-weight: 700; font-size: .95rem;
  text-decoration: none; padding: .95em 1.5em; border: 2px solid transparent; cursor: pointer; line-height: 1.2;
}
.btn.solid { background: var(--sky); color: var(--ink); }
.btn.solid:hover { background: var(--white); }
.btn.line { border-color: currentColor; }
.light .btn.solid, .btn.solid.on-light { background: var(--navy); color: var(--white); }
.light .btn.solid:hover, .btn.solid.on-light:hover { background: var(--blue); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
/* Shown until the real booking link and email address are filled in (assets/site.js) */
.needs-link { outline: 2px dashed #f5b400; outline-offset: 3px; position: relative; }
.needs-link::after {
  content: attr(data-needs); position: absolute; left: 0; top: calc(100% + 8px);
  font: 600 .68rem var(--display); letter-spacing: .04em; text-transform: none;
  background: #f5b400; color: #000; padding: 2px 6px; white-space: nowrap;
}

/* ---------- Layout ---------- */
.band { padding: clamp(56px, 9vw, 112px) var(--gutter); }
.band.dark { background: var(--ink); color: var(--white); }
.band.white { background: var(--white); }
.wrap { max-width: 1120px; margin: 0 auto; }
.narrow { max-width: 760px; }
.eyebrow { font-family: var(--display); font-weight: 500; font-size: .8rem; letter-spacing: .22em; text-transform: uppercase; color: var(--blue); margin-bottom: 1.1rem; }
.dark .eyebrow { color: var(--blue-soft); }
.lede { font-size: clamp(1.15rem, 2vw, 1.35rem); max-width: var(--measure); }
.dark .lede, .dark p { color: #dfe9f8; }
.section-head { max-width: 760px; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head h2 { margin-bottom: .6em; }
.section-head p { color: var(--muted); max-width: var(--measure); }
.dark .section-head p { color: #c9d8ef; }

/* ---------- Hero ---------- */
.hero { background: var(--ink); color: var(--white); padding: 0; overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; gap: clamp(24px, 4vw, 56px); max-width: 1240px; }
.hero-copy { padding: clamp(48px, 8vw, 104px) 0 clamp(48px, 8vw, 104px) var(--gutter); }
.hero h1 { margin-bottom: .55em; }
.hero h1 em { font-style: normal; color: var(--blue-soft); }
.hero-photo { align-self: stretch; position: relative; min-height: 100%; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 30% 20%; }
.hero-photo::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--ink) 0%, rgba(0,13,77,0) 35%); }
@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-copy { padding: 48px var(--gutter) 8px; }
  .hero-photo { max-height: 420px; }
  .hero-photo::before { background: linear-gradient(180deg, var(--ink) 0%, rgba(0,13,77,0) 30%); }
}
.page-hero { background: var(--ink); color: var(--white); padding: clamp(56px, 9vw, 112px) var(--gutter) clamp(48px, 7vw, 88px); }
.page-hero h1 { max-width: 18ch; margin-bottom: .55em; }

/* ---------- Pain cards ---------- */
.grid { display: grid; gap: clamp(16px, 2.5vw, 28px); }
.grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 980px) { .grid.four, .grid.three { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .grid.two, .grid.three, .grid.four { grid-template-columns: 1fr; } }
.card { background: var(--white); border: 1px solid var(--rule); padding: clamp(22px, 3vw, 32px); }
.band.white .card { background: var(--paper); }
.dark .card { background: rgba(255,255,255,.04); border-color: rgba(190,230,249,.2); }
.card h3 { margin-bottom: .6em; }
.card p:last-child { margin-bottom: 0; }
.quote { font-family: var(--text); font-style: italic; font-size: 1.2rem; line-height: 1.45; margin-bottom: .9em; color: var(--navy); }
.dark .quote { color: var(--white); }
.tag { font-family: var(--display); font-weight: 700; font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--blue); margin-bottom: .8em; }
.dark .tag { color: var(--blue-soft); }
.card .more { font-family: var(--display); font-weight: 700; font-size: .9rem; color: var(--blue); text-decoration: none; }
.card .more:hover { text-decoration: underline; }
.card.pillar { display: flex; flex-direction: column; }
.card.pillar p { flex: 1; }
.num { font-family: var(--display); font-weight: 200; font-size: 2.4rem; line-height: 1; color: var(--blue); margin-bottom: .4em; }
.dark .num { color: var(--blue-soft); }

/* ---------- Pillar detail ---------- */
.pillar-detail { padding-top: clamp(48px, 7vw, 88px); padding-bottom: clamp(48px, 7vw, 88px); border-top: 1px solid var(--rule); }
.pillar-detail:first-of-type { border-top: 0; }
.pillar-detail .grid.two { align-items: start; }
.sounds { list-style: none; padding: 0; margin: 0 0 1.5em; }
.sounds li { font-style: italic; font-size: 1.15rem; padding: .7em 0 .7em 1.1em; border-left: 3px solid var(--blue-soft); margin-bottom: .6em; background: var(--white); padding-right: 1em; }
.label { font-family: var(--display); font-weight: 700; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: 1.6em 0 .5em; }
.label:first-child { margin-top: 0; }
.offering { background: var(--ink); color: var(--white); padding: clamp(22px, 3vw, 30px); margin-bottom: 14px; }
.offering h3 { color: var(--blue-soft); margin-bottom: .4em; }
.offering p { color: #dfe9f8; margin: 0; font-size: 1.02rem; }
.steps { list-style: none; padding: 0; margin: 1em 0 0; counter-reset: step; }
.steps li { counter-increment: step; padding: 0 0 1em 2.6em; position: relative; }
.steps li::before { content: counter(step); position: absolute; left: 0; top: .1em; width: 1.8em; height: 1.8em; border-radius: 50%; background: var(--blue-soft); color: var(--ink); font: 700 .85rem/1.8em var(--display); text-align: center; }
.steps strong { font-family: var(--display); }
.verdicts { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 10px; margin-top: 10px; }
.verdicts div { border: 1px solid rgba(190,230,249,.3); padding: 10px 12px; font-size: .95rem; }
.verdicts b { display: block; font-family: var(--display); color: var(--white); }
.check { list-style: none; padding: 0; margin: 0; }
.check li { padding-left: 1.6em; position: relative; margin-bottom: .5em; }
.check li::before { content: ""; position: absolute; left: 0; top: .55em; width: .7em; height: .7em; background: var(--blue); border-radius: 2px; }
.dark .check li::before { background: var(--blue-soft); }

/* ---------- Timeline (How we work) ---------- */
.months { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 0; border-top: 6px solid var(--blue-soft); }
.months > div { padding: 24px 24px 0 0; }
.months .when { font-family: var(--display); font-weight: 700; font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; color: var(--blue-soft); }
.months h3 { font-size: 1.6rem; margin: .3em 0 .5em; color: var(--white); }
@media (max-width: 760px) { .months { grid-template-columns: 1fr; border-top: 0; border-left: 6px solid var(--blue-soft); } .months > div { padding: 0 0 28px 22px; } }

/* ---------- FAQ ---------- */
.faq details { border-top: 1px solid var(--rule); padding: 18px 0; }
.faq details:last-child { border-bottom: 1px solid var(--rule); }
.faq summary { font-family: var(--display); font-weight: 700; font-size: 1.1rem; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-weight: 300; font-size: 1.6rem; line-height: 1; color: var(--blue); }
.faq details[open] summary::after { content: "\2013"; }
.faq details p { margin: 12px 0 0; max-width: var(--measure); color: var(--muted); }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
.about-grid img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 30% 15%; }
@media (max-width: 860px) { .about-grid { grid-template-columns: 1fr; } .about-grid img { max-width: 420px; } }
.big-math { font-family: var(--display); font-weight: 200; font-size: clamp(2.6rem, 7vw, 5rem); line-height: 1; color: var(--blue-soft); margin-bottom: .3em; }
.big-math b { font-weight: 700; color: var(--white); }

/* ---------- CTA + contact ---------- */
.cta { text-align: left; }
.cta h2 { max-width: 20ch; margin-bottom: .5em; }
.contact-cards .card { display: flex; flex-direction: column; gap: 10px; }
.contact-cards .card p { flex: 1; }
.contact-cards .card .btn { align-self: flex-start; margin-bottom: 28px; }
.email-text { font-family: var(--display); font-weight: 500; word-break: break-all; color: var(--muted); font-size: .95rem; }

/* ---------- Footer ---------- */
.site-foot { background: #00093a; color: #c9d8ef; padding: 48px var(--gutter) 36px; font-family: var(--display); font-size: .88rem; }
.site-foot .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px 48px; align-items: flex-start; }
.site-foot .mark { display: flex; align-items: center; gap: .7rem; }
.site-foot .mark img { width: 44px; height: 44px; border-radius: 10px; }
.site-foot .mark span { font-weight: 300; letter-spacing: .4em; color: var(--sky); }
.site-foot .mark b { font-weight: 500; font-size: 1.5rem; color: var(--blue-soft); }
.site-foot .tagline { margin: .8em 0 0; }
.site-foot ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 22px; }
.site-foot a { color: var(--sky); text-decoration: none; }
.site-foot a:hover { color: var(--white); }
.site-foot .legal { flex-basis: 100%; border-top: 1px solid rgba(190,230,249,.15); padding-top: 20px; color: #8fa3c6; font-size: .8rem; }
